From c3c71909c9ccc2e4db6e4f29f581d8c3c1c1d11d Mon Sep 17 00:00:00 2001 From: Narishma-gb <194818981+Narishma-gb@users.noreply.github.com> Date: Sun, 24 May 2026 16:56:30 +0200 Subject: Fix comments in `IsNextTileShoreOrWater` (#152) --- engine/items/item_effects.asm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engine') diff --git a/engine/items/item_effects.asm b/engine/items/item_effects.asm index 0cbb0c48..8efea6ae 100644 --- a/engine/items/item_effects.asm +++ b/engine/items/item_effects.asm @@ -3114,7 +3114,7 @@ SendNewMonToBox: ; checks if the tile in front of the player is a shore or water tile ; used for surfing and fishing -; unsets carry if it is, sets carry if not +; sets carry if it is, unsets carry if not IsNextTileShoreOrWater:: ld a, [wCurMapTileset] ld hl, WaterTilesets @@ -3124,15 +3124,15 @@ IsNextTileShoreOrWater:: ld hl, WaterTile ld a, [wCurMapTileset] cp SHIP_PORT ; Vermilion Dock tileset - jr z, .skipShoreTiles ; if it's the Vermilion Dock tileset - cp GYM ; eastern shore tile in Safari Zone jr z, .skipShoreTiles - cp DOJO ; usual eastern shore tile + cp GYM + jr z, .skipShoreTiles + cp DOJO jr z, .skipShoreTiles ld hl, ShoreTiles .skipShoreTiles ld a, [wTileInFrontOfPlayer] - ld de, $1 + ld de, 1 call IsInArray ret -- cgit v1.3.1-sl0p