aboutsummaryrefslogtreecommitdiffstats
path: root/home
diff options
context:
space:
mode:
authorAlchav <59858495+Alchav@users.noreply.github.com>2023-11-18 23:48:40 -0500
committerGitHub <noreply@github.com>2023-11-18 23:48:40 -0500
commitdc705d25c57d18c1ef40d35a786d09192303e85e (patch)
tree6fecd9c744f72bae001d17e050e7196422920957 /home
parentIdentify more map script labels (diff)
downloadpokeyellow-dc705d25c57d18c1ef40d35a786d09192303e85e.tar.gz
pokeyellow-dc705d25c57d18c1ef40d35a786d09192303e85e.tar.xz
pokeyellow-dc705d25c57d18c1ef40d35a786d09192303e85e.zip
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.
Diffstat (limited to 'home')
-rw-r--r--home/overworld.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/overworld.asm b/home/overworld.asm
index defa1728..8085f484 100644
--- a/home/overworld.asm
+++ b/home/overworld.asm
@@ -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