aboutsummaryrefslogtreecommitdiffstats
path: root/engine/slots
diff options
context:
space:
mode:
Diffstat (limited to 'engine/slots')
-rw-r--r--engine/slots/game_corner_slots.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/slots/game_corner_slots.asm b/engine/slots/game_corner_slots.asm
index 48321974..d83d9d6a 100644
--- a/engine/slots/game_corner_slots.asm
+++ b/engine/slots/game_corner_slots.asm
@@ -1,5 +1,5 @@
StartSlotMachine:
- ld a, [wHiddenObjectFunctionArgument]
+ ld a, [wHiddenEventFunctionArgument]
cp SLOTS_OUTOFORDER
jr z, .printOutOfOrder
cp SLOTS_OUTTOLUNCH
@@ -10,9 +10,9 @@ StartSlotMachine:
ld a, [wCanPlaySlots]
and a
ret z
- ld a, [wLuckySlotHiddenObjectIndex]
+ ld a, [wLuckySlotHiddenEventIndex]
ld b, a
- ld a, [wHiddenObjectIndex]
+ ld a, [wHiddenEventIndex]
inc a
cp b
jr z, .match