summaryrefslogtreecommitdiff
path: root/engine/map_objects.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/map_objects.asm')
-rw-r--r--engine/map_objects.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/map_objects.asm b/engine/map_objects.asm
index 30407c64d..00ce599e3 100644
--- a/engine/map_objects.asm
+++ b/engine/map_objects.asm
@@ -2474,8 +2474,10 @@ Function56cd: ; 56cd
push bc
call Coord2Tile
pop bc
+; NPCs disappear if standing on tile $60-$7f (or $e0-$ff),
+; since those IDs are for text characters and textbox frames.
ld a, [hl]
- cp MAPOBJECT_VISIBLE_TILE_LIMIT
+ cp FIRST_REGULAR_TEXT_CHAR
jr nc, .nope
.ok8
dec d