From 2de204cdb5a24aeaae35cdb94aa61649874ddfce Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sun, 22 Apr 2012 15:13:32 -0500 Subject: [PATCH] remove duplicate incbins in asm output --- extras/crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index 383f01b85..4c2cb41be 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -4619,7 +4619,7 @@ class Asm: 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