summaryrefslogtreecommitdiff
path: root/npc/quests/quests_juperos.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2014-10-26 07:16:21 +0100
committerHaru <haru@dotalux.com>2014-11-02 01:36:52 +0100
commitc62b4c3e8e178f8ba1de240b9d67a664ef128ace (patch)
treede36f22718fe4533ea81e1d02093263005a30224 /npc/quests/quests_juperos.txt
parent54604096ac53398778a5481613061216fe47e5bc (diff)
downloadhercules-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_juperos.txt')
-rw-r--r--npc/quests/quests_juperos.txt250
1 files changed, 125 insertions, 125 deletions
diff --git a/npc/quests/quests_juperos.txt b/npc/quests/quests_juperos.txt
index e842882fe..e2a28024c 100644
--- a/npc/quests/quests_juperos.txt
+++ b/npc/quests/quests_juperos.txt
@@ -143,7 +143,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "service of his royal majesty,";
mes "the wise and benevolent";
mes "King Tristram III.";
- set yuno_hist,2;
+ yuno_hist = 2;
next;
mes "[Fayruz]";
mes "Well, "+strcharinfo(0)+",";
@@ -246,7 +246,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "''You will see him, the one";
mes "who was vain and extravagant,";
mes "with your own eyes at the place where the light passes through.";
- set yuno_hist,4;
+ yuno_hist = 4;
next;
mes "[Fayruz]";
mes "Ah, usually, descriptions";
@@ -407,7 +407,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "last time is really helping me";
mes "in my research. If you get the";
mes "chance, please bring me more!";
- set yuno_hist,7;
+ yuno_hist = 7;
next;
mes "[Fayruz]";
mes "This new data is adding";
@@ -458,7 +458,7 @@ yuno_in04,190,125,4 script Scholar 8_F_GIRL,{
mes "Alright. Okay. Yes.";
mes "Yes! Of course, how";
mes "could I not see it before!";
- set yuno_hist,9;
+ yuno_hist = 9;
next;
mes "[Fayruz]";
mes "I'll be with you";
@@ -576,8 +576,8 @@ function script Func_JupHist {
mes "and you awaken from the trance,";
mes "gently brought back to reality.^000000";
delitem getarg(0),1;
- set yuno_hist,5;
- set jupe_hist,getarg(1);
+ yuno_hist = 5;
+ jupe_hist = getarg(1);
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -640,20 +640,20 @@ function script Func_JupHist {
mes "mankind that can't be ignored.";
if (countitem(getarg(0))) {
delitem getarg(0),1;
- if (getarg(0) == 7352) set jupe_hist,jupe_hist +1;
- else set jupe_hist,jupe_hist +2;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else jupe_hist += 2;
}
else if (countitem(getarg(1))) {
delitem getarg(1),1;
- if (getarg(1) == 7353) set jupe_hist,jupe_hist +2;
- else set jupe_hist,jupe_hist +4;
+ if (getarg(1) == 7353) jupe_hist += 2;
+ else jupe_hist += 4;
}
else {
delitem getarg(2),1;
- if (getarg(2) == 7354) set jupe_hist,jupe_hist +4;
- else set jupe_hist,jupe_hist +8;
+ if (getarg(2) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
}
- set yuno_hist,6;
+ yuno_hist = 6;
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -767,17 +767,17 @@ function script Func_JupHist {
mes "like the strange and grotesque.";
if (countitem(getarg(0))) {
delitem getarg(0),1;
- if (getarg(0) == 7352) set jupe_hist,jupe_hist +1;
- else if (getarg(0) == 7353) set jupe_hist,jupe_hist +2;
- else set jupe_hist,jupe_hist +4;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else if (getarg(0) == 7353) jupe_hist += 2;
+ else jupe_hist += 4;
}
else if (countitem(getarg(1))) {
delitem getarg(1),1;
- if (getarg(1) == 7353) set jupe_hist,jupe_hist +2;
- else if (getarg(1) == 7354) set jupe_hist,jupe_hist +4;
- else set jupe_hist,jupe_hist +8;
+ if (getarg(1) == 7353) jupe_hist += 2;
+ else if (getarg(1) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
}
- set yuno_hist,8;
+ yuno_hist = 8;
getexp (checkre(3))?10000:100000,0;
next;
mes "[Fayruz]";
@@ -869,11 +869,11 @@ function script Func_JupHist {
mes "feeling of indefatigable";
mes "hope and inspiration...";
mes "You can make it if you try!^000000";
- if (getarg(0) == 7352) set jupe_hist,jupe_hist+1;
- else if (getarg(0) == 7353) set jupe_hist,jupe_hist+2;
- else if (getarg(0) == 7354) set jupe_hist,jupe_hist+4;
- else set jupe_hist,jupe_hist+8;
- set yuno_hist,10;
+ if (getarg(0) == 7352) jupe_hist += 1;
+ else if (getarg(0) == 7353) jupe_hist += 2;
+ else if (getarg(0) == 7354) jupe_hist += 4;
+ else jupe_hist += 8;
+ yuno_hist = 10;
delitem getarg(0),1;
getexp (checkre(3))?10000:100000,0;
next;
@@ -1134,7 +1134,7 @@ yuno_in04,186,125,4 script Bundle of Files HIDDEN_NPC,{
mes "may be able to learn much";
mes "from that ancient city's ruins.";
mes "..................^000000";
- if (!yuno_hist) set yuno_hist,1;
+ if (!yuno_hist) yuno_hist = 1;
next;
mes "["+strcharinfo(0)+"]";
mes "This...";
@@ -1296,7 +1296,7 @@ juperos_01,99,112,4 script Bronze Statue#1 CLEAR_NPC,{
mes "Okay, I guess I'll go back";
mes "to the Juno Library and";
mes "tell her what I found.";
- set yuno_hist,3;
+ yuno_hist = 3;
close;
}
mes "["+strcharinfo(0)+"]";
@@ -1706,7 +1706,7 @@ OnEnable:
end;
OnTimer5000:
- set .MyMobs,3;
+ .MyMobs = 3;
monster "juperos_02",24,275,"1st Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
monster "juperos_02",240,29,"2nd Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
monster "juperos_02",282,183,"3rd Gate Switch",1674,1,"3F Gate Switch#jupe::OnMyMobDead";
@@ -1714,7 +1714,7 @@ OnTimer5000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs == 2)
mapannounce "juperos_02","Who are you to come here?",bc_map,"0xFF0000";
else if (.MyMobs == 1)
@@ -1954,7 +1954,7 @@ OnTouch:
donpcevent "Red Alarm On#1-1::OnEnable";
disablenpc "Red Alarm#1-1";
donpcevent "#hole#1-1::OnStop_Timer";
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
disablenpc "#hole#1-1";
end;
}
@@ -2009,7 +2009,7 @@ OnDisable:
OnEnable:
enablenpc "Monster1#1-1";
initnpctimer;
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,263,"Security Guard",1675,1,"Monster1#1-1::OnMyMobDead";
monster "jupe_area1",30,262,"Security Guard",1669,1,"Monster1#1-1::OnMyMobDead";
monster "jupe_area1",30,261,"Security Guard",1675,1,"Monster1#1-1::OnMyMobDead";
@@ -2022,7 +2022,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Do you realize this is a hallucination?",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2032,7 +2032,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-1::OnEnable";
disablenpc "Monster1#1-1";
@@ -2070,7 +2070,7 @@ OnTimer7000:
mapannounce "jupe_area1","Just how strong you are!",bc_map,"0xFF0000";
soundeffectall "jupe_warning.wav",0,"jupe_area1";
soundeffectall "jupe_warning.wav",0,"jupe_area1";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,238,"Security Guard",1675,1,"Monster2#1-1::OnMyMobDead";
monster "jupe_area1",31,238,"Security Guard",1669,1,"Monster2#1-1::OnMyMobDead";
monster "jupe_area1",32,238,"Security Guard",1675,1,"Monster2#1-1::OnMyMobDead";
@@ -2083,7 +2083,7 @@ OnTimer7000:
OnTimer300000:
mapannounce "jupe_area1","Bwahaha! You're only good at running away!",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2093,12 +2093,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Zzzzt. Zzzzt..... ",bc_map,"0xFF0000";
disablenpc "Monster2#1-1";
enablenpc "#hole#1-1";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2244,7 +2244,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-2::OnEnable";
disablenpc "Red Alarm#1-2";
disablenpc "#hole#1-2";
@@ -2297,7 +2297,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,176,"High Guard",1669,1,"Monster1#1-2::OnMyMobDead";
monster "jupe_area1",31,176,"High Guard",1675,1,"Monster1#1-2::OnMyMobDead";
monster "jupe_area1",32,176,"High Guard",1669,1,"Monster1#1-2::OnMyMobDead";
@@ -2310,7 +2310,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","I can't believe how cowardly you really are...",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2320,7 +2320,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-2::OnEnable";
disablenpc "Monster1#1-2";
@@ -2354,7 +2354,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area1","I was called Vesper Newton. Hahah, they called me a mad man back then.",bc_map,"0xFF0000";
- set .MyMobs,13;
+ .MyMobs = 13;
monster "jupe_area1",30,152,"Security Guard",1669,1,"Monster2#1-2::OnMyMobDead";
monster "jupe_area1",31,152,"Security Guard",1675,1,"Monster2#1-2::OnMyMobDead";
monster "jupe_area1",32,152,"Security Guard",1669,1,"Monster2#1-2::OnMyMobDead";
@@ -2372,7 +2372,7 @@ OnTimer6000:
OnTimer300000:
mapannounce "jupe_area1","...Not yet.",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2382,12 +2382,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Not yet!",bc_map,"0xFF0000";
disablenpc "Monster2#1-2";
enablenpc "#hole#1-2";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2531,7 +2531,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-3::OnEnable";
disablenpc "Red Alarm#1-3";
disablenpc "#hole#1-3";
@@ -2584,7 +2584,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-3";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",30,89,"Security Guard",1675,1,"Monster1#1-3::OnMyMobDead";
monster "jupe_area1",31,89,"Security Guard",1669,1,"Monster1#1-3::OnMyMobDead";
monster "jupe_area1",32,89,"Security Guard",1675,1,"Monster1#1-3::OnMyMobDead";
@@ -2597,7 +2597,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2606,7 +2606,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-3::OnEnable";
disablenpc "Monster1#1-3";
@@ -2640,7 +2640,7 @@ OnTimer5000:
OnTimer8000:
mapannounce "jupe_area1","You're wrong! Welcome to Hell!",bc_map,"0xFF0000";
- set .MyMobs,15;
+ .MyMobs = 15;
monster "jupe_area1",42,64,"Security Guard",1669,1,"Monster2#1-3::OnMyMobDead";
monster "jupe_area1",43,64,"Security Guard",1675,1,"Monster2#1-3::OnMyMobDead";
monster "jupe_area1",44,64,"Security Guard",1669,1,"Monster2#1-3::OnMyMobDead";
@@ -2660,7 +2660,7 @@ OnTimer8000:
OnTimer300000:
mapannounce "jupe_area1","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2670,12 +2670,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
disablenpc "Monster2#1-3";
enablenpc "#hole#1-3";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -2824,7 +2824,7 @@ OnEnable:
end;
OnTouch:
- set $@JupreArea1InUse,1;
+ $@JupreArea1InUse = 1;
donpcevent "Red Alarm On#1-4::OnEnable";
disablenpc "Red Alarm#1-4";
disablenpc "#hole#1-4";
@@ -2877,7 +2877,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#1-4";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area1",92,154,"Security Guard",1669,1,"Monster1#1-4::OnMyMobDead";
monster "jupe_area1",96,154,"Security Guard",1675,1,"Monster1#1-4::OnMyMobDead";
monster "jupe_area1",100,154,"Security Guard",1669,1,"Monster1#1-4::OnMyMobDead";
@@ -2890,7 +2890,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area1","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
end;
OnTimer300002:
@@ -2900,7 +2900,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#1-4::OnEnable";
disablenpc "Monster1#1-4";
@@ -2934,7 +2934,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area1","I will be waiting for you!",bc_map,"0xFF0000";
- set .MyMobs,10;
+ .MyMobs = 10;
monster "jupe_area1",104,161,"Security Guard",1675,1,"Monster2#1-4::OnMyMobDead";
monster "jupe_area1",108,161,"Security Guard",1669,1,"Monster2#1-4::OnMyMobDead";
monster "jupe_area1",111,161,"Security Guard",1675,1,"Monster2#1-4::OnMyMobDead";
@@ -2948,7 +2948,7 @@ OnTimer6000:
end;
OnTimer300000:
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
mapannounce "jupe_area1","It's funny... Isn't it?",bc_map,"0xFF0000";
end;
@@ -2958,12 +2958,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area1","It's funny... Isn't it?",bc_map,"0xFF0000";
disablenpc "Monster2#1-4";
enablenpc "#hole#1-4";
- set $@JupreArea1InUse,0;
+ $@JupreArea1InUse = 0;
stopnpctimer;
}
end;
@@ -3163,7 +3163,7 @@ OnTouch:
donpcevent "Red Alarm On#2-1::OnEnable";
disablenpc "Red Alarm#2-1";
donpcevent "#hole#2-1::OnStop_Timer";
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
disablenpc "#hole#2-1";
end;
}
@@ -3218,7 +3218,7 @@ OnDisable:
OnEnable:
enablenpc "Monster1#2-1";
initnpctimer;
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,252,"Security Guard",1669,1,"Monster1#2-1::OnMyMobDead";
monster "jupe_area2",127,252,"Security Guard",1675,1,"Monster1#2-1::OnMyMobDead";
monster "jupe_area2",128,252,"Security Guard",1669,1,"Monster1#2-1::OnMyMobDead";
@@ -3231,7 +3231,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Do you realize this is a hallucination?",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3241,7 +3241,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-1::OnEnable";
disablenpc "Monster1#2-1";
@@ -3279,7 +3279,7 @@ OnTimer7000:
mapannounce "jupe_area2","Just how strong you are!",bc_map,"0xFF0000";
soundeffectall "jupe_warning.wav",0,"jupe_area2";
soundeffectall "jupe_warning.wav",0,"jupe_area2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,236,"Security Guard",1675,1,"Monster2#2-1::OnMyMobDead";
monster "jupe_area2",127,236,"Security Guard",1669,1,"Monster2#2-1::OnMyMobDead";
monster "jupe_area2",128,236,"Security Guard",1675,1,"Monster2#2-1::OnMyMobDead";
@@ -3292,7 +3292,7 @@ OnTimer7000:
OnTimer300000:
mapannounce "jupe_area2","Bwahaha! You're only good at running away!",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3302,12 +3302,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Zzzzt. Zzzzt..... ",bc_map,"0xFF0000";
disablenpc "Monster2#2-1";
enablenpc "#hole#2-1";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -3453,7 +3453,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-2::OnEnable";
disablenpc "Red Alarm#2-2";
disablenpc "#hole#2-2";
@@ -3506,7 +3506,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-2";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,176,"High Guard",1669,1,"Monster1#2-2::OnMyMobDead";
monster "jupe_area2",127,176,"High Guard",1675,1,"Monster1#2-2::OnMyMobDead";
monster "jupe_area2",128,176,"High Guard",1669,1,"Monster1#2-2::OnMyMobDead";
@@ -3519,7 +3519,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","I can't believe how cowardly you really are...",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3529,7 +3529,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-2::OnEnable";
disablenpc "Monster1#2-2";
@@ -3563,7 +3563,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area2","I was called Vesper Newton. Hahah, they called me a mad man back then.",bc_map,"0xFF0000";
- set .MyMobs,13;
+ .MyMobs = 13;
monster "jupe_area2",126,156,"Security Guard",1675,1,"Monster2#2-2::OnMyMobDead";
monster "jupe_area2",127,156,"Security Guard",1669,1,"Monster2#2-2::OnMyMobDead";
monster "jupe_area2",128,156,"Security Guard",1675,1,"Monster2#2-2::OnMyMobDead";
@@ -3581,7 +3581,7 @@ OnTimer6000:
OnTimer300000:
mapannounce "jupe_area2","...Not yet.",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3591,12 +3591,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Not yet!",bc_map,"0xFF0000";
disablenpc "Monster2#2-2";
enablenpc "#hole#2-2";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -3740,7 +3740,7 @@ OnInit:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-3::OnEnable";
disablenpc "Red Alarm#2-3";
disablenpc "#hole#2-3";
@@ -3794,7 +3794,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-3";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",126,89,"Security Guard",1675,1,"Monster1#2-3::OnMyMobDead";
monster "jupe_area2",127,89,"Security Guard",1669,1,"Monster1#2-3::OnMyMobDead";
monster "jupe_area2",128,89,"Security Guard",1675,1,"Monster1#2-3::OnMyMobDead";
@@ -3807,7 +3807,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3816,7 +3816,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-3::OnEnable";
disablenpc "Monster1#2-3";
@@ -3850,7 +3850,7 @@ OnTimer5000:
OnTimer8000:
mapannounce "jupe_area2","You're wrong! Welcome to Hell!",bc_map,"0xFF0000";
- set .MyMobs,16;
+ .MyMobs = 16;
monster "jupe_area2",114,64,"Security Guard",1675,1,"Monster2#2-3::OnMyMobDead";
monster "jupe_area2",115,64,"Security Guard",1669,1,"Monster2#2-3::OnMyMobDead";
monster "jupe_area2",116,64,"Security Guard",1675,1,"Monster2#2-3::OnMyMobDead";
@@ -3871,7 +3871,7 @@ OnTimer8000:
OnTimer300000:
mapannounce "jupe_area2","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -3881,17 +3881,17 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","Do you still have your courage? Come. Prove it.",bc_map,"0xFF0000";
disablenpc "Monster2#2-3";
enablenpc "#hole#2-3";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
}
-
+
//============================================================
// Security Checkpoint 2-4
//============================================================
@@ -4035,7 +4035,7 @@ OnEnable:
end;
OnTouch:
- set $@JupreArea2InUse,1;
+ $@JupreArea2InUse = 1;
donpcevent "Red Alarm On#2-4::OnEnable";
disablenpc "Red Alarm#2-4";
disablenpc "#hole#2-4";
@@ -4088,7 +4088,7 @@ OnDisable:
OnEnable:
initnpctimer;
enablenpc "Monster1#2-4";
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_area2",75,161,"Security Guard",1675,1,"Monster1#2-4::OnMyMobDead";
monster "jupe_area2",72,161,"Security Guard",1669,1,"Monster1#2-4::OnMyMobDead";
monster "jupe_area2",71,161,"Security Guard",1675,1,"Monster1#2-4::OnMyMobDead";
@@ -4101,7 +4101,7 @@ OnEnable:
OnTimer300000:
mapannounce "jupe_area2","Zzzzt...Zzzzt....",bc_map,"0xFF0000";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
end;
OnTimer300002:
@@ -4111,7 +4111,7 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Monster2#2-4::OnEnable";
disablenpc "Monster1#2-4";
@@ -4145,7 +4145,7 @@ OnTimer4000:
OnTimer6000:
mapannounce "jupe_area2","I will be waiting for you!",bc_map,"0xFF0000";
- set .MyMobs,12;
+ .MyMobs = 12;
monster "jupe_area2",63,161,"Security Guard",1675,1,"Monster2#2-4::OnMyMobDead";
monster "jupe_area2",61,161,"Security Guard",1669,1,"Monster2#2-4::OnMyMobDead";
monster "jupe_area2",59,161,"Security Guard",1675,1,"Monster2#2-4::OnMyMobDead";
@@ -4161,7 +4161,7 @@ OnTimer6000:
end;
OnTimer300000:
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
mapannounce "jupe_area2","It's funny... Isn't it?",bc_map,"0xFF0000";
end;
@@ -4171,12 +4171,12 @@ OnTimer300002:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
mapannounce "jupe_area2","It's funny... Isn't it?",bc_map,"0xFF0000";
disablenpc "Monster2#2-4";
enablenpc "#hole#2-4";
- set $@JupreArea2InUse,0;
+ $@JupreArea2InUse = 0;
stopnpctimer;
}
end;
@@ -4309,7 +4309,7 @@ jupe_ele_r,51,98,0 script Switch#ufe CLEAR_NPC,{
mes "ground begins to shake";
mes "violently. This isn't normal!^000000";
next;
- set $@JupeElevatorInUse,1;
+ $@JupeElevatorInUse = 1;
disablenpc "Switch#ufe";
enablenpc "Switch On#ufe";
initnpctimer;
@@ -4408,7 +4408,7 @@ OnInit:
end;
OnEnable:
- set .MyMobs,9;
+ .MyMobs = 9;
enablenpc "Elevator Guard1#ufe";
initnpctimer;
end;
@@ -4454,7 +4454,7 @@ OnTimer120000:
enablenpc "Switch#ufe";
disablenpc "Switch On#ufe";
donpcevent "Annihilation#ufe::OnEnable";
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse = 0;
end;
OnTimer120005:
@@ -4463,7 +4463,7 @@ OnTimer120005:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
donpcevent "Elevator Safety#ufe::OnEnable";
stopnpctimer;
@@ -4546,7 +4546,7 @@ OnEnable:
OnTimer1000:
mapwarp "jupe_ele_r", "jupe_ele",42,47;
- set $@JupeElevatorInUse2,0;
+ $@JupeElevatorInUse2 = 0;
donpcevent "TimeOut#ufe::OnEnable";
donpcevent "Guard-1#ufe::OnEnable";
end;
@@ -4577,8 +4577,8 @@ OnTimer59000:
donpcevent "Guard-3#ufe::OnDisable";
donpcevent "Guard-4#ufe::OnDisable";
stopnpctimer;
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
}
@@ -4626,8 +4626,8 @@ OnTimer142000:
disablenpc "GuardEnd#ufe";
disablenpc "4F Enter#ufe";
donpcevent "TimeOut#ufe::OnDisable";
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
stopnpctimer;
@@ -4656,7 +4656,7 @@ OnTimer8000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
@@ -4665,7 +4665,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1675,1,"Guard-1#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-1#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,1;
+ $@JupeElevatorInUse2 = 1;
end;
OnTimer30000:
@@ -4676,7 +4676,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 1) {
donpcevent "Guard-2#ufe::OnEnable";
@@ -4715,7 +4715,7 @@ OnTimer11000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
@@ -4724,7 +4724,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1683,1,"Guard-2#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-2#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,2;
+ $@JupeElevatorInUse2 = 2;
end;
OnTimer30000:
@@ -4735,7 +4735,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 2) {
donpcevent "Guard-3#ufe::OnEnable";
@@ -4770,7 +4770,7 @@ OnTimer8000:
end;
OnTimer12000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1675,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1683,1,"Guard-3#ufe::OnMyMobDead";
@@ -4779,7 +4779,7 @@ OnTimer12000:
monster "jupe_ele",38,53,"Guard",1683,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1675,1,"Guard-3#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1669,1,"Guard-3#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,3;
+ $@JupeElevatorInUse2 = 3;
end;
OnTimer30000:
@@ -4790,7 +4790,7 @@ OnTimer30000:
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if ($@JupeElevatorInUse2 == 3) {
donpcevent "Guard-4#ufe::OnEnable";
@@ -4822,7 +4822,7 @@ OnTimer5000:
end;
OnTimer8000:
- set .MyMobs,8;
+ .MyMobs = 8;
monster "jupe_ele",48,44,"Guard",1684,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",45,42,"Guard",1669,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",38,42,"Guard",1684,1,"Guard-4#ufe::OnMyMobDead";
@@ -4831,11 +4831,11 @@ OnTimer8000:
monster "jupe_ele",38,53,"Guard",1669,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",45,53,"Guard",1683,1,"Guard-4#ufe::OnMyMobDead";
monster "jupe_ele",48,51,"Guard",1675,1,"Guard-4#ufe::OnMyMobDead";
- set $@JupeElevatorInUse2,4;
+ $@JupeElevatorInUse2 = 4;
end;
OnMyMobDead:
- set .MyMobs,.MyMobs-1;
+ --.MyMobs;
if (.MyMobs < 1) {
if (getvariableofnpc(.MyMobs,"Guard-1#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-2#ufe") < 1 && getvariableofnpc(.MyMobs,"Guard-3#ufe") < 1) {
donpcevent "GuardEnd#ufe::OnEnable";
@@ -4897,8 +4897,8 @@ OnTimer25000:
end;
OnTimer26000:
- set $@JupeElevatorInUse2,0;
- set $@JupeElevatorInUse,0;
+ $@JupeElevatorInUse2 = 0;
+ $@JupeElevatorInUse = 0;
disablenpc "Switch On#ufe";
enablenpc "Switch#ufe";
donpcevent "GuardEnd#ufe::OnDisable";
@@ -5005,20 +5005,20 @@ sec_in02,39,167,0 script Juperos Manager 4_F_OPERATION,{
next;
switch(select("jupe_Area1:jupe_Area2:jupe_ele_r:jupe_ele")) {
case 1:
- set .@loc$,"jupe_Area1";
- set .@var$,"$@JupreArea1InUse";
+ .@loc$ = "jupe_Area1";
+ .@var$ = "$@JupreArea1InUse";
break;
case 2:
- set .@loc$,"jupe_Area2";
- set .@var$,"$@JupreArea2InUse";
+ .@loc$ = "jupe_Area2";
+ .@var$ = "$@JupreArea2InUse";
break;
case 3:
- set .@loc$,"jupe_ele_r";
- set .@var$,"$@JupeElevatorInUse";
+ .@loc$ = "jupe_ele_r";
+ .@var$ = "$@JupeElevatorInUse";
break;
case 4:
- set .@loc$,"jupe_ele";
- set .@var$,"$@JupeElevatorInUse2";
+ .@loc$ = "jupe_ele";
+ .@var$ = "$@JupeElevatorInUse2";
break;
}
mes "[Juperos Manager]";