From 1374fa567866403dbc075f56d950deeb49ad9dff Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Fri, 9 Apr 2021 14:03:51 -0300 Subject: Fix it --- npc/029-2/sorfina.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'npc') diff --git a/npc/029-2/sorfina.txt b/npc/029-2/sorfina.txt index 25d37985..619a7060 100755 --- a/npc/029-2/sorfina.txt +++ b/npc/029-2/sorfina.txt @@ -299,11 +299,6 @@ OnTouch: } 029-2,29,23,0 script Dresser#tutorial NPC400,{ - @npc_distance = 2; - @distance_handler = 2; - callfunc "PCtoNPCRange"; - if (@npc_check) - goto L_closeDis; if (QL_BEGIN > 2) goto L_Empty; if (QL_BEGIN == 2) goto L_Shirt; goto L_Walk; @@ -330,9 +325,9 @@ L_Empty: mes "The dresser is empty."; close; -L_closeDis: - mes "You cannot reach that far."; - close; +OnInit: + .distance=1; + end; } 029-2,44,31,0 script #DoorOutTut1 NPC45,0,0,{ -- cgit v1.2.3-60-g2f50