mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-02-16 23:30:15 -05:00
Fix vanilla sun's song grave bug (#1532)
This commit is contained in:
parent
5d2b5559c8
commit
98be9a8472
@ -337,7 +337,7 @@ void func_80ABF7CC(EnOkarinaTag* this, GlobalContext* globalCtx) {
|
|||||||
if (!gSaveContext.n64ddFlag && !CHECK_QUEST_ITEM(QUEST_SONG_SUN)) {
|
if (!gSaveContext.n64ddFlag && !CHECK_QUEST_ITEM(QUEST_SONG_SUN)) {
|
||||||
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(&gSunSongGraveSunSongTeachCs);
|
globalCtx->csCtx.segment = SEGMENTED_TO_VIRTUAL(&gSunSongGraveSunSongTeachCs);
|
||||||
gSaveContext.cutsceneTrigger = 1;
|
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);
|
GivePlayerRandoRewardSunSong(this, globalCtx, RC_SONG_FROM_ROYAL_FAMILYS_TOMB);
|
||||||
}
|
}
|
||||||
this->actionFunc = func_80ABF708;
|
this->actionFunc = func_80ABF708;
|
||||||
|
Loading…
Reference in New Issue
Block a user