Skip to content

Commit

Permalink
Prevents blocking Song of Time check by shielding. (HarbourMasters#1001)
Browse files Browse the repository at this point in the history
  • Loading branch information
leggettc18 authored Aug 2, 2022
1 parent 73447f0 commit 7eba85c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soh/src/code/z_play.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ void GivePlayerRandoRewardSongOfTime(GlobalContext* globalCtx, RandomizerCheck c
!Flags_GetTreasure(globalCtx, 0x1F) && gSaveContext.nextTransition == 0xFF) {
GetItemID getItemId = Randomizer_GetItemIdFromKnownCheck(check, GI_SONG_OF_TIME);
GiveItemWithoutActor(globalCtx, getItemId);
Flags_SetTreasure(globalCtx, 0x1F);
player->pendingFlag.flagID = 0x1F;
player->pendingFlag.flagType = FLAG_SCENE_TREASURE;
}
}

Expand Down

0 comments on commit 7eba85c

Please sign in to comment.