Skip to content

Instantly share code, notes, and snippets.

@kmeaw
Created October 6, 2021 15:03
Show Gist options
  • Save kmeaw/85289f55c8176470dc1b022acbb7cdf4 to your computer and use it in GitHub Desktop.
Save kmeaw/85289f55c8176470dc1b022acbb7cdf4 to your computer and use it in GitHub Desktop.
script 60 (void) // addr = 219, flags=0000
{
int local0, local1;
int goto_block;
switch (goto_block) {
case 0:
local0 = 0;
local1 = 40;
GiveInventory("Crossbow", 1);
GiveInventory("Blaster", 1);
GiveInventory("SkullRod", 1);
GiveInventory("PhoenixRod", 1);
GiveInventory("Mace", 1);
GiveInventory("GoldWandAmmo", 999);
GiveInventory("CrossbowAmmo", 999);
GiveInventory("BlasterAmmo", 999);
GiveInventory("SkullRodAmmo", 999);
GiveInventory("PhoenixRodAmmo", 999);
GiveInventory("MaceAmmo", 999);
GiveInventory("ArtiSuperHealth", 4);
GiveInventory("ArtiTomeOfPower", 8);
GiveInventory("EnchantedShield", 1);
goto_block = 2; restart;
case 2:
if (!(local0 != local1)) {
Terminate;
}
Delay((35 * 35));
Thing_Spawn(25, 130, 0);
SpawnSpot("Wizard", 25, 0, 192);
local0++;
Delay((35 * 35));
Thing_Spawn(25, 130, 0);
SpawnSpot("BishopHOC", 25, 0, 192);
local0++;
Delay((35 * 35));
Thing_Spawn(25, 130, 0);
SpawnSpot("CacodemonHOC", 25, 0, 192);
local0++;
Delay((35 * 35));
Thing_Spawn(25, 130, 0);
SpawnSpot("PainElementalHOC", 25, 0, 192);
local0++;
goto_block = 2; restart;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment