mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
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:
parent
5f60cc24cf
commit
a21507f22a
@ -242,7 +242,7 @@ PlaceMapNameFrame:
|
||||
ret
|
||||
|
||||
.FillTopBottom:
|
||||
ld c, 5
|
||||
ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1
|
||||
jr .enterloop
|
||||
|
||||
.continueloop
|
||||
|
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user