diff options
author | Haru <haru@dotalux.com> | 2013-11-10 04:28:03 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-10 04:31:28 +0100 |
commit | b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25 (patch) | |
tree | cbd305d3896bdc9f498ed9eb72836dc7b6c32b99 /npc/re/cities/malaya.txt | |
parent | c9b63614070f7fce81c88cd60e5edad5a7730df0 (diff) | |
download | hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.gz hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.bz2 hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.tar.xz hercules-b4f1b3b5c5c009ed4f7635c5349ea97c80c08c25.zip |
Follow-up to 857bdc4f98be6cd1e185a24565d6b6b54752b9b4
- Consolidated case in variables, labels, constants.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/re/cities/malaya.txt')
-rw-r--r-- | npc/re/cities/malaya.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/re/cities/malaya.txt b/npc/re/cities/malaya.txt index ddc261e4f..ae746e7d2 100644 --- a/npc/re/cities/malaya.txt +++ b/npc/re/cities/malaya.txt @@ -686,7 +686,7 @@ malaya,63,185,4 script Woman#ma08 4_F_MALAYA,{ // Jeepneys //============================================================ function script F_Malaya_Jeepney { - .@mapName$ = getarg(0); + .@mapname$ = getarg(0); .@passengers = getarg(1); // set the other messages of varying amount) @@ -707,9 +707,9 @@ function script F_Malaya_Jeepney { mes getarg(4); next; } - switch(select("Board [Passenger " + getmapusers(.@mapName$) + "/" + .@passengers +"]:Jeepney?:Are there any other Jeepneys?:Ah... Yes...")) { + switch(select("Board [Passenger " + getmapusers(.@mapname$) + "/" + .@passengers +"]:Jeepney?:Are there any other Jeepneys?:Ah... Yes...")) { case 1: - if (getmapusers(.@mapName$) >= .@passengers) { + if (getmapusers(.@mapname$) >= .@passengers) { mes "[Jeepney Driver]"; mes "I'm afraid the Jeepney is full."; mes "I'm sorry but how about some other Jeepney?"; @@ -718,7 +718,7 @@ function script F_Malaya_Jeepney { mes "[Jeepney Driver]"; mes "Have a nice day."; close2; - warp .@mapName$,29,24; + warp .@mapname$,29,24; end; } case 2: @@ -929,4 +929,4 @@ malaya,257,58,6 script Jeepney Driver#09 4_M_MALAYA,{ "Since everybody have different tastes, you can see those with cool and elaborate decorations.", "Of course you don't need to drive them yourselves, but you can ride them so please feel free to do so." ); -}
\ No newline at end of file +} |