mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-07-20 17:38:29 -05:00
prevent scripts from appearing in MapScriptHeader.to_asm output
original-commit-id: fdbf484b579c763d4a015768295a0fce8c430e76
This commit is contained in:
parent
34385f546b
commit
7c667e09c8
|
|
@ -3406,7 +3406,7 @@ class MapScriptHeader:
|
|||
return True
|
||||
|
||||
def get_dependencies(self):
|
||||
dependencies = self.triggers
|
||||
dependencies = copy(self.triggers)
|
||||
for p in list(dependencies):
|
||||
dependencies.extend(p.get_dependencies())
|
||||
for callback in self.callbacks:
|
||||
|
|
@ -4655,7 +4655,7 @@ class Asm:
|
|||
fh.write(each.to_asm()+"\n")
|
||||
else:
|
||||
#print "each is: " + str(each)
|
||||
fh.write(to_asm(each))
|
||||
fh.write(to_asm(each)+"\n")
|
||||
else:
|
||||
fh.write(each + "\n")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user