;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[@main]
#IF
checkpkpoint 2

#SAY
#INCLUDE [..\Market_Def\00BuySell_Std.txt] @Convert_BuySellStd_PK

#ELSEACT
Mov  A0  %USERNAME
#ELSESAY
Hi, My name is {FCOLOR/10}<$NPCNAME>{FCOLOR/12}, the Horse Master.\
<[ View Stable ]/@ExplanHorse>\
<[ Exit ]/@exit>\

#IF
Equal A0 "Sting"
Or Equal A0 "Poison"

#SAY
<[ Show Bosses ]/@ShowBosses>\
<[ Show Players ]/@ShowPlayers>\
<[ Spawn Beatles ]/@SpawnEvent>\

[@ExplanHorse]
#CALL [System\HorseMarket.txt] @HorseSystem

[@ShowBosses]
#CALL [System\CheckAll.txt] @CheckBoos

[@ShowPlayers]
#CALL [System\CheckAll.txt] @CheckPlayers

[@SpawnEvent]
#SAY
    GM Spawn Event - Menu \
\
Firstly, choose a map that you'd like the event to take\
place on.\
<[ SabukWall ]/@EventSpawnSabuk>\
\
<[ Exit ]/@exit>\\\

[@EventSpawnSabuk]
#SAY
Choose one of the listed events below.\
\
<[ Boss Wars ]/@EventSabukBoss_1> Click this one to spawn a\
fixed amount of bosses and subs inside the Sabuk\
castle walls.  These won't spawn at the same time\
instead they will be staggered over a period of\
60mins.  Post on the forum if you think any of\
the times or mobs need adjusting.\
\
<[ Mini Boss Wars ]/@EventMiniSabukBoss_1> \
Click this one to spawn a\
smaller amount of bosses and subs inside the Sabuk\
castle walls.  These won't spawn at the same time\
instead they will be staggered over a period of\
30mins.  Post on the forum if you think any of\
the times or mobs need adjusting.\
\
<[ Exit ]/@exit>\\\

[@EventSabukBossBegin]
#ACT
Eventmsg Grobal "Sabuk is about to be attacked. We need help! Please come quickly!" 10432

Delaygoto [Grobal] 30 @EventSabukBoss_1 10001

[@EventSabukBoss_1]
#SAY
Event started.\\
#ACT
Eventmsg "3" "It's the WoomaTaurus and his gang. His reinforcements will arrive in 2 minutes! Kill fast!" 10432
MonGenP "3,180,120,5" WoomaTaurus 1
MonGenP "3,180,120,5" WoomaGuardian 5
MonGenP "3,180,120,5" WoomaSoldier 15
MonGenP "3,180,120,5" WoomaFighter 15
MonGenP "3,180,120,5" FlamingWooma 15
MonGenP "3,210,125,5" WoomaTaurus 1
MonGenP "3,210,125,5" WoomaGuardian 5
MonGenP "3,210,125,5" WoomaSoldier 15
MonGenP "3,210,125,5" WoomaFighter 15
MonGenP "3,210,125,5" FlamingWooma 15
MonGenP "3,212,92,5" WoomaTaurus 1
MonGenP "3,212,92,5" WoomaGuardian 5
MonGenP "3,212,92,5" WoomaSoldier 15
MonGenP "3,212,92,5" WoomaFighter 15
MonGenP "3,212,92,5" FlamingWooma 15

Delaygoto [Grobal] 120 @EventSabukBoss_2 10001

[@EventSabukBoss_2]
#ACT
Eventmsg "3" "The BoarKing and his cronies have come to support the Wooma's! The next wave will attack in 2.5mins!" 10432
MonGenP "3,210,125,5" BoarKing 1
MonGenP "3,210,125,5" WhiteBoar 5
MonGenP "3,210,125,5" RedBoar 20
MonGenP "3,210,125,5" BlackBoar 20
MonGenP "3,210,125,5" WedgeMoth 25
MonGenP "3,210,145,5" BoarKing 1
MonGenP "3,210,145,5" WhiteBoar 5
MonGenP "3,210,145,5" RedBoar 20
MonGenP "3,210,145,5" BlackBoar 20
MonGenP "3,210,145,5" WedgeMoth 25
MonGenP "3,232,123,5" BoarKing 1
MonGenP "3,232,123,5" WhiteBoar 5
MonGenP "3,232,123,5" RedBoar 20
MonGenP "3,232,123,5" BlackBoar 20
MonGenP "3,232,123,5" WedgeMoth 25

