summaryrefslogtreecommitdiff
path: root/npc/000-2-2
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
committerAndrei Karas <akaras@inbox.ru>2014-11-21 16:04:32 +0300
commit66a7953e6f6b4d7951c306e1d305ab3b904f557a (patch)
treed96f9df4db7a506277b5659aa6165e0efa7b1700 /npc/000-2-2
parentefb1c01272dc109188f1a4559db05a73405a7d38 (diff)
downloadserverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.gz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.bz2
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.tar.xz
serverdata-66a7953e6f6b4d7951c306e1d305ab3b904f557a.zip
Replace temp variables into scope temp variables.
Diffstat (limited to 'npc/000-2-2')
-rw-r--r--npc/000-2-2/doors.txt4
-rw-r--r--npc/000-2-2/ratto.txt26
2 files changed, 15 insertions, 15 deletions
diff --git a/npc/000-2-2/doors.txt b/npc/000-2-2/doors.txt
index dab5c6b1..6f2f6c7e 100644
--- a/npc/000-2-2/doors.txt
+++ b/npc/000-2-2/doors.txt
@@ -15,8 +15,8 @@ OnTouch:
goto L_Warp;
L_Warn:
- set @q, getq(ShipQuests_Peter);
- if (@q == 5) goto L_Warp;
+ set .@q, getq(ShipQuests_Peter);
+ if (.@q == 5) goto L_Warp;
mesn "Narrator";
mes col(l("There are still some rattos left! Do you want to abort the quest?"), 9);
diff --git a/npc/000-2-2/ratto.txt b/npc/000-2-2/ratto.txt
index 1daca2e4..598df365 100644
--- a/npc/000-2-2/ratto.txt
+++ b/npc/000-2-2/ratto.txt
@@ -6,7 +6,7 @@
// Description:
// Ratto killer.
-// $@RAT_SAILOR_CONTROL array explanation:
+// $.@RAT_SAILOR_CONTROL array explanation:
// [1] = Shows status of ratto number 1 (1 is dead and 0 is alive).
// [2] = Shows status of ratto number 2 (1 is dead and 0 is alive).
// [3] = Shows status of ratto number 3 (1 is dead and 0 is alive).
@@ -29,41 +29,41 @@ OnSpawn:
OnRatto1Respawn:
areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto1Death";
- set $@RAT_SAILOR_CONTROL[1], 0;
- set $@RAT_SAILOR_CONTROL[5], 0;
+ set $.@RAT_SAILOR_CONTROL[1], 0;
+ set $.@RAT_SAILOR_CONTROL[5], 0;
end;
OnRatto2Respawn:
areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto2Death";
- set $@RAT_SAILOR_CONTROL[2], 0;
- set $@RAT_SAILOR_CONTROL[6], 0;
+ set $.@RAT_SAILOR_CONTROL[2], 0;
+ set $.@RAT_SAILOR_CONTROL[6], 0;
end;
OnRatto3Respawn:
areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto3Death";
- set $@RAT_SAILOR_CONTROL[3], 0;
- set $@RAT_SAILOR_CONTROL[7], 0;
+ set $.@RAT_SAILOR_CONTROL[3], 0;
+ set $.@RAT_SAILOR_CONTROL[7], 0;
end;
OnRatto4Respawn:
areamonster "000-2-2.gat", 23, 19, 50, 40, "Ratto", 1005, 1, "RattosControl::OnRatto4Death";
- set $@RAT_SAILOR_CONTROL[4], 0;
- set $@RAT_SAILOR_CONTROL[8], 0;
+ set $.@RAT_SAILOR_CONTROL[4], 0;
+ set $.@RAT_SAILOR_CONTROL[8], 0;
end;
OnRatto1Death:
- set $@RAT_SAILOR_CONTROL[1], 1;
+ set $.@RAT_SAILOR_CONTROL[1], 1;
end;
OnRatto2Death:
- set $@RAT_SAILOR_CONTROL[2], 1;
+ set $.@RAT_SAILOR_CONTROL[2], 1;
end;
OnRatto3Death:
- set $@RAT_SAILOR_CONTROL[3], 1;
+ set $.@RAT_SAILOR_CONTROL[3], 1;
end;
OnRatto4Death:
- set $@RAT_SAILOR_CONTROL[4], 1;
+ set $.@RAT_SAILOR_CONTROL[4], 1;
end;
}