Hi, I've just made an account, but have been hacking for 3 months now, so I thought that I should post here.
I'm trying to make a custom block that changes you between Mario and Luigi, but it doesn't do anything.
Here's the code.
When I test it in SMW, it doesn't do anything when I touch it. What's wrong with it?
I'm trying to make a custom block that changes you between Mario and Luigi, but it doesn't do anything.
Here's the code.
Code
JMP MarioBelow : JMP MarioAbove : JMP MarioSide : JMP Return : JMP Return : JMP MarioCape : JMP MarioFireBall MarioBelow: LDA #$19 CMP #$00 ;If the player is mario BEQ Luigi ;Go to the make luigi code LDA #$00 ;if not, make him mario STA $DB3 RTL ;return Luigi: LDA #$01 ;make the player luigi STA $DB3 RTL ;return MarioAbove: MarioSide: MarioCape: MarioFireBall: RTL ;return
When I test it in SMW, it doesn't do anything when I touch it. What's wrong with it?
Background image by Tzadkiel & Anomalin