IF
   Global("RukrakiaMageCome","GLOBAL",7)
THEN
   RESPONSE 100
      SetGlobal("RukrakiaMageCome","GLOBAL",8)
      Explore()
      CreateCreature("rukstorm",[545.497],6)
      CreateCreature("rukstorm",[598.446],5)
      CreateCreature("rukstorm",[665.355],4)
      CreateCreature("rukstorm",[651.220],5)
      CreateCreature("rukstorm",[578.259],6)
      CreateCreature("rukstorm",[240.507],4)
      CreateCreature("rukstorm",[175.589],5)
      CreateCreature("rukstorm",[367.644],6)
      CreateCreature("rukstorm",[493.506],5)
      CreateCreature("rukstorm",[574.33],4)
      CreateCreature("rukcrusa",[49.271],0)
      CreateCreature("rukcrusa",[189.315],0)
      CreateCreature("rukcrusa",[350.309],0)
      CreateCreature("rukcrusa",[426.228],0)
      CreateCreature("rukcrusa",[320.29],0)
      CreateCreature("rukcrusa",[258.11],0)
      CreateCreature("rukpries",[595.486],6)
      CreateCreature("rukpries",[377.522],6)
      CreateCreature("rukpries",[621.209],7)
      CreateCreature("rukamild",[558.377],7)
      CreateCreature("rukadelb",[403.272],5)
      ActionOverride(Player1,ClearAllActions())
      ActionOverride(Player1,StartCutSceneMode())
      ActionOverride(Player1,StartCutScene("RU_AR68M"))
END

IF
   Global("RukrakiaCreation","GLOBAL",0)
THEN
   RESPONSE 100
      SetGlobal("RukrakiaCreation","GLOBAL",1)
      CreateCreature("rukrakia",[375.695],8)
      StartCutScene("ruksfix")
      SetGlobalTimer("RU_CorpsesDelay","GLOBAL",ONE_DAY)
END

IF
   Global("EraseCorpse","ru6700",0)
   GlobalTimerExpired("RU_CorpsesDelay","GLOBAL")
THEN
   RESPONSE 100
      SetGlobal("EraseCorpse","ru6700",1)
      ActionOverride("DEADB01",DestroySelf())
      ActionOverride("DEADB02",DestroySelf())
      ActionOverride("DEADB03",DestroySelf())
      ActionOverride("RU_DEAD1",DestroySelf())
      ActionOverride("RU_DEAD2",DestroySelf())
      ActionOverride("RU_DEAD3",DestroySelf())
      ActionOverride("RU_DEAD4",DestroySelf())
END

IF
   Global("RukrakiaMageCome","GLOBAL",10)
THEN
   RESPONSE 100
      ClearAllActions()
      StartCutSceneMode()
      StartCutScene("RUMAGEST")
END

IF
   Global("RukrakiaMageCome","GLOBAL",8)
   GlobalTimerExpired("RukrakiaMageTimer","GLOBAL")
THEN
   RESPONSE 100
      SetGlobal("RukrakiaMageCome","GLOBAL",12)
END

IF
   Global("RukrakiaMageCome","GLOBAL",13)
   NumDeadGT("rukcrusa",3)
   NumDeadGT("rukstorm",5)
   Dead("rukadelb")
   Dead("rukpries")
   Dead("rukamild")
   !Dead("rukmage1")
   !Dead("rukrakia")
THEN
   RESPONSE 100
      SetGlobal("RukrakiaMageCome","GLOBAL",14)
END

IF
   Global("RukrakiaMageCome","GLOBAL",13)
   NumDeadGT("rukcrusa",3)
   NumDeadGT("rukstorm",5)
   Dead("rukadelb")
   Dead("rukpries")
   Dead("rukamild")
   Dead("rukmage1")
   !Dead("rukrakia")
THEN
   RESPONSE 100
      SetGlobal("RukrakiaMageCome","GLOBAL",15)
END

IF
   Global("RukrakiaMageCome","GLOBAL",13)
   NumDeadGT("rukcrusa",3)
   NumDeadGT("rukstorm",5)
   Dead("rukadelb")
   Dead("rukpries")
   Dead("rukamild")
   !Dead("rukmage1")
   Dead("rukrakia")
THEN
   RESPONSE 100
      SetGlobal("RukrakiaMageCome","GLOBAL",19)
END