From eb5a3ece8568bae80d2d6912cd172f4cce029e68 Mon Sep 17 00:00:00 2001 From: Haru Date: Sun, 26 Oct 2014 02:29:12 +0100 Subject: Replaced 'set' with direct assignment where applicable (pre-re folder) Signed-off-by: Haru --- npc/pre-re/guides/guides_alberta.txt | 14 +++++++------- npc/pre-re/guides/guides_einbroch.txt | 28 ++++++++++++++-------------- npc/pre-re/guides/guides_geffen.txt | 14 +++++++------- npc/pre-re/guides/guides_hugel.txt | 10 +++++----- npc/pre-re/guides/guides_izlude.txt | 14 +++++++------- npc/pre-re/guides/guides_lighthalzen.txt | 14 +++++++------- npc/pre-re/guides/guides_louyang.txt | 2 +- npc/pre-re/guides/guides_morroc.txt | 14 +++++++------- npc/pre-re/guides/guides_payon.txt | 28 ++++++++++++++-------------- npc/pre-re/guides/guides_prontera.txt | 14 +++++++------- npc/pre-re/guides/guides_rachel.txt | 12 ++++++------ npc/pre-re/guides/guides_veins.txt | 12 ++++++------ 12 files changed, 88 insertions(+), 88 deletions(-) (limited to 'npc/pre-re/guides') diff --git a/npc/pre-re/guides/guides_alberta.txt b/npc/pre-re/guides/guides_alberta.txt index f4a0d12ce..164aa528b 100644 --- a/npc/pre-re/guides/guides_alberta.txt +++ b/npc/pre-re/guides/guides_alberta.txt @@ -28,7 +28,7 @@ alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{ mes "trouble finding anything in"; mes "town, or if you just need"; mes "guidance around the city."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -42,11 +42,11 @@ alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while (.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Merchant Guild^000000:Weapon Shop:Tool Shop:Inn:Forge:Cancel")) { @@ -104,7 +104,7 @@ alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; } } break; @@ -114,7 +114,7 @@ alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{ viewpoint 2,46,345,4,0xFF00FF; viewpoint 2,175,220,5,0xFF00FF; viewpoint 2,175,220,6,0xFF00FF; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Alberta Guide]"; @@ -147,7 +147,7 @@ alberta,23,238,4 script Guide#alb::AlbGuide 8W_SOLDIER,{ mes "to ask me if you have any"; mes "questions about Alberta."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "prt_soldier",255; diff --git a/npc/pre-re/guides/guides_einbroch.txt b/npc/pre-re/guides/guides_einbroch.txt index 9eefe2535..4fe9d1947 100644 --- a/npc/pre-re/guides/guides_einbroch.txt +++ b/npc/pre-re/guides/guides_einbroch.txt @@ -24,7 +24,7 @@ einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{ mes "the City of Steel."; mes "Please ask me if you"; mes "have any questions."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) { @@ -38,11 +38,11 @@ einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Airport^000000:Train Station:Factory:Plaza:Hotel:Weapon Shop:Laboratory:Blacksmith Guild:Einbroch Tower:Cancel")) { case 1: @@ -139,7 +139,7 @@ einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; } } break; @@ -153,7 +153,7 @@ einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{ viewpoint 2,36,49,8,0x00FF00; viewpoint 2,244,90,9,0x00FF00; viewpoint 2,174,195,10,0xFFFF00; - set .@compass_check,0; + .@compass_check = 0; mes "[Einbroch Guide]"; mes "Okay, the marks from"; mes "your Mini-Map have been"; @@ -194,7 +194,7 @@ einbroch,72,202,4 script Guide#ein::EinGuide 4_M_EIN_SOLDIER,{ mes "Oh, and please be"; mes "aware of the Smog Alerts."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "ein_soldier",255; @@ -212,7 +212,7 @@ einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{ mes "here to assist tourists,"; mes "so if you have any questions,"; mes "please feel free to ask us."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide.:Remove Marks from Mini-Map.:Notice.:Cancel.")) { @@ -226,11 +226,11 @@ einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while (.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("Train Station:Tavern:Tool Shop:Swordman Guild:Mine:Cancel")) { case 1: @@ -290,7 +290,7 @@ einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; } } break; @@ -300,7 +300,7 @@ einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{ viewpoint 2,176,136,4,0xFF00FF; viewpoint 2,250,110,5,0xFF00FF; viewpoint 2,138,251,6,0x00FF00; - set .@compass_check,0; + .@compass_check = 0; mes "[Einbech Guide]"; mes "Okay, the marks from"; mes "your Mini-Map have been"; @@ -339,7 +339,7 @@ einbech,67,37,4 script Guide#4ein::EinGuide2 4_M_EIN_SOLDIER,{ mes "enjoy your travels"; mes "here in Einbech."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "ein_soldier",255; diff --git a/npc/pre-re/guides/guides_geffen.txt b/npc/pre-re/guides/guides_geffen.txt index 46d7e9007..43e5c81c9 100644 --- a/npc/pre-re/guides/guides_geffen.txt +++ b/npc/pre-re/guides/guides_geffen.txt @@ -26,7 +26,7 @@ geffen,203,116,0 script Guide#gef::GefGuide 4_M_GEF_SOLDIER,{ mes "need any guidance around"; mes "the city, feel free to ask me"; mes "and I'll do my best to assist you. ^FFFFFFcobo^000000"; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { @@ -40,11 +40,11 @@ geffen,203,116,0 script Guide#gef::GefGuide 4_M_GEF_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while (.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; // next; switch(select("^FF0000Magic Acedemy^000000:Forge Shop:Weapon Shop:Tool Shop:Pub:Inn:Geffen Tower:Cancel")) { @@ -116,7 +116,7 @@ geffen,203,116,0 script Guide#gef::GefGuide 4_M_GEF_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; break; } } @@ -129,7 +129,7 @@ geffen,203,116,0 script Guide#gef::GefGuide 4_M_GEF_SOLDIER,{ viewpoint 2,134,221,6,0xFF00FF; viewpoint 2,204,214,7,0xFF00FF; viewpoint 2,204,214,8,0x00FF00; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Geffen Guide]"; @@ -162,7 +162,7 @@ geffen,203,116,0 script Guide#gef::GefGuide 4_M_GEF_SOLDIER,{ mes "your journeys through"; mes "the lands you may travel..."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "gef_soldier",255; diff --git a/npc/pre-re/guides/guides_hugel.txt b/npc/pre-re/guides/guides_hugel.txt index b8a9711b1..7189738ef 100644 --- a/npc/pre-re/guides/guides_hugel.txt +++ b/npc/pre-re/guides/guides_hugel.txt @@ -30,11 +30,11 @@ hugel,98,56,3 script Hugel Guide Granny#huge 4_F_LGTGRAND,0,0,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop,1; + .@loop = 1; while(.@loop) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("Church:Inn:Pub:Airport:Weapon Shop:Tool Shop:Party Supplies Shop:^3131FFHunter Job Change Place^000000:^3131FFShrine Expedition's Place^000000:Monster Race Arena:Bingo Game Room:Cancel")) { case 1: @@ -118,7 +118,7 @@ hugel,98,56,3 script Hugel Guide Granny#huge 4_F_LGTGRAND,0,0,{ mes "[Hugel Guide Granny]"; 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 .@loop,0; + .@loop = 0; } } break; @@ -134,7 +134,7 @@ hugel,98,56,3 script Hugel Guide Granny#huge 4_F_LGTGRAND,0,0,{ viewpoint 2,52,91,10,0xFFFFFF; viewpoint 2,58,72,11,0xFF9900; viewpoint 2,55,209,12,0x66FFFF; - set .@compass_check,0; + .@compass_check = 0; mes "[Hugel Guide Granny]"; mes "Okay, they are gone now. If you have more locations to ask, just let me know."; break; diff --git a/npc/pre-re/guides/guides_izlude.txt b/npc/pre-re/guides/guides_izlude.txt index ef84be488..7961f46da 100644 --- a/npc/pre-re/guides/guides_izlude.txt +++ b/npc/pre-re/guides/guides_izlude.txt @@ -25,7 +25,7 @@ izlude,121,87,6 script Guide#iz 8W_SOLDIER,{ mes "If you need any guidance"; mes "around Izlude, feel free"; mes "to ask me at anytime."; - set .@loop1,1; + .@loop1 = 1; while(.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { @@ -39,11 +39,11 @@ izlude,121,87,6 script Guide#iz 8W_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Swordman Association^000000:Swordman Hall:Arena:Izlude Marina:Weapon Shop:Tool Shop:Cancel")) { @@ -105,7 +105,7 @@ izlude,121,87,6 script Guide#iz 8W_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; break; } } @@ -117,7 +117,7 @@ izlude,121,87,6 script Guide#iz 8W_SOLDIER,{ viewpoint 2,175,220,3,0xFF0000; viewpoint 2,134,221,4,0xFF0000; viewpoint 2,204,214,5,0xFF0000; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Izlude Guide]"; @@ -150,7 +150,7 @@ izlude,121,87,6 script Guide#iz 8W_SOLDIER,{ mes "if you ever feel lost"; mes "around Izlude, alright?"; close2; - set .@loop1,0; + .@loop1 = 0; break; } } diff --git a/npc/pre-re/guides/guides_lighthalzen.txt b/npc/pre-re/guides/guides_lighthalzen.txt index b194c546c..a921c8c01 100644 --- a/npc/pre-re/guides/guides_lighthalzen.txt +++ b/npc/pre-re/guides/guides_lighthalzen.txt @@ -22,7 +22,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 4_M_EIN_SOLDIER,{ mes "around the city, feel free"; mes "to ask me and I'll do my"; mes "very best to help you."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { @@ -42,11 +42,11 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 4_M_EIN_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Rekenber Corporation^000000:Train Station:Police Station:Bank:Hotel:Airport:Merchant Guild:Jewelry Shop:Weapon Shop:Departement Store:Cancel")) { case 1: @@ -154,7 +154,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 4_M_EIN_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; } } break; @@ -169,7 +169,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 4_M_EIN_SOLDIER,{ viewpoint 2,93,110,9,0xFF9900; viewpoint 2,196,46,10,0x330033; viewpoint 2,199,163,11,0xFFFF00; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Lighthalzen Guide]"; @@ -211,7 +211,7 @@ lighthalzen,207,310,5 script Guide#lhz::LhzGuide 4_M_EIN_SOLDIER,{ mes "We hope that you enjoy"; mes "our fair city, adventurer."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "ein_soldier",255; diff --git a/npc/pre-re/guides/guides_louyang.txt b/npc/pre-re/guides/guides_louyang.txt index 8b5b14c8b..ecb3cc25a 100644 --- a/npc/pre-re/guides/guides_louyang.txt +++ b/npc/pre-re/guides/guides_louyang.txt @@ -141,7 +141,7 @@ louyang,224,104,3 script Representative#lou 4_F_CHNWOMAN,{ next; switch(select("Ask Building Locations.:Remove all marks from mini-map.:Cancel.")) { case 1: - set .@compass_check,1; + .@compass_check = 1; mes "[Representative]"; mes "Where would you like to go?"; next; diff --git a/npc/pre-re/guides/guides_morroc.txt b/npc/pre-re/guides/guides_morroc.txt index d4b136094..47777fa17 100644 --- a/npc/pre-re/guides/guides_morroc.txt +++ b/npc/pre-re/guides/guides_morroc.txt @@ -25,7 +25,7 @@ morocc,153,286,6 script Guide#moc::MocGuide 4_M_MOC_SOLDIER,{ mes "Please ask me for help if"; mes "you're having any trouble"; mes "finding anything in town."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -39,11 +39,11 @@ morocc,153,286,6 script Guide#moc::MocGuide 4_M_MOC_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Thief Guild^000000:Weapon Shop:Inn:Pub:Mercenary Guild:Forge:Cancel")) { @@ -108,7 +108,7 @@ morocc,153,286,6 script Guide#moc::MocGuide 4_M_MOC_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; } } break; @@ -119,7 +119,7 @@ morocc,153,286,6 script Guide#moc::MocGuide 4_M_MOC_SOLDIER,{ viewpoint 2,175,220,5,0xFF0000; viewpoint 2,175,220,6,0xFF0000; viewpoint 2,175,220,7,0xFF0000; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Morroc Guide]"; @@ -152,7 +152,7 @@ morocc,153,286,6 script Guide#moc::MocGuide 4_M_MOC_SOLDIER,{ mes "too much trouble"; mes "out there, adventurer."; close2; - set .@loop1,0; + .@loop1 = 0; } } cutin "moc_soldier",255; diff --git a/npc/pre-re/guides/guides_payon.txt b/npc/pre-re/guides/guides_payon.txt index 9f8e4a776..44dd6a4a4 100644 --- a/npc/pre-re/guides/guides_payon.txt +++ b/npc/pre-re/guides/guides_payon.txt @@ -27,7 +27,7 @@ payon,162,67,4 script Guide#pay 4_M_PAY_SOLDIER,{ mes "If you're unfamiliar with this"; mes "area, I can help you find what"; mes "you're looking for around here."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice.:Cancel")) { @@ -41,11 +41,11 @@ payon,162,67,4 script Guide#pay 4_M_PAY_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Archer Guild^000000:Weapon Shop:Tool Shop:Pub:Central Palace:The Empress:Palace Annex:Royal Kitchen:Forge:Cancel")) { case 1: @@ -133,7 +133,7 @@ payon,162,67,4 script Guide#pay 4_M_PAY_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; break; } } @@ -148,7 +148,7 @@ payon,162,67,4 script Guide#pay 4_M_PAY_SOLDIER,{ viewpoint 2,237,41,8,0x0000FF; viewpoint 2,46,345,9,0x00FF00; viewpoint 2,175,220,10,0xFF0000; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Payon Guide]"; @@ -180,7 +180,7 @@ payon,162,67,4 script Guide#pay 4_M_PAY_SOLDIER,{ mes "your travels,"; mes "brave adventurer."; close2; - set .@loop1,0; + .@loop1 = 0; break; } } @@ -196,7 +196,7 @@ pay_arche,85,30,2 script Guide#2pay 4_M_PAY_SOLDIER,{ mes "If you're unfamiliar with this"; mes "area, I can help you find what"; mes "you're looking for around here."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -206,11 +206,11 @@ pay_arche,85,30,2 script Guide#2pay 4_M_PAY_SOLDIER,{ if (.@compass_check == 0) { mes "Would you like to leave indicators on the mini-map?"; next; - if (select("Yes.:No.") == 1) set .@compass_check,1; + if (select("Yes.:No.") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("^FF0000Archer Guild^000000:Tool Shop:Payon Dungeon:Cancel")) { case 1: @@ -244,7 +244,7 @@ pay_arche,85,30,2 script Guide#2pay 4_M_PAY_SOLDIER,{ case 4: mes "[Payon Guide]"; mes "If you'd like to erase the marks on the mini-map, select menu, 'Wipe all indicators on the mini-map'."; - set .@loop2,0; + .@loop2 = 0; break; } } @@ -253,7 +253,7 @@ pay_arche,85,30,2 script Guide#2pay 4_M_PAY_SOLDIER,{ viewpoint 2,237,41,0,0xFF00FF; viewpoint 2,237,41,1,0xFF0000; viewpoint 2,46,345,2,0xFF00FF; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Payon Guide]"; @@ -285,7 +285,7 @@ pay_arche,85,30,2 script Guide#2pay 4_M_PAY_SOLDIER,{ mes "your travels,"; mes "brave adventurer."; close2; - set .@loop1,0; + .@loop1 = 0; break; } } diff --git a/npc/pre-re/guides/guides_prontera.txt b/npc/pre-re/guides/guides_prontera.txt index 7a97a764c..a7e6bb151 100644 --- a/npc/pre-re/guides/guides_prontera.txt +++ b/npc/pre-re/guides/guides_prontera.txt @@ -28,7 +28,7 @@ prontera,154,187,4 script Guide#prt::PrtGuide 8W_SOLDIER,{ mes "the beautiful capital of the"; mes "Rune-Midgarts Kingdom. If"; mes "you have questions or need help finding something in the city, don't hesitate to ask."; - set .@loop1,1; + .@loop1 = 1; while (.@loop1) { next; switch(select("City Guide.:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -42,11 +42,11 @@ prontera,154,187,4 script Guide#prt::PrtGuide 8W_SOLDIER,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while (.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("Swordman Association:^0000FFSanctuary^000000:Prontera Chivalry:Weapon Shop:Tool Shop:Inn:Trading Post:Pub:Library:Job Agency:Prontera Castle:City Hall:Cancel")) { @@ -170,7 +170,7 @@ prontera,154,187,4 script Guide#prt::PrtGuide 8W_SOLDIER,{ mes "no longer wish to have the"; mes "location marks displayed"; mes "on your Mini-Map."; - set .@loop2,0; + .@loop2 = 0; break; } } @@ -190,7 +190,7 @@ prontera,154,187,4 script Guide#prt::PrtGuide 8W_SOLDIER,{ viewpoint 2,133,183,15,0x00FF00; viewpoint 2,156,360,16,0x00FF00; viewpoint 2,75,91,17,0x00FF00; - set .@compass_check,0; + .@compass_check = 0; break; case 3: mes "[Prontera Guide]"; @@ -223,7 +223,7 @@ prontera,154,187,4 script Guide#prt::PrtGuide 8W_SOLDIER,{ mes "through Rune-Midgard"; mes "are both fun and safe."; close2; - set .@loop1,0; + .@loop1 = 0; break; } } diff --git a/npc/pre-re/guides/guides_rachel.txt b/npc/pre-re/guides/guides_rachel.txt index 2380a465a..0d94e963b 100644 --- a/npc/pre-re/guides/guides_rachel.txt +++ b/npc/pre-re/guides/guides_rachel.txt @@ -25,7 +25,7 @@ rachel,138,146,5 script Rachel Guide 4_M_RASWORD,{ 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?"; - set .@loop1,1; + .@loop1 = 1; while(.@loop1) { next; switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -38,11 +38,11 @@ rachel,138,146,5 script Rachel Guide 4_M_RASWORD,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("Cheshrumnir:Inn:Weapon Shop:Tool Shop:Airport:Cancel")) { @@ -79,7 +79,7 @@ rachel,138,146,5 script Rachel Guide 4_M_RASWORD,{ 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 .@loop2,0; + .@loop2 = 0; break; } } @@ -106,7 +106,7 @@ rachel,138,146,5 script Rachel Guide 4_M_RASWORD,{ mes "Hope you have a wonderfull journey"; mes "in Arunafeltz."; close2; - set .@loop1,0; + .@loop1 = 0; break; } } diff --git a/npc/pre-re/guides/guides_veins.txt b/npc/pre-re/guides/guides_veins.txt index 99df4106e..ca42a05e2 100644 --- a/npc/pre-re/guides/guides_veins.txt +++ b/npc/pre-re/guides/guides_veins.txt @@ -17,7 +17,7 @@ veins,210,345,5 script Veins Guide#1::ve_guide 4_M_RASWORD,{ mes "[Veins Guide]"; mes "Desert City Veins welcomes adventurers seeking shelter from harsh sandstorms."; mes "If this is the first time for you to use the guide services, why don't you check the..."; - set .@loop1,1; + .@loop1 = 1; while(.@loop1) { next; switch(select("Village Guide:Remove Marks from Mini-Map:Notice:Cancel")) { @@ -30,11 +30,11 @@ veins,210,345,5 script Veins Guide#1::ve_guide 4_M_RASWORD,{ mes "to mark locations"; mes "on your Mini-Map?"; next; - if (select("Yes:No") == 1) set .@compass_check,1; + if (select("Yes:No") == 1) .@compass_check = 1; } - set .@loop2,1; + .@loop2 = 1; while(.@loop2) { - if (.@wait_button_chk == 0) set .@wait_button_chk,1; + if (.@wait_button_chk == 0) .@wait_button_chk = 1; else next; switch(select("Temple:Inn:Weapon Shop:Tool Shop:Airship:Tavern:Geological Research Institute:Cancel")) { @@ -88,7 +88,7 @@ veins,210,345,5 script Veins Guide#1::ve_guide 4_M_RASWORD,{ mes "[Veins 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 .@loop2,0; + .@loop2 = 0; break; } } @@ -117,7 +117,7 @@ veins,210,345,5 script Veins Guide#1::ve_guide 4_M_RASWORD,{ mes "[Veins Guide]"; mes "Enjoy your stay in Veins."; close2; - set .@loop1,0; + .@loop1 = 0; break; } } -- cgit v1.2.3-60-g2f50