Delaygoto [Grobal] 150 @EventSabukBoss_3 10001

[@EventSabukBoss_3]
#ACT
Eventmsg "3" "They've used HoneyBombs! The insects are infesting the castle! Exterminate the bugs before the next attack force arrives.  2.5mins!" 10432
MonGenP "3,180,120,5" EvilCentipede 1
MonGenP "3,180,120,5" GreatTongs 5
MonGenP "3,180,120,5" Tongs 25
MonGenP "3,180,120,5" BlackMaggot 20
MonGenP "3,180,120,5" Centipede 25
MonGenP "3,210,125,5" EvilCentipede 1
MonGenP "3,210,125,5" GreatTongs 5
MonGenP "3,210,125,5" Tongs 25
MonGenP "3,210,125,5" BlackMaggot 20
MonGenP "3,210,125,5" Centipede 25
MonGenP "3,212,92,5" EvilCentipede 1
MonGenP "3,212,92,5" GreatTongs 5
MonGenP "3,212,92,5" Tongs 25
MonGenP "3,212,92,5" BlackMaggot 20
MonGenP "3,212,92,5" Centipede 25

Delaygoto [Grobal] 150 @EventSabukBoss_4 10001

[@EventSabukBoss_4]
#ACT
Eventmsg "3" "The monstrous ZumaTemple beasts are flocking over the walls. We've only got 3mins until the next wave!" 10432
MonGenP "3,180,120,5" ZumaTaurus 1
MonGenP "3,180,120,5" ZumaGuard 5
MonGenP "3,180,120,5" ZumaArcher 25
MonGenP "3,180,120,5" ZumaStatue 20
MonGenP "3,180,120,5" KillerRat 25
MonGenP "3,210,125,5" ZumaTaurus 1
MonGenP "3,210,125,5" ZumaGuard 5
MonGenP "3,210,125,5" ZumaArcher 25
MonGenP "3,210,125,5" ZumaStatue 20
MonGenP "3,210,125,5" KillerRat 25
MonGenP "3,212,92,5" ZumaTaurus 1
MonGenP "3,212,92,5" ZumaGuard 5
MonGenP "3,212,92,5" ZumaArcher 25
MonGenP "3,212,92,5" ZumaStatue 20
MonGenP "3,212,92,5" KillerRat 25

Delaygoto [Grobal] 180 @EventSabukBoss_5 10001

[@EventSabukBoss_5]
#ACT
Eventmsg "3" "The beasts of Red Moon Valley are here!. We've only got 4 mins until the next wave!" 10432
MonGenP "3,225,95,5" RedMoonEvil 1
MonGenP "3,225,95,5" GreatDarkArachnid 3
MonGenP "3,225,95,5" ApeKing 3
MonGenP "3,225,95,5" EvilApe 25
MonGenP "3,225,95,5" SpiderBat 20
MonGenP "3,225,95,5" VenomArachnid 25
MonGenP "3,225,95,5" DarkArachnid 25
MonGenP "3,225,95,5" GrenadeArachnid 15
MonGenP "3,192,144,5" RedMoonEvil 1
MonGenP "3,192,144,5" GreatDarkArachnid 3
MonGenP "3,192,144,5" ApeKing 3
MonGenP "3,192,144,5" EvilApe 25
MonGenP "3,192,144,5" SpiderBat 20
MonGenP "3,192,144,5" VenomArachnid 25
MonGenP "3,192,144,5" DarkArachnid 25
MonGenP "3,192,144,5" GrenadeArachnid 15

Delaygoto [Grobal] 240 @EventSabukBoss_6 10001

