summaryrefslogtreecommitdiff
path: root/npc/kafras/dts_warper.txt
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/kafras/dts_warper.txt
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/kafras/dts_warper.txt')
-rw-r--r--npc/kafras/dts_warper.txt24
1 files changed, 12 insertions, 12 deletions
diff --git a/npc/kafras/dts_warper.txt b/npc/kafras/dts_warper.txt
index 3a76e8259..1547d4b0f 100644
--- a/npc/kafras/dts_warper.txt
+++ b/npc/kafras/dts_warper.txt
@@ -534,7 +534,7 @@ function script F_VoteKafra {
case 1:
if (Zeny >= 4000) {
cutin "",255;
- set Zeny, Zeny-4000;
+ Zeny -=4000;
warp "xmas_dun02",130,123;
end;
}
@@ -558,7 +558,7 @@ function script F_VoteKafra {
switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "kafra_09",255;
warp "xmas_dun02",130,123;
end;
@@ -574,7 +574,7 @@ function script F_VoteKafra {
break;
case 2:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "kafra_09",255;
warp "alde_dun03",265,22;
end;
@@ -599,7 +599,7 @@ function script F_VoteKafra {
switch(select("Toy Factory, Level 2 -> 4,000 z:Clock Tower, Level 3 -> 4,000 z:Lava Dungeon, Level 2 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "kafra_09",255;
warp "xmas_dun02",130,123;
end;
@@ -615,7 +615,7 @@ function script F_VoteKafra {
break;
case 2:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "kafra_09",255;
warp "alde_dun03",265,22;
end;
@@ -631,7 +631,7 @@ function script F_VoteKafra {
break;
case 3:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "kafra_09",255;
warp "mag_dun02",47,40;
end;
@@ -933,7 +933,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -961,7 +961,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -976,7 +976,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 2:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "c_tower3",64,143;
end;
@@ -1011,7 +1011,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
switch(select("Byalan Dungeon, Level 3 -> 4,000 z:Clock Tower, 3rd Floor -> 4,000 z:Glast Heim Entrance -> 4,000 z:Cancel")) {
case 1:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "iz_dun02",234,206;
end;
@@ -1026,7 +1026,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 2:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "c_tower3",64,143;
end;
@@ -1041,7 +1041,7 @@ lighthalzen,163,60,4 script Kafra Voting Staff#lght 4_F_KAFRA9,{
break;
case 3:
if (Zeny >= 4000) {
- set Zeny, Zeny-4000;
+ Zeny -=4000;
cutin "zonda_01",255;
warp "glast_01",368,303;
end;