summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-12-26 19:35:16 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-12-26 19:35:16 -0500
commit22d0b82ee547a46c4673cf8c9039c68b2a6d7f0b (patch)
tree5ddd3ddc769cb59ac15f6616a30bc5b663d23d35 /src
parent7d311d0f747dc5c7c194f436d1b90181bee3cc66 (diff)
sub_8102BF8
Diffstat (limited to 'src')
-rw-r--r--src/field/slot_machine.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/field/slot_machine.c b/src/field/slot_machine.c
index bd259129d..9e3d70727 100644
--- a/src/field/slot_machine.c
+++ b/src/field/slot_machine.c
@@ -1235,6 +1235,14 @@ u8 sub_8102BA4(u8 x, s16 y)
return gUnknown_083ECCB2[x][offset];
}
+u8 sub_8102BF8(u8 x, s16 y)
+{
+ s16 r6 = 0;
+ if ((eSlotMachine->unk1C[x]) % 24)
+ r6 = -1;
+ return sub_8102BA4(x, y + r6);
+}
+
asm(".section .text_a");
static void LoadSlotMachineWheelOverlay(void);