Identify various "????"s (#1125)
This commit is contained in:
@@ -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:
|
||||
|
@@ -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]
|
||||
|
Reference in New Issue
Block a user