ref: 2de204cdb5a24aeaae35cdb94aa61649874ddfce
parent: c1cbb74ae85e29eb0554f0c9e81306ee6e15afcc
author: Bryan Bishop <[email protected]>
date: Sun Apr 22 11:13:32 EDT 2012
remove duplicate incbins in asm output
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -4619,7 +4619,7 @@
incbins[index] = new_object
#insert these incbins into self.parts
gindex = self.parts.index(object)
- self.parts = self.parts[:gindex] + incbins + self.parts[gindex:]
+ self.parts = self.parts[:gindex] + incbins + self.parts[gindex+1:]
found = True
break
#insert before the current object