speed_is_money

by hwailaluta

Game: Super Mario World

Description: Costs coins to run.

LDA $0DBF ; coin count
BEQ no_run

LDA $13E4 ; check p-meter
CMP #$70
BNE end

DEC $0DBF ;coin count
BRA end

no_run:
STZ $13E4

end:
RTL

back to listings