also remove phantom ganon's horses if he's not there

This commit is contained in:
Ralphie Morell 2023-10-19 00:23:05 -04:00
parent db4a30a7ff
commit 0751c59530

View File

@ -1034,6 +1034,10 @@ void RegisterBossSouls() {
break; break;
case SCENE_FOREST_TEMPLE_BOSS: case SCENE_FOREST_TEMPLE_BOSS:
rand_inf = RAND_INF_PHANTOM_GANON_SOUL; rand_inf = RAND_INF_PHANTOM_GANON_SOUL;
//Special case for Phantom Ganon's horse (and fake), as they're considered "background actors."
if (actual->id == ACTOR_EN_FHG) {
Actor_Delete(&gPlayState->actorCtx, actual, gPlayState);
}
break; break;
case SCENE_FIRE_TEMPLE_BOSS: case SCENE_FIRE_TEMPLE_BOSS:
rand_inf = RAND_INF_VOLVAGIA_SOUL; rand_inf = RAND_INF_VOLVAGIA_SOUL;