mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-23 10:44:09 -05:00
move AsmLine into crystalparts/asmline.py
This commit is contained in:
@@ -7022,14 +7022,8 @@ def apply_diff(diff, try_fixing=True, do_compile=True):
|
||||
os.system("mv ../main1.asm ../main.asm")
|
||||
return False
|
||||
|
||||
class AsmLine:
|
||||
# TODO: parse label lines
|
||||
def __init__(self, line, bank=None):
|
||||
self.line = line
|
||||
self.bank = bank
|
||||
|
||||
def to_asm(self):
|
||||
return self.line
|
||||
import crystalparts.asmline
|
||||
AsmLine = crystalparts.asmline.AsmLine
|
||||
|
||||
class Incbin:
|
||||
def __init__(self, line, bank=None, debug=False):
|
||||
|
||||
0
pokemontools/crystalparts/__init__.py
Normal file
0
pokemontools/crystalparts/__init__.py
Normal file
8
pokemontools/crystalparts/asmline.py
Normal file
8
pokemontools/crystalparts/asmline.py
Normal file
@@ -0,0 +1,8 @@
|
||||
class AsmLine:
|
||||
# TODO: parse label lines
|
||||
def __init__(self, line, bank=None):
|
||||
self.line = line
|
||||
self.bank = bank
|
||||
|
||||
def to_asm(self):
|
||||
return self.line
|
||||
Reference in New Issue
Block a user