mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-07-20 01:14:12 -05:00
remove duplicates from Asm output
original-commit-id: c33c15befbd3d957d89af11425c7be80c73a62f0
This commit is contained in:
parent
dd3ec6742a
commit
1e89af6fad
|
|
@ -4615,7 +4615,7 @@ class Asm:
|
|||
else: #assume incbins[1].replace_me (the middle one)
|
||||
index = 1
|
||||
#replace that index with the new_object
|
||||
incbins[index] = to_asm(new_object)
|
||||
incbins[index] = new_object
|
||||
#insert these incbins into self.parts
|
||||
gindex = self.parts.index(object)
|
||||
self.parts = self.parts[:gindex] + incbins + self.parts[gindex:]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user