summaryrefslogtreecommitdiff
path: root/engine/map_objects.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2018-01-18 18:34:20 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2018-01-18 18:34:20 -0500
commit2acaa96cf16ce953a7149f300d54e5440abc27d8 (patch)
tree8068d4e5daec008ecc41ca35208a3e8fa970a02c /engine/map_objects.asm
parent676b585375522127d3d1e134c8761d55ede32739 (diff)
More charmap and home/text.asm documentation for JP chars
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