runjump
by friday_donuts
Game: SMW
Description: Swaps buttons for jumping and running
; Base ASM file - feel free to copy/paste this and use this for your own code. LDA $100 ; \ only run in gamemode 14 EOR #$14 ; | ORA $9D ; | and when the game isn't paused BEQ + ; | RTL ; | + ; / LDA $187A BNE + LDA #$80 TRB $17 TRB $18 + LDA $15 AND #$C0 CMP #$C0 BNE + BRA ++ + LDA $15 AND #$40 BEQ + LDA #$80 TSB $15 LDA #$40 TRB $15 BRA ++ + LDA $15 AND #$80 BEQ ++ LDA #$40 TSB $15 LDA #$80 TRB $15 ++ LDA $16 AND #$C0 CMP #$C0 BNE + RTL + LDA $16 AND #$40 BEQ + LDA #$80 TSB $16 LDA #$40 TRB $16 RTL + LDA $16 AND #$80 BEQ + LDA #$40 TSB $16 LDA #$80 TRB $16 + RTLback to listings