summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/023-3/logic.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt
index 665a7fe50..9917302e8 100644
--- a/npc/023-3/logic.txt
+++ b/npc/023-3/logic.txt
@@ -283,8 +283,10 @@ OnTimer120:
end;
OnTouchie:
- percentheal -40, -40;
- slide 49, 41;
+ if (isin(.map$, .x, .y, 0)) {
+ percentheal -40, -40;
+ slide 49, 41;
+ }
end;
OnTouchNPC:
@@ -313,8 +315,10 @@ OnTimer120:
end;
OnTouchie:
- percentheal -40, -40;
- slide 48, 42;
+ if (isin(.map$, .x, .y, 0)) {
+ percentheal -40, -40;
+ slide 49, 41;
+ }
end;
OnTouchNPC: