action_set_relative(0); repeat( 2 )action_create_object_motion(obj_player_beams, x, y, 18, direction - 5 + random(10)); var __b__; __b__ = action_if_variable(global.nova_time, 0, 2); if __b__ { { action_create_object_motion(obj_player_beams, x+20, y, 15, global.nova_time*3); action_create_object_motion(obj_player_beams, x+5, y-15, 15, 60+global.nova_time*3); action_create_object_motion(obj_player_beams, x-5, y-15, 15, 120+global.nova_time*3); action_create_object_motion(obj_player_beams, x-20, y, 15, 180+global.nova_time*3); action_create_object_motion(obj_player_beams, x-5, y+15, 15, 240+global.nova_time*3); action_create_object_motion(obj_player_beams, x+5, y+15, 15, 300+global.nova_time*3); { action_set_relative(1); global.nova_time += -1; action_set_relative(0); } } } { action_set_relative(1); global.hypertime += -1; action_set_relative(0); } { action_set_relative(1); global.shield += -1; action_set_relative(0); } __b__ = action_if_variable(global.player_hp, 0, 1); if __b__ { { action_kill_object(); } } action_set_relative(0);