LDA $14AF
BNE rtour
LDA $0F34 ; 6 digit coin counter address
CMP #$96 ; set the number of coins to pay
BCS retour
LDA #$30
STA $1693
LDY #$01
RTS
retour :
LDA $0F34 ; 6 digit coin counter address
SEC
SBC #$96 ; set the number of coins to pay
STA $0F34 ; 6 digit coin counter address
LDA #$01
STA $14AF
rtour :
RTS
I change 5 coins to pass block to work with 6 digit coins counter.
it works but I got a problem, when player have 200~399 coins, the block don't work. when reach 400 it works again.
any help?
@: Its use just 1 byte ( 99 coin max ) I need 3 bytes ( 999999 )
U__U