ACTOR SummonZamasuBeaconMid : RandomSpawner
{
DropItem "ZamasuZombie", 256, 80
DropItem "ZamasuImp", 256, 75
DropItem "ZamasuJetpackZombie", 256, 60
DropItem "ZamasuCirnoBaka", 256, 50
DropItem "ZamasuArmor", 256, 45
DropItem "ZamasuBarrelman", 256, 40
DropItem "ZamasuGodArmorTear1", 256, 25
}

ACTOR ZamasuBeaconMid : CustomInventory 
{
//Creator Jason
//Original Sprite " God Complex Doom "
//$Sprite ZBES
//$Title "Beacon"
  +INVBAR
  Inventory.MaxAmount 1
  Inventory.InterHubAmount 3
  Inventory.Icon "ZBEBA0"
  Inventory.PickupSound "NemesisRune/Pickup"
  Inventory.PickupMessage "Zamasu Beacon!"
  Tag "Beacon - Summons Zamasu Enemies"
  States
  {
  Spawn:
    ZBES A -1
	ZBES A 1 Bright A_SpawnItemEx("NemSphereSmoke",random(-12,12),random(-12,12),random(2,16),frandom(-0.4,0.4),frandom(-0.4,0.4),frandom(0,2),0,0,64)
	TNT1 A 0 A_SpawnItemEx("NemesisArmorFX",random(-12,12),random(-12,12),random(-12,12),random(-2,2),random(-2,2),random(-2,2),random(-20,20))
	Loop
  Use:
    TNT1 A 1 A_SpawnItemEx ("ZamasuMidActiveBeacon", 56, 0, 8, 0, 0, 0, 0, 1)
    Stop
  }
}

actor ZamasuMidActiveBeacon
{
  -SOLID
  -SHOOTABLE
  +FRIENDLY
  States
  {
  Spawn:
    ZBES A 105
    ZBES A 0 A_CustomMissile ("TeleportFog", 0, 0, 0, 0, 0)
    ZBES A 0 A_SpawnItemEx ("SummonZamasuBeaconMid", 0, 0, 8, 0, 0, 0, 0, 1)
    goto Death
  Death:
    TNT1 A 1 A_CustomMissile ("TeleportFog", 0, 0, 0, 0, 0)
    stop
  }
}