From a8f9bf671b273e23f07db329055018c10d943efb Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 1 Sep 2013 16:08:26 -0500 Subject: fix syntax on import gbz80disasm --- pokemontools/disassemble_map_scripts.py | 4 ++-- 1 file 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") -- cgit v1.2.3