summaryrefslogtreecommitdiff
path: root/npc/custom/etc/morroc_raceway.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/custom/etc/morroc_raceway.txt')
-rw-r--r--npc/custom/etc/morroc_raceway.txt50
1 files changed, 26 insertions, 24 deletions
diff --git a/npc/custom/etc/morroc_raceway.txt b/npc/custom/etc/morroc_raceway.txt
index 48ee8e47e..87f91ff7e 100644
--- a/npc/custom/etc/morroc_raceway.txt
+++ b/npc/custom/etc/morroc_raceway.txt
@@ -23,11 +23,11 @@ morocc,166,105,6 script Race Girl#01 4_F_KAFRA2,{
mes "[Race Girl]";
mes "Would you like to visit ^0000FFMorroc Raceway^000000?";
next;
- menu "Yes",L_Warp,"No",-;
- mes "[Race Girl]";
- mes "Alright, talk to me again when you want to go.";
- close;
-L_Warp:
+ if (select("Yes", "No") != 1) {
+ mes "[Race Girl]";
+ mes "Alright, talk to me again when you want to go.";
+ close;
+ }
warp "pvp_y_1-5",165,256;
close;
}
@@ -37,22 +37,25 @@ pvp_y_1-5,169,265,5 script Race Girl#02 4_F_KAFRA2,{
mes "[Race Girl]";
mes "Welcome to Morroc Raceway!";
next;
- menu "Information",-,"Leave",L_Warp,"Cancel",L_Cancel;
- mes "[Race Girl]";
- mes "Someone must click on the Starter NPC to start the race.";
- next;
- mes "[Race Girl]";
- mes "Once the race is started, run around Morroc anti-clockwise.";
- next;
- mes "[Race Girl]";
- mes "You must reach all the checkpoints - No cheating!";
- close;
-L_Warp:
- warp "morocc",165,101;
-L_Cancel:
- mes "[Race Girl]";
- mes "Come again soon!";
- close;
+ switch (select("Information", "Leave", "Cancel")) {
+ case 1:
+ mes "[Race Girl]";
+ mes "Someone must click on the Starter NPC to start the race.";
+ next;
+ mes "[Race Girl]";
+ mes "Once the race is started, run around Morroc anti-clockwise.";
+ next;
+ mes "[Race Girl]";
+ mes "You must reach all the checkpoints - No cheating!";
+ close;
+ case 2:
+ warp "morocc",165,101;
+ end;
+ case 3:
+ mes "[Race Girl]";
+ mes "Come again soon!";
+ close;
+ }
}
//Counts down and starts race
@@ -63,9 +66,8 @@ pvp_y_1-5,145,269,5 script Starter 4_M_JOB_KNIGHT1,{
L_Menu:
mes "[Race Starter]";
mes "Please stay on the Eastern side of me.";
- menu "Start Race",L_Count,"Cancel",-;
- close;
-L_Count:
+ if (select("Start Race", "Cancel") != 1)
+ close;
set $@counting,1;
mes "Counting down...";
addtimer 1000, "Starter::OnCount1000";