Skip to content

Commit

Permalink
Fixes odd rando interaction with malon after receiving her check. (#867)
Browse files Browse the repository at this point in the history
  • Loading branch information
leggettc18 authored Jul 21, 2022
1 parent 41d1bbe commit 880e392
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion soh/src/overlays/actors/ovl_En_Ma1/z_en_ma1.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ void EnMa1_Init(Actor* thisx, GlobalContext* globalCtx) {
this->actor.targetMode = 6;
this->unk_1E8.unk_00 = 0;

if (!(gSaveContext.eventChkInf[1] & 0x10) || (CHECK_QUEST_ITEM(QUEST_SONG_EPONA) && !gSaveContext.n64ddFlag)) {
if (!(gSaveContext.eventChkInf[1] & 0x10) || (CHECK_QUEST_ITEM(QUEST_SONG_EPONA) && !gSaveContext.n64ddFlag) ||
(gSaveContext.n64ddFlag && Flags_GetTreasure(globalCtx, 0x1F))) {
this->actionFunc = func_80AA0D88;
EnMa1_ChangeAnim(this, ENMA1_ANIM_2);
} else {
Expand Down

0 comments on commit 880e392

Please sign in to comment.