diff options
Diffstat (limited to 'npc/guides')
-rw-r--r-- | npc/guides/guides_rachel.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/npc/guides/guides_rachel.txt b/npc/guides/guides_rachel.txt index f72428675..38a5f783d 100644 --- a/npc/guides/guides_rachel.txt +++ b/npc/guides/guides_rachel.txt @@ -11,6 +11,7 @@ //= Rachel City guide
//===== Additional Comments: =================================
//= 1.0 First version. [L0ne_W0lf]
+//= 1.1 Change the while loops a bit. [L0ne_W0lf]
//============================================================
rachel,138,146,5 script Rachel Guide 934,{
mes "[Rachel Guide]";
@@ -20,7 +21,8 @@ rachel,138,146,5 script Rachel Guide 934,{ mes "If this is the first time for you";
mes "to use the guide services, why";
mes "don't you check the \"Notice\" menu first?";
- while(1) {
+ set .@loop,1;
+ while(.@loop) {
next;
switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) {
case 1:
@@ -34,9 +36,9 @@ rachel,138,146,5 script Rachel Guide 934,{ next;
if (select("Yes:No") == 1) set .@compass_check,1;
next;
-
}
- while(1) {
+ set .@loop2,1;
+ while(.@loop2) {
if (.@wait_button_chk == 0) set .@wait_button_chk,1;
else next;
@@ -74,10 +76,9 @@ rachel,138,146,5 script Rachel Guide 934,{ mes "[Rachel Guide]";
mes "If you like to get rid of all the location marks on your Mini-Map,";
mes "just ask me again, and choose \"Remove Marks from Mini-Map\" menu.";
- set .@Exitloop,1;
+ set .@loop2,0;
break;
}
- if (.@Exitloop) break;
}
break;
@@ -101,10 +102,9 @@ rachel,138,146,5 script Rachel Guide 934,{ mes "[Rachel Guide]";
mes "Hope you have a wonderfull journey";
mes "in Arunafeltz.";
- set .@Exitloop2,1;
+ set .@loop,0;
break;
}
- if (.@Exitloop2) break;
}
close;
}
\ No newline at end of file |