Identify various "????"s (#1125)

This commit is contained in:
Sylvie
2024-06-11 20:54:45 -04:00
committed by GitHub
parent 23183bb9bb
commit 8819f7b117
11 changed files with 43 additions and 40 deletions

View File

@@ -837,8 +837,11 @@ Hatch_InitShellFragments:
ret
MACRO shell_fragment
; y tile, y pxl, x tile, x pxl, frameset offset, ???
db (\1 * TILE_WIDTH) % $100 + \2, (\3 * TILE_WIDTH) % $100 + \4, \5 - SPRITE_ANIM_FRAMESET_EGG_HATCH_1, \6
; y tile, y pxl, x tile, x pxl, frameset, angle
db (\1) * TILE_WIDTH + (\2) ; y coord
db (\3) * TILE_WIDTH + (\4) ; x coord
db (\5) - SPRITE_ANIM_FRAMESET_EGG_HATCH_1 ; frameset offset
db \6 ; angle (6 bits)
ENDM
.SpriteData:

View File

@@ -62,12 +62,13 @@ StatsScreenInit_gotaddress:
StatsScreenMain:
xor a
ld [wJumptableIndex], a
; ???
ld [wStatsScreenFlags], a
ld a, [wStatsScreenFlags]
and ~STAT_PAGE_MASK
or PINK_PAGE ; first_page
ld [wStatsScreenFlags], a
.loop
ld a, [wJumptableIndex]
and ~(1 << 7)
@@ -82,12 +83,13 @@ StatsScreenMain:
StatsScreenMobile:
xor a
ld [wJumptableIndex], a
; ???
ld [wStatsScreenFlags], a
ld a, [wStatsScreenFlags]
and ~STAT_PAGE_MASK
or PINK_PAGE ; first_page
ld [wStatsScreenFlags], a
.loop
farcall Mobile_SetOverworldDelay
ld a, [wJumptableIndex]