Identify more unnamed labels

This commit is contained in:
Rangi
2020-10-04 22:34:50 -04:00
parent e475ce6fda
commit d9603e3e33
9 changed files with 89 additions and 73 deletions

View File

@@ -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