if (!_active) exit; if (scr_debug()) { if (sunkus_kb_check_pressed(ord("R"))) { snd_free_all(); room_restart(); } if (sunkus_kb_check_pressed(vk_space)) { if (!paused) { paused = true; audio_pause_all(); } else { paused = false; audio_resume_all(); } } } if (paused) exit; _timer++; if (_timer >= round(_time_stamps[_time_stamp_index] * 30)) { if (_time_stamp_index < (array_length(_time_stamps) - 1)) { _time_stamp_index++; emit_event("timestamp_changed"); } else { _active = false; emit_event("credits_finished"); } }