sGunzooShotB
0
-1
-10
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
damage = 40;
hpush = 5;
vpush = -3;
active = 0;
alarm[0] = 10;
alarm[1] = 150;
image_alpha = 0;
image_speed = 0.5;
1
603
7
0
0
-1
2
self
0
0
1
expl = instance_create(x, y, oFXAnimSpark);
expl.image_speed = 0.5;
expl.additive = 0;
expl.depth = -5;
expl.sprite_index = sGunzooShotExpl;
1
603
7
0
0
-1
2
self
0
0
1
instance_destroy();
1
603
7
0
0
-1
2
self
0
0
1
active = 1;
speed = 2;
direction = random(360);
1
603
7
0
0
-1
2
self
0
0
1
if (image_alpha < 1) image_alpha += 0.1;
if (active) {
if (x > oCharacter.x) hspeed -= 0.08;
if (x < oCharacter.x) hspeed += 0.08;
if (y > oCharacter.y - 15) vspeed -= 0.05;
if (y < oCharacter.y - 15) vspeed += 0.05;
if (speed > 2) speed = 2;
}
1
603
7
0
0
-1
2
self
0
0
1
move_bounce_all(0);
1
603
7
0
0
-1
2
self
0
0
1
damage_player(damage, hpush, vpush, 0, 0);
instance_create(x, y, oElectricSpark);
instance_destroy();
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1