summaryrefslogtreecommitdiff
path: root/engine/games
diff options
context:
space:
mode:
Diffstat (limited to 'engine/games')
-rw-r--r--engine/games/slot_machine.asm13
1 files changed, 7 insertions, 6 deletions
diff --git a/engine/games/slot_machine.asm b/engine/games/slot_machine.asm
index 744792bbd..84f50e69d 100644
--- a/engine/games/slot_machine.asm
+++ b/engine/games/slot_machine.asm
@@ -230,8 +230,7 @@ SlotsLoop:
call PrintNum
ret
-Function92811: ; unreferenced
-; debug function?
+DebugPrintSlotBias: ; unreferenced
ld a, [wSlotBias]
add 0
daa
@@ -248,8 +247,8 @@ Function92811: ; unreferenced
ld [hl], a
ret
-Function9282c: ; unreferenced
-; animate OAM tiles?
+AnimateSlotReelIcons: ; unreferenced
+; This animation was present in pokegold-spaceworld.
ld hl, wcf66
ld a, [hl]
inc [hl]
@@ -259,7 +258,7 @@ Function9282c: ; unreferenced
ld c, NUM_SPRITE_OAM_STRUCTS - 16
.loop
ld a, [hl]
- xor %00100000
+ xor $20 ; alternate between $00-$1f and $20-$3f
ld [hli], a ; tile id
rept SPRITEOAMSTRUCT_LENGTH - 1
inc hl
@@ -845,7 +844,9 @@ Slots_UpdateReelPositionAndOAM:
jr nz, .loop
ret
-Function92bbe: ; unreferenced
+GetUnknownSlotReelData: ; unreferenced
+; Used to get OAM attribute values for slot reels?
+; (final Slots_UpdateReelPositionAndOAM above reuses tile IDs as OAM palettes)
push hl
srl a
srl a