However bad your code may be, I guarantee mine's significantly worse.
Although I don't know exactly how your game works, I'd imagine you could get away with not trying to debug it if you just put a checkpoint after the boss fight.
Nice idea actually, if we can't solve this till tomorrow then we might do it like that way. Thanks :D