From 970f6acc845d1471a8c9be980eaad7c2e3d038e0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 17 Jun 2019 16:44:34 -0300 Subject: Rolling Stones Trap - MASTERED --- npc/023-3/logic.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50