Skip to content

Commit

Permalink
Correct wTilePlayerStandingOn "unused?" comment (#433)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
Alchav authored Nov 19, 2023
1 parent 26a342b commit dc705d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion home/overworld.asm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dc705d2

Please sign in to comment.