diff options
-rw-r--r-- | pokemontools/crystal.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pokemontools/crystal.py b/pokemontools/crystal.py index 9f156c5..918232a 100644 --- a/pokemontools/crystal.py +++ b/pokemontools/crystal.py @@ -137,6 +137,11 @@ def load_asm(filename="../main.asm"): asm = direct_load_asm(filename=filename) return asm +def load_asm2(filename="../main.asm"): + """loads the asm source code into memory""" + new_asm = Asm(filename=filename) + return new_asm + def is_valid_address(address): """is_valid_rom_address""" if address == None: @@ -7144,11 +7149,6 @@ class AsmSection: def to_asm(self): return self.line -def load_asm2(filename="../main.asm"): - """loads the asm source code into memory""" - new_asm = Asm(filename=filename) - return new_asm - class Asm: """controls the overall asm output""" def __init__(self, filename="../main.asm", debug=True): |