Browse Source

Fix vanilla sun's song grave bug (#1532)

pull/1536/head
aMannus 6 months ago committed by GitHub
parent
commit
98be9a8472
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      soh/src/overlays/actors/ovl_En_Okarina_Tag/z_en_okarina_tag.c

2
soh/src/overlays/actors/ovl_En_Okarina_Tag/z_en_okarina_tag.c

@ -337,7 +337,7 @@ void func_80ABF7CC(EnOkarinaTag* this, GlobalContext* globalCtx) { @@ -337,7 +337,7 @@ void func_80ABF7CC(EnOkarinaTag* this, GlobalContext* globalCtx) {
if (!gSaveContext.n64ddFlag && !CHECK_QUEST_ITEM(QUEST_SONG_SUN)) {
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(&gSunSongGraveSunSongTeachCs);
gSaveContext.cutsceneTrigger = 1;
} else if (!Flags_GetTreasure(globalCtx, 0x1F)) {
} else if (gSaveContext.n64ddFlag && !Flags_GetTreasure(globalCtx, 0x1F)) {
GivePlayerRandoRewardSunSong(this, globalCtx, RC_SONG_FROM_ROYAL_FAMILYS_TOMB);
}
this->actionFunc = func_80ABF708;

Loading…
Cancel
Save