sPowerBombBlast
0
-1
-1000
0
<undefined>
<undefined>
1
603
7
0
0
-1
2
self
0
0
1
fadeout = 0;
image_xscale = 0.2;
image_yscale = 0.2;
exploff = 640;
alarm[10] = 180;
alarm[1] = 60;
whitealpha = 0;
global.enablecontrol = 0;
with (oCharacter) {
state = 43;
statetime = 0;
xVel = 0;
yVel = 0;
}
with (oControl) displaygui = 0;
repeat (20) make_explosion1big(random(room_width), random(room_height));
sfx_stop_all();
sfx_play(sndA4ExplFinal);
mus_stop_all();
1
603
7
0
0
-1
2
self
0
0
1
global.enablecontrol = 1;
view_xview[0] = 0;
view_yview[0] = 0;
global.vibL = 0;
global.vibR = 0;
global.ingame = 0;
global.darkness = 0;
with (oControl) displaygui = 1;
remove_persistent_objects();
room_change(2, 0);
1
603
7
0
0
-1
2
self
0
0
1
alarm[1] = 1;
if (!fadeout) {
if (whitealpha < 1) whitealpha += 0.05;
} else if (whitealpha > 0) whitealpha -= 0.01;
1
603
7
0
0
-1
2
self
0
0
1
fadeout = 1;
1
603
7
0
0
-1
2
self
0
0
1
image_xscale += 0.08;
image_yscale += 0.08;
1
603
7
0
0
-1
2
self
0
0
1
if (!fadeout) {
draw_set_blend_mode(bm_add);
draw_sprite_ext(sprite_index, -1, x, y, image_xscale, image_yscale, image_angle, -1, image_alpha);
draw_sprite_ext(sprite_index, -1, x, y, image_xscale * -1, image_yscale, image_angle, -1, image_alpha);
draw_sprite_ext(sprite_index, -1, x, y, image_xscale * -1, image_yscale * -1, image_angle, -1, image_alpha);
draw_sprite_ext(sprite_index, -1, x, y, image_xscale, image_yscale * -1, image_angle, -1, image_alpha);
draw_set_blend_mode(bm_normal);
}
draw_set_blend_mode(bm_add);
draw_set_color(c_white);
draw_set_alpha(whitealpha);
draw_rectangle(view_xview[0], view_yview[0], view_xview[0] + view_wview[0], view_yview[0] + view_hview[0], false);
draw_set_alpha(1);
draw_set_blend_mode(bm_normal);
0
0
0
0.5
0.100000001490116
0
0.100000001490116
0.100000001490116
0.200000002980232
-1
-1