summaryrefslogtreecommitdiff
path: root/npc/000-2-1/peter.txt
diff options
context:
space:
mode:
authorReid <reidyaro@gmail.com>2012-12-31 01:18:05 +0100
committerReid <reidyaro@gmail.com>2012-12-31 01:18:05 +0100
commita5985591e25b969069e3863c26b19c6b46f90773 (patch)
treeae0450a3187f55139dfac5e9da3dd8d5b891169a /npc/000-2-1/peter.txt
parente3a6e63789ab91d7a10cd5593f3bf896aec3be44 (diff)
downloadserverdata-a5985591e25b969069e3863c26b19c6b46f90773.tar.gz
serverdata-a5985591e25b969069e3863c26b19c6b46f90773.tar.bz2
serverdata-a5985591e25b969069e3863c26b19c6b46f90773.tar.xz
serverdata-a5985591e25b969069e3863c26b19c6b46f90773.zip
Correct nasty bugs on peter script. (finally)
Diffstat (limited to 'npc/000-2-1/peter.txt')
-rw-r--r--npc/000-2-1/peter.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt
index d202f417a..a8b7025f4 100644
--- a/npc/000-2-1/peter.txt
+++ b/npc/000-2-1/peter.txt
@@ -82,6 +82,7 @@ l_Rwin:
OnGiveTask:
setq ShipQuests_Peter, 6;
+ set @q, getq(ShipQuests_Peter);
mesn;
mesq g(l("Hey, girl!"),
l("Hey, man!"));
@@ -168,13 +169,14 @@ l_BonusTask:
if ($@RAT_SAILOR_HELPER$ != "") goto OnDontneedHelp;
if (@q == 6) setq ShipQuests_Peter, 2;
if (@q == 3) setq ShipQuests_Peter, 4;
- mes @q;
+ set @q, getq(ShipQuests_Peter);
goto l_Start;
l_Task:
mes "";
if ($@RAT_SAILOR_HELPER$ != "") goto OnDontneedHelp;
if (@q == 6) setq ShipQuests_Peter, 1;
+ set @q, getq(ShipQuests_Peter);
goto l_Start;
l_Start:
@@ -278,12 +280,13 @@ l_CleaningClose:
l_Reward:
warp "000-2-1.gat", 72, 36;
+ setq ShipQuests_Peter, 5;
+ set @q, getq(ShipQuests_Peter);
mesn;
mesq l("Good job!") + " " + l("Here's your reward!");
getexp 100, 0;
set zeny, zeny + 200;
message strcharinfo(0), l("You receive 200 GP!");
- setq ShipQuests_Peter, 5;
goto l_CleaningClose;
@@ -292,6 +295,7 @@ l_Thanks:
mesq l("Thanks for helping me!");
set @q, getq(ShipQuests_Peter);
if (@q == 1) setq ShipQuests_Peter, 3;
+ set @q, getq(ShipQuests_Peter);
goto l_CleaningClose;