sBoss1Block
0
-1
-90
0
oMovingSolid
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
image_yscale = 5;
makeActive();
alarm[0] = 120;
alarm[1] = 120;
alarm[2] = 60;
moving = 0;
facing = 0;
spikeoffset = 18;
spike = instance_create(x, y - 80, oSpikes1);
spike.image_yscale = 5;
1
603
7
0
0
-1
2
self
0
0
1
with (spike) instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
block = instance_create(x, y, oBoss1Block3);
block.facing = facing;
instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
if (spikeoffset > 0) {
spikeoffset -= 1;
alarm[2] = 2;
}
1
603
7
0
0
-1
2
self
0
0
1
smk = instance_create(x - 16 + random(32), y, oFXAnimSpark);
smk.image_speed = 0.5;
smk.additive = 0;
smk.sprite_index = sSmoke1;
smk.image_alpha = 0.6;
smk.depth = -95;
if (oBoss1Head.myhealth > 0) alarm[1] = 5;
1
603
7
0
0
-1
2
self
0
0
1
if (oBoss1Head.myhealth > 0) alarm[0] = 30;
moving = 5;
1
603
7
0
0
-1
2
self
0
0
1
if (facing == 1) spike.x = x + 18 - spikeoffset;
if (facing == -1) spike.x = x - 34 + spikeoffset;
if (moving) {
xVel = facing * 0.1;
} else xVel = 0;
if (moving > 0) moving -= 1;
if (oBoss1Head.myhealth <= 0) {
xVel = 0;
if (spikeoffset < 26) spikeoffset += 1;
}
1
603
7
0
0
-1
2
self
0
0
1
if (facing == 1) {
i = 1;
repeat (10) {
draw_sprite_ext(sBoss1Spike, -1, x + 18 - spikeoffset, y - 8 * i, 1, 1, 0, -1, 1);
i += 1;
}
}
if (facing == -1) {
i = 1;
repeat (10) {
draw_sprite_ext(sBoss1Spike, -1, x - 18 + spikeoffset, y - 8 * i, -1, 1, 0, -1, 1);
i += 1;
}
}
draw_sprite_ext(sprite_index, -1, x, y, facing, 1, 0, -1, 1);
draw_sprite_ext(sprite_index, -1, x, y - 32, facing, 1, 0, -1, 1);
draw_sprite_ext(sprite_index, -1, x, y - 64, facing, 1, 0, -1, 1);
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
0