mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08: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
|
ret
|
||||||
|
|
||||||
.FillTopBottom:
|
.FillTopBottom:
|
||||||
ld c, 5
|
ld c, ((SCREEN_WIDTH - 2) - 2) / 4 + 1
|
||||||
jr .enterloop
|
jr .enterloop
|
||||||
|
|
||||||
.continueloop
|
.continueloop
|
||||||
|
@ -208,7 +208,7 @@ _TitleScreen:
|
|||||||
ldh [hBGMapMode], a
|
ldh [hBGMapMode], a
|
||||||
|
|
||||||
xor a
|
xor a
|
||||||
ld [wd002], a
|
ld [wSuicuneFrame], a
|
||||||
|
|
||||||
; Play starting sound effect
|
; Play starting sound effect
|
||||||
call SFXChannelsOff
|
call SFXChannelsOff
|
||||||
@ -218,7 +218,7 @@ _TitleScreen:
|
|||||||
ret
|
ret
|
||||||
|
|
||||||
SuicuneFrameIterator:
|
SuicuneFrameIterator:
|
||||||
ld hl, wd002
|
ld hl, wSuicuneFrame
|
||||||
ld a, [hl]
|
ld a, [hl]
|
||||||
ld c, a
|
ld c, a
|
||||||
inc [hl]
|
inc [hl]
|
||||||
|
1
wram.asm
1
wram.asm
@ -1710,6 +1710,7 @@ NEXTU ; d002
|
|||||||
wTempDayOfWeek::
|
wTempDayOfWeek::
|
||||||
wApricorns::
|
wApricorns::
|
||||||
wKeepSevenBiasChance:: ; used in the slots to handle the favoring of 7 symbol streaks
|
wKeepSevenBiasChance:: ; used in the slots to handle the favoring of 7 symbol streaks
|
||||||
|
wSuicuneFrame::
|
||||||
db
|
db
|
||||||
ds 2
|
ds 2
|
||||||
wStartFlypoint:: db
|
wStartFlypoint:: db
|
||||||
|
Loading…
Reference in New Issue
Block a user