ref: a21507f22a0a93fe2b0b67073dd9f847864e49a9
parent: 5f60cc24cf0935c4908151f0462e67a08d59558d
author: mid-kid <[email protected]>
date: Tue Jan 15 08:08:40 EST 2019
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).
--- a/engine/events/map_name_sign.asm
+++ b/engine/events/map_name_sign.asm
@@ -242,7 +242,7 @@
ret
.FillTopBottom:
- ld c, 5
+ ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1
jr .enterloop
.continueloop
--- a/engine/movie/title.asm
+++ b/engine/movie/title.asm
@@ -208,7 +208,7 @@
ldh [hBGMapMode], a
xor a
- ld [wd002], a
+ ld [wSuicuneFrame], a
; Play starting sound effect
call SFXChannelsOff
@@ -218,7 +218,7 @@
ret
SuicuneFrameIterator:
- ld hl, wd002
+ ld hl, wSuicuneFrame
ld a, [hl]
ld c, a
inc [hl]
--- a/wram.asm
+++ b/wram.asm
@@ -1710,6 +1710,7 @@
wTempDayOfWeek::
wApricorns::
wKeepSevenBiasChance:: ; used in the slots to handle the favoring of 7 symbol streaks
+wSuicuneFrame::
db
ds 2
wStartFlypoint:: db