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
.FillTopBottom:
ld c, 5
ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1
jr .enterloop
.continueloop

View File

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

View File

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