From 7ffd01f133a650632e59da067d36b06c7ae63bc1 Mon Sep 17 00:00:00 2001 From: aMannus Date: Wed, 29 Oct 2025 04:54:00 +0100 Subject: [PATCH] Let shuffled fairies spawn on link's location instead (#5890) --- soh/soh/Enhancements/randomizer/ShuffleFairies.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/soh/soh/Enhancements/randomizer/ShuffleFairies.cpp b/soh/soh/Enhancements/randomizer/ShuffleFairies.cpp index 75717f8e9..d4a58ee55 100644 --- a/soh/soh/Enhancements/randomizer/ShuffleFairies.cpp +++ b/soh/soh/Enhancements/randomizer/ShuffleFairies.cpp @@ -180,8 +180,9 @@ void RegisterShuffleFairies() { // collected, the vanilla code will handle that part automatically. FairyIdentity fairyIdentity = ShuffleFairies_GetFairyIdentity(params); if (!ShuffleFairies_FairyExists(fairyIdentity)) { - if (SpawnFairy(gossipStone->actor.world.pos.x, gossipStone->actor.world.pos.y, - gossipStone->actor.world.pos.z, params, fairyType)) { + Player* player = GET_PLAYER(gPlayState); + if (SpawnFairy(player->actor.world.pos.x, (player->actor.world.pos.y + 20), player->actor.world.pos.z, + params, fairyType)) { Audio_PlayActorSound2(&gossipStone->actor, NA_SE_EV_BUTTERFRY_TO_FAIRY); // Set vanilla check for fairy spawned so it doesn't spawn the vanilla fairy afterwards as well. gossipStone->unk_19D = 0;