diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 16:08:26 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-01 16:08:26 -0500 |
commit | a8f9bf671b273e23f07db329055018c10d943efb (patch) | |
tree | 6c5f07accba6d2ee2f1bcdd882c79c8369ebae1c | |
parent | 875913eefaba2bea0889fcd8237bd37c1bc8abcc (diff) |
fix syntax on import gbz80disasm
-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") |