sBoss1Fball2
0
-1
0
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
gravity_direction = 270;
gravity = 0.2;
hpush = 5;
vpush = -3;
//damage = 15;
damage = global.mod_arachnusfireballgreen;
hits = 0;
1
603
7
0
0
-1
2
self
0
0
1
image_angle += 30;
if (y > 208) {
CollisionBottom = 1;
} else CollisionBottom = 0;
if (x < 32) {
CollisionLeft = 1;
} else CollisionLeft = 0;
if (x > 288) {
CollisionRight = 1;
} else CollisionRight = 0;
if (CollisionRight && hspeed > 0) {
hspeed *= -1;
sfx_play(sndProjHit1);
make_smoke_explosion(x, y);
}
if (CollisionLeft && hspeed < 0) {
hspeed *= -1;
sfx_play(sndProjHit1);
make_smoke_explosion(x, y);
}
if (CollisionBottom && vspeed > 0) {
instance_create(x, 208, oArachnusFBExpl3);
sfx_play(sndProjHit1);
vspeed = -4;
hspeed *= 0.95;
hits += 1;
if (hits == 10) instance_destroy();
}
1
603
7
0
0
-1
2
self
0
0
1
damage_player(damage, hpush, vpush, 0, 0);
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1