summaryrefslogtreecommitdiff
path: root/npc/031-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/031-2')
-rw-r--r--npc/031-2/angelaHouse.txt9
-rw-r--r--npc/031-2/cindyHouse.txt2
2 files changed, 6 insertions, 5 deletions
diff --git a/npc/031-2/angelaHouse.txt b/npc/031-2/angelaHouse.txt
index 37cb82cc..55c2c7df 100644
--- a/npc/031-2/angelaHouse.txt
+++ b/npc/031-2/angelaHouse.txt
@@ -1,7 +1,8 @@
031-2,29,28,0 script Angela#house NPC196,{
- if (QL_CINDY == 4) goto L_Hello_Again;
- if (QL_CINDY == 3) goto L_Reward;
+ .@q= getq(KaizeiQuest_Cindy);
+ if (.@q > 4) goto L_Hello_Again;
+ if (.@q == 4) goto L_Reward;
mes "...";
goto L_close;
@@ -19,8 +20,8 @@ L_Reward:
getinventorylist;
if (@inventorylist_count == 100)
goto L_Full_Inv;
- getitem "RockKnife", 1;
- QL_CINDY = 4;
+ getitem RockKnife, 1;
+ setq(KaizeiQuest_Cindy, 5);
next;
mes "\"I hope this will be useful for you.\"";
diff --git a/npc/031-2/cindyHouse.txt b/npc/031-2/cindyHouse.txt
index dcda8cd2..798d4037 100644
--- a/npc/031-2/cindyHouse.txt
+++ b/npc/031-2/cindyHouse.txt
@@ -1,6 +1,6 @@
031-2,27,26,0 script Cindy#house NPC197,{
- if (QL_CINDY == 3 || QL_CINDY == 4) goto L_Happy_Random;
+ if (getq(KaizeiQuest_Cindy) > 3) goto L_Happy_Random;
mes "...";
goto L_close;