aboutsummaryrefslogtreecommitdiffstats
path: root/engine/slots
diff options
context:
space:
mode:
Diffstat (limited to 'engine/slots')
-rw-r--r--engine/slots/slot_machine.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/slots/slot_machine.asm b/engine/slots/slot_machine.asm
index 835ba1cf..baf5c242 100644
--- a/engine/slots/slot_machine.asm
+++ b/engine/slots/slot_machine.asm
@@ -70,7 +70,7 @@ MainSlotMachineLoop:
call PrintText
call SaveScreenTilesToBuffer1
.loop
- ld a, A_BUTTON | B_BUTTON
+ ld a, PAD_A | PAD_B
ld [wMenuWatchedKeys], a
ld a, 2
ld [wMaxMenuItem], a
@@ -89,7 +89,7 @@ MainSlotMachineLoop:
ld de, CoinMultiplierSlotMachineText
call PlaceString
call HandleMenuInput
- and B_BUTTON
+ and PAD_B
jp nz, LoadScreenTilesFromBuffer1
ld a, [wCurrentMenuItem]
ld b, a
@@ -831,7 +831,7 @@ SlotMachine_HandleInputWhileWheelsSpin:
call DelayFrame
call JoypadLowSensitivity
ldh a, [hJoy5]
- and A_BUTTON
+ and PAD_A
ret z
ld hl, wStoppingWhichSlotMachineWheel
ld a, [hl]