mirror of
https://github.com/pret/pokered.git
synced 2024-10-22 22:55:31 +00:00
Correct wTilePlayerStandingOn "unused?" comment (#433)
`TilePairCollisionsWater` contains the entry `db CAVERN, $14, $05`, which prevents surfing from raised cave ground tiles. If `wTilePlayerStandingOn` is not updated when the start menu is opened, it will be left at the previous tile, which will be the raised ground tile if you have just walked onto the stairs from one.
This commit is contained in:
parent
26a342b104
commit
dc705d25c5
1 changed files with 1 additions and 1 deletions
|
@ -104,7 +104,7 @@ OverworldLoopLessDelay::
|
|||
bit 0, a
|
||||
jr nz, .checkForOpponent
|
||||
lda_coord 8, 9
|
||||
ld [wTilePlayerStandingOn], a ; unused?
|
||||
ld [wTilePlayerStandingOn], a ; checked when using Surf for forbidden tile pairs
|
||||
call DisplayTextID ; display either the start menu or the NPC/sign text
|
||||
ld a, [wEnteringCableClub]
|
||||
and a
|
||||
|
|
Loading…
Reference in a new issue