43 lines
876 B
Plaintext
Executable File
43 lines
876 B
Plaintext
Executable File
possible = 1
|
|
untouchable = 0
|
|
if global.shottype != 8
|
|
global.shottype = 7
|
|
if shooting = 1
|
|
{
|
|
repeat (global.RANK + 1)
|
|
{
|
|
stuff = instance_create(x,y,obj_bullet_boss_11);
|
|
with (stuff)
|
|
{
|
|
direction = global.ero + global.modos
|
|
speed = 6
|
|
}
|
|
global.ero += 360/(global.RANK+1)
|
|
}
|
|
sound_play(snd_themshoot);
|
|
global.modos += 10
|
|
alarm[6] = 45;
|
|
}
|
|
if global.bossHP > 4500
|
|
global.currentmin = 4500
|
|
if global.bossHP < 4500 and global.bossHP > 4000
|
|
{
|
|
global.bossHP = 4500
|
|
untouchable = 1
|
|
global.lives += 1
|
|
sound_play(snd_attackcomplete)
|
|
alarm[7] = 120
|
|
alarm[6] = -1
|
|
with (obj_bullet_boss_Base)
|
|
instance_destroy();
|
|
}
|
|
if global.bossHP < 1
|
|
{
|
|
with (obj_bullet_boss_Base)
|
|
{
|
|
instance_destroy();
|
|
}
|
|
alarm[6] = -1
|
|
}
|
|
|