Here I am again, another problem, probably the weirdest one yet, but it gets rid of a lot of bugs! Any help would be most grateful!
You can skip this story (spoiler) if you like and get on with the real problem.
Anyway, I was doing some work on something to my hack, completely unrelated to the SEGA screen. I was getting frustrated at what I was doing, and kept asking REGEN to open my ROM when it was in the middle of building, and as you can imagine:
"This file does not exist" (because it's in the middle of building).
Anyway, just before it finished building, the ROM opened, and there he was! Sonic running across the SEGA screen! WTF? I was so happy he was there.
Then, when I next built the ROM, he was gone again? I haven't touched it, what happened? Then I tried building it again and tried re-opening the ROM over and over, and Sonic loaded again.
It seems if I open the ROM just before it finishes building, Sonic is there. If I reload the same ROM later, because it finished building ages ago, Sonic has gone again.
Funnily enough, if I load the ROM before it finished building and Sonic is there, all my previous bugs are gone. No more random freezes, no more sprite glitching (well I played through my whole ROM twice this way and never came across it, even by going to the places it normally happens, it was fine).
Here is a video demonstrating what I am trying to say. As you can see, after if finally opens the ROM, Sonic is there. Resetting the ROM still shows Sonic (as you can see) But when I close the ROM then reload the same ROM, Sonic has gone again. Resetting the ROM stills shows no Sonic.
Sorry for the crap sound and video quality, the video freezes at the 0:13 point for a second for some reason
Has anyone else ever encountered this bug and no how to fix it? I'd greatly appreciate it.
P.S I do have this
;--------------------------------------------------------------------------------------- ;Uncompressed art ; ;Patterns for Sonic 2 ;--------------------------------------------------------------------------------------- align $20000 ArtUnc_S2sonicart: BINCLUDE "art\uncompressed\RHSart.bin"
With the alignment, Sonic isn't there. Without the alignment, there's garbled "Knuckles" sprites.

Loading the ROM quickly with $20000 alignment

Loading the ROM anytime with $20000 alignment

Loading the ROM quickly without alignment

Loading the ROM anytime without alignment
Cheers,
redhotsonic
EDIT: Forgot to mention, I'm using Xenowhirl's 2007 disassembly








