summaryrefslogtreecommitdiff
path: root/npc/021-1/logic.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-23 00:34:16 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-23 00:34:16 -0300
commitb799abd9159df670206a6a4f811f692323ca2f24 (patch)
treef27bd405db1b416db0b98c7208180d5cfa186b0f /npc/021-1/logic.txt
parente72e6232d3918e886cca6fed53c941c5c567bc60 (diff)
downloadserverdata-b799abd9159df670206a6a4f811f692323ca2f24.tar.gz
serverdata-b799abd9159df670206a6a4f811f692323ca2f24.tar.bz2
serverdata-b799abd9159df670206a6a4f811f692323ca2f24.tar.xz
serverdata-b799abd9159df670206a6a4f811f692323ca2f24.zip
Fix thousands of bugs
Diffstat (limited to 'npc/021-1/logic.txt')
-rw-r--r--npc/021-1/logic.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/npc/021-1/logic.txt b/npc/021-1/logic.txt
index 2e4434805..2c96be1c3 100644
--- a/npc/021-1/logic.txt
+++ b/npc/021-1/logic.txt
@@ -31,13 +31,15 @@ OnTouch:
.@q=getq(NivalisQuest_Cindy);
if (.@q < 3) end;
if ($@CINDY_STATE > gettimetick(2)) goto L_Safe;
- if ($@CINDY_STATE % 2 == 0) goto L_Blocked;
+ if ($@CINDY_STATE % 2 == 1) goto L_Blocked;
if (CindySwitch_Check_211() == 5) {
.@pos=rand(0,8);
- if (.@q == 4)
+ if (.@q == 3) {
+ setq NivalisQuest_Cindy, 4;
warp "021-1", .xp[.@pos], .yp[.@pos];
- else
+ } else {
warp "021-2", 80, 102;
+ }
} else {
switch (CindySwitch_Check_211()) {
case 0: