diff options
author | Haru <haru@dotalux.com> | 2016-08-20 23:39:17 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-08-21 00:54:23 +0200 |
commit | 460e53b1b64cf2880b4c615ad6eb41386f7530f6 (patch) | |
tree | 8fc91c576f7a0910faec125e1043bb1a2b76bb8c /npc/custom/etc/morroc_raceway.txt | |
parent | 7a276976948fa39e2d329de3b622c34dd0c572ad (diff) | |
download | hercules-460e53b1b64cf2880b4c615ad6eb41386f7530f6.tar.gz hercules-460e53b1b64cf2880b4c615ad6eb41386f7530f6.tar.bz2 hercules-460e53b1b64cf2880b4c615ad6eb41386f7530f6.tar.xz hercules-460e53b1b64cf2880b4c615ad6eb41386f7530f6.zip |
Removed some of the leftover calls to menu() in custom scripts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/etc/morroc_raceway.txt')
-rw-r--r-- | npc/custom/etc/morroc_raceway.txt | 50 |
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"; |