summaryrefslogtreecommitdiff
path: root/include/slot_machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slot_machine.h')
-rw-r--r--include/slot_machine.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/slot_machine.h b/include/slot_machine.h
index c39aa7ca8..0e7efaf29 100644
--- a/include/slot_machine.h
+++ b/include/slot_machine.h
@@ -1,6 +1,39 @@
#ifndef GUARD_SLOT_MACHINE_H
#define GUARD_SLOT_MACHINE_H
+struct SlotMachineEwramStruct {
+ /*0x00*/ u8 state;
+ /*0x01*/ u8 unk01;
+ /*0x02*/ u8 unk02;
+ /*0x03*/ u8 unk03;
+ /*0x04*/ u8 unk04;
+ /*0x05*/ u8 unk05;
+ /*0x06*/ u8 unk06;
+ /*0x07*/ u8 unk07;
+ /*0x08*/ u16 unk08;
+ /*0x0A*/ u8 unk0A;
+ /*0x0B*/ u8 unk0B;
+ /*0x0C*/ s16 coins;
+ /*0x0E*/ u16 unk0E;
+ /*0x10*/ s16 unk10;
+ /*0x12*/ s16 bet;
+ /*0x14*/ u8 filler14[4];
+ /*0x18*/ s16 unk18;
+ /*0x1A*/ u16 unk1A;
+ /*0x1C*/ s16 unk1C[3];
+ /*0x22*/ u16 unk22[3];
+ /*0x28*/ s16 unk28[3];
+ /*0x2E*/ u8 filler2E[15];
+ /*0x3D*/ u8 unk3D;
+ /*0x3E*/ u8 filler3E[26];
+ /*0x58*/ u16 win0h;
+ /*0x5a*/ u16 win0v;
+ /*0x5c*/ u16 winIn;
+ /*0x5e*/ u16 winOut;
+ /*0x60*/ u16 backupMapMusic;
+ /*0x64*/ MainCallback prevMainCb;
+};
+
void PlaySlotMachine(u8, void *);
void sub_8104DA4(void);
u8 sub_8105BB4(u8, u8, s16);