sEDTrigger 0 -1 -10 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 yoff = 0; alarm[0] = 1; alarm[1] = 1; widescreen_space = oControl.widescreen_space; 1 603 7 0 0 -1 2 self 0 0 1 alarm[1] = 10; bubble = instance_create(x + random(64), global.waterlevel + 10, oLBubble); if (instance_exists(bubble)) { bubble.vspeed = 1.5 - random(0.8); with (bubble) if ((x < (view_xview[0] - (oControl.widescreen_space/2))) || (x > (view_xview[0] + view_wview[0] + (oControl.widescreen_space/2)))) instance_destroy(); // if (x < view_xview[0] || x > view_xview[0] + view_wview[0]) instance_destroy(); } 1 603 7 0 0 -1 2 self 0 0 1 alarm[0] = 1; w = instance_create(x + random(64), global.waterlevel - 1, oFXAnimSpark); w.image_speed = 0.25 + random(0.5); w.additive = 0; w.sprite_index = sWaterSplash; w.image_alpha = 0.8; w.depth = -15; with (w) if ((x < (view_xview[0] - (oControl.widescreen_space/2))) || (x > (view_xview[0] + view_wview[0] + (oControl.widescreen_space/2)))) instance_destroy(); 1 603 7 0 0 -1 2 self 0 0 1 yoff += 8; if (yoff > 128) yoff = 0; 1 603 7 0 0 -1 2 self 0 0 1 with (other) { if (fxtimer == 0 || fxtimer == 2 || fxtimer == 4) { repeat (2) { expl = instance_create(x, y - 16, oFXAnimSpark); expl.image_speed = 0.2; expl.additive = 0; expl.sprite_index = sWaterParticle; expl.direction = 45 + random(90); expl.speed = 1 + random(1); expl.gravity_direction = 270; expl.gravity = 0.2; } } if (global.currentsuit < 2) waterfall = 2; } 1 603 7 0 0 -1 2 self 0 0 1 mid_y = y + yoff; bottom_y = y + 128 + yoff; if (((x + 64) > (view_xview[0] - (widescreen_space/2))) && (x < (view_xview[0] + view_wview[0] + (widescreen_space/2)))) { draw_set_blend_mode(bm_add); draw_set_color(make_colour_rgb(10, 10, 80)); draw_rectangle(x + 2, y, x + 61, global.waterlevel, false); draw_background(bgWaterfall, x, y - 128 + yoff); draw_background_part(bgWaterfall, 0, 0, 64, global.waterlevel - mid_y, x, mid_y); if (bottom_y < global.waterlevel) draw_background_part(bgWaterfall, 0, 0, 64, global.waterlevel - bottom_y, x, bottom_y); draw_set_blend_mode(bm_normal); } 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 -1