Code: Select all
script 8 (void) {
SetMusic("D_NULL");
SetPlayerProperty(1, 1, PROP_TOTALLYFROZEN);
Delay(35*2);
ChangeCamera(999, 0, 0);
Delay(35*2);
ChangeFloor(1002, "GATE3");
Floor_RaiseByValue(1002, 25, 16);
Floor_RaiseByValue(669, 25, 320);
Delay(35*10);
hudmessage(s:"No... NO!!"; HUDMSG_PLAIN, 1, CR_GREEN, 1.5, 0.5, 3.0);
Delay(35*5);
ActivatorSound("brain/pain", 127);
hudmessage(s:"HAHAHAHAHAHA!!!"; HUDMSG_PLAIN, 1, CR_RED, 1.5, 0.5, 5.0);
Delay(35*6);
ActivatorSound("brain/sight", 127);
hudmessage(s:"Greetings mortal..."; HUDMSG_PLAIN, 1, CR_RED, 1.5, 0.5,
3.0);
Delay(35*4);
ActivatorSound("brain/sight", 127);
hudmessage(s:"... are you ready to die?"; HUDMSG_PLAIN, 1, CR_RED, 1.5,
0.5, 3.0);
Delay(35*4);
hudmessage(s:"Fuck you!!!"; HUDMSG_PLAIN, 1, CR_GREEN, 1.5, 0.5, 2.0);
Delay(35*3);
ActivatorSound("brain/pain", 127);
hudmessage(s:"DIE!!!"; HUDMSG_PLAIN, 1, CR_RED, 1.5, 0.5, 3.0);
Delay(35*4);
SetPlayerProperty(1, 0, PROP_TOTALLYFROZEN);
ChangeCamera(0, 0, 0);
BossHealth = 100;
ACS_ExecuteAlways(9, 1);
ACS_ExecuteAlways(10, 1);
SetMusic("D_PARTY");
}
script 9 (void) {
if (BossHealth == 0) {
//TODO: End boss
} else {
if (BossHealth <= 100) {
SetFont("BOSSB4");
} else if (BossHealth < 75) {
SetFont("BOSSB3");
} else if (BossHealth < 50) {
SetFont("BOSSB2");
} else if (BossHealth < 25) {
SetFont("BOSSB1");
}
hudmessage(s:"a"; HUDMSG_PLAIN, 999, CR_UNTRANSLATED, 0.1, 1.1,
1);
Delay(1);
Restart;
}
}
script 10 (void) {
if (BossHealth > 0) {
SpawnSpot("WallyBear", 900, 0, 64);
SpawnSpot("WallyBear", 901, 0, 64);
Delay(35*20);
Restart;
}
}
script 11 (void) {
BossHealth--;
}
script 12 (void) {
if (ThingCount(0, 2001) == 0) {
ACS_Execute(8, 1);
}
}