[@EventSabukBoss_6]
#ACT
Eventmsg "3" "There! On the horizon! MINOTAURS!!!  Kill them before they burn down the palace! 4.5mins to go!" 10432
MonGenP "3,180,120,5" MinoTaurKing 1
MonGenP "3,180,120,5" MinotaurChief 5
MonGenP "3,180,120,5" IceMinotaur 25
MonGenP "3,180,120,5" WindMinotaur 20
MonGenP "3,180,120,5" RightGuard 25
MonGenP "3,180,120,5" LeftGuard 25
MonGenP "3,210,125,5" MinoTaurKing 1
MonGenP "3,210,125,5" MinotaurChief 5
MonGenP "3,210,125,5" IceMinotaur 25
MonGenP "3,210,125,5" WindMinotaur 20
MonGenP "3,210,125,5" RightGuard 25
MonGenP "3,210,125,5" LeftGuard 25
MonGenP "3,212,92,5" MinoTaurKing 1
MonGenP "3,212,92,5" MinotaurChief 5
MonGenP "3,212,92,5" IceMinotaur 25
MonGenP "3,212,92,5" WindMinotaur 20
MonGenP "3,212,92,5" RightGuard 25
MonGenP "3,212,92,5" LeftGuard 25

Delaygoto [Grobal] 270 @EventSabukBoss_7 10001

[@EventSabukBoss_7]
#ACT
Eventmsg "3" "The ForbiddenKing has brought his minions to take the wall!  Kill them before they kill you!" 10432
MonGenP "3,180,120,5" ForbiddenKing 1
MonGenP "3,180,120,5" ForbiddenGeneral 5
MonGenP "3,180,120,5" ForbiddenArcher 25
MonGenP "3,180,120,5" ForbiddenGuard 20
MonGenP "3,180,120,5" ForbiddenFighter 25
MonGenP "3,210,125,5" ForbiddenKing 1
MonGenP "3,210,125,5" ForbiddenGeneral 5
MonGenP "3,210,125,5" ForbiddenArcher 25
MonGenP "3,210,125,5" ForbiddenGuard 20
MonGenP "3,210,125,5" ForbiddenFighter 25
MonGenP "3,212,92,5" ForbiddenKing 1
MonGenP "3,212,92,5" ForbiddenGeneral 5
MonGenP "3,212,92,5" ForbiddenArcher 25
MonGenP "3,212,92,5" ForbiddenGuard 20
MonGenP "3,212,92,5" ForbiddenFighter 25

Delaygoto [Grobal] 270 @EventSabukBoss_8 10001

[@EventSabukBoss_8]
#ACT
Eventmsg "3" "AncientEmperor is HERE.. RUN FOR YOU LIVES!!" 10432
MonGenP "3,180,120,5" AncientEmperor 1
MonGenP "3,180,120,5" IncarnatedWooma 5
MonGenP "3,180,120,5" IncarnatedZuma 5
MonGenP "3,180,120,5" AncientRaider 25
MonGenP "3,180,120,5" AncientSpider 25
MonGenP "3,180,120,5" AncientMage 20
MonGenP "3,180,120,5" AncientMonkey 25
;MonGenP "3,210,125,5" AncientEmperor 1
MonGenP "3,210,125,5" IncarnatedWooma 5
MonGenP "3,210,125,5" IncarnatedZuma 5
MonGenP "3,210,125,5" AncientRaider 25
MonGenP "3,210,125,5" AncientSpider 25
MonGenP "3,210,125,5" AncientMage 20
MonGenP "3,210,125,5" AncientMonkey 25
;MonGenP "3,212,92,5" AncientEmperor 1
MonGenP "3,212,92,5" IncarnatedWooma 5
MonGenP "3,212,92,5" IncarnatedZuma 5
MonGenP "3,212,92,5" AncientRaider 25
MonGenP "3,212,92,5" AncientSpider 25
MonGenP "3,212,92,5" AncientMage 20
MonGenP "3,212,92,5" AncientMonkey 25

Delaygoto [Grobal] 330 @EventSabukBoss_9 10001

[@EventSabukBoss_9]
#ACT
Eventmsg "3" "It's feeling awfully cold round here.... DEADSOUL!!!" 10432
MonGenP "3,180,120,5" DeadSoul 1
MonGenP "3,180,120,5" IceMaiden 10
MonGenP "3,180,120,5" IceWolfKing 25
MonGenP "3,180,120,5" IceMaster 20
MonGenP "3,180,120,5" IceKnight 25
;MonGenP "3,215,145,5" DeadSoul 1
MonGenP "3,215,145,5" IceMaiden 10
MonGenP "3,215,145,5" IceWolfKing 25
MonGenP "3,215,145,5" IceMaster 20
MonGenP "3,215,145,5" IceKnight 25
;MonGenP "3,224,96,5" DeadSoul 1
MonGenP "3,224,96,5" IceMaiden 10
MonGenP "3,224,96,5" IceWolfKing 25
MonGenP "3,224,96,5" IceMaster 10
MonGenP "3,224,96,5" IceKnight 15

Delaygoto [Grobal] 420 @EventSabukBoss_10 10001

[@EventSabukBoss_10]
#ACT
Eventmsg "3" "BoneLord is here Lookout!!!" 10432
;MonGenP "3,180,120,5" Bonelord 1
MonGenP "3,180,120,5" BoneGeneral 3
MonGenP "3,180,120,5" BoneArcher 15
MonGenP "3,180,120,5" BoneBladeMan 20
MonGenP "3,180,120,5" BoneSpearman 25
MonGenP "3,180,120,5" BoneCaptain 25
MonGenP "3,215,140,5" Bonelord 1
MonGenP "3,215,140,5" BoneGeneral 3
MonGenP "3,215,140,5" BoneArcher 15
MonGenP "3,215,140,5" BoneBladeMan 20
MonGenP "3,215,140,5" BoneSpearman 25
MonGenP "3,215,140,5" BoneCaptain 25
;MonGenP "3,212,92,5" Bonelord 1
MonGenP "3,212,92,5" BoneGeneral 3
MonGenP "3,212,92,5" BoneArcher 15
MonGenP "3,212,92,5" BoneBladeMan 20
MonGenP "3,212,92,5" BoneSpearman 25
MonGenP "3,212,92,5" BoneCaptain 25

Delaygoto [Grobal] 480 @EventSabukBoss_11 10001

[@EventSabukBoss_11]
#ACT
Eventmsg "3" "Here Comes ToxinOma, Run Run Run!" 10432
;MonGenP "3,190,141,5" ToxinOma 1
MonGenP "3,190,141,5" HairyOma 1
MonGenP "3,190,141,5" SmellyOma 15
MonGenP "3,190,141,5" StinkyOma 20
MonGenP "3,190,141,5" MuckyOma 25
MonGenP "3,190,141,5" DirtyOma 25
MonGenP "3,225,95,5" ToxinOma 1
MonGenP "3,225,95,5" HairyOma 3
MonGenP "3,225,95,5" SmellyOma 15
MonGenP "3,225,95,5" StinkyOma 20
MonGenP "3,225,95,5" MuckyOma 25
MonGenP "3,225,95,5" DirtyOma 25

Delaygoto [Grobal] 180 @EventSabukBossEnd 10001

[@EventSabukBossEnd]
#ACT
Eventmsg "3" "Thats all for now... more to be added soon!" 10432
break

[@EventMiniSabukBoss_1]
#SAY
Event started.\\
#ACT
Eventmsg "3" "It's the WoomaTaurus and his gang. His reinforcements will arrive in 3 minutes! Kill fast!" 10432
MonGenP "3,180,120,5" WoomaTaurus 1
MonGenP "3,180,120,5" WoomaGuardian 5
MonGenP "3,180,120,5" WoomaSoldier 15
MonGenP "3,180,120,5" WoomaFighter 15
MonGenP "3,180,120,5" FlamingWooma 15
MonGenP "3,210,125,5" WoomaTaurus 1
MonGenP "3,210,125,5" WoomaGuardian 5
MonGenP "3,210,125,5" WoomaSoldier 15
MonGenP "3,210,125,5" WoomaFighter 15
MonGenP "3,210,125,5" FlamingWooma 15
MonGenP "3,212,92,5" WoomaTaurus 1
MonGenP "3,212,92,5" WoomaGuardian 5
MonGenP "3,212,92,5" WoomaSoldier 15
MonGenP "3,212,92,5" WoomaFighter 15
MonGenP "3,212,92,5" FlamingWooma 15

Delaygoto [Grobal] 180 @EventMiniSabukBoss_2 10001

