//BEGIN: Guarded Compound
/////////////////////////

//Koshi
///////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlkoshi")
THEN
   RESPONSE #100
      TakeItemReplace("DeITM045","SW1H44","hlkoshi") // Destruction
      Continue()
END

//Olaf Rassmusen
////////////////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlolaf")
THEN
   RESPONSE #100
      TakeItemReplace("DeITM016","SW2H11","hlolaf") // Grayskull
      ActionOverride("hlolaf",SelectWeaponAbility(SLOT_WEAPON,0))
      Continue()
END

//Maferan
/////////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlmafer")
THEN
   RESPONSE #100
      TakeItemReplace("DeITM006","AX1H09","hlmafer") // Emerald Axe
      ActionOverride("hlmafer",SelectWeaponAbility(SLOT_WEAPON,0))
      Continue()
END

//Stalman
/////////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlstal")
THEN
   RESPONSE #100
      TakeItemReplace("DeITM050","BLUN21","hlstal") // Opposing Force
      ActionOverride("hlstal",SelectWeaponAbility(SLOT_WEAPON,0))
      Continue()
END

//Ketta
///////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlketta")
THEN
   RESPONSE #100
      TakeItemReplace("DeITM023","SW1H09","hlketta") // Assassin's Quarry
      ActionOverride("hlketta",SelectWeaponAbility(SLOT_WEAPON,0))
      Continue()
END

//Sion
//////

IF
   Global("DeSpawnItem","AR0907",0)
   Exists("hlsion")
THEN
   RESPONSE #100
      GiveItemCreate("DeITM026","hlsion",0,0,0) // Thunder's Bane
      ActionOverride("hlsion",FillSlot(SLOT_WEAPON))
      ActionOverride("hlsion",SelectWeaponAbility(SLOT_WEAPON,0))
      Continue()
END

//END: Guarded Compound
///////////////////////

IF
   Global("DeSpawnItem","AR0907",0)
THEN
   RESPONSE #100
      SetGlobal("DeSpawnItem","AR0907",1)
      Continue()
END
