From 0462bc828e59ce99a48303a2f6190d3a01ce9465 Mon Sep 17 00:00:00 2001 From: Dastgir Date: Sun, 17 Jan 2016 17:59:05 +0530 Subject: Script Standardization: changed select format in RE folder --- npc/re/instances/BakonawaLake.txt | 8 ++++---- npc/re/instances/BangungotHospital.txt | 4 ++-- npc/re/instances/BuwayaCave.txt | 10 +++++----- npc/re/instances/EclageInterior.txt | 8 ++++---- npc/re/instances/HazyForest.txt | 20 ++++++++++---------- npc/re/instances/MalangdoCulvert.txt | 24 ++++++++++++------------ npc/re/instances/OctopusCave.txt | 6 +++--- npc/re/instances/OldGlastHeim.txt | 2 +- 8 files changed, 41 insertions(+), 41 deletions(-) (limited to 'npc/re/instances') diff --git a/npc/re/instances/BakonawaLake.txt b/npc/re/instances/BakonawaLake.txt index e1937f572..8e1afe859 100644 --- a/npc/re/instances/BakonawaLake.txt +++ b/npc/re/instances/BakonawaLake.txt @@ -73,12 +73,12 @@ ma_scene01,174,179,4 script Taho 4_M_DEWZATIMAN,{ mes "[Taho]"; mes "Are you the leader of the Bakonawa slayers? The road is not well so we have to go down the cliff with a rope, is that OK?"; next; - .@i = select("Please weave a rope.:Now I will go down.:Cancel."); + .@i = select("Please weave a rope.", "Now I will go down.", "Cancel."); } else { mes "[Taho]"; mes "You came for slaying Bakonawa. The leader of your party has to help me weaving the rope for going down."; next; - .@i = select(":Now I will go down.:Cancel."); + .@i = select("", "Now I will go down.", "Cancel."); } switch(.@i) { case 1: @@ -148,7 +148,7 @@ sec_in02,26,26,4 script Bakonawa's Rage 4_M_DEWZATIMAN,{ mes "[Taho]"; mes "Now I will make Bakonawa spring out from the lake."; next; - switch(select("Hold on! I'm not ready yet!:Let's do it!")) { + switch(select("Hold on! I'm not ready yet!", "Let's do it!")) { case 1: mes "[Taho]"; mes "Oh... alright... tell me when you are ready."; @@ -532,7 +532,7 @@ OnTimer10000: mes "[Taho]"; mes "Are we going to try again?"; next; - switch(select("Hold on a sec!:Of course! We cannot stand back now!")) { + switch(select("Hold on a sec!", "Of course! We cannot stand back now!")) { case 1: mes "[Taho]"; mes "AWW... I almost brought him out."; diff --git a/npc/re/instances/BangungotHospital.txt b/npc/re/instances/BangungotHospital.txt index 5b9fba3dd..c6a8ac317 100644 --- a/npc/re/instances/BangungotHospital.txt +++ b/npc/re/instances/BangungotHospital.txt @@ -273,7 +273,7 @@ L_Enter: mes "one more chance?"; } next; - switch(select(((getarg(0))?"Prepare to enter the second floor.":"")+":Enter the second floor.:Do not enter.")) { + switch(select(((getarg(0))?"Prepare to enter the second floor.":""), "Enter the second floor.", "Do not enter.")) { case 1: .@instance = instance_create(.@md_name$,getcharid(1)); if (.@instance < 0) { @@ -362,7 +362,7 @@ sec_in02,27,30,0 script Bangungot Gate 2_MONEMUS,{ mes "Good Luck."; close; } - switch(select("Receive 9222:Receive 9223:Erase 9222:Erase 9223:Receive 9224:Erase 9224:Receive malaya_bang 30:Receive malaya_bang 40:Receive 11309:Erase 11309:Cancel")) { + switch(select("Receive 9222", "Receive 9223", "Erase 9222", "Erase 9223", "Receive 9224", "Erase 9224", "Receive malaya_bang 30", "Receive malaya_bang 40", "Receive 11309", "Erase 11309", "Cancel")) { case 1: setquest 9222; close; case 2: setquest 9223; close; case 3: erasequest 9222; close; diff --git a/npc/re/instances/BuwayaCave.txt b/npc/re/instances/BuwayaCave.txt index 139d3acc3..03de64375 100644 --- a/npc/re/instances/BuwayaCave.txt +++ b/npc/re/instances/BuwayaCave.txt @@ -60,7 +60,7 @@ ma_fild02,312,317,5 script Guard#buwaya_cave 4_MAL_SOLDIER,{ mes "If you dont have any business here, please go back."; next; while(1) { - switch(select("Why is it so dangerous?:I'm here to hunt down Buwaya.:End conversation.")) { + switch(select("Why is it so dangerous?", "I'm here to hunt down Buwaya.", "End conversation.")) { case 1: mes "[Guard]"; mes "Recently, there has been a case"; @@ -152,7 +152,7 @@ OnTouch: erasequest 4229; // fall through } - switch(select("Enter.:Turn back.")) { + switch(select("Enter.", "Turn back.")) { case 1: if( has_instance("1@ma_c") == "" ) { mes "The memorial dungeon Buwaya Cave does not exist."; @@ -200,7 +200,7 @@ OnTouch: mes "and new people got caught."; mes "We will be stuck in here for the rest of our lives."; next; - switch(select("Get me outta here!!:Ca...can't escape?")) { + switch(select("Get me outta here!!", "Ca...can't escape?")) { case 1: mes "[Kidnapped Residents]"; mes "We don't have enough power to destroy it but Buwaya has a weakness."; @@ -231,7 +231,7 @@ OnEnable: mes "Ahaa! I wish I had a little more power..."; mes "I know its weakness..."; next; - switch(select("Tell me.:Do you really know?")) { + switch(select("Tell me.", "Do you really know?")) { case 1: mes "[Kidnapped Residents]"; mes "Are you sure you can do it...?"; @@ -454,7 +454,7 @@ OnEnable: OnTouch: mes "Would like to go out?"; next; - if(select("Yes!:No, I will stay.") == 1) + if(select("Yes!", "No, I will stay.") == 1) warp "ma_fild02",315,315; close; } diff --git a/npc/re/instances/EclageInterior.txt b/npc/re/instances/EclageInterior.txt index bf11c8443..e7d603340 100644 --- a/npc/re/instances/EclageInterior.txt +++ b/npc/re/instances/EclageInterior.txt @@ -53,7 +53,7 @@ ecl_hub01,132,12,3 script Chief of Staff#tl01::EclInstance 4_F_FAIRY,{ mes "This place is set up with lighting for Orb."; mes "If you favor Mayor, you should be cautious here."; next; - switch (select("Enter it.:Forget it.")) { + switch (select("Enter it.", "Forget it.")) { case 1: .@instance = instance_create(.@md_name$,.@party_id); if (.@instance < 0) { @@ -91,7 +91,7 @@ ecl_hub01,130,15,0 script It is closed shut. CLEAR_NPC,{ mes "This door connects to the plaza's ceiling."; mes "It's also a place where the lighting is set up to make Orb seem more beautiful."; next; - switch (select("Enter it.:Forget it.")) { + switch (select("Enter it.", "Forget it.")) { case 1: .@party_id = getcharid(1); @@ -137,7 +137,7 @@ ecl_hub01,130,15,0 script It is closed shut. CLEAR_NPC,{ mes "Oh, what's going on here?"; mes "They destroyed additional troops that Mayor sent?"; next; - select("What...?:I fought monsters off!"); + select("What...?", "I fought monsters off!"); mes "[Shenime]"; mes "It doesn't matter."; mes "Your job ends here."; @@ -310,7 +310,7 @@ OnInstanceInit: mes "There was a subtle and magical echo to it."; mes "Immidiately after that, you were thrown here."; next; - if (select("It's all because of you!:Shenime said...") == 1) { + if (select("It's all because of you!", "Shenime said...") == 1) { mes "[Avant]"; mes "I don't understand a word you're saying."; mes "Can't you organize your story? Don't you know 'five W's and one H' rule?"; diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt index d92934dc5..6de94e7ac 100644 --- a/npc/re/instances/HazyForest.txt +++ b/npc/re/instances/HazyForest.txt @@ -97,7 +97,7 @@ bif_fild01,158,340,5 script Laphine Soldier#mist 4_M_FAIRYSOLDIER,{ mes "Are you going to venture into the Hazy Forest?"; } next; - switch(select("Venture into the Hazy Forest.:Give up.")) { + switch(select("Venture into the Hazy Forest.", "Give up.")) { case 1: mes "[Laphine Soldier]"; mes "Party Name "+getpartyname(.@party_id)+"..."; @@ -163,7 +163,7 @@ bif_fild01,161,355,0 script Log Tunnel CLEAR_NPC,{ mes "I see the forest through the log tunnel."; mes "It looks like I can enter the forest through the log tunnel."; next; - if(select("Enter the tunnel.:Give up.") == 2) + if(select("Enter the tunnel.", "Give up.") == 2) close; if (has_instance("1@mist") == "") { if (questprogress(7211,PLAYTIME) == 1) { @@ -216,7 +216,7 @@ function script F_Mora_Mist { mes "Obviously no one is taking care of it."; mes "It seems like you can chop down the garden tree."; next; - if(select("Chop down the garden tree.:Give up.") == 2) + if(select("Chop down the garden tree.", "Give up.") == 2) close; mes "You chop down the tree, which was blocking the path of the maze, "+((getarg(3,0))?"clearing the way out of the forest.":"so now you can continue."); mapannounce .@map$,getarg(1),bc_map,"0xccffcc"; //FW_NORMAL 12 0 0 @@ -590,13 +590,13 @@ OnTimer3000: mes "I'm asking you again."; mes "Do you plan to pass through this forest?"; next; - switch(select("Yes, I do.:No, I don't.")) { + switch(select("Yes, I do.", "No, I don't.")) { case 1: mes "[Loki]"; mes "Then I'll ask you a question."; mes "Have you ever seen a guard... a girl with purple hair?"; next; - switch(select("No, I haven't.:Yes, I might have...")) { + switch(select("No, I haven't.", "Yes, I might have...")) { case 1: mes "[Loki]"; mes "So you haven't."; @@ -632,7 +632,7 @@ OnTimer3000: mes "It's not easy going through the forest."; mes "It may cost you your life."; next; - switch(select("Okay.:What do you want?")) { + switch(select("Okay.", "What do you want?")) { case 1: mes "- When you step back,"; mes "Loki nods slightly and then looks away. -"; @@ -642,7 +642,7 @@ OnTimer3000: mes "I'm looking for somebody."; mes "Have you ever seen a guard... a girl with purple hair?"; next; - switch(select("No, I haven't.:Yes, I might have...")) { + switch(select("No, I haven't.", "Yes, I might have...")) { case 1: mes "[Loki]"; mes "So you haven't."; @@ -706,7 +706,7 @@ OnDisable: mes "I guess I have to thank you."; mes "You've calmed her down."; next; - select("What's happening?:This girl...?"); + select("What's happening?", "This girl...?"); mes "[Loki]"; mes "You might be able to change your appearance, but you cannot change your unique, innate light."; mes "A scent strong enough to burn your nose."; @@ -888,7 +888,7 @@ mora,48,152,3 script Sharp Eyed Man 4_M_ROKI2,{ mes "Now I know. I'll destroy Morroc with my own hands."; mes "I will fulfill my duties as a guardian."; next; - switch(select("You're not alone.:Those are very important duties.")) { + switch(select("You're not alone.", "Those are very important duties.")) { case 1: mes "[Nydhogg the Guardian]"; mes "You're right."; @@ -1015,7 +1015,7 @@ bif_fild01,38,374,0 script Mysterious Flower#ep14_1 CLEAR_NPC,{ if (countitem(Mysterious_Seed)) { mes "It's reacting to the Mysterious Flower Seeds you have with you."; next; - switch(select("Observe the reaction.:Stop the reaction.")) { + switch(select("Observe the reaction.", "Stop the reaction.")) { case 1: mes "The flower started to shake violently"; mes "and swing forward as if trying to send the seeds as far away as possible!!!"; diff --git a/npc/re/instances/MalangdoCulvert.txt b/npc/re/instances/MalangdoCulvert.txt index e72833640..42cf196b9 100644 --- a/npc/re/instances/MalangdoCulvert.txt +++ b/npc/re/instances/MalangdoCulvert.txt @@ -185,7 +185,7 @@ mal_in01,172,26,2 script Madeca#mal 4_CAT_SAILOR1,{ mes "Oh?"; mes "You're the one who took care of my big brother Albo's request. It was a hard job!"; next; - .@i = select("What are you doing here?:General Culvert Daily Service Compensation:Hard Culvert Daily Service Compensation:General Culvert Weekly Service Compensation:Hard Culvert Weekly Service Compensation")-1; + .@i = select("What are you doing here?", "General Culvert Daily Service Compensation", "Hard Culvert Daily Service Compensation", "General Culvert Weekly Service Compensation", "Hard Culvert Weekly Service Compensation")-1; if (.@i == 0) { mes "[Madeca]"; mes "I'm here to help my big brother Albo!"; @@ -302,7 +302,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{ next; mes "^660066This cat looks like it's in bad shape. It is slightly trembling.^000000"; next; - if(select("Pet the cat:Are you ok?") == 1) { + if(select("Pet the cat", "Are you ok?") == 1) { mes "[Missing, the Cleaner]"; mes "Are you talking to me?!"; next; @@ -355,7 +355,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{ mes "Sometimes I can get a lucky box,"; mes "or even better, I can get cans..."; next; - if(select("Okay, cheers!:I will help if possible...") == 1) { + if(select("Okay, cheers!", "I will help if possible...") == 1) { mes "[Missing, the Cleaner]"; mes "Thank you. I am going back to pour the water!"; close; @@ -413,7 +413,7 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{ mes "[Missing, the Cleaner]"; mes "Ummm? What's up? Tell me the password if you're the leader!"; next; - switch(select("No... nothing.:Aragam insulted me.:Enter the Culvert.")) { + switch(select("No... nothing.", "Aragam insulted me.", "Enter the Culvert.")) { case 1: mes "[Missing, the Cleaner]"; mes "What a rookie."; @@ -442,13 +442,13 @@ mal_in01,160,34,4 script Missing, the Cleaner 4_CAT_SAILOR2,{ callsub L_Enter,0; } } - if(select("Enter Culvert:Cancel") == 2) + if(select("Enter Culvert", "Cancel") == 2) end; callsub L_Enter,1; } else if (.@playtime == 1) { mes "You can enter the Culvert if the gate is open."; next; - if(select("Enter Culvert:Cancel") == 2) + if(select("Enter Culvert", "Cancel") == 2) close; callsub L_Enter,0; } else if (.@playtime == 2) { @@ -487,12 +487,12 @@ L_Enter: mes "[Missing, the Cleaner]"; mes "I'll open the door first. By the way, do you know how to fight?"; next; - switch(select("I'm pretty good at delivering bread.:I know how to fight.:^ffffffGive me the diamond.^000000")) { + switch(select("I'm pretty good at delivering bread.", "I know how to fight.", "^ffffffGive me the diamond.^000000")) { case 1: mes "[Missing, the Cleaner]"; mes "Ok then, I'll let you clean the culverts here as usual! I will prepare at the right-hand corner, please follow me!"; next; - if(select("Wait! I changed my mind!:As you wish~") == 1) { + if(select("Wait! I changed my mind!", "As you wish~") == 1) { mes "[Missing, the Cleaner]"; mes "Huh? Not ready yet? Talk to me again when you're ready."; close; @@ -514,7 +514,7 @@ L_Enter: mes "[Missing, the Cleaner]"; mes "I must tell you that it's been such a long~~ time since we've cleaned that place, so anyone under level 140 cannot even enter! Are you sure you still want to go?"; next; - if(select("Wait! I changed my mind!:Sure, I'm prepared already~") == 1) { + if(select("Wait! I changed my mind!", "Sure, I'm prepared already~") == 1) { mes "[Missing, the Cleaner]"; mes "Hmm? Talk to me again when you're ready."; close; @@ -549,7 +549,7 @@ function script F_mal_missing { mes "[Missing, the Cleaner]"; mes "I will tell you how to clean shortly. Can you see the culverts around you?"; next; - if(select("What culverts??:Yes, I see them.") == 1) { + if(select("What culverts??", "Yes, I see them.") == 1) { mes "[Missing, the Cleaner]"; mes "Huh? Is this your first time seeing culverts? You'll see many buried machines in the ground. You may look around and come back!"; close; @@ -574,7 +574,7 @@ function script F_mal_missing { mes "[Missing, the Cleaner]"; mes "So, are you ready to clean now?"; next; - switch(select("Wait! Not yet!:Let's start!")) { + switch(select("Wait! Not yet!", "Let's start!")) { case 1: mes "[Missing, the Cleaner]"; mes "Huh? Not ready yet? Then talk to me when you're ready."; @@ -602,7 +602,7 @@ function script F_mal_missing { mes "[Missing, the Cleaner]"; mes "If you got some guts to challenge again, I'll give you another chance! What's your choice going to be!?"; next; - switch(select("Wait! Not yet!:Okay, let's start again!")) { + switch(select("Wait! Not yet!", "Okay, let's start again!")) { case 1: mes "[Missing, the Cleaner]"; mes "You're still slow! Talk to me again whenever your're ready."; diff --git a/npc/re/instances/OctopusCave.txt b/npc/re/instances/OctopusCave.txt index da0df4ac6..9e62c9b3c 100644 --- a/npc/re/instances/OctopusCave.txt +++ b/npc/re/instances/OctopusCave.txt @@ -61,7 +61,7 @@ mal_dun01,151,235,5 script Starfish 4_ASTER,{ mes "But someday this cave must be sealed forever, hehe!"; next; while(1) { - switch(select("Ask what's going on.:Ask to open the gate.:Go to other location.")) { + switch(select("Ask what's going on.", "Ask to open the gate.", "Go to other location.")) { case 1: mes "[Starfish]"; mes "Lately, our Starfish lady is"; @@ -145,7 +145,7 @@ mal_dun01,153,237,5 script Weird Entrance CLEAR_NPC,{ mes "There is a strange entrance"; mes "blocked roughly with some boards."; next; - switch(select("Go in.:Stop.")) { + switch(select("Go in.", "Stop.")) { case 1: if (countitem(Octopus_Hunt_Stick)) { if (has_instance("1@cash") == "") { @@ -710,7 +710,7 @@ OnInstanceInit: OnTouch: mes "Do you want to go out from the octopus dungeon?"; next; - if(select("No!:Yes!") == 2) + if(select("No!", "Yes!") == 2) warp "mal_dun01",153,233; close; } diff --git a/npc/re/instances/OldGlastHeim.txt b/npc/re/instances/OldGlastHeim.txt index 1807efa4c..c8cca19a4 100644 --- a/npc/re/instances/OldGlastHeim.txt +++ b/npc/re/instances/OldGlastHeim.txt @@ -1975,7 +1975,7 @@ OnTimer80000: mes "Soon after me? Anyways..."; mes "Doesn't matter, soon the gap of time will be closed, I have to get out of here."; next; - switch(select("Since I'm here, let's explore more.:Please, send me out.")) { + switch(select("Since I'm here, let's explore more.", "Please, send me out.")) { case 1: mes "[Hugin]"; mes ".................."; -- cgit v1.2.3-60-g2f50