summaryrefslogtreecommitdiff
path: root/npc/029-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-06-10 15:36:16 -0300
committerJesusaves <cpntb1@ymail.com>2021-06-10 15:36:16 -0300
commit71bff464d4f33a7191768f91eb4d781a591c39bd (patch)
treee069c3f2cea886207be9c7563f13ef1619d1db2c /npc/029-1
parent79f18ea27fe6105a33dfa237b4f65fe2d3465409 (diff)
downloadserverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.gz
serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.bz2
serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.tar.xz
serverdata-71bff464d4f33a7191768f91eb4d781a591c39bd.zip
Add double checks and some logic edit to close #39
Previous check (==63) was ugly, and iirc it was only 62 due... stuff.
Diffstat (limited to 'npc/029-1')
-rw-r--r--npc/029-1/hideandseek.txt4
1 files changed, 2 insertions, 2 deletions
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;