flipdir
by nambona
Game: SMW
Description: Flips Mario's direction+speed every 60 frames (and locks Left and Right for 12 frames after the flip)
main: LDA $0100 ; \ only run in gamemode 14 EOR #$14 ; | ORA $9D ; | and when the game isn't paused BEQ + ; | RTL ; | + ; / LDA $13 AND #$3F BNE + LDA $76 EOR #$01 STA $76 LDA $7B EOR #$FF INC STA $7B LDA #$3C RTL + CMP #$34 BCC + LDA #$03 TSB $0DAA TSB $0DAB TRB $15 TRB $16 RTL + RTLback to listings