From 71bff464d4f33a7191768f91eb4d781a591c39bd Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 10 Jun 2021 15:36:16 -0300 Subject: Add double checks and some logic edit to close #39 Previous check (==63) was ugly, and iirc it was only 62 due... stuff. --- npc/029-1/hideandseek.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/029-1') diff --git a/npc/029-1/hideandseek.txt b/npc/029-1/hideandseek.txt index 6cb00b09..878a78b3 100644 --- a/npc/029-1/hideandseek.txt +++ b/npc/029-1/hideandseek.txt @@ -69,8 +69,8 @@ OnInit: .@q=getq2(CandorQuest_HideNSeek); if (.@q > 63) goto L_Done; - if (.@q == 63) goto L_Reward; - if (getq(CandorQuest_HideNSeek)) goto L_Doing; + if (CountHideNSeek() >= 5) goto L_Reward; + if (getq(CandorQuest_HideNSeek) == 1) goto L_Doing; mes l("You see a girl who is holding her hands in front of her face."); mesn; -- cgit v1.2.3-60-g2f50