News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

[SM] Zebes Escape Timer Glitch

Started by pathomSM, February 08, 2019, 08:05:43 PM

Previous topic - Next topic

pathomSM

So I edited my escape sequence of rooms after defeating MB and the timer I set was normal up until I reached a new room.  Once I enter the new room (specifically a room in Norfair), the timer becomes unreadable but is still working.  Is there a way to fix this glitch?

Quote58

the timer puts the gfx it needs right after the misc sprite gfx in vram, so if the gfx are refreshed for any reason, or overwritten (ridely, too many enemies, etc.), then you'll need something to reload those gfx in.
If you want a quick fix, just use this code in an fx2 pointer for the room where it starts using the wrong gfx:
LoadTimerGFX:
        LDX $0330
LDA #$0400 : STA $D0,X
LDA #$C000 : STA $D2,X
LDA #$B0B0 : STA $D4,X
LDA #$7E00 : STA $D5,X
TXA : CLC : ADC #$0007 : STA $0330

This is from the patch that allows you to start the timer after whatever boss you want, and it just sets up a DMA transfer to put the gfx into the correct place in vram.