summaryrefslogtreecommitdiff
path: root/engine/overworld/npc_movement.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/overworld/npc_movement.asm')
-rw-r--r--engine/overworld/npc_movement.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/engine/overworld/npc_movement.asm b/engine/overworld/npc_movement.asm
index f4c730247..d6b02fc45 100644
--- a/engine/overworld/npc_movement.asm
+++ b/engine/overworld/npc_movement.asm
@@ -75,7 +75,7 @@ WillObjectBumpIntoWater:
ld a, [hl]
ld d, a
call GetTileCollision
- and a ; LANDTILE
+ and a ; LAND_TILE
jr z, WillObjectBumpIntoTile
scf
ret
@@ -87,7 +87,7 @@ WillObjectBumpIntoLand:
add hl, bc
ld a, [hl]
call GetTileCollision
- cp WATERTILE
+ cp WATER_TILE
jr z, WillObjectBumpIntoTile
scf
ret
@@ -213,11 +213,11 @@ Function6fa1:
call GetCoordTile
call GetTileCollision
pop de
- and a ; LANDTILE
+ and a ; LAND_TILE
jr nz, .not_land
call GetCoordTile
call GetTileCollision
- and a ; LANDTILE
+ and a ; LAND_TILE
jr nz, .not_land
xor a
ret