Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decompiled ovl_En_Ma1 #83

Merged
merged 18 commits into from
Apr 27, 2020
Prev Previous commit
Next Next commit
fixing merge
  • Loading branch information
ethteck committed Apr 16, 2020
commit ff030304bbaa60acbfe18b00701ac8f3c9597d94
4 changes: 2 additions & 2 deletions src/overlays/actors/ovl_En_Ma1/z_en_ma1.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ void EnMa1_Init(EnMa1* this, GlobalContext* globalCtx) {
this->actor.unk_1F = 6;
this->unk_1E8.unk_00 = 0;

if ((!(gSaveContext.eventChkInf[1] & 0x10)) || (CHECK_QUEST_ITEM(ITEM_SONG_EPONA))) {
if ((!(gSaveContext.eventChkInf[1] & 0x10)) || (CHECK_QUEST_ITEM(QUEST_SONG_EPONA))) {
this->actionFunc = (ActorFunc)func_80AA0D88;
func_80AA0A84(this, 2);
} else {
Expand All @@ -254,7 +254,7 @@ void func_80AA0D88(EnMa1* this, GlobalContext* globalCtx) {

if ((globalCtx->sceneNum == 0x5F) && (gSaveContext.eventChkInf[1] & 0x10)) {
ethteck marked this conversation as resolved.
Show resolved Hide resolved
Actor_Kill(&this->actor);
} else if ((!(gSaveContext.eventChkInf[1] & 0x10)) || (CHECK_QUEST_ITEM(ITEM_SONG_EPONA))) {
} else if ((!(gSaveContext.eventChkInf[1] & 0x10)) || (CHECK_QUEST_ITEM(QUEST_SONG_EPONA))) {
if (this->unk_1E8.unk_00 == 2) {
this->actionFunc = (ActorFunc)func_80AA0EA0;
globalCtx->msgCtx.unk_E3E7 = 4;
Expand Down