pr comments

This commit is contained in:
TakaRikka
2026-07-18 18:07:49 -07:00
parent e3075520e7
commit 27c9719abc
4 changed files with 47 additions and 6 deletions
+8 -1
View File
@@ -182,6 +182,13 @@ void Z2SoundObjMgr::searchEnemy() {
case Z2_ENEMY_PO:
case Z2_ENEMY_HP:
isGhostEnemy = true;
#if TARGET_PC
if (enemyId == Z2_ENEMY_HP && dusk::version::isRegionJpn() &&
Z2GetLink()->isRiding() && Z2GetLink()->getMoveSpeed() > 38)
{
continue;
}
#endif
break;
case Z2_ENEMY_RDB:
if (subBgmType == 0)
@@ -212,7 +219,7 @@ void Z2SoundObjMgr::searchEnemy() {
#elif TARGET_PC
case Z2_ENEMY_SH:
if (enemyId == Z2_ENEMY_SH && !dusk::version::isRegionJpn())
continue;
break;
#endif
if (!Z2GetLink()->isRiding())
break;