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 /engine/events | |
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).
Diffstat (limited to 'engine/events')
-rw-r--r-- | engine/events/map_name_sign.asm | 2 |
1 files changed, 1 insertions, 1 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 |