summaryrefslogtreecommitdiff
path: root/npc/airports
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/airports
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/airports')
-rw-r--r--npc/airports/airships.txt4
-rw-r--r--npc/airports/einbroch.txt2
-rw-r--r--npc/airports/hugel.txt2
-rw-r--r--npc/airports/izlude.txt2
-rw-r--r--npc/airports/lighthalzen.txt2
-rw-r--r--npc/airports/rachel.txt2
-rw-r--r--npc/airports/yuno.txt2
7 files changed, 8 insertions, 8 deletions
diff --git a/npc/airports/airships.txt b/npc/airports/airships.txt
index bf2a17acf..a4048cd5f 100644
--- a/npc/airports/airships.txt
+++ b/npc/airports/airships.txt
@@ -531,7 +531,7 @@ airplane,50,66,5 script Apple Merchant#airplane 4_M_04,{
close;
}
else {
- set Zeny, Zeny - .@pay;
+ Zeny -= .@pay;
getitem 512,.@input; //Apple
mes "[Fruitz]";
mes "Thanks for stopping by";
@@ -895,7 +895,7 @@ airplane_01,50,66,5 script Apple Merchant#air01 4_M_04,{
close;
}
else {
- set Zeny, Zeny - .@pay;
+ Zeny -= .@pay;
getitem 512,.@input; //Apple
mes "[Meltz]";
mes "Thanks for stopping by";
diff --git a/npc/airports/einbroch.txt b/npc/airports/einbroch.txt
index bd6b72fcc..774bd14b3 100644
--- a/npc/airports/einbroch.txt
+++ b/npc/airports/einbroch.txt
@@ -31,7 +31,7 @@ airport,143,43,5 script Airport Staff#airport1a::airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airport",148,51;
end;
}
diff --git a/npc/airports/hugel.txt b/npc/airports/hugel.txt
index 015bf8efd..7d4b3f85a 100644
--- a/npc/airports/hugel.txt
+++ b/npc/airports/hugel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane",244,58;
end;
}
diff --git a/npc/airports/izlude.txt b/npc/airports/izlude.txt
index fe46c1169..aaf08b9a7 100644
--- a/npc/airports/izlude.txt
+++ b/npc/airports/izlude.txt
@@ -30,7 +30,7 @@
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane_01",244,58;
end;
}
diff --git a/npc/airports/lighthalzen.txt b/npc/airports/lighthalzen.txt
index e2c5f67b4..de26fb0cc 100644
--- a/npc/airports/lighthalzen.txt
+++ b/npc/airports/lighthalzen.txt
@@ -29,7 +29,7 @@ lhz_airport,143,43,5 script Airport Staff#lhz_air1a::lhz_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "lhz_airport",148,51;
end;
}
diff --git a/npc/airports/rachel.txt b/npc/airports/rachel.txt
index f157f5f6b..65ea35425 100644
--- a/npc/airports/rachel.txt
+++ b/npc/airports/rachel.txt
@@ -21,7 +21,7 @@ OnTouch:
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "airplane_01",245,60;
end;
}
diff --git a/npc/airports/yuno.txt b/npc/airports/yuno.txt
index 4e697918b..2146dc671 100644
--- a/npc/airports/yuno.txt
+++ b/npc/airports/yuno.txt
@@ -28,7 +28,7 @@ y_airport,143,43,5 script Airport Staff#y_air1a::y_airport1 4_F_01,{
end;
}
if (Zeny >= 1200) {
- set Zeny, Zeny - 1200;
+ Zeny -= 1200;
warp "y_airport",148,51;
end;
}