sA2BigTurbine
0
-1
-101
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
if (global.event[101] > 0) {
instance_destroy();
} else {
myhealth = 100;
stun = 0;
flashing = 0;
fxtimer = 0;
wall = instance_create(x + 16, y, oSolid1x4);
hitsound = sndRobotHit1;
deathsound = sndRobotExpl;
}
1
603
7
0
0
-1
2
self
0
0
1
if (stun > 0) stun -= 1;
if (flashing > 0) flashing -= 1;
if (fxtimer < 5) {
fxtimer += 1;
} else fxtimer = 0;
1
603
7
0
0
-1
2
self
0
0
1
if (stun == 0) event_user(0);
with (other) event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
with (other) {
event_user(1);
instance_destroy();
}
1
603
7
0
0
-1
2
self
0
0
1
if (stun == 0) event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
if (stun == 0) event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
if (stun == 0) event_user(0);
1
603
7
0
0
-1
2
self
0
0
1
expl = instance_create(x + 24, y + 30, oFXAnimSpark);
expl.image_speed = 0.5;
expl.additive = 0;
expl.sprite_index = sExpl1;
repeat (8) {
expl = instance_create(x + 10 + random(30), y + 10 + random(50), oFXAnimSpark);
expl.image_speed = 0.4 + random(0.4);
expl.additive = 0;
expl.sprite_index = sExpl1;
}
repeat (20) instance_create(x + 2, y + 30, oDebris);
PlaySoundMono(deathsound);
o = instance_create(x, y, oMoveWater);
o.targety = 1552;
o.delay = 2;
global.event[101] = 1;
instance_create(x - 120, y, oBubbleSpawner);
with (wall) instance_destroy();
instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
myhealth -= other.damage;
if (myhealth <= 0) event_user(1);
stun = 4;
flashing = 5;
fxtimer = 0;
PlaySoundMono(hitsound);
1
603
7
0
0
-1
2
self
0
0
1
if (!flashing) draw_sprite_ext(sprite_index, -1, x, y, image_xscale, 1, image_angle, -1, image_alpha);
if (flashing) {
draw_sprite_ext(sprite_index, -1, x, y, image_xscale, 1, image_angle, make_color_rgb(80, 80, 80), 1);
draw_set_blend_mode(bm_add);
repeat (3) draw_sprite_ext(sprite_index, -1, x, y, image_xscale, 1, image_angle, -1, 1 - fxtimer * 0.25);
draw_set_blend_mode(bm_normal);
}
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1