[@EventMiniSabukBoss_2]
#ACT
Eventmsg "3" "The BoarKing and his cronies have come to support the Wooma's! The next wave will attack in 3mins!" 10432
MonGenP "3,180,120,5" BoarKing 1
MonGenP "3,180,120,5" WhiteBoar 5
MonGenP "3,180,120,5" RedBoar 20
MonGenP "3,180,120,5" BlackBoar 20
MonGenP "3,180,120,5" WedgeMoth 25
MonGenP "3,210,125,5" BoarKing 1
MonGenP "3,210,125,5" WhiteBoar 5
MonGenP "3,210,125,5" RedBoar 20
MonGenP "3,210,125,5" BlackBoar 20
MonGenP "3,210,125,5" WedgeMoth 25
MonGenP "3,212,92,5" BoarKing 1
MonGenP "3,212,92,5" WhiteBoar 5
MonGenP "3,212,92,5" RedBoar 20
MonGenP "3,212,92,5" BlackBoar 20
MonGenP "3,212,92,5" WedgeMoth 25

Delaygoto [Grobal] 180 @EventMiniSabukBoss_3 10001

[@EventMiniSabukBoss_3]
#ACT
Eventmsg "3" "They've used HoneyBombs! The insects are infesting the castle! Exterminate the bugs before the next attack force arrives.  4mins!" 10432
MonGenP "3,180,120,5" EvilCentipede 1
MonGenP "3,180,120,5" GreatTongs 5
MonGenP "3,180,120,5" Tongs 25
MonGenP "3,180,120,5" BlackMaggot 20
MonGenP "3,180,120,5" Centipede 25
MonGenP "3,210,125,5" EvilCentipede 1
MonGenP "3,210,125,5" GreatTongs 5
MonGenP "3,210,125,5" Tongs 25
MonGenP "3,210,125,5" BlackMaggot 20
MonGenP "3,210,125,5" Centipede 25
MonGenP "3,212,92,5" EvilCentipede 1
MonGenP "3,212,92,5" GreatTongs 5
MonGenP "3,212,92,5" Tongs 25
MonGenP "3,212,92,5" BlackMaggot 20
MonGenP "3,212,92,5" Centipede 25

Delaygoto [Grobal] 240 @EventMiniSabukBoss_4 10001

[@EventMiniSabukBoss_4]
#ACT
Eventmsg "3" "The monstrous ZumaTemple beasts are flocking over the walls. We've only got 4mins until the next wave!" 10432
MonGenP "3,180,120,5" ZumaTaurus 1
MonGenP "3,180,120,5" ZumaGuard 5
MonGenP "3,180,120,5" ZumaArcher 25
MonGenP "3,180,120,5" ZumaStatue 20
MonGenP "3,180,120,5" KillerRat 25
MonGenP "3,210,125,5" ZumaTaurus 1
MonGenP "3,210,125,5" ZumaGuard 5
MonGenP "3,210,125,5" ZumaArcher 25
MonGenP "3,210,125,5" ZumaStatue 20
MonGenP "3,210,125,5" KillerRat 25
MonGenP "3,212,92,5" ZumaTaurus 1
MonGenP "3,212,92,5" ZumaGuard 5
MonGenP "3,212,92,5" ZumaArcher 25
MonGenP "3,212,92,5" ZumaStatue 20
MonGenP "3,212,92,5" KillerRat 25

Delaygoto [Grobal] 240 @EventMiniSabukBoss_5 10001

[@EventMiniSabukBoss_5]
#ACT
Eventmsg "3" "The beasts of Red Moon Valley are here!. We've only got 5 mins until the next wave!" 10432
MonGenP "3,225,95,5" RedMoonEvil 1
MonGenP "3,225,95,5" GreatDarkArachnid 3
MonGenP "3,225,95,5" ApeKing 3
MonGenP "3,225,95,5" EvilApe 25
MonGenP "3,225,95,5" SpiderBat 20
MonGenP "3,225,95,5" VenomArachnid 25
MonGenP "3,225,95,5" DarkArachnid 25
MonGenP "3,225,95,5" GrenadeArachnid 15
MonGenP "3,192,144,5" RedMoonEvil 1
MonGenP "3,192,144,5" GreatDarkArachnid 3
MonGenP "3,192,144,5" ApeKing 3
MonGenP "3,192,144,5" EvilApe 25
MonGenP "3,192,144,5" SpiderBat 20
MonGenP "3,192,144,5" VenomArachnid 25
MonGenP "3,192,144,5" DarkArachnid 25
MonGenP "3,192,144,5" GrenadeArachnid 15

