summaryrefslogtreecommitdiff
path: root/engine/games
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-05 16:15:47 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-05 16:15:47 -0400
commit8871f4b611ec2c8a7f65592bf0b990182db7ec99 (patch)
tree51ef6b03e87c12d4045ca2135a315e0194a75507 /engine/games
parent054e6088f9ed3995671fa294771cb11640551814 (diff)
Identify more unnamed labels
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 a0d99629..68a56bbc 100644
--- a/engine/games/slot_machine.asm
+++ b/engine/games/slot_machine.asm
@@ -229,8 +229,7 @@ SlotsLoop:
call PrintNum
ret
-Function92d7a: ; unreferenced
-; debug function?
+DebugPrintSlotBias: ; unreferenced
ld a, [wSlotBias]
add 0
daa
@@ -247,8 +246,8 @@ Function92d7a: ; unreferenced
ld [hl], a
ret
-Function92d95: ; unreferenced
-; animate OAM tiles?
+AnimateSlotReelIcons: ; unreferenced
+; This animation was present in pokegold-spaceworld.
ld hl, wce66
ld a, [hl]
inc [hl]
@@ -258,7 +257,7 @@ Function92d95: ; 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
@@ -844,7 +843,9 @@ Slots_UpdateReelPositionAndOAM:
jr nz, .loop
ret
-Function93127: ; 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