From 94ac9fe3303c4d604485a4784e8f5c99f5457863 Mon Sep 17 00:00:00 2001 From: Taylor Locke Date: Mon, 25 Nov 2013 06:03:06 -0800 Subject: Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179 Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru] --- npc/airports/airships.txt | 4 ++-- npc/airports/einbroch.txt | 2 +- npc/airports/hugel.txt | 2 +- npc/airports/izlude.txt | 2 +- npc/airports/lighthalzen.txt | 2 +- npc/airports/rachel.txt | 2 +- npc/airports/yuno.txt | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'npc/airports') 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; } -- cgit v1.2.3-60-g2f50