diff options
author | Haru <haru@dotalux.com> | 2014-10-26 07:16:21 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-11-02 01:36:52 +0100 |
commit | c62b4c3e8e178f8ba1de240b9d67a664ef128ace (patch) | |
tree | de36f22718fe4533ea81e1d02093263005a30224 /npc/quests/quests_lighthalzen.txt | |
parent | 54604096ac53398778a5481613061216fe47e5bc (diff) | |
download | hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.gz hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.bz2 hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.tar.xz hercules-c62b4c3e8e178f8ba1de240b9d67a664ef128ace.zip |
Replaced 'set' with direct assignment where applicable (quests folder)
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/quests/quests_lighthalzen.txt')
-rw-r--r-- | npc/quests/quests_lighthalzen.txt | 464 |
1 files changed, 230 insertions, 234 deletions
diff --git a/npc/quests/quests_lighthalzen.txt b/npc/quests/quests_lighthalzen.txt index 6ed364ed5..9d236e831 100644 --- a/npc/quests/quests_lighthalzen.txt +++ b/npc/quests/quests_lighthalzen.txt @@ -37,14 +37,14 @@ lighthalzen,1,1,0 script Law Enforcement -1,{ OnEnable: mapannounce "lighthalzen","Attention, citizens. Our security has been breached and the city is in Gangster Alert status. Please find shelter immediately!",bc_map; initnpctimer; - for (set .@i, 0; .@i < 30; set .@i, .@i + 1) + for (.@i = 0; .@i < 30; ++.@i) monster "lighthalzen",0,0,"Gangster",1592,1,"Law Enforcement::OnMyMobDead"; end; OnTimer220000: killmonster "lighthalzen","Law Enforcement::OnMyMobDead"; mapannounce "lighthalzen","Attention, citizens. Our law enforcement department has successfully contained the situation. Alert status has been canceled.",bc_map; - set $@Lhz_Gangster_Alert, 0; + $@Lhz_Gangster_Alert = 0; stopnpctimer; end; @@ -82,7 +82,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{ mes "around here. But how can"; mes "so many sneak through us?"; donpcevent "Law Enforcement::OnEnable"; - set $@Lhz_Gangster_Alert, 100; + $@Lhz_Gangster_Alert = 100; close; } if (gettime(3) >= 22 || gettime(3) < 2) { @@ -95,7 +95,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{ mes "the perfect opportunity"; mes "to sneak past him.^000000"; close2; - set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1; + ++$@Lhz_Gangster_Alert; warp "lighthalzen",303,229; end; } @@ -104,7 +104,7 @@ lighthalzen,267,200,3 script Guard#lhz01 4_M_LGTGUARD,{ mes "and is looking elsewhere. Now's"; mes "your chance to sneak past him!^000000"; close2; - set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1; + ++$@Lhz_Gangster_Alert; warp "lighthalzen",303,229; end; } @@ -149,7 +149,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{ mes "around here. But how can"; mes "so many sneak through us?"; donpcevent "Law Enforcement::OnEnable"; - set $@Lhz_Gangster_Alert, 100; + $@Lhz_Gangster_Alert = 100; close; } if (gettime(3) >= 22 || gettime(3) < 2) { @@ -162,7 +162,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{ mes "the perfect opportunity"; mes "to sneak past him.^000000"; close2; - set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1; + ++$@Lhz_Gangster_Alert; warp "lighthalzen",260,199; end; } @@ -171,7 +171,7 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{ mes "and is looking elsewhere. Now's"; mes "your chance to sneak past him!^000000"; close2; - set $@Lhz_Gangster_Alert, $@Lhz_Gangster_Alert + 1; + ++$@Lhz_Gangster_Alert; warp "lighthalzen",260,199; end; } @@ -191,8 +191,8 @@ lighthalzen,294,223,7 script Guard#lhz02 4_M_LGTGUARD,{ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ // Retain prior position in quest. if (piciburn) { - set lhz_sincube,piciburn; - set piciburn,0; + lhz_sincube = piciburn; + piciburn = 0; } // Quest is finished. if (MISC_QUEST&512) { @@ -221,7 +221,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "Is there something"; mes "on my face? Quit looking"; mes "at me and let me do my work."; - set lhz_sincube,1; + lhz_sincube = 1; close; } else if (lhz_sincube == 1) { @@ -230,7 +230,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "You're still looking"; mes "at me. Quit it. I'm busy"; mes "here and you're bothering me."; - set lhz_sincube,2; + lhz_sincube = 2; close; } else if (lhz_sincube == 2) { @@ -324,7 +324,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "and just trust anyone who"; mes "wants to know a secret"; mes "route. Now get outta here!"; - set lhz_sincube,3; + lhz_sincube = 3; close; } else if (lhz_sincube == 3) { @@ -340,7 +340,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "and stop begging, okay?"; mes "You're only embarassing"; mes "yourself! Good grief..."; - set lhz_sincube,4; + lhz_sincube = 4; close; } else if (lhz_sincube == 4) { @@ -414,7 +414,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "But you gotta have"; mes "exactly 20 Jellopy on"; mes "you, okay? Seeya pal~"; - set lhz_sincube,5; + lhz_sincube = 5; setquest 12014; close; } @@ -469,7 +469,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "then I'll tell you what you"; mes "really need to know."; delitem 909,20; //Jellopy - set lhz_sincube,6; + lhz_sincube = 6; close; } mes "[Fishbone]"; @@ -520,7 +520,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "Okay then,"; mes "here we go!"; close2; - set lhz_sincube,7; + lhz_sincube = 7; switch(rand(1,3)) { case 1: warp "lhz_cube",67,193; break; case 2: warp "lhz_cube",66,136; break; @@ -560,7 +560,7 @@ lighthalzen,341,224,3 script Fishbone 4_M_LGTGUARD,{ mes "Get ready, 'cuz"; mes "here we go...!"; close2; - set lhz_sincube,7; + lhz_sincube = 7; switch(rand(1,3)) { case 1: warp "lhz_cube",67,193; break; case 2: warp "lhz_cube",66,136; break; @@ -676,7 +676,7 @@ lhz_cube,237,198,0 script Bundle of Files#cube HIDDEN_NPC,{ mes "drops to the ground"; mes "with a clink. You decide"; mes "to keep this ^000000Red Key^3355FF.^000000"; - set lhz_secret01,1; + lhz_secret01 = 1; } close; } @@ -737,18 +737,18 @@ lhz_cube,234,202,0 script Picture#cube HIDDEN_NPC,{ mes "find that the following"; mes "numbers are written:^000000"; mes " "; - set .@number_rand,rand(1,3); + .@number_rand = rand(1,3); if (.@number_rand == 1) { mes "4 3 2 9 1 6 8 2 7"; - set lhz_secret01,3; + lhz_secret01 = 3; } else if (.@number_rand == 2) { mes "3 6 4 1 2 8 7 1 5"; - set lhz_secret01,4; + lhz_secret01 = 4; } else { mes "4 9 3 7 6 2 8 6 6"; - set lhz_secret01,5; + lhz_secret01 = 5; } close; } @@ -813,7 +813,7 @@ lhz_cube,242,201,0 script Drawer#cube HIDDEN_NPC,{ mes "^000000Jackknife^3355FF that you decide"; mes "to take. After all, it might"; mes "be handy sometime.^000000"; - set lhz_secret01,2; + lhz_secret01 = 2; } else { mes "^3355FFUnfortunately, you"; @@ -851,7 +851,7 @@ lhz_cube,248,179,0 script Chest#cube HIDDEN_NPC,{ mes "an ounce of guilt, you"; mes "pick up the utility ^000000Axe^3355FF"; mes "and claim it as your own.^000000"; - set lhz_sincube,8; + lhz_sincube = 8; } close; } @@ -863,7 +863,7 @@ lhz_cube,248,179,0 script Chest#cube HIDDEN_NPC,{ } lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{ - set number_line,0; + number_line = 0; if (lhz_sincube < 8) { mes "^3355FFYou have"; mes "found a shabbily"; @@ -894,7 +894,7 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{ mes "of the metal plate on"; mes "top of the box you found,"; mes "like some kind of keypad...^000000"; - set lhz_sincube,9; + lhz_sincube = 9; } else { mes "^3355FFDoing that probably won't"; @@ -911,7 +911,7 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{ mes "you can only enter single"; mes "digit numbers at one time...^000000"; next; - for( set $@i, 0; .@i < 9; set .@i, .@i + 1 ) + for( $@i = 0; .@i < 9; ++.@i ) input .@input; mes "^3355FFNothing happened...^000000"; close; @@ -928,16 +928,16 @@ lhz_cube,237,183,0 script Barrel#cube HIDDEN_NPC,{ mes "metal plate on top of the box"; mes "you found inside the keg.^000000"; next; - for( set $@i, 0; .@i < 9; set .@i, .@i + 1 ) { + for( $@i = 0; .@i < 9; ++.@i ) { input .@input; - if (.@input == .@numbers[.@i]) set .@number_line,.@number_line+1; + if (.@input == .@numbers[.@i]) .@number_line += 1; } if (.@number_line == 9) { mes "^3355FFThe metal plate slides"; mes "open and you find a key"; mes "Key inside the box. You"; mes "to keep this ^000000Yellow Key^3355FF.^000000"; - set lhz_secret01,6; + lhz_secret01 = 6; } else { mes "^3355FFNothing happened."; @@ -994,7 +994,7 @@ lhz_cube,224,192,0 script Power Generator#cube HIDDEN_NPC,{ mes "^3355FFYou notice that the"; mes "^000000Status Light ^3355FFnext to the"; mes "bed has now turned off.^000000"; - set lhz_secret01,7; + lhz_secret01 = 7; } else { mes "^3355FFNothing happened."; @@ -1034,7 +1034,7 @@ lhz_cube,244,201,0 script Status Light#cube HIDDEN_NPC,{ mes "Status Light's bulb"; mes "and discover another key."; mes "You obtained a ^000000Black Key^3355FF.^000000"; - set lhz_secret01,8; + lhz_secret01 = 8; } close; } @@ -1065,7 +1065,7 @@ lhz_cube,234,200,0 script Desk#cube HIDDEN_NPC,{ mes "that you decide to keep."; mes "You never know when"; mes "you'll need one of those.^000000"; - set lhz_secret02,1; + lhz_secret02 = 1; } else { mes "^3355FFThis is where you"; @@ -1130,7 +1130,7 @@ lhz_cube,234,200,0 script Desk#cube HIDDEN_NPC,{ mes "to the sum of its parts."; mes "You are now the proud"; mes "bearer of a ^000000Long Stick^3355FF.^000000"; - set lhz_secret02,3; + lhz_secret02 = 3; close; case 3: mes "^3355FFThis desk drawer is"; @@ -1200,7 +1200,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{ mes "keep. You never know"; mes "when certain, seemingly"; mes "useless objects will save you.^000000"; - set lhz_secret02,2; + lhz_secret02 = 2; } close; } @@ -1229,7 +1229,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{ mes "to the sum of its parts."; mes "You are now the proud"; mes "bearer of a ^000000Long Stick^3355FF.^000000"; - set lhz_secret02,3; + lhz_secret02 = 3; } close; } @@ -1298,7 +1298,7 @@ lhz_cube,247,198,0 script Bed#cube HIDDEN_NPC,{ mes "it under the bed towards you."; mes "You now possess the ^000000Cube^3355FF"; mes "that was under the bed.^000000"; - set lhz_secret02,4; + lhz_secret02 = 4; } else { mes "^3355FFUnfortunately,"; @@ -1344,7 +1344,7 @@ lhz_cube,229,184,0 script Goblet#cube HIDDEN_NPC,{ mes "rid of that rust somehow."; mes "Perhaps you can dip the key"; mes "in some corrosive chemical?^000000"; - set lhz_secret03,1; + lhz_secret03 = 1; } close; } @@ -1386,7 +1386,7 @@ lhz_cube,231,202,0 script Chemicals#cube HIDDEN_NPC,{ mes "again. Now that it is clean,"; mes "the Rusty Key has become"; mes "a sparkling ^000000Green Key^3355FF.^000000"; - set lhz_secret03,2; + lhz_secret03 = 2; } else { mes "^3355FFWhatever you tried to"; @@ -1434,7 +1434,7 @@ lhz_cube,249,191,0 script Cabinet#cube HIDDEN_NPC,{ mes "one of the drawer keyholes."; mes "You open the drawer and"; mes "obtain a strange ^000000Polygon^3355FF.^000000"; - set lhz_secret03,3; + lhz_secret03 = 3; } else { mes "^3355FFWhatever you tried"; @@ -1489,7 +1489,7 @@ lhz_cube,224,197,0 script Experiment Tube#cube HIDDEN_NPC,{ mes "the experiment tube to open"; mes "and reveal an ^000000Oval^3355FF which you"; mes "you choose to take with you.^000000"; - set lhz_secret01,9; + lhz_secret01 = 9; } else { mes "^3355FFNothing happened...^000000"; @@ -1528,11 +1528,11 @@ lhz_cube,224,197,0 script Experiment Tube#cube HIDDEN_NPC,{ mes "of winding stairs...^000000"; close2; //remove variables that are no longer used. - set lhz_sincube,0; - set lhz_secret01,0; - set lhz_secret02,0; - set lhz_secret03,0; - set MISC_QUEST,MISC_QUEST|512; + lhz_sincube = 0; + lhz_secret01 = 0; + lhz_secret02 = 0; + lhz_secret03 = 0; + MISC_QUEST |= 512; warp "lhz_cube",177,13; end; } @@ -1581,7 +1581,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{ mes "^3355FFYou insert the Oval"; mes "into the Oval shaped"; mes "hole where it fits perfectly.^000000"; - set lhz_secret01,10; + lhz_secret01 = 10; close; } mes "^3355FFNothing happened.^000000"; @@ -1607,7 +1607,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{ mes "and it clicks into place."; mes "Your formal Kindergarten"; mes "training is finally justified.^000000"; - set lhz_secret02,5; + lhz_secret02 = 5; close; } mes "^3355FFNothing happened.^000000"; @@ -1637,7 +1637,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{ mes "nondescript Polygonal hole."; mes "The Polygon fits perfectly,"; mes "almost as if it were destiny.^000000"; - set lhz_secret03,4; + lhz_secret03 = 4; close; } mes "^3355FFNothing happened.^000000"; @@ -1670,7 +1670,7 @@ lhz_cube,248,193,0 script Box#cube1 HIDDEN_NPC,{ mes "You pocket this ^000000Laboratory"; mes "Permit^3355FF, knowing that you"; mes "will be needing it later."; - set lhz_sincube,10; + lhz_sincube = 10; getitem 2657,1; //Lab_Passport } close; @@ -1949,9 +1949,9 @@ OnTouch: mes "what do you say?"; next; switch(select("Give me 1.:Give me 2.:Give me 3.:No, I'm fine.")) { - case 1: set .@number,1; set .@price,15000*1; break; - case 2: set .@number,2; set .@price,15000*2; break; - case 3: set .@number,3; set .@price,15000*3; break; + case 1: .@number = 1; .@price = 15000*1; break; + case 2: .@number = 2; .@price = 15000*2; break; + case 3: .@number = 3; .@price = 15000*3; break; case 4: mes "[Suspicious Guy]"; mes "Well..."; @@ -2123,7 +2123,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{ mes "courtesy to a man who"; mes "dearly loved his friends.^000000"; next; - set friendship,15; + friendship = 15; changequest 12005,12006; getitem 1201,1; //Knife close; @@ -2255,7 +2255,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{ mes "it's not like that oath really"; mes "means anything now, does it?"; next; - set friendship,13; + friendship = 13; mes "[Digotz]"; mes "That does it. I'm gonna"; mes "go see that Maku. I don't"; @@ -2331,7 +2331,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{ mes "mediate if we got into some"; mes "argument. Still, he couldn't"; mes "do anything about Maku now..."; - set friendship,7; + friendship = 7; changequest 12002,12003; next; mes "[Digotz]"; @@ -2443,7 +2443,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{ mes "^FF0000Not to mention an apology!"; mes "^FF0000But who cares what you think?!"; mes "I'm so goddamn happy without you!^000000"; - set friendship,4; + friendship = 4; close; } if (friendship == 2) { @@ -2493,7 +2493,7 @@ lhz_in02,201,210,5 script Digotz 4_M_LGTMAN,{ mes "the fact me and Maku aren't"; mes "pals anymore. You know what?"; mes "Just forget everything I said."; - set friendship,2; + friendship = 2; changequest 12000,12001; close; } @@ -2694,7 +2694,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ cutin "lhz_macu07",255; next; delitem 7351,1; //Friend's_Diary - set friendship,14; + friendship = 14; if (checkre(3)) { if (BaseLevel > 90) getexp 70000,0; else if (BaseLevel > 75) getexp 40000,0; @@ -2784,7 +2784,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ mes "of fights. I really miss that"; mes "guy. Still, he ain't around..."; next; - set friendship,6; + friendship = 6; mes "[Maku]"; mes "Damn those guards!"; mes "If they weren't there,"; @@ -2869,7 +2869,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ next; input .@input$; if (.@input$ == "I'm so goddamn happy without you!") { - set friendship,5; + friendship = 5; cutin "lhz_macu06",2; mes "[Maku]"; mes "That's it."; @@ -2953,7 +2953,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ mes "long time since we hung"; mes "out and he probably hates"; mes "my penniless guts and..."; - set friendship,3; + friendship = 3; changequest 12001,12002; next; mes "[Maku]"; @@ -3008,7 +3008,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ mes "to someone I just met"; mes "anyway? Sure, we all"; mes "do it, but still..."; - set friendship,1; + friendship = 1; setquest 12000; next; mes "[Maku]"; @@ -3062,7 +3062,7 @@ lighthalzen,337,232,3 script Maku 4_M_LGTPOOR,{ mes "to someone I just met"; mes "anyway? Sure, we all"; mes "do it, but still..."; - set friendship,1; + friendship = 1; next; mes "[Maku]"; mes "Well, when you get"; @@ -3092,7 +3092,7 @@ yuno_in04,107,14,5 script Student 4_M_SAGE_A,{ mes "Still, students like Benkaistein can tune out the whole world"; mes "when they study hard enough..."; next; - set friendship,8; + friendship = 8; mes "[Joey Choryee]"; mes "Benkaistein...?"; mes "He's in the north part"; @@ -3146,7 +3146,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{ mes "go back and forth between the"; mes "rich and poor areas as my thanks."; next; - set friendship,16; + friendship = 16; completequest 12006; if (checkre(3)) { if (BaseLevel > 90) getexp 70000,0; @@ -3197,7 +3197,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{ mes "remind them of all the good"; mes "times we used to share."; next; - set friendship,12; + friendship = 12; changequest 12004,12005; mes "[Benkaistein]"; mes "Anyway, this should at"; @@ -3247,7 +3247,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{ mes "two to make up, but I also need"; mes "to finish this thesis. Let's see... What can I possibly do from here?"; next; - set friendship,10; + friendship = 10; changequest 12003,12004; mes "[Benkaistein]"; mes "Oh, I know what I can do!"; @@ -3313,7 +3313,7 @@ yuno_in04,96,106,5 script Passionate Student 4_M_SAGE_A,{ mes "I-I'm trying to study!"; mes "No, wait. Have you been"; mes "calling me all this time?"; - set friendship,9; + friendship = 9; close; } mes "[Passionate Student]"; @@ -3341,7 +3341,7 @@ yuno_in04,168,117,3 script Book#lhz HIDDEN_NPC,{ close; } if (friendship == 10) { - set friendship,11; + friendship = 11; getitem 7351,1; //Friend's_Diary mes "^3355FFThis book is labeled,"; mes "''Benkaistein's Journal"; @@ -3364,11 +3364,11 @@ OnTouch_: if (countitem(7345) > 0 ) { if (lhz_curse == 0) { soundeffect "loli_ruri_stand.wav",0; - set lhz_curse,1; + lhz_curse = 1; setquest 2086; } else if (lhz_curse < 26) { - set @lhz_ghost,rand(1,5); + @lhz_ghost = rand(1,5); sc_start SC_CURSE,1000,0; soundeffect "loli_ruri_stand.wav",0; if (@lhz_ghost == 1) { @@ -3404,11 +3404,11 @@ OnTouch_: if (countitem(7345) > 0 ) { if (lhz_curse == 0) { soundeffect "tao_gunka_stand.wav",0; - set lhz_curse,1; + lhz_curse = 1; setquest 2086; } else if (lhz_curse < 26) { - set @lhz_ghost,rand(1,10); + @lhz_ghost = rand(1,10); sc_start SC_CURSE,1000,0; soundeffect "tao_gunka_stand.wav",0; if (@lhz_ghost == 1) { @@ -3444,11 +3444,11 @@ OnTouch_: if (countitem(7345) > 0 ) { if (lhz_curse == 0) { soundeffect "tao_gunka_stand.wav",0; - set lhz_curse,1; + lhz_curse = 1; setquest 2086; } else if (lhz_curse < 26) { - set @lhz_ghost,rand(1,10); + @lhz_ghost = rand(1,10); sc_start SC_CURSE,1000,0; soundeffect "tao_gunka_stand.wav",0; if (@lhz_ghost == 1) { @@ -3523,7 +3523,7 @@ OnTouch_: close2; sc_end SC_BLIND; sc_start SC_CURSE,5000,0; - if (!lhz_spi01) set lhz_spi01,1; + if (!lhz_spi01) lhz_spi01 = 1; } } end; @@ -3602,7 +3602,7 @@ OnTouch_: soundeffect "tao_gunka_stand.wav",0; sc_end SC_BLIND; sc_start SC_CURSE,5000,0; - if (!lhz_spi02) set lhz_spi02,1; + if (!lhz_spi02) lhz_spi02 = 1; } } end; @@ -3648,7 +3648,7 @@ OnTouch_: soundeffect "loli_ruri_stand.wav",0; sc_end SC_BLIND; sc_start SC_CURSE,3000,0; - if (!lhz_spi03) set lhz_spi03,1; + if (!lhz_spi03) lhz_spi03 = 1; } } end; @@ -3707,7 +3707,7 @@ OnTouch_: soundeffect "tao_gunka_stand.wav",0; sc_end SC_BLIND; sc_start SC_CURSE,5000,0; - if (!lhz_spi04) set lhz_spi04,1; + if (!lhz_spi04) lhz_spi04 = 1; } } end; @@ -3761,7 +3761,7 @@ OnTouch_: soundeffect "tao_gunka_stand.wav",0; sc_end SC_BLIND; sc_start SC_CURSE,3000,0; - if (lhz_curse == 6) set lhz_curse,7; + if (lhz_curse == 6) lhz_curse = 7; } } end; @@ -3845,7 +3845,7 @@ OnTouch_: soundeffect "tao_gunka_stand.wav",0; sc_end SC_BLIND; sc_start SC_CURSE,3000,0; - if (lhz_curse == 11) set lhz_curse,12; + if (lhz_curse == 11) lhz_curse = 12; } } end; @@ -3991,7 +3991,7 @@ lhz_que01,21,31,5 script #li_Varmunt 4_M_SAGE_C,{ mes "..."; mes "......"; mes "........."; - set lhz_curse,13; + lhz_curse = 13; close2; warp "lhz_in01",206,129; end; @@ -4126,7 +4126,7 @@ lhz_que01,29,24,3 script #li_researcher 4_M_SAGE_A,{ mes "..."; mes "......"; mes "........."; - set lhz_curse,13; + lhz_curse = 13; close2; warp "lhz_in01",206,129; end; @@ -4297,7 +4297,7 @@ lhz_que01,99,74,5 script #li_Man 1_M_02,{ mes "No matter how hard you try,"; mes "you can't open its clasp to see"; mes "what this pendant contains.^000000"; - set lhz_curse,17; + lhz_curse = 17; changequest 2090,2091; getitem 7341,1; //Worn_Out_Pendant close2; @@ -4443,7 +4443,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{ mes "I hope you can appease"; mes "the wrath of these spirits..."; mes "But as long as you let them guide you, you ought to be safe."; - set lhz_curse,6; + lhz_curse = 6; changequest 2086,2087; close; case 2: @@ -4500,7 +4500,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{ mes "It won't be long until"; mes "the spirits are consumed"; mes "by their supernatural rage..."; - set lhz_curse,18; + lhz_curse = 18; changequest 2091,2092; close; case 2: @@ -4563,7 +4563,7 @@ lighthalzen,346,263,3 script Elder#lhz 4_F_EINOLD,{ mes "revealing a picture of a happy"; mes "couple. Somehow, the girl in"; mes "the picture, sitting uncomfortably^FFFFFF^3355FF in an old chair, looks familiar...^000000"; - set lhz_curse,19; + lhz_curse = 19; changequest 2092,2093; delitem 523,5; //Holy_Water delitem 744,1; //Bunch_Of_Flowers @@ -4869,7 +4869,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "Well..."; mes "This is awkward."; delitem 7341,1; //Worn_Out_Pendant - set lhz_curse,24; + lhz_curse = 24; close; } else { @@ -4990,7 +4990,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "Sheesh."; mes "Don't kill the"; mes "messenger."; - set lhz_curse,20; + lhz_curse = 20; close2; warp "lighthalzen",322,323; end; @@ -5083,7 +5083,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "["+strcharinfo(0)+"]"; mes "Yes, I'm sure of that."; delitem 7341,1; //Worn_Out_Pendant - set lhz_curse,25; + lhz_curse = 25; close; case 2: mes "["+strcharinfo(0)+"]"; @@ -5120,7 +5120,7 @@ lhz_in03,32,162,3 script Crippled Girl#li_tre 1_M_INNKEEPER,{ mes "[Setsu]"; mes "I'll try hard!"; delitem 7341,1; //Worn_Out_Pendant - set lhz_curse,25; + lhz_curse = 25; close; } } @@ -5161,7 +5161,7 @@ lighthalzen,324,322,0 script #li_door WARPNPC,2,2,{ OnTouch_: if ((lhz_curse > 19) && (lhz_curse < 23)) { mes "^3355FFThe door is locked.^000000"; - set lhz_curse,lhz_curse+1; + lhz_curse = lhz_curse+1; close; } else if (lhz_curse > 23) { @@ -5187,7 +5187,7 @@ OnTouch_: end; } -lhz_in03,12,162,0 warp #to_lhz 1,1,lighthalzen,321,322 +lhz_in03,12,162,0 warp #to_lhz 1,1,lighthalzen,321,322 lighthalzen,319,321,0 script #li_bother -1,2,2,{ //3,3 OnTouch_: @@ -5226,7 +5226,7 @@ OnTouch_: mes "is tied to the ^FF0000Rekenber"; mes "Corporation^000000 and that"; mes "^FF0000Regenschirm Laboratory^000000."; - set lhz_curse,26; + lhz_curse = 26; changequest 2093,2094; if (checkre(3)) { if (BaseLevel < 70) getexp 30000,30000; @@ -5326,7 +5326,7 @@ lhz_in01,114,181,5 script Representative#li_01 1_F_LIBRARYGIRL,{ mes "the hallway to the left in"; mes "order to find our Library."; mes "Thank you and have a nice day."; - set lhz_curse,8; + lhz_curse = 8; changequest 2087,2088; close; } @@ -5440,8 +5440,8 @@ lhz_in01,27,247,5 script Representative#li_02 1_F_LIBRARYGIRL,{ mes "Regenschirm. It was his work"; mes "in science that enabled the"; mes "Rekenber Corporation to grow into the nation's biggest company."; - if (lhz_curse == 8) set lhz_curse,9; - else if (lhz_curse == 9) set lhz_curse,10; + if (lhz_curse == 8) lhz_curse = 9; + else if (lhz_curse == 9) lhz_curse = 10; next; break; case 2: @@ -5459,8 +5459,8 @@ lhz_in01,27,247,5 script Representative#li_02 1_F_LIBRARYGIRL,{ mes "you can imagine. Remember"; mes "that Rekenber is the name"; mes "that you can trust."; - if (lhz_curse == 8) set lhz_curse,9; - else if (lhz_curse == 9) set lhz_curse,10; + if (lhz_curse == 8) lhz_curse = 9; + else if (lhz_curse == 9) lhz_curse = 10; next; break; } @@ -5575,7 +5575,7 @@ lhz_in01,25,251,3 script Rekenber Guidebook#li HIDDEN_NPC,{ mes "by making the ancient power"; mes "of the gods more accessible"; mes "by means of new technologies."; - if (lhz_curse == 10) set lhz_curse,11; + if (lhz_curse == 10) lhz_curse = 11; next; mes ".............."; close; @@ -5604,7 +5604,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{ mes "I've fired? Get lost, or I'll"; mes "treat you to the pain of"; mes "being eaten alive!"; - set lhz_curse,14; + lhz_curse = 14; close; } } @@ -5632,7 +5632,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{ mes "thing I must collect. Yes, yes."; mes "Here's a hint... It's round..."; mes "Shiny... Kids love playing games with them! Oh, I said too much!"; - set lhz_curse,15; + lhz_curse = 15; changequest 2089,2090; close; case 2: @@ -5715,7 +5715,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{ mes "them. Not that I cause them"; mes "undue suffering or anything..."; next; - set .@exit,1; + .@exit = 1; break; } if (.@exit) break; @@ -5755,7 +5755,7 @@ lhz_in01,273,121,1 script Mad Scientist#li 4_LGTSCIENCE,{ mes "on schedule. I can't afford"; mes "the leisure of speaking with"; mes "you any longer. Bweh heh heh!"; - set lhz_curse,16; + lhz_curse = 16; close; } else { @@ -5798,7 +5798,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "specifically targeted that"; mes "area in order to provide ample"; mes "opportunity for employment."; - set lhz_curse,27; + lhz_curse = 27; close; case 2: mes "[Sueii Slierre]"; @@ -5833,7 +5833,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "to assist you if you have"; mes "more inquiries regarding"; mes "the Regenschirm Laboratory."; - set lhz_curse,28; + lhz_curse = 28; close; case 2: mes "[Sueii Slierre]"; @@ -6050,7 +6050,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "merits an investigation."; mes "I'll let you know if we"; mes "find anything significant..."; - set lhz_curse,30; + lhz_curse = 30; close; } else { @@ -6060,7 +6060,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "seem to be carrying anything"; mes "that can be construed as proof."; mes "I suggest you bring something that actually supports your claim."; - set lhz_curse,29; + lhz_curse = 29; close; } break; @@ -6070,7 +6070,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "I'd like to get back on"; mes "task. Please excuse me."; close2; - set lhz_curse,30; + lhz_curse = 30; end; } break; @@ -6158,7 +6158,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "merits an investigation."; mes "I'll let you know if we"; mes "find anything significant..."; - set lhz_curse,30; + lhz_curse = 30; close; } else { @@ -6169,14 +6169,14 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "allay my doubts about your"; mes "claim. Now, if you'll excuse"; mes "me, I need to get back on task."; - set lhz_curse,29; + lhz_curse = 29; close2; warp "lhz_in01",228,226; end; } } else if (lhz_curse == 30) { - set .@li_keka,rand(1,10); + .@li_keka = rand(1,10); if (.@li_keka > 7) { if (checkweight(1201,1) == 0) { mes "[Sueii Slierre]"; @@ -6218,7 +6218,7 @@ lhz_in01,286,226,3 script Secretary Slierre#li 4_F_ZONDAGIRL,{ mes "on people! Anyway, please"; mes "accept this as a token of"; mes "our gratitude, adventurer."; - set lhz_curse,31; + lhz_curse = 31; changequest 2094,2095; getitem 603,1; //Old_Blue_Box getitem 12016,10; //Speed_Up_Potion @@ -6271,7 +6271,7 @@ OnTouch_: mes "his stacks of well organized"; mes "files remain here in the lab.^000000"; if (lhz_curse == 31) { - set lhz_curse,32; + lhz_curse = 32; completequest 2095; } close; @@ -6389,7 +6389,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "Ha ha ha!"; mes "Anyway, I hope you"; mes "have a good day today~"; - set lhz_boss,1; + lhz_boss = 1; close; } else if(lhz_boss == 1) @@ -6453,7 +6453,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "have mistaken me"; mes "for somebody else!"; mes "Now, if you'll excuse me..."; - set lhz_boss,3; + lhz_boss = 3; next; mes "^3355FFEven if it wasn't"; mes "Ghalstein that you"; @@ -6533,7 +6533,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "some time to think"; mes "about how I can best"; mes "handle this situation."; - set lhz_boss,4; + lhz_boss = 4; close; case 2: @@ -6715,7 +6715,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "I'll give you a moment to"; mes "steady yourself before we"; mes "talk about our mission."; - set lhz_boss,5; + lhz_boss = 5; close; } break; @@ -6732,7 +6732,6 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ { case 1: break; - case 2: mes "[Ghalstein]"; mes "Very good."; @@ -6753,7 +6752,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "I'll give you a moment to"; mes "steady yourself before we"; mes "talk about our mission."; - set lhz_boss,5; + lhz_boss = 5; close; } @@ -6791,7 +6790,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "thoughts hazier until it begins"; mes "to feel like your entire mind"; mes "is getting bleached somehow.^000000"; - set lhz_boss,0; + lhz_boss = 0; close2; warp "lighthalzen",217,313; end; @@ -6851,7 +6850,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "maybe you can find a"; mes "contact who can sneak"; mes "you inside the Laboratory."; - set lhz_boss,6; + lhz_boss = 6; changequest 12015,12016; close; } @@ -6901,7 +6900,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ delitem 7346,1; //Pile_Of_Ymir_Heart delitem 7347,10; //Lab_Staff_Record delitem 7345,10; //Armlet_Of_Prisoner - set lhz_boss,8; + lhz_boss = 8; getitem 7348,1; //Indication_Of_Member01 changequest 12016,12017; close; @@ -7001,7 +7000,7 @@ lighthalzen,179,170,4 script Ordinary Man 4W_M_02,{ mes "to do so much, but ultimately,"; mes "we weren't able to accomplish"; mes "what we set out to do. Still..."; - set lhz_boss,44; + lhz_boss = 44; getitem 617,1; //Old_Violet_Box getexp (checkre(3))?180000:1800000,0; completequest 12028; @@ -7054,7 +7053,6 @@ OnTouch: mes "awfully familiar..."; mes "But what do I care?)"; close; - case 2: mes "["+strcharinfo(0)+"]"; mes "(This is too weird."; @@ -7106,7 +7104,7 @@ OnTouch: mes "Whoever it belonged"; mes "to is gone! What's"; mes "going on here?^000000"; - set lhz_boss,2; + lhz_boss = 2; setquest 12015; close; } @@ -7186,7 +7184,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{ mes "you're the one I've been"; mes "waiting here for. Alright,"; mes "just give me a second..."; - set lhz_boss,9; + lhz_boss = 9; close; case 2: @@ -7253,7 +7251,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{ mes "bring back any information"; mes "he may have for us. Remember,"; mes "because of his position, you can only see him during certain hours."; - set lhz_boss,10; + lhz_boss = 10; close; } else if(lhz_boss == 10) @@ -7278,7 +7276,7 @@ yuno_fild04,165,245,4 script Dismal Guy 4_M_ORIENT02,{ mes "you'll only be allowed to see"; mes "him from ^FF00008:00 PM to 11:00 PM^000000,"; mes "and from ^FF000011:00 AM to 2:00PM PST^000000.Good luck on this mission, friend."; - set lhz_boss,11; + lhz_boss = 11; changequest 12017,12018; close; } @@ -7482,7 +7480,7 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{ mes "to trouble you. Thank"; mes "you so much for your help."; delitem 7342,1; - set lhz_boss,17; + lhz_boss = 17; close; } else if(lhz_boss < 21) @@ -7510,33 +7508,33 @@ yuno_pre,69,20,4 script Secretary#1 4_F_LGTGIRL,{ else if(hg_tre == 56) { mes "[Hes O'Neil]"; - mes "The President has given the order that "; - mes "nobody is allowed to enter this place."; - next; - mes "["+strcharinfo(0)+"]"; - mes "However, you will change your mind after listening to my explanation."; - next; - mes "[Hes O'Neil]"; - mes "..............."; - mes "Is it something very important?"; - next; - mes "["+strcharinfo(0)+"]"; - mes "It is the most important thing."; - next; - mes "[Hes O'Neil]"; - mes "Alright then, there you go."; - mes "(Whisper) I hope you will become his source of strength."; - close2; - warp "yuno_pre",113,53; - end; + mes "The President has given the order that "; + mes "nobody is allowed to enter this place."; + next; + mes "["+strcharinfo(0)+"]"; + mes "However, you will change your mind after listening to my explanation."; + next; + mes "[Hes O'Neil]"; + mes "..............."; + mes "Is it something very important?"; + next; + mes "["+strcharinfo(0)+"]"; + mes "It is the most important thing."; + next; + mes "[Hes O'Neil]"; + mes "Alright then, there you go."; + mes "(Whisper) I hope you will become his source of strength."; + close2; + warp "yuno_pre",113,53; + end; } else if(hg_tre > 56) { mes "[Hes O'Neil]"; mes "The president said that you're welcome to visit him anytime."; close2; - warp "yuno_pre",113,53; - end; + warp "yuno_pre",113,53; + end; } else { @@ -7567,7 +7565,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{ } else if(lhz_boss == 11 || lhz_boss == 12) { - if(lhz_boss == 12) set @visit_pre,rand(1,10); + if(lhz_boss == 12) @visit_pre = rand(1,10); if(@visit_pre == 7) { mes "[?????]"; @@ -7610,7 +7608,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{ mes "[Guard]"; mes "Take care,"; mes "Mr. Keshnaar."; - set lhz_boss,13; + lhz_boss = 13; disablenpc "A Fine Gentleman"; close; @@ -7620,7 +7618,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{ mes "Currently, the president"; mes "is seeing another guest."; mes "Thank you for your patience."; - if(lhz_boss == 11) set lhz_boss,12; + if(lhz_boss == 11) lhz_boss = 12; close; } else if(lhz_boss == 13) @@ -7663,7 +7661,7 @@ yuno_pre,95,71,5 script Guard 4_M_EIN_SOLDIER,{ mes "the Rekenber Corporation."; mes "He often visits the president"; mes "to discuss various issues."; - set lhz_boss,14; + lhz_boss = 14; close; } } @@ -7851,7 +7849,7 @@ L_Mission: mes "Alright, give me a second"; mes "to search for this file before"; mes "I explain the mission."; - set lhz_boss,15; + lhz_boss = 15; close2; cutin "",255; end; @@ -7881,7 +7879,7 @@ L_Mission: mes "folder to ^FF0000Ms. Hes O'Neil^000000"; mes "for me before you leave."; mes "Thank you very much."; - set lhz_boss,16; + lhz_boss = 16; getitem 7342,1; //File01 changequest 12018,12019; close2; @@ -7938,7 +7936,7 @@ L_Mission: mes "say that with pride. L-let"; mes "me check the files a minute..."; delitem 7343,1; - set lhz_boss,22; + lhz_boss = 22; close2; cutin "",255; end; @@ -7985,8 +7983,8 @@ L_Mission: mes "to discover Shinokas before"; mes "we can get him to talk."; changequest 12022,12023; - if(Shinokas_Quest == 11) set lhz_boss,24; - else set lhz_boss,23; + if(Shinokas_Quest == 11) lhz_boss = 24; + else lhz_boss = 23; close2; cutin "",255; end; @@ -8047,7 +8045,7 @@ L_Mission: mes "She'll know exactly"; mes "who you are and"; mes "how to help you."; - set lhz_boss,26; + lhz_boss = 26; completequest 12023; setquest 12024; close2; @@ -8160,7 +8158,7 @@ L_Mission: mes "new developments in the"; mes "investigation involving"; mes "Shinokas and his secret..."; - set lhz_boss,25; + lhz_boss = 25; close2; cutin "",255; end; @@ -8205,7 +8203,7 @@ L_Mission: mes "She'll know exactly"; mes "who you are and"; mes "how to help you."; - set lhz_boss,26; + lhz_boss = 26; completequest 12023; setquest 12024; close2; @@ -8283,7 +8281,7 @@ L_Mission: mes "received some critically"; mes "important intel to give you."; delitem 7344,1; - set lhz_boss,38; + lhz_boss = 38; close2; cutin "",255; end; @@ -8343,7 +8341,7 @@ L_Mission: mes "know more about how"; mes "all of this happened..."; delitem 7343,1; - set lhz_boss,40; + lhz_boss = 40; close2; cutin "",255; end; @@ -8375,7 +8373,7 @@ L_Mission: mes "...Yes, sir."; mes "Right away."; next; - set lhz_boss,42; + lhz_boss = 42; close2; cutin "",255; end; @@ -8480,7 +8478,7 @@ L_Mission: mes "here too. Go and talk to"; mes "^3355FFGhalstein^000000 again. It's time"; mes "we let you loose, adventurer."; - set lhz_boss,43; + lhz_boss = 43; completequest 12028; close2; cutin "",255; @@ -8571,7 +8569,7 @@ L_Mission: mes "[Karl]"; mes "Thank you so much. "; mes "You can count on me to right what was wrong."; - set hg_tre,57; + hg_tre = 57; delitem 7342,1; //File01 getexp (checkre(3))?200000:2000000,0; getitem 617,1; @@ -8894,7 +8892,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{ mes "He's seriously wounded,"; mes "so please hurry before"; mes "the enemy can get to him..."; - set lhz_boss,18; + lhz_boss = 18; changequest 12019,12020; close; } @@ -8970,7 +8968,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{ mes "sacrifice before we can allow ourselves the luxury of mourning"; mes "our loss. Let me read these files first before you deliver them..."; delitem 7343,1; - set lhz_boss,20; + lhz_boss = 20; close; } else if(lhz_boss == 20) @@ -8982,7 +8980,7 @@ aldeba_in,155,240,5 script Kafra Employee#l2 4_F_AGENTKAFRA,{ mes "whom I am talking about."; mes "The Secret Wing is counting"; mes "on you, brave adventurer."; - set lhz_boss,21; + lhz_boss = 21; getitem 7343,1; //File02 changequest 12021,12022; next; @@ -9071,7 +9069,7 @@ lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{ mes "If you came a little later,"; mes "I'd be a goner. H-here,"; mes "t-take this with you..."; - set lhz_boss,19; + lhz_boss = 19; getitem 7343,1; //File02 changequest 12020,12021; next; @@ -9095,7 +9093,6 @@ lhz_fild02,228,214,0 script Wounded Man 4_M_DIEMAN,{ mes "Jargeah just passed"; mes "out in a very ugly way."; close; - case 2: mes "^3355FFAnd so you left the"; mes "wounded man alone. Not"; @@ -9188,7 +9185,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{ mes "He'll explain everything else,"; mes "so be careful and don't let"; mes "them get suspicious of you!"; - set lhz_boss,27; + lhz_boss = 27; changequest 12024,12025; close2; disablenpc "Mysterious Woman"; @@ -9227,7 +9224,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{ mes "have to check on the president"; mes "for me first. Plus, this new"; mes "intel needs to be confirmed..."; - set lhz_boss,37; + lhz_boss = 37; close2; disablenpc "Mysterious Woman"; end; @@ -9254,7 +9251,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{ mes "you've got to give this"; mes "file to the president as"; mes "quickly as you can. Hurry!"; - set lhz_boss,39; + lhz_boss = 39; getitem 7343,1; close2; disablenpc "Mysterious Woman"; @@ -9333,7 +9330,7 @@ lhz_fild01,66,219,4 script Mysterious Woman 4_F_AGENTKAFRA,{ mes "[Esuna]"; mes "For now, this is"; mes "goodbye. Take care..."; - set lhz_boss,41; + lhz_boss = 41; changequest 12027,12028; close2; disablenpc "Mysterious Woman"; @@ -9497,7 +9494,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{ mes "but you'll only be able to"; mes "stick around for 3 minutes"; mes "at a time. The Secret Archive is to the right of this laboratory."; - set lhz_boss,28; + lhz_boss = 28; getitem 7349,1; //Indication_Of_Member02 changequest 12025,12026; next; @@ -9591,7 +9588,7 @@ lhz_in01,285,169,3 script Researcher#2 4_LGTSCIENCE,{ mes "found her last time. She'll"; mes "know that you're coming."; delitem 7349,1; //Indication_Of_Member02 - set lhz_boss,36; + lhz_boss = 36; changequest 12026,12027; close; } @@ -9615,7 +9612,7 @@ lhz_in01,187,31,0 script #Sneak HIDDEN_NPC,4,3,{ OnTouch: if((lhz_boss > 27) && (lhz_boss < 35)) { - set @sneaktime,gettimetick(0) % 100; + @sneaktime = gettimetick(0) % 100; if((@sneaktime > 10 && @sneaktime < 59) || (@sneaktime < -10 && @sneaktime > -59)) { mes "^3355FFAs you approach"; @@ -9701,7 +9698,7 @@ L_Enter: mes "will be automatically sent"; mes "outside for security reasons."; close2; - set lhz_boss,29; + lhz_boss = 29; donpcevent "Timer_Sneak::OnEnter"; warp "lhz_in01",177,35; end; @@ -9721,7 +9718,7 @@ L_Enter: mes "screech after you input"; mes "the password. You really"; mes "should try to input it again.^000000"; - set @sneakerror,@sneakerror +1; + ++@sneakerror; next; if(@sneakerror > 2) { @@ -9824,7 +9821,7 @@ L_Search: mes "Kafra Corporation and"; mes "Cool Event Corp are"; mes "located in Arena 3-2.^000000"; - set lhz_boss,30; + lhz_boss = 30; close; } else if(@sneaksearch$ == "shinokas") @@ -9833,7 +9830,7 @@ L_Search: mes "Documents regarding"; mes "Shinokas are located"; mes "in Arena 1-5.^000000"; - set lhz_boss,31; + lhz_boss = 31; close; } else if((@sneaksearch$ == "stein") || (@sneaksearch$ == "STEIN") || (@sneaksearch$ == "S.T.E.I.N")) @@ -9865,7 +9862,7 @@ L_Search: mes "more highly classified files"; mes "on Weierstrass, please use"; mes "a higher security archive.^000000"; - set lhz_boss,32; + lhz_boss = 32; close; } else if(@sneaksearch$ == "einbroch") @@ -9874,7 +9871,7 @@ L_Search: mes "Documents regarding"; mes "Einbroch are stored"; mes "in Area 6-1.^000000"; - set lhz_boss,33; + lhz_boss = 33; close; } else if(@sneaksearch$ == "lighthalzen") @@ -9883,7 +9880,7 @@ L_Search: mes "Documents regarding"; mes "Lighthalzen are stored"; mes "in Area 3-3.^000000"; - set lhz_boss,34; + lhz_boss = 34; close; } else if(@sneaksearch$ == "rekenber") @@ -10003,7 +10000,7 @@ lhz_in01,184,40,0 script Area 1-5 HIDDEN_NPC,{ mes "of Ymir's Heart. Apparently,"; mes "a beast from Einbroch folk"; mes "lore inhabited the area...^000000"; - set lhz_boss,35; + lhz_boss = 35; getitem 7344,1; close; } @@ -10280,7 +10277,7 @@ lhz_dun02,282,278,0 script Broken Machine HIDDEN_NPC,{ mes "He was probably right"; mes "not to describe it to you."; mes "Words alone aren't enough...^000000"; - set lhz_boss,7; + lhz_boss = 7; getitem 7346,1; close; @@ -10321,10 +10318,10 @@ sec_in02,17,170,4 script boss::lght_boss_admin 1_M_SIGNMONK,{ break; case 2: input .@input,0,1000; - set lght_boss,.@input; + lght_boss = .@input; break; case 3: - set Shinokas_Quest,11; + Shinokas_Quest = 11; close; } mes " "; @@ -10499,7 +10496,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "Damn it! Just... Don't come"; mes "back. I can't work like this..."; next; - set lhz_rekenber,22; + lhz_rekenber = 22; getexp (checkre(3))?55000:550000,0; completequest 12013; cutin "lhz_kaz01",2; @@ -10584,7 +10581,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "that, can't you? Anyway, you"; mes "can handle those thugs, right?"; next; - set lhz_rekenber,17; + lhz_rekenber = 17; getexp (checkre(3))?45000:450000,0; cutin "lhz_kaz10",2; mes "[Kazien]"; @@ -10676,7 +10673,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "another package destined"; mes "for the Rune-Midgarts Kingdom."; next; - set lhz_rekenber,12; + lhz_rekenber = 12; changequest 5005,5006; getexp (checkre(3))?40000:400000,0; cutin "lhz_kaz03",2; @@ -10731,7 +10728,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "he asks you to do, come back"; mes "to me for another job, okay?"; next; - set lhz_rekenber,8; + lhz_rekenber = 8; changequest 12008,12010; cutin "lhz_kaz01",2; mes "[Kazien]"; @@ -10756,7 +10753,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "remember at all. Oooh, I hate"; mes "being this busy, I can't focus!"; next; - set lhz_rekenber,0; + lhz_rekenber = 0; erasequest 12009; mes "[Kazien]"; mes "Arrgh, this is not good."; @@ -10852,7 +10849,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "me! How am I supposed"; mes "to trust you now?"; next; - set lhz_rekenber,7; + lhz_rekenber = 7; cutin "lhz_kaz06",2; mes "[Kazien]"; mes "Oh... You..."; @@ -10889,7 +10886,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "Laboratory Guard, but"; mes "he wouldn't even let me in."; next; - set lhz_rekenber,6; + lhz_rekenber = 6; changequest 12008,12009; cutin "lhz_kaz10",2; mes "[Kazien]"; @@ -10975,7 +10972,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ mes "his order^000000. We pride ourselves"; mes "in our clients' confidentiality, so keep it secret, got it?"; next; - set lhz_rekenber,3; + lhz_rekenber = 3; changequest 12007,12008; mes "[Kazien]"; mes "I'll just be waiting"; @@ -11043,7 +11040,7 @@ lhz_in01,174,258,3 script Young Man#reken 4_M_LGTGUARD,{ switch( select( "Yes, of course.","Nope, I love giving away secrets." ) ) { case 1: - set lhz_rekenber,2; + lhz_rekenber = 2; mes "[Kazien]"; mes "Great, great."; mes "I guess we can just"; @@ -11106,7 +11103,7 @@ lighthalzen,141,162,3 script Old Man#reken 4_M_03,{ mes "required for some positions."; next; if(!lhz_rekenber) { - set lhz_rekenber,1; + lhz_rekenber = 1; setquest 12007; } mes "[Old Man]"; @@ -11162,7 +11159,7 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{ mes "working here. Anyway,"; mes "I still can't allow you to"; mes "enter the laboratory."; - set lhz_rekenber,4; + lhz_rekenber = 4; changequest 12008,12010; close; @@ -11174,11 +11171,10 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{ mes "trouble getting past this"; mes "guard. Otherwise, I might"; mes "never finish this job!^000000)"; - set lhz_rekenber,5; + lhz_rekenber = 5; changequest 12008,12010; close; } - case 2: mes "[" + strcharinfo(0) + "]"; mes "Whoa, I'm leaving!"; @@ -11187,7 +11183,7 @@ einbroch,55,52,3 script Laboratory Guard#reken 852,{ mes "trouble getting past this"; mes "guard. Otherwise, I might"; mes "never finish this job!^000000)"; - set lhz_rekenber,5; + lhz_rekenber = 5; changequest 12008,12010; close; } @@ -11276,7 +11272,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "idea, then I don't wanna find"; mes "out for myself. Oh, hey..."; next; - set lhz_rekenber,20; + lhz_rekenber = 20; getitem 504,1; //White_Potion cutin "lhz_ryo12",2; mes "[Lyozien]"; @@ -11310,7 +11306,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "let them damage the packages!"; close2; cutin "",255; - set lhz_rekenber,19; + lhz_rekenber = 19; donpcevent "#bully2::OnEnter"; donpcevent "Man#Lyozien::OnStop"; end; @@ -11342,7 +11338,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "boxes, I don't ever wanna"; mes "disappoint him, you know?"; next; - set lhz_rekenber,18; + lhz_rekenber = 18; cutin "lhz_ryo10",2; mes "[Lyozien]"; mes "Anyway, that's"; @@ -11384,7 +11380,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "to know. Man, it's good"; mes "that you're working for us."; mes "Those thugs frighten me..."; - set lhz_rekenber,16; + lhz_rekenber = 16; cutin "lhz_ryo01",2; mes "[Lyozien]"; mes "Now I feeel much more secure."; @@ -11433,7 +11429,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "or that the packages must"; mes "be destroyed. Boy, I sure"; mes "am glad that you're here!"; - set lhz_rekenber,14; + lhz_rekenber = 14; close2; cutin "",255; end; @@ -11468,7 +11464,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "sure they don't get them!"; close2; cutin "",255; - set lhz_rekenber,13; + lhz_rekenber = 13; donpcevent "Man#Lyozien::OnStop"; donpcevent "#bully1::OnEnter"; end; @@ -11521,7 +11517,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "sort of situation, right? You"; mes "know, embarassing orders..."; next; - set lhz_rekenber,11; + lhz_rekenber = 11; changequest 12011,12012; cutin "lhz_ryo01",2; mes "[Lyozien]"; @@ -11604,7 +11600,7 @@ airplane_01,96,48,3 script Man#Lyozien 4_M_LGTGUARD,{ mes "to go to Izlude, find Mr. Ahman"; mes "at the Airport, and tell him that his orders have safely arrived."; next; - set lhz_rekenber,9; + lhz_rekenber = 9; changequest 12010,12011; cutin "lhz_ryo11",2; mes "[Lyozien]"; @@ -11678,7 +11674,7 @@ OnStop: mes "time to relax on the Airship."; mes "Oh, and don't worry, I'll"; mes "take care of the packages."; - set lhz_rekenber,21; + lhz_rekenber = 21; close; } else if (lhz_rekenber > 15 && lhz_rekenber < 20) @@ -11723,7 +11719,7 @@ OnStop: mes "I had some idea of what"; mes "they were up to, really."; next; - set lhz_rekenber,15; + lhz_rekenber = 15; mes "[Ahman]"; mes "For now, you should"; mes "go and report to Lyozien."; @@ -11809,7 +11805,7 @@ OnStop: mes "worry about it. Thank you for"; mes "notifying me about the delivery.^FFFFFF ^000000 Now, you should go back and "; mes "tell Lyozien. Take care now~"; - set lhz_rekenber,10; + lhz_rekenber = 10; changequest 12012,12013; close; } @@ -11827,21 +11823,21 @@ airplane_01,1,1,1 script #bully1 -1,{ OnInit: disablenpc "#bully1"; end; - + OnEnter: enablenpc "#bully1"; initnpctimer; monster "airplane_01",96,53,"Thug",1592,1,"#bully1::OnMyMobDead"; monster "airplane_01",87,47,"Thug",1592,1,"#bully1::OnMyMobDead"; - set .bullymobs,2; + .bullymobs = 2; end; - + OnReset: killmonster "airplane_01","#bully1::OnMyMobDead"; end; OnMyMobDead: - set .bullymobs,.bullymobs -1; + --.bullymobs; if(.bullymobs < 1) { mes "[Bully]"; @@ -11856,7 +11852,7 @@ OnMyMobDead: stopnpctimer; } end; - + OnTimer120000: donpcevent "#bully1::OnReset"; donpcevent "#bully1::OnInit"; @@ -11870,22 +11866,22 @@ airplane_01,2,2,1 script #bully2 -1,{ OnInit: disablenpc "#bully2"; end; - + OnEnter: enablenpc "#bully2"; initnpctimer; monster "airplane_01",96,53,"Thug",1592,1,"#bully2::OnMyMobDead"; monster "airplane_01",87,47,"Thug",1592,1,"#bully2::OnMyMobDead"; monster "airplane_01",97,43,"Thug",1592,1,"#bully2::OnMyMobDead"; - set .bullymobs,3; + .bullymobs = 3; end; - + OnReset: killmonster "airplane_01","#bully2::OnMyMobDead"; end; OnMyMobDead: - set .bullymobs,.bullymobs -1; + --.bullymobs; if(.bullymobs < 1) { mes "^3355FFHey-- there's a slit"; @@ -11899,7 +11895,7 @@ OnMyMobDead: stopnpctimer; } end; - + OnTimer120000: donpcevent "#bully2::OnReset"; donpcevent "#bully2::OnInit"; @@ -11910,7 +11906,7 @@ OnTimer120000: airplane_01,99,47,3 script #packidentity HIDDEN_WARP_NPC,2,2,{ end; - + OnInit: disablenpc "#packidentity"; end; @@ -11961,7 +11957,7 @@ OnTouch: mes "[Kazien]"; mes "Answer me! Answer me! Answer meee!"; next; - set lhz_rekenber,23; + lhz_rekenber = 23; cutin "",255; mes "[" + strcharinfo(0) + "]"; mes ".............Damn it."; @@ -11997,7 +11993,7 @@ OnTouch: mes "is world peace if I'm not even"; mes "alive to enjoy it, huh?"; next; - set lhz_rekenber,23; + lhz_rekenber = 23; cutin "",255; mes "[" + strcharinfo(0) + "]"; mes "......"; @@ -12014,7 +12010,7 @@ airplane_01,10,10,3 script #LyozienSwitch HIDDEN_NPC,{ mes "Input password."; mes "Enter 0 to cancel."; next; - set .@i, callfunc("F_GM_NPC",1028,0,0,4000); + .@i = callfunc("F_GM_NPC",1028,0,0,4000); if (.@i == -2) { mes "[Lyozien Switch]"; mes "Incorrect."; @@ -12033,11 +12029,11 @@ airplane_01,10,10,3 script #LyozienSwitch HIDDEN_NPC,{ next; switch(select("On:OFF")) { case 1: - set .@str$,"activated"; + .@str$ = "activated"; donpcevent "Man#Lyozien::OnEnable"; break; case 2: - set .@str$,"deactivated"; + .@str$ = "deactivated"; donpcevent "Man#Lyozien::OnDisable"; break; } |