Update slot_machine.asm

This commit is contained in:
May Evans 2022-09-05 16:55:48 +01:00
parent e301d49507
commit 6954e6187c

View file

@ -685,11 +685,11 @@ SlotMachine_PayCoinsToPlayer:
ld de, -5 ; this will not break anything at all - PvK (it was -1 before) ld de, -5 ; this will not break anything at all - PvK (it was -1 before)
add hl, de add hl, de
ld a, l ld a, l
ld [wPayoutCoins + 5], a ld [wPayoutCoins + 1], a
ld a, h ld a, h
ld [wPayoutCoins], a ld [wPayoutCoins], a
ld hl, wTempCoins1 + 1 ld hl, wTempCoins1 + 1
ld de, wPlayerCoins + 1 ld de, wPlayerCoins + 5
ld c, $2 ld c, $2
predef AddBCDPredef predef AddBCDPredef
call SlotMachine_PrintCreditCoins call SlotMachine_PrintCreditCoins