Add Hyudoro sounds

This commit is contained in:
AJ Martinez 2024-02-09 18:36:01 -07:00
parent 6b831a0fa2
commit db6a8efdeb
2 changed files with 4 additions and 0 deletions

View file

@ -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)
{

View file

@ -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);
}