mirror of
https://github.com/pret/pokered.git
synced 2026-10-02 14:08:19 -05: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user