summaryrefslogtreecommitdiff
path: root/npc/000-2-1/alige.txt
diff options
context:
space:
mode:
authorReid Yaro <reidyaro@gmail.com>2013-01-18 00:43:30 +0000
committerReid Yaro <reidyaro@gmail.com>2013-01-18 02:56:37 +0000
commita3ef19f0f54954fb9eede3d8481152c3983b6f5f (patch)
tree549788f472e3d282f010a999aa32f6107235a523 /npc/000-2-1/alige.txt
parent62fc927c95b5b440539e43e8dc27bb53ba3ef738 (diff)
downloadserverdata-a3ef19f0f54954fb9eede3d8481152c3983b6f5f.tar.gz
serverdata-a3ef19f0f54954fb9eede3d8481152c3983b6f5f.tar.bz2
serverdata-a3ef19f0f54954fb9eede3d8481152c3983b6f5f.tar.xz
serverdata-a3ef19f0f54954fb9eede3d8481152c3983b6f5f.zip
Add loop on Alige script.
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r--npc/000-2-1/alige.txt16
1 files changed, 12 insertions, 4 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index 59a7c351..2257a338 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -179,7 +179,6 @@ l_GiveFood:
// if (@id == item's ID) then food is correct.
// Do not put any other number than -1, 0, 1, 2 or the item's ID, that'll avoid confusion.
-l_GiveReward:
mes "";
set @item, 507;
set @count, 3;
@@ -193,7 +192,7 @@ l_GiveReward:
setq ShipQuests_Alige, 3;
getitem "Piberries", rand(1,3);
- close;
+ goto l_ReturnMenu;
l_NoReward:
setcamnpc;
@@ -204,6 +203,16 @@ l_NoReward:
goto l_GiveFood;
+l_ReturnMenu:
+ setcamnpc;
+ mes "";
+ mesn;
+ mesq l("Do you have anything else for me?");
+ next;
+ restorecam;
+
+ goto l_GiveFood;
+
l_NoMore:
setcamnpc;
mes "";
@@ -219,7 +228,7 @@ l_Poison:
mesq l("Don't try to poison me! I know what that does!");
restorecam;
- goto l_GiveFood;
+ goto l_ReturnMenu;
l_SoAskForFood:
setcamnpc;
@@ -234,7 +243,6 @@ l_AskForFood:
mesn;
mesq l("Do you have anything for me today?");
restorecam;
- next;
l_IntroMenu:
menu