summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-12-26 20:48:28 -0500
committerPikalaxALT <pikalaxalt@gmail.com>2017-12-26 20:48:28 -0500
commit3a51ad2c81b0c479c2621e81ae13d28f3f90fc48 (patch)
tree23ad315afb7f6723959edc12f81e9cf12ce530d2 /src
parenta3b25543b3d85a5f88284752367abd6ed713f82b (diff)
through sub_8102EA4
Diffstat (limited to 'src')
-rw-r--r--src/field/slot_machine.c30
1 files changed, 29 insertions, 1 deletions
diff --git a/src/field/slot_machine.c b/src/field/slot_machine.c
index 6f1e7610a..55bbaef3a 100644
--- a/src/field/slot_machine.c
+++ b/src/field/slot_machine.c
@@ -99,7 +99,7 @@ bool8 sub_8102A44(void);
u8 sub_8102BA4(u8 x, s16 y);
static void sub_8102DA8(void);
static void sub_8102DEC(u8 a0);
-void sub_8102E1C(u8 a0);
+static void sub_8102E1C(u8 a0);
bool8 sub_8102E40(u8 a0);
void sub_8102E68(u8 taskId);
void sub_8103C14(u8 a0);
@@ -1311,6 +1311,34 @@ static void sub_8102DEC(u8 a0)
gTasks[eSlotMachine->unk3A[a0]].data[14] = 1;
}
+static void sub_8102E1C(u8 a0)
+{
+ gTasks[eSlotMachine->unk3A[a0]].data[0] = 2;
+}
+
+bool8 sub_8102E40(u8 a0)
+{
+ return gTasks[eSlotMachine->unk3A[a0]].data[14];
+}
+
+extern bool8 (*const gUnknown_083ECB2C[])(struct Task *task);
+
+void sub_8102E68(u8 taskId)
+{
+ while (gUnknown_083ECB2C[gTasks[taskId].data[0]](gTasks + taskId));
+}
+
+bool8 sub_8102EA0(struct Task *task)
+{
+ return FALSE;
+}
+
+bool8 sub_8102EA4(struct Task *task)
+{
+ sub_8102C84(task->data[15], eSlotMachine->unk1A);
+ return FALSE;
+}
+
asm(".section .text_a");
static void LoadSlotMachineWheelOverlay(void);