summaryrefslogtreecommitdiff
path: root/engine/games
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 22:34:50 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-10-04 22:34:50 -0400
commitd9603e3e331655bb7e061b612730b68cd4378f96 (patch)
treea88104407c43ee98faccd789b5ef94967fbcf63a /engine/games
parente475ce6fdaad21ba34a64a708f7c23bad5625917 (diff)
Identify more unnamed labels
Diffstat (limited to 'engine/games')
-rw-r--r--engine/games/slot_machine.asm23
1 files changed, 14 insertions, 9 deletions
diff --git a/engine/games/slot_machine.asm b/engine/games/slot_machine.asm
index 7e7c354eb..744792bbd 100644
--- a/engine/games/slot_machine.asm
+++ b/engine/games/slot_machine.asm
@@ -185,7 +185,7 @@ SlotsLoop:
ld [wCurSpriteOAMAddr], a
callfar DoNextFrameForFirst16Sprites
call .PrintCoinsAndPayout
- call .Stubbed_Function927d3
+ call .Stubbed_AlternateMatchingSevensPalette
call DelayFrame
and a
ret
@@ -194,7 +194,7 @@ SlotsLoop:
scf
ret
-.Stubbed_Function927d3:
+.Stubbed_AlternateMatchingSevensPalette:
; dummied out
ret
ld a, [wReel1ReelAction]
@@ -206,7 +206,7 @@ SlotsLoop:
ld a, [wFirstTwoReelsMatchingSevens]
and a
jr nz, .matching_sevens
- ld a, %11100100
+ ld a, %11100100 ; alternates two palettes
call DmgToCgbBGPals
ret
@@ -849,17 +849,22 @@ Function92bbe: ; unreferenced
push hl
srl a
srl a
- add LOW(.Unknown_92bce)
+ add LOW(.data)
ld l, a
ld a, 0
- adc HIGH(.Unknown_92bce)
+ adc HIGH(.data)
ld h, a
ld a, [hl]
pop hl
ret
-.Unknown_92bce:
- db 0, 1, 2, 3, 4, 5
+.data:
+ db 0 ; SLOTS_SEVEN
+ db 1 ; SLOTS_POKEBALL
+ db 2 ; SLOTS_CHERRY
+ db 3 ; SLOTS_PIKACHU
+ db 4 ; SLOTS_SQUIRTLE
+ db 5 ; SLOTS_STARYU
ReelActionJumptable:
ld hl, REEL_ACTION
@@ -1090,11 +1095,11 @@ ReelAction_WaitReel2SkipTo7:
add hl, bc
ld a, [hl]
and a
- jr z, .asm_92d02
+ jr z, .ready
dec [hl]
ret
-.asm_92d02
+.ready
ld a, SFX_THROW_BALL
call Slots_PlaySFX
ld hl, REEL_ACTION