aboutsummaryrefslogtreecommitdiffstats
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/items/item_effects.asm10
1 files changed, 5 insertions, 5 deletions
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