55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
|
possible = 0
|
||
|
|
||
|
untouchable = 0
|
||
|
if global.shottype != 8
|
||
|
{if distance_to_point(512,200) > 2
|
||
|
move_towards_point(512,200,2);
|
||
|
global.shottype = 9}
|
||
|
if shooting = 1
|
||
|
{
|
||
|
repeat (2)
|
||
|
{
|
||
|
repeat (5*global.RANK)
|
||
|
{
|
||
|
if global.steppers < 0
|
||
|
{
|
||
|
stuff = instance_create(x,y,obj_bullet_boss_9);
|
||
|
with (stuff)
|
||
|
{
|
||
|
direction = (global.steppers + obj_bossSprite.wara + global.blanks);
|
||
|
speed = 4;
|
||
|
}
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
stuff = instance_create(x,y,obj_bullet_boss_10);
|
||
|
with (stuff)
|
||
|
{
|
||
|
direction = (global.steppers - obj_bossSprite.wara - global.blanks - obj_bossSprite.wara);
|
||
|
speed = 3;
|
||
|
}
|
||
|
}
|
||
|
global.blanks += 18/global.RANK
|
||
|
}
|
||
|
global.steppers = -global.steppers
|
||
|
}
|
||
|
alarm[9] = 15;
|
||
|
sound_play(snd_themshoot);
|
||
|
}
|
||
|
global.steppers += 10
|
||
|
global.wara += 5
|
||
|
if global.bossHP > 20000
|
||
|
global.currentmin = 20000
|
||
|
if global.bossHP < 20001 and global.bossHP > 4000
|
||
|
{
|
||
|
global.bossHP = 20000
|
||
|
untouchable = 1
|
||
|
global.lives += 1
|
||
|
sound_play(snd_attackcomplete)
|
||
|
alarm[0] = 60
|
||
|
alarm[9] = -1
|
||
|
with (obj_bullet_boss_Base)
|
||
|
instance_destroy();
|
||
|
}
|
||
|
|