shithub: pokecrystal

Download patch

ref: c33c15befbd3d957d89af11425c7be80c73a62f0
parent: 4f683d642176ed57fc8c27f08849cdf4065ef612
author: Bryan Bishop <[email protected]>
date: Sat Apr 21 19:37:02 EDT 2012

remove duplicates from Asm output

--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -4615,7 +4615,7 @@
                 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:]