From 2c87bb38c881639bed963e7933a1e9d9c2e8e6a3 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 20 Aug 2017 12:25:41 -0400 Subject: fix the npc talk lock mechanism, make some other npcs use it --- npc/001-1/juscare.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'npc/001-1/juscare.txt') diff --git a/npc/001-1/juscare.txt b/npc/001-1/juscare.txt index 694668af..393186fa 100644 --- a/npc/001-1/juscare.txt +++ b/npc/001-1/juscare.txt @@ -22,14 +22,6 @@ close; } - function randomTalk { - if (Repeat_NPC_lock <= gettimetick(2)) - { - Repeat_NPC_lock = gettimetick(2) + 2; - villagertalk; - } - } - npc_pausemove; @Juscar_old_dir = -1; if (shouldTurn()) @@ -39,7 +31,7 @@ npc_turntoxy(.@cx, .@cy); } - randomTalk; + villagertalk(); localClose; -- cgit v1.2.3-70-g09d2