mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-07-01 04:20:23 -04:00
Add to queue if kz red ice removed (#6836)
This commit is contained in:
@@ -118,6 +118,12 @@ void BgIceShelter_RandomizerSpawnCollectible(Actor* actor) {
|
||||
}
|
||||
}
|
||||
|
||||
void BgIceShelter_KingZoraSpawnCollectible(void* actor) {
|
||||
if (!Flags_GetRandomizerInf(RAND_INF_ZD_KING_ZORA_RED_ICE) && Flags_GetInfTable(INFTABLE_138)) {
|
||||
Flags_SetRandomizerInf(RAND_INF_ZD_KING_ZORA_RED_ICE);
|
||||
}
|
||||
}
|
||||
|
||||
static CheckIdentity IdentifyRedIce(s32 sceneNum, s32 posX, s32 posZ) {
|
||||
struct CheckIdentity redIceIdentity;
|
||||
uint32_t redIceSceneNum = sceneNum;
|
||||
@@ -176,6 +182,9 @@ void RegisterShuffleRedIce() {
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
// Give King Zora red ice item if ice was removed with glitch
|
||||
COND_ID_HOOK(OnActorInit, ACTOR_EN_KZ, shouldRegister, BgIceShelter_KingZoraSpawnCollectible);
|
||||
}
|
||||
|
||||
void Rando::StaticData::RegisterRedIceLocations() {
|
||||
|
||||
Reference in New Issue
Block a user