pokeemerald/data/slot_machine.s
2017-12-29 20:25:32 -05:00

355 lines
8.2 KiB
ArmAsm

.include "asm/macros.inc"
.include "constants/constants.inc"
.section .rodata
.align 2, 0
gUnknown_085A7424:: @ 85A7424
.incbin "baserom.gba", 0x5a7424, 0x10
gUnknown_085A7434:: @ 85A7434
.incbin "baserom.gba", 0x5a7434, 0x10
gUnknown_085A7444:: @ 85A7444
.incbin "baserom.gba", 0x5a7444, 0x8
gUnknown_085A744C:: @ 85A744C
.incbin "baserom.gba", 0x5a744c, 0x4
gUnknown_085A7450:: @ 85A7450
.incbin "baserom.gba", 0x5a7450, 0x74
gUnknown_085A74C4:: @ 85A74C4
.incbin "baserom.gba", 0x5a74c4, 0xc
gUnknown_085A74D0:: @ 85A74D0
.incbin "baserom.gba", 0x5a74d0, 0x14
gUnknown_085A74E4:: @ 85A74E4
.incbin "baserom.gba", 0x5a74e4, 0xc
gUnknown_085A74F0:: @ 85A74F0
.incbin "baserom.gba", 0x5a74f0, 0xc
gUnknown_085A74FC:: @ 85A74FC
.incbin "baserom.gba", 0x5a74fc, 0xc
gUnknown_085A7508:: @ 85A7508
.incbin "baserom.gba", 0x5a7508, 0xc
gUnknown_085A7514:: @ 85A7514
.incbin "baserom.gba", 0x5a7514, 0xc
gUnknown_085A7520:: @ 85A7520
.incbin "baserom.gba", 0x5a7520, 0xc
gUnknown_085A752C:: @ 85A752C
.incbin "baserom.gba", 0x5a752c, 0xc
gUnknown_085A7538:: @ 85A7538
.incbin "baserom.gba", 0x5a7538, 0xc
gUnknown_085A7544:: @ 85A7544
.incbin "baserom.gba", 0x5a7544, 0xc
gUnknown_085A7550:: @ 85A7550
.incbin "baserom.gba", 0x5a7550, 0x8
gUnknown_085A7558:: @ 85A7558
.incbin "baserom.gba", 0x5a7558, 0x10
gUnknown_085A7568:: @ 85A7568
.incbin "baserom.gba", 0x5a7568, 0x2
gUnknown_085A756A:: @ 85A756A
.incbin "baserom.gba", 0x5a756a, 0xa
gUnknown_085A7574:: @ 85A7574
.incbin "baserom.gba", 0x5a7574, 0x4c
gUnknown_085A75C0:: @ 85A75C0
.incbin "baserom.gba", 0x5a75c0, 0x4
gUnknown_085A75C4:: @ 85A75C4
.incbin "baserom.gba", 0x5a75c4, 0x8
gUnknown_085A75CC:: @ 85A75CC
.incbin "baserom.gba", 0x5a75cc, 0x8
gUnknown_085A75D4:: @ 85A75D4
.incbin "baserom.gba", 0x5a75d4, 0x3c
gUnknown_085A7610:: @ 85A7610
.incbin "baserom.gba", 0x5a7610, 0x4
gUnknown_085A7614:: @ 85A7614
.incbin "baserom.gba", 0x5a7614, 0x2
gUnknown_085A7616:: @ 85A7616
.incbin "baserom.gba", 0x5a7616, 0x8
gUnknown_085A761E:: @ 85A761E
.incbin "baserom.gba", 0x5a761e, 0x8
gUnknown_085A7626:: @ 85A7626
.incbin "baserom.gba", 0x5a7626, 0x8
gUnknown_085A762E:: @ 85A762E
.incbin "baserom.gba", 0x5a762e, 0x10
gUnknown_085A763E:: @ 85A763E
.incbin "baserom.gba", 0x5a763e, 0x10
gUnknown_085A764E:: @ 85A764E
.incbin "baserom.gba", 0x5a764e, 0x10
gUnknown_085A765E:: @ 85A765E
.incbin "baserom.gba", 0x5a765e, 0x10
gUnknown_085A766E:: @ 85A766E
.incbin "baserom.gba", 0x5a766e, 0x3f
gUnknown_085A76AD:: @ 85A76AD
.incbin "baserom.gba", 0x5a76ad, 0x7
gUnknown_085A76B4:: @ 85A76B4
.incbin "baserom.gba", 0x5a76b4, 0xc
gUnknown_085A76C0:: @ 85A76C0
.incbin "baserom.gba", 0x5a76c0, 0x12
gUnknown_085A76D2:: @ 85A76D2
.incbin "baserom.gba", 0x5a76d2, 0x12
gUnknown_085A76E4:: @ 85A76E4
.incbin "baserom.gba", 0x5a76e4, 0x1e
gUnknown_085A7702:: @ 85A7702
.incbin "baserom.gba", 0x5a7702, 0x66
gUnknown_085A7768:: @ 85A7768
.incbin "baserom.gba", 0x5a7768, 0x66
gUnknown_085A77CE:: @ 85A77CE
.incbin "baserom.gba", 0x5a77ce, 0xa
gUnknown_085A77D8:: @ 85A77D8
.incbin "baserom.gba", 0x5a77d8, 0x14
gUnknown_085A77EC:: @ 85A77EC
.incbin "baserom.gba", 0x5a77ec, 0xa
gUnknown_085A77F6:: @ 85A77F6
.incbin "baserom.gba", 0x5a77f6, 0x8
gUnknown_085A77FE:: @ 85A77FE
.incbin "baserom.gba", 0x5a77fe, 0x6
gUnknown_085A7804:: @ 85A7804
.incbin "baserom.gba", 0x5a7804, 0xa
gUnknown_085A780E:: @ 85A780E
.incbin "baserom.gba", 0x5a780e, 0x8
gUnknown_085A7816:: @ 85A7816
.incbin "baserom.gba", 0x5a7816, 0x12
gUnknown_085A7828:: @ 85A7828
.incbin "baserom.gba", 0x5a7828, 0x12
gUnknown_085A783A:: @ 85A783A
.incbin "baserom.gba", 0x5a783a, 0x8e
gUnknown_085A78C8:: @ 85A78C8
.incbin "baserom.gba", 0x5a78c8, 0x13c
gUnknown_085A7A04:: @ 85A7A04
.incbin "baserom.gba", 0x5a7a04, 0x1c
gUnknown_085A7A20:: @ 85A7A20
.incbin "baserom.gba", 0x5a7a20, 0x2c0
gUnknown_085A7CE0:: @ 85A7CE0
.incbin "baserom.gba", 0x5a7ce0, 0x18
gUnknown_085A7CF8:: @ 85A7CF8
.incbin "baserom.gba", 0x5a7cf8, 0x18
gUnknown_085A7D10:: @ 85A7D10
.incbin "baserom.gba", 0x5a7d10, 0x18
gUnknown_085A7D28:: @ 85A7D28
.incbin "baserom.gba", 0x5a7d28, 0x18
gUnknown_085A7D40:: @ 85A7D40
.incbin "baserom.gba", 0x5a7d40, 0x18
gUnknown_085A7D58:: @ 85A7D58
.incbin "baserom.gba", 0x5a7d58, 0x18
gUnknown_085A7D70:: @ 85A7D70
.incbin "baserom.gba", 0x5a7d70, 0x18
gUnknown_085A7D88:: @ 85A7D88
.incbin "baserom.gba", 0x5a7d88, 0x18
gUnknown_085A7DA0:: @ 85A7DA0
.incbin "baserom.gba", 0x5a7da0, 0x18
gUnknown_085A7DB8:: @ 85A7DB8
.incbin "baserom.gba", 0x5a7db8, 0x18
gUnknown_085A7DD0:: @ 85A7DD0
.incbin "baserom.gba", 0x5a7dd0, 0x18
gUnknown_085A7DE8:: @ 85A7DE8
.incbin "baserom.gba", 0x5a7de8, 0x18
gUnknown_085A7E00:: @ 85A7E00
.incbin "baserom.gba", 0x5a7e00, 0x18
gUnknown_085A7E18:: @ 85A7E18
.incbin "baserom.gba", 0x5a7e18, 0x18
gUnknown_085A7E30:: @ 85A7E30
.incbin "baserom.gba", 0x5a7e30, 0x168
gUnknown_085A7F98:: @ 85A7F98
.incbin "baserom.gba", 0x5a7f98, 0x28
gUnknown_085A7FC0:: @ 85A7FC0
.incbin "baserom.gba", 0x5a7fc0, 0x20
gUnknown_085A7FE0:: @ 85A7FE0
.incbin "baserom.gba", 0x5a7fe0, 0x14
gUnknown_085A7FF4:: @ 85A7FF4
.incbin "baserom.gba", 0x5a7ff4, 0x1c
gUnknown_085A8010:: @ 85A8010
.incbin "baserom.gba", 0x5a8010, 0x18
gUnknown_085A8028:: @ 85A8028
.incbin "baserom.gba", 0x5a8028, 0x14
gUnknown_085A803C:: @ 85A803C
.incbin "baserom.gba", 0x5a803c, 0x228
gUnknown_085A8264:: @ 85A8264
.incbin "baserom.gba", 0x5a8264, 0x68
gUnknown_085A82CC:: @ 85A82CC
.incbin "baserom.gba", 0x5a82cc, 0x68
@ 50 F2 DC 08 00 02 00 00
@ 50 F4 DC 08 00 02 01 00
@ 50 F6 DC 08 00 02 02 00
@ 50 F8 DC 08 00 02 03 00
@ 50 FA DC 08 00 02 04 00
@ 50 FC DC 08 00 02 05 00
@ 50 FE DC 08 00 02 06 00
@ B8 07 DD 08 40 00 07 00
@ F8 07 DD 08 40 00 08 00
@ 38 08 DD 08 40 00 09 00
@ 78 08 DD 08 40 00 0A 00
@ B8 08 DD 08 40 00 0B 00
@ F8 08 DD 08 40 00 0C 00
@ 38 09 DD 08 40 00 0D 00
@ 78 09 DD 08 40 00 0E 00
@ B8 09 DD 08 40 00 0F 00
@ F8 09 DD 08 40 00 10 00
.align 2
gUnknown_085A8334:: @ 85A8334
.4byte gSlotMachineReelSymbol1Tiles
.2byte 0x0200, 0x0000
.4byte gSlotMachineReelSymbol2Tiles
.2byte 0x0200, 0x0001
.4byte gSlotMachineReelSymbol3Tiles
.2byte 0x0200, 0x0002
.4byte gSlotMachineReelSymbol4Tiles
.2byte 0x0200, 0x0003
.4byte gSlotMachineReelSymbol5Tiles
.2byte 0x0200, 0x0004
.4byte gSlotMachineReelSymbol6Tiles
.2byte 0x0200, 0x0005
.4byte gSlotMachineReelSymbol7Tiles
.2byte 0x0200, 0x0006
.4byte gSlotMachineNumber0Tiles
.2byte 0x0040, 0x0007
.4byte gSlotMachineNumber1Tiles
.2byte 0x0040, 0x0008
.4byte gSlotMachineNumber2Tiles
.2byte 0x0040, 0x0009
.4byte gSlotMachineNumber3Tiles
.2byte 0x0040, 0x000A
.4byte gSlotMachineNumber4Tiles
.2byte 0x0040, 0x000B
.4byte gSlotMachineNumber5Tiles
.2byte 0x0040, 0x000C
.4byte gSlotMachineNumber6Tiles
.2byte 0x0040, 0x000D
.4byte gSlotMachineNumber7Tiles
.2byte 0x0040, 0x000E
.4byte gSlotMachineNumber8Tiles
.2byte 0x0040, 0x000F
.4byte gSlotMachineNumber9Tiles
.2byte 0x0040, 0x0010
.align 2
.incbin "baserom.gba", 0x5a83bc, 0x28
gUnknown_085A83E4:: @ 85A83E4
.incbin "baserom.gba", 0x5a83e4, 0x24
gUnknown_085A8408:: @ 85A8408
.incbin "baserom.gba", 0x5a8408, 0x14
gUnknown_085A841C:: @ 85A841C
.incbin "baserom.gba", 0x5a841c, 0x14
gUnknown_085A8430:: @ 85A8430
.incbin "baserom.gba", 0x5a8430, 0x5
gUnknown_085A8435:: @ 85A8435
.incbin "baserom.gba", 0x5a8435, 0x6
gUnknown_085A843B:: @ 85A843B
.incbin "baserom.gba", 0x5a843b, 0x65
gUnknown_085A84A0:: @ 85A84A0
.incbin "baserom.gba", 0x5a84a0, 0xc
gUnknown_085A84AC:: @ 85A84AC
.incbin "baserom.gba", 0x5a84ac, 0x64
gUnknown_085A8510:: @ 85A8510
.incbin "baserom.gba", 0x5a8510, 0x10
gUnknown_085A8520:: @ 85A8520
.incbin "baserom.gba", 0x5a8520, 0x4
gUnknown_085A8524:: @ 85A8524
.incbin "baserom.gba", 0x5a8524, 0x20
.align 2
gUnknown_085A8544:: @ 85A8544
.4byte gUnknown_08DCF170, 0
.4byte gUnknown_08DCF190, 1
.4byte gUnknown_08DCF1B0, 2
.4byte gSlotMachineReelTime_Pal, 3
.4byte gUnknown_08DCF1F0, 4
.4byte gUnknown_08DCF210, 5
.4byte gUnknown_08DCF230, 6
.4byte gUnknown_08DCF1F0, 7
.4byte 0, 0
gUnknown_085A858C:: @ 85A858C
.incbin "baserom.gba", 0x5a858c, 0x1154
gUnknown_085A96E0:: @ 85A96E0
.incbin "baserom.gba", 0x5a96e0, 0x1b8
gUnknown_085A9898:: @ 85A9898
.incbin "baserom.gba", 0x5a9898, 0x4