summaryrefslogtreecommitdiff
path: root/npc/000-2-1/alige.txt
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-05 12:47:25 +0300
commit6eeae2ee499b4aec7b9f771c75ff09264d79c8fd (patch)
treed024b7517c78adc0cfda5f4d4d17ac03ced5cb3a /npc/000-2-1/alige.txt
parent58cf99bc280bb54f3c6ad6538ae3bc14fd54ec7f (diff)
downloadserverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.gz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.bz2
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.tar.xz
serverdata-6eeae2ee499b4aec7b9f771c75ff09264d79c8fd.zip
Replace script function set to direct variable assignments.
Diffstat (limited to 'npc/000-2-1/alige.txt')
-rw-r--r--npc/000-2-1/alige.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/000-2-1/alige.txt b/npc/000-2-1/alige.txt
index a9d2903a6..8b6d82b17 100644
--- a/npc/000-2-1/alige.txt
+++ b/npc/000-2-1/alige.txt
@@ -48,7 +48,7 @@ OnTimer190:
}
000-2-1,43,31,0 script Alige 401,{
- set .@q, getq(ShipQuests_Alige);
+ .@q = getq(ShipQuests_Alige);
if (.@q > 1) goto L_AskForFood;
goto OnFirstEncounter;
@@ -181,7 +181,7 @@ L_GiveFood:
rif(countitemcolor(516, 1), l(getitemname("PumpkinSeeds"))), 1,
l("I don't have anything good for you today."), -1;
- set .@id, @menuret;
+ .@id = @menuret;
if (.@id == -1) goto L_Quit; // Quit message.
if (.@id == 0) goto L_NoReward; // In case of wrong food.
if (.@id == 1) goto L_Poison; // In case of poisoned food.