Add tired / second punch sound back (#120)

This commit is contained in:
137329506980462592 2022-05-28 03:56:48 -04:00 committed by GitHub
parent 32e0c9eda2
commit 021e203402
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -82,7 +82,7 @@ s32 mario_update_punch_sequence(struct MarioState *m) {
break;
case 3:
play_character_sound(m, CHAR_SOUND_PUNCH_YAH);
play_character_sound(m, CHAR_SOUND_PUNCH_WAH);
// Fall-through:
case 4:
set_mario_animation(m, MARIO_ANIM_SECOND_PUNCH);

View File

@ -240,12 +240,12 @@ s32 act_start_sleeping(struct MarioState *m) {
}
#ifndef VERSION_JP
if (m->actionState == 2 && animFrame == -1) {
play_character_sound(m, CHAR_SOUND_YAWNING);
if (m->actionState == 1 && animFrame == -1) {
play_character_sound(m, CHAR_SOUND_IMA_TIRED);
}
if (m->actionState == 2 && animFrame == -1) {
play_character_sound(m, CHAR_SOUND_IMA_TIRED);
play_character_sound(m, CHAR_SOUND_YAWNING);
}
#else
if (m->actionState == 2) {