Delaygoto [Grobal] 300 @EventMiniSabukBoss_6 10001

[@EventMiniSabukBoss_6]
#ACT
Eventmsg "3" "There! On the horizon! MINOTAURS!!!  Kill them before they burn down the palace! 5mins to go!" 10432
MonGenP "3,180,120,5" MinoTaurKing 1
MonGenP "3,180,120,5" MinotaurChief 5
MonGenP "3,180,120,5" IceMinotaur 25
MonGenP "3,180,120,5" WindMinotaur 20
MonGenP "3,180,120,5" RightGuard 25
MonGenP "3,180,120,5" LeftGuard 25
MonGenP "3,212,92,5" MinoTaurKing 1
MonGenP "3,212,92,5" MinotaurChief 5
MonGenP "3,212,92,5" IceMinotaur 25
MonGenP "3,212,92,5" WindMinotaur 20
MonGenP "3,212,92,5" RightGuard 25
MonGenP "3,212,92,5" LeftGuard 25
MonGenP "3,210,125,5" MinotaurChief 5
MonGenP "3,210,125,5" IceMinotaur 30
MonGenP "3,210,125,5" WindMinotaur 30
MonGenP "3,210,125,5" RightGuard 25
MonGenP "3,210,125,5" LeftGuard 25

Delaygoto [Grobal] 300 @EventMiniSabukBoss_7 10001

[@EventMiniSabukBoss_7]
#ACT
Eventmsg "3" "The ForbiddenKing has brought his minions to take the wall!  Kill them before they kill you!" 10432
MonGenP "3,180,120,5" ForbiddenKing 1
MonGenP "3,180,120,5" ForbiddenGeneral 5
MonGenP "3,180,120,5" ForbiddenArcher 25
MonGenP "3,180,120,5" ForbiddenGuard 20
MonGenP "3,180,120,5" ForbiddenFighter 25
MonGenP "3,212,92,5" ForbiddenKing 1
MonGenP "3,212,92,5" ForbiddenGeneral 5
MonGenP "3,212,92,5" ForbiddenArcher 25
MonGenP "3,212,92,5" ForbiddenGuard 20
MonGenP "3,212,92,5" ForbiddenFighter 25
MonGenP "3,210,125,5" ForbiddenGeneral 5
MonGenP "3,210,125,5" ForbiddenArcher 25
MonGenP "3,210,125,5" ForbiddenGuard 20
MonGenP "3,210,125,5" ForbiddenFighter 25

Delaygoto [Grobal] 300 @EventMiniSabukBoss_8 10001

[@EventMiniSabukBoss_8]
#ACT
Eventmsg "3" "AncientEmperor is HERE.. RUN FOR YOU LIVES!!" 10432
MonGenP "3,180,120,5" AncientEmperor 1
MonGenP "3,180,120,5" IncarnatedWooma 5
MonGenP "3,180,120,5" IncarnatedZuma 5
MonGenP "3,180,120,5" AncientRaider 25
MonGenP "3,180,120,5" AncientSpider 25
MonGenP "3,180,120,5" AncientMage 20
MonGenP "3,180,120,5" AncientMonkey 25
MonGenP "3,212,92,5" AncientEmperor 1
MonGenP "3,212,92,5" IncarnatedWooma 5
MonGenP "3,212,92,5" IncarnatedZuma 5
MonGenP "3,212,92,5" AncientRaider 25
MonGenP "3,212,92,5" AncientSpider 25
MonGenP "3,212,92,5" AncientMage 20
MonGenP "3,212,92,5" AncientMonkey 25
MonGenP "3,210,125,5" IncarnatedWooma 5
MonGenP "3,210,125,5" IncarnatedZuma 5
MonGenP "3,210,125,5" AncientRaider 25
MonGenP "3,210,125,5" AncientSpider 25
MonGenP "3,210,125,5" AncientMage 20
MonGenP "3,210,125,5" AncientMonkey 25

Delaygoto [Grobal] 240 @EventMiniSabukBossEnd 10001

[@EventMiniSabukBossEnd]
#ACT
Eventmsg "3" "Thats all for now..." 10432
break


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;