summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/023-3/logic.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/npc/023-3/logic.txt b/npc/023-3/logic.txt
index 55cf48885..f3410d5ea 100644
--- a/npc/023-3/logic.txt
+++ b/npc/023-3/logic.txt
@@ -282,16 +282,19 @@ OnTimer250:
end;
OnInit:
- npcspeed(180);
+ npcspeed(220);
initnpctimer;
npcwalkto(47, 41);
end;
-OnTimer180:
+OnTimer220:
if (.y >= 40) {
movenpc(.name$, 47, 23);
npcwalkto(47, 41);
}
+ if (getareausers("023-3", 0)) {
+ areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch");
+ }
initnpctimer;
end;
@@ -308,16 +311,19 @@ OnTouchNPC:
end;
OnInit:
- npcspeed(180);
+ npcspeed(220);
initnpctimer;
npcwalkto(48, 41);
end;
-OnTimer180:
+OnTimer220:
if (.y >= 40) {
movenpc(.name$, 48, 23);
npcwalkto(48, 41);
}
+ if (getareausers("023-3", 0)) {
+ areatimer2("023-3", .x, .y, .x, .y, 10, .name$+"::OnTouch");
+ }
initnpctimer;
end;