diff options
author | Haru <haru@dotalux.com> | 2014-10-26 02:29:12 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:50 +0100 |
commit | eb5a3ece8568bae80d2d6912cd172f4cce029e68 (patch) | |
tree | 59ad4ef160c69bf9be6574e56ded3c54acb13526 | |
parent | bf4b0a281207e46a9b21a9c9f779aeafaa739b62 (diff) | |
download | hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.gz hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.bz2 hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.tar.xz hercules-eb5a3ece8568bae80d2d6912cd172f4cce029e68.zip |
Replaced 'set' with direct assignment where applicable (pre-re folder)
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | npc/pre-re/guides/guides_alberta.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_einbroch.txt | 28 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_geffen.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_hugel.txt | 10 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_izlude.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_lighthalzen.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_louyang.txt | 2 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_morroc.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_payon.txt | 28 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_prontera.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_rachel.txt | 12 | ||||
-rw-r--r-- | npc/pre-re/guides/guides_veins.txt | 12 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/acolyte.txt | 12 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/archer.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/mage.txt | 62 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/merchant.txt | 64 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/swordman.txt | 10 | ||||
-rw-r--r-- | npc/pre-re/jobs/1-1/thief.txt | 14 | ||||
-rw-r--r-- | npc/pre-re/jobs/novice/novice.txt | 821 | ||||
-rw-r--r-- | npc/pre-re/mobs/dungeons/lhz_dun.txt | 28 | ||||
-rw-r--r-- | npc/pre-re/warps/fields/morroc_fild.txt | 4 |
21 files changed, 572 insertions, 633 deletions
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; } } diff --git a/npc/pre-re/jobs/1-1/acolyte.txt b/npc/pre-re/jobs/1-1/acolyte.txt index 49bb33c9b..9e138d9c6 100644 --- a/npc/pre-re/jobs/1-1/acolyte.txt +++ b/npc/pre-re/jobs/1-1/acolyte.txt @@ -104,17 +104,17 @@ prt_church,184,41,4 script Cleric#aco 1_M_PASTOR,{ mes "give you a mission..."; switch(rand(3)) { default: - set job_acolyte_q,2; + job_acolyte_q = 2; mes "Please visit ^000077Father Rubalkabara^000000, a member of the Prontera Parish, and return here. He has been practicing asceticism in the ^000077Relics NorthEast of Prontera City^000000."; setquest 1001; break; case 1: - set job_acolyte_q,3; + job_acolyte_q = 3; mes "Please visit ^000077Mother Mathilda^000000 and then return to me. She has been practicing asceticism near ^000077Morroc Town, SouthWest of Prontera City^000000."; setquest 1002; break; case 2: - set job_acolyte_q,4; + job_acolyte_q = 4; mes "Please visit ^000077Father Yosuke^000000 and return here. He has been practicing asceticism around ^000077a bridge somewhere NorthWest of Prontera^000000."; setquest 1003; break; @@ -278,7 +278,7 @@ prt_fild03,365,255,2 script Ascetic#aco 4_M_ORIENT02,{ mes "Farewell."; close2; savepoint "prt_fild03",361,255; - set job_acolyte_q,6; + job_acolyte_q = 6; end; } else { @@ -346,7 +346,7 @@ moc_fild07,41,355,4 script Ascetic#2aco 4_F_SISTER,{ mes "Please return to the Prontera Sanctuary and speak to the Priest in charge."; close2; savepoint "moc_fild07",35,355; - set job_acolyte_q,7; + job_acolyte_q = 7; end; } else { @@ -423,7 +423,7 @@ prt_fild00,208,218,6 script Ascetic#3aco 4W_M_02,{ mes "Now go back to the Santuary and finish becoming an Acolyte, kid."; close2; savepoint "prt_fild00",206,230; - set job_acolyte_q,8; + job_acolyte_q = 8; end; } else { diff --git a/npc/pre-re/jobs/1-1/archer.txt b/npc/pre-re/jobs/1-1/archer.txt index 710580054..97ea540c1 100644 --- a/npc/pre-re/jobs/1-1/archer.txt +++ b/npc/pre-re/jobs/1-1/archer.txt @@ -95,7 +95,7 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ mes "If so, you need to fill out this application form."; next; if (select("Apply.:Cancel") == 1) { - set job_archer_q,1; + job_archer_q = 1; setquest 1004; mes "[Archer Guildsman]"; mes "Okay, sign here. Alright, um, I'll promote you once you meet the requirements."; @@ -132,12 +132,12 @@ payon_in02,64,71,4 script Archer Guildsman#archer 4_M_03,{ close; } if (job_archer_q == 1) { - set .@archer_item1,countitem(1066) * 5; - set .@archer_item2,countitem(1067) * 3; - set .@archer_item3,countitem(1068) * 2; - set .@archer_item4,countitem(1019); - set .@total_archer,.@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4; - set .@total_archer2,(((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4); + .@archer_item1 = countitem(1066) * 5; + .@archer_item2 = countitem(1067) * 3; + .@archer_item3 = countitem(1068) * 2; + .@archer_item4 = countitem(1019); + .@total_archer = .@archer_item1 + .@archer_item2 + .@archer_item3 + .@archer_item4; + .@total_archer2 = (((.@archer_item2 + .@archer_item3) * 2) + .@archer_item4); mes "[Archer Guildsman]"; mes "Excellent!"; mes "Now then,"; diff --git a/npc/pre-re/jobs/1-1/mage.txt b/npc/pre-re/jobs/1-1/mage.txt index b2c6b346d..541c76235 100644 --- a/npc/pre-re/jobs/1-1/mage.txt +++ b/npc/pre-re/jobs/1-1/mage.txt @@ -106,22 +106,22 @@ geffen_in,164,124,4 script Mage Guildsman 2_F_MAGICMASTER,{ case 1: mes "Make me a ^3355FFMixed Solution No. 1^000000"; mes "and bring it back to me."; - set job_magician_q,1; + job_magician_q = 1; break; case 2: mes "Make me a ^3355FFMixed Solution No. 2^000000"; mes "and bring it back to me."; - set job_magician_q,2; + job_magician_q = 2; break; case 3: mes "Make me a ^3355FFMixed Solution No. 3^000000"; mes "and bring it back to me."; - set job_magician_q,3; + job_magician_q = 3; break; default: mes "Make me a ^3355FFMixed Solution No. 4^000000"; mes "and bring it back to me."; - set job_magician_q,4; + job_magician_q = 4; } next; getitem 1092,1; //Empty_Cylinder @@ -305,7 +305,7 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ mes "Process Halting."; close; } - set .@mixitem2,1; + .@mixitem2 = 1; break; case 2: if (countitem(1088) == 0) { @@ -316,10 +316,10 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ mes "Process Halting."; close; } - set .@mixitem2,2; + .@mixitem2 = 2; break; case 3: - set .@mixitem2,0; + .@mixitem2 = 0; break; } while (1) { @@ -384,20 +384,20 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ if (.@mixitem2 == 2) delitem 1088,1; //Morocc_Potion mes "Items are Ready."; mes "Close the Lid."; - set .@progress,3; + .@progress = 3; next; } break; case 2: - set .@continue,0; + .@continue = 0; next; break; case 3: - set .@mixitem1_1,0; - set .@mixitem1_2,0; - set .@mixitem1_3,0; - set .@progress,0; - set .@continue,0; + .@mixitem1_1 = 0; + .@mixitem1_2 = 0; + .@mixitem1_3 = 0; + .@progress = 0; + .@continue = 0; mes "[Mixing Machine]"; mes "Reset Complete."; mes "Initiate again?"; @@ -430,8 +430,8 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(909) > 0) set .@mixitem1_1,.@mixitem1_1 + .@input; - set .@progress,2; + if (countitem(909) > 0) .@mixitem1_1 += .@input; + .@progress = 2; break; } } @@ -446,8 +446,8 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(914) > 0) set .@mixitem1_2,.@mixitem1_2 + .@input; - set .@progress,2; + if (countitem(914) > 0) .@mixitem1_2 += .@input; + .@progress = 2; break; } } @@ -462,8 +462,8 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; } else { - if (countitem(519) > 0) set .@mixitem1_3,.@mixitem1_3 + .@input; - set .@progress,2; + if (countitem(519) > 0) .@mixitem1_3 += .@input; + .@progress = 2; break; } } @@ -471,8 +471,8 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ case 4: if (.@progress != 2) - set .@progress,1; - set .@continue,1; + .@progress = 1; + .@continue = 1; next; } if (.@continue) break; @@ -506,15 +506,15 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ next; if (select("Confirm.:Cancel.") == 1) { if (.@input == 8472) - set .@magic_powder,1; + .@magic_powder = 1; else if (.@input == 3735) - set .@magic_powder,2; + .@magic_powder = 2; else if (.@input == 2750) - set .@magic_powder,3; + .@magic_powder = 3; else if (.@input == 5429) - set .@magic_powder,4; + .@magic_powder = 4; else - set .@magic_powder,5; + .@magic_powder = 5; } break; } @@ -524,10 +524,10 @@ geffen_in,164,112,4 script Mixing Machine HIDDEN_NPC,{ mes "Catalyst Stone."; next; switch(select("Yellow Gemstone.:Red Gemstone.:Blue Gemstone.:1carat Diamond.:Skip.")) { - case 1: set .@mixitem3,1; break; - case 2: set .@mixitem3,2; break; - case 3: set .@mixitem3,3; break; - case 4: set .@mixitem3,4; break; + case 1: .@mixitem3 = 1; break; + case 2: .@mixitem3 = 2; break; + case 3: .@mixitem3 = 3; break; + case 4: .@mixitem3 = 4; break; case 5: break; } mes "[Mixing Machine]"; diff --git a/npc/pre-re/jobs/1-1/merchant.txt b/npc/pre-re/jobs/1-1/merchant.txt index 4162bf0b1..a82d32ff1 100644 --- a/npc/pre-re/jobs/1-1/merchant.txt +++ b/npc/pre-re/jobs/1-1/merchant.txt @@ -98,9 +98,9 @@ alberta_in,53,43,6 script Merchant#mer 4_M_04,{ mes "[Chief Mahnsoo]"; mes "Hello there,"; mes ""+ strcharinfo(0) +"."; - set job_merchant_q,0; - set job_merchant_q2,0; - set quest_alb_01,0; + job_merchant_q = 0; + job_merchant_q2 = 0; + quest_alb_01 = 0; mes "Unfortunately, you failed to earn your Merchant License this time."; next; mes "[Chief Mahnsoo]"; @@ -170,7 +170,7 @@ alberta_in,53,43,6 script Merchant#mer 4_M_04,{ mes "*Ahem* Aaaaand let me give you a little bit of money for delivering that message to Blossom for me."; mes "I hope you'll help me again next time~"; Zeny += 200; - set quest_alb_01,2; + quest_alb_01 = 2; } else { mes "[Chief Mahnsoo]"; @@ -340,7 +340,7 @@ alberta_in,53,43,6 script Merchant#mer 4_M_04,{ case 1: mes "[Chief Mahnsoo]"; if (Zeny >= 1000) { - set job_merchant_q,2; + job_merchant_q = 2; Zeny -= 1000; mes "Alright~"; mes "That's 1,000 zeny."; @@ -354,7 +354,7 @@ alberta_in,53,43,6 script Merchant#mer 4_M_04,{ case 2: mes "[Chief Mahnsoo]"; if (Zeny >= 500) { - set job_merchant_q,1; + job_merchant_q = 1; Zeny -= 500; mes "Let's see..."; mes "That's 500 Zeny. Although I don't think splitting payment is a good idea for any Merchant, it's alright since you're still learning."; @@ -498,13 +498,13 @@ S_GiveSerial: mes "The package's"; mes "Serial Number is"; mes "^3355FF"+getarg(0)+"^000000."; - set job_merchant_q2,getarg(1); + job_merchant_q2 = getarg(1); } else { mes "The package's"; mes "Serial Number is"; mes "^3355FF"+getarg(2)+"^000000."; - set job_merchant_q2,getarg(3); + job_merchant_q2 = getarg(3); } return; } @@ -564,7 +564,7 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ delitem 1080,1; //Merchant_Voucher_8 else { next; - set job_merchant_q,9; + job_merchant_q = 9; mes " [Union Staff Kay] "; mes "Wait a sec."; mes "Where's the receipt?"; @@ -579,9 +579,9 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ mes "...Great! Everything's perfect! I'll report your success to the Guildmaster. You should talk to Chief Mahnsoo now, alright?"; close2; if (job_merchant_q == 6) - set job_merchant_q,8; + job_merchant_q = 8; else if (job_merchant_q == 5) - set job_merchant_q,7; + job_merchant_q = 7; end; } else if (job_merchant_q == 4 || job_merchant_q == 3 && countitem(1081) == 0 && countitem(1082) == 0 && countitem(1091) == 0) { @@ -592,7 +592,7 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ mes "the delivery go?"; next; if (select("*Sob* I lost the package.:Fine.") == 1) { - set job_merchant_q,9; + job_merchant_q = 9; mes "[Union Staff Kay]"; mes "Are you kidding me? You'll fail the test if you lose the package!"; next; @@ -618,7 +618,7 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ mes "Where is it?!"; next; if (select("*Sob* I lost it!:I have it right here.") == 1) { - set job_merchant_q,9; + job_merchant_q = 9; mes "[Union Staff Kay]"; mes "You..."; mes "Lost it?!"; @@ -645,9 +645,9 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ else if (countitem(1091) != 0) delitem 1091,1; //Merchant_Box_Etc if (job_merchant_q == 4) - set job_merchant_q,2; + job_merchant_q = 2; else if (job_merchant_q == 3) - set job_merchant_q,1; + job_merchant_q = 1; next; mes "[Union Staff Kay]"; mes "I need some time to get everything in order, so come back later."; @@ -658,7 +658,7 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ close; } else if ((job_merchant_q == 0 || job_merchant_q == 1 || job_merchant_q == 2)) { - set where_village,0; + where_village = 0; mes "[Union Staff Kay]"; mes "Hey there."; mes "what brings"; @@ -686,10 +686,10 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ mes "Alright, there you go. Lemme give you the package. Now, choose the destination of the delivery."; next; switch(select("Prontera.:Geffen.:Morocc.:Byalan Island.")) { - case 1: set .@where_village,1; break; - case 2: set .@where_village,2; break; - case 3: set .@where_village,3; break; - case 4: set .@where_village,4; break; + case 1: .@where_village = 1; break; + case 2: .@where_village = 2; break; + case 3: .@where_village = 3; break; + case 4: .@where_village = 4; break; } mes "[Union Staff Kay]"; mes "Okay, now you need to give me the package's Serial Number. If you wanna cancel, just enter '0', alright?"; @@ -761,9 +761,9 @@ alberta_in,28,29,2 script Merchant Guildsman#mer 4_M_01,{ getitem 1091,1; //Merchant_Box_Etc } if (job_merchant_q == 2) - set job_merchant_q,4; + job_merchant_q = 4; else if (job_merchant_q == 1) - set job_merchant_q,3; + job_merchant_q = 3; mes "[Union Staff Kay]"; mes "Alright. Take this package and guard it with your life until it's safely delivered to the customer. Don't lose this thing, got it?"; next; @@ -840,9 +840,9 @@ morocc_in,140,102,4 script Student#mer 4_M_04,{ close; } if (job_merchant_q == 4) - set job_merchant_q,6; + job_merchant_q = 6; else if (job_merchant_q == 3) - set job_merchant_q,5; + job_merchant_q = 5; next; mes "[Dyer's Student]"; mes "Thanks a lot!"; @@ -928,9 +928,9 @@ geffen_in,155,122,4 script Guild Staff#mer 1_M_01,{ close; } if (job_merchant_q == 4) - set job_merchant_q,6; + job_merchant_q = 6; else if (job_merchant_q == 3) - set job_merchant_q,5; + job_merchant_q = 5; next; mes "[Guild Staff]"; mes "Heh heh~"; @@ -1022,9 +1022,9 @@ prontera,248,42,0 script Kafra Employee#mer 4_F_KAFRA2,{ end; } if (job_merchant_q == 4) - set job_merchant_q,6; + job_merchant_q = 6; else if (job_merchant_q == 3) - set job_merchant_q,5; + job_merchant_q = 5; mes "[Kafra Employee]"; mes "Thanks again"; mes "for going through"; @@ -1059,7 +1059,7 @@ prontera,248,42,0 script Kafra Employee#mer 4_F_KAFRA2,{ end; } Zeny -= 600; - set RESRVPTS, RESRVPTS + 37; + RESRVPTS += 37; cutin "",255; warp "izlude",94,103; end; @@ -1131,14 +1131,14 @@ function script F_MercKafra { end; } if (job_merchant_q == 4) - set job_merchant_q,6; + job_merchant_q = 6; else if (job_merchant_q == 3) - set job_merchant_q,5; + job_merchant_q = 5; next; if (countitem(1072) != 0 && quest_alb_01 == 0) { select("This is from Chief Mahnsoo of the Merchant Guild..."); delitem 1072,1; //Delivery_Message - set quest_alb_01,1; + quest_alb_01 = 1; mes "[Kafra Employee]"; mes "Oh~! A letter from"; mes "Mahnsoo! Thank you"; diff --git a/npc/pre-re/jobs/1-1/swordman.txt b/npc/pre-re/jobs/1-1/swordman.txt index 8b4a9f974..6b520b393 100644 --- a/npc/pre-re/jobs/1-1/swordman.txt +++ b/npc/pre-re/jobs/1-1/swordman.txt @@ -109,7 +109,7 @@ izlude_in,74,172,4 script Swordman#swd_1 2_M_SWORDMASTER,{ next; if (select("Sign up.:Cancel.") == 1) { savepoint "izlude_in",65,165; - set job_sword_q,1; + job_sword_q = 1; setquest 1014; mes "[Swordman]"; mes "Ah, yes. Your application will be reviewed as soon as possible."; @@ -154,7 +154,7 @@ izlude_in,74,172,4 script Swordman#swd_1 2_M_SWORDMASTER,{ mes "Hahaha! Congratulations! Now you are fully qualified to be a real Swordman! I will transform you right away!"; next; callfunc "Job_Change",Job_Swordman; - set job_sword_q,0; + job_sword_q = 0; completequest 1014; mes "[Swordman]"; mes "Once again, congratulations. I expect that you will be a good representative of the Swordman Association."; @@ -279,12 +279,12 @@ izlude_in,30,163,0 script Test Hall Staff#swd_1 8W_SOLDIER,{ next; mes "[Test Hall Staff]"; mes "Try to relax and do your best. This course isn't so difficult."; - set job_sword_q,2; + job_sword_q = 2; } else if (job_sword_q == 2) { mes "Retesting? Try not to worry about it. It's good that you don't back down from a challenge! Here, take these and cheer up!"; getitem 512,5; //Apple - set job_sword_q,3; + job_sword_q = 3; } else if (job_sword_q == 3) mes "Don't ever give up! Now retesting!"; @@ -310,7 +310,7 @@ job_sword1,230,204,2 script Test Hall Staff#2swd_3 8W_SOLDIER,{ } job_sword1,223,167,2 script Mae#swd_1_success 4_F_03,{ mapannounce "job_sword1","Applicant " + strcharinfo(0) + ". You successfully passed the test.",bc_map; - set job_sword_q,4; + job_sword_q = 4; mes "[Mae]"; mes "I sencerely congratulate you for passing the test!"; mes "I already sent your test result to the Job Department.Please inquire at the Officer in Centre.Thank you."; diff --git a/npc/pre-re/jobs/1-1/thief.txt b/npc/pre-re/jobs/1-1/thief.txt index 356809cdc..e0d13a0c9 100644 --- a/npc/pre-re/jobs/1-1/thief.txt +++ b/npc/pre-re/jobs/1-1/thief.txt @@ -251,7 +251,7 @@ moc_prydb1,39,129,2 script Thief Guide 1_F_04,{ mes "[Thief Guide]"; mes "" + strcharinfo(0) + "?"; mes "What kind of name is " + strcharinfo(0) + "? Anyway, give me a second."; - set job_thief_q,1; + job_thief_q = 1; next; mes "[Thief Guide]"; mes "Alright, your registration has been processed. Okay, you can begin your test if you're ready."; @@ -296,7 +296,7 @@ moc_prydb1,39,129,2 script Thief Guide 1_F_04,{ next; mes "[Thief Guide]"; mes "Because I feel like it, I now decree that you have passed this interview. Good work!"; - set job_thief_q,2; + job_thief_q = 2; setquest 1013; next; mes "[Thief Guide]"; @@ -385,10 +385,10 @@ moc_prydb1,42,133,2 script Comrade 2_M_THIEFMASTER,{ close; } next; - set .@thief_item1,countitem(1069) * 3; - set .@thief_item2,countitem(1070); - set .@total_thief,.@thief_item1 + .@thief_item2; - set .@money_thief,((.@thief_item1 * 5) + (.@thief_item2 * 2)) + 200; + .@thief_item1 = countitem(1069) * 3; + .@thief_item2 = countitem(1070); + .@total_thief = .@thief_item1 + .@thief_item2; + .@money_thief = ((.@thief_item1 * 5) + (.@thief_item2 * 2)) + 200; mes "[Comrade]"; if (countitem(1069) != 0) { mes "First, let me check the Orange Net Mushrooms you got."; @@ -503,7 +503,7 @@ moc_ruins,141,125,3 script Mr. Irrelevant 4_M_01,{ mes "[Mr. Irrelevant]"; mes "Your name is " + strcharinfo(0) + "? Ah, it's on the list. Alright, I'll let you into the Mushroom Farm , but I can't guarantee your safety..."; close2; - set job_thief_q,3; + job_thief_q = 3; switch(rand(5)) { case 1: warp "job_thief1",228,106; end; case 2: warp "job_thief1",38,50; end; diff --git a/npc/pre-re/jobs/novice/novice.txt b/npc/pre-re/jobs/novice/novice.txt index a57bf5190..3e61066c9 100644 --- a/npc/pre-re/jobs/novice/novice.txt +++ b/npc/pre-re/jobs/novice/novice.txt @@ -106,14 +106,14 @@ new_1-2,100,29,4 script Receptionist#nv1 4_M_04,{ mes "best, and I wish you"; mes "the best of luck!"; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; switch(rand(6)) { case 0: savepoint "prontera",273,354; @@ -237,7 +237,7 @@ new_1-1,53,114,4 script Shion#nv1 4_F_JOB_HUNTER,{ mes "[Shion]"; mes "Oh, and before you leave,"; mes "learn how to treat a lady nice, okay? Then they might give you gifts like this!"; - set nov_1st_cos,3; + nov_1st_cos = 3; getexp 9,0; close; } @@ -254,7 +254,7 @@ new_1-1,53,114,4 script Shion#nv1 4_F_JOB_HUNTER,{ mes "[Shion]"; mes "You can even gain"; mes "experience like this!"; - set nov_1st_cos,3; + nov_1st_cos = 3; getexp 9,0; next; mes "[Shion]"; @@ -303,7 +303,7 @@ new_1-1,53,114,4 script Shion#nv1 4_F_JOB_HUNTER,{ mes "at the entrance, so don't"; mes "worry about getting lost."; mes "Take care now~!"; - set nov_1st_cos,1; + nov_1st_cos = 1; close; case 2: mes "[Shion]"; @@ -336,13 +336,13 @@ new_1-1,53,114,4 script Shion#nv1 4_F_JOB_HUNTER,{ mes "at the entrance, so don't"; mes "worry about getting lost."; mes "Take care now~!"; - set nov_1st_cos,1; + nov_1st_cos = 1; close; case 3: mes "[Shion]"; mes "Me? I'm Shion!"; mes "But that's a rude way of asking! I'm volunteering my time and effort here, so you've got to show me a little bit of respect at least!"; - set nov_1st_cos,2; + nov_1st_cos = 2; close; } } @@ -388,15 +388,15 @@ new_1-2,99,105,3 script Interfaces Tutor#nv1 4_M_CRU,{ if (NEW_MES_FLAG0) { mes "[Kris]"; mes "Ah, " + strcharinfo(0) + ", you've applied for an old training course that we no longer provide for our trainees. Let me issue a new proof of registration for you."; - set NEW_MES_FLAG0,0; - set NEW_MES_FLAG1,0; - set NEW_MES_FLAG2,0; - set NEW_MES_FLAG3,0; - set NEW_MES_FLAG4,0; - set NEW_MES_FLAG5,0; - set NEW_LVUP0,0; - set NEW_LVUP1,0; - set NEW_JOBLVUP,0; + NEW_MES_FLAG0 = 0; + NEW_MES_FLAG1 = 0; + NEW_MES_FLAG2 = 0; + NEW_MES_FLAG3 = 0; + NEW_MES_FLAG4 = 0; + NEW_MES_FLAG5 = 0; + NEW_LVUP0 = 0; + NEW_LVUP1 = 0; + NEW_JOBLVUP = 0; next; } mes "[Kris]"; @@ -434,7 +434,7 @@ new_1-2,99,105,3 script Interfaces Tutor#nv1 4_M_CRU,{ mes "As you gain experience,"; mes "the experience gauge fills up."; mes "Once it is 100 % full, you gain an experience level, and the gauge is reset to 0."; - set nov_get_item02,10; + nov_get_item02 = 10; switch (BaseLevel) { case 1: getexp 10,0; break; case 2: getexp 17,0; break; @@ -507,7 +507,7 @@ new_1-2,99,105,3 script Interfaces Tutor#nv1 4_M_CRU,{ next; mes "[Kris]"; mes "Let me give you a little bit of Job experience points. Open your Skill Window and distribute your Skill Points into ^3355FFBasic Skills^000000."; - set nov_get_item02,11; + nov_get_item02 = 11; switch (JobLevel) { case 1: getexp 0,10; break; case 2: getexp 0,18; break; @@ -524,7 +524,7 @@ new_1-2,99,105,3 script Interfaces Tutor#nv1 4_M_CRU,{ next; mes "[Kris]"; mes "Now, why don't you speak to Edwin? He will teach you more regarding the basic use of Skills. Ah, and let me give you a small present: a Tattered Novice Ninja Suit!"; - set nov_get_item02,12; + nov_get_item02 = 12; getitem 2352,1; //Novice_Plate close; case 2: @@ -684,15 +684,15 @@ new_1-2,83,111,3 script Skill Tutor#nv 4_M_MONK,{ if (NEW_MES_FLAG0) { mes "By the way, your proof of registration has expired, so let me give you a new one."; mes "Let me give you a new one."; - set NEW_MES_FLAG0,0; - set NEW_MES_FLAG1,0; - set NEW_MES_FLAG2,0; - set NEW_MES_FLAG3,0; - set NEW_MES_FLAG4,0; - set NEW_MES_FLAG5,0; - set NEW_LVUP0,0; - set NEW_LVUP1,0; - set NEW_JOBLVUP,0; + NEW_MES_FLAG0 = 0; + NEW_MES_FLAG1 = 0; + NEW_MES_FLAG2 = 0; + NEW_MES_FLAG3 = 0; + NEW_MES_FLAG4 = 0; + NEW_MES_FLAG5 = 0; + NEW_LVUP0 = 0; + NEW_LVUP1 = 0; + NEW_JOBLVUP = 0; } mes "Then, shall we begin the class?"; next; @@ -723,7 +723,7 @@ new_1-2,83,111,3 script Skill Tutor#nv 4_M_MONK,{ next; mes "[Cecil]"; mes "Open your Skill Window ('Alt' + 'S') and click the '^3355FFLv Up^000000' button next to the Basic Skill icon to allocate a Skill Point to your Basic Skills."; - set nov_get_item03,10; + nov_get_item03 = 10; switch (JobLevel) { case 1: getexp 0,10; break; case 2: getexp 0,18; break; @@ -752,13 +752,13 @@ new_1-2,83,111,3 script Skill Tutor#nv 4_M_MONK,{ mes "^3355FFYou have learned"; mes "the ^4A708BFirst Aid^3355FF skill.^000000"; skill 142,1,0; //NV_FIRSTAID - set NOV_SK,3; - set nov_get_item03,11; + NOV_SK = 3; + nov_get_item03 = 11; next; if (JobLevel < 7) { mes "^3355FFYou have gained a small"; mes "amount of Job experience.^000000"; - set nov_get_item03,12; + nov_get_item03 = 12; switch (JobLevel) { case 1: getexp 0,10; break; case 2: getexp 0,18; break; @@ -784,7 +784,7 @@ new_1-2,83,111,3 script Skill Tutor#nv 4_M_MONK,{ mes "so let me reward you!"; if (BaseLevel < 8) { mes "Behold: bonus experience!"; - set nov_get_item03,13; + nov_get_item03 = 13; switch (BaseLevel) { case 1: getexp 10,0; break; case 2: getexp 17,0; break; @@ -928,15 +928,15 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ mes "Oh! Hello, you're new here."; if (NEW_MES_FLAG0) { mes "Ooh, your proof of registration was expired. But that's okay, I'll just give you a new one! There you go."; - set NEW_MES_FLAG0,0; - set NEW_MES_FLAG1,0; - set NEW_MES_FLAG2,0; - set NEW_MES_FLAG3,0; - set NEW_MES_FLAG4,0; - set NEW_MES_FLAG5,0; - set NEW_LVUP0,0; - set NEW_LVUP1,0; - set NEW_JOBLVUP,0; + NEW_MES_FLAG0 = 0; + NEW_MES_FLAG1 = 0; + NEW_MES_FLAG2 = 0; + NEW_MES_FLAG3 = 0; + NEW_MES_FLAG4 = 0; + NEW_MES_FLAG5 = 0; + NEW_LVUP0 = 0; + NEW_LVUP1 = 0; + NEW_JOBLVUP = 0; } mes "So, have you come to attend"; mes "my Item Information class?"; @@ -953,7 +953,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ next; mes "[Alice]"; mes "Now, would you click the ^4A708Bitem^000000 tab in the Inventory Window? I just gave you a Novice Potion. You can drink it by double-clicking it. Go ahead, try it!"; - set nov_get_item04,10; + nov_get_item04 = 10; getitem 569,1; //Novice_Potion percentheal -50,0; next; @@ -964,7 +964,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ mes "And here's"; mes "a little reward"; mes "just for listening."; - set nov_get_item04,11; + nov_get_item04 = 11; switch (BaseLevel) { case 1: getexp 10,0; break; case 2: getexp 17,0; break; @@ -999,7 +999,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ mes "on the Novice Slippers"; mes "I just gave you to"; mes "put them on."; - set nov_get_item04,12; + nov_get_item04 = 12; getitem 2510,1; //Novice_Hood getitem 2414,1; //Novice_Boots getitem 5055,1; //Novice_Egg_Cap @@ -1010,7 +1010,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ mes "Hooray~!"; mes "You did it!"; mes "You deserve a reward!"; - set nov_get_item04,13; + nov_get_item04 = 13; switch (BaseLevel) { case 1: getexp 10,0; break; case 2: getexp 17,0; break; @@ -1054,7 +1054,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ next; mes "[Alice]"; mes "Passive Skills, such as the aptly named 'Basic Skill,' cannot be dragged into the Hotkey bar because Passive Skills are always in effect and don't need to be activated."; - set nov_get_item04,14; + nov_get_item04 = 14; if (JobLevel < 7) { switch (JobLevel) { case 1: getexp 0,10; break; @@ -1073,7 +1073,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ next; mes "[Alice]"; mes "However, ^ff0000do not use the Fly Wing or Butterfly Wing^000000 in these Training Grounds or you could be stuck here forever. Those items are for when you graduate, okay?"; - set nov_get_item04,15; + nov_get_item04 = 15; getitem 601,10; //Wing_Of_Fly getitem 602,2; //Wing_Of_Butterfly getitem 569,50; //Novice_Potion @@ -1083,7 +1083,7 @@ new_1-2,115,111,3 script Item Tutor#nv 4_F_JOB_BLACKSMITH,{ if (JobLevel < 7) { mes "I will give"; mes "you some Job experience!"; - set nov_get_item04,16; + nov_get_item04 = 16; switch (JobLevel) { case 1: getexp 0,10; break; case 2: getexp 0,18; break; @@ -1238,15 +1238,15 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ mes "The Kafra services are"; mes "always on your side."; if (NEW_MES_FLAG0) { - set NEW_MES_FLAG0,0; - set NEW_MES_FLAG1,0; - set NEW_MES_FLAG2,0; - set NEW_MES_FLAG3,0; - set NEW_MES_FLAG4,0; - set NEW_MES_FLAG5,0; - set NEW_LVUP0,0; - set NEW_LVUP1,0; - set NEW_JOBLVUP,0; + NEW_MES_FLAG0 = 0; + NEW_MES_FLAG1 = 0; + NEW_MES_FLAG2 = 0; + NEW_MES_FLAG3 = 0; + NEW_MES_FLAG4 = 0; + NEW_MES_FLAG5 = 0; + NEW_LVUP0 = 0; + NEW_LVUP1 = 0; + NEW_JOBLVUP = 0; } next; mes "[Kafra Employee]"; @@ -1283,34 +1283,34 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ next; switch(select("Prontera:Morroc:Payon:Alberta:Geffen")) { case 1: - set .@dest$,"Prontera"; - set .@mapn$,"prontera"; - set .@saveX,117; set .@saveY,72; - set .@warpX,150; set .@warpY,50; + .@dest$ = "Prontera"; + .@mapn$ = "prontera"; + .@saveX = 117; .@saveY = 72; + .@warpX = 150; .@warpY = 50; break; case 2: - set .@dest$,"Morroc"; - set .@mapn$,"morocc"; - set .@saveX,150; set .@saveY,99; - set .@warpX,155; set .@warpY,110; + .@dest$ = "Morroc"; + .@mapn$ = "morocc"; + .@saveX = 150; .@saveY = 99; + .@warpX = 155; .@warpY = 110; break; case 3: - set .@dest$,"Payon"; - set .@mapn$,"payon"; - set .@saveX,70; set .@saveY,100; - set .@warpX,166; set .@warpY,67; + .@dest$ = "Payon"; + .@mapn$ = "payon"; + .@saveX = 70; .@saveY = 100; + .@warpX = 166; .@warpY = 67; break; case 4: - set .@dest$,"Alberta"; - set .@mapn$,"alberta"; - set .@saveX,30; set .@saveY,232; - set .@warpX,114; set .@warpY,58; + .@dest$ = "Alberta"; + .@mapn$ = "alberta"; + .@saveX = 30; .@saveY = 232; + .@warpX = 114; .@warpY = 58; break; case 5: - set .@dest$,"Geffen"; - set .@mapn$,"geffen"; - set .@saveX,119; set .@saveY,37; - set .@warpX,122; set .@warpY,65; + .@dest$ = "Geffen"; + .@mapn$ = "geffen"; + .@saveX = 119; .@saveY = 37; + .@warpX = 122; .@warpY = 65; break; } mes "[Kafra Employee]"; @@ -1319,7 +1319,7 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ mes "May God be with you."; close2; if (nov_get_item05 < 11) { - set nov_get_item05,11; + nov_get_item05 = 11; getitem 569,100; //Novice_Potion getitem 1243,1; //Novice_Knife getitem 2414,1; //Novice_Boots @@ -1331,14 +1331,14 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket } - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint .@mapn$,.@saveX,.@saveY; warp .@mapn$,.@warpX,.@warpY; end; @@ -1354,34 +1354,34 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ warp "new_1-2",28,178; end; case 2: - set .@dest$,"Prontera"; - set .@mapn$,"prontera"; - set .@saveX,117; set .@saveY,72; - set .@warpX,150; set .@warpY,50; + .@dest$ = "Prontera"; + .@mapn$ = "prontera"; + .@saveX = 117; .@saveY = 72; + .@warpX = 150; .@warpY = 50; break; case 3: - set .@dest$,"Morroc"; - set .@mapn$,"morocc"; - set .@saveX,150; set .@saveY,99; - set .@warpX,155; set .@warpY,110; + .@dest$ = "Morroc"; + .@mapn$ = "morocc"; + .@saveX = 150; .@saveY = 99; + .@warpX = 155; .@warpY = 110; break; case 4: - set .@dest$,"Payon"; - set .@mapn$,"payon"; - set .@saveX,70; set .@saveY,100; - set .@warpX,166; set .@warpY,67; + .@dest$ = "Payon"; + .@mapn$ = "payon"; + .@saveX = 70; .@saveY = 100; + .@warpX = 166; .@warpY = 67; break; case 5: - set .@dest$,"Alberta"; - set .@mapn$,"alberta"; - set .@saveX,30; set .@saveY,232; - set .@warpX,114; set .@warpY,58; + .@dest$ = "Alberta"; + .@mapn$ = "alberta"; + .@saveX = 30; .@saveY = 232; + .@warpX = 114; .@warpY = 58; break; case 6: - set .@dest$,"Geffen"; - set .@mapn$,"geffen"; - set .@saveX,119; set .@saveY,37; - set .@warpX,122; set .@warpY,65; + .@dest$ = "Geffen"; + .@mapn$ = "geffen"; + .@saveX = 119; .@saveY = 37; + .@warpX = 122; .@warpY = 65; break; } mes "[Kafra Employee]"; @@ -1390,18 +1390,18 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ mes "May God be with you."; close2; if (nov_get_item05 < 11) { - set nov_get_item05,11; + nov_get_item05 = 11; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket } - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint .@mapn$,.@saveX,.@saveY; warp .@mapn$,.@warpX,.@warpY; end; @@ -1431,7 +1431,7 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ mes "the Kafra Corporation"; mes "free of charge~!"; if (nov_1st_cos < 20) { - set nov_1st_cos,20; + nov_1st_cos = 20; switch (BaseLevel) { case 1: getexp 10,0; break; case 2: getexp 17,0; break; @@ -1474,7 +1474,7 @@ new_1-2,118,108,3 script Kafra Employee#nv1 4_F_KAFRA1,{ mes "Remember though, that in the case of Equipment, each item takes up one Inventory Slot. The maximum number of items that can be placed in Kafra Storage is 30,000."; if (nov_3_archer < 20) { if (JobLevel < 7) { - set nov_3_archer,20; + nov_3_archer = 20; switch (JobLevel) { case 1: getexp 0,10; break; case 2: getexp 0,18; break; @@ -2089,7 +2089,7 @@ new_1-2,184,172,1 script Understandings of Skills 1_M_01,{ mes "as you are cute~!"; mes "I, Leo, am very impressed."; next; - set .@end,1; + .@end = 1; } if (.@end) break; } @@ -2214,31 +2214,31 @@ new_1-2,17,182,5 script Helper#nv 4_M_02,{ mes "Haaaaaaa~!"; if (nov_2nd_cos < 1) { if (BaseLevel == 1) { - set nov_2nd_cos,12; + nov_2nd_cos = 12; getexp 9,0; } else if (BaseLevel == 2) { - set nov_2nd_cos,13; + nov_2nd_cos = 13; getexp 16,0; } else if (BaseLevel == 3) { - set nov_2nd_cos,14; + nov_2nd_cos = 14; getexp 25,0; } else if (BaseLevel == 4) { - set nov_2nd_cos,15; + nov_2nd_cos = 15; getexp 36,0; } else if (BaseLevel == 5) { - set nov_2nd_cos,16; + nov_2nd_cos = 16; getexp 77,0; } else if (BaseLevel == 6) { - set nov_2nd_cos,17; + nov_2nd_cos = 17; getexp 112,0; } else if (BaseLevel >= 7) { - set nov_2nd_cos,18; + nov_2nd_cos = 18; getexp 153,0; } } @@ -2482,28 +2482,28 @@ new_1-2,38,182,3 script Entrance Guard#nv 4_F_03,{ mes "[Muriel]"; mes "I'm going to give you some useful supplies, so please use them in case of an emergency."; if (nov_2nd_cos == 12) { - set nov_2nd_cos,22; + nov_2nd_cos = 22; } else if (nov_2nd_cos == 13) { - set nov_2nd_cos,23; + nov_2nd_cos = 23; } else if (nov_2nd_cos == 14) { - set nov_2nd_cos,24; + nov_2nd_cos = 24; } else if (nov_2nd_cos == 15) { - set nov_2nd_cos,25; + nov_2nd_cos = 25; } else if (nov_2nd_cos == 16) { - set nov_2nd_cos,26; + nov_2nd_cos = 26; } else if (nov_2nd_cos == 17) { - set nov_2nd_cos,27; + nov_2nd_cos = 27; } else if (nov_2nd_cos == 18) { - set nov_2nd_cos,28; + nov_2nd_cos = 28; } else { - set nov_2nd_cos,29; + nov_2nd_cos = 29; } getitem 602,1; //Wing_Of_Butterfly getitem 601,9; //Wing_Of_Fly @@ -2543,35 +2543,35 @@ new_1-2,38,182,3 script Entrance Guard#nv 4_F_03,{ mes "some supplies again."; mes "Please be careful!"; if (nov_2nd_cos == 22) { - set nov_2nd_cos,33; + nov_2nd_cos = 33; getexp 16,0; } else if (nov_2nd_cos == 23) { - set nov_2nd_cos,34; + nov_2nd_cos = 34; getexp 25,0; } else if (nov_2nd_cos == 24) { - set nov_2nd_cos,35; + nov_2nd_cos = 35; getexp 36,0; } else if (nov_2nd_cos == 25) { - set nov_2nd_cos,36; + nov_2nd_cos = 36; getexp 77,0; } else if (nov_2nd_cos == 26) { - set nov_2nd_cos,37; + nov_2nd_cos = 37; getexp 112,0; } else if (nov_2nd_cos == 27) { - set nov_2nd_cos,38; + nov_2nd_cos = 38; getexp 153,0; } else if (nov_2nd_cos == 28) { - set nov_2nd_cos,39; + nov_2nd_cos = 39; getexp 200,0; } else if (nov_2nd_cos == 29) { - set nov_2nd_cos,40; + nov_2nd_cos = 40; getexp 200,0; } percentheal 100,0; @@ -2781,66 +2781,66 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Study:Exercise:Public service:Violence")) { case 1: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; case 2: - set .@thief_p,.@thief_p+1; - set .@swordman_p,.@swordman_p+1; + ++.@thief_p; + ++.@swordman_p; break; case 3: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; case 4: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; } switch(select("Change:Conserve")) { case 1: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; case 2: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; } switch(select("Consumer:Seller:Producer")) { case 1: - set .@swordman_p,.@swordman_p+1; - set .@thief_p,.@thief_p+1; - set .@acolyte_p,.@acolyte_p+1; + ++.@swordman_p; + ++.@thief_p; + ++.@acolyte_p; break; case 2: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 3: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } switch(select("Celebrity:Prudence")) { case 1: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; case 2: - set .@archer_p,.@archer_p+1; + ++.@archer_p; break; } switch(select("Theory:Experience")) { case 1: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; case 2: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; } switch(select("The Past:Reality:The Future")) { case 1: - set .@archer_p,.@archer_p+1; + ++.@archer_p; break; case 2: - set .@merchant_p,.@merchant_p+1; - set .@thief_p,.@thief_p+1; + ++.@merchant_p; + ++.@thief_p; break; case 3: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } mes "[Hanson]"; @@ -2854,11 +2854,11 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; case 2: - set .@thief_p,.@thief_p+1; - set .@merchant_p,.@merchant_p+1; + ++.@thief_p; + ++.@merchant_p; break; } mes "[Hanson]"; @@ -2868,10 +2868,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 2: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; } mes "[Hanson]"; @@ -2881,10 +2881,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; case 2: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } mes "[Hanson]"; @@ -2894,10 +2894,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; case 2: - set .@archer_p,.@archer_p+1; + ++.@archer_p; break; } mes "[Hanson]"; @@ -2915,10 +2915,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; case 2: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; } mes "[Hanson]"; @@ -2927,10 +2927,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; case 2: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } mes "[Hanson]"; @@ -2940,10 +2940,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; case 2: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } mes "[Hanson]"; @@ -2951,10 +2951,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Yes.:No.")) { case 1: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 2: - set .@archer_p,.@archer_p+1; + ++.@archer_p; break; } mes "[Hanson]"; @@ -2966,16 +2966,16 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("You feel like a robot.:You are proud and satisfied.:Schedule? What schedule?")) { case 1: - set .@swordman_p,.@swordman_p+1; - set .@thief_p,.@thief_p+1; + ++.@swordman_p; + ++.@thief_p; break; case 2: - set .@acolyte_p,.@acolyte_p+1; - set .@magician_p,.@magician_p+1; + ++.@acolyte_p; + ++.@magician_p; break; case 3: - set .@archer_p,.@archer_p+1; - set .@merchant_p,.@merchant_p+1; + ++.@archer_p; + ++.@merchant_p; break; } mes "[Hanson]"; @@ -2986,13 +2986,13 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Consider if you need it.:Check the price.:Don't think twice, just buy it!")) { case 1: - set .@archer_p,.@archer_p+1; + ++.@archer_p; break; case 2: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 3: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; } mes "[Hanson]"; @@ -3003,14 +3003,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("don't mind...:don't like...:don't care about...")) { case 1: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 2: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; case 3: - set .@acolyte_p,.@acolyte_p+1; - set .@swordman_p,.@swordman_p+1; + ++.@acolyte_p; + ++.@swordman_p; break; } mes "[Hanson]"; @@ -3021,10 +3021,10 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Handle it myself, even if it's hard.:Ask friends to help.")) { case 1: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; case 2: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; } mes "[Hanson]"; @@ -3035,16 +3035,16 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Carry her to a hospital.:Assess the situation before taking action.:Just ignore it.")) { case 1: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; case 2: - set .@swordman_p,.@swordman_p+1; - set .@archer_p,.@archer_p+1; + ++.@swordman_p; + ++.@archer_p; break; case 3: - set .@magician_p,.@magician_p+1; - set .@thief_p,.@thief_p+1; - set .@merchant_p,.@merchant_p+1; + ++.@magician_p; + ++.@thief_p; + ++.@merchant_p; break; } mes "[Hanson]"; @@ -3054,17 +3054,17 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Check the brand.:Wonder who lost it.:Finder's keepers!:Leave it where it was.")) { case 1: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 2: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; case 3: - set .@merchant_p,.@merchant_p+1; - set .@thief_p,.@thief_p+1; + ++.@merchant_p; + ++.@thief_p; break; case 4: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; } mes "[Hanson]"; @@ -3072,16 +3072,16 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Pretend it's a joke.:Change the subject.:Analyze it.:Apologize honestly.")) { case 1: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; case 2: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; case 3: - set .@magician_p,.@magician_p+1; + ++.@magician_p; break; case 4: - set .@acolyte_p,.@acolyte_p+1; + ++.@acolyte_p; break; } mes "[Hanson]"; @@ -3089,13 +3089,13 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ next; switch(select("Buy the item for her/him.:Say 'no.':Promise it for next time.")) { case 1: - set .@swordman_p,.@swordman_p+1; + ++.@swordman_p; break; case 2: - set .@merchant_p,.@merchant_p+1; + ++.@merchant_p; break; case 3: - set .@thief_p,.@thief_p+1; + ++.@thief_p; break; } mes "[Hanson]"; @@ -3105,7 +3105,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "I've prepared some items for you since you passed the personality test. Please take them, you've earned it."; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 501,4; //Red_Potion getitem 503,2; //Yellow_Potion getitem 506,2; //Green_Potion @@ -3131,156 +3131,95 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ if (.@swordman_p > .@thief_p) { if (.@swordman_p > .@archer_p) { if (.@swordman_p > .@acolyte_p) { - set .@job_c,1; - } - else { - set .@job_c,6; + .@job_c = 1; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } + } else if (.@thief_p > .@archer_p) { + if (.@thief_p > .@acolyte_p) { + .@job_c = 4; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - else { - if (.@thief_p > .@archer_p) { - if (.@thief_p > .@acolyte_p) { - set .@job_c,4; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } - } - } - } - else { - if (.@merchant_p > .@thief_p) { - if (.@merchant_p > .@archer_p) { - if (.@merchant_p > .@acolyte_p) { - set .@job_c,3; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } + } else if (.@merchant_p > .@thief_p) { + if (.@merchant_p > .@archer_p) { + if (.@merchant_p > .@acolyte_p) { + .@job_c = 3; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - else { - if (.@thief_p > .@archer_p) { - if (.@thief_p > .@acolyte_p) { - set .@job_c,4; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } - } + } else if (.@thief_p > .@archer_p) { + if (.@thief_p > .@acolyte_p) { + .@job_c = 4; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - } - else { - if (.@magician_p > .@merchant_p) { - if (.@magician_p > .@thief_p) { - if (.@magician_p > .@archer_p) { - if (.@magician_p > .@acolyte_p) { - set .@job_c,2; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } + } else if (.@magician_p > .@merchant_p) { + if (.@magician_p > .@thief_p) { + if (.@magician_p > .@archer_p) { + if (.@magician_p > .@acolyte_p) { + .@job_c = 2; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - else { - if (.@thief_p > .@archer_p) { - if (.@thief_p > .@acolyte_p) { - set .@job_c,4; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } - } + } else if (.@thief_p > .@archer_p) { + if (.@thief_p > .@acolyte_p) { + .@job_c = 4; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } - else { - if (.@merchant_p > .@thief_p) { - if (.@merchant_p > .@archer_p) { - if (.@merchant_p > .@acolyte_p) { - set .@job_c,3; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } - } - } - else { - if (.@thief_p > .@archer_p) { - if (.@thief_p > .@acolyte_p) { - set .@job_c,4; - } - else { - set .@job_c,6; - } - } - else { - if (.@archer_p > .@acolyte_p) { - set .@job_c,5; - } - else { - set .@job_c,6; - } - } + } else if (.@merchant_p > .@thief_p) { + if (.@merchant_p > .@archer_p) { + if (.@merchant_p > .@acolyte_p) { + .@job_c = 3; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; + } + } else if (.@thief_p > .@archer_p) { + if (.@thief_p > .@acolyte_p) { + .@job_c = 4; + } else { + .@job_c = 6; } + } else if (.@archer_p > .@acolyte_p) { + .@job_c = 5; + } else { + .@job_c = 6; } if (.@job_c == 1) { mes "[Hanson]"; @@ -3310,7 +3249,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000331 Falchion^000000"; mes "^0000337 Phracon^000000"; next; - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 1104,1; //Falchion @@ -3338,14 +3277,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^A62A2A" + strcharinfo(0) + "^000000"; mes "and farewell."; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint "izlude",93,104; warp "izlude_in",74,167; end; @@ -3379,7 +3318,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000337 Phracon^000000"; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 1601,1; //Rod @@ -3411,14 +3350,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "You'll now be teleported."; mes "Good luck, ^A62A2A" + strcharinfo(0) + "^000000 and farewell."; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint "geffen",119,37; warp "geffen_in",163,98; end; @@ -3452,7 +3391,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000337 Phracon^000000"; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,4; //Cargo_Free_Ticket getitem 7060,4; //Warp_Free_Ticket getitem 7061,4; //Cart_Free_Ticket @@ -3482,14 +3421,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^A62A2A" + strcharinfo(0) + "^000000"; mes "and farewell."; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint "alberta",30,232; warp "alberta_in",62,44; end; @@ -3529,7 +3468,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000337 Phracon^000000"; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 1207,1; //Main_Gauche @@ -3590,7 +3529,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000337 Phracon^000000"; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 1704,1; //Composite_Bow @@ -3619,14 +3558,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^A62A2A" + strcharinfo(0) + "^000000"; mes "and farewell."; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint "payon",70,100; warp "payon_in02",64,65; end; @@ -3662,7 +3601,7 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^0000337 Phracon^000000"; next; //--------------------------------------------------------------------------------------------------------------------------------------------------- - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 1504,1; //Mace @@ -3691,14 +3630,14 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "^A62A2A" + strcharinfo(0) + "^000000"; mes "and farewell."; close2; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; savepoint "prontera",117,72; warp "prt_church",172,19; end; @@ -3725,16 +3664,16 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes ""+ strcharinfo(0) +"."; mes "Fare well."; next; - set nov_3_swordman,40; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; - set .@startmap,rand(1,6); + nov_3_swordman = 40; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; + .@startmap = rand(1,6); if ((.@startmap > 0) && (.@startmap < 2)) { savepoint "prontera",117,72; warp "prt_fild08",170,371; @@ -3777,15 +3716,15 @@ new_1-4,100,29,1 script Hanson#nv 1_ETC_01,{ mes "left to do is to lead"; mes "you to Rune-Midgard~"; next; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; - set .@startmap,rand(1,6); + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; + .@startmap = rand(1,6); if ((.@startmap > 0) && (.@startmap < 2)) { savepoint "prontera",117,72; warp "prt_fild08",170,371; @@ -3902,7 +3841,7 @@ S_UserJobchoice: ////mes "^000099100 Zeny^000000"; next; //------------------------------------------------------------------------------------------------------------------------------------------------------------------------ - set nov_3_swordman,40; + nov_3_swordman = 40; getitem 7059,5; //Cargo_Free_Ticket getitem 7060,5; //Warp_Free_Ticket getitem 2305,1; //Adventure_Suit @@ -3925,14 +3864,14 @@ S_UserJobchoice: mes "^A62A2A" + strcharinfo(0) + "^000000"; mes "and farewell."; next; - set nov_1st_cos,0; - set nov_2nd_cos,0; - set nov_3_swordman,0; - set nov_3_archer,0; - set nov_3_thief,0; - set nov_3_magician,0; - set nov_3_acolyte,0; - set nov_3_merchant,0; + nov_1st_cos = 0; + nov_2nd_cos = 0; + nov_3_swordman = 0; + nov_3_archer = 0; + nov_3_thief = 0; + nov_3_magician = 0; + nov_3_acolyte = 0; + nov_3_merchant = 0; if(@menu == 1) { savepoint "izlude",93,104; warp "izlude_in",74,167; @@ -3995,7 +3934,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "A Swordman is the ideal character to take the position of party leader. When advancing to the Second Job Class, Swordmen can change their jobs to ^8E2323Knights^000000 or ^8E2323Crusaders^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 2: @@ -4013,7 +3952,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Mages can change their jobs to ^8E2323Wizards^000000 or ^8E2323Sages^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 3: @@ -4028,7 +3967,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, every Archer may advance to the ^8E2323Hunter^000000 class. Alternatively, male Archers may advance to become ^8E2323Bards^000000, and female Archers may become ^8E2323Dancers^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 4: @@ -4044,7 +3983,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Merchants can change their jobs to ^8E2323Blacksmiths^000000 or ^8E2323Alchemists^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 5: @@ -4057,7 +3996,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Thieves can change their jobs to ^8E2323Assassins^000000 or ^8E2323Rogues^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 6: @@ -4070,7 +4009,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ mes "[Bruce]"; mes "When advancing to the Second Job Class, Acolytes can change their jobs to ^8E2323Priests^000000 or ^8E2323Monks^000000."; mes ""; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 7: @@ -4153,7 +4092,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "A Swordman is the ideal character to take the position of party leader. When advancing to the Second Job Class, Swordmen can change their jobs to ^8E2323Knights^000000 or ^8E2323Crusaders^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 2: @@ -4171,7 +4110,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Mages can change their jobs to ^8E2323Wizards^000000 or ^8E2323Sages^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 3: @@ -4186,7 +4125,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, every Archer may advance to the ^8E2323Hunter^000000 class. Alternatively, male Archers may advance to become ^8E2323Bards^000000, and female Archers may become ^8E2323Dancers^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 4: @@ -4202,7 +4141,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Merchants can change their jobs to ^8E2323Blacksmiths^000000 or ^8E2323Alchemists^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 5: @@ -4215,7 +4154,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ next; mes "[Bruce]"; mes "When advancing to the Second Job Class, Thieves can change their jobs to ^8E2323Assassins^000000 or ^8E2323Rogues^000000."; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 6: @@ -4228,7 +4167,7 @@ new_1-4,91,22,4 script Bruce#nv 1_M_LIBRARYMASTER,{ mes "[Bruce]"; mes "When advancing to the Second Job Class, Acolytes can change their jobs to ^8E2323Priests^000000 or ^8E2323Monks^000000."; mes ""; - set nov_3_swordman,20; + nov_3_swordman = 20; next; break; case 7: diff --git a/npc/pre-re/mobs/dungeons/lhz_dun.txt b/npc/pre-re/mobs/dungeons/lhz_dun.txt index eb544e724..5d054d111 100644 --- a/npc/pre-re/mobs/dungeons/lhz_dun.txt +++ b/npc/pre-re/mobs/dungeons/lhz_dun.txt @@ -271,26 +271,26 @@ OnTimer7800000: OnSummon: // Select Coordinates to summon a random MVP on switch(rand(1,6)) { - case 1: set .@x,140; set .@y,232; break; - case 2: set .@x,75; set .@y,138; break; - case 3: set .@x,140; set .@y,87; break; - case 4: set .@x,205; set .@y,140; break; - case 5: set .@x,123; set .@y,137; break; - case 6: set .@x,175; set .@y,137; break; + case 1: .@x = 140; .@y = 232; break; + case 2: .@x = 75; .@y = 138; break; + case 3: .@x = 140; .@y = 87; break; + case 4: .@x = 205; .@y = 140; break; + case 5: .@x = 123; .@y = 137; break; + case 6: .@x = 175; .@y = 137; break; } - set .@mob,rand(1646,1651); + .@mob = rand(1646,1651); monster "lhz_dun03",.@x,.@y,strmobinfo(1,.@mob),.@mob,1,"summon_boss_lt::OnMyMVPDead"; // Select Coordinates to summon a random 99 on switch(rand(1,6)) { - case 1: set .@x2,183; set .@y2,97; break; - case 2: set .@x2,97; set .@y2,96; break; - case 3: set .@x2,47; set .@y2,139; break; - case 4: set .@x2,231; set .@y2,140; break; - case 5: set .@x2,139; set .@y2,211; break; - case 6: set .@x2,139; set .@y2,259; break; + case 1: .@x2 = 183; .@y2 = 97; break; + case 2: .@x2 = 97; .@y2 = 96; break; + case 3: .@x2 = 47; .@y2 = 139; break; + case 4: .@x2 = 231; .@y2 = 140; break; + case 5: .@x2 = 139; .@y2 = 211; break; + case 6: .@x2 = 139; .@y2 = 259; break; } - set .@mob2,rand(1640,1645); + .@mob2 = rand(1640,1645); monster "lhz_dun03",.@x2,.@y2,strmobinfo(1,.@mob2),.@mob2,1,"summon_boss_lt::OnMVP"; end; diff --git a/npc/pre-re/warps/fields/morroc_fild.txt b/npc/pre-re/warps/fields/morroc_fild.txt index c79538814..b46742e4a 100644 --- a/npc/pre-re/warps/fields/morroc_fild.txt +++ b/npc/pre-re/warps/fields/morroc_fild.txt @@ -41,7 +41,7 @@ moc_fild03,70,341,0 warp mocf04-1 5,2,moc_fild02,332,23 //moc_fild04,14,98,0 warp mocf07 1,11,moc_fild05,378,119 //moc_fild04,175,18,0 warp mocf08 3,2,moc_fild08,170,380 //moc_fild04,19,206,0 warp mocf09 3,15,moc_fild05,373,208 -//moc_fild04,219,327,0 script mocf016 WARPNPC,3,4,{ set @anthell,0; warp "anthell01",35,262; } +//moc_fild04,219,327,0 script mocf016 WARPNPC,3,4,{ @anthell = 0; warp "anthell01",35,262; } //moc_fild04,292,381,0 warp mocf01-2 10,1,moc_fild01,76,25 //moc_fild04,314,381,0 warp mocf01-3 10,1,moc_fild01,76,25 //moc_fild04,336,381,0 warp mocf01-4 10,1,moc_fild01,76,25 @@ -94,7 +94,7 @@ moc_fild13,308,49,0 warp mocf06-1 2,4,moc_fild03,20,37 //moc_fild14,196,382,0 warp mocf16-1 4,2,moc_fild08,204,19 //moc_fild15,104,16,0 warp mocf26 9,2,moc_fild16,125,380 //moc_fild15,158,363,0 warp mocf18-1 6,2,moc_fild09,126,23 -//moc_fild15,258,253,0 script mocf017 WARPNPC,3,3,{ set @anthell,1; warp "anthell01",35,262; } +//moc_fild15,258,253,0 script mocf017 WARPNPC,3,3,{ @anthell = 1; warp "anthell01",35,262; } //moc_fild15,348,18,0 warp mocf27 5,2,moc_fild16,334,379 //moc_fild15,367,276,0 warp mocf25-1 2,4,moc_fild14,19,278 //moc_fild15,38,105,0 warp mocf23-1 2,4,moc_fild11,376,197 |