diff options
author | mid-kid <esteve.varela@gmail.com> | 2019-01-15 13:08:40 +0100 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2019-01-15 13:08:40 +0100 |
commit | a21507f22a0a93fe2b0b67073dd9f847864e49a9 (patch) | |
tree | 0b99e69d8f0af65b419ade00f8aac4507e616922 | |
parent | 5f60cc24cf0935c4908151f0462e67a08d59558d (diff) |
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).
-rw-r--r-- | engine/events/map_name_sign.asm | 2 | ||||
-rw-r--r-- | engine/movie/title.asm | 4 | ||||
-rw-r--r-- | wram.asm | 1 |
3 files changed, 4 insertions, 3 deletions
diff --git a/engine/events/map_name_sign.asm b/engine/events/map_name_sign.asm index 0b6b2b203..7bdbe8e8a 100644 --- a/engine/events/map_name_sign.asm +++ b/engine/events/map_name_sign.asm @@ -242,7 +242,7 @@ PlaceMapNameFrame: ret .FillTopBottom: - ld c, 5 + ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1 jr .enterloop .continueloop diff --git a/engine/movie/title.asm b/engine/movie/title.asm index 26b30c3ee..a48b71e62 100644 --- a/engine/movie/title.asm +++ b/engine/movie/title.asm @@ -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] @@ -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 |