siner += 1; hscroll += 1; if (hscroll > 240) hscroll -= 240; if (adjust == 0) { colcol = make_color_hsv(siner / 4, 160 + (sin(siner / 32) * 60), 255); __background_set_colour(make_color_hsv(siner / 4, 255, (sin(siner / 16) * 40) + 60)); } if (adjust == 1) { colcol = merge_color(colcol, c_white, 0.06); __background_set_colour(merge_color(__background_get_colour(), c_black, 0.06)); } if (adjust == 2) { if (slowdown < 1) slowdown += 0.02; siner -= slowdown; bgsiner -= (slowdown / 16); __background_set_colour(merge_color(__background_get_colour(), c_white, 0.03)); } bgsiner += 0.0625; if (bgsiner > 7) bgsiner -= 7; bg = bg_fountain1_ch1; draw_background_tiled_ext_ch1(bg, 0 - siner, 0 - siner, 2, 2, colcol, 0.7 * eyebody); draw_background_tiled_ext_ch1(bg, -240 + hscroll, 0 + siner, 2, 2, colcol, 0.3 * eyebody); draw_set_color(c_black); draw_rectangle(0, 0, (room_width / 2) - (sprite_width / 2), 280, 0); draw_rectangle((room_width / 2) + (sprite_width / 2), 0, 999, 280, 0); draw_sprite_ext(sprite_index, 0, (room_width / 2) - (sprite_width / 2), 0 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 1); draw_sprite_ext(sprite_index, 0, (room_width / 2) - (sprite_width / 2), 280 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 1); draw_sprite_ext(sprite_index, 0, ((room_width / 2) - (sprite_width / 2)) + (sin(siner / 16) * 12), 0 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 0.5); draw_sprite_ext(sprite_index, 0, ((room_width / 2) - (sprite_width / 2)) + (sin(siner / 16) * 12), 280 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 0.5); draw_sprite_ext(sprite_index, 0, (room_width / 2) - (sprite_width / 2) - (sin(siner / 16) * 12), 0 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 0.5); draw_sprite_ext(sprite_index, 0, (room_width / 2) - (sprite_width / 2) - (sin(siner / 16) * 12), 280 - ((bgsiner * 280) / 7), 2, 2, 0, colcol, 0.5); draw_sprite_ext(spr_fountainbottom_ch1, 0, (room_width / 2) - (sprite_width / 2), -8 + (sin(siner / 16) * 8), 2, 2, 0, colcol, 0.3); draw_sprite_ext(spr_fountainbottom_ch1, 0, (room_width / 2) - (sprite_width / 2), -4 + (sin(siner / 16) * 4), 2, 2, 0, colcol, 0.5); draw_sprite_ext(spr_fountainbottom_ch1, 0, (room_width / 2) - (sprite_width / 2), 0, 2, 2, 0, colcol, 1); draw_set_color(__background_get_colour()); draw_rectangle(0, 280, 640, 480, 0);