diff --git a/soh/soh/Enhancements/randomizer/pausewarp.c b/soh/soh/Enhancements/randomizer/pausewarp.c index 23b35d127..3b24c54f5 100644 --- a/soh/soh/Enhancements/randomizer/pausewarp.c +++ b/soh/soh/Enhancements/randomizer/pausewarp.c @@ -81,6 +81,11 @@ void PauseWarp_Main() { // If 'A' is pressed and the cooldowns are zero, and we're not already warping, initiate the warp if (aButtonPressed && !state.aButtonCooldown && !(state.warpInitiated || state.textboxInitiated || state.inChoosingState)) { int song = play->pauseCtx.cursorPoint[PAUSE_QUEST]; + + // Check if the player has the selected warp song + if (!CHECK_QUEST_ITEM(song)) return; + + // Initiate warp if the song is within the valid range if (song >= QUEST_SONG_MINUET && song <= QUEST_SONG_PRELUDE) InitiateWarp(play, player, song, &state); }