From bba3e690de390f1576d70f227f76b4721ac3a010 Mon Sep 17 00:00:00 2001 From: Haru Date: Tue, 21 Oct 2014 21:03:46 +0200 Subject: Removed use of 'checkquest' from scripts (re folder) Signed-off-by: Haru --- npc/re/instances/BuwayaCave.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'npc/re/instances/BuwayaCave.txt') diff --git a/npc/re/instances/BuwayaCave.txt b/npc/re/instances/BuwayaCave.txt index 0a26dab9c..a24a0ae27 100644 --- a/npc/re/instances/BuwayaCave.txt +++ b/npc/re/instances/BuwayaCave.txt @@ -60,10 +60,10 @@ ma_fild02,312,317,5 script Guard#buwaya_cave 4_MAL_SOLDIER,{ next; break; case 2: - set .@playtime, checkquest(4229,PLAYTIME); - if (.@playtime == -1) { + .@playtime = questprogress(4229,PLAYTIME); + if (!.@playtime) { // fall through - } else if (.@playtime == 0 || .@playtime == 1) { + } else if (.@playtime == 1) { mes "[Guard]"; mes "Buwaya is still hiding."; mes "Even if you enter now, Buwaya will not come out. "; @@ -118,10 +118,10 @@ OnTouch: mes "This place is dangerous. Please go back."; close; } - set .@playtime, checkquest(4229,PLAYTIME); - if (.@playtime == -1) { + .@playtime = questprogress(4229,PLAYTIME); + if (!.@playtime) { // fall through - } else if (.@playtime == 0 || .@playtime == 1) { + } else if (.@playtime == 1) { mes "[Guard]"; mes "Buwaya is still hiding."; mes "Even if you enter now, Buwaya will not come out."; -- cgit v1.2.3-60-g2f50