mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-12 20:25:12 -05:00
move load_asm2 next to load_asm
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user