diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 19:34:50 -0700 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 19:34:50 -0700 |
commit | 2e6d805aea27741bc0e6097bd52c6f2b6d176b74 (patch) | |
tree | bb91bace929310f2787b80424fdada70bba94e81 /pokemontools/disassemble_map_scripts.py | |
parent | 7aa016fb528bcc8dcb30c6a887957851623eccc0 (diff) | |
parent | 52d4978974263f4f19985632442291c2d30c4b67 (diff) |
Merge pull request #7 from kanzure/september-cleanup
python cleanup
Diffstat (limited to 'pokemontools/disassemble_map_scripts.py')
-rw-r--r-- | pokemontools/disassemble_map_scripts.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pokemontools/disassemble_map_scripts.py b/pokemontools/disassemble_map_scripts.py index 21df569..f51fb92 100644 --- a/pokemontools/disassemble_map_scripts.py +++ b/pokemontools/disassemble_map_scripts.py @@ -5,7 +5,7 @@ and insert all scripting commands. """ import crystal -from gbz80disasm import output_bank_opcodes +import gbz80disasm rom = crystal.load_rom() roml = [ord(x) for x in rom] @@ -78,7 +78,7 @@ class DisassembledScriptCommand(): max_byte_count = 86 # disassemble and laso get the last address - (asm, last_address, last_hl_address, last_a_address, used_3d97) = output_bank_opcodes(address, max_byte_count=max_byte_count, stop_at=command_pointers, include_last_address=False) + (asm, last_address, last_hl_address, last_a_address, used_3d97) = gbz80disasm.output_bank_opcodes(address, max_byte_count=max_byte_count, stop_at=command_pointers, include_last_address=False) # remove indentation asm = asm.replace("\n\t", "\n") |