From db6a8efdeba57f899eb7bf13826319933d74c42b Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Fri, 9 Feb 2024 18:36:01 -0700 Subject: [PATCH] Add Hyudoro sounds --- src/objects/emerald.c | 1 + src/objects/hyudoro.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/objects/emerald.c b/src/objects/emerald.c index e749efb92..6e8281566 100644 --- a/src/objects/emerald.c +++ b/src/objects/emerald.c @@ -338,6 +338,7 @@ void Obj_GiveEmerald(mobj_t *emerald) case MT_ITEMCAPSULE: // objects/hyudoro.c // DMG_INSTAKILL to kill it without respawning later P_KillMobj(emerald_award(emerald), emerald_orbit(emerald), emerald_orbit(emerald), DMG_INSTAKILL); + S_StartSound(emerald_orbit(emerald), sfx_kc3e); if (emerald_orbit(emerald)->player) { diff --git a/src/objects/hyudoro.c b/src/objects/hyudoro.c index f0573b27a..a9c0f5f31 100644 --- a/src/objects/hyudoro.c +++ b/src/objects/hyudoro.c @@ -581,6 +581,8 @@ hyudoro_patrol_hit_player K_StripItems(player); + S_StartSound(toucher, sfx_s3k92); + /* do not make 1st place invisible */ if (player->position != 1) { @@ -653,6 +655,7 @@ hyudoro_return_hit_player // them until they use/lose it. if (!award_immediately(hyu)) { + S_StartSound(hyudoro_target(hyu), sfx_kc3d); hyudoro_mode(hyu) = HYU_HOVER; append_hyudoro(&toucher->player->hoverhyudoro, hyu); }