I'm trying to make a patch that skips the titlescreen and jumps directly to a level, but when the level ends, the overworld is broken.
I think it's something to do with skipping over the overworld decompression routine, but I can't seem to find where that happens.
My asm is rather short:
ORG $009C67 ; hijack the second thing in the title screen autoclean JSL leveljump NOP ; r.i.p leftover byte freecode leveljump: LDA.B #$E9 STA.W $0109 ; #$E9-24=C5: the intro level number LDA #$0F STA $0100 ; set the gamemode to #$0F, the level fade RTL
I can't really figure this out, it's my first patch and it's a bit confusing for me.
Any help would be appreciated, thank you.