if (sound == 1 && soundtimer < 0) { snd_play(snd_splash); sound = 0; soundtimer = 3; } soundtimer -= 1;