diff options
Diffstat (limited to 'npc/quests')
-rw-r--r-- | npc/quests/okolnir/godse_sch01.txt | 3276 | ||||
-rw-r--r-- | npc/quests/okolnir/godse_sch02.txt | 3276 | ||||
-rw-r--r-- | npc/quests/okolnir/godse_sch03.txt | 3276 | ||||
-rw-r--r-- | npc/quests/okolnir/godse_sch04.txt | 3276 | ||||
-rw-r--r-- | npc/quests/okolnir/godse_sch05.txt | 3276 |
5 files changed, 16380 insertions, 0 deletions
diff --git a/npc/quests/okolnir/godse_sch01.txt b/npc/quests/okolnir/godse_sch01.txt new file mode 100644 index 000000000..3d5773ee5 --- /dev/null +++ b/npc/quests/okolnir/godse_sch01.txt @@ -0,0 +1,3276 @@ +//===== eAthena Script ======================================= +//= Falicious Okolnir - Nidhoggr 1 +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= God Item SE Creation scipt (Brynhild) +//===== Additional Comments: ================================= +//= 1.0 First version. [L0ne_W0lf] +//============================================================ + +schg_cas01,376,307,3 script Guide#gq_sch01 899,{ + set .@GID, GetCastleData("schg_cas01",1); + if (getcharid(2) == .@GID) { + if ($siz_sch01_on == 0) { + mes "[Guide]"; + mes "This castle has a hidden secret."; + mes "That is the ^4d4dff'Okolnir'^000000."; + next; + switch(select("About Okolnir.:Go to Okolnir.:Cancel.")) { + case 1: + mes "[Guide]"; + mes "Okolnir is a kind of virtual realm..."; + mes "I don't know how Okolnir exists, but I guess only Valkyrie knows."; + next; + mes "[Guide]"; + mes "As you know this is a place to test the adventurers made by Valkyrie..."; + mes "...you know the qualifications to enter Okolnir."; + next; + select("Qualifications?"); + mes "[Guide]"; + mes "Yes, Valkyrie definitely prefers strong adventurers."; + mes "Only the qualified can enter Okolnir and Valhalla."; + next; + mes "[Guide]"; + mes "It only opens when everyone comes together to work it out."; + mes "The key is in the castle."; + next; + mes "[Guide]"; + mes "If a castle's ^4d4dffeconomy is over 65 and defense also over 30^000000, this will be acceptable to access Okolnir."; + next; + mes "[Guide]"; + mes "And, if you pass all of the tests given by Valkyrie in Okolnir!"; + mes "You will also receive a mysterious gift."; + next; + mes "[Guide]"; + mes "Would you like to try to enter here?"; + close; + case 2: + set .@Defence,GetCastleData("schg_cas01",3); + set .@Economy,GetCastleData("schg_cas01",2); + if ((.@Economy > 64) && (.@Defence > 29)) { + mes "[Guide]"; + mes "Great! Economy and Defense are OK."; + mes "You can enter Okolnir now...."; + mes "Do you want to go there?"; + next; + switch(select("Sure let's go there.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Ok......"; + mes "Please follow me..."; + close2; + warp "que_qsch01",346,32; + end; + case 2: + mes "[Guide]"; + mes "You can try this anytime in the future..."; + mes "If you are ready to protect this castle."; + close; + } + } + else { + mes "[Guide]"; + mes "You are not qualified yet."; + mes "Please develop your castle more..."; + close; + } + } + } + else if ($siz_sch01_on == 1) { + mes "[Guide]"; + mes "... OK..."; + mes "Good luck."; + next; + switch(select("Enter now.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Hope you get everything you want..."; + close2; + warp "que_qsch01",346,32; + end; + case 2: + mes "[Guide]"; + mes "Really?"; + mes "Sorry to hear that."; + close; + } + } + else if ($siz_sch01_on == 2) { + mes "[Guide]"; + mes "Building Okolnir needs quite a long time."; + mes "....even though it's only virtual..."; + next; + mes "[Guide]"; + mes "It takes about 12 -13 hours to create the virtual realm."; + close; + } + else { + mes "[Guide]"; + mes "You'll have to wait."; + close; + } + } + else { + mes "[Guide]"; + mes "... I've never seen you before."; + mes "You are strangers here. You'd better get out of here right now."; + close; + } + end; + +OnInit: + set $gqse_sch01_miro,0; + set $gqse_sch01_pcc,0; + set $gqse_sch01_gd,0; + set $gqse_sch01_nm,0; + if ($siz_sch01_on == 1) { + set $siz_sch01_on,0; + } + enablenpc "Guide#gq_sch01"; + end; +} + +que_qsch01,345,23,0 warp Gate02#gq_sch01 1,1,schg_cas01,369,306 + +que_qsch01,345,82,3 script Wish Maiden#gq_sch01 403,{ + set .@GID, GetCastleData("schg_cas01",1); + if (getcharid(2) == .@GID) { + cutin "wish_maiden31",1; + if (strcharinfo(0) == getguildmaster(.@GID)) { + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Are you ready to endure the trials to get the Goddess' glory?"; + next; + switch(select("Yes, I am:Sorry, I'll try later")) { + case 1: + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "I will test whether or not you deserve the Goddess shine..."; + mes "Isn't it simple?"; + next; + mes "[Wish Maiden]"; + mes "Okolnir is a virtual place."; + mes "There is no room for error there."; + mes "^ff0000You only have one hour.^000000"; + next; + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "If you have not finished in that time, Okolnir will be destroyed, and I will go to rest."; + mes "You will have to wait again..."; + next; + mes "[Wish Maiden]"; + mes "Are you ready to go through?"; + mes "^4d4dffYou need to have 16 to 20 members present^000000."; + next; + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "I will open the gate of Okolnir if your members are ready."; + next; + switch(select("We are ready.:We need more time.")) { + case 1: + set .@saram,getmapusers("que_qsch01"); + if (((.@saram > 15) && (.@saram < 21)) || (getgmlevel() == 99)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "Now I will open the gate of Okolnir where I am."; + mes "I will wait for you on the top of Okolnir..."; + next; + mes "[Wish Maiden]"; + mes "I hope that you can complete all of the trials before the virtual Okolnir is destroyed..."; + mes "Good luck."; + mapannounce "que_qsch01","Wish Maiden: The gate of Okolnir is open! Don't forget you only have one hour.",bc_map,"0x00ff00"; + close2; + set $gqse_sch01_pcc,.@saram; + set $siz_sch01_on,1; + donpcevent "#okolnir_sch01::OnEnable"; + disablenpc "Wish Maiden#gq_sch01"; + cutin "wish_maiden11",255; + announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "¿ÀÄݴϸ£ÀÇ ¹®À» ¿ ÀÚ´Â ¿´Ù¼¸À» ³Ñ¾î¾ß ÇÏ°í ½º¹°À» ³Ñ¾î¼± ¾ÈµÈ´Ù."; + mes "ÇÔ²² ÇÒ À̵éÀ» ´Ù½Ã µ¥·Á¿À¶ó."; + close2; + } + break; + case 2: + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Don't hesitate to try."; + mes "You should catch the chance when it comes to you."; + mes "Just gather your fellow members."; + close2; + } + break; + case 2: + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "... Are you afraid of"; + mes "the trials facing you?"; + mes "...."; + next; + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Do you think that you can defeat the Goddess shine easily?"; + mes "I feel disappointed by all of you."; + mes "Just go away..."; + close2; + } + } + else { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Do you wish to enter?"; + mes "Only those prepared may enter here."; + mes "You must bring several items to enter Okolnir."; + next; + mes "[Wish Maiden]"; + mes "Goddess Tear"; + mes "Valkyrie's Token"; + mes "Brynhild Armor Piece"; + mes "Hero Remains"; + mes "Valkyrie Armor"; + mes "Andvari's Ring."; + next; + mes "[Wish Maiden]"; + mes "You must bring those six things, 10 Gold, and 20 Elunium."; + mes "Many Valhala's Flowers are also required as an offering."; + next; + mes "[Wish Maiden]"; + mes "Once all of those are prepared, the gate will open."; + next; + mes "[Wish Maiden]"; + mes ".... "; + mes "...........The Goddess shines brightly down on you, you should be stronger to deserve it..."; + next; + mes "[Wish Maiden]"; + mes "Remember..."; + mes "You need to collect many Valhalla flowers."; + mes "I hope that your dreams come true."; + next; + mes "[Wish Maiden]"; + mes "I will answer all your requests if you bring these to me."; + close2; + } + } + else { + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + mes "[Wish Maiden]"; + mes "Bring me the one who brought you to this place."; + mes ".. Deliver him to my will."; + close2; + } + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "...You are not qualified."; + close2; + percentheal -100,0; + cutin "wish_maiden11",255; + end; + } + cutin "wish_maiden11",255; + end; + +OnInit: + if ($siz_sch01_on == 0) { + enablenpc "Wish Maiden#gq_sch01"; + } + else { + disablenpc "Wish Maiden#gq_sch01"; + } + end; +} + +que_qsch01,346,81,0 script Gate01#gq_sch01 45,1,1,{ + end; + +OnInit: + disablenpc "Gate01#gq_sch01"; + end; + +OnEnable: + enablenpc "Gate01#gq_sch01"; + setcell "que_qsch01",58,302,63,302,cell_walkable,0; + setcell "que_qsch01",58,302,63,302,cell_shootable,0; + end; + +OnDisable: + disablenpc "Gate01#gq_sch01"; + killmonsterall "que_qsch01"; + end; + +OnTouch: + set .@saram,getmapusers("que_qsch01"); + if (.@saram < 21) { + if ($gqse_sch01_miro == $gqse_sch01_pcc) { + set .@point,rand(1,5); + if (.@point == 1) { + warp "que_qsch01",72,271; + end; + } + else if (.@point == 2) { + warp "que_qsch01",45,243; + end; + } + else if (.@point == 3) { + warp "que_qsch01",102,248; + end; + } + else if (.@point == 4) { + warp "que_qsch01",102,300; + end; + } + else { + warp "que_qsch01",46,300; + end; + } + } + else if ($gqse_sch01_miro == 0) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",77,271,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",77,271,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",77,271,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",77,271,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",77,271,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,1; + warp "que_qsch01",72,271; + end; + } + else if ($gqse_sch01_miro == 1) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,2; + warp "que_qsch01",63,282; + end; + } + else if ($gqse_sch01_miro == 2) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",63,294,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",63,294,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",63,294,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",63,294,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",63,294,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,3; + warp "que_qsch01",59,294; + end; + } + else if ($gqse_sch01_miro == 3) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",50,300,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",50,300,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",50,300,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",50,300,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",50,300,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,4; + warp "que_qsch01",46,300; + end; + } + else if ($gqse_sch01_miro == 4) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",51,280,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",51,280,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",51,280,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",51,280,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",51,280,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,5; + warp "que_qsch01",51,285; + end; + } + else if ($gqse_sch01_miro == 5) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",51,258,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",51,258,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",51,258,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",51,258,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",51,258,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,6; + warp "que_qsch01",51,262; + end; + } + else if ($gqse_sch01_miro == 6) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",49,243,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",49,243,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",49,243,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",49,243,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",49,243,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,7; + warp "que_qsch01",45,243; + end; + } + else if ($gqse_sch01_miro == 7) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",86,249,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",86,249,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",86,249,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",86,249,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",86,249,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,8; + warp "que_qsch01",82,249; + end; + } + else if ($gqse_sch01_miro == 8) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",102,243,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",102,243,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",102,243,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",102,243,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",102,243,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,9; + warp "que_qsch01",102,248; + end; + } + else if ($gqse_sch01_miro == 9) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",90,256,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",90,256,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",90,256,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",90,256,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",90,256,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,10; + warp "que_qsch01",90,260; + end; + } + else if ($gqse_sch01_miro == 10) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",90,283,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",90,283,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",90,283,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",90,283,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",90,283,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,11; + warp "que_qsch01",90,280; + end; + } + else if ($gqse_sch01_miro == 11) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",102,295,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",102,295,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",102,295,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",102,295,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",102,295,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,12; + warp "que_qsch01",102,300; + end; + } + else if ($gqse_sch01_miro == 12) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",96,285,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",96,285,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",96,285,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",96,285,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",96,285,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,13; + warp "que_qsch01",96,290; + end; + } + else if ($gqse_sch01_miro == 13) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,14; + warp "que_qsch01",63,282; + end; + } + else if ($gqse_sch01_miro == 14) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",65,243,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",65,243,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",65,243,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",65,243,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",65,243,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,15; + warp "que_qsch01",61,243; + end; + } + else if ($gqse_sch01_miro == 15) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",73,249,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",73,249,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",73,249,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",73,249,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",73,249,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,16; + warp "que_qsch01",70,249; + end; + } + else if ($gqse_sch01_miro == 16) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",102,275,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",102,275,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",102,275,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",102,275,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + end; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",102,275,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,17; + warp "que_qsch01",102,281; + end; + } + else if ($gqse_sch01_miro == 17) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",70,300,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",70,300,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",70,300,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",70,300,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",70,300,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,18; + warp "que_qsch01",66,300; + end; + } + else if ($gqse_sch01_miro == 18) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",57,255,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",57,255,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",57,255,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",57,255,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",57,255,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,19; + warp "que_qsch01",57,258; + end; + } + else if ($gqse_sch01_miro == 19) { + if (BaseClass == Job_Swordman) { + monster "que_qsch01",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch01",84,277,strcharinfo(0),1659,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch01",84,277,strcharinfo(0),1662,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch01",84,277,strcharinfo(0),1663,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch01",84,277,strcharinfo(0),1660,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch01",84,277,strcharinfo(0),1661,1,"#Gate_manager_sch01::OnMyMobDead"; + } + else { + monster "que_qsch01",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch01::OnMyMobDead"; + } + set $gqse_sch01_miro,20; + warp "que_qsch01",84,280; + end; + } + } + else { + mes "Á¤¿øÀ» ÃÊ°úÇÏ¿´½À´Ï´Ù. ´õÀÌ»ó ÁøÀÔÇÒ ¼ö ¾ø½À´Ï´Ù."; + close; + } + end; +} + +que_qsch01,1,4,0 script #Gate_manager_sch01 844,{ +OnMyMobDead: + if ($gqse_sch01_miro == $gqse_sch01_pcc) { + if (mobcount("que_qsch01","#Gate_manager_sch01::OnMyMobDead") == 0) { + donpcevent "#gq_miromob2_sch01::OnEnable"; + } + } + end; +} + +que_qsch01,1,4,0 script #gq_miromob2_sch01 844,{ +OnEnable: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch01","Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00"; + end; + +OnTimer6000: + mapannounce "que_qsch01","Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00"; + monster "que_qsch01",72,271,"Seyren Windsor",1640,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",63,282,"Kathryne Keyron",1645,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",59,294,"Cecil Damon",1644,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",46,300,"Margaretha Sorin",1643,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",51,285,"Eremes Guile",1641,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",51,262,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch01::OnMyMobDead"; + + monster "que_qsch01",45,243,"Seyren Windsor",1640,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",82,249,"Kathryne Keyron",1645,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",102,248,"Cecil Damon",1644,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",90,260,"Margaretha Sorin",1643,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",90,280,"Eremes Guile",1641,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",102,300,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch01::OnMyMobDead"; + + monster "que_qsch01",63,282,"Seyren Windsor",1640,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",61,243,"Kathryne Keyron",1645,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",70,249,"Cecil Damon",1644,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",102,281,"Margaretha Sorin",1643,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",66,300,"Eremes Guile",1641,1,"#gq_miromob2_sch01::OnMyMobDead"; + monster "que_qsch01",57,258,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch01::OnMyMobDead"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch01","#gq_miromob2_sch01::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#gq_miromob2_sch01::OnMyMobDead") == 0) { + mapannounce "que_qsch01","The Mystic garden exit is now open.",bc_map,"0x00ff00"; + setcell "que_qsch01",58,302,63,302,cell_walkable,1; + setcell "que_qsch01",58,302,63,302,cell_shootable,1; + donpcevent "#Maze_Manager_sch01::OnDisable"; + } + end; +} + +que_qsch01,1,1,0 script #okolnir_sch01 844,{ + +OnEnable: + donpcevent "Gate01#gq_sch01::OnEnable"; + donpcevent "#Maze_Manager_sch01::OnEnable"; + donpcevent "#event_start01_sch01::OnEnable"; + donpcevent "#gd_sch01_mobctrl::OnEnable"; + enablenpc "Guard of Shadow#sch01_01"; + enablenpc "Guard of Shadow#sch01_02"; + enablenpc "Guard of Shadow#sch01_03"; + enablenpc "Guard of Shadow#sch01_04"; + enablenpc "Bloody Hunter#sch01_ac01"; + enablenpc "Bloody Hunter#sch01_ac02"; + enablenpc "Bloody Hunter#sch01_ac03"; + enablenpc "Bloody Hunter#sch01_ac04"; + enablenpc "Temple Keeper#sch01_ac01"; + enablenpc "Temple Keeper#sch01_ac02"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#gq_sch01"; + donpcevent "#gq_miromob2_sch01::Onreset"; + disablenpc "Piamette#sch01"; + donpcevent "#gdtimer01_sch01::Onstop"; + donpcevent "#gdtimer02_sch01::Onstop"; + donpcevent "#piamette_sch01::Onreset"; + donpcevent "Wish Maiden#sch01_boss::OnDisable"; + donpcevent "Wish Maiden#sch01_gift::OnDisable"; + donpcevent "#gd_sch01_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch01::OnDisable"; + donpcevent "#Maze_Manager_sch01::OnDisable"; + donpcevent "#event_start01_sch01::OnDisable"; + donpcevent "#nm_switch_sch01::OnDisable"; + donpcevent "#nmsomsch01_jin01::OnDisable"; + donpcevent "#nmsomsch01_jin02::OnDisable"; + donpcevent "#nmsomsch01_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch01_01::OnDisable"; + donpcevent "Guard of Shadow#sch01_02::OnDisable"; + donpcevent "Guard of Shadow#sch01_03::OnDisable"; + donpcevent "Guard of Shadow#sch01_04::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac04::OnDisable"; + donpcevent "Temple Keeper#sch01_ac01::OnDisable"; + donpcevent "Temple Keeper#sch01_ac02::OnDisable"; + disablenpc "#to_agit_sch01_gate"; + donpcevent "#sch01_stone01::Onreset"; + donpcevent "#sch01_stone02::Onreset"; + donpcevent "#sch01_stone03::Onreset"; + disablenpc "#sch01_cage01"; + disablenpc "#sch01_cage02"; + disablenpc "#sch01_cage03"; + disablenpc "#sch01_cage04"; + disablenpc "#sch01_cage05"; + disablenpc "#sch01_cage06"; + donpcevent "windpath03_sch01::OnDisable"; + donpcevent "windpath04_sch01::OnDisable"; + set $gqse_sch01_miro,0; + set $gqse_sch01_pcc,0; + set $gqse_sch01_gd,0; + set $gqse_sch01_nm,0; + stopnpctimer; + end; + +Onstop: + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch01","Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00"; + end; + +OnTimer1800000: + mapannounce "que_qsch01","Okolnir will disappear in 30 minutes.",bc_map,"0xff0000"; + end; + +OnTimer2400000: + mapannounce "que_qsch01","Okolnir will disappear in 20 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3000000: + mapannounce "que_qsch01","Okolnir will disappear in 10 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3300000: + mapannounce "que_qsch01","Okolnir will disappear in 5 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3360000: + mapannounce "que_qsch01","Okolnir will disappear in 4 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3420000: + mapannounce "que_qsch01","Okolnir will disappear in 3 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3480000: + mapannounce "que_qsch01","Okolnir will disappear in 2 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3540000: + mapannounce "que_qsch01","Okolnir will disappear in 1 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3600000: + mapannounce "que_qsch01","Okolnir has begun to disappear.",bc_map,"0x4d4dff"; + disablenpc "Wish Maiden#gq_sch01"; + donpcevent "#gq_miromob2_sch01::Onreset"; + disablenpc "Piamette#sch01"; + donpcevent "#gdtimer01_sch01::Onstop"; + donpcevent "#gdtimer02_sch01::Onstop"; + donpcevent "#piamette_sch01::Onreset"; + donpcevent "Wish Maiden#sch01_boss::onDisable"; + donpcevent "Wish Maiden#sch01_gift::OnDisable"; + donpcevent "#gd_sch01_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch01::OnDisable"; + donpcevent "#Maze_Manager_sch01::OnDisable"; + donpcevent "#event_start01_sch01::OnDisable"; + donpcevent "#nm_switch_sch01::OnDisable"; + donpcevent "#nmsomsch01_jin01::OnDisable"; + donpcevent "#nmsomsch01_jin02::OnDisable"; + donpcevent "#nmsomsch01_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch01_01::OnDisable"; + donpcevent "Guard of Shadow#sch01_02::OnDisable"; + donpcevent "Guard of Shadow#sch01_03::OnDisable"; + donpcevent "Guard of Shadow#sch01_04::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch01_ac04::OnDisable"; + donpcevent "Temple Keeper#sch01_ac01::OnDisable"; + donpcevent "Temple Keeper#sch01_ac02::OnDisable"; + disablenpc "#to_agit_sch01_gate"; + donpcevent "#sch01_stone01::Onreset"; + donpcevent "#sch01_stone02::Onreset"; + donpcevent "#sch01_stone03::Onreset"; + disablenpc "#sch01_cage01"; + disablenpc "#sch01_cage02"; + disablenpc "#sch01_cage03"; + disablenpc "#sch01_cage04"; + disablenpc "#sch01_cage05"; + disablenpc "#sch01_cage06"; + donpcevent "windpath03_sch01::OnDisable"; + donpcevent "windpath04_sch01::OnDisable"; + end; + +OnTimer3605000: + mapannounce "que_qsch01","Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00"; + end; + +OnTimer3608000: + mapannounce "que_qsch01","Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00"; + end; + +OnTimer3610000: + set $gqse_sch01_miro,0; + set $gqse_sch01_pcc,0; + set $gqse_sch01_gd,0; + set $gqse_sch01_nm,0; + mapwarp "que_qsch01","schg_cas01",369,306; + end; + +OnTimer3611000: + donpcevent "#okolnir_sch01_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch01,1,2,0 script #Maze_Manager_sch01 844,{ +OnInit: + donpcevent "#miro_bf_sch01::OnDisable"; + donpcevent "#miro_rf_sch01::OnDisable"; + donpcevent "#miro_yf_sch01::OnDisable"; + end; + +OnEnable: + initnpctimer; + end; + +OnDisable: + donpcevent "#miro_bf_sch01::OnDisable"; + donpcevent "#miro_rf_sch01::OnDisable"; + donpcevent "#miro_yf_sch01::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#miro_rf_sch01::OnDisable"; + end; + +OnTimer2000: + donpcevent "#miro_yf_sch01::OnDisable"; + end; + +OnTimer3000: + donpcevent "#miro_bf_sch01::OnEnable"; + end; + +OnTimer120000: + donpcevent "#miro_bf_sch01::OnDisable"; + end; + +OnTimer121000: + donpcevent "#miro_yf_sch01::OnDisable"; + end; + +OnTimer123000: + donpcevent "#miro_rf_sch01::OnEnable"; + end; + +OnTimer240000: + donpcevent "#miro_bf_sch01::OnDisable"; + end; + +OnTimer241000: + donpcevent "#miro_rf_sch01::OnDisable"; + end; + +OnTimer242000: + donpcevent "#miro_yf_sch01::OnEnable"; + end; + +OnTimer360000: + donpcevent "#Maze_Manager_sch01::OnEnable"; + end; +} + +que_qsch01,2,1,0 script #miro_bf_sch01 844,{ + +OnEnable: + monster "que_qsch01",44,270," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",46,270," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",50,287," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",52,287," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",50,265," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",52,265," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",56,279," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",58,279," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",64,301," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",64,298," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",62,272," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",64,272," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",58,245," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",58,243," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",72,289," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",72,287," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",68,257," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",68,255," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",73,263," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",73,261," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",75,251," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",75,249," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",79,283," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",79,281," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",82,271," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",84,271," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",89,295," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",89,293," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",88,276," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",90,276," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",88,266," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",90,266," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",94,256," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",96,256," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",64,301," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",64,299," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",100,251," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + monster "que_qsch01",102,251," ",1934,1,"#miro_bf_sch01::OnMyMobDead"; + setcell "que_qsch01",44,270,47,270,cell_walkable,0; + setcell "que_qsch01",44,270,47,270,cell_shootable,0; + setcell "que_qsch01",50,287,53,287,cell_walkable,0; + setcell "que_qsch01",50,287,53,287,cell_shootable,0; + setcell "que_qsch01",50,265,53,265,cell_walkable,0; + setcell "que_qsch01",50,265,53,265,cell_shootable,0; + setcell "que_qsch01",56,279,59,279,cell_walkable,0; + setcell "que_qsch01",56,279,59,279,cell_shootable,0; + setcell "que_qsch01",64,298,64,301,cell_walkable,0; + setcell "que_qsch01",64,298,64,301,cell_shootable,0; + setcell "que_qsch01",62,272,65,272,cell_walkable,0; + setcell "que_qsch01",62,272,65,272,cell_shootable,0; + setcell "que_qsch01",58,242,58,245,cell_walkable,0; + setcell "que_qsch01",58,242,58,245,cell_shootable,0; + setcell "que_qsch01",72,286,72,289,cell_walkable,0; + setcell "que_qsch01",72,286,72,289,cell_shootable,0; + setcell "que_qsch01",68,254,68,259,cell_walkable,0; + setcell "que_qsch01",68,254,68,259,cell_shootable,0; + setcell "que_qsch01",73,260,73,263,cell_walkable,0; + setcell "que_qsch01",73,260,73,263,cell_shootable,0; + setcell "que_qsch01",75,248,75,251,cell_walkable,0; + setcell "que_qsch01",75,248,75,251,cell_shootable,0; + setcell "que_qsch01",79,280,79,283,cell_walkable,0; + setcell "que_qsch01",79,280,79,283,cell_shootable,0; + setcell "que_qsch01",82,271,85,271,cell_walkable,0; + setcell "que_qsch01",82,271,85,271,cell_shootable,0; + setcell "que_qsch01",89,292,89,295,cell_walkable,0; + setcell "que_qsch01",89,292,89,295,cell_shootable,0; + setcell "que_qsch01",88,276,91,276,cell_walkable,0; + setcell "que_qsch01",88,276,91,276,cell_shootable,0; + setcell "que_qsch01",88,266,91,266,cell_walkable,0; + setcell "que_qsch01",88,266,91,266,cell_shootable,0; + setcell "que_qsch01",94,256,97,256,cell_walkable,0; + setcell "que_qsch01",94,256,97,256,cell_shootable,0; + setcell "que_qsch01",64,298,64,301,cell_walkable,0; + setcell "que_qsch01",64,298,64,301,cell_shootable,0; + setcell "que_qsch01",000,251,003,251,cell_walkable,0; + setcell "que_qsch01",000,251,003,251,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch01","#miro_bf_sch01::OnMyMobDead"; + setcell "que_qsch01",44,270,47,270,cell_walkable,1; + setcell "que_qsch01",44,270,47,270,cell_shootable,1; + setcell "que_qsch01",50,287,53,287,cell_walkable,1; + setcell "que_qsch01",50,287,53,287,cell_shootable,1; + setcell "que_qsch01",50,265,53,265,cell_walkable,1; + setcell "que_qsch01",50,265,53,265,cell_shootable,1; + setcell "que_qsch01",56,279,59,279,cell_walkable,1; + setcell "que_qsch01",56,279,59,279,cell_shootable,1; + setcell "que_qsch01",64,298,64,301,cell_walkable,1; + setcell "que_qsch01",64,298,64,301,cell_shootable,1; + setcell "que_qsch01",62,272,65,272,cell_walkable,1; + setcell "que_qsch01",62,272,65,272,cell_shootable,1; + setcell "que_qsch01",58,242,58,245,cell_walkable,1; + setcell "que_qsch01",58,242,58,245,cell_shootable,1; + setcell "que_qsch01",72,286,72,289,cell_walkable,1; + setcell "que_qsch01",72,286,72,289,cell_shootable,1; + setcell "que_qsch01",68,254,68,259,cell_walkable,1; + setcell "que_qsch01",68,254,68,259,cell_shootable,1; + setcell "que_qsch01",73,260,73,263,cell_walkable,1; + setcell "que_qsch01",73,260,73,263,cell_shootable,1; + setcell "que_qsch01",75,248,75,251,cell_walkable,1; + setcell "que_qsch01",75,248,75,251,cell_shootable,1; + setcell "que_qsch01",79,280,79,283,cell_walkable,1; + setcell "que_qsch01",79,280,79,283,cell_shootable,1; + setcell "que_qsch01",82,271,85,271,cell_walkable,1; + setcell "que_qsch01",82,271,85,271,cell_shootable,1; + setcell "que_qsch01",89,292,89,295,cell_walkable,1; + setcell "que_qsch01",89,292,89,295,cell_shootable,1; + setcell "que_qsch01",88,276,91,276,cell_walkable,1; + setcell "que_qsch01",88,276,91,276,cell_shootable,1; + setcell "que_qsch01",88,266,91,266,cell_walkable,1; + setcell "que_qsch01",88,266,91,266,cell_shootable,1; + setcell "que_qsch01",94,256,97,256,cell_walkable,1; + setcell "que_qsch01",94,256,97,256,cell_shootable,1; + setcell "que_qsch01",64,298,64,301,cell_walkable,1; + setcell "que_qsch01",64,298,64,301,cell_shootable,1; + setcell "que_qsch01",100,251,103,251,cell_walkable,1; + setcell "que_qsch01",100,251,103,251,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch01,2,2,0 script #miro_rf_sch01 844,{ + +OnEnable: + monster "que_qsch01",57,301," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",57,299," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",48,291," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",48,289," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",68,290," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",70,290," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",72,295," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",72,293," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",90,296," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",92,296," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",56,282," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",58,282," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",66,283," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",66,281," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",80,284," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",82,284," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",44,273," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",46,273," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",50,273," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",52,273," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",54,269," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",54,267," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",66,271," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",66,270," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",81,273," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",81,272," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",88,276," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",90,276," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",94,276," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",96,276," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",64,258," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",66,258," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",76,263," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",76,261," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",87,265," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",87,263," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",50,252," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",52,252," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",76,252," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",78,252," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",99,255," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",99,253," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",53,245," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + monster "que_qsch01",53,243," ",1935,1,"#miro_rf_sch01::OnMyMobDead"; + setcell "que_qsch01",57,298,57,301,cell_walkable,0; + setcell "que_qsch01",57,298,57,301,cell_shootable,0; + setcell "que_qsch01",48,288,48,291,cell_walkable,0; + setcell "que_qsch01",48,288,48,291,cell_shootable,0; + setcell "que_qsch01",68,290,71,290,cell_walkable,0; + setcell "que_qsch01",68,290,71,290,cell_shootable,0; + setcell "que_qsch01",72,292,72,295,cell_walkable,0; + setcell "que_qsch01",72,292,72,295,cell_shootable,0; + setcell "que_qsch01",90,296,93,296,cell_walkable,0; + setcell "que_qsch01",90,296,93,296,cell_shootable,0; + setcell "que_qsch01",56,282,59,282,cell_walkable,0; + setcell "que_qsch01",56,282,59,282,cell_shootable,0; + setcell "que_qsch01",66,280,66,283,cell_walkable,0; + setcell "que_qsch01",66,280,66,283,cell_shootable,0; + setcell "que_qsch01",80,284,83,284,cell_walkable,0; + setcell "que_qsch01",80,284,83,284,cell_shootable,0; + setcell "que_qsch01",44,273,47,273,cell_walkable,0; + setcell "que_qsch01",44,273,47,273,cell_shootable,0; + setcell "que_qsch01",50,273,53,273,cell_walkable,0; + setcell "que_qsch01",50,273,53,273,cell_shootable,0; + setcell "que_qsch01",54,266,54,269,cell_walkable,0; + setcell "que_qsch01",54,266,54,269,cell_shootable,0; + setcell "que_qsch01",66,270,66,271,cell_walkable,0; + setcell "que_qsch01",66,270,66,271,cell_shootable,0; + setcell "que_qsch01",81,272,81,273,cell_walkable,0; + setcell "que_qsch01",81,272,81,273,cell_shootable,0; + setcell "que_qsch01",88,276,91,276,cell_walkable,0; + setcell "que_qsch01",88,276,91,276,cell_shootable,0; + setcell "que_qsch01",94,276,97,276,cell_walkable,0; + setcell "que_qsch01",94,276,97,276,cell_shootable,0; + setcell "que_qsch01",64,258,67,258,cell_walkable,0; + setcell "que_qsch01",64,258,67,258,cell_shootable,0; + setcell "que_qsch01",76,260,76,263,cell_walkable,0; + setcell "que_qsch01",76,260,76,263,cell_shootable,0; + setcell "que_qsch01",87,262,87,265,cell_walkable,0; + setcell "que_qsch01",87,262,87,265,cell_shootable,0; + setcell "que_qsch01",50,252,53,252,cell_walkable,0; + setcell "que_qsch01",50,252,53,252,cell_shootable,0; + setcell "que_qsch01",76,252,79,252,cell_walkable,0; + setcell "que_qsch01",76,252,79,252,cell_shootable,0; + setcell "que_qsch01",99,252,99,255,cell_walkable,0; + setcell "que_qsch01",99,252,99,255,cell_shootable,0; + setcell "que_qsch01",53,242,53,245,cell_walkable,0; + setcell "que_qsch01",53,242,53,245,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch01","#miro_rf_sch01::OnMyMobDead"; + setcell "que_qsch01",57,298,57,301,cell_walkable,1; + setcell "que_qsch01",57,298,57,301,cell_shootable,1; + setcell "que_qsch01",48,288,48,291,cell_walkable,1; + setcell "que_qsch01",48,288,48,291,cell_shootable,1; + setcell "que_qsch01",68,290,71,290,cell_walkable,1; + setcell "que_qsch01",68,290,71,290,cell_shootable,1; + setcell "que_qsch01",72,292,72,295,cell_walkable,1; + setcell "que_qsch01",72,292,72,295,cell_shootable,1; + setcell "que_qsch01",90,296,93,296,cell_walkable,1; + setcell "que_qsch01",90,296,93,296,cell_shootable,1; + setcell "que_qsch01",56,282,59,282,cell_walkable,1; + setcell "que_qsch01",56,282,59,282,cell_shootable,1; + setcell "que_qsch01",66,280,66,283,cell_walkable,1; + setcell "que_qsch01",66,280,66,283,cell_shootable,1; + setcell "que_qsch01",80,284,83,284,cell_walkable,1; + setcell "que_qsch01",80,284,83,284,cell_shootable,1; + setcell "que_qsch01",44,273,47,273,cell_walkable,1; + setcell "que_qsch01",44,273,47,273,cell_shootable,1; + setcell "que_qsch01",50,273,53,273,cell_walkable,1; + setcell "que_qsch01",50,273,53,273,cell_shootable,1; + setcell "que_qsch01",54,266,54,269,cell_walkable,1; + setcell "que_qsch01",54,266,54,269,cell_shootable,1; + setcell "que_qsch01",66,270,66,271,cell_walkable,1; + setcell "que_qsch01",66,270,66,271,cell_shootable,1; + setcell "que_qsch01",81,272,81,273,cell_walkable,1; + setcell "que_qsch01",81,272,81,273,cell_shootable,1; + setcell "que_qsch01",88,276,91,276,cell_walkable,1; + setcell "que_qsch01",88,276,91,276,cell_shootable,1; + setcell "que_qsch01",94,276,97,276,cell_walkable,1; + setcell "que_qsch01",94,276,97,276,cell_shootable,1; + setcell "que_qsch01",64,258,67,258,cell_walkable,1; + setcell "que_qsch01",64,258,67,258,cell_shootable,1; + setcell "que_qsch01",76,260,76,263,cell_walkable,1; + setcell "que_qsch01",76,260,76,263,cell_shootable,1; + setcell "que_qsch01",87,262,87,265,cell_walkable,1; + setcell "que_qsch01",87,262,87,265,cell_shootable,1; + setcell "que_qsch01",50,252,53,252,cell_walkable,1; + setcell "que_qsch01",50,252,53,252,cell_shootable,1; + setcell "que_qsch01",76,252,79,252,cell_walkable,1; + setcell "que_qsch01",76,252,79,252,cell_shootable,1; + setcell "que_qsch01",99,252,99,255,cell_walkable,1; + setcell "que_qsch01",99,252,99,255,cell_shootable,1; + setcell "que_qsch01",53,242,53,245,cell_walkable,1; + setcell "que_qsch01",53,242,53,245,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch01,2,3,0 script #miro_yf_sch01 844,{ + +OnEnable: + monster "que_qsch01",44,292," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",46,292," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",67,295," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",67,293," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",94,301," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",94,299," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",79,289," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",79,287," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",56,282," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",58,282," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",71,283," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",71,281," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",100,281," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",102,281," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",44,261," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",46,261," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",50,265," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",52,265," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",56,270," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",58,270," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",72,278," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",73,278," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",82,266," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",84,266," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",88,266," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",90,266," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",94,271," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",96,271," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",60,257," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",60,255," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",73,263," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",73,261," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",75,257," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",75,255," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",87,257," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",87,255," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",58,251," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",58,249," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",80,251," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",80,249," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",53,245," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",53,243," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",75,245," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",75,243," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",100,251," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",102,251," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",100,256," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + monster "que_qsch01",102,256," ",1936,1,"#miro_yf_sch01::OnMyMobDead"; + setcell "que_qsch01",44,292,47,292,cell_walkable,0; + setcell "que_qsch01",44,292,47,292,cell_shootable,0; + setcell "que_qsch01",67,292,67,295,cell_walkable,0; + setcell "que_qsch01",67,292,67,295,cell_shootable,0; + setcell "que_qsch01",94,298,94,301,cell_walkable,0; + setcell "que_qsch01",94,298,94,301,cell_shootable,0; + setcell "que_qsch01",79,286,79,289,cell_walkable,0; + setcell "que_qsch01",79,286,79,289,cell_shootable,0; + setcell "que_qsch01",56,282,59,282,cell_walkable,0; + setcell "que_qsch01",56,282,59,282,cell_shootable,0; + setcell "que_qsch01",71,280,71,283,cell_walkable,0; + setcell "que_qsch01",71,280,71,283,cell_shootable,0; + setcell "que_qsch01",100,281,103,281,cell_walkable,0; + setcell "que_qsch01",100,281,103,281,cell_shootable,0; + setcell "que_qsch01",44,261,47,261,cell_walkable,0; + setcell "que_qsch01",44,261,47,261,cell_shootable,0; + setcell "que_qsch01",50,265,53,265,cell_walkable,0; + setcell "que_qsch01",50,265,53,265,cell_shootable,0; + setcell "que_qsch01",56,270,59,270,cell_walkable,0; + setcell "que_qsch01",56,270,59,270,cell_shootable,0; + setcell "que_qsch01",72,278,73,278,cell_walkable,0; + setcell "que_qsch01",72,278,73,278,cell_shootable,0; + setcell "que_qsch01",82,266,85,266,cell_walkable,0; + setcell "que_qsch01",82,266,85,266,cell_shootable,0; + setcell "que_qsch01",88,266,91,266,cell_walkable,0; + setcell "que_qsch01",88,266,91,266,cell_shootable,0; + setcell "que_qsch01",94,271,97,271,cell_walkable,0; + setcell "que_qsch01",94,271,97,271,cell_shootable,0; + setcell "que_qsch01",60,254,60,257,cell_walkable,0; + setcell "que_qsch01",60,254,60,257,cell_shootable,0; + setcell "que_qsch01",73,260,73,263,cell_walkable,0; + setcell "que_qsch01",73,260,73,263,cell_shootable,0; + setcell "que_qsch01",75,254,75,257,cell_walkable,0; + setcell "que_qsch01",75,254,75,257,cell_shootable,0; + setcell "que_qsch01",87,254,87,257,cell_walkable,0; + setcell "que_qsch01",87,254,87,257,cell_shootable,0; + setcell "que_qsch01",58,248,58,251,cell_walkable,0; + setcell "que_qsch01",58,248,58,251,cell_shootable,0; + setcell "que_qsch01",80,248,80,251,cell_walkable,0; + setcell "que_qsch01",80,248,80,251,cell_shootable,0; + setcell "que_qsch01",53,242,53,245,cell_walkable,0; + setcell "que_qsch01",53,242,53,245,cell_shootable,0; + setcell "que_qsch01",75,242,75,245,cell_walkable,0; + setcell "que_qsch01",75,242,75,245,cell_shootable,0; + setcell "que_qsch01",100,251,103,251,cell_walkable,0; + setcell "que_qsch01",100,251,103,251,cell_shootable,0; + setcell "que_qsch01",100,256,103,256,cell_walkable,0; + setcell "que_qsch01",100,256,103,256,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch01","#miro_yf_sch01::OnMyMobDead"; + setcell "que_qsch01",44,292,47,292,cell_walkable,1; + setcell "que_qsch01",44,292,47,292,cell_shootable,1; + setcell "que_qsch01",67,292,67,295,cell_walkable,1; + setcell "que_qsch01",67,292,67,295,cell_shootable,1; + setcell "que_qsch01",94,298,94,301,cell_walkable,1; + setcell "que_qsch01",94,298,94,301,cell_shootable,1; + setcell "que_qsch01",79,286,79,289,cell_walkable,1; + setcell "que_qsch01",79,286,79,289,cell_shootable,1; + setcell "que_qsch01",56,282,59,282,cell_walkable,1; + setcell "que_qsch01",56,282,59,282,cell_shootable,1; + setcell "que_qsch01",71,280,71,283,cell_walkable,1; + setcell "que_qsch01",71,280,71,283,cell_shootable,1; + setcell "que_qsch01",100,281,103,281,cell_walkable,1; + setcell "que_qsch01",100,281,103,281,cell_shootable,1; + setcell "que_qsch01",44,261,47,261,cell_walkable,1; + setcell "que_qsch01",44,261,47,261,cell_shootable,1; + setcell "que_qsch01",50,265,53,265,cell_walkable,1; + setcell "que_qsch01",50,265,53,265,cell_shootable,1; + setcell "que_qsch01",56,270,59,270,cell_walkable,1; + setcell "que_qsch01",56,270,59,270,cell_shootable,1; + setcell "que_qsch01",72,278,73,278,cell_walkable,1; + setcell "que_qsch01",72,278,73,278,cell_shootable,1; + setcell "que_qsch01",82,266,85,266,cell_walkable,1; + setcell "que_qsch01",82,266,85,266,cell_shootable,1; + setcell "que_qsch01",88,266,91,266,cell_walkable,1; + setcell "que_qsch01",88,266,91,266,cell_shootable,1; + setcell "que_qsch01",94,271,97,271,cell_walkable,1; + setcell "que_qsch01",94,271,97,271,cell_shootable,1; + setcell "que_qsch01",60,254,60,257,cell_walkable,1; + setcell "que_qsch01",60,254,60,257,cell_shootable,1; + setcell "que_qsch01",73,260,73,263,cell_walkable,1; + setcell "que_qsch01",73,260,73,263,cell_shootable,1; + setcell "que_qsch01",75,254,75,257,cell_walkable,1; + setcell "que_qsch01",75,254,75,257,cell_shootable,1; + setcell "que_qsch01",87,254,87,257,cell_walkable,1; + setcell "que_qsch01",87,254,87,257,cell_shootable,1; + setcell "que_qsch01",58,248,58,251,cell_walkable,1; + setcell "que_qsch01",58,248,58,251,cell_shootable,1; + setcell "que_qsch01",80,248,80,251,cell_walkable,1; + setcell "que_qsch01",80,248,80,251,cell_shootable,1; + setcell "que_qsch01",53,242,53,245,cell_walkable,1; + setcell "que_qsch01",53,242,53,245,cell_shootable,1; + setcell "que_qsch01",75,242,75,245,cell_walkable,1; + setcell "que_qsch01",75,242,75,245,cell_shootable,1; + setcell "que_qsch01",100,251,103,251,cell_walkable,1; + setcell "que_qsch01",100,251,103,251,cell_shootable,1; + setcell "que_qsch01",100,256,103,256,cell_walkable,1; + setcell "que_qsch01",100,256,103,256,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch01,132,172,0 script windpath01_sch01 45,1,1,{ +OnTouch: + if (countitem(7839) > 0) { + mes "The Warp Gate responds to the Crystal Key."; + delitem 7839,1; //Crystal_Key + close2; + warp "que_qsch01",114,158; + end; + } + else { + mes "You need the Crystal Key to activate the Warp Gate."; + close; + } +} + +que_qsch01,113,165,0 warp windpath02_sch01 1,1,que_qsch01,139,172 + + +que_qsch01,131,136,3 script Piamette#sch01 1930,{ +OnInit: + enablenpc "Piamette#sch01"; + end; +} + +que_qsch01,114,158,0 script #event_start01_sch01 -1,1,1,{ + +OnInit: + disablenpc "#event_start01_sch01"; + end; + +OnEnable: + enablenpc "#event_start01_sch01"; + end; + +OnDisable: + disablenpc "#event_start01_sch01"; + stopnpctimer; + end; + +OnTouch: + initnpctimer; + disablenpc "#event_start01_sch01"; + end; + +OnTimer2000: + mapannounce "que_qsch01","Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093"; + end; + +OnTimer6000: + mapannounce "que_qsch01","Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093"; + end; + +OnTimer10000: + mapannounce "que_qsch01","Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093"; + end; + +OnTimer14000: + mapannounce "que_qsch01","Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00"; + donpcevent "#gdtimer01_sch01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch01,2,2,0 script #gdtimer01_sch01 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + donpcevent "#getspell01_sch01::OnDisable"; + donpcevent "#getspell02_sch01::OnDisable"; + donpcevent "#getspell03_sch01::OnDisable"; + donpcevent "#getspell04_sch01::OnDisable"; + donpcevent "#getspell05_sch01::OnDisable"; + donpcevent "#getspell06_sch01::OnDisable"; + donpcevent "#getspell07_sch01::OnDisable"; + donpcevent "#getspell08_sch01::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#getspell08_sch01::OnDisable"; + donpcevent "#getspell01_sch01::OnEnable"; + end; + +OnTimer10000: + donpcevent "#getspell01_sch01::OnDisable"; + donpcevent "#getspell02_sch01::OnEnable"; + end; + +OnTimer20000: + donpcevent "#getspell02_sch01::OnDisable"; + donpcevent "#getspell03_sch01::OnEnable"; + end; + +OnTimer30000: + donpcevent "#getspell03_sch01::OnDisable"; + donpcevent "#getspell04_sch01::OnEnable"; + end; + +OnTimer40000: + donpcevent "#getspell04_sch01::OnDisable"; + donpcevent "#getspell05_sch01::OnEnable"; + end; + +OnTimer50000: + donpcevent "#getspell05_sch01::OnDisable"; + donpcevent "#getspell06_sch01::OnEnable"; + end; + +OnTimer60000: + donpcevent "#getspell06_sch01::OnDisable"; + donpcevent "#getspell07_sch01::OnEnable"; + end; + +OnTimer70000: + donpcevent "#getspell07_sch01::OnDisable"; + donpcevent "#getspell08_sch01::OnEnable"; + end; + +OnTimer75000: + if ($gqse_sch01_gd < 6) { + mapannounce "que_qsch01","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00"; + enablenpc "#sch01_cage01"; + enablenpc "#sch01_cage02"; + enablenpc "#sch01_cage03"; + enablenpc "#sch01_cage04"; + enablenpc "#sch01_cage05"; + enablenpc "#sch01_cage06"; + set $gqse_sch01_gd,0; + } + end; + +OnTimer76000: + disablenpc "#sch01_cage01"; + disablenpc "#sch01_cage02"; + disablenpc "#sch01_cage03"; + disablenpc "#sch01_cage04"; + disablenpc "#sch01_cage05"; + disablenpc "#sch01_cage06"; + end; + +OnTimer80000: + donpcevent "#gdtimer01_sch01::OnEnable"; + end; +} + +que_qsch01,2,3,0 script #gdtimer02_sch01 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + stopnpctimer; + killmonster "que_qsch01","#gdtimer02_sch01::OnMyMobDead"; + end; + +OnTimer4000: + mapannounce "que_qsch01","Piamette : All of them are caught!",bc_map,"0xdb7093"; + end; + +OnTimer8000: + mapannounce "que_qsch01","Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093"; + end; + +OnTimer12000: + mapannounce "que_qsch01","Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093"; + monster "que_qsch01",108,151,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + monster "que_qsch01",107,135,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + monster "que_qsch01",113,114,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + monster "que_qsch01",158,106,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + monster "que_qsch01",163,133,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + monster "que_qsch01",150,154,"Key Stone",1905,1,"#gdtimer02_sch01::OnMyMobDead"; + end; + +OnTimer112000: + mapannounce "que_qsch01","Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093"; + killmonster "que_qsch01","#gdtimer02_sch01::OnMyMobDead"; + enablenpc "#sch01_cage01"; + enablenpc "#sch01_cage02"; + enablenpc "#sch01_cage03"; + enablenpc "#sch01_cage04"; + enablenpc "#sch01_cage05"; + enablenpc "#sch01_cage06"; + set $gqse_sch01_gd,0; + end; + +OnTimer113000: + disablenpc "#sch01_cage01"; + disablenpc "#sch01_cage02"; + disablenpc "#sch01_cage03"; + disablenpc "#sch01_cage04"; + disablenpc "#sch01_cage05"; + disablenpc "#sch01_cage06"; + donpcevent "#gdtimer01_sch01::OnEnable"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch01","#gdtimer02_sch01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#gdtimer02_sch01::OnMyMobDead") == 0) { + enablenpc "#sch01_cage01"; + enablenpc "#sch01_cage02"; + enablenpc "#sch01_cage03"; + enablenpc "#sch01_cage04"; + enablenpc "#sch01_cage05"; + enablenpc "#sch01_cage06"; + donpcevent "#piamette_sch01::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch01,1,4,0 script #piamette_sch01 844,{ +OnEnable: + initnpctimer; + end; + +Onreset: + killmonster "que_qsch01","#piamette_sch01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch01","Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093"; + end; + +OnTimer5000: + mapannounce "que_qsch01","Piamette : I'm pissed off now!",bc_map,"0xdb7093"; + donpcevent "Piamette#sch01::OnDisable"; + monster "que_qsch01",131,135,"Angry Piamette",1930,1,"#piamette_sch01::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + mapannounce "que_qsch01","Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00"; + donpcevent "windpath03_sch01::OnEnable"; + donpcevent "windpath04_sch01::OnEnable"; + donpcevent "#nm_switch_sch01::OnEnable"; + end; +} + +que_qsch01,113,135,0 script #getspell01_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell01_sch01"; + end; + +OnEnable: + enablenpc "#getspell01_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell01_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,146,150,0 script #getspell02_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell02_sch01"; + end; + +OnEnable: + enablenpc "#getspell02_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell02_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,131,117,0 script #getspell03_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell03_sch01"; + end; + +OnEnable: + enablenpc "#getspell03_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell03_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,117,150,0 script #getspell04_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell04_sch01"; + end; + +OnEnable: + enablenpc "#getspell04_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell04_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,150,135,0 script #getspell05_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell05_sch01"; + end; + +OnEnable: + enablenpc "#getspell05_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell05_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,117,121,0 script #getspell06_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell06_sch01"; + end; + +OnEnable: + enablenpc "#getspell06_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell06_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,131,154,0 script #getspell07_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell07_sch01"; + end; + +OnEnable: + enablenpc "#getspell07_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell07_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,146,121,0 script #getspell08_sch01 -1,1,1,{ +OnInit: + disablenpc "#getspell08_sch01"; + end; + +OnEnable: + enablenpc "#getspell08_sch01"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell08_sch01"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch01_gd == 0) { + warp "que_qsch01",103,153; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,1; + mapannounce "que_qsch01","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 1) { + warp "que_qsch01",102,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,2; + mapannounce "que_qsch01","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 2) { + warp "que_qsch01",113,111; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,3; + mapannounce "que_qsch01","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 3) { + warp "que_qsch01",161,105; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,4; + mapannounce "que_qsch01","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 4) { + warp "que_qsch01",168,135; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,5; + mapannounce "que_qsch01","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch01_gd == 5) { + warp "que_qsch01",150,159; + disablenpc "#getspell01_sch01"; + set $gqse_sch01_gd,6; + mapannounce "que_qsch01","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch01::OnEnable"; + donpcevent "#gdtimer01_sch01::Onstop"; + } + end; +} + +que_qsch01,103,153,0 script #sch01_cage01 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage01"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",108,151; + disablenpc "#sch01_cage01"; + end; +} + +que_qsch01,102,135,0 script #sch01_cage02 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage02"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",107,135; + disablenpc "#sch01_cage02"; + end; +} + +que_qsch01,113,111,0 script #sch01_cage03 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage03"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",113,114; + disablenpc "#sch01_cage03"; + end; +} + +que_qsch01,161,105,0 script #sch01_cage04 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage04"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",158,106; + disablenpc "#sch01_cage04"; + end; +} + +que_qsch01,168,135,0 script #sch01_cage05 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage05"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",163,133; + disablenpc "#sch01_cage05"; + end; +} + +que_qsch01,150,159,0 script #sch01_cage06 -1,1,1,{ +OnInit: + disablenpc "#sch01_cage06"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch01",150,154; + disablenpc "#sch01_cage06"; + end; +} + +que_qsch01,1,8,0 script #gd_sch01_mobctrl 844,{ +OnEnable: + monster "que_qsch01",107,152,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",109,135,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",113,116,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",157,107,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",163,133,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",149,156,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",130,139,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",135,137,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",130,132,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",128,137,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",109,145,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",109,130,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",128,114,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",147,114,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",154,128,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",151,145,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",130,151,"Alice",1275,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",131,139,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",135,136,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",131,132,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",128,136,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",110,145,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",129,114,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",148,114,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",155,128,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",152,145,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",131,151,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",110,130,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",132,139,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",135,135,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",132,132,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",128,135,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",111,145,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",111,130,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",130,114,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",149,114,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",156,128,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",153,145,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",132,151,"Violy",1390,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",133,139,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",135,134,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",133,132,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",128,135,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",112,145,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",131,114,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",150,114,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",157,128,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",154,145,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",133,151,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",112,130,"Ancient Mimic",1699,1,"#gd_sch01_mobctrl::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch01","#gd_sch01_mobctrl::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#gd_sch01_mobctrl::OnMyMobDead") < 7) { + monster "que_qsch01",107,152,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",109,135,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",113,116,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",157,107,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",163,133,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + monster "que_qsch01",149,156,"Ball of Piamette",1738,1,"#gd_sch01_mobctrl::OnMyMobDead"; + } + end; +} + +que_qsch01,149,105,0 script windpath03_sch01 45,1,1,{ +OnInit: + disablenpc "windpath03_sch01"; + end; + +OnTouch: + warp "que_qsch01",119,103; + end; +} + +que_qsch01,128,104,0 script windpath04_sch01 45,1,1,{ +OnInit: + disablenpc "windpath04_sch01"; + end; + +OnTouch: + warp "que_qsch01",146,109; + end; +} + +que_qsch01,253,273,0 script #nm_switch_sch01 -1,5,5,{ +OnInit: + disablenpc "#nm_switch_sch01"; + end; + +OnEnable: + enablenpc "#nm_switch_sch01"; + end; + +OnDisable: + disablenpc "#nm_switch_sch01"; + stopnpctimer; + end; + +OnTouch: + disablenpc "#nm_switch_sch01"; + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch01","Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch01","Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00"; + end; + +OnTimer9000: + mapannounce "que_qsch01","Wish Maiden: So come here to me safely...",bc_map,"0x00ff00"; + end; + +OnTimer10000: + donpcevent "#nmsomsch01_jin01::OnEnable"; + donpcevent "#sch01_stone01::OnEnable"; + end; + +OnTimer190000: + donpcevent "#nmsomsch01_jin02::OnEnable"; + donpcevent "#sch01_stone02::OnEnable"; + end; + +OnTimer370000: + donpcevent "#nmsomsch01_jin03::OnEnable"; + donpcevent "#sch01_stone03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch01,229,297,0 script #nmsomsch01_jin01 -1,{ +OnEnable: + donpcevent "#sch01_stone01::OnEnable"; + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch01","#nmsomsch01_jin01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch01","The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch01",226,288,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",227,289,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",228,290,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",229,291,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",230,292,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,293,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",232,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",233,295,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",234,296,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",235,297,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",228,286,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",229,287,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",230,288,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,289,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",232,290,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",233,291,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",234,292,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",235,293,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",236,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",237,295,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",230,284,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,285,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",232,286,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",233,287,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",234,288,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",235,289,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",236,290,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",237,291,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",238,292,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",239,293,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch01",226,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",227,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",228,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",229,294,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",230,295,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,296,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,297,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,298,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",231,299,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",230,300,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",229,301,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",228,301,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",227,301,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",226,301,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",225,300,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",224,299,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",224,298,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",224,297,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",224,296,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + monster "que_qsch01",225,295,"Guard of Shadow",1752,1,"#nmsomsch01_jin01::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch01,2,8,0 script #sch01_stone01 844,{ +OnEnable: + monster "que_qsch01",227,294,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",229,294,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",231,296,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",231,298,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",230,300,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",228,301,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",226,301,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",224,299,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",224,297,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + monster "que_qsch01",225,295,"Western Magic Guardian",1752,1,"#sch01_stone01::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch01","#sch01_stone01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#sch01_stone01::OnMyMobDead") == 0) { + set $gqse_sch01_nm,$gqse_sch01_nm+1; + donpcevent "#nmsomsch01_jin01::OnDisable"; + if ($gqse_sch01_nm == 3) { + donpcevent "Wish Maiden#sch01_boss::Onfight"; + } + } + end; +} + +que_qsch01,275,299,0 script #nmsomsch01_jin02 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch01","#nmsomsch01_jin02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch01","The Eastern magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch01",263,292,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",264,291,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",265,290,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",266,289,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",267,288,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",268,287,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",269,286,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",270,285,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",271,284,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,283,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",265,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",266,293,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",267,292,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",268,291,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",269,290,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",270,289,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",271,288,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,287,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",273,286,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",274,285,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",267,296,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",268,295,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",269,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",270,283,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",271,282,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,281,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",273,280,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",274,279,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",275,276,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",276,275,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch01",274,301,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",275,301,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",276,301,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",277,301,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",278,300,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",279,299,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",279,298,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",279,297,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",279,296,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",278,295,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",277,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",276,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",275,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",274,294,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",273,295,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,296,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,297,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,298,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",272,299,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + monster "que_qsch01",273,300,"Bloody Hunter",1753,1,"#nmsomsch01_jin02::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch01,2,9,0 script #sch01_stone02 844,{ +OnEnable: + monster "que_qsch01",275,301,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",277,301,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",279,299,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",279,297,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",278,295,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",276,294,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",274,294,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",272,296,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",272,298,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + monster "que_qsch01",273,300,"Eastern Magic Guardian",1753,1,"#sch01_stone02::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch01","#sch01_stone02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#sch01_stone02::OnMyMobDead") == 0) { + set $gqse_sch01_nm,$gqse_sch01_nm+1; + donpcevent "#nmsomsch01_jin02::OnDisable"; + if ($gqse_sch01_nm == 3) { + donpcevent "Wish Maiden#sch01_boss::Onfight"; + } + } + end; +} + +que_qsch01,251,340,0 script #nmsomsch01_jin03 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch01","#nmsomsch01_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch01","The Northern magic formation is working to summon Keeper of the temple.",bc_map,"0x4d4dff"; + monster "que_qsch01",247,329,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",249,329,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",251,329,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",253,329,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,329,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",243,339,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",245,337,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",247,335,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",247,333,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",254,333,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",256,335,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",258,337,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",260,339,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + end; + +OnTimer120000: + monster "que_qsch01",251,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,341,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",254,337,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + end; + +OnTimer240000: + monster "que_qsch01",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,338,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",249,342,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + end; + +OnTimer360000: + monster "que_qsch01",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",251,336,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,339,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + monster "que_qsch01",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch01_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch01,2,10,0 script #sch01_stone03 844,{ +OnEnable: + monster "que_qsch01",251,343,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",252,343,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",255,341,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",255,340,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",254,337,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",253,336,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",250,336,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",249,337,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",248,340,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + monster "que_qsch01",248,341,"Northern Magic Guardian",1933,1,"#sch01_stone03::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch01","#sch01_stone03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","#sch01_stone03::OnMyMobDead") == 0) { + set $gqse_sch01_nm,$gqse_sch01_nm+1; + donpcevent "#nmsomsch01_jin03::OnDisable"; + + if ($gqse_sch01_nm == 3) { + donpcevent "Wish Maiden#sch01_boss::Onfight"; + } + } + end; +} + +que_qsch01,235,285,5 script Guard of Shadow#sch01_01 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch01_01"; + end; + +OnDisable: + killmonster "que_qsch01","Guard of Shadow#sch01_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch01_01"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch01_01"; + monster "que_qsch01",234,284,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_01::OnMyMobDead"; + monster "que_qsch01",235,285,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_01::OnMyMobDead"; + monster "que_qsch01",236,286,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,224,290,5 script Guard of Shadow#sch01_02 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch01_02"; + end; + +OnDisable: + killmonster "que_qsch01","Guard of Shadow#sch01_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch01_02"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch01_02"; + monster "que_qsch01",223,289,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_02::OnMyMobDead"; + monster "que_qsch01",224,290,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_02::OnMyMobDead"; + monster "que_qsch01",225,291,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,236,296,5 script Guard of Shadow#sch01_03 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch01_03"; + end; + +OnDisable: + killmonster "que_qsch01","Guard of Shadow#sch01_03::OnMyMobDead"; + disablenpc "Guard of Shadow#sch01_03"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch01_03"; + monster "que_qsch01",235,295,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_03::OnMyMobDead"; + monster "que_qsch01",236,296,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_03::OnMyMobDead"; + monster "que_qsch01",237,297,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,225,303,5 script Guard of Shadow#sch01_04 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch01_04"; + end; + +OnDisable: + killmonster "que_qsch01","Guard of Shadow#sch01_04::OnMyMobDead"; + disablenpc "Guard of Shadow#sch01_04"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch01_04"; + monster "que_qsch01",224,302,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_04::OnMyMobDead"; + monster "que_qsch01",225,303,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_04::OnMyMobDead"; + monster "que_qsch01",226,304,"Guard of Shadow",1752,1,"Guard of Shadow#sch01_04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,266,296,3 script Bloody Hunter#sch01_ac01 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch01_ac01"; + end; + +OnDisable: + killmonster "que_qsch01","Bloody Hunter#sch01_ac01::OnMyMobDead"; + disablenpc "Bloody Hunter#sch01_ac01"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch01_ac01"; + monster "que_qsch01",265,297,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac01::OnMyMobDead"; + monster "que_qsch01",266,296,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac01::OnMyMobDead"; + monster "que_qsch01",267,295,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,271,283,3 script Bloody Hunter#sch01_ac02 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch01_ac02"; + end; + +OnDisable: + killmonster "que_qsch01","Bloody Hunter#sch01_ac02::OnMyMobDead"; + disablenpc "Bloody Hunter#sch01_ac02"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch01_ac02"; + monster "que_qsch01",270,284,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac02::OnMyMobDead"; + monster "que_qsch01",271,283,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac02::OnMyMobDead"; + monster "que_qsch01",272,282,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,270,307,3 script Bloody Hunter#sch01_ac03 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch01_ac03"; + end; + +OnDisable: + killmonster "que_qsch01","Bloody Hunter#sch01_ac03::OnMyMobDead"; + disablenpc "Bloody Hunter#sch01_ac03"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch01_ac03"; + monster "que_qsch01",269,308,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac03::OnMyMobDead"; + monster "que_qsch01",270,307,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac03::OnMyMobDead"; + monster "que_qsch01",271,306,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,279,300,3 script Bloody Hunter#sch01_ac04 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch01_ac04"; + end; + +OnDisable: + killmonster "que_qsch01","Bloody Hunter#sch01_ac04::OnMyMobDead"; + disablenpc "Bloody Hunter#sch01_ac04"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch01_ac04"; + monster "que_qsch01",278,301,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac04::OnMyMobDead"; + monster "que_qsch01",279,300,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac04::OnMyMobDead"; + monster "que_qsch01",280,299,"Bloody Hunter",1753,1,"Bloody Hunter#sch01_ac04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,247,330,5 script ½ÅÀü¼öÈ£ÀÚ#sch01_ac01 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch01_ac01"; + end; + +OnDisable: + killmonster "que_qsch01","Temple Keeper#sch01_ac01::OnMyMobDead"; + disablenpc "Temple Keeper#sch01_ac01"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch01_ac01"; + monster "que_qsch01",246,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac01::OnMyMobDead"; + monster "que_qsch01",247,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac01::OnMyMobDead"; + monster "que_qsch01",248,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,255,330,3 script ½ÅÀü¼öÈ£ÀÚ#sch01_ac02 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch01_ac02"; + end; + +OnDisable: + killmonster "que_qsch01","Temple Keeper#sch01_ac02::OnMyMobDead"; + disablenpc "Temple Keeper#sch01_ac02"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch01_ac02"; + monster "que_qsch01",254,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac02::OnMyMobDead"; + monster "que_qsch01",255,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac02::OnMyMobDead"; + monster "que_qsch01",256,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch01_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch01,251,255,3 script Wish Maiden#sch01_boss 1931,{ +OnInit: + disablenpc "Wish Maiden#sch01_boss"; + end; + +OnDisable: + killmonster "que_qsch01","Wish Maiden#sch01_boss::OnMyMobDead"; + disablenpc "Wish Maiden#sch01_boss"; + stopnpctimer; + end; + +Onfight: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch01","Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch01","Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00"; + end; + +OnTimer5000: + specialeffect EF_ICECRASH; + disablenpc "Wish Maiden#sch01_boss"; + specialeffect EF_SPHERE; + monster "que_qsch01",252,340,"Wish Maiden",1931,1,"Wish Maiden#sch01_boss::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch01","Wish Maiden#sch01_boss::OnMyMobDead") == 0) { + donpcevent "#okolnir_sch01::Onstop"; + donpcevent "Wish Maiden#sch01_gift::OnEnable"; + mapannounce "que_qsch01","Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00"; + } + end; +} + +que_qsch01,252,340,3 script Wish Maiden#sch01_gift 403,{ + set .@GID, GetCastleData("schg_cas01",1); + if (getcharid(2) == .@GID) { + if (strcharinfo(0) == getguildmaster(.@GID)) { + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "As I declared, I will give the Goddess' shine to you."; + mes "You have the requirements to carry it..."; + next; + mes "[Wish Maiden]"; + mes "You will be granted the power of the great Valkyrie..."; + next; + mes "[Wish Maiden]"; + mes "I will give you some things for fun."; + mes "All of you enjoy them together..."; + next; + mes "[Wish Maiden]"; + mes "Go to Rachel and Juno to meet the Ravies sisters."; + next; + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "I will open the gate for you to come back here."; + mes "...Okolnir won't last forever..."; + delitem 7830,1; //Goddess_Tear + delitem 7831,1; //Valkyrie_Token + delitem 7832,1; //Brynhild_Armor_Piece + delitem 7833,1; //Hero_Remains + delitem 7834,1; //Andvari_Ring + delitem 2357,1; //Valkyrie_Armor + delitem 7510,100; //Valhalla_Flower + delitem 969,10; //Gold + delitem 985,20; //Elunium + getitem 2383,1; //Brynhild + getitem 7840,1; //Valkyrie_Gift + announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a Brynhild into this world.",bc_all,"0x70dbdb"; + close2; + cutin "wish_maiden11",255; + disablenpc "Wish Maiden#sch01_gift"; + donpcevent "#to_agit_sch01_gate::OnEnable"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "As I declared, you are worthy of holding the Brynhild."; + mes "However, you do not have the requirements on you..."; + next; + mes "[Wish Maiden]"; + mes "...Did you forget something?"; + close2; + } + } + else { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "¸ All of you worked together as a team..."; + mes "Humans are strong when they are united, but are easily swayed by lust."; + next; + mes "[Wish Maiden]"; + mes "Humans are imperfect, so their chief god is there for them when they need help."; + mes "...."; + next; + mes "[Wish Maiden]"; + mes "Always be real."; + mes "Do not regret your actions..."; + close2; + } + } + cutin "wish_maiden11",255; + end; + +OnInit: + disablenpc "Wish Maiden#sch01_gift"; + end; + +OnEnable: + enablenpc "Wish Maiden#sch01_gift"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#sch01_gift"; + stopnpctimer; + end; + +OnTimer280000: + mapannounce "que_qsch01","Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00"; + end; + +OnTimer290000: + mapwarp "que_qsch01","schg_cas01",369,306; + donpcevent "#to_agit_sch01_gate::OnDisable"; + end; + +OnTimer300000: + donpcevent "#okolnir_sch01::OnDisable"; + set $gqse_sch01_miro,0; + set $gqse_sch01_pcc,0; + set $gqse_sch01_gd,0; + set $gqse_sch01_nm,0; + set $siz_sch01_on,2; + donpcevent "#okolnir_sch01_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch01,252,339,0 script #to_agit_sch01_gate 45,1,1,{ +OnInit: + disablenpc "#to_agit_sch01_gate"; + end; + +OnTouch: + warp "schg_cas01",369,306; + end; +} + +que_qsch01,1,6,0 script #okolnir_sch01_time01 844,{ +OnInit: + if ($siz_sch01_on == 2) { + initnpctimer; + } + end; + +OnEnable: + set $gqse_sch01_time,0; + initnpctimer; + end; + +Onreset: + set $siz_sch01_on,0; + set $gqse_sch01_time,0; + stopnpctimer; + end; + +OnTimer3600000: + if ($gqse_sch01_time < 12) { + set $gqse_sch01_time,$gqse_sch01_time+1; + initnpctimer; + } + else if ($gqse_sch01_time == 12) { + set $siz_sch01_on,0; + set $gqse_sch01_time,0; + enablenpc "Wish Maiden#gq_sch01"; + enablenpc "Piamette#sch01"; + donpcevent "Wish Maiden#sch01_boss::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch01,116,313,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,120,285,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,117,236,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,103,223,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,85,204,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,79,186,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,73,167,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,68,150,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,71,128,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,69,118,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,117,78,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,110,79,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,141,80,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,158,84,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,193,104,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,119,269,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,155,77,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch01,110,317,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,115,295,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,116,256,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,113,242,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,99,223,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,94,216,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,77,198,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,70,174,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,72,147,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,64,134,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,77,107,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,84,88,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,98,82,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,129,79,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,91,124,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,173,95,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,179,127,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,195,120,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,178,159,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,88,145,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,94,157,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,95,177,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,129,196,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,154,196,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,170,187,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,194,180,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch01,214,181,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch01,243,199,0,0 monster Garden Watcher 1933,1,1200000,0,0 diff --git a/npc/quests/okolnir/godse_sch02.txt b/npc/quests/okolnir/godse_sch02.txt new file mode 100644 index 000000000..d46226eac --- /dev/null +++ b/npc/quests/okolnir/godse_sch02.txt @@ -0,0 +1,3276 @@ +//===== eAthena Script ======================================= +//= Falicious Okolnir - Nidhoggr 2 +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= God Item SE Creation scipt (Brynhild) +//===== Additional Comments: ================================= +//= 1.0 First version. [L0ne_W0lf] +//============================================================ + +schg_cas02,181,335,3 script Guide#gq_sch02 899,{ + set .@GID, GetCastleData("schg_cas02",1); + if (getcharid(2) == .@GID) { + if ($siz_sch02_on == 0) { + mes "[Guide]"; + mes "This castle has a hidden secret."; + mes "That is the ^4d4dff'Okolnir'^000000."; + next; + switch(select("About Okolnir.:Go to Okolnir.:Cancel.")) { + case 1: + mes "[Guide]"; + mes "Okolnir is a kind of virtual realm..."; + mes "I don't know how Okolnir exists, but I guess only Valkyrie knows."; + next; + mes "[Guide]"; + mes "As you know this is a place to test the adventurers made by Valkyrie..."; + mes "...you know the qualifications to enter Okolnir."; + next; + select("Qualifications?"); + mes "[Guide]"; + mes "Yes, Valkyrie definitely prefers strong adventurers."; + mes "Only the qualified can enter Okolnir and Valhalla."; + next; + mes "[Guide]"; + mes "It only opens when everyone comes together to work it out."; + mes "The key is in the castle."; + next; + mes "[Guide]"; + mes "If a castle's ^4d4dffeconomy is over 65 and defense also over 30^000000, this will be acceptable to access Okolnir."; + next; + mes "[Guide]"; + mes "And, if you pass all of the tests given by Valkyrie in Okolnir!"; + mes "You will also receive a mysterious gift."; + next; + mes "[Guide]"; + mes "Would you like to try to enter here?"; + close; + case 2: + set .@Defence,GetCastleData("schg_cas02",3); + set .@Economy,GetCastleData("schg_cas02",2); + if ((.@Economy > 64) && (.@Defence > 29)) { + mes "[Guide]"; + mes "Great! Economy and Defense are OK."; + mes "You can enter Okolnir now...."; + mes "Do you want to go there?"; + next; + switch(select("Sure let's go there.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Ok......"; + mes "Please follow me..."; + close2; + warp "que_qsch02",346,32; + end; + case 2: + mes "[Guide]"; + mes "You can try this anytime in the future..."; + mes "If you are ready to protect this castle."; + close; + } + } + else { + mes "[Guide]"; + mes "You are not qualified yet."; + mes "Please develop your castle more..."; + close; + } + } + } + else if ($siz_sch02_on == 1) { + mes "[Guide]"; + mes "... OK..."; + mes "Good luck."; + next; + switch(select("Enter now.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Hope you get everything you want..."; + close2; + warp "que_qsch02",346,32; + end; + case 2: + mes "[Guide]"; + mes "Really?"; + mes "Sorry to hear that."; + close; + } + } + else if ($siz_sch02_on == 2) { + mes "[Guide]"; + mes "Building Okolnir needs quite a long time."; + mes "....even though it's only virtual..."; + next; + mes "[Guide]"; + mes "It takes about 12 -13 hours to create the virtual realm."; + close; + } + else { + mes "[Guide]"; + mes "You'll have to wait."; + close; + } + } + else { + mes "[Guide]"; + mes "... I've never seen you before."; + mes "You are strangers here. You'd better get out of here right now."; + close; + } + end; + +OnInit: + set $gqse_sch02_miro,0; + set $gqse_sch02_pcc,0; + set $gqse_sch02_gd,0; + set $gqse_sch02_nm,0; + if ($siz_sch02_on == 1) { + set $siz_sch02_on,0; + } + enablenpc "Guide#gq_sch02"; + end; +} + +que_qsch02,345,23,0 warp Gate02#gq_sch02 1,1,schg_cas02,177,355 + +que_qsch02,345,82,3 script Wish Maiden#gq_sch02 403,{ + set .@GID, GetCastleData("schg_cas02",1); + if (getcharid(2) == .@GID) { + cutin "wish_maiden31",1; + if (strcharinfo(0) == getguildmaster(.@GID)) { + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Are you ready to endure the trials to get the Goddess' glory?"; + next; + switch(select("Yes, I am:Sorry, I'll try later")) { + case 1: + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "I will test whether or not you deserve the Goddess shine..."; + mes "Isn't it simple?"; + next; + mes "[Wish Maiden]"; + mes "Okolnir is a virtual place."; + mes "There is no room for error there."; + mes "^ff0000You only have one hour.^000000"; + next; + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "If you have not finished in that time, Okolnir will be destroyed, and I will go to rest."; + mes "You will have to wait again..."; + next; + mes "[Wish Maiden]"; + mes "Are you ready to go through?"; + mes "^4d4dffYou need to have 16 to 20 members present^000000."; + next; + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "I will open the gate of Okolnir if your members are ready."; + next; + switch(select("We are ready.:We need more time.")) { + case 1: + set .@saram,getmapusers("que_qsch02"); + if (((.@saram > 15) && (.@saram < 21)) || (getgmlevel() == 99)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "Now I will open the gate of Okolnir where I am."; + mes "I will wait for you on the top of Okolnir..."; + next; + mes "[Wish Maiden]"; + mes "I hope that you can complete all of the trials before the virtual Okolnir is destroyed..."; + mes "Good luck."; + mapannounce "que_qsch02","Wish Maiden: The gate of Okolnir is open! Don't forget you only have one hour.",bc_map,"0x00ff00"; + close2; + set $gqse_sch02_pcc,.@saram; + set $siz_sch02_on,1; + donpcevent "#okolnir_sch02::OnEnable"; + disablenpc "Wish Maiden#gq_sch02"; + cutin "wish_maiden11",255; + announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "You need to have 16 to 20 members present to open the gate of Okolnir."; + mes "Come back when you are ready."; + close2; + } + break; + case 2: + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Don't hesitate to try."; + mes "You should catch the chance when it comes to you."; + mes "Just gather your fellow members."; + close2; + } + break; + case 2: + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "... Are you afraid of"; + mes "the trials facing you?"; + mes "...."; + next; + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Do you think that you can defeat the Goddess shine easily?"; + mes "I feel disappointed by all of you."; + mes "Just go away..."; + close2; + } + } + else { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Do you wish to enter?"; + mes "Only those prepared may enter here."; + mes "You must bring several items to enter Okolnir."; + next; + mes "[Wish Maiden]"; + mes "Goddess Tear"; + mes "Valkyrie's Token"; + mes "Brynhild Armor Piece"; + mes "Hero Remains"; + mes "Valkyrie Armor"; + mes "Andvari's Ring."; + next; + mes "[Wish Maiden]"; + mes "You must bring those six things, 10 Gold, and 20 Elunium."; + mes "Many Valhala's Flowers are also required as an offering."; + next; + mes "[Wish Maiden]"; + mes "Once all of those are prepared, the gate will open."; + next; + mes "[Wish Maiden]"; + mes ".... "; + mes "...........The Goddess shines brightly down on you, you should be stronger to deserve it..."; + next; + mes "[Wish Maiden]"; + mes "Remember..."; + mes "You need to collect many Valhalla flowers."; + mes "I hope that your dreams come true."; + next; + mes "[Wish Maiden]"; + mes "I will answer all your requests if you bring these to me."; + close2; + } + } + else { + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + mes "[Wish Maiden]"; + mes "Bring me the one who brought you to this place."; + mes ".. Deliver him to my will."; + close2; + } + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "...You are not qualified."; + close2; + percentheal -100,0; + cutin "wish_maiden11",255; + end; + } + cutin "wish_maiden11",255; + end; + +OnInit: + if ($siz_sch02_on == 0) { + enablenpc "Wish Maiden#gq_sch02"; + } + else { + disablenpc "Wish Maiden#gq_sch02"; + } + end; +} + +que_qsch02,346,81,0 script Gate01#gq_sch02 45,1,1,{ + end; + +OnInit: + disablenpc "Gate01#gq_sch02"; + end; + +OnEnable: + enablenpc "Gate01#gq_sch02"; + setcell "que_qsch02",58,302,63,302,cell_walkable,0; + setcell "que_qsch02",58,302,63,302,cell_shootable,0; + end; + +OnDisable: + disablenpc "Gate01#gq_sch02"; + killmonsterall "que_qsch02"; + end; + +OnTouch: + set .@saram,getmapusers("que_qsch02"); + if (.@saram < 21) { + if ($gqse_sch02_miro == $gqse_sch02_pcc) { + set .@point,rand(1,5); + if (.@point == 1) { + warp "que_qsch02",72,271; + end; + } + else if (.@point == 2) { + warp "que_qsch02",45,243; + end; + } + else if (.@point == 3) { + warp "que_qsch02",102,248; + end; + } + else if (.@point == 4) { + warp "que_qsch02",102,300; + end; + } + else { + warp "que_qsch02",46,300; + end; + } + } + else if ($gqse_sch02_miro == 0) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",77,271,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",77,271,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",77,271,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",77,271,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",77,271,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,1; + warp "que_qsch02",72,271; + end; + } + else if ($gqse_sch02_miro == 1) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,2; + warp "que_qsch02",63,282; + end; + } + else if ($gqse_sch02_miro == 2) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",63,294,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",63,294,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",63,294,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",63,294,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",63,294,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,3; + warp "que_qsch02",59,294; + end; + } + else if ($gqse_sch02_miro == 3) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",50,300,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",50,300,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",50,300,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",50,300,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",50,300,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,4; + warp "que_qsch02",46,300; + end; + } + else if ($gqse_sch02_miro == 4) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",51,280,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",51,280,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",51,280,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",51,280,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",51,280,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,5; + warp "que_qsch02",51,285; + end; + } + else if ($gqse_sch02_miro == 5) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",51,258,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",51,258,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",51,258,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",51,258,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",51,258,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,6; + warp "que_qsch02",51,262; + end; + } + else if ($gqse_sch02_miro == 6) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",49,243,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",49,243,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",49,243,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",49,243,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",49,243,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,7; + warp "que_qsch02",45,243; + end; + } + else if ($gqse_sch02_miro == 7) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",86,249,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",86,249,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",86,249,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",86,249,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",86,249,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,8; + warp "que_qsch02",82,249; + end; + } + else if ($gqse_sch02_miro == 8) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",102,243,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",102,243,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",102,243,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",102,243,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",102,243,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,9; + warp "que_qsch02",102,248; + end; + } + else if ($gqse_sch02_miro == 9) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",90,256,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",90,256,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",90,256,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",90,256,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",90,256,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,10; + warp "que_qsch02",90,260; + end; + } + else if ($gqse_sch02_miro == 10) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",90,283,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",90,283,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",90,283,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",90,283,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",90,283,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,11; + warp "que_qsch02",90,280; + end; + } + else if ($gqse_sch02_miro == 11) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",102,295,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",102,295,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",102,295,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",102,295,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",102,295,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,12; + warp "que_qsch02",102,300; + end; + } + else if ($gqse_sch02_miro == 12) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",96,285,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",96,285,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",96,285,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",96,285,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",96,285,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,13; + warp "que_qsch02",96,290; + end; + } + else if ($gqse_sch02_miro == 13) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,14; + warp "que_qsch02",63,282; + end; + } + else if ($gqse_sch02_miro == 14) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",65,243,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",65,243,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",65,243,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",65,243,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",65,243,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,15; + warp "que_qsch02",61,243; + end; + } + else if ($gqse_sch02_miro == 15) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",73,249,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",73,249,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",73,249,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",73,249,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",73,249,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,16; + warp "que_qsch02",70,249; + end; + } + else if ($gqse_sch02_miro == 16) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",102,275,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",102,275,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",102,275,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",102,275,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + end; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",102,275,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,17; + warp "que_qsch02",102,281; + end; + } + else if ($gqse_sch02_miro == 17) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",70,300,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",70,300,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",70,300,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",70,300,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",70,300,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,18; + warp "que_qsch02",66,300; + end; + } + else if ($gqse_sch02_miro == 18) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",57,255,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",57,255,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",57,255,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",57,255,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",57,255,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,19; + warp "que_qsch02",57,258; + end; + } + else if ($gqse_sch02_miro == 19) { + if (BaseClass == Job_Swordman) { + monster "que_qsch02",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch02",84,277,strcharinfo(0),1659,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch02",84,277,strcharinfo(0),1662,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch02",84,277,strcharinfo(0),1663,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch02",84,277,strcharinfo(0),1660,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch02",84,277,strcharinfo(0),1661,1,"#Gate_manager_sch02::OnMyMobDead"; + } + else { + monster "que_qsch02",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch02::OnMyMobDead"; + } + set $gqse_sch02_miro,20; + warp "que_qsch02",84,280; + end; + } + } + else { + mes "Á¤¿øÀ» ÃÊ°úÇÏ¿´½À´Ï´Ù. ´õÀÌ»ó ÁøÀÔÇÒ ¼ö ¾ø½À´Ï´Ù."; + close; + } + end; +} + +que_qsch02,1,4,0 script #Gate_manager_sch02 844,{ +OnMyMobDead: + if ($gqse_sch02_miro == $gqse_sch02_pcc) { + if (mobcount("que_qsch02","#Gate_manager_sch02::OnMyMobDead") == 0) { + donpcevent "#gq_miromob2_sch02::OnEnable"; + } + } + end; +} + +que_qsch02,1,4,0 script #gq_miromob2_sch02 844,{ +OnEnable: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch02","Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00"; + end; + +OnTimer6000: + mapannounce "que_qsch02","Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00"; + monster "que_qsch02",72,271,"Seyren Windsor",1640,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",63,282,"Kathryne Keyron",1645,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",59,294,"Cecil Damon",1644,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",46,300,"Margaretha Sorin",1643,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",51,285,"Eremes Guile",1641,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",51,262,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch02::OnMyMobDead"; + + monster "que_qsch02",45,243,"Seyren Windsor",1640,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",82,249,"Kathryne Keyron",1645,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",102,248,"Cecil Damon",1644,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",90,260,"Margaretha Sorin",1643,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",90,280,"Eremes Guile",1641,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",102,300,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch02::OnMyMobDead"; + + monster "que_qsch02",63,282,"Seyren Windsor",1640,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",61,243,"Kathryne Keyron",1645,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",70,249,"Cecil Damon",1644,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",102,281,"Margaretha Sorin",1643,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",66,300,"Eremes Guile",1641,1,"#gq_miromob2_sch02::OnMyMobDead"; + monster "que_qsch02",57,258,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch02::OnMyMobDead"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch02","#gq_miromob2_sch02::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#gq_miromob2_sch02::OnMyMobDead") == 0) { + mapannounce "que_qsch02","The Mystic garden exit is now open.",bc_map,"0x00ff00"; + setcell "que_qsch02",58,302,63,302,cell_walkable,1; + setcell "que_qsch02",58,302,63,302,cell_shootable,1; + donpcevent "#Maze_Manager_sch02::OnDisable"; + } + end; +} + +que_qsch02,1,1,0 script #okolnir_sch02 844,{ + +OnEnable: + donpcevent "Gate01#gq_sch02::OnEnable"; + donpcevent "#Maze_Manager_sch02::OnEnable"; + donpcevent "#event_start01_sch02::OnEnable"; + donpcevent "#gd_sch02_mobctrl::OnEnable"; + enablenpc "Guard of Shadow#sch02_01"; + enablenpc "Guard of Shadow#sch02_02"; + enablenpc "Guard of Shadow#sch02_03"; + enablenpc "Guard of Shadow#sch02_04"; + enablenpc "Bloody Hunter#sch02_ac01"; + enablenpc "Bloody Hunter#sch02_ac02"; + enablenpc "Bloody Hunter#sch02_ac03"; + enablenpc "Bloody Hunter#sch02_ac04"; + enablenpc "Temple Keeper#sch02_ac01"; + enablenpc "Temple Keeper#sch02_ac02"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#gq_sch02"; + donpcevent "#gq_miromob2_sch02::Onreset"; + disablenpc "Piamette#sch02"; + donpcevent "#gdtimer01_sch02::Onstop"; + donpcevent "#gdtimer02_sch02::Onstop"; + donpcevent "#piamette_sch02::Onreset"; + donpcevent "Wish Maiden#sch02_boss::OnDisable"; + donpcevent "Wish Maiden#sch02_gift::OnDisable"; + donpcevent "#gd_sch02_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch02::OnDisable"; + donpcevent "#Maze_Manager_sch02::OnDisable"; + donpcevent "#event_start01_sch02::OnDisable"; + donpcevent "#nm_switch_sch02::OnDisable"; + donpcevent "#nmsomsch02_jin01::OnDisable"; + donpcevent "#nmsomsch02_jin02::OnDisable"; + donpcevent "#nmsomsch02_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch02_01::OnDisable"; + donpcevent "Guard of Shadow#sch02_02::OnDisable"; + donpcevent "Guard of Shadow#sch02_03::OnDisable"; + donpcevent "Guard of Shadow#sch02_04::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac04::OnDisable"; + donpcevent "Temple Keeper#sch02_ac01::OnDisable"; + donpcevent "Temple Keeper#sch02_ac02::OnDisable"; + disablenpc "#to_agit_sch02_gate"; + donpcevent "#sch02_stone01::Onreset"; + donpcevent "#sch02_stone02::Onreset"; + donpcevent "#sch02_stone03::Onreset"; + disablenpc "#sch02_cage01"; + disablenpc "#sch02_cage02"; + disablenpc "#sch02_cage03"; + disablenpc "#sch02_cage04"; + disablenpc "#sch02_cage05"; + disablenpc "#sch02_cage06"; + donpcevent "windpath03_sch02::OnDisable"; + donpcevent "windpath04_sch02::OnDisable"; + set $gqse_sch02_miro,0; + set $gqse_sch02_pcc,0; + set $gqse_sch02_gd,0; + set $gqse_sch02_nm,0; + stopnpctimer; + end; + +Onstop: + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch02","Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00"; + end; + +OnTimer1800000: + mapannounce "que_qsch02","Okolnir will disappear in 30 minutes.",bc_map,"0xff0000"; + end; + +OnTimer2400000: + mapannounce "que_qsch02","Okolnir will disappear in 20 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3000000: + mapannounce "que_qsch02","Okolnir will disappear in 10 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3300000: + mapannounce "que_qsch02","Okolnir will disappear in 5 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3360000: + mapannounce "que_qsch02","Okolnir will disappear in 4 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3420000: + mapannounce "que_qsch02","Okolnir will disappear in 3 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3480000: + mapannounce "que_qsch02","Okolnir will disappear in 2 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3540000: + mapannounce "que_qsch02","Okolnir will disappear in 1 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3600000: + mapannounce "que_qsch02","Okolnir has begun to disappear.",bc_map,"0x4d4dff"; + disablenpc "Wish Maiden#gq_sch02"; + donpcevent "#gq_miromob2_sch02::Onreset"; + disablenpc "Piamette#sch02"; + donpcevent "#gdtimer01_sch02::Onstop"; + donpcevent "#gdtimer02_sch02::Onstop"; + donpcevent "#piamette_sch02::Onreset"; + donpcevent "Wish Maiden#sch02_boss::onDisable"; + donpcevent "Wish Maiden#sch02_gift::OnDisable"; + donpcevent "#gd_sch02_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch02::OnDisable"; + donpcevent "#Maze_Manager_sch02::OnDisable"; + donpcevent "#event_start01_sch02::OnDisable"; + donpcevent "#nm_switch_sch02::OnDisable"; + donpcevent "#nmsomsch02_jin01::OnDisable"; + donpcevent "#nmsomsch02_jin02::OnDisable"; + donpcevent "#nmsomsch02_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch02_01::OnDisable"; + donpcevent "Guard of Shadow#sch02_02::OnDisable"; + donpcevent "Guard of Shadow#sch02_03::OnDisable"; + donpcevent "Guard of Shadow#sch02_04::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch02_ac04::OnDisable"; + donpcevent "Temple Keeper#sch02_ac01::OnDisable"; + donpcevent "Temple Keeper#sch02_ac02::OnDisable"; + disablenpc "#to_agit_sch02_gate"; + donpcevent "#sch02_stone01::Onreset"; + donpcevent "#sch02_stone02::Onreset"; + donpcevent "#sch02_stone03::Onreset"; + disablenpc "#sch02_cage01"; + disablenpc "#sch02_cage02"; + disablenpc "#sch02_cage03"; + disablenpc "#sch02_cage04"; + disablenpc "#sch02_cage05"; + disablenpc "#sch02_cage06"; + donpcevent "windpath03_sch02::OnDisable"; + donpcevent "windpath04_sch02::OnDisable"; + end; + +OnTimer3605000: + mapannounce "que_qsch02","Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00"; + end; + +OnTimer3608000: + mapannounce "que_qsch02","Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00"; + end; + +OnTimer3610000: + set $gqse_sch02_miro,0; + set $gqse_sch02_pcc,0; + set $gqse_sch02_gd,0; + set $gqse_sch02_nm,0; + mapwarp "que_qsch02","schg_cas02",177,355; + end; + +OnTimer3611000: + donpcevent "#okolnir_sch02_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch02,1,2,0 script #Maze_Manager_sch02 844,{ +OnInit: + donpcevent "#miro_bf_sch02::OnDisable"; + donpcevent "#miro_rf_sch02::OnDisable"; + donpcevent "#miro_yf_sch02::OnDisable"; + end; + +OnEnable: + initnpctimer; + end; + +OnDisable: + donpcevent "#miro_bf_sch02::OnDisable"; + donpcevent "#miro_rf_sch02::OnDisable"; + donpcevent "#miro_yf_sch02::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#miro_rf_sch02::OnDisable"; + end; + +OnTimer2000: + donpcevent "#miro_yf_sch02::OnDisable"; + end; + +OnTimer3000: + donpcevent "#miro_bf_sch02::OnEnable"; + end; + +OnTimer120000: + donpcevent "#miro_bf_sch02::OnDisable"; + end; + +OnTimer121000: + donpcevent "#miro_yf_sch02::OnDisable"; + end; + +OnTimer123000: + donpcevent "#miro_rf_sch02::OnEnable"; + end; + +OnTimer240000: + donpcevent "#miro_bf_sch02::OnDisable"; + end; + +OnTimer241000: + donpcevent "#miro_rf_sch02::OnDisable"; + end; + +OnTimer242000: + donpcevent "#miro_yf_sch02::OnEnable"; + end; + +OnTimer360000: + donpcevent "#Maze_Manager_sch02::OnEnable"; + end; +} + +que_qsch02,2,1,0 script #miro_bf_sch02 844,{ + +OnEnable: + monster "que_qsch02",44,270," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",46,270," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",50,287," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",52,287," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",50,265," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",52,265," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",56,279," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",58,279," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",64,301," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",64,298," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",62,272," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",64,272," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",58,245," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",58,243," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",72,289," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",72,287," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",68,257," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",68,255," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",73,263," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",73,261," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",75,251," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",75,249," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",79,283," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",79,281," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",82,271," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",84,271," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",89,295," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",89,293," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",88,276," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",90,276," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",88,266," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",90,266," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",94,256," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",96,256," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",64,301," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",64,299," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",100,251," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + monster "que_qsch02",102,251," ",1934,1,"#miro_bf_sch02::OnMyMobDead"; + setcell "que_qsch02",44,270,47,270,cell_walkable,0; + setcell "que_qsch02",44,270,47,270,cell_shootable,0; + setcell "que_qsch02",50,287,53,287,cell_walkable,0; + setcell "que_qsch02",50,287,53,287,cell_shootable,0; + setcell "que_qsch02",50,265,53,265,cell_walkable,0; + setcell "que_qsch02",50,265,53,265,cell_shootable,0; + setcell "que_qsch02",56,279,59,279,cell_walkable,0; + setcell "que_qsch02",56,279,59,279,cell_shootable,0; + setcell "que_qsch02",64,298,64,301,cell_walkable,0; + setcell "que_qsch02",64,298,64,301,cell_shootable,0; + setcell "que_qsch02",62,272,65,272,cell_walkable,0; + setcell "que_qsch02",62,272,65,272,cell_shootable,0; + setcell "que_qsch02",58,242,58,245,cell_walkable,0; + setcell "que_qsch02",58,242,58,245,cell_shootable,0; + setcell "que_qsch02",72,286,72,289,cell_walkable,0; + setcell "que_qsch02",72,286,72,289,cell_shootable,0; + setcell "que_qsch02",68,254,68,259,cell_walkable,0; + setcell "que_qsch02",68,254,68,259,cell_shootable,0; + setcell "que_qsch02",73,260,73,263,cell_walkable,0; + setcell "que_qsch02",73,260,73,263,cell_shootable,0; + setcell "que_qsch02",75,248,75,251,cell_walkable,0; + setcell "que_qsch02",75,248,75,251,cell_shootable,0; + setcell "que_qsch02",79,280,79,283,cell_walkable,0; + setcell "que_qsch02",79,280,79,283,cell_shootable,0; + setcell "que_qsch02",82,271,85,271,cell_walkable,0; + setcell "que_qsch02",82,271,85,271,cell_shootable,0; + setcell "que_qsch02",89,292,89,295,cell_walkable,0; + setcell "que_qsch02",89,292,89,295,cell_shootable,0; + setcell "que_qsch02",88,276,91,276,cell_walkable,0; + setcell "que_qsch02",88,276,91,276,cell_shootable,0; + setcell "que_qsch02",88,266,91,266,cell_walkable,0; + setcell "que_qsch02",88,266,91,266,cell_shootable,0; + setcell "que_qsch02",94,256,97,256,cell_walkable,0; + setcell "que_qsch02",94,256,97,256,cell_shootable,0; + setcell "que_qsch02",64,298,64,301,cell_walkable,0; + setcell "que_qsch02",64,298,64,301,cell_shootable,0; + setcell "que_qsch02",000,251,003,251,cell_walkable,0; + setcell "que_qsch02",000,251,003,251,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch02","#miro_bf_sch02::OnMyMobDead"; + setcell "que_qsch02",44,270,47,270,cell_walkable,1; + setcell "que_qsch02",44,270,47,270,cell_shootable,1; + setcell "que_qsch02",50,287,53,287,cell_walkable,1; + setcell "que_qsch02",50,287,53,287,cell_shootable,1; + setcell "que_qsch02",50,265,53,265,cell_walkable,1; + setcell "que_qsch02",50,265,53,265,cell_shootable,1; + setcell "que_qsch02",56,279,59,279,cell_walkable,1; + setcell "que_qsch02",56,279,59,279,cell_shootable,1; + setcell "que_qsch02",64,298,64,301,cell_walkable,1; + setcell "que_qsch02",64,298,64,301,cell_shootable,1; + setcell "que_qsch02",62,272,65,272,cell_walkable,1; + setcell "que_qsch02",62,272,65,272,cell_shootable,1; + setcell "que_qsch02",58,242,58,245,cell_walkable,1; + setcell "que_qsch02",58,242,58,245,cell_shootable,1; + setcell "que_qsch02",72,286,72,289,cell_walkable,1; + setcell "que_qsch02",72,286,72,289,cell_shootable,1; + setcell "que_qsch02",68,254,68,259,cell_walkable,1; + setcell "que_qsch02",68,254,68,259,cell_shootable,1; + setcell "que_qsch02",73,260,73,263,cell_walkable,1; + setcell "que_qsch02",73,260,73,263,cell_shootable,1; + setcell "que_qsch02",75,248,75,251,cell_walkable,1; + setcell "que_qsch02",75,248,75,251,cell_shootable,1; + setcell "que_qsch02",79,280,79,283,cell_walkable,1; + setcell "que_qsch02",79,280,79,283,cell_shootable,1; + setcell "que_qsch02",82,271,85,271,cell_walkable,1; + setcell "que_qsch02",82,271,85,271,cell_shootable,1; + setcell "que_qsch02",89,292,89,295,cell_walkable,1; + setcell "que_qsch02",89,292,89,295,cell_shootable,1; + setcell "que_qsch02",88,276,91,276,cell_walkable,1; + setcell "que_qsch02",88,276,91,276,cell_shootable,1; + setcell "que_qsch02",88,266,91,266,cell_walkable,1; + setcell "que_qsch02",88,266,91,266,cell_shootable,1; + setcell "que_qsch02",94,256,97,256,cell_walkable,1; + setcell "que_qsch02",94,256,97,256,cell_shootable,1; + setcell "que_qsch02",64,298,64,301,cell_walkable,1; + setcell "que_qsch02",64,298,64,301,cell_shootable,1; + setcell "que_qsch02",100,251,103,251,cell_walkable,1; + setcell "que_qsch02",100,251,103,251,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch02,2,2,0 script #miro_rf_sch02 844,{ + +OnEnable: + monster "que_qsch02",57,301," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",57,299," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",48,291," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",48,289," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",68,290," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",70,290," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",72,295," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",72,293," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",90,296," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",92,296," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",56,282," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",58,282," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",66,283," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",66,281," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",80,284," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",82,284," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",44,273," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",46,273," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",50,273," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",52,273," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",54,269," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",54,267," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",66,271," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",66,270," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",81,273," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",81,272," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",88,276," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",90,276," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",94,276," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",96,276," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",64,258," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",66,258," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",76,263," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",76,261," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",87,265," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",87,263," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",50,252," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",52,252," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",76,252," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",78,252," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",99,255," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",99,253," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",53,245," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + monster "que_qsch02",53,243," ",1935,1,"#miro_rf_sch02::OnMyMobDead"; + setcell "que_qsch02",57,298,57,301,cell_walkable,0; + setcell "que_qsch02",57,298,57,301,cell_shootable,0; + setcell "que_qsch02",48,288,48,291,cell_walkable,0; + setcell "que_qsch02",48,288,48,291,cell_shootable,0; + setcell "que_qsch02",68,290,71,290,cell_walkable,0; + setcell "que_qsch02",68,290,71,290,cell_shootable,0; + setcell "que_qsch02",72,292,72,295,cell_walkable,0; + setcell "que_qsch02",72,292,72,295,cell_shootable,0; + setcell "que_qsch02",90,296,93,296,cell_walkable,0; + setcell "que_qsch02",90,296,93,296,cell_shootable,0; + setcell "que_qsch02",56,282,59,282,cell_walkable,0; + setcell "que_qsch02",56,282,59,282,cell_shootable,0; + setcell "que_qsch02",66,280,66,283,cell_walkable,0; + setcell "que_qsch02",66,280,66,283,cell_shootable,0; + setcell "que_qsch02",80,284,83,284,cell_walkable,0; + setcell "que_qsch02",80,284,83,284,cell_shootable,0; + setcell "que_qsch02",44,273,47,273,cell_walkable,0; + setcell "que_qsch02",44,273,47,273,cell_shootable,0; + setcell "que_qsch02",50,273,53,273,cell_walkable,0; + setcell "que_qsch02",50,273,53,273,cell_shootable,0; + setcell "que_qsch02",54,266,54,269,cell_walkable,0; + setcell "que_qsch02",54,266,54,269,cell_shootable,0; + setcell "que_qsch02",66,270,66,271,cell_walkable,0; + setcell "que_qsch02",66,270,66,271,cell_shootable,0; + setcell "que_qsch02",81,272,81,273,cell_walkable,0; + setcell "que_qsch02",81,272,81,273,cell_shootable,0; + setcell "que_qsch02",88,276,91,276,cell_walkable,0; + setcell "que_qsch02",88,276,91,276,cell_shootable,0; + setcell "que_qsch02",94,276,97,276,cell_walkable,0; + setcell "que_qsch02",94,276,97,276,cell_shootable,0; + setcell "que_qsch02",64,258,67,258,cell_walkable,0; + setcell "que_qsch02",64,258,67,258,cell_shootable,0; + setcell "que_qsch02",76,260,76,263,cell_walkable,0; + setcell "que_qsch02",76,260,76,263,cell_shootable,0; + setcell "que_qsch02",87,262,87,265,cell_walkable,0; + setcell "que_qsch02",87,262,87,265,cell_shootable,0; + setcell "que_qsch02",50,252,53,252,cell_walkable,0; + setcell "que_qsch02",50,252,53,252,cell_shootable,0; + setcell "que_qsch02",76,252,79,252,cell_walkable,0; + setcell "que_qsch02",76,252,79,252,cell_shootable,0; + setcell "que_qsch02",99,252,99,255,cell_walkable,0; + setcell "que_qsch02",99,252,99,255,cell_shootable,0; + setcell "que_qsch02",53,242,53,245,cell_walkable,0; + setcell "que_qsch02",53,242,53,245,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch02","#miro_rf_sch02::OnMyMobDead"; + setcell "que_qsch02",57,298,57,301,cell_walkable,1; + setcell "que_qsch02",57,298,57,301,cell_shootable,1; + setcell "que_qsch02",48,288,48,291,cell_walkable,1; + setcell "que_qsch02",48,288,48,291,cell_shootable,1; + setcell "que_qsch02",68,290,71,290,cell_walkable,1; + setcell "que_qsch02",68,290,71,290,cell_shootable,1; + setcell "que_qsch02",72,292,72,295,cell_walkable,1; + setcell "que_qsch02",72,292,72,295,cell_shootable,1; + setcell "que_qsch02",90,296,93,296,cell_walkable,1; + setcell "que_qsch02",90,296,93,296,cell_shootable,1; + setcell "que_qsch02",56,282,59,282,cell_walkable,1; + setcell "que_qsch02",56,282,59,282,cell_shootable,1; + setcell "que_qsch02",66,280,66,283,cell_walkable,1; + setcell "que_qsch02",66,280,66,283,cell_shootable,1; + setcell "que_qsch02",80,284,83,284,cell_walkable,1; + setcell "que_qsch02",80,284,83,284,cell_shootable,1; + setcell "que_qsch02",44,273,47,273,cell_walkable,1; + setcell "que_qsch02",44,273,47,273,cell_shootable,1; + setcell "que_qsch02",50,273,53,273,cell_walkable,1; + setcell "que_qsch02",50,273,53,273,cell_shootable,1; + setcell "que_qsch02",54,266,54,269,cell_walkable,1; + setcell "que_qsch02",54,266,54,269,cell_shootable,1; + setcell "que_qsch02",66,270,66,271,cell_walkable,1; + setcell "que_qsch02",66,270,66,271,cell_shootable,1; + setcell "que_qsch02",81,272,81,273,cell_walkable,1; + setcell "que_qsch02",81,272,81,273,cell_shootable,1; + setcell "que_qsch02",88,276,91,276,cell_walkable,1; + setcell "que_qsch02",88,276,91,276,cell_shootable,1; + setcell "que_qsch02",94,276,97,276,cell_walkable,1; + setcell "que_qsch02",94,276,97,276,cell_shootable,1; + setcell "que_qsch02",64,258,67,258,cell_walkable,1; + setcell "que_qsch02",64,258,67,258,cell_shootable,1; + setcell "que_qsch02",76,260,76,263,cell_walkable,1; + setcell "que_qsch02",76,260,76,263,cell_shootable,1; + setcell "que_qsch02",87,262,87,265,cell_walkable,1; + setcell "que_qsch02",87,262,87,265,cell_shootable,1; + setcell "que_qsch02",50,252,53,252,cell_walkable,1; + setcell "que_qsch02",50,252,53,252,cell_shootable,1; + setcell "que_qsch02",76,252,79,252,cell_walkable,1; + setcell "que_qsch02",76,252,79,252,cell_shootable,1; + setcell "que_qsch02",99,252,99,255,cell_walkable,1; + setcell "que_qsch02",99,252,99,255,cell_shootable,1; + setcell "que_qsch02",53,242,53,245,cell_walkable,1; + setcell "que_qsch02",53,242,53,245,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch02,2,3,0 script #miro_yf_sch02 844,{ + +OnEnable: + monster "que_qsch02",44,292," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",46,292," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",67,295," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",67,293," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",94,301," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",94,299," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",79,289," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",79,287," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",56,282," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",58,282," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",71,283," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",71,281," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",100,281," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",102,281," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",44,261," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",46,261," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",50,265," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",52,265," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",56,270," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",58,270," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",72,278," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",73,278," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",82,266," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",84,266," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",88,266," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",90,266," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",94,271," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",96,271," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",60,257," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",60,255," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",73,263," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",73,261," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",75,257," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",75,255," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",87,257," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",87,255," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",58,251," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",58,249," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",80,251," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",80,249," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",53,245," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",53,243," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",75,245," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",75,243," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",100,251," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",102,251," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",100,256," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + monster "que_qsch02",102,256," ",1936,1,"#miro_yf_sch02::OnMyMobDead"; + setcell "que_qsch02",44,292,47,292,cell_walkable,0; + setcell "que_qsch02",44,292,47,292,cell_shootable,0; + setcell "que_qsch02",67,292,67,295,cell_walkable,0; + setcell "que_qsch02",67,292,67,295,cell_shootable,0; + setcell "que_qsch02",94,298,94,301,cell_walkable,0; + setcell "que_qsch02",94,298,94,301,cell_shootable,0; + setcell "que_qsch02",79,286,79,289,cell_walkable,0; + setcell "que_qsch02",79,286,79,289,cell_shootable,0; + setcell "que_qsch02",56,282,59,282,cell_walkable,0; + setcell "que_qsch02",56,282,59,282,cell_shootable,0; + setcell "que_qsch02",71,280,71,283,cell_walkable,0; + setcell "que_qsch02",71,280,71,283,cell_shootable,0; + setcell "que_qsch02",100,281,103,281,cell_walkable,0; + setcell "que_qsch02",100,281,103,281,cell_shootable,0; + setcell "que_qsch02",44,261,47,261,cell_walkable,0; + setcell "que_qsch02",44,261,47,261,cell_shootable,0; + setcell "que_qsch02",50,265,53,265,cell_walkable,0; + setcell "que_qsch02",50,265,53,265,cell_shootable,0; + setcell "que_qsch02",56,270,59,270,cell_walkable,0; + setcell "que_qsch02",56,270,59,270,cell_shootable,0; + setcell "que_qsch02",72,278,73,278,cell_walkable,0; + setcell "que_qsch02",72,278,73,278,cell_shootable,0; + setcell "que_qsch02",82,266,85,266,cell_walkable,0; + setcell "que_qsch02",82,266,85,266,cell_shootable,0; + setcell "que_qsch02",88,266,91,266,cell_walkable,0; + setcell "que_qsch02",88,266,91,266,cell_shootable,0; + setcell "que_qsch02",94,271,97,271,cell_walkable,0; + setcell "que_qsch02",94,271,97,271,cell_shootable,0; + setcell "que_qsch02",60,254,60,257,cell_walkable,0; + setcell "que_qsch02",60,254,60,257,cell_shootable,0; + setcell "que_qsch02",73,260,73,263,cell_walkable,0; + setcell "que_qsch02",73,260,73,263,cell_shootable,0; + setcell "que_qsch02",75,254,75,257,cell_walkable,0; + setcell "que_qsch02",75,254,75,257,cell_shootable,0; + setcell "que_qsch02",87,254,87,257,cell_walkable,0; + setcell "que_qsch02",87,254,87,257,cell_shootable,0; + setcell "que_qsch02",58,248,58,251,cell_walkable,0; + setcell "que_qsch02",58,248,58,251,cell_shootable,0; + setcell "que_qsch02",80,248,80,251,cell_walkable,0; + setcell "que_qsch02",80,248,80,251,cell_shootable,0; + setcell "que_qsch02",53,242,53,245,cell_walkable,0; + setcell "que_qsch02",53,242,53,245,cell_shootable,0; + setcell "que_qsch02",75,242,75,245,cell_walkable,0; + setcell "que_qsch02",75,242,75,245,cell_shootable,0; + setcell "que_qsch02",100,251,103,251,cell_walkable,0; + setcell "que_qsch02",100,251,103,251,cell_shootable,0; + setcell "que_qsch02",100,256,103,256,cell_walkable,0; + setcell "que_qsch02",100,256,103,256,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch02","#miro_yf_sch02::OnMyMobDead"; + setcell "que_qsch02",44,292,47,292,cell_walkable,1; + setcell "que_qsch02",44,292,47,292,cell_shootable,1; + setcell "que_qsch02",67,292,67,295,cell_walkable,1; + setcell "que_qsch02",67,292,67,295,cell_shootable,1; + setcell "que_qsch02",94,298,94,301,cell_walkable,1; + setcell "que_qsch02",94,298,94,301,cell_shootable,1; + setcell "que_qsch02",79,286,79,289,cell_walkable,1; + setcell "que_qsch02",79,286,79,289,cell_shootable,1; + setcell "que_qsch02",56,282,59,282,cell_walkable,1; + setcell "que_qsch02",56,282,59,282,cell_shootable,1; + setcell "que_qsch02",71,280,71,283,cell_walkable,1; + setcell "que_qsch02",71,280,71,283,cell_shootable,1; + setcell "que_qsch02",100,281,103,281,cell_walkable,1; + setcell "que_qsch02",100,281,103,281,cell_shootable,1; + setcell "que_qsch02",44,261,47,261,cell_walkable,1; + setcell "que_qsch02",44,261,47,261,cell_shootable,1; + setcell "que_qsch02",50,265,53,265,cell_walkable,1; + setcell "que_qsch02",50,265,53,265,cell_shootable,1; + setcell "que_qsch02",56,270,59,270,cell_walkable,1; + setcell "que_qsch02",56,270,59,270,cell_shootable,1; + setcell "que_qsch02",72,278,73,278,cell_walkable,1; + setcell "que_qsch02",72,278,73,278,cell_shootable,1; + setcell "que_qsch02",82,266,85,266,cell_walkable,1; + setcell "que_qsch02",82,266,85,266,cell_shootable,1; + setcell "que_qsch02",88,266,91,266,cell_walkable,1; + setcell "que_qsch02",88,266,91,266,cell_shootable,1; + setcell "que_qsch02",94,271,97,271,cell_walkable,1; + setcell "que_qsch02",94,271,97,271,cell_shootable,1; + setcell "que_qsch02",60,254,60,257,cell_walkable,1; + setcell "que_qsch02",60,254,60,257,cell_shootable,1; + setcell "que_qsch02",73,260,73,263,cell_walkable,1; + setcell "que_qsch02",73,260,73,263,cell_shootable,1; + setcell "que_qsch02",75,254,75,257,cell_walkable,1; + setcell "que_qsch02",75,254,75,257,cell_shootable,1; + setcell "que_qsch02",87,254,87,257,cell_walkable,1; + setcell "que_qsch02",87,254,87,257,cell_shootable,1; + setcell "que_qsch02",58,248,58,251,cell_walkable,1; + setcell "que_qsch02",58,248,58,251,cell_shootable,1; + setcell "que_qsch02",80,248,80,251,cell_walkable,1; + setcell "que_qsch02",80,248,80,251,cell_shootable,1; + setcell "que_qsch02",53,242,53,245,cell_walkable,1; + setcell "que_qsch02",53,242,53,245,cell_shootable,1; + setcell "que_qsch02",75,242,75,245,cell_walkable,1; + setcell "que_qsch02",75,242,75,245,cell_shootable,1; + setcell "que_qsch02",100,251,103,251,cell_walkable,1; + setcell "que_qsch02",100,251,103,251,cell_shootable,1; + setcell "que_qsch02",100,256,103,256,cell_walkable,1; + setcell "que_qsch02",100,256,103,256,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch02,132,172,0 script windpath01_sch02 45,1,1,{ +OnTouch: + if (countitem(7839) > 0) { + mes "The Warp Gate responds to the Crystal Key."; + delitem 7839,1; //Crystal_Key + close2; + warp "que_qsch02",114,158; + end; + } + else { + mes "You need the Crystal Key to activate the Warp Gate."; + close; + } +} + +que_qsch02,113,165,0 warp windpath02_sch02 1,1,que_qsch02,139,172 + + +que_qsch02,131,136,3 script Piamette#sch02 1930,{ +OnInit: + enablenpc "Piamette#sch02"; + end; +} + +que_qsch02,114,158,0 script #event_start01_sch02 -1,1,1,{ + +OnInit: + disablenpc "#event_start01_sch02"; + end; + +OnEnable: + enablenpc "#event_start01_sch02"; + end; + +OnDisable: + disablenpc "#event_start01_sch02"; + stopnpctimer; + end; + +OnTouch: + initnpctimer; + disablenpc "#event_start01_sch02"; + end; + +OnTimer2000: + mapannounce "que_qsch02","Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093"; + end; + +OnTimer6000: + mapannounce "que_qsch02","Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093"; + end; + +OnTimer10000: + mapannounce "que_qsch02","Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093"; + end; + +OnTimer14000: + mapannounce "que_qsch02","Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00"; + donpcevent "#gdtimer01_sch02::OnEnable"; + stopnpctimer; + end; +} + +que_qsch02,2,2,0 script #gdtimer01_sch02 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + donpcevent "#getspell01_sch02::OnDisable"; + donpcevent "#getspell02_sch02::OnDisable"; + donpcevent "#getspell03_sch02::OnDisable"; + donpcevent "#getspell04_sch02::OnDisable"; + donpcevent "#getspell05_sch02::OnDisable"; + donpcevent "#getspell06_sch02::OnDisable"; + donpcevent "#getspell07_sch02::OnDisable"; + donpcevent "#getspell08_sch02::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#getspell08_sch02::OnDisable"; + donpcevent "#getspell01_sch02::OnEnable"; + end; + +OnTimer10000: + donpcevent "#getspell01_sch02::OnDisable"; + donpcevent "#getspell02_sch02::OnEnable"; + end; + +OnTimer20000: + donpcevent "#getspell02_sch02::OnDisable"; + donpcevent "#getspell03_sch02::OnEnable"; + end; + +OnTimer30000: + donpcevent "#getspell03_sch02::OnDisable"; + donpcevent "#getspell04_sch02::OnEnable"; + end; + +OnTimer40000: + donpcevent "#getspell04_sch02::OnDisable"; + donpcevent "#getspell05_sch02::OnEnable"; + end; + +OnTimer50000: + donpcevent "#getspell05_sch02::OnDisable"; + donpcevent "#getspell06_sch02::OnEnable"; + end; + +OnTimer60000: + donpcevent "#getspell06_sch02::OnDisable"; + donpcevent "#getspell07_sch02::OnEnable"; + end; + +OnTimer70000: + donpcevent "#getspell07_sch02::OnDisable"; + donpcevent "#getspell08_sch02::OnEnable"; + end; + +OnTimer75000: + if ($gqse_sch02_gd < 6) { + mapannounce "que_qsch02","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00"; + enablenpc "#sch02_cage01"; + enablenpc "#sch02_cage02"; + enablenpc "#sch02_cage03"; + enablenpc "#sch02_cage04"; + enablenpc "#sch02_cage05"; + enablenpc "#sch02_cage06"; + set $gqse_sch02_gd,0; + } + end; + +OnTimer76000: + disablenpc "#sch02_cage01"; + disablenpc "#sch02_cage02"; + disablenpc "#sch02_cage03"; + disablenpc "#sch02_cage04"; + disablenpc "#sch02_cage05"; + disablenpc "#sch02_cage06"; + end; + +OnTimer80000: + donpcevent "#gdtimer01_sch02::OnEnable"; + end; +} + +que_qsch02,2,3,0 script #gdtimer02_sch02 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + stopnpctimer; + killmonster "que_qsch02","#gdtimer02_sch02::OnMyMobDead"; + end; + +OnTimer4000: + mapannounce "que_qsch02","Piamette : All of them are caught!",bc_map,"0xdb7093"; + end; + +OnTimer8000: + mapannounce "que_qsch02","Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093"; + end; + +OnTimer12000: + mapannounce "que_qsch02","Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093"; + monster "que_qsch02",108,151,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + monster "que_qsch02",107,135,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + monster "que_qsch02",113,114,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + monster "que_qsch02",158,106,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + monster "que_qsch02",163,133,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + monster "que_qsch02",150,154,"Key Stone",1905,1,"#gdtimer02_sch02::OnMyMobDead"; + end; + +OnTimer112000: + mapannounce "que_qsch02","Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093"; + killmonster "que_qsch02","#gdtimer02_sch02::OnMyMobDead"; + enablenpc "#sch02_cage01"; + enablenpc "#sch02_cage02"; + enablenpc "#sch02_cage03"; + enablenpc "#sch02_cage04"; + enablenpc "#sch02_cage05"; + enablenpc "#sch02_cage06"; + set $gqse_sch02_gd,0; + end; + +OnTimer113000: + disablenpc "#sch02_cage01"; + disablenpc "#sch02_cage02"; + disablenpc "#sch02_cage03"; + disablenpc "#sch02_cage04"; + disablenpc "#sch02_cage05"; + disablenpc "#sch02_cage06"; + donpcevent "#gdtimer01_sch02::OnEnable"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch02","#gdtimer02_sch02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#gdtimer02_sch02::OnMyMobDead") == 0) { + enablenpc "#sch02_cage01"; + enablenpc "#sch02_cage02"; + enablenpc "#sch02_cage03"; + enablenpc "#sch02_cage04"; + enablenpc "#sch02_cage05"; + enablenpc "#sch02_cage06"; + donpcevent "#piamette_sch02::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch02,1,4,0 script #piamette_sch02 844,{ +OnEnable: + initnpctimer; + end; + +Onreset: + killmonster "que_qsch02","#piamette_sch02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch02","Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093"; + end; + +OnTimer5000: + mapannounce "que_qsch02","Piamette : I'm pissed off now!",bc_map,"0xdb7093"; + donpcevent "Piamette#sch02::OnDisable"; + monster "que_qsch02",131,135,"Angry Piamette",1930,1,"#piamette_sch02::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + mapannounce "que_qsch02","Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00"; + donpcevent "windpath03_sch02::OnEnable"; + donpcevent "windpath04_sch02::OnEnable"; + donpcevent "#nm_switch_sch02::OnEnable"; + end; +} + +que_qsch02,113,135,0 script #getspell01_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell01_sch02"; + end; + +OnEnable: + enablenpc "#getspell01_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell01_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,146,150,0 script #getspell02_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell02_sch02"; + end; + +OnEnable: + enablenpc "#getspell02_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell02_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,131,117,0 script #getspell03_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell03_sch02"; + end; + +OnEnable: + enablenpc "#getspell03_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell03_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,117,150,0 script #getspell04_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell04_sch02"; + end; + +OnEnable: + enablenpc "#getspell04_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell04_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,150,135,0 script #getspell05_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell05_sch02"; + end; + +OnEnable: + enablenpc "#getspell05_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell05_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,117,121,0 script #getspell06_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell06_sch02"; + end; + +OnEnable: + enablenpc "#getspell06_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell06_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,131,154,0 script #getspell07_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell07_sch02"; + end; + +OnEnable: + enablenpc "#getspell07_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell07_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,146,121,0 script #getspell08_sch02 -1,1,1,{ +OnInit: + disablenpc "#getspell08_sch02"; + end; + +OnEnable: + enablenpc "#getspell08_sch02"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell08_sch02"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch02_gd == 0) { + warp "que_qsch02",103,153; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,1; + mapannounce "que_qsch02","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 1) { + warp "que_qsch02",102,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,2; + mapannounce "que_qsch02","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 2) { + warp "que_qsch02",113,111; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,3; + mapannounce "que_qsch02","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 3) { + warp "que_qsch02",161,105; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,4; + mapannounce "que_qsch02","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 4) { + warp "que_qsch02",168,135; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,5; + mapannounce "que_qsch02","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch02_gd == 5) { + warp "que_qsch02",150,159; + disablenpc "#getspell01_sch02"; + set $gqse_sch02_gd,6; + mapannounce "que_qsch02","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch02::OnEnable"; + donpcevent "#gdtimer01_sch02::Onstop"; + } + end; +} + +que_qsch02,103,153,0 script #sch02_cage01 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage01"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",108,151; + disablenpc "#sch02_cage01"; + end; +} + +que_qsch02,102,135,0 script #sch02_cage02 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage02"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",107,135; + disablenpc "#sch02_cage02"; + end; +} + +que_qsch02,113,111,0 script #sch02_cage03 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage03"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",113,114; + disablenpc "#sch02_cage03"; + end; +} + +que_qsch02,161,105,0 script #sch02_cage04 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage04"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",158,106; + disablenpc "#sch02_cage04"; + end; +} + +que_qsch02,168,135,0 script #sch02_cage05 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage05"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",163,133; + disablenpc "#sch02_cage05"; + end; +} + +que_qsch02,150,159,0 script #sch02_cage06 -1,1,1,{ +OnInit: + disablenpc "#sch02_cage06"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch02",150,154; + disablenpc "#sch02_cage06"; + end; +} + +que_qsch02,1,8,0 script #gd_sch02_mobctrl 844,{ +OnEnable: + monster "que_qsch02",107,152,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",109,135,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",113,116,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",157,107,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",163,133,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",149,156,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",130,139,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",135,137,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",130,132,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",128,137,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",109,145,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",109,130,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",128,114,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",147,114,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",154,128,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",151,145,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",130,151,"Alice",1275,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",131,139,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",135,136,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",131,132,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",128,136,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",110,145,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",129,114,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",148,114,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",155,128,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",152,145,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",131,151,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",110,130,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",132,139,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",135,135,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",132,132,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",128,135,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",111,145,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",111,130,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",130,114,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",149,114,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",156,128,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",153,145,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",132,151,"Violy",1390,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",133,139,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",135,134,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",133,132,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",128,135,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",112,145,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",131,114,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",150,114,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",157,128,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",154,145,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",133,151,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",112,130,"Ancient Mimic",1699,1,"#gd_sch02_mobctrl::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch02","#gd_sch02_mobctrl::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#gd_sch02_mobctrl::OnMyMobDead") < 7) { + monster "que_qsch02",107,152,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",109,135,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",113,116,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",157,107,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",163,133,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + monster "que_qsch02",149,156,"Ball of Piamette",1738,1,"#gd_sch02_mobctrl::OnMyMobDead"; + } + end; +} + +que_qsch02,149,105,0 script windpath03_sch02 45,1,1,{ +OnInit: + disablenpc "windpath03_sch02"; + end; + +OnTouch: + warp "que_qsch02",119,103; + end; +} + +que_qsch02,128,104,0 script windpath04_sch02 45,1,1,{ +OnInit: + disablenpc "windpath04_sch02"; + end; + +OnTouch: + warp "que_qsch02",146,109; + end; +} + +que_qsch02,253,273,0 script #nm_switch_sch02 -1,5,5,{ +OnInit: + disablenpc "#nm_switch_sch02"; + end; + +OnEnable: + enablenpc "#nm_switch_sch02"; + end; + +OnDisable: + disablenpc "#nm_switch_sch02"; + stopnpctimer; + end; + +OnTouch: + disablenpc "#nm_switch_sch02"; + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch02","Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch02","Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00"; + end; + +OnTimer9000: + mapannounce "que_qsch02","Wish Maiden: So come here to me safely...",bc_map,"0x00ff00"; + end; + +OnTimer10000: + donpcevent "#nmsomsch02_jin01::OnEnable"; + donpcevent "#sch02_stone01::OnEnable"; + end; + +OnTimer190000: + donpcevent "#nmsomsch02_jin02::OnEnable"; + donpcevent "#sch02_stone02::OnEnable"; + end; + +OnTimer370000: + donpcevent "#nmsomsch02_jin03::OnEnable"; + donpcevent "#sch02_stone03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch02,229,297,0 script #nmsomsch02_jin01 -1,{ +OnEnable: + donpcevent "#sch02_stone01::OnEnable"; + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch02","#nmsomsch02_jin01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch02","The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch02",226,288,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",227,289,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",228,290,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",229,291,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",230,292,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,293,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",232,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",233,295,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",234,296,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",235,297,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",228,286,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",229,287,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",230,288,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,289,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",232,290,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",233,291,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",234,292,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",235,293,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",236,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",237,295,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",230,284,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,285,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",232,286,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",233,287,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",234,288,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",235,289,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",236,290,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",237,291,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",238,292,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",239,293,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch02",226,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",227,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",228,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",229,294,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",230,295,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,296,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,297,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,298,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",231,299,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",230,300,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",229,301,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",228,301,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",227,301,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",226,301,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",225,300,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",224,299,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",224,298,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",224,297,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",224,296,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + monster "que_qsch02",225,295,"Guard of Shadow",1752,1,"#nmsomsch02_jin01::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch02,2,8,0 script #sch02_stone01 844,{ +OnEnable: + monster "que_qsch02",227,294,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",229,294,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",231,296,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",231,298,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",230,300,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",228,301,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",226,301,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",224,299,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",224,297,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + monster "que_qsch02",225,295,"Western Magic Guardian",1752,1,"#sch02_stone01::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch02","#sch02_stone01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#sch02_stone01::OnMyMobDead") == 0) { + set $gqse_sch02_nm,$gqse_sch02_nm+1; + donpcevent "#nmsomsch02_jin01::OnDisable"; + if ($gqse_sch02_nm == 3) { + donpcevent "Wish Maiden#sch02_boss::Onfight"; + } + } + end; +} + +que_qsch02,275,299,0 script #nmsomsch02_jin02 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch02","#nmsomsch02_jin02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch02","The Eastern magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch02",263,292,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",264,291,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",265,290,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",266,289,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",267,288,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",268,287,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",269,286,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",270,285,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",271,284,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,283,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",265,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",266,293,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",267,292,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",268,291,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",269,290,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",270,289,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",271,288,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,287,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",273,286,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",274,285,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",267,296,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",268,295,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",269,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",270,283,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",271,282,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,281,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",273,280,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",274,279,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",275,276,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",276,275,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch02",274,301,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",275,301,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",276,301,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",277,301,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",278,300,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",279,299,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",279,298,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",279,297,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",279,296,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",278,295,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",277,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",276,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",275,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",274,294,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",273,295,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,296,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,297,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,298,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",272,299,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + monster "que_qsch02",273,300,"Bloody Hunter",1753,1,"#nmsomsch02_jin02::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch02,2,9,0 script #sch02_stone02 844,{ +OnEnable: + monster "que_qsch02",275,301,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",277,301,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",279,299,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",279,297,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",278,295,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",276,294,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",274,294,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",272,296,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",272,298,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + monster "que_qsch02",273,300,"Eastern Magic Guardian",1753,1,"#sch02_stone02::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch02","#sch02_stone02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#sch02_stone02::OnMyMobDead") == 0) { + set $gqse_sch02_nm,$gqse_sch02_nm+1; + donpcevent "#nmsomsch02_jin02::OnDisable"; + if ($gqse_sch02_nm == 3) { + donpcevent "Wish Maiden#sch02_boss::Onfight"; + } + } + end; +} + +que_qsch02,251,340,0 script #nmsomsch02_jin03 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch02","#nmsomsch02_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch02","The Northern magic formation is working to summon Keeper of the temple.",bc_map,"0x4d4dff"; + monster "que_qsch02",247,329,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",249,329,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",251,329,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",253,329,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,329,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",243,339,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",245,337,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",247,335,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",247,333,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",254,333,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",256,335,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",258,337,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",260,339,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + end; + +OnTimer120000: + monster "que_qsch02",251,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,341,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",254,337,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + end; + +OnTimer240000: + monster "que_qsch02",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,338,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",249,342,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + end; + +OnTimer360000: + monster "que_qsch02",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",251,336,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,339,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + monster "que_qsch02",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch02_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch02,2,10,0 script #sch02_stone03 844,{ +OnEnable: + monster "que_qsch02",251,343,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",252,343,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",255,341,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",255,340,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",254,337,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",253,336,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",250,336,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",249,337,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",248,340,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + monster "que_qsch02",248,341,"Northern Magic Guardian",1933,1,"#sch02_stone03::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch02","#sch02_stone03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","#sch02_stone03::OnMyMobDead") == 0) { + set $gqse_sch02_nm,$gqse_sch02_nm+1; + donpcevent "#nmsomsch02_jin03::OnDisable"; + + if ($gqse_sch02_nm == 3) { + donpcevent "Wish Maiden#sch02_boss::Onfight"; + } + } + end; +} + +que_qsch02,235,285,5 script Guard of Shadow#sch02_01 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch02_01"; + end; + +OnDisable: + killmonster "que_qsch02","Guard of Shadow#sch02_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch02_01"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch02_01"; + monster "que_qsch02",234,284,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_01::OnMyMobDead"; + monster "que_qsch02",235,285,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_01::OnMyMobDead"; + monster "que_qsch02",236,286,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,224,290,5 script Guard of Shadow#sch02_02 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch02_02"; + end; + +OnDisable: + killmonster "que_qsch02","Guard of Shadow#sch02_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch02_02"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch02_02"; + monster "que_qsch02",223,289,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_02::OnMyMobDead"; + monster "que_qsch02",224,290,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_02::OnMyMobDead"; + monster "que_qsch02",225,291,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,236,296,5 script Guard of Shadow#sch02_03 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch02_03"; + end; + +OnDisable: + killmonster "que_qsch02","Guard of Shadow#sch02_03::OnMyMobDead"; + disablenpc "Guard of Shadow#sch02_03"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch02_03"; + monster "que_qsch02",235,295,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_03::OnMyMobDead"; + monster "que_qsch02",236,296,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_03::OnMyMobDead"; + monster "que_qsch02",237,297,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,225,303,5 script Guard of Shadow#sch02_04 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch02_04"; + end; + +OnDisable: + killmonster "que_qsch02","Guard of Shadow#sch02_04::OnMyMobDead"; + disablenpc "Guard of Shadow#sch02_04"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch02_04"; + monster "que_qsch02",224,302,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_04::OnMyMobDead"; + monster "que_qsch02",225,303,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_04::OnMyMobDead"; + monster "que_qsch02",226,304,"Guard of Shadow",1752,1,"Guard of Shadow#sch02_04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,266,296,3 script Bloody Hunter#sch02_ac01 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch02_ac01"; + end; + +OnDisable: + killmonster "que_qsch02","Bloody Hunter#sch02_ac01::OnMyMobDead"; + disablenpc "Bloody Hunter#sch02_ac01"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch02_ac01"; + monster "que_qsch02",265,297,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac01::OnMyMobDead"; + monster "que_qsch02",266,296,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac01::OnMyMobDead"; + monster "que_qsch02",267,295,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,271,283,3 script Bloody Hunter#sch02_ac02 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch02_ac02"; + end; + +OnDisable: + killmonster "que_qsch02","Bloody Hunter#sch02_ac02::OnMyMobDead"; + disablenpc "Bloody Hunter#sch02_ac02"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch02_ac02"; + monster "que_qsch02",270,284,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac02::OnMyMobDead"; + monster "que_qsch02",271,283,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac02::OnMyMobDead"; + monster "que_qsch02",272,282,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,270,307,3 script Bloody Hunter#sch02_ac03 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch02_ac03"; + end; + +OnDisable: + killmonster "que_qsch02","Bloody Hunter#sch02_ac03::OnMyMobDead"; + disablenpc "Bloody Hunter#sch02_ac03"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch02_ac03"; + monster "que_qsch02",269,308,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac03::OnMyMobDead"; + monster "que_qsch02",270,307,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac03::OnMyMobDead"; + monster "que_qsch02",271,306,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,279,300,3 script Bloody Hunter#sch02_ac04 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch02_ac04"; + end; + +OnDisable: + killmonster "que_qsch02","Bloody Hunter#sch02_ac04::OnMyMobDead"; + disablenpc "Bloody Hunter#sch02_ac04"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch02_ac04"; + monster "que_qsch02",278,301,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac04::OnMyMobDead"; + monster "que_qsch02",279,300,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac04::OnMyMobDead"; + monster "que_qsch02",280,299,"Bloody Hunter",1753,1,"Bloody Hunter#sch02_ac04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,247,330,5 script ½ÅÀü¼öÈ£ÀÚ#sch02_ac01 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch02_ac01"; + end; + +OnDisable: + killmonster "que_qsch02","Temple Keeper#sch02_ac01::OnMyMobDead"; + disablenpc "Temple Keeper#sch02_ac01"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch02_ac01"; + monster "que_qsch02",246,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac01::OnMyMobDead"; + monster "que_qsch02",247,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac01::OnMyMobDead"; + monster "que_qsch02",248,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,255,330,3 script ½ÅÀü¼öÈ£ÀÚ#sch02_ac02 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch02_ac02"; + end; + +OnDisable: + killmonster "que_qsch02","Temple Keeper#sch02_ac02::OnMyMobDead"; + disablenpc "Temple Keeper#sch02_ac02"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch02_ac02"; + monster "que_qsch02",254,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac02::OnMyMobDead"; + monster "que_qsch02",255,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac02::OnMyMobDead"; + monster "que_qsch02",256,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch02_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch02,251,255,3 script Wish Maiden#sch02_boss 1931,{ +OnInit: + disablenpc "Wish Maiden#sch02_boss"; + end; + +OnDisable: + killmonster "que_qsch02","Wish Maiden#sch02_boss::OnMyMobDead"; + disablenpc "Wish Maiden#sch02_boss"; + stopnpctimer; + end; + +Onfight: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch02","Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch02","Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00"; + end; + +OnTimer5000: + specialeffect EF_ICECRASH; + disablenpc "Wish Maiden#sch02_boss"; + specialeffect EF_SPHERE; + monster "que_qsch02",252,340,"Wish Maiden",1931,1,"Wish Maiden#sch02_boss::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch02","Wish Maiden#sch02_boss::OnMyMobDead") == 0) { + donpcevent "#okolnir_sch02::Onstop"; + donpcevent "Wish Maiden#sch02_gift::OnEnable"; + mapannounce "que_qsch02","Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00"; + } + end; +} + +que_qsch02,252,340,3 script Wish Maiden#sch02_gift 403,{ + set .@GID, GetCastleData("schg_cas02",1); + if (getcharid(2) == .@GID) { + if (strcharinfo(0) == getguildmaster(.@GID)) { + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "As I declared, I will give the Goddess' shine to you."; + mes "You have the requirements to carry it..."; + next; + mes "[Wish Maiden]"; + mes "You will be granted the power of the great Valkyrie..."; + next; + mes "[Wish Maiden]"; + mes "I will give you some things for fun."; + mes "All of you enjoy them together..."; + next; + mes "[Wish Maiden]"; + mes "Go to Rachel and Juno to meet the Ravies sisters."; + next; + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "I will open the gate for you to come back here."; + mes "...Okolnir won't last forever..."; + delitem 7830,1; //Goddess_Tear + delitem 7831,1; //Valkyrie_Token + delitem 7832,1; //Brynhild_Armor_Piece + delitem 7833,1; //Hero_Remains + delitem 7834,1; //Andvari_Ring + delitem 2357,1; //Valkyrie_Armor + delitem 7510,100; //Valhalla_Flower + delitem 969,10; //Gold + delitem 985,20; //Elunium + getitem 2383,1; //Brynhild + getitem 7840,1; //Valkyrie_Gift + announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a Brynhild into this world.",bc_all,"0x70dbdb"; + close2; + cutin "wish_maiden11",255; + disablenpc "Wish Maiden#sch02_gift"; + donpcevent "#to_agit_sch02_gate::OnEnable"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "As I declared, you are worthy of holding the Brynhild."; + mes "However, you do not have the requirements on you..."; + next; + mes "[Wish Maiden]"; + mes "...Did you forget something?"; + close2; + } + } + else { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "¸ All of you worked together as a team..."; + mes "Humans are strong when they are united, but are easily swayed by lust."; + next; + mes "[Wish Maiden]"; + mes "Humans are imperfect, so their chief god is there for them when they need help."; + mes "...."; + next; + mes "[Wish Maiden]"; + mes "Always be real."; + mes "Do not regret your actions..."; + close2; + } + } + cutin "wish_maiden11",255; + end; + +OnInit: + disablenpc "Wish Maiden#sch02_gift"; + end; + +OnEnable: + enablenpc "Wish Maiden#sch02_gift"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#sch02_gift"; + stopnpctimer; + end; + +OnTimer280000: + mapannounce "que_qsch02","Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00"; + end; + +OnTimer290000: + mapwarp "que_qsch02","schg_cas02",177,355; + donpcevent "#to_agit_sch02_gate::OnDisable"; + end; + +OnTimer300000: + donpcevent "#okolnir_sch02::OnDisable"; + set $gqse_sch02_miro,0; + set $gqse_sch02_pcc,0; + set $gqse_sch02_gd,0; + set $gqse_sch02_nm,0; + set $siz_sch02_on,2; + donpcevent "#okolnir_sch02_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch02,252,339,0 script #to_agit_sch02_gate 45,1,1,{ +OnInit: + disablenpc "#to_agit_sch02_gate"; + end; + +OnTouch: + warp "schg_cas02",177,355; + end; +} + +que_qsch02,1,6,0 script #okolnir_sch02_time01 844,{ +OnInit: + if ($siz_sch02_on == 2) { + initnpctimer; + } + end; + +OnEnable: + set $gqse_sch02_time,0; + initnpctimer; + end; + +Onreset: + set $siz_sch02_on,0; + set $gqse_sch02_time,0; + stopnpctimer; + end; + +OnTimer3600000: + if ($gqse_sch02_time < 12) { + set $gqse_sch02_time,$gqse_sch02_time+1; + initnpctimer; + } + else if ($gqse_sch02_time == 12) { + set $siz_sch02_on,0; + set $gqse_sch02_time,0; + enablenpc "Wish Maiden#gq_sch02"; + enablenpc "Piamette#sch02"; + donpcevent "Wish Maiden#sch02_boss::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch02,116,313,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,120,285,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,117,236,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,103,223,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,85,204,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,79,186,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,73,167,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,68,150,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,71,128,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,69,118,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,117,78,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,110,79,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,141,80,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,158,84,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,193,104,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,119,269,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,155,77,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch02,110,317,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,115,295,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,116,256,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,113,242,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,99,223,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,94,216,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,77,198,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,70,174,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,72,147,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,64,134,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,77,107,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,84,88,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,98,82,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,129,79,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,91,124,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,173,95,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,179,127,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,195,120,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,178,159,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,88,145,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,94,157,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,95,177,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,129,196,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,154,196,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,170,187,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,194,180,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch02,214,181,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch02,243,199,0,0 monster Garden Watcher 1933,1,1200000,0,0 diff --git a/npc/quests/okolnir/godse_sch03.txt b/npc/quests/okolnir/godse_sch03.txt new file mode 100644 index 000000000..57966ba32 --- /dev/null +++ b/npc/quests/okolnir/godse_sch03.txt @@ -0,0 +1,3276 @@ +//===== eAthena Script ======================================= +//= Falicious Okolnir - Nidhoggr 3 +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= God Item SE Creation scipt (Brynhild) +//===== Additional Comments: ================================= +//= 1.0 First version. [L0ne_W0lf] +//============================================================ + +schg_cas03,84,101,3 script Guide#gq_sch03 899,{ + set .@GID, GetCastleData("schg_cas03",1); + if (getcharid(2) == .@GID) { + if ($siz_sch03_on == 0) { + mes "[Guide]"; + mes "This castle has a hidden secret."; + mes "That is the ^4d4dff'Okolnir'^000000."; + next; + switch(select("About Okolnir.:Go to Okolnir.:Cancel.")) { + case 1: + mes "[Guide]"; + mes "Okolnir is a kind of virtual realm..."; + mes "I don't know how Okolnir exists, but I guess only Valkyrie knows."; + next; + mes "[Guide]"; + mes "As you know this is a place to test the adventurers made by Valkyrie..."; + mes "...you know the qualifications to enter Okolnir."; + next; + select("Qualifications?"); + mes "[Guide]"; + mes "Yes, Valkyrie definitely prefers strong adventurers."; + mes "Only the qualified can enter Okolnir and Valhalla."; + next; + mes "[Guide]"; + mes "It only opens when everyone comes together to work it out."; + mes "The key is in the castle."; + next; + mes "[Guide]"; + mes "If a castle's ^4d4dffeconomy is over 65 and defense also over 30^000000, this will be acceptable to access Okolnir."; + next; + mes "[Guide]"; + mes "And, if you pass all of the tests given by Valkyrie in Okolnir!"; + mes "You will also receive a mysterious gift."; + next; + mes "[Guide]"; + mes "Would you like to try to enter here?"; + close; + case 2: + set .@Defence,GetCastleData("schg_cas03",3); + set .@Economy,GetCastleData("schg_cas03",2); + if ((.@Economy > 64) && (.@Defence > 29)) { + mes "[Guide]"; + mes "Great! Economy and Defense are OK."; + mes "You can enter Okolnir now...."; + mes "Do you want to go there?"; + next; + switch(select("Sure let's go there.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Ok......"; + mes "Please follow me..."; + close2; + warp "que_qsch03",346,32; + end; + case 2: + mes "[Guide]"; + mes "You can try this anytime in the future..."; + mes "If you are ready to protect this castle."; + close; + } + } + else { + mes "[Guide]"; + mes "You are not qualified yet."; + mes "Please develop your castle more..."; + close; + } + } + } + else if ($siz_sch03_on == 1) { + mes "[Guide]"; + mes "... OK..."; + mes "Good luck."; + next; + switch(select("Enter now.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Hope you get everything you want..."; + close2; + warp "que_qsch03",346,32; + end; + case 2: + mes "[Guide]"; + mes "Really?"; + mes "Sorry to hear that."; + close; + } + } + else if ($siz_sch03_on == 2) { + mes "[Guide]"; + mes "Building Okolnir needs quite a long time."; + mes "....even though it's only virtual..."; + next; + mes "[Guide]"; + mes "It takes about 12 -13 hours to create the virtual realm."; + close; + } + else { + mes "[Guide]"; + mes "You'll have to wait."; + close; + } + } + else { + mes "[Guide]"; + mes "... I've never seen you before."; + mes "You are strangers here. You'd better get out of here right now."; + close; + } + end; + +OnInit: + set $gqse_sch03_miro,0; + set $gqse_sch03_pcc,0; + set $gqse_sch03_gd,0; + set $gqse_sch03_nm,0; + if ($siz_sch03_on == 1) { + set $siz_sch03_on,0; + } + enablenpc "Guide#gq_sch03"; + end; +} + +que_qsch03,345,23,0 warp Gate02#gq_sch03 1,1,schg_cas03,81,95 + +que_qsch03,345,82,3 script Wish Maiden#gq_sch03 403,{ + set .@GID, GetCastleData("schg_cas03",1); + if (getcharid(2) == .@GID) { + cutin "wish_maiden31",1; + if (strcharinfo(0) == getguildmaster(.@GID)) { + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Are you ready to endure the trials to get the Goddess' glory?"; + next; + switch(select("Yes, I am:Sorry, I'll try later")) { + case 1: + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "I will test whether or not you deserve the Goddess shine..."; + mes "Isn't it simple?"; + next; + mes "[Wish Maiden]"; + mes "Okolnir is a virtual place."; + mes "There is no room for error there."; + mes "^ff0000You only have one hour.^000000"; + next; + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "If you have not finished in that time, Okolnir will be destroyed, and I will go to rest."; + mes "You will have to wait again..."; + next; + mes "[Wish Maiden]"; + mes "Are you ready to go through?"; + mes "^4d4dffYou need to have 16 to 20 members present^000000."; + next; + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "I will open the gate of Okolnir if your members are ready."; + next; + switch(select("We are ready.:We need more time.")) { + case 1: + set .@saram,getmapusers("que_qsch03"); + if (((.@saram > 15) && (.@saram < 21)) || (getgmlevel() == 99)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "Now I will open the gate of Okolnir where I am."; + mes "I will wait for you on the top of Okolnir..."; + next; + mes "[Wish Maiden]"; + mes "I hope that you can complete all of the trials before the virtual Okolnir is destroyed..."; + mes "Good luck."; + mapannounce "que_qsch03","Wish Maiden: The gate of Okolnir is open! Don't forget you only have one hour.",bc_map,"0x00ff00"; + close2; + set $gqse_sch03_pcc,.@saram; + set $siz_sch03_on,1; + donpcevent "#okolnir_sch03::OnEnable"; + disablenpc "Wish Maiden#gq_sch03"; + cutin "wish_maiden11",255; + announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "You need to have 16 to 20 members present to open the gate of Okolnir."; + mes "Come back when you are ready."; + close2; + } + break; + case 2: + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Don't hesitate to try."; + mes "You should catch the chance when it comes to you."; + mes "Just gather your fellow members."; + close2; + } + break; + case 2: + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "... Are you afraid of"; + mes "the trials facing you?"; + mes "...."; + next; + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Do you think that you can defeat the Goddess shine easily?"; + mes "I feel disappointed by all of you."; + mes "Just go away..."; + close2; + } + } + else { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Do you wish to enter?"; + mes "Only those prepared may enter here."; + mes "You must bring several items to enter Okolnir."; + next; + mes "[Wish Maiden]"; + mes "Goddess Tear"; + mes "Valkyrie's Token"; + mes "Brynhild Armor Piece"; + mes "Hero Remains"; + mes "Valkyrie Armor"; + mes "Andvari's Ring."; + next; + mes "[Wish Maiden]"; + mes "You must bring those six things, 10 Gold, and 20 Elunium."; + mes "Many Valhala's Flowers are also required as an offering."; + next; + mes "[Wish Maiden]"; + mes "Once all of those are prepared, the gate will open."; + next; + mes "[Wish Maiden]"; + mes ".... "; + mes "...........The Goddess shines brightly down on you, you should be stronger to deserve it..."; + next; + mes "[Wish Maiden]"; + mes "Remember..."; + mes "You need to collect many Valhalla flowers."; + mes "I hope that your dreams come true."; + next; + mes "[Wish Maiden]"; + mes "I will answer all your requests if you bring these to me."; + close2; + } + } + else { + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + mes "[Wish Maiden]"; + mes "Bring me the one who brought you to this place."; + mes ".. Deliver him to my will."; + close2; + } + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "...You are not qualified."; + close2; + percentheal -100,0; + cutin "wish_maiden11",255; + end; + } + cutin "wish_maiden11",255; + end; + +OnInit: + if ($siz_sch03_on == 0) { + enablenpc "Wish Maiden#gq_sch03"; + } + else { + disablenpc "Wish Maiden#gq_sch03"; + } + end; +} + +que_qsch03,346,81,0 script Gate01#gq_sch03 45,1,1,{ + end; + +OnInit: + disablenpc "Gate01#gq_sch03"; + end; + +OnEnable: + enablenpc "Gate01#gq_sch03"; + setcell "que_qsch03",58,302,63,302,cell_walkable,0; + setcell "que_qsch03",58,302,63,302,cell_shootable,0; + end; + +OnDisable: + disablenpc "Gate01#gq_sch03"; + killmonsterall "que_qsch03"; + end; + +OnTouch: + set .@saram,getmapusers("que_qsch03"); + if (.@saram < 21) { + if ($gqse_sch03_miro == $gqse_sch03_pcc) { + set .@point,rand(1,5); + if (.@point == 1) { + warp "que_qsch03",72,271; + end; + } + else if (.@point == 2) { + warp "que_qsch03",45,243; + end; + } + else if (.@point == 3) { + warp "que_qsch03",102,248; + end; + } + else if (.@point == 4) { + warp "que_qsch03",102,300; + end; + } + else { + warp "que_qsch03",46,300; + end; + } + } + else if ($gqse_sch03_miro == 0) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",77,271,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",77,271,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",77,271,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",77,271,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",77,271,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,1; + warp "que_qsch03",72,271; + end; + } + else if ($gqse_sch03_miro == 1) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,2; + warp "que_qsch03",63,282; + end; + } + else if ($gqse_sch03_miro == 2) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",63,294,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",63,294,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",63,294,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",63,294,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",63,294,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,3; + warp "que_qsch03",59,294; + end; + } + else if ($gqse_sch03_miro == 3) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",50,300,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",50,300,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",50,300,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",50,300,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",50,300,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,4; + warp "que_qsch03",46,300; + end; + } + else if ($gqse_sch03_miro == 4) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",51,280,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",51,280,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",51,280,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",51,280,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",51,280,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,5; + warp "que_qsch03",51,285; + end; + } + else if ($gqse_sch03_miro == 5) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",51,258,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",51,258,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",51,258,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",51,258,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",51,258,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,6; + warp "que_qsch03",51,262; + end; + } + else if ($gqse_sch03_miro == 6) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",49,243,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",49,243,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",49,243,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",49,243,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",49,243,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,7; + warp "que_qsch03",45,243; + end; + } + else if ($gqse_sch03_miro == 7) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",86,249,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",86,249,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",86,249,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",86,249,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",86,249,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,8; + warp "que_qsch03",82,249; + end; + } + else if ($gqse_sch03_miro == 8) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",102,243,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",102,243,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",102,243,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",102,243,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",102,243,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,9; + warp "que_qsch03",102,248; + end; + } + else if ($gqse_sch03_miro == 9) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",90,256,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",90,256,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",90,256,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",90,256,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",90,256,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,10; + warp "que_qsch03",90,260; + end; + } + else if ($gqse_sch03_miro == 10) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",90,283,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",90,283,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",90,283,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",90,283,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",90,283,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,11; + warp "que_qsch03",90,280; + end; + } + else if ($gqse_sch03_miro == 11) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",102,295,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",102,295,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",102,295,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",102,295,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",102,295,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,12; + warp "que_qsch03",102,300; + end; + } + else if ($gqse_sch03_miro == 12) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",96,285,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",96,285,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",96,285,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",96,285,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",96,285,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,13; + warp "que_qsch03",96,290; + end; + } + else if ($gqse_sch03_miro == 13) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,14; + warp "que_qsch03",63,282; + end; + } + else if ($gqse_sch03_miro == 14) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",65,243,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",65,243,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",65,243,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",65,243,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",65,243,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,15; + warp "que_qsch03",61,243; + end; + } + else if ($gqse_sch03_miro == 15) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",73,249,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",73,249,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",73,249,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",73,249,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",73,249,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,16; + warp "que_qsch03",70,249; + end; + } + else if ($gqse_sch03_miro == 16) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",102,275,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",102,275,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",102,275,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",102,275,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + end; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",102,275,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,17; + warp "que_qsch03",102,281; + end; + } + else if ($gqse_sch03_miro == 17) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",70,300,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",70,300,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",70,300,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",70,300,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",70,300,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,18; + warp "que_qsch03",66,300; + end; + } + else if ($gqse_sch03_miro == 18) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",57,255,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",57,255,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",57,255,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",57,255,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",57,255,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,19; + warp "que_qsch03",57,258; + end; + } + else if ($gqse_sch03_miro == 19) { + if (BaseClass == Job_Swordman) { + monster "que_qsch03",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch03",84,277,strcharinfo(0),1659,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch03",84,277,strcharinfo(0),1662,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch03",84,277,strcharinfo(0),1663,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch03",84,277,strcharinfo(0),1660,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch03",84,277,strcharinfo(0),1661,1,"#Gate_manager_sch03::OnMyMobDead"; + } + else { + monster "que_qsch03",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch03::OnMyMobDead"; + } + set $gqse_sch03_miro,20; + warp "que_qsch03",84,280; + end; + } + } + else { + mes "Á¤¿øÀ» ÃÊ°úÇÏ¿´½À´Ï´Ù. ´õÀÌ»ó ÁøÀÔÇÒ ¼ö ¾ø½À´Ï´Ù."; + close; + } + end; +} + +que_qsch03,1,4,0 script #Gate_manager_sch03 844,{ +OnMyMobDead: + if ($gqse_sch03_miro == $gqse_sch03_pcc) { + if (mobcount("que_qsch03","#Gate_manager_sch03::OnMyMobDead") == 0) { + donpcevent "#gq_miromob2_sch03::OnEnable"; + } + } + end; +} + +que_qsch03,1,4,0 script #gq_miromob2_sch03 844,{ +OnEnable: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch03","Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00"; + end; + +OnTimer6000: + mapannounce "que_qsch03","Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00"; + monster "que_qsch03",72,271,"Seyren Windsor",1640,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",63,282,"Kathryne Keyron",1645,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",59,294,"Cecil Damon",1644,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",46,300,"Margaretha Sorin",1643,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",51,285,"Eremes Guile",1641,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",51,262,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch03::OnMyMobDead"; + + monster "que_qsch03",45,243,"Seyren Windsor",1640,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",82,249,"Kathryne Keyron",1645,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",102,248,"Cecil Damon",1644,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",90,260,"Margaretha Sorin",1643,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",90,280,"Eremes Guile",1641,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",102,300,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch03::OnMyMobDead"; + + monster "que_qsch03",63,282,"Seyren Windsor",1640,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",61,243,"Kathryne Keyron",1645,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",70,249,"Cecil Damon",1644,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",102,281,"Margaretha Sorin",1643,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",66,300,"Eremes Guile",1641,1,"#gq_miromob2_sch03::OnMyMobDead"; + monster "que_qsch03",57,258,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch03::OnMyMobDead"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch03","#gq_miromob2_sch03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#gq_miromob2_sch03::OnMyMobDead") == 0) { + mapannounce "que_qsch03","The Mystic garden exit is now open.",bc_map,"0x00ff00"; + setcell "que_qsch03",58,302,63,302,cell_walkable,1; + setcell "que_qsch03",58,302,63,302,cell_shootable,1; + donpcevent "#Maze_Manager_sch03::OnDisable"; + } + end; +} + +que_qsch03,1,1,0 script #okolnir_sch03 844,{ + +OnEnable: + donpcevent "Gate01#gq_sch03::OnEnable"; + donpcevent "#Maze_Manager_sch03::OnEnable"; + donpcevent "#event_start01_sch03::OnEnable"; + donpcevent "#gd_sch03_mobctrl::OnEnable"; + enablenpc "Guard of Shadow#sch03_01"; + enablenpc "Guard of Shadow#sch03_02"; + enablenpc "Guard of Shadow#sch03_03"; + enablenpc "Guard of Shadow#sch03_04"; + enablenpc "Bloody Hunter#sch03_ac01"; + enablenpc "Bloody Hunter#sch03_ac02"; + enablenpc "Bloody Hunter#sch03_ac03"; + enablenpc "Bloody Hunter#sch03_ac04"; + enablenpc "Temple Keeper#sch03_ac01"; + enablenpc "Temple Keeper#sch03_ac02"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#gq_sch03"; + donpcevent "#gq_miromob2_sch03::Onreset"; + disablenpc "Piamette#sch03"; + donpcevent "#gdtimer01_sch03::Onstop"; + donpcevent "#gdtimer02_sch03::Onstop"; + donpcevent "#piamette_sch03::Onreset"; + donpcevent "Wish Maiden#sch03_boss::OnDisable"; + donpcevent "Wish Maiden#sch03_gift::OnDisable"; + donpcevent "#gd_sch03_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch03::OnDisable"; + donpcevent "#Maze_Manager_sch03::OnDisable"; + donpcevent "#event_start01_sch03::OnDisable"; + donpcevent "#nm_switch_sch03::OnDisable"; + donpcevent "#nmsomsch03_jin01::OnDisable"; + donpcevent "#nmsomsch03_jin02::OnDisable"; + donpcevent "#nmsomsch03_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch03_01::OnDisable"; + donpcevent "Guard of Shadow#sch03_02::OnDisable"; + donpcevent "Guard of Shadow#sch03_03::OnDisable"; + donpcevent "Guard of Shadow#sch03_04::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac04::OnDisable"; + donpcevent "Temple Keeper#sch03_ac01::OnDisable"; + donpcevent "Temple Keeper#sch03_ac02::OnDisable"; + disablenpc "#to_agit_sch03_gate"; + donpcevent "#sch03_stone01::Onreset"; + donpcevent "#sch03_stone02::Onreset"; + donpcevent "#sch03_stone03::Onreset"; + disablenpc "#sch03_cage01"; + disablenpc "#sch03_cage02"; + disablenpc "#sch03_cage03"; + disablenpc "#sch03_cage04"; + disablenpc "#sch03_cage05"; + disablenpc "#sch03_cage06"; + donpcevent "windpath03_sch03::OnDisable"; + donpcevent "windpath04_sch03::OnDisable"; + set $gqse_sch03_miro,0; + set $gqse_sch03_pcc,0; + set $gqse_sch03_gd,0; + set $gqse_sch03_nm,0; + stopnpctimer; + end; + +Onstop: + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch03","Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00"; + end; + +OnTimer1800000: + mapannounce "que_qsch03","Okolnir will disappear in 30 minutes.",bc_map,"0xff0000"; + end; + +OnTimer2400000: + mapannounce "que_qsch03","Okolnir will disappear in 20 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3000000: + mapannounce "que_qsch03","Okolnir will disappear in 10 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3300000: + mapannounce "que_qsch03","Okolnir will disappear in 5 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3360000: + mapannounce "que_qsch03","Okolnir will disappear in 4 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3420000: + mapannounce "que_qsch03","Okolnir will disappear in 3 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3480000: + mapannounce "que_qsch03","Okolnir will disappear in 2 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3540000: + mapannounce "que_qsch03","Okolnir will disappear in 1 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3600000: + mapannounce "que_qsch03","Okolnir has begun to disappear.",bc_map,"0x4d4dff"; + disablenpc "Wish Maiden#gq_sch03"; + donpcevent "#gq_miromob2_sch03::Onreset"; + disablenpc "Piamette#sch03"; + donpcevent "#gdtimer01_sch03::Onstop"; + donpcevent "#gdtimer02_sch03::Onstop"; + donpcevent "#piamette_sch03::Onreset"; + donpcevent "Wish Maiden#sch03_boss::onDisable"; + donpcevent "Wish Maiden#sch03_gift::OnDisable"; + donpcevent "#gd_sch03_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch03::OnDisable"; + donpcevent "#Maze_Manager_sch03::OnDisable"; + donpcevent "#event_start01_sch03::OnDisable"; + donpcevent "#nm_switch_sch03::OnDisable"; + donpcevent "#nmsomsch03_jin01::OnDisable"; + donpcevent "#nmsomsch03_jin02::OnDisable"; + donpcevent "#nmsomsch03_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch03_01::OnDisable"; + donpcevent "Guard of Shadow#sch03_02::OnDisable"; + donpcevent "Guard of Shadow#sch03_03::OnDisable"; + donpcevent "Guard of Shadow#sch03_04::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch03_ac04::OnDisable"; + donpcevent "Temple Keeper#sch03_ac01::OnDisable"; + donpcevent "Temple Keeper#sch03_ac02::OnDisable"; + disablenpc "#to_agit_sch03_gate"; + donpcevent "#sch03_stone01::Onreset"; + donpcevent "#sch03_stone02::Onreset"; + donpcevent "#sch03_stone03::Onreset"; + disablenpc "#sch03_cage01"; + disablenpc "#sch03_cage02"; + disablenpc "#sch03_cage03"; + disablenpc "#sch03_cage04"; + disablenpc "#sch03_cage05"; + disablenpc "#sch03_cage06"; + donpcevent "windpath03_sch03::OnDisable"; + donpcevent "windpath04_sch03::OnDisable"; + end; + +OnTimer3605000: + mapannounce "que_qsch03","Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00"; + end; + +OnTimer3608000: + mapannounce "que_qsch03","Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00"; + end; + +OnTimer3610000: + set $gqse_sch03_miro,0; + set $gqse_sch03_pcc,0; + set $gqse_sch03_gd,0; + set $gqse_sch03_nm,0; + mapwarp "que_qsch03","schg_cas03",81,95; + end; + +OnTimer3611000: + donpcevent "#okolnir_sch03_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch03,1,2,0 script #Maze_Manager_sch03 844,{ +OnInit: + donpcevent "#miro_bf_sch03::OnDisable"; + donpcevent "#miro_rf_sch03::OnDisable"; + donpcevent "#miro_yf_sch03::OnDisable"; + end; + +OnEnable: + initnpctimer; + end; + +OnDisable: + donpcevent "#miro_bf_sch03::OnDisable"; + donpcevent "#miro_rf_sch03::OnDisable"; + donpcevent "#miro_yf_sch03::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#miro_rf_sch03::OnDisable"; + end; + +OnTimer2000: + donpcevent "#miro_yf_sch03::OnDisable"; + end; + +OnTimer3000: + donpcevent "#miro_bf_sch03::OnEnable"; + end; + +OnTimer120000: + donpcevent "#miro_bf_sch03::OnDisable"; + end; + +OnTimer121000: + donpcevent "#miro_yf_sch03::OnDisable"; + end; + +OnTimer123000: + donpcevent "#miro_rf_sch03::OnEnable"; + end; + +OnTimer240000: + donpcevent "#miro_bf_sch03::OnDisable"; + end; + +OnTimer241000: + donpcevent "#miro_rf_sch03::OnDisable"; + end; + +OnTimer242000: + donpcevent "#miro_yf_sch03::OnEnable"; + end; + +OnTimer360000: + donpcevent "#Maze_Manager_sch03::OnEnable"; + end; +} + +que_qsch03,2,1,0 script #miro_bf_sch03 844,{ + +OnEnable: + monster "que_qsch03",44,270," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",46,270," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",50,287," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",52,287," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",50,265," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",52,265," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",56,279," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",58,279," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",64,301," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",64,298," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",62,272," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",64,272," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",58,245," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",58,243," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",72,289," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",72,287," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",68,257," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",68,255," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",73,263," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",73,261," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",75,251," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",75,249," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",79,283," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",79,281," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",82,271," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",84,271," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",89,295," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",89,293," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",88,276," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",90,276," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",88,266," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",90,266," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",94,256," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",96,256," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",64,301," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",64,299," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",100,251," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + monster "que_qsch03",102,251," ",1934,1,"#miro_bf_sch03::OnMyMobDead"; + setcell "que_qsch03",44,270,47,270,cell_walkable,0; + setcell "que_qsch03",44,270,47,270,cell_shootable,0; + setcell "que_qsch03",50,287,53,287,cell_walkable,0; + setcell "que_qsch03",50,287,53,287,cell_shootable,0; + setcell "que_qsch03",50,265,53,265,cell_walkable,0; + setcell "que_qsch03",50,265,53,265,cell_shootable,0; + setcell "que_qsch03",56,279,59,279,cell_walkable,0; + setcell "que_qsch03",56,279,59,279,cell_shootable,0; + setcell "que_qsch03",64,298,64,301,cell_walkable,0; + setcell "que_qsch03",64,298,64,301,cell_shootable,0; + setcell "que_qsch03",62,272,65,272,cell_walkable,0; + setcell "que_qsch03",62,272,65,272,cell_shootable,0; + setcell "que_qsch03",58,242,58,245,cell_walkable,0; + setcell "que_qsch03",58,242,58,245,cell_shootable,0; + setcell "que_qsch03",72,286,72,289,cell_walkable,0; + setcell "que_qsch03",72,286,72,289,cell_shootable,0; + setcell "que_qsch03",68,254,68,259,cell_walkable,0; + setcell "que_qsch03",68,254,68,259,cell_shootable,0; + setcell "que_qsch03",73,260,73,263,cell_walkable,0; + setcell "que_qsch03",73,260,73,263,cell_shootable,0; + setcell "que_qsch03",75,248,75,251,cell_walkable,0; + setcell "que_qsch03",75,248,75,251,cell_shootable,0; + setcell "que_qsch03",79,280,79,283,cell_walkable,0; + setcell "que_qsch03",79,280,79,283,cell_shootable,0; + setcell "que_qsch03",82,271,85,271,cell_walkable,0; + setcell "que_qsch03",82,271,85,271,cell_shootable,0; + setcell "que_qsch03",89,292,89,295,cell_walkable,0; + setcell "que_qsch03",89,292,89,295,cell_shootable,0; + setcell "que_qsch03",88,276,91,276,cell_walkable,0; + setcell "que_qsch03",88,276,91,276,cell_shootable,0; + setcell "que_qsch03",88,266,91,266,cell_walkable,0; + setcell "que_qsch03",88,266,91,266,cell_shootable,0; + setcell "que_qsch03",94,256,97,256,cell_walkable,0; + setcell "que_qsch03",94,256,97,256,cell_shootable,0; + setcell "que_qsch03",64,298,64,301,cell_walkable,0; + setcell "que_qsch03",64,298,64,301,cell_shootable,0; + setcell "que_qsch03",000,251,003,251,cell_walkable,0; + setcell "que_qsch03",000,251,003,251,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch03","#miro_bf_sch03::OnMyMobDead"; + setcell "que_qsch03",44,270,47,270,cell_walkable,1; + setcell "que_qsch03",44,270,47,270,cell_shootable,1; + setcell "que_qsch03",50,287,53,287,cell_walkable,1; + setcell "que_qsch03",50,287,53,287,cell_shootable,1; + setcell "que_qsch03",50,265,53,265,cell_walkable,1; + setcell "que_qsch03",50,265,53,265,cell_shootable,1; + setcell "que_qsch03",56,279,59,279,cell_walkable,1; + setcell "que_qsch03",56,279,59,279,cell_shootable,1; + setcell "que_qsch03",64,298,64,301,cell_walkable,1; + setcell "que_qsch03",64,298,64,301,cell_shootable,1; + setcell "que_qsch03",62,272,65,272,cell_walkable,1; + setcell "que_qsch03",62,272,65,272,cell_shootable,1; + setcell "que_qsch03",58,242,58,245,cell_walkable,1; + setcell "que_qsch03",58,242,58,245,cell_shootable,1; + setcell "que_qsch03",72,286,72,289,cell_walkable,1; + setcell "que_qsch03",72,286,72,289,cell_shootable,1; + setcell "que_qsch03",68,254,68,259,cell_walkable,1; + setcell "que_qsch03",68,254,68,259,cell_shootable,1; + setcell "que_qsch03",73,260,73,263,cell_walkable,1; + setcell "que_qsch03",73,260,73,263,cell_shootable,1; + setcell "que_qsch03",75,248,75,251,cell_walkable,1; + setcell "que_qsch03",75,248,75,251,cell_shootable,1; + setcell "que_qsch03",79,280,79,283,cell_walkable,1; + setcell "que_qsch03",79,280,79,283,cell_shootable,1; + setcell "que_qsch03",82,271,85,271,cell_walkable,1; + setcell "que_qsch03",82,271,85,271,cell_shootable,1; + setcell "que_qsch03",89,292,89,295,cell_walkable,1; + setcell "que_qsch03",89,292,89,295,cell_shootable,1; + setcell "que_qsch03",88,276,91,276,cell_walkable,1; + setcell "que_qsch03",88,276,91,276,cell_shootable,1; + setcell "que_qsch03",88,266,91,266,cell_walkable,1; + setcell "que_qsch03",88,266,91,266,cell_shootable,1; + setcell "que_qsch03",94,256,97,256,cell_walkable,1; + setcell "que_qsch03",94,256,97,256,cell_shootable,1; + setcell "que_qsch03",64,298,64,301,cell_walkable,1; + setcell "que_qsch03",64,298,64,301,cell_shootable,1; + setcell "que_qsch03",100,251,103,251,cell_walkable,1; + setcell "que_qsch03",100,251,103,251,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch03,2,2,0 script #miro_rf_sch03 844,{ + +OnEnable: + monster "que_qsch03",57,301," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",57,299," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",48,291," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",48,289," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",68,290," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",70,290," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",72,295," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",72,293," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",90,296," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",92,296," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",56,282," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",58,282," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",66,283," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",66,281," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",80,284," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",82,284," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",44,273," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",46,273," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",50,273," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",52,273," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",54,269," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",54,267," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",66,271," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",66,270," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",81,273," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",81,272," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",88,276," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",90,276," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",94,276," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",96,276," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",64,258," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",66,258," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",76,263," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",76,261," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",87,265," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",87,263," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",50,252," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",52,252," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",76,252," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",78,252," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",99,255," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",99,253," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",53,245," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + monster "que_qsch03",53,243," ",1935,1,"#miro_rf_sch03::OnMyMobDead"; + setcell "que_qsch03",57,298,57,301,cell_walkable,0; + setcell "que_qsch03",57,298,57,301,cell_shootable,0; + setcell "que_qsch03",48,288,48,291,cell_walkable,0; + setcell "que_qsch03",48,288,48,291,cell_shootable,0; + setcell "que_qsch03",68,290,71,290,cell_walkable,0; + setcell "que_qsch03",68,290,71,290,cell_shootable,0; + setcell "que_qsch03",72,292,72,295,cell_walkable,0; + setcell "que_qsch03",72,292,72,295,cell_shootable,0; + setcell "que_qsch03",90,296,93,296,cell_walkable,0; + setcell "que_qsch03",90,296,93,296,cell_shootable,0; + setcell "que_qsch03",56,282,59,282,cell_walkable,0; + setcell "que_qsch03",56,282,59,282,cell_shootable,0; + setcell "que_qsch03",66,280,66,283,cell_walkable,0; + setcell "que_qsch03",66,280,66,283,cell_shootable,0; + setcell "que_qsch03",80,284,83,284,cell_walkable,0; + setcell "que_qsch03",80,284,83,284,cell_shootable,0; + setcell "que_qsch03",44,273,47,273,cell_walkable,0; + setcell "que_qsch03",44,273,47,273,cell_shootable,0; + setcell "que_qsch03",50,273,53,273,cell_walkable,0; + setcell "que_qsch03",50,273,53,273,cell_shootable,0; + setcell "que_qsch03",54,266,54,269,cell_walkable,0; + setcell "que_qsch03",54,266,54,269,cell_shootable,0; + setcell "que_qsch03",66,270,66,271,cell_walkable,0; + setcell "que_qsch03",66,270,66,271,cell_shootable,0; + setcell "que_qsch03",81,272,81,273,cell_walkable,0; + setcell "que_qsch03",81,272,81,273,cell_shootable,0; + setcell "que_qsch03",88,276,91,276,cell_walkable,0; + setcell "que_qsch03",88,276,91,276,cell_shootable,0; + setcell "que_qsch03",94,276,97,276,cell_walkable,0; + setcell "que_qsch03",94,276,97,276,cell_shootable,0; + setcell "que_qsch03",64,258,67,258,cell_walkable,0; + setcell "que_qsch03",64,258,67,258,cell_shootable,0; + setcell "que_qsch03",76,260,76,263,cell_walkable,0; + setcell "que_qsch03",76,260,76,263,cell_shootable,0; + setcell "que_qsch03",87,262,87,265,cell_walkable,0; + setcell "que_qsch03",87,262,87,265,cell_shootable,0; + setcell "que_qsch03",50,252,53,252,cell_walkable,0; + setcell "que_qsch03",50,252,53,252,cell_shootable,0; + setcell "que_qsch03",76,252,79,252,cell_walkable,0; + setcell "que_qsch03",76,252,79,252,cell_shootable,0; + setcell "que_qsch03",99,252,99,255,cell_walkable,0; + setcell "que_qsch03",99,252,99,255,cell_shootable,0; + setcell "que_qsch03",53,242,53,245,cell_walkable,0; + setcell "que_qsch03",53,242,53,245,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch03","#miro_rf_sch03::OnMyMobDead"; + setcell "que_qsch03",57,298,57,301,cell_walkable,1; + setcell "que_qsch03",57,298,57,301,cell_shootable,1; + setcell "que_qsch03",48,288,48,291,cell_walkable,1; + setcell "que_qsch03",48,288,48,291,cell_shootable,1; + setcell "que_qsch03",68,290,71,290,cell_walkable,1; + setcell "que_qsch03",68,290,71,290,cell_shootable,1; + setcell "que_qsch03",72,292,72,295,cell_walkable,1; + setcell "que_qsch03",72,292,72,295,cell_shootable,1; + setcell "que_qsch03",90,296,93,296,cell_walkable,1; + setcell "que_qsch03",90,296,93,296,cell_shootable,1; + setcell "que_qsch03",56,282,59,282,cell_walkable,1; + setcell "que_qsch03",56,282,59,282,cell_shootable,1; + setcell "que_qsch03",66,280,66,283,cell_walkable,1; + setcell "que_qsch03",66,280,66,283,cell_shootable,1; + setcell "que_qsch03",80,284,83,284,cell_walkable,1; + setcell "que_qsch03",80,284,83,284,cell_shootable,1; + setcell "que_qsch03",44,273,47,273,cell_walkable,1; + setcell "que_qsch03",44,273,47,273,cell_shootable,1; + setcell "que_qsch03",50,273,53,273,cell_walkable,1; + setcell "que_qsch03",50,273,53,273,cell_shootable,1; + setcell "que_qsch03",54,266,54,269,cell_walkable,1; + setcell "que_qsch03",54,266,54,269,cell_shootable,1; + setcell "que_qsch03",66,270,66,271,cell_walkable,1; + setcell "que_qsch03",66,270,66,271,cell_shootable,1; + setcell "que_qsch03",81,272,81,273,cell_walkable,1; + setcell "que_qsch03",81,272,81,273,cell_shootable,1; + setcell "que_qsch03",88,276,91,276,cell_walkable,1; + setcell "que_qsch03",88,276,91,276,cell_shootable,1; + setcell "que_qsch03",94,276,97,276,cell_walkable,1; + setcell "que_qsch03",94,276,97,276,cell_shootable,1; + setcell "que_qsch03",64,258,67,258,cell_walkable,1; + setcell "que_qsch03",64,258,67,258,cell_shootable,1; + setcell "que_qsch03",76,260,76,263,cell_walkable,1; + setcell "que_qsch03",76,260,76,263,cell_shootable,1; + setcell "que_qsch03",87,262,87,265,cell_walkable,1; + setcell "que_qsch03",87,262,87,265,cell_shootable,1; + setcell "que_qsch03",50,252,53,252,cell_walkable,1; + setcell "que_qsch03",50,252,53,252,cell_shootable,1; + setcell "que_qsch03",76,252,79,252,cell_walkable,1; + setcell "que_qsch03",76,252,79,252,cell_shootable,1; + setcell "que_qsch03",99,252,99,255,cell_walkable,1; + setcell "que_qsch03",99,252,99,255,cell_shootable,1; + setcell "que_qsch03",53,242,53,245,cell_walkable,1; + setcell "que_qsch03",53,242,53,245,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch03,2,3,0 script #miro_yf_sch03 844,{ + +OnEnable: + monster "que_qsch03",44,292," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",46,292," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",67,295," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",67,293," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",94,301," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",94,299," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",79,289," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",79,287," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",56,282," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",58,282," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",71,283," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",71,281," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",100,281," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",102,281," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",44,261," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",46,261," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",50,265," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",52,265," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",56,270," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",58,270," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",72,278," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",73,278," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",82,266," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",84,266," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",88,266," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",90,266," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",94,271," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",96,271," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",60,257," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",60,255," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",73,263," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",73,261," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",75,257," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",75,255," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",87,257," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",87,255," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",58,251," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",58,249," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",80,251," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",80,249," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",53,245," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",53,243," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",75,245," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",75,243," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",100,251," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",102,251," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",100,256," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + monster "que_qsch03",102,256," ",1936,1,"#miro_yf_sch03::OnMyMobDead"; + setcell "que_qsch03",44,292,47,292,cell_walkable,0; + setcell "que_qsch03",44,292,47,292,cell_shootable,0; + setcell "que_qsch03",67,292,67,295,cell_walkable,0; + setcell "que_qsch03",67,292,67,295,cell_shootable,0; + setcell "que_qsch03",94,298,94,301,cell_walkable,0; + setcell "que_qsch03",94,298,94,301,cell_shootable,0; + setcell "que_qsch03",79,286,79,289,cell_walkable,0; + setcell "que_qsch03",79,286,79,289,cell_shootable,0; + setcell "que_qsch03",56,282,59,282,cell_walkable,0; + setcell "que_qsch03",56,282,59,282,cell_shootable,0; + setcell "que_qsch03",71,280,71,283,cell_walkable,0; + setcell "que_qsch03",71,280,71,283,cell_shootable,0; + setcell "que_qsch03",100,281,103,281,cell_walkable,0; + setcell "que_qsch03",100,281,103,281,cell_shootable,0; + setcell "que_qsch03",44,261,47,261,cell_walkable,0; + setcell "que_qsch03",44,261,47,261,cell_shootable,0; + setcell "que_qsch03",50,265,53,265,cell_walkable,0; + setcell "que_qsch03",50,265,53,265,cell_shootable,0; + setcell "que_qsch03",56,270,59,270,cell_walkable,0; + setcell "que_qsch03",56,270,59,270,cell_shootable,0; + setcell "que_qsch03",72,278,73,278,cell_walkable,0; + setcell "que_qsch03",72,278,73,278,cell_shootable,0; + setcell "que_qsch03",82,266,85,266,cell_walkable,0; + setcell "que_qsch03",82,266,85,266,cell_shootable,0; + setcell "que_qsch03",88,266,91,266,cell_walkable,0; + setcell "que_qsch03",88,266,91,266,cell_shootable,0; + setcell "que_qsch03",94,271,97,271,cell_walkable,0; + setcell "que_qsch03",94,271,97,271,cell_shootable,0; + setcell "que_qsch03",60,254,60,257,cell_walkable,0; + setcell "que_qsch03",60,254,60,257,cell_shootable,0; + setcell "que_qsch03",73,260,73,263,cell_walkable,0; + setcell "que_qsch03",73,260,73,263,cell_shootable,0; + setcell "que_qsch03",75,254,75,257,cell_walkable,0; + setcell "que_qsch03",75,254,75,257,cell_shootable,0; + setcell "que_qsch03",87,254,87,257,cell_walkable,0; + setcell "que_qsch03",87,254,87,257,cell_shootable,0; + setcell "que_qsch03",58,248,58,251,cell_walkable,0; + setcell "que_qsch03",58,248,58,251,cell_shootable,0; + setcell "que_qsch03",80,248,80,251,cell_walkable,0; + setcell "que_qsch03",80,248,80,251,cell_shootable,0; + setcell "que_qsch03",53,242,53,245,cell_walkable,0; + setcell "que_qsch03",53,242,53,245,cell_shootable,0; + setcell "que_qsch03",75,242,75,245,cell_walkable,0; + setcell "que_qsch03",75,242,75,245,cell_shootable,0; + setcell "que_qsch03",100,251,103,251,cell_walkable,0; + setcell "que_qsch03",100,251,103,251,cell_shootable,0; + setcell "que_qsch03",100,256,103,256,cell_walkable,0; + setcell "que_qsch03",100,256,103,256,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch03","#miro_yf_sch03::OnMyMobDead"; + setcell "que_qsch03",44,292,47,292,cell_walkable,1; + setcell "que_qsch03",44,292,47,292,cell_shootable,1; + setcell "que_qsch03",67,292,67,295,cell_walkable,1; + setcell "que_qsch03",67,292,67,295,cell_shootable,1; + setcell "que_qsch03",94,298,94,301,cell_walkable,1; + setcell "que_qsch03",94,298,94,301,cell_shootable,1; + setcell "que_qsch03",79,286,79,289,cell_walkable,1; + setcell "que_qsch03",79,286,79,289,cell_shootable,1; + setcell "que_qsch03",56,282,59,282,cell_walkable,1; + setcell "que_qsch03",56,282,59,282,cell_shootable,1; + setcell "que_qsch03",71,280,71,283,cell_walkable,1; + setcell "que_qsch03",71,280,71,283,cell_shootable,1; + setcell "que_qsch03",100,281,103,281,cell_walkable,1; + setcell "que_qsch03",100,281,103,281,cell_shootable,1; + setcell "que_qsch03",44,261,47,261,cell_walkable,1; + setcell "que_qsch03",44,261,47,261,cell_shootable,1; + setcell "que_qsch03",50,265,53,265,cell_walkable,1; + setcell "que_qsch03",50,265,53,265,cell_shootable,1; + setcell "que_qsch03",56,270,59,270,cell_walkable,1; + setcell "que_qsch03",56,270,59,270,cell_shootable,1; + setcell "que_qsch03",72,278,73,278,cell_walkable,1; + setcell "que_qsch03",72,278,73,278,cell_shootable,1; + setcell "que_qsch03",82,266,85,266,cell_walkable,1; + setcell "que_qsch03",82,266,85,266,cell_shootable,1; + setcell "que_qsch03",88,266,91,266,cell_walkable,1; + setcell "que_qsch03",88,266,91,266,cell_shootable,1; + setcell "que_qsch03",94,271,97,271,cell_walkable,1; + setcell "que_qsch03",94,271,97,271,cell_shootable,1; + setcell "que_qsch03",60,254,60,257,cell_walkable,1; + setcell "que_qsch03",60,254,60,257,cell_shootable,1; + setcell "que_qsch03",73,260,73,263,cell_walkable,1; + setcell "que_qsch03",73,260,73,263,cell_shootable,1; + setcell "que_qsch03",75,254,75,257,cell_walkable,1; + setcell "que_qsch03",75,254,75,257,cell_shootable,1; + setcell "que_qsch03",87,254,87,257,cell_walkable,1; + setcell "que_qsch03",87,254,87,257,cell_shootable,1; + setcell "que_qsch03",58,248,58,251,cell_walkable,1; + setcell "que_qsch03",58,248,58,251,cell_shootable,1; + setcell "que_qsch03",80,248,80,251,cell_walkable,1; + setcell "que_qsch03",80,248,80,251,cell_shootable,1; + setcell "que_qsch03",53,242,53,245,cell_walkable,1; + setcell "que_qsch03",53,242,53,245,cell_shootable,1; + setcell "que_qsch03",75,242,75,245,cell_walkable,1; + setcell "que_qsch03",75,242,75,245,cell_shootable,1; + setcell "que_qsch03",100,251,103,251,cell_walkable,1; + setcell "que_qsch03",100,251,103,251,cell_shootable,1; + setcell "que_qsch03",100,256,103,256,cell_walkable,1; + setcell "que_qsch03",100,256,103,256,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch03,132,172,0 script windpath01_sch03 45,1,1,{ +OnTouch: + if (countitem(7839) > 0) { + mes "The Warp Gate responds to the Crystal Key."; + delitem 7839,1; //Crystal_Key + close2; + warp "que_qsch03",114,158; + end; + } + else { + mes "You need the Crystal Key to activate the Warp Gate."; + close; + } +} + +que_qsch03,113,165,0 warp windpath02_sch03 1,1,que_qsch03,139,172 + + +que_qsch03,131,136,3 script Piamette#sch03 1930,{ +OnInit: + enablenpc "Piamette#sch03"; + end; +} + +que_qsch03,114,158,0 script #event_start01_sch03 -1,1,1,{ + +OnInit: + disablenpc "#event_start01_sch03"; + end; + +OnEnable: + enablenpc "#event_start01_sch03"; + end; + +OnDisable: + disablenpc "#event_start01_sch03"; + stopnpctimer; + end; + +OnTouch: + initnpctimer; + disablenpc "#event_start01_sch03"; + end; + +OnTimer2000: + mapannounce "que_qsch03","Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093"; + end; + +OnTimer6000: + mapannounce "que_qsch03","Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093"; + end; + +OnTimer10000: + mapannounce "que_qsch03","Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093"; + end; + +OnTimer14000: + mapannounce "que_qsch03","Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00"; + donpcevent "#gdtimer01_sch03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch03,2,2,0 script #gdtimer01_sch03 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + donpcevent "#getspell01_sch03::OnDisable"; + donpcevent "#getspell02_sch03::OnDisable"; + donpcevent "#getspell03_sch03::OnDisable"; + donpcevent "#getspell04_sch03::OnDisable"; + donpcevent "#getspell05_sch03::OnDisable"; + donpcevent "#getspell06_sch03::OnDisable"; + donpcevent "#getspell07_sch03::OnDisable"; + donpcevent "#getspell08_sch03::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#getspell08_sch03::OnDisable"; + donpcevent "#getspell01_sch03::OnEnable"; + end; + +OnTimer10000: + donpcevent "#getspell01_sch03::OnDisable"; + donpcevent "#getspell02_sch03::OnEnable"; + end; + +OnTimer20000: + donpcevent "#getspell02_sch03::OnDisable"; + donpcevent "#getspell03_sch03::OnEnable"; + end; + +OnTimer30000: + donpcevent "#getspell03_sch03::OnDisable"; + donpcevent "#getspell04_sch03::OnEnable"; + end; + +OnTimer40000: + donpcevent "#getspell04_sch03::OnDisable"; + donpcevent "#getspell05_sch03::OnEnable"; + end; + +OnTimer50000: + donpcevent "#getspell05_sch03::OnDisable"; + donpcevent "#getspell06_sch03::OnEnable"; + end; + +OnTimer60000: + donpcevent "#getspell06_sch03::OnDisable"; + donpcevent "#getspell07_sch03::OnEnable"; + end; + +OnTimer70000: + donpcevent "#getspell07_sch03::OnDisable"; + donpcevent "#getspell08_sch03::OnEnable"; + end; + +OnTimer75000: + if ($gqse_sch03_gd < 6) { + mapannounce "que_qsch03","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00"; + enablenpc "#sch03_cage01"; + enablenpc "#sch03_cage02"; + enablenpc "#sch03_cage03"; + enablenpc "#sch03_cage04"; + enablenpc "#sch03_cage05"; + enablenpc "#sch03_cage06"; + set $gqse_sch03_gd,0; + } + end; + +OnTimer76000: + disablenpc "#sch03_cage01"; + disablenpc "#sch03_cage02"; + disablenpc "#sch03_cage03"; + disablenpc "#sch03_cage04"; + disablenpc "#sch03_cage05"; + disablenpc "#sch03_cage06"; + end; + +OnTimer80000: + donpcevent "#gdtimer01_sch03::OnEnable"; + end; +} + +que_qsch03,2,3,0 script #gdtimer02_sch03 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + stopnpctimer; + killmonster "que_qsch03","#gdtimer02_sch03::OnMyMobDead"; + end; + +OnTimer4000: + mapannounce "que_qsch03","Piamette : All of them are caught!",bc_map,"0xdb7093"; + end; + +OnTimer8000: + mapannounce "que_qsch03","Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093"; + end; + +OnTimer12000: + mapannounce "que_qsch03","Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093"; + monster "que_qsch03",108,151,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + monster "que_qsch03",107,135,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + monster "que_qsch03",113,114,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + monster "que_qsch03",158,106,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + monster "que_qsch03",163,133,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + monster "que_qsch03",150,154,"Key Stone",1905,1,"#gdtimer02_sch03::OnMyMobDead"; + end; + +OnTimer112000: + mapannounce "que_qsch03","Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093"; + killmonster "que_qsch03","#gdtimer02_sch03::OnMyMobDead"; + enablenpc "#sch03_cage01"; + enablenpc "#sch03_cage02"; + enablenpc "#sch03_cage03"; + enablenpc "#sch03_cage04"; + enablenpc "#sch03_cage05"; + enablenpc "#sch03_cage06"; + set $gqse_sch03_gd,0; + end; + +OnTimer113000: + disablenpc "#sch03_cage01"; + disablenpc "#sch03_cage02"; + disablenpc "#sch03_cage03"; + disablenpc "#sch03_cage04"; + disablenpc "#sch03_cage05"; + disablenpc "#sch03_cage06"; + donpcevent "#gdtimer01_sch03::OnEnable"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch03","#gdtimer02_sch03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#gdtimer02_sch03::OnMyMobDead") == 0) { + enablenpc "#sch03_cage01"; + enablenpc "#sch03_cage02"; + enablenpc "#sch03_cage03"; + enablenpc "#sch03_cage04"; + enablenpc "#sch03_cage05"; + enablenpc "#sch03_cage06"; + donpcevent "#piamette_sch03::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch03,1,4,0 script #piamette_sch03 844,{ +OnEnable: + initnpctimer; + end; + +Onreset: + killmonster "que_qsch03","#piamette_sch03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch03","Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093"; + end; + +OnTimer5000: + mapannounce "que_qsch03","Piamette : I'm pissed off now!",bc_map,"0xdb7093"; + donpcevent "Piamette#sch03::OnDisable"; + monster "que_qsch03",131,135,"Angry Piamette",1930,1,"#piamette_sch03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + mapannounce "que_qsch03","Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00"; + donpcevent "windpath03_sch03::OnEnable"; + donpcevent "windpath04_sch03::OnEnable"; + donpcevent "#nm_switch_sch03::OnEnable"; + end; +} + +que_qsch03,113,135,0 script #getspell01_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell01_sch03"; + end; + +OnEnable: + enablenpc "#getspell01_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell01_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,146,150,0 script #getspell02_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell02_sch03"; + end; + +OnEnable: + enablenpc "#getspell02_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell02_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,131,117,0 script #getspell03_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell03_sch03"; + end; + +OnEnable: + enablenpc "#getspell03_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell03_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,117,150,0 script #getspell04_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell04_sch03"; + end; + +OnEnable: + enablenpc "#getspell04_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell04_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,150,135,0 script #getspell05_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell05_sch03"; + end; + +OnEnable: + enablenpc "#getspell05_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell05_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,117,121,0 script #getspell06_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell06_sch03"; + end; + +OnEnable: + enablenpc "#getspell06_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell06_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,131,154,0 script #getspell07_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell07_sch03"; + end; + +OnEnable: + enablenpc "#getspell07_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell07_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,146,121,0 script #getspell08_sch03 -1,1,1,{ +OnInit: + disablenpc "#getspell08_sch03"; + end; + +OnEnable: + enablenpc "#getspell08_sch03"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell08_sch03"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch03_gd == 0) { + warp "que_qsch03",103,153; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,1; + mapannounce "que_qsch03","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 1) { + warp "que_qsch03",102,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,2; + mapannounce "que_qsch03","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 2) { + warp "que_qsch03",113,111; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,3; + mapannounce "que_qsch03","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 3) { + warp "que_qsch03",161,105; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,4; + mapannounce "que_qsch03","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 4) { + warp "que_qsch03",168,135; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,5; + mapannounce "que_qsch03","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch03_gd == 5) { + warp "que_qsch03",150,159; + disablenpc "#getspell01_sch03"; + set $gqse_sch03_gd,6; + mapannounce "que_qsch03","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch03::OnEnable"; + donpcevent "#gdtimer01_sch03::Onstop"; + } + end; +} + +que_qsch03,103,153,0 script #sch03_cage01 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage01"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",108,151; + disablenpc "#sch03_cage01"; + end; +} + +que_qsch03,102,135,0 script #sch03_cage02 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage02"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",107,135; + disablenpc "#sch03_cage02"; + end; +} + +que_qsch03,113,111,0 script #sch03_cage03 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage03"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",113,114; + disablenpc "#sch03_cage03"; + end; +} + +que_qsch03,161,105,0 script #sch03_cage04 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage04"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",158,106; + disablenpc "#sch03_cage04"; + end; +} + +que_qsch03,168,135,0 script #sch03_cage05 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage05"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",163,133; + disablenpc "#sch03_cage05"; + end; +} + +que_qsch03,150,159,0 script #sch03_cage06 -1,1,1,{ +OnInit: + disablenpc "#sch03_cage06"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch03",150,154; + disablenpc "#sch03_cage06"; + end; +} + +que_qsch03,1,8,0 script #gd_sch03_mobctrl 844,{ +OnEnable: + monster "que_qsch03",107,152,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",109,135,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",113,116,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",157,107,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",163,133,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",149,156,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",130,139,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",135,137,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",130,132,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",128,137,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",109,145,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",109,130,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",128,114,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",147,114,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",154,128,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",151,145,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",130,151,"Alice",1275,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",131,139,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",135,136,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",131,132,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",128,136,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",110,145,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",129,114,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",148,114,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",155,128,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",152,145,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",131,151,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",110,130,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",132,139,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",135,135,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",132,132,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",128,135,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",111,145,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",111,130,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",130,114,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",149,114,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",156,128,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",153,145,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",132,151,"Violy",1390,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",133,139,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",135,134,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",133,132,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",128,135,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",112,145,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",131,114,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",150,114,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",157,128,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",154,145,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",133,151,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",112,130,"Ancient Mimic",1699,1,"#gd_sch03_mobctrl::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch03","#gd_sch03_mobctrl::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#gd_sch03_mobctrl::OnMyMobDead") < 7) { + monster "que_qsch03",107,152,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",109,135,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",113,116,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",157,107,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",163,133,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + monster "que_qsch03",149,156,"Ball of Piamette",1738,1,"#gd_sch03_mobctrl::OnMyMobDead"; + } + end; +} + +que_qsch03,149,105,0 script windpath03_sch03 45,1,1,{ +OnInit: + disablenpc "windpath03_sch03"; + end; + +OnTouch: + warp "que_qsch03",119,103; + end; +} + +que_qsch03,128,104,0 script windpath04_sch03 45,1,1,{ +OnInit: + disablenpc "windpath04_sch03"; + end; + +OnTouch: + warp "que_qsch03",146,109; + end; +} + +que_qsch03,253,273,0 script #nm_switch_sch03 -1,5,5,{ +OnInit: + disablenpc "#nm_switch_sch03"; + end; + +OnEnable: + enablenpc "#nm_switch_sch03"; + end; + +OnDisable: + disablenpc "#nm_switch_sch03"; + stopnpctimer; + end; + +OnTouch: + disablenpc "#nm_switch_sch03"; + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch03","Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch03","Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00"; + end; + +OnTimer9000: + mapannounce "que_qsch03","Wish Maiden: So come here to me safely...",bc_map,"0x00ff00"; + end; + +OnTimer10000: + donpcevent "#nmsomsch03_jin01::OnEnable"; + donpcevent "#sch03_stone01::OnEnable"; + end; + +OnTimer190000: + donpcevent "#nmsomsch03_jin02::OnEnable"; + donpcevent "#sch03_stone02::OnEnable"; + end; + +OnTimer370000: + donpcevent "#nmsomsch03_jin03::OnEnable"; + donpcevent "#sch03_stone03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch03,229,297,0 script #nmsomsch03_jin01 -1,{ +OnEnable: + donpcevent "#sch03_stone01::OnEnable"; + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch03","#nmsomsch03_jin01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch03","The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch03",226,288,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",227,289,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",228,290,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",229,291,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",230,292,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,293,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",232,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",233,295,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",234,296,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",235,297,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",228,286,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",229,287,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",230,288,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,289,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",232,290,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",233,291,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",234,292,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",235,293,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",236,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",237,295,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",230,284,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,285,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",232,286,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",233,287,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",234,288,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",235,289,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",236,290,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",237,291,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",238,292,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",239,293,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch03",226,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",227,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",228,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",229,294,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",230,295,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,296,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,297,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,298,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",231,299,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",230,300,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",229,301,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",228,301,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",227,301,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",226,301,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",225,300,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",224,299,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",224,298,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",224,297,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",224,296,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + monster "que_qsch03",225,295,"Guard of Shadow",1752,1,"#nmsomsch03_jin01::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch03,2,8,0 script #sch03_stone01 844,{ +OnEnable: + monster "que_qsch03",227,294,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",229,294,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",231,296,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",231,298,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",230,300,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",228,301,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",226,301,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",224,299,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",224,297,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + monster "que_qsch03",225,295,"Western Magic Guardian",1752,1,"#sch03_stone01::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch03","#sch03_stone01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#sch03_stone01::OnMyMobDead") == 0) { + set $gqse_sch03_nm,$gqse_sch03_nm+1; + donpcevent "#nmsomsch03_jin01::OnDisable"; + if ($gqse_sch03_nm == 3) { + donpcevent "Wish Maiden#sch03_boss::Onfight"; + } + } + end; +} + +que_qsch03,275,299,0 script #nmsomsch03_jin02 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch03","#nmsomsch03_jin02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch03","The Eastern magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch03",263,292,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",264,291,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",265,290,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",266,289,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",267,288,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",268,287,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",269,286,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",270,285,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",271,284,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,283,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",265,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",266,293,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",267,292,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",268,291,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",269,290,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",270,289,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",271,288,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,287,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",273,286,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",274,285,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",267,296,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",268,295,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",269,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",270,283,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",271,282,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,281,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",273,280,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",274,279,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",275,276,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",276,275,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch03",274,301,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",275,301,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",276,301,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",277,301,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",278,300,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",279,299,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",279,298,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",279,297,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",279,296,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",278,295,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",277,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",276,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",275,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",274,294,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",273,295,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,296,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,297,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,298,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",272,299,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + monster "que_qsch03",273,300,"Bloody Hunter",1753,1,"#nmsomsch03_jin02::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch03,2,9,0 script #sch03_stone02 844,{ +OnEnable: + monster "que_qsch03",275,301,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",277,301,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",279,299,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",279,297,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",278,295,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",276,294,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",274,294,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",272,296,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",272,298,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + monster "que_qsch03",273,300,"Eastern Magic Guardian",1753,1,"#sch03_stone02::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch03","#sch03_stone02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#sch03_stone02::OnMyMobDead") == 0) { + set $gqse_sch03_nm,$gqse_sch03_nm+1; + donpcevent "#nmsomsch03_jin02::OnDisable"; + if ($gqse_sch03_nm == 3) { + donpcevent "Wish Maiden#sch03_boss::Onfight"; + } + } + end; +} + +que_qsch03,251,340,0 script #nmsomsch03_jin03 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch03","#nmsomsch03_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch03","The Northern magic formation is working to summon Keeper of the temple.",bc_map,"0x4d4dff"; + monster "que_qsch03",247,329,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",249,329,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",251,329,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",253,329,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,329,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",243,339,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",245,337,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",247,335,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",247,333,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",254,333,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",256,335,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",258,337,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",260,339,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + end; + +OnTimer120000: + monster "que_qsch03",251,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,341,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",254,337,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + end; + +OnTimer240000: + monster "que_qsch03",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,338,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",249,342,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + end; + +OnTimer360000: + monster "que_qsch03",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",251,336,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,339,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + monster "que_qsch03",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch03_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch03,2,10,0 script #sch03_stone03 844,{ +OnEnable: + monster "que_qsch03",251,343,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",252,343,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",255,341,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",255,340,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",254,337,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",253,336,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",250,336,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",249,337,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",248,340,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + monster "que_qsch03",248,341,"Northern Magic Guardian",1933,1,"#sch03_stone03::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch03","#sch03_stone03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","#sch03_stone03::OnMyMobDead") == 0) { + set $gqse_sch03_nm,$gqse_sch03_nm+1; + donpcevent "#nmsomsch03_jin03::OnDisable"; + + if ($gqse_sch03_nm == 3) { + donpcevent "Wish Maiden#sch03_boss::Onfight"; + } + } + end; +} + +que_qsch03,235,285,5 script Guard of Shadow#sch03_01 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch03_01"; + end; + +OnDisable: + killmonster "que_qsch03","Guard of Shadow#sch03_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch03_01"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch03_01"; + monster "que_qsch03",234,284,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_01::OnMyMobDead"; + monster "que_qsch03",235,285,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_01::OnMyMobDead"; + monster "que_qsch03",236,286,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,224,290,5 script Guard of Shadow#sch03_02 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch03_02"; + end; + +OnDisable: + killmonster "que_qsch03","Guard of Shadow#sch03_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch03_02"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch03_02"; + monster "que_qsch03",223,289,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_02::OnMyMobDead"; + monster "que_qsch03",224,290,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_02::OnMyMobDead"; + monster "que_qsch03",225,291,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,236,296,5 script Guard of Shadow#sch03_03 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch03_03"; + end; + +OnDisable: + killmonster "que_qsch03","Guard of Shadow#sch03_03::OnMyMobDead"; + disablenpc "Guard of Shadow#sch03_03"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch03_03"; + monster "que_qsch03",235,295,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_03::OnMyMobDead"; + monster "que_qsch03",236,296,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_03::OnMyMobDead"; + monster "que_qsch03",237,297,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,225,303,5 script Guard of Shadow#sch03_04 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch03_04"; + end; + +OnDisable: + killmonster "que_qsch03","Guard of Shadow#sch03_04::OnMyMobDead"; + disablenpc "Guard of Shadow#sch03_04"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch03_04"; + monster "que_qsch03",224,302,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_04::OnMyMobDead"; + monster "que_qsch03",225,303,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_04::OnMyMobDead"; + monster "que_qsch03",226,304,"Guard of Shadow",1752,1,"Guard of Shadow#sch03_04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,266,296,3 script Bloody Hunter#sch03_ac01 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch03_ac01"; + end; + +OnDisable: + killmonster "que_qsch03","Bloody Hunter#sch03_ac01::OnMyMobDead"; + disablenpc "Bloody Hunter#sch03_ac01"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch03_ac01"; + monster "que_qsch03",265,297,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac01::OnMyMobDead"; + monster "que_qsch03",266,296,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac01::OnMyMobDead"; + monster "que_qsch03",267,295,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,271,283,3 script Bloody Hunter#sch03_ac02 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch03_ac02"; + end; + +OnDisable: + killmonster "que_qsch03","Bloody Hunter#sch03_ac02::OnMyMobDead"; + disablenpc "Bloody Hunter#sch03_ac02"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch03_ac02"; + monster "que_qsch03",270,284,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac02::OnMyMobDead"; + monster "que_qsch03",271,283,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac02::OnMyMobDead"; + monster "que_qsch03",272,282,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,270,307,3 script Bloody Hunter#sch03_ac03 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch03_ac03"; + end; + +OnDisable: + killmonster "que_qsch03","Bloody Hunter#sch03_ac03::OnMyMobDead"; + disablenpc "Bloody Hunter#sch03_ac03"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch03_ac03"; + monster "que_qsch03",269,308,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac03::OnMyMobDead"; + monster "que_qsch03",270,307,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac03::OnMyMobDead"; + monster "que_qsch03",271,306,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,279,300,3 script Bloody Hunter#sch03_ac04 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch03_ac04"; + end; + +OnDisable: + killmonster "que_qsch03","Bloody Hunter#sch03_ac04::OnMyMobDead"; + disablenpc "Bloody Hunter#sch03_ac04"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch03_ac04"; + monster "que_qsch03",278,301,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac04::OnMyMobDead"; + monster "que_qsch03",279,300,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac04::OnMyMobDead"; + monster "que_qsch03",280,299,"Bloody Hunter",1753,1,"Bloody Hunter#sch03_ac04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,247,330,5 script ½ÅÀü¼öÈ£ÀÚ#sch03_ac01 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch03_ac01"; + end; + +OnDisable: + killmonster "que_qsch03","Temple Keeper#sch03_ac01::OnMyMobDead"; + disablenpc "Temple Keeper#sch03_ac01"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch03_ac01"; + monster "que_qsch03",246,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac01::OnMyMobDead"; + monster "que_qsch03",247,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac01::OnMyMobDead"; + monster "que_qsch03",248,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,255,330,3 script ½ÅÀü¼öÈ£ÀÚ#sch03_ac02 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch03_ac02"; + end; + +OnDisable: + killmonster "que_qsch03","Temple Keeper#sch03_ac02::OnMyMobDead"; + disablenpc "Temple Keeper#sch03_ac02"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch03_ac02"; + monster "que_qsch03",254,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac02::OnMyMobDead"; + monster "que_qsch03",255,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac02::OnMyMobDead"; + monster "que_qsch03",256,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch03_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch03,251,255,3 script Wish Maiden#sch03_boss 1931,{ +OnInit: + disablenpc "Wish Maiden#sch03_boss"; + end; + +OnDisable: + killmonster "que_qsch03","Wish Maiden#sch03_boss::OnMyMobDead"; + disablenpc "Wish Maiden#sch03_boss"; + stopnpctimer; + end; + +Onfight: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch03","Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch03","Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00"; + end; + +OnTimer5000: + specialeffect EF_ICECRASH; + disablenpc "Wish Maiden#sch03_boss"; + specialeffect EF_SPHERE; + monster "que_qsch03",252,340,"Wish Maiden",1931,1,"Wish Maiden#sch03_boss::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch03","Wish Maiden#sch03_boss::OnMyMobDead") == 0) { + donpcevent "#okolnir_sch03::Onstop"; + donpcevent "Wish Maiden#sch03_gift::OnEnable"; + mapannounce "que_qsch03","Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00"; + } + end; +} + +que_qsch03,252,340,3 script Wish Maiden#sch03_gift 403,{ + set .@GID, GetCastleData("schg_cas03",1); + if (getcharid(2) == .@GID) { + if (strcharinfo(0) == getguildmaster(.@GID)) { + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "As I declared, I will give the Goddess' shine to you."; + mes "You have the requirements to carry it..."; + next; + mes "[Wish Maiden]"; + mes "You will be granted the power of the great Valkyrie..."; + next; + mes "[Wish Maiden]"; + mes "I will give you some things for fun."; + mes "All of you enjoy them together..."; + next; + mes "[Wish Maiden]"; + mes "Go to Rachel and Juno to meet the Ravies sisters."; + next; + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "I will open the gate for you to come back here."; + mes "...Okolnir won't last forever..."; + delitem 7830,1; //Goddess_Tear + delitem 7831,1; //Valkyrie_Token + delitem 7832,1; //Brynhild_Armor_Piece + delitem 7833,1; //Hero_Remains + delitem 7834,1; //Andvari_Ring + delitem 2357,1; //Valkyrie_Armor + delitem 7510,100; //Valhalla_Flower + delitem 969,10; //Gold + delitem 985,20; //Elunium + getitem 2383,1; //Brynhild + getitem 7840,1; //Valkyrie_Gift + announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a Brynhild into this world.",bc_all,"0x70dbdb"; + close2; + cutin "wish_maiden11",255; + disablenpc "Wish Maiden#sch03_gift"; + donpcevent "#to_agit_sch03_gate::OnEnable"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "As I declared, you are worthy of holding the Brynhild."; + mes "However, you do not have the requirements on you..."; + next; + mes "[Wish Maiden]"; + mes "...Did you forget something?"; + close2; + } + } + else { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "¸ All of you worked together as a team..."; + mes "Humans are strong when they are united, but are easily swayed by lust."; + next; + mes "[Wish Maiden]"; + mes "Humans are imperfect, so their chief god is there for them when they need help."; + mes "...."; + next; + mes "[Wish Maiden]"; + mes "Always be real."; + mes "Do not regret your actions..."; + close2; + } + } + cutin "wish_maiden11",255; + end; + +OnInit: + disablenpc "Wish Maiden#sch03_gift"; + end; + +OnEnable: + enablenpc "Wish Maiden#sch03_gift"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#sch03_gift"; + stopnpctimer; + end; + +OnTimer280000: + mapannounce "que_qsch03","Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00"; + end; + +OnTimer290000: + mapwarp "que_qsch03","schg_cas03",81,95; + donpcevent "#to_agit_sch03_gate::OnDisable"; + end; + +OnTimer300000: + donpcevent "#okolnir_sch03::OnDisable"; + set $gqse_sch03_miro,0; + set $gqse_sch03_pcc,0; + set $gqse_sch03_gd,0; + set $gqse_sch03_nm,0; + set $siz_sch03_on,2; + donpcevent "#okolnir_sch03_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch03,252,339,0 script #to_agit_sch03_gate 45,1,1,{ +OnInit: + disablenpc "#to_agit_sch03_gate"; + end; + +OnTouch: + warp "schg_cas03",81,95; + end; +} + +que_qsch03,1,6,0 script #okolnir_sch03_time01 844,{ +OnInit: + if ($siz_sch03_on == 2) { + initnpctimer; + } + end; + +OnEnable: + set $gqse_sch03_time,0; + initnpctimer; + end; + +Onreset: + set $siz_sch03_on,0; + set $gqse_sch03_time,0; + stopnpctimer; + end; + +OnTimer3600000: + if ($gqse_sch03_time < 12) { + set $gqse_sch03_time,$gqse_sch03_time+1; + initnpctimer; + } + else if ($gqse_sch03_time == 12) { + set $siz_sch03_on,0; + set $gqse_sch03_time,0; + enablenpc "Wish Maiden#gq_sch03"; + enablenpc "Piamette#sch03"; + donpcevent "Wish Maiden#sch03_boss::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch03,116,313,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,120,285,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,117,236,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,103,223,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,85,204,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,79,186,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,73,167,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,68,150,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,71,128,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,69,118,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,117,78,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,110,79,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,141,80,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,158,84,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,193,104,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,119,269,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,155,77,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch03,110,317,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,115,295,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,116,256,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,113,242,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,99,223,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,94,216,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,77,198,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,70,174,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,72,147,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,64,134,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,77,107,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,84,88,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,98,82,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,129,79,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,91,124,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,173,95,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,179,127,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,195,120,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,178,159,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,88,145,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,94,157,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,95,177,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,129,196,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,154,196,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,170,187,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,194,180,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch03,214,181,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch03,243,199,0,0 monster Garden Watcher 1933,1,1200000,0,0 diff --git a/npc/quests/okolnir/godse_sch04.txt b/npc/quests/okolnir/godse_sch04.txt new file mode 100644 index 000000000..d46e2618d --- /dev/null +++ b/npc/quests/okolnir/godse_sch04.txt @@ -0,0 +1,3276 @@ +//===== eAthena Script ======================================= +//= Falicious Okolnir - Nidhoggr 4 +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= God Item SE Creation scipt (Brynhild) +//===== Additional Comments: ================================= +//= 1.0 First version. [L0ne_W0lf] +//============================================================ + +schg_cas04,376,307,3 script Guide#gq_sch04 899,{ + set .@GID, GetCastleData("schg_cas04",1); + if (getcharid(2) == .@GID) { + if ($siz_sch04_on == 0) { + mes "[Guide]"; + mes "This castle has a hidden secret."; + mes "That is the ^4d4dff'Okolnir'^000000."; + next; + switch(select("About Okolnir.:Go to Okolnir.:Cancel.")) { + case 1: + mes "[Guide]"; + mes "Okolnir is a kind of virtual realm..."; + mes "I don't know how Okolnir exists, but I guess only Valkyrie knows."; + next; + mes "[Guide]"; + mes "As you know this is a place to test the adventurers made by Valkyrie..."; + mes "...you know the qualifications to enter Okolnir."; + next; + select("Qualifications?"); + mes "[Guide]"; + mes "Yes, Valkyrie definitely prefers strong adventurers."; + mes "Only the qualified can enter Okolnir and Valhalla."; + next; + mes "[Guide]"; + mes "It only opens when everyone comes together to work it out."; + mes "The key is in the castle."; + next; + mes "[Guide]"; + mes "If a castle's ^4d4dffeconomy is over 65 and defense also over 30^000000, this will be acceptable to access Okolnir."; + next; + mes "[Guide]"; + mes "And, if you pass all of the tests given by Valkyrie in Okolnir!"; + mes "You will also receive a mysterious gift."; + next; + mes "[Guide]"; + mes "Would you like to try to enter here?"; + close; + case 2: + set .@Defence,GetCastleData("schg_cas04",3); + set .@Economy,GetCastleData("schg_cas04",2); + if ((.@Economy > 64) && (.@Defence > 29)) { + mes "[Guide]"; + mes "Great! Economy and Defense are OK."; + mes "You can enter Okolnir now...."; + mes "Do you want to go there?"; + next; + switch(select("Sure let's go there.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Ok......"; + mes "Please follow me..."; + close2; + warp "que_qsch04",346,32; + end; + case 2: + mes "[Guide]"; + mes "You can try this anytime in the future..."; + mes "If you are ready to protect this castle."; + close; + } + } + else { + mes "[Guide]"; + mes "You are not qualified yet."; + mes "Please develop your castle more..."; + close; + } + } + } + else if ($siz_sch04_on == 1) { + mes "[Guide]"; + mes "... OK..."; + mes "Good luck."; + next; + switch(select("Enter now.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Hope you get everything you want..."; + close2; + warp "que_qsch04",346,32; + end; + case 2: + mes "[Guide]"; + mes "Really?"; + mes "Sorry to hear that."; + close; + } + } + else if ($siz_sch04_on == 2) { + mes "[Guide]"; + mes "Building Okolnir needs quite a long time."; + mes "....even though it's only virtual..."; + next; + mes "[Guide]"; + mes "It takes about 12 -13 hours to create the virtual realm."; + close; + } + else { + mes "[Guide]"; + mes "You'll have to wait."; + close; + } + } + else { + mes "[Guide]"; + mes "... I've never seen you before."; + mes "You are strangers here. You'd better get out of here right now."; + close; + } + end; + +OnInit: + set $gqse_sch04_miro,0; + set $gqse_sch04_pcc,0; + set $gqse_sch04_gd,0; + set $gqse_sch04_nm,0; + if ($siz_sch04_on == 1) { + set $siz_sch04_on,0; + } + enablenpc "Guide#gq_sch04"; + end; +} + +que_qsch04,345,23,0 warp Gate02#gq_sch04 1,1,schg_cas04,369,306 + +que_qsch04,345,82,3 script Wish Maiden#gq_sch04 403,{ + set .@GID, GetCastleData("schg_cas04",1); + if (getcharid(2) == .@GID) { + cutin "wish_maiden31",1; + if (strcharinfo(0) == getguildmaster(.@GID)) { + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Are you ready to endure the trials to get the Goddess' glory?"; + next; + switch(select("Yes, I am:Sorry, I'll try later")) { + case 1: + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "I will test whether or not you deserve the Goddess shine..."; + mes "Isn't it simple?"; + next; + mes "[Wish Maiden]"; + mes "Okolnir is a virtual place."; + mes "There is no room for error there."; + mes "^ff0000You only have one hour.^000000"; + next; + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "If you have not finished in that time, Okolnir will be destroyed, and I will go to rest."; + mes "You will have to wait again..."; + next; + mes "[Wish Maiden]"; + mes "Are you ready to go through?"; + mes "^4d4dffYou need to have 16 to 20 members present^000000."; + next; + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "I will open the gate of Okolnir if your members are ready."; + next; + switch(select("We are ready.:We need more time.")) { + case 1: + set .@saram,getmapusers("que_qsch04"); + if (((.@saram > 15) && (.@saram < 21)) || (getgmlevel() == 99)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "Now I will open the gate of Okolnir where I am."; + mes "I will wait for you on the top of Okolnir..."; + next; + mes "[Wish Maiden]"; + mes "I hope that you can complete all of the trials before the virtual Okolnir is destroyed..."; + mes "Good luck."; + mapannounce "que_qsch04","Wish Maiden: The gate of Okolnir is open! Don't forget you only have one hour.",bc_map,"0x00ff00"; + close2; + set $gqse_sch04_pcc,.@saram; + set $siz_sch04_on,1; + donpcevent "#okolnir_sch04::OnEnable"; + disablenpc "Wish Maiden#gq_sch04"; + cutin "wish_maiden11",255; + announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "You need to have 16 to 20 members present to open the gate of Okolnir."; + mes "Come back when you are ready."; + close2; + } + break; + case 2: + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Don't hesitate to try."; + mes "You should catch the chance when it comes to you."; + mes "Just gather your fellow members."; + close2; + } + break; + case 2: + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "... Are you afraid of"; + mes "the trials facing you?"; + mes "...."; + next; + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Do you think that you can defeat the Goddess shine easily?"; + mes "I feel disappointed by all of you."; + mes "Just go away..."; + close2; + } + } + else { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Do you wish to enter?"; + mes "Only those prepared may enter here."; + mes "You must bring several items to enter Okolnir."; + next; + mes "[Wish Maiden]"; + mes "Goddess Tear"; + mes "Valkyrie's Token"; + mes "Brynhild Armor Piece"; + mes "Hero Remains"; + mes "Valkyrie Armor"; + mes "Andvari's Ring."; + next; + mes "[Wish Maiden]"; + mes "You must bring those six things, 10 Gold, and 20 Elunium."; + mes "Many Valhala's Flowers are also required as an offering."; + next; + mes "[Wish Maiden]"; + mes "Once all of those are prepared, the gate will open."; + next; + mes "[Wish Maiden]"; + mes ".... "; + mes "...........The Goddess shines brightly down on you, you should be stronger to deserve it..."; + next; + mes "[Wish Maiden]"; + mes "Remember..."; + mes "You need to collect many Valhalla flowers."; + mes "I hope that your dreams come true."; + next; + mes "[Wish Maiden]"; + mes "I will answer all your requests if you bring these to me."; + close2; + } + } + else { + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + mes "[Wish Maiden]"; + mes "Bring me the one who brought you to this place."; + mes ".. Deliver him to my will."; + close2; + } + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "...You are not qualified."; + close2; + percentheal -100,0; + cutin "wish_maiden11",255; + end; + } + cutin "wish_maiden11",255; + end; + +OnInit: + if ($siz_sch04_on == 0) { + enablenpc "Wish Maiden#gq_sch04"; + } + else { + disablenpc "Wish Maiden#gq_sch04"; + } + end; +} + +que_qsch04,346,81,0 script Gate01#gq_sch04 45,1,1,{ + end; + +OnInit: + disablenpc "Gate01#gq_sch04"; + end; + +OnEnable: + enablenpc "Gate01#gq_sch04"; + setcell "que_qsch04",58,302,63,302,cell_walkable,0; + setcell "que_qsch04",58,302,63,302,cell_shootable,0; + end; + +OnDisable: + disablenpc "Gate01#gq_sch04"; + killmonsterall "que_qsch04"; + end; + +OnTouch: + set .@saram,getmapusers("que_qsch04"); + if (.@saram < 21) { + if ($gqse_sch04_miro == $gqse_sch04_pcc) { + set .@point,rand(1,5); + if (.@point == 1) { + warp "que_qsch04",72,271; + end; + } + else if (.@point == 2) { + warp "que_qsch04",45,243; + end; + } + else if (.@point == 3) { + warp "que_qsch04",102,248; + end; + } + else if (.@point == 4) { + warp "que_qsch04",102,300; + end; + } + else { + warp "que_qsch04",46,300; + end; + } + } + else if ($gqse_sch04_miro == 0) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",77,271,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",77,271,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",77,271,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",77,271,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",77,271,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,1; + warp "que_qsch04",72,271; + end; + } + else if ($gqse_sch04_miro == 1) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,2; + warp "que_qsch04",63,282; + end; + } + else if ($gqse_sch04_miro == 2) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",63,294,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",63,294,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",63,294,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",63,294,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",63,294,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,3; + warp "que_qsch04",59,294; + end; + } + else if ($gqse_sch04_miro == 3) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",50,300,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",50,300,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",50,300,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",50,300,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",50,300,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,4; + warp "que_qsch04",46,300; + end; + } + else if ($gqse_sch04_miro == 4) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",51,280,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",51,280,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",51,280,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",51,280,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",51,280,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,5; + warp "que_qsch04",51,285; + end; + } + else if ($gqse_sch04_miro == 5) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",51,258,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",51,258,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",51,258,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",51,258,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",51,258,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,6; + warp "que_qsch04",51,262; + end; + } + else if ($gqse_sch04_miro == 6) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",49,243,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",49,243,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",49,243,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",49,243,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",49,243,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,7; + warp "que_qsch04",45,243; + end; + } + else if ($gqse_sch04_miro == 7) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",86,249,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",86,249,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",86,249,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",86,249,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",86,249,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,8; + warp "que_qsch04",82,249; + end; + } + else if ($gqse_sch04_miro == 8) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",102,243,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",102,243,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",102,243,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",102,243,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",102,243,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,9; + warp "que_qsch04",102,248; + end; + } + else if ($gqse_sch04_miro == 9) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",90,256,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",90,256,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",90,256,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",90,256,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",90,256,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,10; + warp "que_qsch04",90,260; + end; + } + else if ($gqse_sch04_miro == 10) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",90,283,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",90,283,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",90,283,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",90,283,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",90,283,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,11; + warp "que_qsch04",90,280; + end; + } + else if ($gqse_sch04_miro == 11) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",102,295,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",102,295,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",102,295,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",102,295,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",102,295,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,12; + warp "que_qsch04",102,300; + end; + } + else if ($gqse_sch04_miro == 12) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",96,285,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",96,285,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",96,285,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",96,285,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",96,285,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,13; + warp "que_qsch04",96,290; + end; + } + else if ($gqse_sch04_miro == 13) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,14; + warp "que_qsch04",63,282; + end; + } + else if ($gqse_sch04_miro == 14) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",65,243,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",65,243,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",65,243,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",65,243,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",65,243,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,15; + warp "que_qsch04",61,243; + end; + } + else if ($gqse_sch04_miro == 15) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",73,249,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",73,249,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",73,249,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",73,249,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",73,249,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,16; + warp "que_qsch04",70,249; + end; + } + else if ($gqse_sch04_miro == 16) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",102,275,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",102,275,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",102,275,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",102,275,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + end; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",102,275,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,17; + warp "que_qsch04",102,281; + end; + } + else if ($gqse_sch04_miro == 17) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",70,300,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",70,300,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",70,300,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",70,300,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",70,300,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,18; + warp "que_qsch04",66,300; + end; + } + else if ($gqse_sch04_miro == 18) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",57,255,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",57,255,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",57,255,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",57,255,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",57,255,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,19; + warp "que_qsch04",57,258; + end; + } + else if ($gqse_sch04_miro == 19) { + if (BaseClass == Job_Swordman) { + monster "que_qsch04",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch04",84,277,strcharinfo(0),1659,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch04",84,277,strcharinfo(0),1662,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch04",84,277,strcharinfo(0),1663,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch04",84,277,strcharinfo(0),1660,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch04",84,277,strcharinfo(0),1661,1,"#Gate_manager_sch04::OnMyMobDead"; + } + else { + monster "que_qsch04",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch04::OnMyMobDead"; + } + set $gqse_sch04_miro,20; + warp "que_qsch04",84,280; + end; + } + } + else { + mes "Á¤¿øÀ» ÃÊ°úÇÏ¿´½À´Ï´Ù. ´õÀÌ»ó ÁøÀÔÇÒ ¼ö ¾ø½À´Ï´Ù."; + close; + } + end; +} + +que_qsch04,1,4,0 script #Gate_manager_sch04 844,{ +OnMyMobDead: + if ($gqse_sch04_miro == $gqse_sch04_pcc) { + if (mobcount("que_qsch04","#Gate_manager_sch04::OnMyMobDead") == 0) { + donpcevent "#gq_miromob2_sch04::OnEnable"; + } + } + end; +} + +que_qsch04,1,4,0 script #gq_miromob2_sch04 844,{ +OnEnable: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch04","Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00"; + end; + +OnTimer6000: + mapannounce "que_qsch04","Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00"; + monster "que_qsch04",72,271,"Seyren Windsor",1640,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",63,282,"Kathryne Keyron",1645,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",59,294,"Cecil Damon",1644,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",46,300,"Margaretha Sorin",1643,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",51,285,"Eremes Guile",1641,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",51,262,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch04::OnMyMobDead"; + + monster "que_qsch04",45,243,"Seyren Windsor",1640,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",82,249,"Kathryne Keyron",1645,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",102,248,"Cecil Damon",1644,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",90,260,"Margaretha Sorin",1643,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",90,280,"Eremes Guile",1641,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",102,300,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch04::OnMyMobDead"; + + monster "que_qsch04",63,282,"Seyren Windsor",1640,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",61,243,"Kathryne Keyron",1645,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",70,249,"Cecil Damon",1644,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",102,281,"Margaretha Sorin",1643,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",66,300,"Eremes Guile",1641,1,"#gq_miromob2_sch04::OnMyMobDead"; + monster "que_qsch04",57,258,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch04::OnMyMobDead"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch04","#gq_miromob2_sch04::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#gq_miromob2_sch04::OnMyMobDead") == 0) { + mapannounce "que_qsch04","The Mystic garden exit is now open.",bc_map,"0x00ff00"; + setcell "que_qsch04",58,302,63,302,cell_walkable,1; + setcell "que_qsch04",58,302,63,302,cell_shootable,1; + donpcevent "#Maze_Manager_sch04::OnDisable"; + } + end; +} + +que_qsch04,1,1,0 script #okolnir_sch04 844,{ + +OnEnable: + donpcevent "Gate01#gq_sch04::OnEnable"; + donpcevent "#Maze_Manager_sch04::OnEnable"; + donpcevent "#event_start01_sch04::OnEnable"; + donpcevent "#gd_sch04_mobctrl::OnEnable"; + enablenpc "Guard of Shadow#sch04_01"; + enablenpc "Guard of Shadow#sch04_02"; + enablenpc "Guard of Shadow#sch04_03"; + enablenpc "Guard of Shadow#sch04_04"; + enablenpc "Bloody Hunter#sch04_ac01"; + enablenpc "Bloody Hunter#sch04_ac02"; + enablenpc "Bloody Hunter#sch04_ac03"; + enablenpc "Bloody Hunter#sch04_ac04"; + enablenpc "Temple Keeper#sch04_ac01"; + enablenpc "Temple Keeper#sch04_ac02"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#gq_sch04"; + donpcevent "#gq_miromob2_sch04::Onreset"; + disablenpc "Piamette#sch04"; + donpcevent "#gdtimer01_sch04::Onstop"; + donpcevent "#gdtimer02_sch04::Onstop"; + donpcevent "#piamette_sch04::Onreset"; + donpcevent "Wish Maiden#sch04_boss::OnDisable"; + donpcevent "Wish Maiden#sch04_gift::OnDisable"; + donpcevent "#gd_sch04_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch04::OnDisable"; + donpcevent "#Maze_Manager_sch04::OnDisable"; + donpcevent "#event_start01_sch04::OnDisable"; + donpcevent "#nm_switch_sch04::OnDisable"; + donpcevent "#nmsomsch04_jin01::OnDisable"; + donpcevent "#nmsomsch04_jin02::OnDisable"; + donpcevent "#nmsomsch04_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch04_01::OnDisable"; + donpcevent "Guard of Shadow#sch04_02::OnDisable"; + donpcevent "Guard of Shadow#sch04_03::OnDisable"; + donpcevent "Guard of Shadow#sch04_04::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac04::OnDisable"; + donpcevent "Temple Keeper#sch04_ac01::OnDisable"; + donpcevent "Temple Keeper#sch04_ac02::OnDisable"; + disablenpc "#to_agit_sch04_gate"; + donpcevent "#sch04_stone01::Onreset"; + donpcevent "#sch04_stone02::Onreset"; + donpcevent "#sch04_stone03::Onreset"; + disablenpc "#sch04_cage01"; + disablenpc "#sch04_cage02"; + disablenpc "#sch04_cage03"; + disablenpc "#sch04_cage04"; + disablenpc "#sch04_cage05"; + disablenpc "#sch04_cage06"; + donpcevent "windpath03_sch04::OnDisable"; + donpcevent "windpath04_sch04::OnDisable"; + set $gqse_sch04_miro,0; + set $gqse_sch04_pcc,0; + set $gqse_sch04_gd,0; + set $gqse_sch04_nm,0; + stopnpctimer; + end; + +Onstop: + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch04","Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00"; + end; + +OnTimer1800000: + mapannounce "que_qsch04","Okolnir will disappear in 30 minutes.",bc_map,"0xff0000"; + end; + +OnTimer2400000: + mapannounce "que_qsch04","Okolnir will disappear in 20 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3000000: + mapannounce "que_qsch04","Okolnir will disappear in 10 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3300000: + mapannounce "que_qsch04","Okolnir will disappear in 5 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3360000: + mapannounce "que_qsch04","Okolnir will disappear in 4 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3420000: + mapannounce "que_qsch04","Okolnir will disappear in 3 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3480000: + mapannounce "que_qsch04","Okolnir will disappear in 2 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3540000: + mapannounce "que_qsch04","Okolnir will disappear in 1 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3600000: + mapannounce "que_qsch04","Okolnir has begun to disappear.",bc_map,"0x4d4dff"; + disablenpc "Wish Maiden#gq_sch04"; + donpcevent "#gq_miromob2_sch04::Onreset"; + disablenpc "Piamette#sch04"; + donpcevent "#gdtimer01_sch04::Onstop"; + donpcevent "#gdtimer02_sch04::Onstop"; + donpcevent "#piamette_sch04::Onreset"; + donpcevent "Wish Maiden#sch04_boss::onDisable"; + donpcevent "Wish Maiden#sch04_gift::OnDisable"; + donpcevent "#gd_sch04_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch04::OnDisable"; + donpcevent "#Maze_Manager_sch04::OnDisable"; + donpcevent "#event_start01_sch04::OnDisable"; + donpcevent "#nm_switch_sch04::OnDisable"; + donpcevent "#nmsomsch04_jin01::OnDisable"; + donpcevent "#nmsomsch04_jin02::OnDisable"; + donpcevent "#nmsomsch04_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch04_01::OnDisable"; + donpcevent "Guard of Shadow#sch04_02::OnDisable"; + donpcevent "Guard of Shadow#sch04_03::OnDisable"; + donpcevent "Guard of Shadow#sch04_04::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch04_ac04::OnDisable"; + donpcevent "Temple Keeper#sch04_ac01::OnDisable"; + donpcevent "Temple Keeper#sch04_ac02::OnDisable"; + disablenpc "#to_agit_sch04_gate"; + donpcevent "#sch04_stone01::Onreset"; + donpcevent "#sch04_stone02::Onreset"; + donpcevent "#sch04_stone03::Onreset"; + disablenpc "#sch04_cage01"; + disablenpc "#sch04_cage02"; + disablenpc "#sch04_cage03"; + disablenpc "#sch04_cage04"; + disablenpc "#sch04_cage05"; + disablenpc "#sch04_cage06"; + donpcevent "windpath03_sch04::OnDisable"; + donpcevent "windpath04_sch04::OnDisable"; + end; + +OnTimer3605000: + mapannounce "que_qsch04","Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00"; + end; + +OnTimer3608000: + mapannounce "que_qsch04","Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00"; + end; + +OnTimer3610000: + set $gqse_sch04_miro,0; + set $gqse_sch04_pcc,0; + set $gqse_sch04_gd,0; + set $gqse_sch04_nm,0; + mapwarp "que_qsch04","schg_cas04",369,306; + end; + +OnTimer3611000: + donpcevent "#okolnir_sch04_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch04,1,2,0 script #Maze_Manager_sch04 844,{ +OnInit: + donpcevent "#miro_bf_sch04::OnDisable"; + donpcevent "#miro_rf_sch04::OnDisable"; + donpcevent "#miro_yf_sch04::OnDisable"; + end; + +OnEnable: + initnpctimer; + end; + +OnDisable: + donpcevent "#miro_bf_sch04::OnDisable"; + donpcevent "#miro_rf_sch04::OnDisable"; + donpcevent "#miro_yf_sch04::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#miro_rf_sch04::OnDisable"; + end; + +OnTimer2000: + donpcevent "#miro_yf_sch04::OnDisable"; + end; + +OnTimer3000: + donpcevent "#miro_bf_sch04::OnEnable"; + end; + +OnTimer120000: + donpcevent "#miro_bf_sch04::OnDisable"; + end; + +OnTimer121000: + donpcevent "#miro_yf_sch04::OnDisable"; + end; + +OnTimer123000: + donpcevent "#miro_rf_sch04::OnEnable"; + end; + +OnTimer240000: + donpcevent "#miro_bf_sch04::OnDisable"; + end; + +OnTimer241000: + donpcevent "#miro_rf_sch04::OnDisable"; + end; + +OnTimer242000: + donpcevent "#miro_yf_sch04::OnEnable"; + end; + +OnTimer360000: + donpcevent "#Maze_Manager_sch04::OnEnable"; + end; +} + +que_qsch04,2,1,0 script #miro_bf_sch04 844,{ + +OnEnable: + monster "que_qsch04",44,270," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",46,270," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",50,287," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",52,287," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",50,265," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",52,265," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",56,279," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",58,279," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",64,301," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",64,298," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",62,272," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",64,272," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",58,245," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",58,243," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",72,289," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",72,287," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",68,257," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",68,255," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",73,263," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",73,261," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",75,251," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",75,249," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",79,283," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",79,281," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",82,271," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",84,271," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",89,295," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",89,293," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",88,276," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",90,276," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",88,266," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",90,266," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",94,256," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",96,256," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",64,301," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",64,299," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",100,251," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + monster "que_qsch04",102,251," ",1934,1,"#miro_bf_sch04::OnMyMobDead"; + setcell "que_qsch04",44,270,47,270,cell_walkable,0; + setcell "que_qsch04",44,270,47,270,cell_shootable,0; + setcell "que_qsch04",50,287,53,287,cell_walkable,0; + setcell "que_qsch04",50,287,53,287,cell_shootable,0; + setcell "que_qsch04",50,265,53,265,cell_walkable,0; + setcell "que_qsch04",50,265,53,265,cell_shootable,0; + setcell "que_qsch04",56,279,59,279,cell_walkable,0; + setcell "que_qsch04",56,279,59,279,cell_shootable,0; + setcell "que_qsch04",64,298,64,301,cell_walkable,0; + setcell "que_qsch04",64,298,64,301,cell_shootable,0; + setcell "que_qsch04",62,272,65,272,cell_walkable,0; + setcell "que_qsch04",62,272,65,272,cell_shootable,0; + setcell "que_qsch04",58,242,58,245,cell_walkable,0; + setcell "que_qsch04",58,242,58,245,cell_shootable,0; + setcell "que_qsch04",72,286,72,289,cell_walkable,0; + setcell "que_qsch04",72,286,72,289,cell_shootable,0; + setcell "que_qsch04",68,254,68,259,cell_walkable,0; + setcell "que_qsch04",68,254,68,259,cell_shootable,0; + setcell "que_qsch04",73,260,73,263,cell_walkable,0; + setcell "que_qsch04",73,260,73,263,cell_shootable,0; + setcell "que_qsch04",75,248,75,251,cell_walkable,0; + setcell "que_qsch04",75,248,75,251,cell_shootable,0; + setcell "que_qsch04",79,280,79,283,cell_walkable,0; + setcell "que_qsch04",79,280,79,283,cell_shootable,0; + setcell "que_qsch04",82,271,85,271,cell_walkable,0; + setcell "que_qsch04",82,271,85,271,cell_shootable,0; + setcell "que_qsch04",89,292,89,295,cell_walkable,0; + setcell "que_qsch04",89,292,89,295,cell_shootable,0; + setcell "que_qsch04",88,276,91,276,cell_walkable,0; + setcell "que_qsch04",88,276,91,276,cell_shootable,0; + setcell "que_qsch04",88,266,91,266,cell_walkable,0; + setcell "que_qsch04",88,266,91,266,cell_shootable,0; + setcell "que_qsch04",94,256,97,256,cell_walkable,0; + setcell "que_qsch04",94,256,97,256,cell_shootable,0; + setcell "que_qsch04",64,298,64,301,cell_walkable,0; + setcell "que_qsch04",64,298,64,301,cell_shootable,0; + setcell "que_qsch04",000,251,003,251,cell_walkable,0; + setcell "que_qsch04",000,251,003,251,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch04","#miro_bf_sch04::OnMyMobDead"; + setcell "que_qsch04",44,270,47,270,cell_walkable,1; + setcell "que_qsch04",44,270,47,270,cell_shootable,1; + setcell "que_qsch04",50,287,53,287,cell_walkable,1; + setcell "que_qsch04",50,287,53,287,cell_shootable,1; + setcell "que_qsch04",50,265,53,265,cell_walkable,1; + setcell "que_qsch04",50,265,53,265,cell_shootable,1; + setcell "que_qsch04",56,279,59,279,cell_walkable,1; + setcell "que_qsch04",56,279,59,279,cell_shootable,1; + setcell "que_qsch04",64,298,64,301,cell_walkable,1; + setcell "que_qsch04",64,298,64,301,cell_shootable,1; + setcell "que_qsch04",62,272,65,272,cell_walkable,1; + setcell "que_qsch04",62,272,65,272,cell_shootable,1; + setcell "que_qsch04",58,242,58,245,cell_walkable,1; + setcell "que_qsch04",58,242,58,245,cell_shootable,1; + setcell "que_qsch04",72,286,72,289,cell_walkable,1; + setcell "que_qsch04",72,286,72,289,cell_shootable,1; + setcell "que_qsch04",68,254,68,259,cell_walkable,1; + setcell "que_qsch04",68,254,68,259,cell_shootable,1; + setcell "que_qsch04",73,260,73,263,cell_walkable,1; + setcell "que_qsch04",73,260,73,263,cell_shootable,1; + setcell "que_qsch04",75,248,75,251,cell_walkable,1; + setcell "que_qsch04",75,248,75,251,cell_shootable,1; + setcell "que_qsch04",79,280,79,283,cell_walkable,1; + setcell "que_qsch04",79,280,79,283,cell_shootable,1; + setcell "que_qsch04",82,271,85,271,cell_walkable,1; + setcell "que_qsch04",82,271,85,271,cell_shootable,1; + setcell "que_qsch04",89,292,89,295,cell_walkable,1; + setcell "que_qsch04",89,292,89,295,cell_shootable,1; + setcell "que_qsch04",88,276,91,276,cell_walkable,1; + setcell "que_qsch04",88,276,91,276,cell_shootable,1; + setcell "que_qsch04",88,266,91,266,cell_walkable,1; + setcell "que_qsch04",88,266,91,266,cell_shootable,1; + setcell "que_qsch04",94,256,97,256,cell_walkable,1; + setcell "que_qsch04",94,256,97,256,cell_shootable,1; + setcell "que_qsch04",64,298,64,301,cell_walkable,1; + setcell "que_qsch04",64,298,64,301,cell_shootable,1; + setcell "que_qsch04",100,251,103,251,cell_walkable,1; + setcell "que_qsch04",100,251,103,251,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch04,2,2,0 script #miro_rf_sch04 844,{ + +OnEnable: + monster "que_qsch04",57,301," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",57,299," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",48,291," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",48,289," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",68,290," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",70,290," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",72,295," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",72,293," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",90,296," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",92,296," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",56,282," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",58,282," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",66,283," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",66,281," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",80,284," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",82,284," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",44,273," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",46,273," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",50,273," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",52,273," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",54,269," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",54,267," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",66,271," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",66,270," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",81,273," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",81,272," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",88,276," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",90,276," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",94,276," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",96,276," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",64,258," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",66,258," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",76,263," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",76,261," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",87,265," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",87,263," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",50,252," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",52,252," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",76,252," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",78,252," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",99,255," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",99,253," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",53,245," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + monster "que_qsch04",53,243," ",1935,1,"#miro_rf_sch04::OnMyMobDead"; + setcell "que_qsch04",57,298,57,301,cell_walkable,0; + setcell "que_qsch04",57,298,57,301,cell_shootable,0; + setcell "que_qsch04",48,288,48,291,cell_walkable,0; + setcell "que_qsch04",48,288,48,291,cell_shootable,0; + setcell "que_qsch04",68,290,71,290,cell_walkable,0; + setcell "que_qsch04",68,290,71,290,cell_shootable,0; + setcell "que_qsch04",72,292,72,295,cell_walkable,0; + setcell "que_qsch04",72,292,72,295,cell_shootable,0; + setcell "que_qsch04",90,296,93,296,cell_walkable,0; + setcell "que_qsch04",90,296,93,296,cell_shootable,0; + setcell "que_qsch04",56,282,59,282,cell_walkable,0; + setcell "que_qsch04",56,282,59,282,cell_shootable,0; + setcell "que_qsch04",66,280,66,283,cell_walkable,0; + setcell "que_qsch04",66,280,66,283,cell_shootable,0; + setcell "que_qsch04",80,284,83,284,cell_walkable,0; + setcell "que_qsch04",80,284,83,284,cell_shootable,0; + setcell "que_qsch04",44,273,47,273,cell_walkable,0; + setcell "que_qsch04",44,273,47,273,cell_shootable,0; + setcell "que_qsch04",50,273,53,273,cell_walkable,0; + setcell "que_qsch04",50,273,53,273,cell_shootable,0; + setcell "que_qsch04",54,266,54,269,cell_walkable,0; + setcell "que_qsch04",54,266,54,269,cell_shootable,0; + setcell "que_qsch04",66,270,66,271,cell_walkable,0; + setcell "que_qsch04",66,270,66,271,cell_shootable,0; + setcell "que_qsch04",81,272,81,273,cell_walkable,0; + setcell "que_qsch04",81,272,81,273,cell_shootable,0; + setcell "que_qsch04",88,276,91,276,cell_walkable,0; + setcell "que_qsch04",88,276,91,276,cell_shootable,0; + setcell "que_qsch04",94,276,97,276,cell_walkable,0; + setcell "que_qsch04",94,276,97,276,cell_shootable,0; + setcell "que_qsch04",64,258,67,258,cell_walkable,0; + setcell "que_qsch04",64,258,67,258,cell_shootable,0; + setcell "que_qsch04",76,260,76,263,cell_walkable,0; + setcell "que_qsch04",76,260,76,263,cell_shootable,0; + setcell "que_qsch04",87,262,87,265,cell_walkable,0; + setcell "que_qsch04",87,262,87,265,cell_shootable,0; + setcell "que_qsch04",50,252,53,252,cell_walkable,0; + setcell "que_qsch04",50,252,53,252,cell_shootable,0; + setcell "que_qsch04",76,252,79,252,cell_walkable,0; + setcell "que_qsch04",76,252,79,252,cell_shootable,0; + setcell "que_qsch04",99,252,99,255,cell_walkable,0; + setcell "que_qsch04",99,252,99,255,cell_shootable,0; + setcell "que_qsch04",53,242,53,245,cell_walkable,0; + setcell "que_qsch04",53,242,53,245,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch04","#miro_rf_sch04::OnMyMobDead"; + setcell "que_qsch04",57,298,57,301,cell_walkable,1; + setcell "que_qsch04",57,298,57,301,cell_shootable,1; + setcell "que_qsch04",48,288,48,291,cell_walkable,1; + setcell "que_qsch04",48,288,48,291,cell_shootable,1; + setcell "que_qsch04",68,290,71,290,cell_walkable,1; + setcell "que_qsch04",68,290,71,290,cell_shootable,1; + setcell "que_qsch04",72,292,72,295,cell_walkable,1; + setcell "que_qsch04",72,292,72,295,cell_shootable,1; + setcell "que_qsch04",90,296,93,296,cell_walkable,1; + setcell "que_qsch04",90,296,93,296,cell_shootable,1; + setcell "que_qsch04",56,282,59,282,cell_walkable,1; + setcell "que_qsch04",56,282,59,282,cell_shootable,1; + setcell "que_qsch04",66,280,66,283,cell_walkable,1; + setcell "que_qsch04",66,280,66,283,cell_shootable,1; + setcell "que_qsch04",80,284,83,284,cell_walkable,1; + setcell "que_qsch04",80,284,83,284,cell_shootable,1; + setcell "que_qsch04",44,273,47,273,cell_walkable,1; + setcell "que_qsch04",44,273,47,273,cell_shootable,1; + setcell "que_qsch04",50,273,53,273,cell_walkable,1; + setcell "que_qsch04",50,273,53,273,cell_shootable,1; + setcell "que_qsch04",54,266,54,269,cell_walkable,1; + setcell "que_qsch04",54,266,54,269,cell_shootable,1; + setcell "que_qsch04",66,270,66,271,cell_walkable,1; + setcell "que_qsch04",66,270,66,271,cell_shootable,1; + setcell "que_qsch04",81,272,81,273,cell_walkable,1; + setcell "que_qsch04",81,272,81,273,cell_shootable,1; + setcell "que_qsch04",88,276,91,276,cell_walkable,1; + setcell "que_qsch04",88,276,91,276,cell_shootable,1; + setcell "que_qsch04",94,276,97,276,cell_walkable,1; + setcell "que_qsch04",94,276,97,276,cell_shootable,1; + setcell "que_qsch04",64,258,67,258,cell_walkable,1; + setcell "que_qsch04",64,258,67,258,cell_shootable,1; + setcell "que_qsch04",76,260,76,263,cell_walkable,1; + setcell "que_qsch04",76,260,76,263,cell_shootable,1; + setcell "que_qsch04",87,262,87,265,cell_walkable,1; + setcell "que_qsch04",87,262,87,265,cell_shootable,1; + setcell "que_qsch04",50,252,53,252,cell_walkable,1; + setcell "que_qsch04",50,252,53,252,cell_shootable,1; + setcell "que_qsch04",76,252,79,252,cell_walkable,1; + setcell "que_qsch04",76,252,79,252,cell_shootable,1; + setcell "que_qsch04",99,252,99,255,cell_walkable,1; + setcell "que_qsch04",99,252,99,255,cell_shootable,1; + setcell "que_qsch04",53,242,53,245,cell_walkable,1; + setcell "que_qsch04",53,242,53,245,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch04,2,3,0 script #miro_yf_sch04 844,{ + +OnEnable: + monster "que_qsch04",44,292," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",46,292," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",67,295," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",67,293," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",94,301," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",94,299," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",79,289," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",79,287," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",56,282," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",58,282," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",71,283," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",71,281," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",100,281," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",102,281," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",44,261," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",46,261," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",50,265," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",52,265," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",56,270," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",58,270," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",72,278," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",73,278," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",82,266," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",84,266," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",88,266," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",90,266," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",94,271," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",96,271," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",60,257," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",60,255," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",73,263," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",73,261," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",75,257," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",75,255," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",87,257," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",87,255," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",58,251," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",58,249," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",80,251," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",80,249," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",53,245," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",53,243," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",75,245," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",75,243," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",100,251," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",102,251," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",100,256," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + monster "que_qsch04",102,256," ",1936,1,"#miro_yf_sch04::OnMyMobDead"; + setcell "que_qsch04",44,292,47,292,cell_walkable,0; + setcell "que_qsch04",44,292,47,292,cell_shootable,0; + setcell "que_qsch04",67,292,67,295,cell_walkable,0; + setcell "que_qsch04",67,292,67,295,cell_shootable,0; + setcell "que_qsch04",94,298,94,301,cell_walkable,0; + setcell "que_qsch04",94,298,94,301,cell_shootable,0; + setcell "que_qsch04",79,286,79,289,cell_walkable,0; + setcell "que_qsch04",79,286,79,289,cell_shootable,0; + setcell "que_qsch04",56,282,59,282,cell_walkable,0; + setcell "que_qsch04",56,282,59,282,cell_shootable,0; + setcell "que_qsch04",71,280,71,283,cell_walkable,0; + setcell "que_qsch04",71,280,71,283,cell_shootable,0; + setcell "que_qsch04",100,281,103,281,cell_walkable,0; + setcell "que_qsch04",100,281,103,281,cell_shootable,0; + setcell "que_qsch04",44,261,47,261,cell_walkable,0; + setcell "que_qsch04",44,261,47,261,cell_shootable,0; + setcell "que_qsch04",50,265,53,265,cell_walkable,0; + setcell "que_qsch04",50,265,53,265,cell_shootable,0; + setcell "que_qsch04",56,270,59,270,cell_walkable,0; + setcell "que_qsch04",56,270,59,270,cell_shootable,0; + setcell "que_qsch04",72,278,73,278,cell_walkable,0; + setcell "que_qsch04",72,278,73,278,cell_shootable,0; + setcell "que_qsch04",82,266,85,266,cell_walkable,0; + setcell "que_qsch04",82,266,85,266,cell_shootable,0; + setcell "que_qsch04",88,266,91,266,cell_walkable,0; + setcell "que_qsch04",88,266,91,266,cell_shootable,0; + setcell "que_qsch04",94,271,97,271,cell_walkable,0; + setcell "que_qsch04",94,271,97,271,cell_shootable,0; + setcell "que_qsch04",60,254,60,257,cell_walkable,0; + setcell "que_qsch04",60,254,60,257,cell_shootable,0; + setcell "que_qsch04",73,260,73,263,cell_walkable,0; + setcell "que_qsch04",73,260,73,263,cell_shootable,0; + setcell "que_qsch04",75,254,75,257,cell_walkable,0; + setcell "que_qsch04",75,254,75,257,cell_shootable,0; + setcell "que_qsch04",87,254,87,257,cell_walkable,0; + setcell "que_qsch04",87,254,87,257,cell_shootable,0; + setcell "que_qsch04",58,248,58,251,cell_walkable,0; + setcell "que_qsch04",58,248,58,251,cell_shootable,0; + setcell "que_qsch04",80,248,80,251,cell_walkable,0; + setcell "que_qsch04",80,248,80,251,cell_shootable,0; + setcell "que_qsch04",53,242,53,245,cell_walkable,0; + setcell "que_qsch04",53,242,53,245,cell_shootable,0; + setcell "que_qsch04",75,242,75,245,cell_walkable,0; + setcell "que_qsch04",75,242,75,245,cell_shootable,0; + setcell "que_qsch04",100,251,103,251,cell_walkable,0; + setcell "que_qsch04",100,251,103,251,cell_shootable,0; + setcell "que_qsch04",100,256,103,256,cell_walkable,0; + setcell "que_qsch04",100,256,103,256,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch04","#miro_yf_sch04::OnMyMobDead"; + setcell "que_qsch04",44,292,47,292,cell_walkable,1; + setcell "que_qsch04",44,292,47,292,cell_shootable,1; + setcell "que_qsch04",67,292,67,295,cell_walkable,1; + setcell "que_qsch04",67,292,67,295,cell_shootable,1; + setcell "que_qsch04",94,298,94,301,cell_walkable,1; + setcell "que_qsch04",94,298,94,301,cell_shootable,1; + setcell "que_qsch04",79,286,79,289,cell_walkable,1; + setcell "que_qsch04",79,286,79,289,cell_shootable,1; + setcell "que_qsch04",56,282,59,282,cell_walkable,1; + setcell "que_qsch04",56,282,59,282,cell_shootable,1; + setcell "que_qsch04",71,280,71,283,cell_walkable,1; + setcell "que_qsch04",71,280,71,283,cell_shootable,1; + setcell "que_qsch04",100,281,103,281,cell_walkable,1; + setcell "que_qsch04",100,281,103,281,cell_shootable,1; + setcell "que_qsch04",44,261,47,261,cell_walkable,1; + setcell "que_qsch04",44,261,47,261,cell_shootable,1; + setcell "que_qsch04",50,265,53,265,cell_walkable,1; + setcell "que_qsch04",50,265,53,265,cell_shootable,1; + setcell "que_qsch04",56,270,59,270,cell_walkable,1; + setcell "que_qsch04",56,270,59,270,cell_shootable,1; + setcell "que_qsch04",72,278,73,278,cell_walkable,1; + setcell "que_qsch04",72,278,73,278,cell_shootable,1; + setcell "que_qsch04",82,266,85,266,cell_walkable,1; + setcell "que_qsch04",82,266,85,266,cell_shootable,1; + setcell "que_qsch04",88,266,91,266,cell_walkable,1; + setcell "que_qsch04",88,266,91,266,cell_shootable,1; + setcell "que_qsch04",94,271,97,271,cell_walkable,1; + setcell "que_qsch04",94,271,97,271,cell_shootable,1; + setcell "que_qsch04",60,254,60,257,cell_walkable,1; + setcell "que_qsch04",60,254,60,257,cell_shootable,1; + setcell "que_qsch04",73,260,73,263,cell_walkable,1; + setcell "que_qsch04",73,260,73,263,cell_shootable,1; + setcell "que_qsch04",75,254,75,257,cell_walkable,1; + setcell "que_qsch04",75,254,75,257,cell_shootable,1; + setcell "que_qsch04",87,254,87,257,cell_walkable,1; + setcell "que_qsch04",87,254,87,257,cell_shootable,1; + setcell "que_qsch04",58,248,58,251,cell_walkable,1; + setcell "que_qsch04",58,248,58,251,cell_shootable,1; + setcell "que_qsch04",80,248,80,251,cell_walkable,1; + setcell "que_qsch04",80,248,80,251,cell_shootable,1; + setcell "que_qsch04",53,242,53,245,cell_walkable,1; + setcell "que_qsch04",53,242,53,245,cell_shootable,1; + setcell "que_qsch04",75,242,75,245,cell_walkable,1; + setcell "que_qsch04",75,242,75,245,cell_shootable,1; + setcell "que_qsch04",100,251,103,251,cell_walkable,1; + setcell "que_qsch04",100,251,103,251,cell_shootable,1; + setcell "que_qsch04",100,256,103,256,cell_walkable,1; + setcell "que_qsch04",100,256,103,256,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch04,132,172,0 script windpath01_sch04 45,1,1,{ +OnTouch: + if (countitem(7839) > 0) { + mes "The Warp Gate responds to the Crystal Key."; + delitem 7839,1; //Crystal_Key + close2; + warp "que_qsch04",114,158; + end; + } + else { + mes "You need the Crystal Key to activate the Warp Gate."; + close; + } +} + +que_qsch04,113,165,0 warp windpath02_sch04 1,1,que_qsch04,139,172 + + +que_qsch04,131,136,3 script Piamette#sch04 1930,{ +OnInit: + enablenpc "Piamette#sch04"; + end; +} + +que_qsch04,114,158,0 script #event_start01_sch04 -1,1,1,{ + +OnInit: + disablenpc "#event_start01_sch04"; + end; + +OnEnable: + enablenpc "#event_start01_sch04"; + end; + +OnDisable: + disablenpc "#event_start01_sch04"; + stopnpctimer; + end; + +OnTouch: + initnpctimer; + disablenpc "#event_start01_sch04"; + end; + +OnTimer2000: + mapannounce "que_qsch04","Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093"; + end; + +OnTimer6000: + mapannounce "que_qsch04","Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093"; + end; + +OnTimer10000: + mapannounce "que_qsch04","Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093"; + end; + +OnTimer14000: + mapannounce "que_qsch04","Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00"; + donpcevent "#gdtimer01_sch04::OnEnable"; + stopnpctimer; + end; +} + +que_qsch04,2,2,0 script #gdtimer01_sch04 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + donpcevent "#getspell01_sch04::OnDisable"; + donpcevent "#getspell02_sch04::OnDisable"; + donpcevent "#getspell03_sch04::OnDisable"; + donpcevent "#getspell04_sch04::OnDisable"; + donpcevent "#getspell05_sch04::OnDisable"; + donpcevent "#getspell06_sch04::OnDisable"; + donpcevent "#getspell07_sch04::OnDisable"; + donpcevent "#getspell08_sch04::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#getspell08_sch04::OnDisable"; + donpcevent "#getspell01_sch04::OnEnable"; + end; + +OnTimer10000: + donpcevent "#getspell01_sch04::OnDisable"; + donpcevent "#getspell02_sch04::OnEnable"; + end; + +OnTimer20000: + donpcevent "#getspell02_sch04::OnDisable"; + donpcevent "#getspell03_sch04::OnEnable"; + end; + +OnTimer30000: + donpcevent "#getspell03_sch04::OnDisable"; + donpcevent "#getspell04_sch04::OnEnable"; + end; + +OnTimer40000: + donpcevent "#getspell04_sch04::OnDisable"; + donpcevent "#getspell05_sch04::OnEnable"; + end; + +OnTimer50000: + donpcevent "#getspell05_sch04::OnDisable"; + donpcevent "#getspell06_sch04::OnEnable"; + end; + +OnTimer60000: + donpcevent "#getspell06_sch04::OnDisable"; + donpcevent "#getspell07_sch04::OnEnable"; + end; + +OnTimer70000: + donpcevent "#getspell07_sch04::OnDisable"; + donpcevent "#getspell08_sch04::OnEnable"; + end; + +OnTimer75000: + if ($gqse_sch04_gd < 6) { + mapannounce "que_qsch04","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00"; + enablenpc "#sch04_cage01"; + enablenpc "#sch04_cage02"; + enablenpc "#sch04_cage03"; + enablenpc "#sch04_cage04"; + enablenpc "#sch04_cage05"; + enablenpc "#sch04_cage06"; + set $gqse_sch04_gd,0; + } + end; + +OnTimer76000: + disablenpc "#sch04_cage01"; + disablenpc "#sch04_cage02"; + disablenpc "#sch04_cage03"; + disablenpc "#sch04_cage04"; + disablenpc "#sch04_cage05"; + disablenpc "#sch04_cage06"; + end; + +OnTimer80000: + donpcevent "#gdtimer01_sch04::OnEnable"; + end; +} + +que_qsch04,2,3,0 script #gdtimer02_sch04 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + stopnpctimer; + killmonster "que_qsch04","#gdtimer02_sch04::OnMyMobDead"; + end; + +OnTimer4000: + mapannounce "que_qsch04","Piamette : All of them are caught!",bc_map,"0xdb7093"; + end; + +OnTimer8000: + mapannounce "que_qsch04","Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093"; + end; + +OnTimer12000: + mapannounce "que_qsch04","Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093"; + monster "que_qsch04",108,151,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + monster "que_qsch04",107,135,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + monster "que_qsch04",113,114,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + monster "que_qsch04",158,106,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + monster "que_qsch04",163,133,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + monster "que_qsch04",150,154,"Key Stone",1905,1,"#gdtimer02_sch04::OnMyMobDead"; + end; + +OnTimer112000: + mapannounce "que_qsch04","Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093"; + killmonster "que_qsch04","#gdtimer02_sch04::OnMyMobDead"; + enablenpc "#sch04_cage01"; + enablenpc "#sch04_cage02"; + enablenpc "#sch04_cage03"; + enablenpc "#sch04_cage04"; + enablenpc "#sch04_cage05"; + enablenpc "#sch04_cage06"; + set $gqse_sch04_gd,0; + end; + +OnTimer113000: + disablenpc "#sch04_cage01"; + disablenpc "#sch04_cage02"; + disablenpc "#sch04_cage03"; + disablenpc "#sch04_cage04"; + disablenpc "#sch04_cage05"; + disablenpc "#sch04_cage06"; + donpcevent "#gdtimer01_sch04::OnEnable"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch04","#gdtimer02_sch04::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#gdtimer02_sch04::OnMyMobDead") == 0) { + enablenpc "#sch04_cage01"; + enablenpc "#sch04_cage02"; + enablenpc "#sch04_cage03"; + enablenpc "#sch04_cage04"; + enablenpc "#sch04_cage05"; + enablenpc "#sch04_cage06"; + donpcevent "#piamette_sch04::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch04,1,4,0 script #piamette_sch04 844,{ +OnEnable: + initnpctimer; + end; + +Onreset: + killmonster "que_qsch04","#piamette_sch04::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch04","Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093"; + end; + +OnTimer5000: + mapannounce "que_qsch04","Piamette : I'm pissed off now!",bc_map,"0xdb7093"; + donpcevent "Piamette#sch04::OnDisable"; + monster "que_qsch04",131,135,"Angry Piamette",1930,1,"#piamette_sch04::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + mapannounce "que_qsch04","Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00"; + donpcevent "windpath03_sch04::OnEnable"; + donpcevent "windpath04_sch04::OnEnable"; + donpcevent "#nm_switch_sch04::OnEnable"; + end; +} + +que_qsch04,113,135,0 script #getspell01_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell01_sch04"; + end; + +OnEnable: + enablenpc "#getspell01_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell01_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,146,150,0 script #getspell02_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell02_sch04"; + end; + +OnEnable: + enablenpc "#getspell02_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell02_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,131,117,0 script #getspell03_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell03_sch04"; + end; + +OnEnable: + enablenpc "#getspell03_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell03_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,117,150,0 script #getspell04_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell04_sch04"; + end; + +OnEnable: + enablenpc "#getspell04_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell04_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,150,135,0 script #getspell05_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell05_sch04"; + end; + +OnEnable: + enablenpc "#getspell05_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell05_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,117,121,0 script #getspell06_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell06_sch04"; + end; + +OnEnable: + enablenpc "#getspell06_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell06_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,131,154,0 script #getspell07_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell07_sch04"; + end; + +OnEnable: + enablenpc "#getspell07_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell07_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,146,121,0 script #getspell08_sch04 -1,1,1,{ +OnInit: + disablenpc "#getspell08_sch04"; + end; + +OnEnable: + enablenpc "#getspell08_sch04"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell08_sch04"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch04_gd == 0) { + warp "que_qsch04",103,153; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,1; + mapannounce "que_qsch04","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 1) { + warp "que_qsch04",102,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,2; + mapannounce "que_qsch04","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 2) { + warp "que_qsch04",113,111; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,3; + mapannounce "que_qsch04","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 3) { + warp "que_qsch04",161,105; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,4; + mapannounce "que_qsch04","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 4) { + warp "que_qsch04",168,135; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,5; + mapannounce "que_qsch04","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch04_gd == 5) { + warp "que_qsch04",150,159; + disablenpc "#getspell01_sch04"; + set $gqse_sch04_gd,6; + mapannounce "que_qsch04","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch04::OnEnable"; + donpcevent "#gdtimer01_sch04::Onstop"; + } + end; +} + +que_qsch04,103,153,0 script #sch04_cage01 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage01"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",108,151; + disablenpc "#sch04_cage01"; + end; +} + +que_qsch04,102,135,0 script #sch04_cage02 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage02"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",107,135; + disablenpc "#sch04_cage02"; + end; +} + +que_qsch04,113,111,0 script #sch04_cage03 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage03"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",113,114; + disablenpc "#sch04_cage03"; + end; +} + +que_qsch04,161,105,0 script #sch04_cage04 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage04"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",158,106; + disablenpc "#sch04_cage04"; + end; +} + +que_qsch04,168,135,0 script #sch04_cage05 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage05"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",163,133; + disablenpc "#sch04_cage05"; + end; +} + +que_qsch04,150,159,0 script #sch04_cage06 -1,1,1,{ +OnInit: + disablenpc "#sch04_cage06"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch04",150,154; + disablenpc "#sch04_cage06"; + end; +} + +que_qsch04,1,8,0 script #gd_sch04_mobctrl 844,{ +OnEnable: + monster "que_qsch04",107,152,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",109,135,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",113,116,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",157,107,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",163,133,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",149,156,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",130,139,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",135,137,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",130,132,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",128,137,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",109,145,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",109,130,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",128,114,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",147,114,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",154,128,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",151,145,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",130,151,"Alice",1275,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",131,139,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",135,136,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",131,132,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",128,136,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",110,145,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",129,114,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",148,114,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",155,128,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",152,145,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",131,151,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",110,130,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",132,139,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",135,135,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",132,132,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",128,135,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",111,145,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",111,130,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",130,114,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",149,114,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",156,128,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",153,145,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",132,151,"Violy",1390,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",133,139,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",135,134,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",133,132,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",128,135,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",112,145,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",131,114,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",150,114,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",157,128,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",154,145,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",133,151,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",112,130,"Ancient Mimic",1699,1,"#gd_sch04_mobctrl::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch04","#gd_sch04_mobctrl::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#gd_sch04_mobctrl::OnMyMobDead") < 7) { + monster "que_qsch04",107,152,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",109,135,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",113,116,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",157,107,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",163,133,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + monster "que_qsch04",149,156,"Ball of Piamette",1738,1,"#gd_sch04_mobctrl::OnMyMobDead"; + } + end; +} + +que_qsch04,149,105,0 script windpath03_sch04 45,1,1,{ +OnInit: + disablenpc "windpath03_sch04"; + end; + +OnTouch: + warp "que_qsch04",119,103; + end; +} + +que_qsch04,128,104,0 script windpath04_sch04 45,1,1,{ +OnInit: + disablenpc "windpath04_sch04"; + end; + +OnTouch: + warp "que_qsch04",146,109; + end; +} + +que_qsch04,253,273,0 script #nm_switch_sch04 -1,5,5,{ +OnInit: + disablenpc "#nm_switch_sch04"; + end; + +OnEnable: + enablenpc "#nm_switch_sch04"; + end; + +OnDisable: + disablenpc "#nm_switch_sch04"; + stopnpctimer; + end; + +OnTouch: + disablenpc "#nm_switch_sch04"; + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch04","Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch04","Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00"; + end; + +OnTimer9000: + mapannounce "que_qsch04","Wish Maiden: So come here to me safely...",bc_map,"0x00ff00"; + end; + +OnTimer10000: + donpcevent "#nmsomsch04_jin01::OnEnable"; + donpcevent "#sch04_stone01::OnEnable"; + end; + +OnTimer190000: + donpcevent "#nmsomsch04_jin02::OnEnable"; + donpcevent "#sch04_stone02::OnEnable"; + end; + +OnTimer370000: + donpcevent "#nmsomsch04_jin03::OnEnable"; + donpcevent "#sch04_stone03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch04,229,297,0 script #nmsomsch04_jin01 -1,{ +OnEnable: + donpcevent "#sch04_stone01::OnEnable"; + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch04","#nmsomsch04_jin01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch04","The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch04",226,288,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",227,289,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",228,290,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",229,291,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",230,292,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,293,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",232,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",233,295,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",234,296,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",235,297,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",228,286,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",229,287,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",230,288,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,289,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",232,290,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",233,291,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",234,292,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",235,293,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",236,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",237,295,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",230,284,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,285,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",232,286,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",233,287,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",234,288,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",235,289,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",236,290,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",237,291,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",238,292,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",239,293,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch04",226,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",227,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",228,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",229,294,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",230,295,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,296,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,297,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,298,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",231,299,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",230,300,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",229,301,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",228,301,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",227,301,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",226,301,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",225,300,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",224,299,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",224,298,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",224,297,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",224,296,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + monster "que_qsch04",225,295,"Guard of Shadow",1752,1,"#nmsomsch04_jin01::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch04,2,8,0 script #sch04_stone01 844,{ +OnEnable: + monster "que_qsch04",227,294,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",229,294,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",231,296,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",231,298,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",230,300,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",228,301,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",226,301,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",224,299,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",224,297,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + monster "que_qsch04",225,295,"Western Magic Guardian",1752,1,"#sch04_stone01::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch04","#sch04_stone01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#sch04_stone01::OnMyMobDead") == 0) { + set $gqse_sch04_nm,$gqse_sch04_nm+1; + donpcevent "#nmsomsch04_jin01::OnDisable"; + if ($gqse_sch04_nm == 3) { + donpcevent "Wish Maiden#sch04_boss::Onfight"; + } + } + end; +} + +que_qsch04,275,299,0 script #nmsomsch04_jin02 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch04","#nmsomsch04_jin02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch04","The Eastern magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch04",263,292,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",264,291,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",265,290,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",266,289,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",267,288,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",268,287,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",269,286,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",270,285,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",271,284,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,283,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",265,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",266,293,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",267,292,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",268,291,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",269,290,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",270,289,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",271,288,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,287,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",273,286,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",274,285,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",267,296,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",268,295,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",269,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",270,283,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",271,282,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,281,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",273,280,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",274,279,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",275,276,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",276,275,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch04",274,301,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",275,301,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",276,301,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",277,301,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",278,300,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",279,299,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",279,298,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",279,297,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",279,296,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",278,295,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",277,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",276,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",275,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",274,294,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",273,295,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,296,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,297,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,298,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",272,299,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + monster "que_qsch04",273,300,"Bloody Hunter",1753,1,"#nmsomsch04_jin02::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch04,2,9,0 script #sch04_stone02 844,{ +OnEnable: + monster "que_qsch04",275,301,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",277,301,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",279,299,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",279,297,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",278,295,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",276,294,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",274,294,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",272,296,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",272,298,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + monster "que_qsch04",273,300,"Eastern Magic Guardian",1753,1,"#sch04_stone02::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch04","#sch04_stone02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#sch04_stone02::OnMyMobDead") == 0) { + set $gqse_sch04_nm,$gqse_sch04_nm+1; + donpcevent "#nmsomsch04_jin02::OnDisable"; + if ($gqse_sch04_nm == 3) { + donpcevent "Wish Maiden#sch04_boss::Onfight"; + } + } + end; +} + +que_qsch04,251,340,0 script #nmsomsch04_jin03 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch04","#nmsomsch04_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch04","The Northern magic formation is working to summon Keeper of the temple.",bc_map,"0x4d4dff"; + monster "que_qsch04",247,329,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",249,329,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",251,329,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",253,329,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,329,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",243,339,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",245,337,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",247,335,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",247,333,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",254,333,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",256,335,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",258,337,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",260,339,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + end; + +OnTimer120000: + monster "que_qsch04",251,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,341,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",254,337,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + end; + +OnTimer240000: + monster "que_qsch04",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,338,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",249,342,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + end; + +OnTimer360000: + monster "que_qsch04",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",251,336,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,339,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + monster "que_qsch04",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch04_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch04,2,10,0 script #sch04_stone03 844,{ +OnEnable: + monster "que_qsch04",251,343,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",252,343,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",255,341,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",255,340,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",254,337,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",253,336,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",250,336,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",249,337,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",248,340,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + monster "que_qsch04",248,341,"Northern Magic Guardian",1933,1,"#sch04_stone03::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch04","#sch04_stone03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","#sch04_stone03::OnMyMobDead") == 0) { + set $gqse_sch04_nm,$gqse_sch04_nm+1; + donpcevent "#nmsomsch04_jin03::OnDisable"; + + if ($gqse_sch04_nm == 3) { + donpcevent "Wish Maiden#sch04_boss::Onfight"; + } + } + end; +} + +que_qsch04,235,285,5 script Guard of Shadow#sch04_01 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch04_01"; + end; + +OnDisable: + killmonster "que_qsch04","Guard of Shadow#sch04_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch04_01"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch04_01"; + monster "que_qsch04",234,284,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_01::OnMyMobDead"; + monster "que_qsch04",235,285,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_01::OnMyMobDead"; + monster "que_qsch04",236,286,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,224,290,5 script Guard of Shadow#sch04_02 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch04_02"; + end; + +OnDisable: + killmonster "que_qsch04","Guard of Shadow#sch04_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch04_02"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch04_02"; + monster "que_qsch04",223,289,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_02::OnMyMobDead"; + monster "que_qsch04",224,290,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_02::OnMyMobDead"; + monster "que_qsch04",225,291,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,236,296,5 script Guard of Shadow#sch04_03 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch04_03"; + end; + +OnDisable: + killmonster "que_qsch04","Guard of Shadow#sch04_03::OnMyMobDead"; + disablenpc "Guard of Shadow#sch04_03"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch04_03"; + monster "que_qsch04",235,295,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_03::OnMyMobDead"; + monster "que_qsch04",236,296,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_03::OnMyMobDead"; + monster "que_qsch04",237,297,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,225,303,5 script Guard of Shadow#sch04_04 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch04_04"; + end; + +OnDisable: + killmonster "que_qsch04","Guard of Shadow#sch04_04::OnMyMobDead"; + disablenpc "Guard of Shadow#sch04_04"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch04_04"; + monster "que_qsch04",224,302,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_04::OnMyMobDead"; + monster "que_qsch04",225,303,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_04::OnMyMobDead"; + monster "que_qsch04",226,304,"Guard of Shadow",1752,1,"Guard of Shadow#sch04_04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,266,296,3 script Bloody Hunter#sch04_ac01 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch04_ac01"; + end; + +OnDisable: + killmonster "que_qsch04","Bloody Hunter#sch04_ac01::OnMyMobDead"; + disablenpc "Bloody Hunter#sch04_ac01"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch04_ac01"; + monster "que_qsch04",265,297,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac01::OnMyMobDead"; + monster "que_qsch04",266,296,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac01::OnMyMobDead"; + monster "que_qsch04",267,295,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,271,283,3 script Bloody Hunter#sch04_ac02 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch04_ac02"; + end; + +OnDisable: + killmonster "que_qsch04","Bloody Hunter#sch04_ac02::OnMyMobDead"; + disablenpc "Bloody Hunter#sch04_ac02"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch04_ac02"; + monster "que_qsch04",270,284,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac02::OnMyMobDead"; + monster "que_qsch04",271,283,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac02::OnMyMobDead"; + monster "que_qsch04",272,282,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,270,307,3 script Bloody Hunter#sch04_ac03 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch04_ac03"; + end; + +OnDisable: + killmonster "que_qsch04","Bloody Hunter#sch04_ac03::OnMyMobDead"; + disablenpc "Bloody Hunter#sch04_ac03"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch04_ac03"; + monster "que_qsch04",269,308,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac03::OnMyMobDead"; + monster "que_qsch04",270,307,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac03::OnMyMobDead"; + monster "que_qsch04",271,306,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,279,300,3 script Bloody Hunter#sch04_ac04 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch04_ac04"; + end; + +OnDisable: + killmonster "que_qsch04","Bloody Hunter#sch04_ac04::OnMyMobDead"; + disablenpc "Bloody Hunter#sch04_ac04"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch04_ac04"; + monster "que_qsch04",278,301,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac04::OnMyMobDead"; + monster "que_qsch04",279,300,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac04::OnMyMobDead"; + monster "que_qsch04",280,299,"Bloody Hunter",1753,1,"Bloody Hunter#sch04_ac04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,247,330,5 script ½ÅÀü¼öÈ£ÀÚ#sch04_ac01 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch04_ac01"; + end; + +OnDisable: + killmonster "que_qsch04","Temple Keeper#sch04_ac01::OnMyMobDead"; + disablenpc "Temple Keeper#sch04_ac01"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch04_ac01"; + monster "que_qsch04",246,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac01::OnMyMobDead"; + monster "que_qsch04",247,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac01::OnMyMobDead"; + monster "que_qsch04",248,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,255,330,3 script ½ÅÀü¼öÈ£ÀÚ#sch04_ac02 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch04_ac02"; + end; + +OnDisable: + killmonster "que_qsch04","Temple Keeper#sch04_ac02::OnMyMobDead"; + disablenpc "Temple Keeper#sch04_ac02"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch04_ac02"; + monster "que_qsch04",254,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac02::OnMyMobDead"; + monster "que_qsch04",255,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac02::OnMyMobDead"; + monster "que_qsch04",256,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch04_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch04,251,255,3 script Wish Maiden#sch04_boss 1931,{ +OnInit: + disablenpc "Wish Maiden#sch04_boss"; + end; + +OnDisable: + killmonster "que_qsch04","Wish Maiden#sch04_boss::OnMyMobDead"; + disablenpc "Wish Maiden#sch04_boss"; + stopnpctimer; + end; + +Onfight: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch04","Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch04","Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00"; + end; + +OnTimer5000: + specialeffect EF_ICECRASH; + disablenpc "Wish Maiden#sch04_boss"; + specialeffect EF_SPHERE; + monster "que_qsch04",252,340,"Wish Maiden",1931,1,"Wish Maiden#sch04_boss::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch04","Wish Maiden#sch04_boss::OnMyMobDead") == 0) { + donpcevent "#okolnir_sch04::Onstop"; + donpcevent "Wish Maiden#sch04_gift::OnEnable"; + mapannounce "que_qsch04","Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00"; + } + end; +} + +que_qsch04,252,340,3 script Wish Maiden#sch04_gift 403,{ + set .@GID, GetCastleData("schg_cas04",1); + if (getcharid(2) == .@GID) { + if (strcharinfo(0) == getguildmaster(.@GID)) { + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "As I declared, I will give the Goddess' shine to you."; + mes "You have the requirements to carry it..."; + next; + mes "[Wish Maiden]"; + mes "You will be granted the power of the great Valkyrie..."; + next; + mes "[Wish Maiden]"; + mes "I will give you some things for fun."; + mes "All of you enjoy them together..."; + next; + mes "[Wish Maiden]"; + mes "Go to Rachel and Juno to meet the Ravies sisters."; + next; + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "I will open the gate for you to come back here."; + mes "...Okolnir won't last forever..."; + delitem 7830,1; //Goddess_Tear + delitem 7831,1; //Valkyrie_Token + delitem 7832,1; //Brynhild_Armor_Piece + delitem 7833,1; //Hero_Remains + delitem 7834,1; //Andvari_Ring + delitem 2357,1; //Valkyrie_Armor + delitem 7510,100; //Valhalla_Flower + delitem 969,10; //Gold + delitem 985,20; //Elunium + getitem 2383,1; //Brynhild + getitem 7840,1; //Valkyrie_Gift + announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a Brynhild into this world.",bc_all,"0x70dbdb"; + close2; + cutin "wish_maiden11",255; + disablenpc "Wish Maiden#sch04_gift"; + donpcevent "#to_agit_sch04_gate::OnEnable"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "As I declared, you are worthy of holding the Brynhild."; + mes "However, you do not have the requirements on you..."; + next; + mes "[Wish Maiden]"; + mes "...Did you forget something?"; + close2; + } + } + else { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "¸ All of you worked together as a team..."; + mes "Humans are strong when they are united, but are easily swayed by lust."; + next; + mes "[Wish Maiden]"; + mes "Humans are imperfect, so their chief god is there for them when they need help."; + mes "...."; + next; + mes "[Wish Maiden]"; + mes "Always be real."; + mes "Do not regret your actions..."; + close2; + } + } + cutin "wish_maiden11",255; + end; + +OnInit: + disablenpc "Wish Maiden#sch04_gift"; + end; + +OnEnable: + enablenpc "Wish Maiden#sch04_gift"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#sch04_gift"; + stopnpctimer; + end; + +OnTimer280000: + mapannounce "que_qsch04","Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00"; + end; + +OnTimer290000: + mapwarp "que_qsch04","schg_cas04",369,306; + donpcevent "#to_agit_sch04_gate::OnDisable"; + end; + +OnTimer300000: + donpcevent "#okolnir_sch04::OnDisable"; + set $gqse_sch04_miro,0; + set $gqse_sch04_pcc,0; + set $gqse_sch04_gd,0; + set $gqse_sch04_nm,0; + set $siz_sch04_on,2; + donpcevent "#okolnir_sch04_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch04,252,339,0 script #to_agit_sch04_gate 45,1,1,{ +OnInit: + disablenpc "#to_agit_sch04_gate"; + end; + +OnTouch: + warp "schg_cas04",369,306; + end; +} + +que_qsch04,1,6,0 script #okolnir_sch04_time01 844,{ +OnInit: + if ($siz_sch04_on == 2) { + initnpctimer; + } + end; + +OnEnable: + set $gqse_sch04_time,0; + initnpctimer; + end; + +Onreset: + set $siz_sch04_on,0; + set $gqse_sch04_time,0; + stopnpctimer; + end; + +OnTimer3600000: + if ($gqse_sch04_time < 12) { + set $gqse_sch04_time,$gqse_sch04_time+1; + initnpctimer; + } + else if ($gqse_sch04_time == 12) { + set $siz_sch04_on,0; + set $gqse_sch04_time,0; + enablenpc "Wish Maiden#gq_sch04"; + enablenpc "Piamette#sch04"; + donpcevent "Wish Maiden#sch04_boss::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch04,116,313,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,120,285,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,117,236,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,103,223,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,85,204,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,79,186,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,73,167,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,68,150,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,71,128,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,69,118,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,117,78,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,110,79,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,141,80,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,158,84,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,193,104,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,119,269,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,155,77,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch04,110,317,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,115,295,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,116,256,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,113,242,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,99,223,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,94,216,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,77,198,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,70,174,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,72,147,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,64,134,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,77,107,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,84,88,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,98,82,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,129,79,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,91,124,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,173,95,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,179,127,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,195,120,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,178,159,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,88,145,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,94,157,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,95,177,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,129,196,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,154,196,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,170,187,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,194,180,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch04,214,181,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch04,243,199,0,0 monster Garden Watcher 1933,1,1200000,0,0 diff --git a/npc/quests/okolnir/godse_sch05.txt b/npc/quests/okolnir/godse_sch05.txt new file mode 100644 index 000000000..29c70e4b8 --- /dev/null +++ b/npc/quests/okolnir/godse_sch05.txt @@ -0,0 +1,3276 @@ +//===== eAthena Script ======================================= +//= Falicious Okolnir - Nidhoggr 5 +//===== By: ================================================== +//= L0ne_W0lf +//===== Current Version: ===================================== +//= 1.0 +//===== Compatible With: ===================================== +//= eAthena SVN +//===== Description: ========================================= +//= [Aegis Conversion] +//= God Item SE Creation scipt (Brynhild) +//===== Additional Comments: ================================= +//= 1.0 First version. [L0ne_W0lf] +//============================================================ + +schg_cas05,376,307,3 script Guide#gq_sch05 899,{ + set .@GID, GetCastleData("schg_cas05",1); + if (getcharid(2) == .@GID) { + if ($siz_sch05_on == 0) { + mes "[Guide]"; + mes "This castle has a hidden secret."; + mes "That is the ^4d4dff'Okolnir'^000000."; + next; + switch(select("About Okolnir.:Go to Okolnir.:Cancel.")) { + case 1: + mes "[Guide]"; + mes "Okolnir is a kind of virtual realm..."; + mes "I don't know how Okolnir exists, but I guess only Valkyrie knows."; + next; + mes "[Guide]"; + mes "As you know this is a place to test the adventurers made by Valkyrie..."; + mes "...you know the qualifications to enter Okolnir."; + next; + select("Qualifications?"); + mes "[Guide]"; + mes "Yes, Valkyrie definitely prefers strong adventurers."; + mes "Only the qualified can enter Okolnir and Valhalla."; + next; + mes "[Guide]"; + mes "It only opens when everyone comes together to work it out."; + mes "The key is in the castle."; + next; + mes "[Guide]"; + mes "If a castle's ^4d4dffeconomy is over 65 and defense also over 30^000000, this will be acceptable to access Okolnir."; + next; + mes "[Guide]"; + mes "And, if you pass all of the tests given by Valkyrie in Okolnir!"; + mes "You will also receive a mysterious gift."; + next; + mes "[Guide]"; + mes "Would you like to try to enter here?"; + close; + case 2: + set .@Defence,GetCastleData("schg_cas05",3); + set .@Economy,GetCastleData("schg_cas05",2); + if ((.@Economy > 64) && (.@Defence > 29)) { + mes "[Guide]"; + mes "Great! Economy and Defense are OK."; + mes "You can enter Okolnir now...."; + mes "Do you want to go there?"; + next; + switch(select("Sure let's go there.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Ok......"; + mes "Please follow me..."; + close2; + warp "que_qsch05",346,32; + end; + case 2: + mes "[Guide]"; + mes "You can try this anytime in the future..."; + mes "If you are ready to protect this castle."; + close; + } + } + else { + mes "[Guide]"; + mes "You are not qualified yet."; + mes "Please develop your castle more..."; + close; + } + } + } + else if ($siz_sch05_on == 1) { + mes "[Guide]"; + mes "... OK..."; + mes "Good luck."; + next; + switch(select("Enter now.:No.")) { + case 1: + if (countitem(7839) > 0) { + delitem 7839,countitem(7839); //Crystal_Key + } + mes "[Guide]"; + mes "Hope you get everything you want..."; + close2; + warp "que_qsch05",346,32; + end; + case 2: + mes "[Guide]"; + mes "Really?"; + mes "Sorry to hear that."; + close; + } + } + else if ($siz_sch05_on == 2) { + mes "[Guide]"; + mes "Building Okolnir needs quite a long time."; + mes "....even though it's only virtual..."; + next; + mes "[Guide]"; + mes "It takes about 12 -13 hours to create the virtual realm."; + close; + } + else { + mes "[Guide]"; + mes "You'll have to wait."; + close; + } + } + else { + mes "[Guide]"; + mes "... I've never seen you before."; + mes "You are strangers here. You'd better get out of here right now."; + close; + } + end; + +OnInit: + set $gqse_sch05_miro,0; + set $gqse_sch05_pcc,0; + set $gqse_sch05_gd,0; + set $gqse_sch05_nm,0; + if ($siz_sch05_on == 1) { + set $siz_sch05_on,0; + } + enablenpc "Guide#gq_sch05"; + end; +} + +que_qsch05,345,23,0 warp Gate02#gq_sch05 1,1,schg_cas05,369,306 + +que_qsch05,345,82,3 script Wish Maiden#gq_sch05 403,{ + set .@GID, GetCastleData("schg_cas05",1); + if (getcharid(2) == .@GID) { + cutin "wish_maiden31",1; + if (strcharinfo(0) == getguildmaster(.@GID)) { + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Are you ready to endure the trials to get the Goddess' glory?"; + next; + switch(select("Yes, I am:Sorry, I'll try later")) { + case 1: + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "I will test whether or not you deserve the Goddess shine..."; + mes "Isn't it simple?"; + next; + mes "[Wish Maiden]"; + mes "Okolnir is a virtual place."; + mes "There is no room for error there."; + mes "^ff0000You only have one hour.^000000"; + next; + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "If you have not finished in that time, Okolnir will be destroyed, and I will go to rest."; + mes "You will have to wait again..."; + next; + mes "[Wish Maiden]"; + mes "Are you ready to go through?"; + mes "^4d4dffYou need to have 16 to 20 members present^000000."; + next; + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "I will open the gate of Okolnir if your members are ready."; + next; + switch(select("We are ready.:We need more time.")) { + case 1: + set .@saram,getmapusers("que_qsch05"); + if (((.@saram > 15) && (.@saram < 21)) || (getgmlevel() == 99)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "Now I will open the gate of Okolnir where I am."; + mes "I will wait for you on the top of Okolnir..."; + next; + mes "[Wish Maiden]"; + mes "I hope that you can complete all of the trials before the virtual Okolnir is destroyed..."; + mes "Good luck."; + mapannounce "que_qsch05","Wish Maiden: The gate of Okolnir is open! Don't forget you only have one hour.",bc_map,"0x00ff00"; + close2; + set $gqse_sch05_pcc,.@saram; + set $siz_sch05_on,1; + donpcevent "#okolnir_sch05::OnEnable"; + disablenpc "Wish Maiden#gq_sch05"; + cutin "wish_maiden11",255; + announce "["+ strcharinfo(0) +"], of the guild ["+ GetGuildName(.@GID) +"] has opened the gates to the realm of Okolnir.",bc_all,"0x70dbdb"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "You need to have 16 to 20 members present to open the gate of Okolnir."; + mes "Come back when you are ready."; + close2; + } + break; + case 2: + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Don't hesitate to try."; + mes "You should catch the chance when it comes to you."; + mes "Just gather your fellow members."; + close2; + } + break; + case 2: + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "... Are you afraid of"; + mes "the trials facing you?"; + mes "...."; + next; + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "Do you think that you can defeat the Goddess shine easily?"; + mes "I feel disappointed by all of you."; + mes "Just go away..."; + close2; + } + } + else { + cutin "wish_maiden11",1; + mes "[Wish Maiden]"; + mes "Do you wish to enter?"; + mes "Only those prepared may enter here."; + mes "You must bring several items to enter Okolnir."; + next; + mes "[Wish Maiden]"; + mes "Goddess Tear"; + mes "Valkyrie's Token"; + mes "Brynhild Armor Piece"; + mes "Hero Remains"; + mes "Valkyrie Armor"; + mes "Andvari's Ring."; + next; + mes "[Wish Maiden]"; + mes "You must bring those six things, 10 Gold, and 20 Elunium."; + mes "Many Valhala's Flowers are also required as an offering."; + next; + mes "[Wish Maiden]"; + mes "Once all of those are prepared, the gate will open."; + next; + mes "[Wish Maiden]"; + mes ".... "; + mes "...........The Goddess shines brightly down on you, you should be stronger to deserve it..."; + next; + mes "[Wish Maiden]"; + mes "Remember..."; + mes "You need to collect many Valhalla flowers."; + mes "I hope that your dreams come true."; + next; + mes "[Wish Maiden]"; + mes "I will answer all your requests if you bring these to me."; + close2; + } + } + else { + cutin "wish_maiden31",1; + mes "[Wish Maiden]"; + mes "I am... Wish maiden."; + mes "Mourning in this virtual realm, Okolnir."; + mes "On behalf of the humanbeings who defeated God here."; + next; + mes "[Wish Maiden]"; + mes "Bring me the one who brought you to this place."; + mes ".. Deliver him to my will."; + close2; + } + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "...You are not qualified."; + close2; + percentheal -100,0; + cutin "wish_maiden11",255; + end; + } + cutin "wish_maiden11",255; + end; + +OnInit: + if ($siz_sch05_on == 0) { + enablenpc "Wish Maiden#gq_sch05"; + } + else { + disablenpc "Wish Maiden#gq_sch05"; + } + end; +} + +que_qsch05,346,81,0 script Gate01#gq_sch05 45,1,1,{ + end; + +OnInit: + disablenpc "Gate01#gq_sch05"; + end; + +OnEnable: + enablenpc "Gate01#gq_sch05"; + setcell "que_qsch05",58,302,63,302,cell_walkable,0; + setcell "que_qsch05",58,302,63,302,cell_shootable,0; + end; + +OnDisable: + disablenpc "Gate01#gq_sch05"; + killmonsterall "que_qsch05"; + end; + +OnTouch: + set .@saram,getmapusers("que_qsch05"); + if (.@saram < 21) { + if ($gqse_sch05_miro == $gqse_sch05_pcc) { + set .@point,rand(1,5); + if (.@point == 1) { + warp "que_qsch05",72,271; + end; + } + else if (.@point == 2) { + warp "que_qsch05",45,243; + end; + } + else if (.@point == 3) { + warp "que_qsch05",102,248; + end; + } + else if (.@point == 4) { + warp "que_qsch05",102,300; + end; + } + else { + warp "que_qsch05",46,300; + end; + } + } + else if ($gqse_sch05_miro == 0) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",77,271,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",77,271,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",77,271,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",77,271,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",77,271,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",77,271,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,1; + warp "que_qsch05",72,271; + end; + } + else if ($gqse_sch05_miro == 1) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,2; + warp "que_qsch05",63,282; + end; + } + else if ($gqse_sch05_miro == 2) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",63,294,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",63,294,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",63,294,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",63,294,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",63,294,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",63,294,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,3; + warp "que_qsch05",59,294; + end; + } + else if ($gqse_sch05_miro == 3) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",50,300,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",50,300,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",50,300,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",50,300,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",50,300,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",50,300,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,4; + warp "que_qsch05",46,300; + end; + } + else if ($gqse_sch05_miro == 4) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",51,280,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",51,280,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",51,280,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",51,280,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",51,280,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",51,280,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,5; + warp "que_qsch05",51,285; + end; + } + else if ($gqse_sch05_miro == 5) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",51,258,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",51,258,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",51,258,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",51,258,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",51,258,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",51,258,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,6; + warp "que_qsch05",51,262; + end; + } + else if ($gqse_sch05_miro == 6) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",49,243,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",49,243,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",49,243,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",49,243,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",49,243,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",49,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,7; + warp "que_qsch05",45,243; + end; + } + else if ($gqse_sch05_miro == 7) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",86,249,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",86,249,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",86,249,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",86,249,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",86,249,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",86,249,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,8; + warp "que_qsch05",82,249; + end; + } + else if ($gqse_sch05_miro == 8) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",102,243,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",102,243,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",102,243,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",102,243,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",102,243,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",102,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,9; + warp "que_qsch05",102,248; + end; + } + else if ($gqse_sch05_miro == 9) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",90,256,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",90,256,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",90,256,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",90,256,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",90,256,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",90,256,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,10; + warp "que_qsch05",90,260; + end; + } + else if ($gqse_sch05_miro == 10) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",90,283,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",90,283,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",90,283,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",90,283,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",90,283,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",90,283,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,11; + warp "que_qsch05",90,280; + end; + } + else if ($gqse_sch05_miro == 11) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",102,295,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",102,295,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",102,295,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",102,295,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",102,295,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",102,295,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,12; + warp "que_qsch05",102,300; + end; + } + else if ($gqse_sch05_miro == 12) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",96,285,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",96,285,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",96,285,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",96,285,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",96,285,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",96,285,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,13; + warp "que_qsch05",96,290; + end; + } + else if ($gqse_sch05_miro == 13) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",63,278,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",63,278,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",63,278,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",63,278,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",63,278,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",63,278,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,14; + warp "que_qsch05",63,282; + end; + } + else if ($gqse_sch05_miro == 14) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",65,243,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",65,243,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",65,243,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",65,243,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",65,243,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",65,243,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,15; + warp "que_qsch05",61,243; + end; + } + else if ($gqse_sch05_miro == 15) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",73,249,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",73,249,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",73,249,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",73,249,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",73,249,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",73,249,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,16; + warp "que_qsch05",70,249; + end; + } + else if ($gqse_sch05_miro == 16) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",102,275,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",102,275,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",102,275,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",102,275,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + end; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",102,275,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",102,275,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,17; + warp "que_qsch05",102,281; + end; + } + else if ($gqse_sch05_miro == 17) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",70,300,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",70,300,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",70,300,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",70,300,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",70,300,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",70,300,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,18; + warp "que_qsch05",66,300; + end; + } + else if ($gqse_sch05_miro == 18) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",57,255,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",57,255,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",57,255,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",57,255,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",57,255,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",57,255,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,19; + warp "que_qsch05",57,258; + end; + } + else if ($gqse_sch05_miro == 19) { + if (BaseClass == Job_Swordman) { + monster "que_qsch05",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Thief) { + monster "que_qsch05",84,277,strcharinfo(0),1659,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Archer) { + monster "que_qsch05",84,277,strcharinfo(0),1662,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Mage) { + monster "que_qsch05",84,277,strcharinfo(0),1663,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Merchant) { + monster "que_qsch05",84,277,strcharinfo(0),1660,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else if (BaseClass == Job_Acolyte) { + monster "que_qsch05",84,277,strcharinfo(0),1661,1,"#Gate_manager_sch05::OnMyMobDead"; + } + else { + monster "que_qsch05",84,277,strcharinfo(0),1652,1,"#Gate_manager_sch05::OnMyMobDead"; + } + set $gqse_sch05_miro,20; + warp "que_qsch05",84,280; + end; + } + } + else { + mes "Á¤¿øÀ» ÃÊ°úÇÏ¿´½À´Ï´Ù. ´õÀÌ»ó ÁøÀÔÇÒ ¼ö ¾ø½À´Ï´Ù."; + close; + } + end; +} + +que_qsch05,1,4,0 script #Gate_manager_sch05 844,{ +OnMyMobDead: + if ($gqse_sch05_miro == $gqse_sch05_pcc) { + if (mobcount("que_qsch05","#Gate_manager_sch05::OnMyMobDead") == 0) { + donpcevent "#gq_miromob2_sch05::OnEnable"; + } + } + end; +} + +que_qsch05,1,4,0 script #gq_miromob2_sch05 844,{ +OnEnable: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch05","Wish Maiden: How does it feel to see shadows of the past. This is only the beginning.",bc_map,"0x00ff00"; + end; + +OnTimer6000: + mapannounce "que_qsch05","Wish Maiden: The things you seeing are not real, don't be caught in the Mystic garden.",bc_map,"0x00ff00"; + monster "que_qsch05",72,271,"Seyren Windsor",1640,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",63,282,"Kathryne Keyron",1645,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",59,294,"Cecil Damon",1644,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",46,300,"Margaretha Sorin",1643,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",51,285,"Eremes Guile",1641,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",51,262,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch05::OnMyMobDead"; + + monster "que_qsch05",45,243,"Seyren Windsor",1640,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",82,249,"Kathryne Keyron",1645,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",102,248,"Cecil Damon",1644,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",90,260,"Margaretha Sorin",1643,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",90,280,"Eremes Guile",1641,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",102,300,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch05::OnMyMobDead"; + + monster "que_qsch05",63,282,"Seyren Windsor",1640,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",61,243,"Kathryne Keyron",1645,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",70,249,"Cecil Damon",1644,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",102,281,"Margaretha Sorin",1643,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",66,300,"Eremes Guile",1641,1,"#gq_miromob2_sch05::OnMyMobDead"; + monster "que_qsch05",57,258,"Howard Alt-Eisen",1642,1,"#gq_miromob2_sch05::OnMyMobDead"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch05","#gq_miromob2_sch05::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#gq_miromob2_sch05::OnMyMobDead") == 0) { + mapannounce "que_qsch05","The Mystic garden exit is now open.",bc_map,"0x00ff00"; + setcell "que_qsch05",58,302,63,302,cell_walkable,1; + setcell "que_qsch05",58,302,63,302,cell_shootable,1; + donpcevent "#Maze_Manager_sch05::OnDisable"; + } + end; +} + +que_qsch05,1,1,0 script #okolnir_sch05 844,{ + +OnEnable: + donpcevent "Gate01#gq_sch05::OnEnable"; + donpcevent "#Maze_Manager_sch05::OnEnable"; + donpcevent "#event_start01_sch05::OnEnable"; + donpcevent "#gd_sch05_mobctrl::OnEnable"; + enablenpc "Guard of Shadow#sch05_01"; + enablenpc "Guard of Shadow#sch05_02"; + enablenpc "Guard of Shadow#sch05_03"; + enablenpc "Guard of Shadow#sch05_04"; + enablenpc "Bloody Hunter#sch05_ac01"; + enablenpc "Bloody Hunter#sch05_ac02"; + enablenpc "Bloody Hunter#sch05_ac03"; + enablenpc "Bloody Hunter#sch05_ac04"; + enablenpc "Temple Keeper#sch05_ac01"; + enablenpc "Temple Keeper#sch05_ac02"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#gq_sch05"; + donpcevent "#gq_miromob2_sch05::Onreset"; + disablenpc "Piamette#sch05"; + donpcevent "#gdtimer01_sch05::Onstop"; + donpcevent "#gdtimer02_sch05::Onstop"; + donpcevent "#piamette_sch05::Onreset"; + donpcevent "Wish Maiden#sch05_boss::OnDisable"; + donpcevent "Wish Maiden#sch05_gift::OnDisable"; + donpcevent "#gd_sch05_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch05::OnDisable"; + donpcevent "#Maze_Manager_sch05::OnDisable"; + donpcevent "#event_start01_sch05::OnDisable"; + donpcevent "#nm_switch_sch05::OnDisable"; + donpcevent "#nmsomsch05_jin01::OnDisable"; + donpcevent "#nmsomsch05_jin02::OnDisable"; + donpcevent "#nmsomsch05_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch05_01::OnDisable"; + donpcevent "Guard of Shadow#sch05_02::OnDisable"; + donpcevent "Guard of Shadow#sch05_03::OnDisable"; + donpcevent "Guard of Shadow#sch05_04::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac04::OnDisable"; + donpcevent "Temple Keeper#sch05_ac01::OnDisable"; + donpcevent "Temple Keeper#sch05_ac02::OnDisable"; + disablenpc "#to_agit_sch05_gate"; + donpcevent "#sch05_stone01::Onreset"; + donpcevent "#sch05_stone02::Onreset"; + donpcevent "#sch05_stone03::Onreset"; + disablenpc "#sch05_cage01"; + disablenpc "#sch05_cage02"; + disablenpc "#sch05_cage03"; + disablenpc "#sch05_cage04"; + disablenpc "#sch05_cage05"; + disablenpc "#sch05_cage06"; + donpcevent "windpath03_sch05::OnDisable"; + donpcevent "windpath04_sch05::OnDisable"; + set $gqse_sch05_miro,0; + set $gqse_sch05_pcc,0; + set $gqse_sch05_gd,0; + set $gqse_sch05_nm,0; + stopnpctimer; + end; + +Onstop: + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch05","Wish Maiden : Do your best, Okolnir will disappear in one hour!",bc_map,"0x00ff00"; + end; + +OnTimer1800000: + mapannounce "que_qsch05","Okolnir will disappear in 30 minutes.",bc_map,"0xff0000"; + end; + +OnTimer2400000: + mapannounce "que_qsch05","Okolnir will disappear in 20 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3000000: + mapannounce "que_qsch05","Okolnir will disappear in 10 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3300000: + mapannounce "que_qsch05","Okolnir will disappear in 5 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3360000: + mapannounce "que_qsch05","Okolnir will disappear in 4 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3420000: + mapannounce "que_qsch05","Okolnir will disappear in 3 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3480000: + mapannounce "que_qsch05","Okolnir will disappear in 2 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3540000: + mapannounce "que_qsch05","Okolnir will disappear in 1 minutes.",bc_map,"0xff0000"; + end; + +OnTimer3600000: + mapannounce "que_qsch05","Okolnir has begun to disappear.",bc_map,"0x4d4dff"; + disablenpc "Wish Maiden#gq_sch05"; + donpcevent "#gq_miromob2_sch05::Onreset"; + disablenpc "Piamette#sch05"; + donpcevent "#gdtimer01_sch05::Onstop"; + donpcevent "#gdtimer02_sch05::Onstop"; + donpcevent "#piamette_sch05::Onreset"; + donpcevent "Wish Maiden#sch05_boss::onDisable"; + donpcevent "Wish Maiden#sch05_gift::OnDisable"; + donpcevent "#gd_sch05_mobctrl::Onreset"; + donpcevent "Gate01#gq_sch05::OnDisable"; + donpcevent "#Maze_Manager_sch05::OnDisable"; + donpcevent "#event_start01_sch05::OnDisable"; + donpcevent "#nm_switch_sch05::OnDisable"; + donpcevent "#nmsomsch05_jin01::OnDisable"; + donpcevent "#nmsomsch05_jin02::OnDisable"; + donpcevent "#nmsomsch05_jin03::OnDisable"; + donpcevent "Guard of Shadow#sch05_01::OnDisable"; + donpcevent "Guard of Shadow#sch05_02::OnDisable"; + donpcevent "Guard of Shadow#sch05_03::OnDisable"; + donpcevent "Guard of Shadow#sch05_04::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac01::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac02::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac03::OnDisable"; + donpcevent "Bloody Hunter#sch05_ac04::OnDisable"; + donpcevent "Temple Keeper#sch05_ac01::OnDisable"; + donpcevent "Temple Keeper#sch05_ac02::OnDisable"; + disablenpc "#to_agit_sch05_gate"; + donpcevent "#sch05_stone01::Onreset"; + donpcevent "#sch05_stone02::Onreset"; + donpcevent "#sch05_stone03::Onreset"; + disablenpc "#sch05_cage01"; + disablenpc "#sch05_cage02"; + disablenpc "#sch05_cage03"; + disablenpc "#sch05_cage04"; + disablenpc "#sch05_cage05"; + disablenpc "#sch05_cage06"; + donpcevent "windpath03_sch05::OnDisable"; + donpcevent "windpath04_sch05::OnDisable"; + end; + +OnTimer3605000: + mapannounce "que_qsch05","Wish Maiden: ... You will fall into a deep sleep within Okolnir... ",bc_map,"0x00ff00"; + end; + +OnTimer3608000: + mapannounce "que_qsch05","Wish Maiden: ..Have courage ... and await your chance again... ",bc_map,"0x00ff00"; + end; + +OnTimer3610000: + set $gqse_sch05_miro,0; + set $gqse_sch05_pcc,0; + set $gqse_sch05_gd,0; + set $gqse_sch05_nm,0; + mapwarp "que_qsch05","schg_cas05",369,306; + end; + +OnTimer3611000: + donpcevent "#okolnir_sch05_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch05,1,2,0 script #Maze_Manager_sch05 844,{ +OnInit: + donpcevent "#miro_bf_sch05::OnDisable"; + donpcevent "#miro_rf_sch05::OnDisable"; + donpcevent "#miro_yf_sch05::OnDisable"; + end; + +OnEnable: + initnpctimer; + end; + +OnDisable: + donpcevent "#miro_bf_sch05::OnDisable"; + donpcevent "#miro_rf_sch05::OnDisable"; + donpcevent "#miro_yf_sch05::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#miro_rf_sch05::OnDisable"; + end; + +OnTimer2000: + donpcevent "#miro_yf_sch05::OnDisable"; + end; + +OnTimer3000: + donpcevent "#miro_bf_sch05::OnEnable"; + end; + +OnTimer120000: + donpcevent "#miro_bf_sch05::OnDisable"; + end; + +OnTimer121000: + donpcevent "#miro_yf_sch05::OnDisable"; + end; + +OnTimer123000: + donpcevent "#miro_rf_sch05::OnEnable"; + end; + +OnTimer240000: + donpcevent "#miro_bf_sch05::OnDisable"; + end; + +OnTimer241000: + donpcevent "#miro_rf_sch05::OnDisable"; + end; + +OnTimer242000: + donpcevent "#miro_yf_sch05::OnEnable"; + end; + +OnTimer360000: + donpcevent "#Maze_Manager_sch05::OnEnable"; + end; +} + +que_qsch05,2,1,0 script #miro_bf_sch05 844,{ + +OnEnable: + monster "que_qsch05",44,270," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",46,270," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",50,287," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",52,287," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",50,265," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",52,265," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",56,279," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",58,279," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",64,301," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",64,298," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",62,272," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",64,272," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",58,245," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",58,243," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",72,289," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",72,287," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",68,257," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",68,255," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",73,263," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",73,261," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",75,251," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",75,249," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",79,283," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",79,281," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",82,271," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",84,271," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",89,295," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",89,293," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",88,276," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",90,276," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",88,266," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",90,266," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",94,256," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",96,256," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",64,301," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",64,299," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",100,251," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + monster "que_qsch05",102,251," ",1934,1,"#miro_bf_sch05::OnMyMobDead"; + setcell "que_qsch05",44,270,47,270,cell_walkable,0; + setcell "que_qsch05",44,270,47,270,cell_shootable,0; + setcell "que_qsch05",50,287,53,287,cell_walkable,0; + setcell "que_qsch05",50,287,53,287,cell_shootable,0; + setcell "que_qsch05",50,265,53,265,cell_walkable,0; + setcell "que_qsch05",50,265,53,265,cell_shootable,0; + setcell "que_qsch05",56,279,59,279,cell_walkable,0; + setcell "que_qsch05",56,279,59,279,cell_shootable,0; + setcell "que_qsch05",64,298,64,301,cell_walkable,0; + setcell "que_qsch05",64,298,64,301,cell_shootable,0; + setcell "que_qsch05",62,272,65,272,cell_walkable,0; + setcell "que_qsch05",62,272,65,272,cell_shootable,0; + setcell "que_qsch05",58,242,58,245,cell_walkable,0; + setcell "que_qsch05",58,242,58,245,cell_shootable,0; + setcell "que_qsch05",72,286,72,289,cell_walkable,0; + setcell "que_qsch05",72,286,72,289,cell_shootable,0; + setcell "que_qsch05",68,254,68,259,cell_walkable,0; + setcell "que_qsch05",68,254,68,259,cell_shootable,0; + setcell "que_qsch05",73,260,73,263,cell_walkable,0; + setcell "que_qsch05",73,260,73,263,cell_shootable,0; + setcell "que_qsch05",75,248,75,251,cell_walkable,0; + setcell "que_qsch05",75,248,75,251,cell_shootable,0; + setcell "que_qsch05",79,280,79,283,cell_walkable,0; + setcell "que_qsch05",79,280,79,283,cell_shootable,0; + setcell "que_qsch05",82,271,85,271,cell_walkable,0; + setcell "que_qsch05",82,271,85,271,cell_shootable,0; + setcell "que_qsch05",89,292,89,295,cell_walkable,0; + setcell "que_qsch05",89,292,89,295,cell_shootable,0; + setcell "que_qsch05",88,276,91,276,cell_walkable,0; + setcell "que_qsch05",88,276,91,276,cell_shootable,0; + setcell "que_qsch05",88,266,91,266,cell_walkable,0; + setcell "que_qsch05",88,266,91,266,cell_shootable,0; + setcell "que_qsch05",94,256,97,256,cell_walkable,0; + setcell "que_qsch05",94,256,97,256,cell_shootable,0; + setcell "que_qsch05",64,298,64,301,cell_walkable,0; + setcell "que_qsch05",64,298,64,301,cell_shootable,0; + setcell "que_qsch05",000,251,003,251,cell_walkable,0; + setcell "que_qsch05",000,251,003,251,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch05","#miro_bf_sch05::OnMyMobDead"; + setcell "que_qsch05",44,270,47,270,cell_walkable,1; + setcell "que_qsch05",44,270,47,270,cell_shootable,1; + setcell "que_qsch05",50,287,53,287,cell_walkable,1; + setcell "que_qsch05",50,287,53,287,cell_shootable,1; + setcell "que_qsch05",50,265,53,265,cell_walkable,1; + setcell "que_qsch05",50,265,53,265,cell_shootable,1; + setcell "que_qsch05",56,279,59,279,cell_walkable,1; + setcell "que_qsch05",56,279,59,279,cell_shootable,1; + setcell "que_qsch05",64,298,64,301,cell_walkable,1; + setcell "que_qsch05",64,298,64,301,cell_shootable,1; + setcell "que_qsch05",62,272,65,272,cell_walkable,1; + setcell "que_qsch05",62,272,65,272,cell_shootable,1; + setcell "que_qsch05",58,242,58,245,cell_walkable,1; + setcell "que_qsch05",58,242,58,245,cell_shootable,1; + setcell "que_qsch05",72,286,72,289,cell_walkable,1; + setcell "que_qsch05",72,286,72,289,cell_shootable,1; + setcell "que_qsch05",68,254,68,259,cell_walkable,1; + setcell "que_qsch05",68,254,68,259,cell_shootable,1; + setcell "que_qsch05",73,260,73,263,cell_walkable,1; + setcell "que_qsch05",73,260,73,263,cell_shootable,1; + setcell "que_qsch05",75,248,75,251,cell_walkable,1; + setcell "que_qsch05",75,248,75,251,cell_shootable,1; + setcell "que_qsch05",79,280,79,283,cell_walkable,1; + setcell "que_qsch05",79,280,79,283,cell_shootable,1; + setcell "que_qsch05",82,271,85,271,cell_walkable,1; + setcell "que_qsch05",82,271,85,271,cell_shootable,1; + setcell "que_qsch05",89,292,89,295,cell_walkable,1; + setcell "que_qsch05",89,292,89,295,cell_shootable,1; + setcell "que_qsch05",88,276,91,276,cell_walkable,1; + setcell "que_qsch05",88,276,91,276,cell_shootable,1; + setcell "que_qsch05",88,266,91,266,cell_walkable,1; + setcell "que_qsch05",88,266,91,266,cell_shootable,1; + setcell "que_qsch05",94,256,97,256,cell_walkable,1; + setcell "que_qsch05",94,256,97,256,cell_shootable,1; + setcell "que_qsch05",64,298,64,301,cell_walkable,1; + setcell "que_qsch05",64,298,64,301,cell_shootable,1; + setcell "que_qsch05",100,251,103,251,cell_walkable,1; + setcell "que_qsch05",100,251,103,251,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch05,2,2,0 script #miro_rf_sch05 844,{ + +OnEnable: + monster "que_qsch05",57,301," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",57,299," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",48,291," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",48,289," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",68,290," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",70,290," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",72,295," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",72,293," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",90,296," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",92,296," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",56,282," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",58,282," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",66,283," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",66,281," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",80,284," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",82,284," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",44,273," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",46,273," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",50,273," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",52,273," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",54,269," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",54,267," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",66,271," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",66,270," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",81,273," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",81,272," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",88,276," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",90,276," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",94,276," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",96,276," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",64,258," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",66,258," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",76,263," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",76,261," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",87,265," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",87,263," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",50,252," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",52,252," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",76,252," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",78,252," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",99,255," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",99,253," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",53,245," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + monster "que_qsch05",53,243," ",1935,1,"#miro_rf_sch05::OnMyMobDead"; + setcell "que_qsch05",57,298,57,301,cell_walkable,0; + setcell "que_qsch05",57,298,57,301,cell_shootable,0; + setcell "que_qsch05",48,288,48,291,cell_walkable,0; + setcell "que_qsch05",48,288,48,291,cell_shootable,0; + setcell "que_qsch05",68,290,71,290,cell_walkable,0; + setcell "que_qsch05",68,290,71,290,cell_shootable,0; + setcell "que_qsch05",72,292,72,295,cell_walkable,0; + setcell "que_qsch05",72,292,72,295,cell_shootable,0; + setcell "que_qsch05",90,296,93,296,cell_walkable,0; + setcell "que_qsch05",90,296,93,296,cell_shootable,0; + setcell "que_qsch05",56,282,59,282,cell_walkable,0; + setcell "que_qsch05",56,282,59,282,cell_shootable,0; + setcell "que_qsch05",66,280,66,283,cell_walkable,0; + setcell "que_qsch05",66,280,66,283,cell_shootable,0; + setcell "que_qsch05",80,284,83,284,cell_walkable,0; + setcell "que_qsch05",80,284,83,284,cell_shootable,0; + setcell "que_qsch05",44,273,47,273,cell_walkable,0; + setcell "que_qsch05",44,273,47,273,cell_shootable,0; + setcell "que_qsch05",50,273,53,273,cell_walkable,0; + setcell "que_qsch05",50,273,53,273,cell_shootable,0; + setcell "que_qsch05",54,266,54,269,cell_walkable,0; + setcell "que_qsch05",54,266,54,269,cell_shootable,0; + setcell "que_qsch05",66,270,66,271,cell_walkable,0; + setcell "que_qsch05",66,270,66,271,cell_shootable,0; + setcell "que_qsch05",81,272,81,273,cell_walkable,0; + setcell "que_qsch05",81,272,81,273,cell_shootable,0; + setcell "que_qsch05",88,276,91,276,cell_walkable,0; + setcell "que_qsch05",88,276,91,276,cell_shootable,0; + setcell "que_qsch05",94,276,97,276,cell_walkable,0; + setcell "que_qsch05",94,276,97,276,cell_shootable,0; + setcell "que_qsch05",64,258,67,258,cell_walkable,0; + setcell "que_qsch05",64,258,67,258,cell_shootable,0; + setcell "que_qsch05",76,260,76,263,cell_walkable,0; + setcell "que_qsch05",76,260,76,263,cell_shootable,0; + setcell "que_qsch05",87,262,87,265,cell_walkable,0; + setcell "que_qsch05",87,262,87,265,cell_shootable,0; + setcell "que_qsch05",50,252,53,252,cell_walkable,0; + setcell "que_qsch05",50,252,53,252,cell_shootable,0; + setcell "que_qsch05",76,252,79,252,cell_walkable,0; + setcell "que_qsch05",76,252,79,252,cell_shootable,0; + setcell "que_qsch05",99,252,99,255,cell_walkable,0; + setcell "que_qsch05",99,252,99,255,cell_shootable,0; + setcell "que_qsch05",53,242,53,245,cell_walkable,0; + setcell "que_qsch05",53,242,53,245,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch05","#miro_rf_sch05::OnMyMobDead"; + setcell "que_qsch05",57,298,57,301,cell_walkable,1; + setcell "que_qsch05",57,298,57,301,cell_shootable,1; + setcell "que_qsch05",48,288,48,291,cell_walkable,1; + setcell "que_qsch05",48,288,48,291,cell_shootable,1; + setcell "que_qsch05",68,290,71,290,cell_walkable,1; + setcell "que_qsch05",68,290,71,290,cell_shootable,1; + setcell "que_qsch05",72,292,72,295,cell_walkable,1; + setcell "que_qsch05",72,292,72,295,cell_shootable,1; + setcell "que_qsch05",90,296,93,296,cell_walkable,1; + setcell "que_qsch05",90,296,93,296,cell_shootable,1; + setcell "que_qsch05",56,282,59,282,cell_walkable,1; + setcell "que_qsch05",56,282,59,282,cell_shootable,1; + setcell "que_qsch05",66,280,66,283,cell_walkable,1; + setcell "que_qsch05",66,280,66,283,cell_shootable,1; + setcell "que_qsch05",80,284,83,284,cell_walkable,1; + setcell "que_qsch05",80,284,83,284,cell_shootable,1; + setcell "que_qsch05",44,273,47,273,cell_walkable,1; + setcell "que_qsch05",44,273,47,273,cell_shootable,1; + setcell "que_qsch05",50,273,53,273,cell_walkable,1; + setcell "que_qsch05",50,273,53,273,cell_shootable,1; + setcell "que_qsch05",54,266,54,269,cell_walkable,1; + setcell "que_qsch05",54,266,54,269,cell_shootable,1; + setcell "que_qsch05",66,270,66,271,cell_walkable,1; + setcell "que_qsch05",66,270,66,271,cell_shootable,1; + setcell "que_qsch05",81,272,81,273,cell_walkable,1; + setcell "que_qsch05",81,272,81,273,cell_shootable,1; + setcell "que_qsch05",88,276,91,276,cell_walkable,1; + setcell "que_qsch05",88,276,91,276,cell_shootable,1; + setcell "que_qsch05",94,276,97,276,cell_walkable,1; + setcell "que_qsch05",94,276,97,276,cell_shootable,1; + setcell "que_qsch05",64,258,67,258,cell_walkable,1; + setcell "que_qsch05",64,258,67,258,cell_shootable,1; + setcell "que_qsch05",76,260,76,263,cell_walkable,1; + setcell "que_qsch05",76,260,76,263,cell_shootable,1; + setcell "que_qsch05",87,262,87,265,cell_walkable,1; + setcell "que_qsch05",87,262,87,265,cell_shootable,1; + setcell "que_qsch05",50,252,53,252,cell_walkable,1; + setcell "que_qsch05",50,252,53,252,cell_shootable,1; + setcell "que_qsch05",76,252,79,252,cell_walkable,1; + setcell "que_qsch05",76,252,79,252,cell_shootable,1; + setcell "que_qsch05",99,252,99,255,cell_walkable,1; + setcell "que_qsch05",99,252,99,255,cell_shootable,1; + setcell "que_qsch05",53,242,53,245,cell_walkable,1; + setcell "que_qsch05",53,242,53,245,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch05,2,3,0 script #miro_yf_sch05 844,{ + +OnEnable: + monster "que_qsch05",44,292," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",46,292," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",67,295," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",67,293," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",94,301," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",94,299," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",79,289," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",79,287," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",56,282," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",58,282," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",71,283," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",71,281," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",100,281," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",102,281," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",44,261," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",46,261," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",50,265," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",52,265," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",56,270," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",58,270," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",72,278," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",73,278," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",82,266," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",84,266," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",88,266," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",90,266," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",94,271," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",96,271," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",60,257," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",60,255," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",73,263," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",73,261," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",75,257," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",75,255," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",87,257," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",87,255," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",58,251," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",58,249," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",80,251," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",80,249," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",53,245," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",53,243," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",75,245," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",75,243," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",100,251," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",102,251," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",100,256," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + monster "que_qsch05",102,256," ",1936,1,"#miro_yf_sch05::OnMyMobDead"; + setcell "que_qsch05",44,292,47,292,cell_walkable,0; + setcell "que_qsch05",44,292,47,292,cell_shootable,0; + setcell "que_qsch05",67,292,67,295,cell_walkable,0; + setcell "que_qsch05",67,292,67,295,cell_shootable,0; + setcell "que_qsch05",94,298,94,301,cell_walkable,0; + setcell "que_qsch05",94,298,94,301,cell_shootable,0; + setcell "que_qsch05",79,286,79,289,cell_walkable,0; + setcell "que_qsch05",79,286,79,289,cell_shootable,0; + setcell "que_qsch05",56,282,59,282,cell_walkable,0; + setcell "que_qsch05",56,282,59,282,cell_shootable,0; + setcell "que_qsch05",71,280,71,283,cell_walkable,0; + setcell "que_qsch05",71,280,71,283,cell_shootable,0; + setcell "que_qsch05",100,281,103,281,cell_walkable,0; + setcell "que_qsch05",100,281,103,281,cell_shootable,0; + setcell "que_qsch05",44,261,47,261,cell_walkable,0; + setcell "que_qsch05",44,261,47,261,cell_shootable,0; + setcell "que_qsch05",50,265,53,265,cell_walkable,0; + setcell "que_qsch05",50,265,53,265,cell_shootable,0; + setcell "que_qsch05",56,270,59,270,cell_walkable,0; + setcell "que_qsch05",56,270,59,270,cell_shootable,0; + setcell "que_qsch05",72,278,73,278,cell_walkable,0; + setcell "que_qsch05",72,278,73,278,cell_shootable,0; + setcell "que_qsch05",82,266,85,266,cell_walkable,0; + setcell "que_qsch05",82,266,85,266,cell_shootable,0; + setcell "que_qsch05",88,266,91,266,cell_walkable,0; + setcell "que_qsch05",88,266,91,266,cell_shootable,0; + setcell "que_qsch05",94,271,97,271,cell_walkable,0; + setcell "que_qsch05",94,271,97,271,cell_shootable,0; + setcell "que_qsch05",60,254,60,257,cell_walkable,0; + setcell "que_qsch05",60,254,60,257,cell_shootable,0; + setcell "que_qsch05",73,260,73,263,cell_walkable,0; + setcell "que_qsch05",73,260,73,263,cell_shootable,0; + setcell "que_qsch05",75,254,75,257,cell_walkable,0; + setcell "que_qsch05",75,254,75,257,cell_shootable,0; + setcell "que_qsch05",87,254,87,257,cell_walkable,0; + setcell "que_qsch05",87,254,87,257,cell_shootable,0; + setcell "que_qsch05",58,248,58,251,cell_walkable,0; + setcell "que_qsch05",58,248,58,251,cell_shootable,0; + setcell "que_qsch05",80,248,80,251,cell_walkable,0; + setcell "que_qsch05",80,248,80,251,cell_shootable,0; + setcell "que_qsch05",53,242,53,245,cell_walkable,0; + setcell "que_qsch05",53,242,53,245,cell_shootable,0; + setcell "que_qsch05",75,242,75,245,cell_walkable,0; + setcell "que_qsch05",75,242,75,245,cell_shootable,0; + setcell "que_qsch05",100,251,103,251,cell_walkable,0; + setcell "que_qsch05",100,251,103,251,cell_shootable,0; + setcell "que_qsch05",100,256,103,256,cell_walkable,0; + setcell "que_qsch05",100,256,103,256,cell_shootable,0; + end; + +OnDisable: + killmonster "que_qsch05","#miro_yf_sch05::OnMyMobDead"; + setcell "que_qsch05",44,292,47,292,cell_walkable,1; + setcell "que_qsch05",44,292,47,292,cell_shootable,1; + setcell "que_qsch05",67,292,67,295,cell_walkable,1; + setcell "que_qsch05",67,292,67,295,cell_shootable,1; + setcell "que_qsch05",94,298,94,301,cell_walkable,1; + setcell "que_qsch05",94,298,94,301,cell_shootable,1; + setcell "que_qsch05",79,286,79,289,cell_walkable,1; + setcell "que_qsch05",79,286,79,289,cell_shootable,1; + setcell "que_qsch05",56,282,59,282,cell_walkable,1; + setcell "que_qsch05",56,282,59,282,cell_shootable,1; + setcell "que_qsch05",71,280,71,283,cell_walkable,1; + setcell "que_qsch05",71,280,71,283,cell_shootable,1; + setcell "que_qsch05",100,281,103,281,cell_walkable,1; + setcell "que_qsch05",100,281,103,281,cell_shootable,1; + setcell "que_qsch05",44,261,47,261,cell_walkable,1; + setcell "que_qsch05",44,261,47,261,cell_shootable,1; + setcell "que_qsch05",50,265,53,265,cell_walkable,1; + setcell "que_qsch05",50,265,53,265,cell_shootable,1; + setcell "que_qsch05",56,270,59,270,cell_walkable,1; + setcell "que_qsch05",56,270,59,270,cell_shootable,1; + setcell "que_qsch05",72,278,73,278,cell_walkable,1; + setcell "que_qsch05",72,278,73,278,cell_shootable,1; + setcell "que_qsch05",82,266,85,266,cell_walkable,1; + setcell "que_qsch05",82,266,85,266,cell_shootable,1; + setcell "que_qsch05",88,266,91,266,cell_walkable,1; + setcell "que_qsch05",88,266,91,266,cell_shootable,1; + setcell "que_qsch05",94,271,97,271,cell_walkable,1; + setcell "que_qsch05",94,271,97,271,cell_shootable,1; + setcell "que_qsch05",60,254,60,257,cell_walkable,1; + setcell "que_qsch05",60,254,60,257,cell_shootable,1; + setcell "que_qsch05",73,260,73,263,cell_walkable,1; + setcell "que_qsch05",73,260,73,263,cell_shootable,1; + setcell "que_qsch05",75,254,75,257,cell_walkable,1; + setcell "que_qsch05",75,254,75,257,cell_shootable,1; + setcell "que_qsch05",87,254,87,257,cell_walkable,1; + setcell "que_qsch05",87,254,87,257,cell_shootable,1; + setcell "que_qsch05",58,248,58,251,cell_walkable,1; + setcell "que_qsch05",58,248,58,251,cell_shootable,1; + setcell "que_qsch05",80,248,80,251,cell_walkable,1; + setcell "que_qsch05",80,248,80,251,cell_shootable,1; + setcell "que_qsch05",53,242,53,245,cell_walkable,1; + setcell "que_qsch05",53,242,53,245,cell_shootable,1; + setcell "que_qsch05",75,242,75,245,cell_walkable,1; + setcell "que_qsch05",75,242,75,245,cell_shootable,1; + setcell "que_qsch05",100,251,103,251,cell_walkable,1; + setcell "que_qsch05",100,251,103,251,cell_shootable,1; + setcell "que_qsch05",100,256,103,256,cell_walkable,1; + setcell "que_qsch05",100,256,103,256,cell_shootable,1; + end; + +OnMyMobDead: + end; +} + +que_qsch05,132,172,0 script windpath01_sch05 45,1,1,{ +OnTouch: + if (countitem(7839) > 0) { + mes "The Warp Gate responds to the Crystal Key."; + delitem 7839,1; //Crystal_Key + close2; + warp "que_qsch05",114,158; + end; + } + else { + mes "You need the Crystal Key to activate the Warp Gate."; + close; + } +} + +que_qsch05,113,165,0 warp windpath02_sch05 1,1,que_qsch05,139,172 + + +que_qsch05,131,136,3 script Piamette#sch05 1930,{ +OnInit: + enablenpc "Piamette#sch05"; + end; +} + +que_qsch05,114,158,0 script #event_start01_sch05 -1,1,1,{ + +OnInit: + disablenpc "#event_start01_sch05"; + end; + +OnEnable: + enablenpc "#event_start01_sch05"; + end; + +OnDisable: + disablenpc "#event_start01_sch05"; + stopnpctimer; + end; + +OnTouch: + initnpctimer; + disablenpc "#event_start01_sch05"; + end; + +OnTimer2000: + mapannounce "que_qsch05","Piamette mumblings : ..There were six birds, Teo. But one is....",bc_map,"0xdb7093"; + end; + +OnTimer6000: + mapannounce "que_qsch05","Piamette mumblings : ...Shh.. Teo. The birds have returned..Are they birds that ran away before...? Or breakers who disguises themselves as good adventurers?",bc_map,"0xdb7093"; + end; + +OnTimer10000: + mapannounce "que_qsch05","Piamette mumblings : Ha! They are caged in.",bc_map,"0xdb7093"; + end; + +OnTimer14000: + mapannounce "que_qsch05","Piamette : Teo, Catch the birds! Put the cage away from here!",bc_map,"0x00ff00"; + donpcevent "#gdtimer01_sch05::OnEnable"; + stopnpctimer; + end; +} + +que_qsch05,2,2,0 script #gdtimer01_sch05 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + donpcevent "#getspell01_sch05::OnDisable"; + donpcevent "#getspell02_sch05::OnDisable"; + donpcevent "#getspell03_sch05::OnDisable"; + donpcevent "#getspell04_sch05::OnDisable"; + donpcevent "#getspell05_sch05::OnDisable"; + donpcevent "#getspell06_sch05::OnDisable"; + donpcevent "#getspell07_sch05::OnDisable"; + donpcevent "#getspell08_sch05::OnDisable"; + stopnpctimer; + end; + +OnTimer1000: + donpcevent "#getspell08_sch05::OnDisable"; + donpcevent "#getspell01_sch05::OnEnable"; + end; + +OnTimer10000: + donpcevent "#getspell01_sch05::OnDisable"; + donpcevent "#getspell02_sch05::OnEnable"; + end; + +OnTimer20000: + donpcevent "#getspell02_sch05::OnDisable"; + donpcevent "#getspell03_sch05::OnEnable"; + end; + +OnTimer30000: + donpcevent "#getspell03_sch05::OnDisable"; + donpcevent "#getspell04_sch05::OnEnable"; + end; + +OnTimer40000: + donpcevent "#getspell04_sch05::OnDisable"; + donpcevent "#getspell05_sch05::OnEnable"; + end; + +OnTimer50000: + donpcevent "#getspell05_sch05::OnDisable"; + donpcevent "#getspell06_sch05::OnEnable"; + end; + +OnTimer60000: + donpcevent "#getspell06_sch05::OnDisable"; + donpcevent "#getspell07_sch05::OnEnable"; + end; + +OnTimer70000: + donpcevent "#getspell07_sch05::OnDisable"; + donpcevent "#getspell08_sch05::OnEnable"; + end; + +OnTimer75000: + if ($gqse_sch05_gd < 6) { + mapannounce "que_qsch05","Piamette : Silly birds! Silly Teo! Why can't you put away the cage at once?!",bc_map,"0x00ff00"; + enablenpc "#sch05_cage01"; + enablenpc "#sch05_cage02"; + enablenpc "#sch05_cage03"; + enablenpc "#sch05_cage04"; + enablenpc "#sch05_cage05"; + enablenpc "#sch05_cage06"; + set $gqse_sch05_gd,0; + } + end; + +OnTimer76000: + disablenpc "#sch05_cage01"; + disablenpc "#sch05_cage02"; + disablenpc "#sch05_cage03"; + disablenpc "#sch05_cage04"; + disablenpc "#sch05_cage05"; + disablenpc "#sch05_cage06"; + end; + +OnTimer80000: + donpcevent "#gdtimer01_sch05::OnEnable"; + end; +} + +que_qsch05,2,3,0 script #gdtimer02_sch05 844,{ + +OnEnable: + initnpctimer; + end; + +Onstop: + stopnpctimer; + killmonster "que_qsch05","#gdtimer02_sch05::OnMyMobDead"; + end; + +OnTimer4000: + mapannounce "que_qsch05","Piamette : All of them are caught!",bc_map,"0xdb7093"; + end; + +OnTimer8000: + mapannounce "que_qsch05","Piamette : Let's call out the keeper of the key not to let the birds go far away.",bc_map,"0xdb7093"; + end; + +OnTimer12000: + mapannounce "que_qsch05","Piamette : The keeper of the key is protecting my cage.",bc_map,"0xdb7093"; + monster "que_qsch05",108,151,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + monster "que_qsch05",107,135,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + monster "que_qsch05",113,114,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + monster "que_qsch05",158,106,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + monster "que_qsch05",163,133,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + monster "que_qsch05",150,154,"Key Stone",1905,1,"#gdtimer02_sch05::OnMyMobDead"; + end; + +OnTimer112000: + mapannounce "que_qsch05","Piamette : Whooping fun times are back! Now, Go! I'll get back to!!",bc_map,"0xdb7093"; + killmonster "que_qsch05","#gdtimer02_sch05::OnMyMobDead"; + enablenpc "#sch05_cage01"; + enablenpc "#sch05_cage02"; + enablenpc "#sch05_cage03"; + enablenpc "#sch05_cage04"; + enablenpc "#sch05_cage05"; + enablenpc "#sch05_cage06"; + set $gqse_sch05_gd,0; + end; + +OnTimer113000: + disablenpc "#sch05_cage01"; + disablenpc "#sch05_cage02"; + disablenpc "#sch05_cage03"; + disablenpc "#sch05_cage04"; + disablenpc "#sch05_cage05"; + disablenpc "#sch05_cage06"; + donpcevent "#gdtimer01_sch05::OnEnable"; + stopnpctimer; + end; + +Onreset: + killmonster "que_qsch05","#gdtimer02_sch05::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#gdtimer02_sch05::OnMyMobDead") == 0) { + enablenpc "#sch05_cage01"; + enablenpc "#sch05_cage02"; + enablenpc "#sch05_cage03"; + enablenpc "#sch05_cage04"; + enablenpc "#sch05_cage05"; + enablenpc "#sch05_cage06"; + donpcevent "#piamette_sch05::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch05,1,4,0 script #piamette_sch05 844,{ +OnEnable: + initnpctimer; + end; + +Onreset: + killmonster "que_qsch05","#piamette_sch05::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch05","Piamette : All the keeper of keys are dead now? Who freed my birds? Teo, who did it?",bc_map,"0xdb7093"; + end; + +OnTimer5000: + mapannounce "que_qsch05","Piamette : I'm pissed off now!",bc_map,"0xdb7093"; + donpcevent "Piamette#sch05::OnDisable"; + monster "que_qsch05",131,135,"Angry Piamette",1930,1,"#piamette_sch05::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + mapannounce "que_qsch05","Piamette has been released, so the warp gate toward the South is working now.",bc_map,"0x00ff00"; + donpcevent "windpath03_sch05::OnEnable"; + donpcevent "windpath04_sch05::OnEnable"; + donpcevent "#nm_switch_sch05::OnEnable"; + end; +} + +que_qsch05,113,135,0 script #getspell01_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell01_sch05"; + end; + +OnEnable: + enablenpc "#getspell01_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell01_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,146,150,0 script #getspell02_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell02_sch05"; + end; + +OnEnable: + enablenpc "#getspell02_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell02_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,131,117,0 script #getspell03_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell03_sch05"; + end; + +OnEnable: + enablenpc "#getspell03_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell03_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,117,150,0 script #getspell04_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell04_sch05"; + end; + +OnEnable: + enablenpc "#getspell04_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell04_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,150,135,0 script #getspell05_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell05_sch05"; + end; + +OnEnable: + enablenpc "#getspell05_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell05_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,117,121,0 script #getspell06_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell06_sch05"; + end; + +OnEnable: + enablenpc "#getspell06_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell06_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,131,154,0 script #getspell07_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell07_sch05"; + end; + +OnEnable: + enablenpc "#getspell07_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell07_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,146,121,0 script #getspell08_sch05 -1,1,1,{ +OnInit: + disablenpc "#getspell08_sch05"; + end; + +OnEnable: + enablenpc "#getspell08_sch05"; + specialeffect EF_LOCKON; + end; + +OnDisable: + disablenpc "#getspell08_sch05"; + end; + +OnTouch: + sc_start2 SC_Stone,300000,0,10000; + if ($gqse_sch05_gd == 0) { + warp "que_qsch05",103,153; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,1; + mapannounce "que_qsch05","Piamette : One white bird has dropped with its wing pierced by an arrow.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 1) { + warp "que_qsch05",102,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,2; + mapannounce "que_qsch05","Piamette : One bird is caught in a snare, and dropped into a lake.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 2) { + warp "que_qsch05",113,111; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,3; + mapannounce "que_qsch05","Piamette : One bird has died trapped in it's cage.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 3) { + warp "que_qsch05",161,105; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,4; + mapannounce "que_qsch05","Piamette : One bird was poisoned to death.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 4) { + warp "que_qsch05",168,135; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,5; + mapannounce "que_qsch05","Piamette : One bird vomited blood while singing seven days and seven nights.",bc_map,"0xdb7093"; + } + else if ($gqse_sch05_gd == 5) { + warp "que_qsch05",150,159; + disablenpc "#getspell01_sch05"; + set $gqse_sch05_gd,6; + mapannounce "que_qsch05","Piamette : The last one broke her neck wriggling to get out of from it's eggshell!",bc_map,"0xFF0000"; + donpcevent "#gdtimer02_sch05::OnEnable"; + donpcevent "#gdtimer01_sch05::Onstop"; + } + end; +} + +que_qsch05,103,153,0 script #sch05_cage01 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage01"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",108,151; + disablenpc "#sch05_cage01"; + end; +} + +que_qsch05,102,135,0 script #sch05_cage02 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage02"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",107,135; + disablenpc "#sch05_cage02"; + end; +} + +que_qsch05,113,111,0 script #sch05_cage03 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage03"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",113,114; + disablenpc "#sch05_cage03"; + end; +} + +que_qsch05,161,105,0 script #sch05_cage04 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage04"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",158,106; + disablenpc "#sch05_cage04"; + end; +} + +que_qsch05,168,135,0 script #sch05_cage05 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage05"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",163,133; + disablenpc "#sch05_cage05"; + end; +} + +que_qsch05,150,159,0 script #sch05_cage06 -1,1,1,{ +OnInit: + disablenpc "#sch05_cage06"; + end; + +OnTouch: + sc_end SC_Stone; + warp "que_qsch05",150,154; + disablenpc "#sch05_cage06"; + end; +} + +que_qsch05,1,8,0 script #gd_sch05_mobctrl 844,{ +OnEnable: + monster "que_qsch05",107,152,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",109,135,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",113,116,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",157,107,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",163,133,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",149,156,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",130,139,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",135,137,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",130,132,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",128,137,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",109,145,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",109,130,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",128,114,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",147,114,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",154,128,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",151,145,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",130,151,"Alice",1275,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",131,139,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",135,136,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",131,132,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",128,136,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",110,145,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",129,114,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",148,114,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",155,128,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",152,145,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",131,151,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",110,130,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",132,139,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",135,135,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",132,132,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",128,135,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",111,145,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",111,130,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",130,114,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",149,114,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",156,128,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",153,145,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",132,151,"Violy",1390,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",133,139,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",135,134,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",133,132,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",128,135,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",112,145,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",131,114,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",150,114,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",157,128,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",154,145,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",133,151,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",112,130,"Ancient Mimic",1699,1,"#gd_sch05_mobctrl::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch05","#gd_sch05_mobctrl::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#gd_sch05_mobctrl::OnMyMobDead") < 7) { + monster "que_qsch05",107,152,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",109,135,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",113,116,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",157,107,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",163,133,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + monster "que_qsch05",149,156,"Ball of Piamette",1738,1,"#gd_sch05_mobctrl::OnMyMobDead"; + } + end; +} + +que_qsch05,149,105,0 script windpath03_sch05 45,1,1,{ +OnInit: + disablenpc "windpath03_sch05"; + end; + +OnTouch: + warp "que_qsch05",119,103; + end; +} + +que_qsch05,128,104,0 script windpath04_sch05 45,1,1,{ +OnInit: + disablenpc "windpath04_sch05"; + end; + +OnTouch: + warp "que_qsch05",146,109; + end; +} + +que_qsch05,253,273,0 script #nm_switch_sch05 -1,5,5,{ +OnInit: + disablenpc "#nm_switch_sch05"; + end; + +OnEnable: + enablenpc "#nm_switch_sch05"; + end; + +OnDisable: + disablenpc "#nm_switch_sch05"; + stopnpctimer; + end; + +OnTouch: + disablenpc "#nm_switch_sch05"; + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch05","Wish Maiden: Did you have a good time with Piamette?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch05","Wish Maiden: But it's the end. There will be summoned monsters coming soon...",bc_map,"0x00ff00"; + end; + +OnTimer9000: + mapannounce "que_qsch05","Wish Maiden: So come here to me safely...",bc_map,"0x00ff00"; + end; + +OnTimer10000: + donpcevent "#nmsomsch05_jin01::OnEnable"; + donpcevent "#sch05_stone01::OnEnable"; + end; + +OnTimer190000: + donpcevent "#nmsomsch05_jin02::OnEnable"; + donpcevent "#sch05_stone02::OnEnable"; + end; + +OnTimer370000: + donpcevent "#nmsomsch05_jin03::OnEnable"; + donpcevent "#sch05_stone03::OnEnable"; + stopnpctimer; + end; +} + +que_qsch05,229,297,0 script #nmsomsch05_jin01 -1,{ +OnEnable: + donpcevent "#sch05_stone01::OnEnable"; + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch05","#nmsomsch05_jin01::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch05","The Western magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch05",226,288,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",227,289,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",228,290,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",229,291,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",230,292,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,293,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",232,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",233,295,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",234,296,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",235,297,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",228,286,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",229,287,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",230,288,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,289,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",232,290,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",233,291,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",234,292,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",235,293,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",236,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",237,295,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",230,284,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,285,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",232,286,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",233,287,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",234,288,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",235,289,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",236,290,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",237,291,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",238,292,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",239,293,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch05",226,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",227,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",228,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",229,294,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",230,295,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,296,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,297,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,298,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",231,299,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",230,300,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",229,301,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",228,301,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",227,301,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",226,301,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",225,300,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",224,299,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",224,298,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",224,297,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",224,296,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + monster "que_qsch05",225,295,"Guard of Shadow",1752,1,"#nmsomsch05_jin01::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch05,2,8,0 script #sch05_stone01 844,{ +OnEnable: + monster "que_qsch05",227,294,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",229,294,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",231,296,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",231,298,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",230,300,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",228,301,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",226,301,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",224,299,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",224,297,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + monster "que_qsch05",225,295,"Western Magic Guardian",1752,1,"#sch05_stone01::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch05","#sch05_stone01::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#sch05_stone01::OnMyMobDead") == 0) { + set $gqse_sch05_nm,$gqse_sch05_nm+1; + donpcevent "#nmsomsch05_jin01::OnDisable"; + if ($gqse_sch05_nm == 3) { + donpcevent "Wish Maiden#sch05_boss::Onfight"; + } + } + end; +} + +que_qsch05,275,299,0 script #nmsomsch05_jin02 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch05","#nmsomsch05_jin02::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch05","The Eastern magic formation is working to summon Guard of Shadow.",bc_map,"0x4d4dff"; + monster "que_qsch05",263,292,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",264,291,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",265,290,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",266,289,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",267,288,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",268,287,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",269,286,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",270,285,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",271,284,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,283,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",265,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",266,293,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",267,292,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",268,291,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",269,290,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",270,289,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",271,288,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,287,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",273,286,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",274,285,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",267,296,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",268,295,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",269,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",270,283,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",271,282,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,281,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",273,280,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",274,279,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",275,276,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",276,275,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + end; + +OnTimer25000: +OnTimer55000: +OnTimer85000: +OnTimer120000: + monster "que_qsch05",274,301,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",275,301,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",276,301,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",277,301,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",278,300,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",279,299,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",279,298,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",279,297,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",279,296,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",278,295,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",277,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",276,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",275,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",274,294,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",273,295,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,296,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,297,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,298,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",272,299,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + monster "que_qsch05",273,300,"Bloody Hunter",1753,1,"#nmsomsch05_jin02::OnMyMobDead"; + end; + +OnTimer180000: + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch05,2,9,0 script #sch05_stone02 844,{ +OnEnable: + monster "que_qsch05",275,301,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",277,301,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",279,299,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",279,297,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",278,295,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",276,294,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",274,294,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",272,296,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",272,298,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + monster "que_qsch05",273,300,"Eastern Magic Guardian",1753,1,"#sch05_stone02::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch05","#sch05_stone02::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#sch05_stone02::OnMyMobDead") == 0) { + set $gqse_sch05_nm,$gqse_sch05_nm+1; + donpcevent "#nmsomsch05_jin02::OnDisable"; + if ($gqse_sch05_nm == 3) { + donpcevent "Wish Maiden#sch05_boss::Onfight"; + } + } + end; +} + +que_qsch05,251,340,0 script #nmsomsch05_jin03 -1,{ +OnEnable: + initnpctimer; + end; + +OnDisable: + killmonster "que_qsch05","#nmsomsch05_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnTimer5000: + mapannounce "que_qsch05","The Northern magic formation is working to summon Keeper of the temple.",bc_map,"0x4d4dff"; + monster "que_qsch05",247,329,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",249,329,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",251,329,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",253,329,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,329,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",243,339,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",245,337,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",247,335,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",247,333,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",254,333,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",256,335,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",258,337,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",260,339,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + end; + +OnTimer120000: + monster "que_qsch05",251,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,341,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",254,337,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + end; + +OnTimer240000: + monster "que_qsch05",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",250,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,338,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,340,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",249,342,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + end; + +OnTimer360000: + monster "que_qsch05",250,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",252,343,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",254,342,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,340,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",255,338,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",253,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",251,336,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",249,337,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,339,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + monster "que_qsch05",248,341,"Keeper Of The Temple",1933,1,"#nmsomsch05_jin03::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + end; +} + +que_qsch05,2,10,0 script #sch05_stone03 844,{ +OnEnable: + monster "que_qsch05",251,343,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",252,343,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",255,341,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",255,340,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",254,337,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",253,336,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",250,336,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",249,337,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",248,340,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + monster "que_qsch05",248,341,"Northern Magic Guardian",1933,1,"#sch05_stone03::OnMyMobDead"; + end; + +Onreset: + killmonster "que_qsch05","#sch05_stone03::OnMyMobDead"; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","#sch05_stone03::OnMyMobDead") == 0) { + set $gqse_sch05_nm,$gqse_sch05_nm+1; + donpcevent "#nmsomsch05_jin03::OnDisable"; + + if ($gqse_sch05_nm == 3) { + donpcevent "Wish Maiden#sch05_boss::Onfight"; + } + } + end; +} + +que_qsch05,235,285,5 script Guard of Shadow#sch05_01 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch05_01"; + end; + +OnDisable: + killmonster "que_qsch05","Guard of Shadow#sch05_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch05_01"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch05_01"; + monster "que_qsch05",234,284,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_01::OnMyMobDead"; + monster "que_qsch05",235,285,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_01::OnMyMobDead"; + monster "que_qsch05",236,286,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,224,290,5 script Guard of Shadow#sch05_02 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch05_02"; + end; + +OnDisable: + killmonster "que_qsch05","Guard of Shadow#sch05_01::OnMyMobDead"; + disablenpc "Guard of Shadow#sch05_02"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch05_02"; + monster "que_qsch05",223,289,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_02::OnMyMobDead"; + monster "que_qsch05",224,290,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_02::OnMyMobDead"; + monster "que_qsch05",225,291,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,236,296,5 script Guard of Shadow#sch05_03 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch05_03"; + end; + +OnDisable: + killmonster "que_qsch05","Guard of Shadow#sch05_03::OnMyMobDead"; + disablenpc "Guard of Shadow#sch05_03"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch05_03"; + monster "que_qsch05",235,295,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_03::OnMyMobDead"; + monster "que_qsch05",236,296,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_03::OnMyMobDead"; + monster "que_qsch05",237,297,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,225,303,5 script Guard of Shadow#sch05_04 1752,4,4,{ +OnInit: + disablenpc "Guard of Shadow#sch05_04"; + end; + +OnDisable: + killmonster "que_qsch05","Guard of Shadow#sch05_04::OnMyMobDead"; + disablenpc "Guard of Shadow#sch05_04"; + end; + +OnTouch: + disablenpc "Guard of Shadow#sch05_04"; + monster "que_qsch05",224,302,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_04::OnMyMobDead"; + monster "que_qsch05",225,303,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_04::OnMyMobDead"; + monster "que_qsch05",226,304,"Guard of Shadow",1752,1,"Guard of Shadow#sch05_04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,266,296,3 script Bloody Hunter#sch05_ac01 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch05_ac01"; + end; + +OnDisable: + killmonster "que_qsch05","Bloody Hunter#sch05_ac01::OnMyMobDead"; + disablenpc "Bloody Hunter#sch05_ac01"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch05_ac01"; + monster "que_qsch05",265,297,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac01::OnMyMobDead"; + monster "que_qsch05",266,296,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac01::OnMyMobDead"; + monster "que_qsch05",267,295,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,271,283,3 script Bloody Hunter#sch05_ac02 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch05_ac02"; + end; + +OnDisable: + killmonster "que_qsch05","Bloody Hunter#sch05_ac02::OnMyMobDead"; + disablenpc "Bloody Hunter#sch05_ac02"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch05_ac02"; + monster "que_qsch05",270,284,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac02::OnMyMobDead"; + monster "que_qsch05",271,283,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac02::OnMyMobDead"; + monster "que_qsch05",272,282,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,270,307,3 script Bloody Hunter#sch05_ac03 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch05_ac03"; + end; + +OnDisable: + killmonster "que_qsch05","Bloody Hunter#sch05_ac03::OnMyMobDead"; + disablenpc "Bloody Hunter#sch05_ac03"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch05_ac03"; + monster "que_qsch05",269,308,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac03::OnMyMobDead"; + monster "que_qsch05",270,307,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac03::OnMyMobDead"; + monster "que_qsch05",271,306,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac03::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,279,300,3 script Bloody Hunter#sch05_ac04 1753,4,4,{ +OnInit: + disablenpc "Bloody Hunter#sch05_ac04"; + end; + +OnDisable: + killmonster "que_qsch05","Bloody Hunter#sch05_ac04::OnMyMobDead"; + disablenpc "Bloody Hunter#sch05_ac04"; + end; + +OnTouch: + disablenpc "Bloody Hunter#sch05_ac04"; + monster "que_qsch05",278,301,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac04::OnMyMobDead"; + monster "que_qsch05",279,300,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac04::OnMyMobDead"; + monster "que_qsch05",280,299,"Bloody Hunter",1753,1,"Bloody Hunter#sch05_ac04::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,247,330,5 script ½ÅÀü¼öÈ£ÀÚ#sch05_ac01 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch05_ac01"; + end; + +OnDisable: + killmonster "que_qsch05","Temple Keeper#sch05_ac01::OnMyMobDead"; + disablenpc "Temple Keeper#sch05_ac01"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch05_ac01"; + monster "que_qsch05",246,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac01::OnMyMobDead"; + monster "que_qsch05",247,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac01::OnMyMobDead"; + monster "que_qsch05",248,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac01::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,255,330,3 script ½ÅÀü¼öÈ£ÀÚ#sch05_ac02 1933,4,4,{ +OnInit: + disablenpc "½ÅÀü¼öÈ£ÀÚ#sch05_ac02"; + end; + +OnDisable: + killmonster "que_qsch05","Temple Keeper#sch05_ac02::OnMyMobDead"; + disablenpc "Temple Keeper#sch05_ac02"; + end; + +OnTouch: + disablenpc "Temple Keeper#sch05_ac02"; + monster "que_qsch05",254,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac02::OnMyMobDead"; + monster "que_qsch05",255,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac02::OnMyMobDead"; + monster "que_qsch05",256,330,"Keeper Of The Temple",1933,1,"Temple Keeper#sch05_ac02::OnMyMobDead"; + end; + +OnMyMobDead: + end; +} + +que_qsch05,251,255,3 script Wish Maiden#sch05_boss 1931,{ +OnInit: + disablenpc "Wish Maiden#sch05_boss"; + end; + +OnDisable: + killmonster "que_qsch05","Wish Maiden#sch05_boss::OnMyMobDead"; + disablenpc "Wish Maiden#sch05_boss"; + stopnpctimer; + end; + +Onfight: + initnpctimer; + end; + +OnTimer1000: + mapannounce "que_qsch05","Wish Maiden : You guys reached here.. Are your guardians dead...?",bc_map,"0x00ff00"; + end; + +OnTimer4000: + mapannounce "que_qsch05","Wish Maiden : I sincerely welcome all your best efforts!",bc_map,"0x00ff00"; + end; + +OnTimer5000: + specialeffect EF_ICECRASH; + disablenpc "Wish Maiden#sch05_boss"; + specialeffect EF_SPHERE; + monster "que_qsch05",252,340,"Wish Maiden",1931,1,"Wish Maiden#sch05_boss::OnMyMobDead"; + stopnpctimer; + end; + +OnMyMobDead: + if (mobcount("que_qsch05","Wish Maiden#sch05_boss::OnMyMobDead") == 0) { + donpcevent "#okolnir_sch05::Onstop"; + donpcevent "Wish Maiden#sch05_gift::OnEnable"; + mapannounce "que_qsch05","Wish Maiden : ..Good, you deserve the Goddess' shine.",bc_map,"0x00ff00"; + } + end; +} + +que_qsch05,252,340,3 script Wish Maiden#sch05_gift 403,{ + set .@GID, GetCastleData("schg_cas05",1); + if (getcharid(2) == .@GID) { + if (strcharinfo(0) == getguildmaster(.@GID)) { + if ((countitem(7830) > 0) && (countitem(7831) > 0) && (countitem(7832) > 0) && (countitem(7833) > 0) && (countitem(7834) > 0) && (countitem(2357) > 0) && (countitem(7510) > 99) && (countitem(969) > 9) && (countitem(985) > 19)) { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "As I declared, I will give the Goddess' shine to you."; + mes "You have the requirements to carry it..."; + next; + mes "[Wish Maiden]"; + mes "You will be granted the power of the great Valkyrie..."; + next; + mes "[Wish Maiden]"; + mes "I will give you some things for fun."; + mes "All of you enjoy them together..."; + next; + mes "[Wish Maiden]"; + mes "Go to Rachel and Juno to meet the Ravies sisters."; + next; + cutin "wish_maiden32",1; + mes "[Wish Maiden]"; + mes "I will open the gate for you to come back here."; + mes "...Okolnir won't last forever..."; + delitem 7830,1; //Goddess_Tear + delitem 7831,1; //Valkyrie_Token + delitem 7832,1; //Brynhild_Armor_Piece + delitem 7833,1; //Hero_Remains + delitem 7834,1; //Andvari_Ring + delitem 2357,1; //Valkyrie_Armor + delitem 7510,100; //Valhalla_Flower + delitem 969,10; //Gold + delitem 985,20; //Elunium + getitem 2383,1; //Brynhild + getitem 7840,1; //Valkyrie_Gift + announce "["+ strcharinfo(0) +"], of guild ["+ GetGuildName(.@GID) +"] has brought a Brynhild into this world.",bc_all,"0x70dbdb"; + close2; + cutin "wish_maiden11",255; + disablenpc "Wish Maiden#sch05_gift"; + donpcevent "#to_agit_sch05_gate::OnEnable"; + end; + } + else { + cutin "wish_maiden13",1; + mes "[Wish Maiden]"; + mes "As I declared, you are worthy of holding the Brynhild."; + mes "However, you do not have the requirements on you..."; + next; + mes "[Wish Maiden]"; + mes "...Did you forget something?"; + close2; + } + } + else { + cutin "wish_maiden12",1; + mes "[Wish Maiden]"; + mes "¸ All of you worked together as a team..."; + mes "Humans are strong when they are united, but are easily swayed by lust."; + next; + mes "[Wish Maiden]"; + mes "Humans are imperfect, do their chief god is there for them when they need help."; + mes "...."; + next; + mes "[Wish Maiden]"; + mes "Always be real."; + mes "Do not regret your actions..."; + close2; + } + } + cutin "wish_maiden11",255; + end; + +OnInit: + disablenpc "Wish Maiden#sch05_gift"; + end; + +OnEnable: + enablenpc "Wish Maiden#sch05_gift"; + initnpctimer; + end; + +OnDisable: + disablenpc "Wish Maiden#sch05_gift"; + stopnpctimer; + end; + +OnTimer280000: + mapannounce "que_qsch05","Wish Maiden : ... Okolnir will soon disappear... I will send you back to where you originally came from.",bc_map,"0x00ff00"; + end; + +OnTimer290000: + mapwarp "que_qsch05","schg_cas05",369,306; + donpcevent "#to_agit_sch05_gate::OnDisable"; + end; + +OnTimer300000: + donpcevent "#okolnir_sch05::OnDisable"; + set $gqse_sch05_miro,0; + set $gqse_sch05_pcc,0; + set $gqse_sch05_gd,0; + set $gqse_sch05_nm,0; + set $siz_sch05_on,2; + donpcevent "#okolnir_sch05_time01::OnEnable"; + stopnpctimer; + end; +} + +que_qsch05,252,339,0 script #to_agit_sch05_gate 45,1,1,{ +OnInit: + disablenpc "#to_agit_sch05_gate"; + end; + +OnTouch: + warp "schg_cas05",369,306; + end; +} + +que_qsch05,1,6,0 script #okolnir_sch05_time01 844,{ +OnInit: + if ($siz_sch05_on == 2) { + initnpctimer; + } + end; + +OnEnable: + set $gqse_sch05_time,0; + initnpctimer; + end; + +Onreset: + set $siz_sch05_on,0; + set $gqse_sch05_time,0; + stopnpctimer; + end; + +OnTimer3600000: + if ($gqse_sch05_time < 12) { + set $gqse_sch05_time,$gqse_sch05_time+1; + initnpctimer; + } + else if ($gqse_sch05_time == 12) { + set $siz_sch05_on,0; + set $gqse_sch05_time,0; + enablenpc "Wish Maiden#gq_sch05"; + enablenpc "Piamette#sch05"; + donpcevent "Wish Maiden#sch05_boss::OnEnable"; + stopnpctimer; + } + end; +} + +que_qsch05,116,313,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,120,285,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,117,236,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,103,223,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,85,204,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,79,186,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,73,167,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,68,150,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,71,128,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,69,118,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,117,78,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,110,79,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,141,80,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,158,84,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,193,104,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,119,269,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,155,77,0,0 monster Garden Keeper 1932,1,180000,0,0 +que_qsch05,110,317,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,115,295,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,116,256,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,113,242,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,99,223,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,94,216,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,77,198,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,70,174,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,72,147,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,64,134,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,77,107,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,84,88,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,98,82,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,129,79,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,91,124,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,173,95,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,179,127,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,195,120,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,178,159,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,88,145,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,94,157,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,95,177,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,129,196,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,154,196,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,170,187,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,194,180,0,0 monster Garden Watcher 1933,1,1200000,0,0 +que_qsch05,214,181,0,0 monster Garden Watcher 1933,1,600000,0,0 +que_qsch05,243,199,0,0 monster Garden Watcher 1933,1,1200000,0,0 |