summaryrefslogtreecommitdiff
path: root/npc/other/CashShop_Functions.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/other/CashShop_Functions.txt')
-rw-r--r--npc/other/CashShop_Functions.txt32
1 files changed, 16 insertions, 16 deletions
diff --git a/npc/other/CashShop_Functions.txt b/npc/other/CashShop_Functions.txt
index 17ce48173..3197b3838 100644
--- a/npc/other/CashShop_Functions.txt
+++ b/npc/other/CashShop_Functions.txt
@@ -83,7 +83,7 @@ function script F_CashReset {
function script F_CashDungeon {
switch(getarg(0)) {
case 1:
- switch(select("Nogg Road:Mjolnir Dead Pit:"+(RENEWAL?"":"Umbala Dungeon")+":Einbroch Mine Dungeon:Payon Dungeon:Toy Dungeon:Glast Heim Underprison:Louyang Dungeon:Hermit's Checkers:Izlude Dungeon:Turtle Island Dungeon:Clock Tower B3f:Clock Tower 3f:Glast Heim Culvert 2f:Sphinx Dungeon 4f:Inside Pyramid 4f:Prontera Culvert 3f:Amatsu Dungeon 1f (Tatami Maze):Somatology Laboratory 1st floor:Ayothya Ancient Shrine 2nd floor")) {
+ switch(select("Nogg Road", "Mjolnir Dead Pit", (RENEWAL?"": "Umbala Dungeon"), "Einbroch Mine Dungeon", "Payon Dungeon", "Toy Dungeon", "Glast Heim Underprison", "Louyang Dungeon", "Hermit's Checkers", "Izlude Dungeon", "Turtle Island Dungeon", "Clock Tower B3f", "Clock Tower 3f", "Glast Heim Culvert 2f", "Sphinx Dungeon 4f", "Inside Pyramid 4f", "Prontera Culvert 3f", "Amatsu Dungeon 1f (Tatami Maze)", "Somatology Laboratory 1st floor", "Ayothya Ancient Shrine 2nd floor")) {
case 1: warp "mag_dun01",125,71; end; // Nogg Road
case 2: warp "mjo_dun02",80,297; end; // Mjolnir Dead Pit
case 3: warp "um_dun02",125,122; end; // Umbala Dungeon (Pre-Renewal only)
@@ -106,7 +106,7 @@ function script F_CashDungeon {
case 20: warp "ayo_dun02",70,240; end; // Ayotaya Dungeon 2F
}
case 2: // Menu names are not official.
- switch(select("Thor Volcano 2f:Ice Dungeon Entrance:Nameless Island Entrance:Niflheim:Labyrinth Forest 2f:Ruins of Juperos Entrance:Ant Hell 2f:Kiel Hyre's Academy Entrance:Thanatos Tower Entrance:Abyss Lake Entrance:Rachel Sanctuary Entrance:Odin Temple 2f")) {
+ switch(select("Thor Volcano 2f", "Ice Dungeon Entrance", "Nameless Island Entrance", "Niflheim", "Labyrinth Forest 2f", "Ruins of Juperos Entrance", "Ant Hell 2f", "Kiel Hyre's Academy Entrance", "Thanatos Tower Entrance", "Abyss Lake Entrance", "Rachel Sanctuary Entrance", "Odin Temple 2f")) {
case 1: warp "thor_v02",77,208; end; // Thor Volcano 2F
case 2: warp "ra_fild01",237,333; end; // Ice Dungeon
case 3: warp "ve_fild07",127,131; end; // Nameless Island
@@ -121,7 +121,7 @@ function script F_CashDungeon {
case 12: warp "odin_tem02",257,374; end; // Odin Temple F2
}
case 3:
- switch(select("Bio Lab (2nd Floor):Ice Dungeon (3rd Floor):Odin Temple (3rd Floor):Thor Volcano (3rd Floor):Abyss Lake (3rd Floor):Juperos Ruins (2nd Floor)")) {
+ switch(select("Bio Lab (2nd Floor)", "Ice Dungeon (3rd Floor)", "Odin Temple (3rd Floor)", "Thor Volcano (3rd Floor)", "Abyss Lake (3rd Floor)", "Juperos Ruins (2nd Floor)")) {
case 1: warp "lhz_dun02",145,149; end; // Somatology Laboratory 2F
case 2: warp "ice_dun03",150,176; end; // Ice Dungeon 3F
case 3: warp "odin_tem03",278,235; end; // Odin Temple 3F
@@ -140,7 +140,7 @@ function script F_CashDungeon {
function script F_CashCity {
switch(getarg(0)) {
case 1: // Yellow - Rune-Midgart
- switch(select("Prontera:Izlude:Geffen:Payon:Morroc:Alberta:Al de Baran")) {
+ switch(select("Prontera", "Izlude", "Geffen", "Payon", "Morroc", "Alberta", "Al de Baran")) {
case 1: warp "prontera",122,87; end;
case 2: if (RENEWAL) warp "izlude",130,90; else warp "izlude",91,105; end;
case 3: warp "geffen",128,48; end;
@@ -150,7 +150,7 @@ function script F_CashCity {
case 7: warp "aldebaran",140,110; end;
}
case 2: // Green - Schwartzvalt
- switch(select("Juno:Lighthalzen:Einbroch:Einbech:Hugel")) {
+ switch(select("Juno", "Lighthalzen", "Einbroch", "Einbech", "Hugel")) {
case 1: warp "yuno",160,170; end;
case 2: warp "lighthalzen",190,310; end;
case 3: warp "einbroch",230,190; end;
@@ -158,19 +158,19 @@ function script F_CashCity {
case 5: warp "hugel",92,165; end;
}
case 3: // Red - Arunafeltz
- switch(select("Rachel:Veins")) {
+ switch(select("Rachel", "Veins")) {
case 1: warp "rachel",120,125; end;
case 2: warp "veins",215,105; end;
}
case 4: // Blue - Islands
- switch(select("Amatsu:Kunlun:Ayotaya:Louyang")) {
+ switch(select("Amatsu", "Kunlun", "Ayotaya", "Louyang")) {
case 1: warp "amatsu",110,140; end;
case 2: warp "gonryun",160,115; end;
case 3: warp "ayothaya",220,170; end;
case 4: warp "louyang",217,95; end;
}
case 5: // Blue - Islands (Renewal)
- switch(select("Amatsu:Kunlun:Ayotaya:Louyang:Moscovia:Dewata:Brasilis")) {
+ switch(select("Amatsu", "Kunlun", "Ayotaya", "Louyang", "Moscovia", "Dewata", "Brasilis")) {
case 1: warp "amatsu",110,140; end;
case 2: warp "gonryun",160,115; end;
case 3: warp "ayothaya",220,170; end;
@@ -190,7 +190,7 @@ function script F_CashCity {
function script F_CashTele {
switch(getarg(0)) {
case 1:
- switch(select("Prontera:Geffen:Al de Baran:Izlude:Savepoint")) {
+ switch(select("Prontera", "Geffen", "Al de Baran", "Izlude", "Savepoint")) {
case 1: warp "prontera",119,77; end;
case 2: warp "geffen",119,39; end;
case 3: warp "aldebaran",165,107; end;
@@ -198,7 +198,7 @@ function script F_CashTele {
case 5: warp "SavePoint",0,0; end;
}
case 2:
- switch(select("Payon:Alberta:Morroc:Comodo:Savepoint")) {
+ switch(select("Payon", "Alberta", "Morroc", "Comodo", "Savepoint")) {
case 1: warp "payon",158,55; end;
case 2: warp "alberta",115,57; end;
case 3: warp "morocc",158,48; end;
@@ -206,7 +206,7 @@ function script F_CashTele {
case 5: warp "SavePoint",0,0; end;
}
case 3:
- switch(select("Louyang:Amatsu:Kunlun Field:Ayothaya:Savepoint")) {
+ switch(select("Louyang", "Amatsu", "Kunlun Field", "Ayothaya", "Savepoint")) {
case 1: warp "louyang",214,101; end;
case 2: warp "amatsu",112,145; end;
case 3: warp "gonryun",160,118; end;
@@ -214,14 +214,14 @@ function script F_CashTele {
case 5: warp "SavePoint",0,0; end;
}
case 4:
- switch(select("Lutie Field:Umbala:Niflheim:Savepoint")) {
+ switch(select("Lutie Field", "Umbala", "Niflheim", "Savepoint")) {
case 1: warp "xmas",148,131; end;
case 2: warp "umbala",93,154; end;
case 3: warp "niflheim",187,189; end;
case 4: warp "SavePoint",0,0; end;
}
case 5:
- switch(select("Juno:Einbroch:Lighthalzen:Hugel:Savepoint")) {
+ switch(select("Juno", "Einbroch", "Lighthalzen", "Hugel", "Savepoint")) {
case 1: warp "yuno",157,124; end;
case 2: warp "einbroch",230,192; end;
case 3: warp "lighthalzen",158,94; end;
@@ -229,7 +229,7 @@ function script F_CashTele {
case 5: warp "SavePoint",0,0; end;
}
case 6:
- switch(select("Rachel:Veins:Savepoint")) {
+ switch(select("Rachel", "Veins", "Savepoint")) {
case 1: warp "rachel",118,132; end;
case 2: warp "veins",214,125; end;
case 3: warp "SavePoint",0,0; end;
@@ -242,7 +242,7 @@ function script F_CashTele {
// - Warps player to selected guild castle.
// - No arguments.
function script F_CashSiegeTele {
- switch(select("Neuschwanstein (aldeg_cas01):Hohenschwangau (aldeg_cas02):Nuernberg (aldeg_cas03):Wuerzburg (aldeg_cas04):Rothenburg (aldeg_cas05):Repherion (gefg_cas01):Eeyorbriggar (gefg_cas02):Yesnelph (gefg_cas03):Bergel (gefg_cas04):Mersetzdeitz (gefg_cas05):Bright Arbor (payg_cas01):Sacred Altar (payg_cas02):Holy Shadow (payg_cas03):Scarlet Palace (payg_cas04):Bamboo Grove Hill (payg_cas05):Kriemhild (prtg_cas01):Swanhild (prtg_cas02):Fadhgridh (prtg_cas03):Skoegul (prtg_cas04):Gondul (prtg_cas05)")) {
+ switch(select("Neuschwanstein (aldeg_cas01)", "Hohenschwangau (aldeg_cas02)", "Nuernberg (aldeg_cas03)", "Wuerzburg (aldeg_cas04)", "Rothenburg (aldeg_cas05)", "Repherion (gefg_cas01)", "Eeyorbriggar (gefg_cas02)", "Yesnelph (gefg_cas03)", "Bergel (gefg_cas04)", "Mersetzdeitz (gefg_cas05)", "Bright Arbor (payg_cas01)", "Sacred Altar (payg_cas02)", "Holy Shadow (payg_cas03)", "Scarlet Palace (payg_cas04)", "Bamboo Grove Hill (payg_cas05)", "Kriemhild (prtg_cas01)", "Swanhild (prtg_cas02)", "Fadhgridh (prtg_cas03)", "Skoegul (prtg_cas04)", "Gondul (prtg_cas05)")) {
case 1: warp "alde_gld",48,91; end;
case 2: warp "alde_gld",103,245; end;
case 3: warp "alde_gld",142,87; end;
@@ -274,7 +274,7 @@ function script F_Snowball {
cutin "rutie_snownow03",2;
mes "[Snowman]";
mes "Merry Christmas!";
- switch(select("Restore Some HP/SP:Strengthen My Body!:Restore My SP Fully.:Return to Savepoint")) {
+ switch(select("Restore Some HP/SP", "Strengthen My Body!", "Restore My SP Fully.", "Return to Savepoint")) {
case 1:
mes "Aha!";
mes "Quiet night~";