Document wSuicuneFrame

Also fixed inmediate in PlaceMapNameFrame.FillTopBottom to calculate the
amount of loops required. (It fills two tiles in the first iteration,
and four in the remaining, hence the `-2` and `+1` part).
This commit is contained in:
mid-kid 2019-01-15 13:08:40 +01:00
parent 5f60cc24cf
commit a21507f22a
3 changed files with 4 additions and 3 deletions

View File

@ -242,7 +242,7 @@ PlaceMapNameFrame:
ret ret
.FillTopBottom: .FillTopBottom:
ld c, 5 ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1
jr .enterloop jr .enterloop
.continueloop .continueloop

View File

@ -208,7 +208,7 @@ _TitleScreen:
ldh [hBGMapMode], a ldh [hBGMapMode], a
xor a xor a
ld [wd002], a ld [wSuicuneFrame], a
; Play starting sound effect ; Play starting sound effect
call SFXChannelsOff call SFXChannelsOff
@ -218,7 +218,7 @@ _TitleScreen:
ret ret
SuicuneFrameIterator: SuicuneFrameIterator:
ld hl, wd002 ld hl, wSuicuneFrame
ld a, [hl] ld a, [hl]
ld c, a ld c, a
inc [hl] inc [hl]

View File

@ -1710,6 +1710,7 @@ NEXTU ; d002
wTempDayOfWeek:: wTempDayOfWeek::
wApricorns:: wApricorns::
wKeepSevenBiasChance:: ; used in the slots to handle the favoring of 7 symbol streaks wKeepSevenBiasChance:: ; used in the slots to handle the favoring of 7 symbol streaks
wSuicuneFrame::
db db
ds 2 ds 2
wStartFlypoint:: db wStartFlypoint:: db