sm64pc/src/game/behaviors/sound_birds.inc.c

21 lines
419 B
C
Raw Normal View History

2019-09-01 19:50:50 +00:00
// sound_birds.inc.c
void bhv_birds_sound_loop(void) {
2020-01-03 15:38:57 +00:00
if (gCamera->mode == CAMERA_MODE_BEHIND_MARIO)
2019-09-01 19:50:50 +00:00
return;
switch (o->oBehParams2ndByte) {
case 0:
2019-10-05 19:08:05 +00:00
PlaySound(SOUND_OBJ2_BIRD_CHIRP1);
2019-09-01 19:50:50 +00:00
break;
case 1:
2019-10-05 19:08:05 +00:00
PlaySound(SOUND_GENERAL2_BIRD_CHIRP2);
2019-09-01 19:50:50 +00:00
break;
case 2:
2019-10-05 19:08:05 +00:00
PlaySound(SOUND_OBJ_BIRD_CHIRP3);
2019-09-01 19:50:50 +00:00
break;
}
}