mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
prevent scripts from appearing in MapScriptHeader.to_asm output
This commit is contained in:
parent
c8b4c3203c
commit
fdbf484b57
@ -3406,7 +3406,7 @@ class MapScriptHeader:
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def get_dependencies(self):
|
def get_dependencies(self):
|
||||||
dependencies = self.triggers
|
dependencies = copy(self.triggers)
|
||||||
for p in list(dependencies):
|
for p in list(dependencies):
|
||||||
dependencies.extend(p.get_dependencies())
|
dependencies.extend(p.get_dependencies())
|
||||||
for callback in self.callbacks:
|
for callback in self.callbacks:
|
||||||
@ -4655,7 +4655,7 @@ class Asm:
|
|||||||
fh.write(each.to_asm()+"\n")
|
fh.write(each.to_asm()+"\n")
|
||||||
else:
|
else:
|
||||||
#print "each is: " + str(each)
|
#print "each is: " + str(each)
|
||||||
fh.write(to_asm(each))
|
fh.write(to_asm(each)+"\n")
|
||||||
else:
|
else:
|
||||||
fh.write(each + "\n")
|
fh.write(each + "\n")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user