mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-01-23 09:16:20 -08:00
remove duplicates from Asm output
This commit is contained in:
parent
4f683d6421
commit
c33c15befb
@ -4615,7 +4615,7 @@ class Asm:
|
|||||||
else: #assume incbins[1].replace_me (the middle one)
|
else: #assume incbins[1].replace_me (the middle one)
|
||||||
index = 1
|
index = 1
|
||||||
#replace that index with the new_object
|
#replace that index with the new_object
|
||||||
incbins[index] = to_asm(new_object)
|
incbins[index] = new_object
|
||||||
#insert these incbins into self.parts
|
#insert these incbins into self.parts
|
||||||
gindex = self.parts.index(object)
|
gindex = self.parts.index(object)
|
||||||
self.parts = self.parts[:gindex] + incbins + self.parts[gindex:]
|
self.parts = self.parts[:gindex] + incbins + self.parts[gindex:]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user