mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-25 09:45:02 +00:00
else if
This commit is contained in:
parent
9408bc0770
commit
5f3db569f9
1 changed files with 6 additions and 10 deletions
|
@ -67,19 +67,15 @@ static void BgGateShutter_Destroy(BgGateShutter* this, GlobalContext* globalCtx)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void func_8087828C(BgGateShutter* this, GlobalContext* globalCtx) {
|
static void func_8087828C(BgGateShutter* this, GlobalContext* globalCtx) {
|
||||||
if (this->unk_168 == 1) {
|
if (this->unk_168 == 1 && !(gSaveContext.inf_table[7] & 0x40)) {
|
||||||
if (!(gSaveContext.inf_table[7] & 0x40)) {
|
|
||||||
this->unk_178 = 2;
|
|
||||||
this->actionFunc = (ActorFunc)func_80878300;
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (this->unk_168 == 2) {
|
|
||||||
this->unk_178 = 2;
|
this->unk_178 = 2;
|
||||||
this->actionFunc = (ActorFunc)func_80878300;
|
this->actionFunc = (ActorFunc)func_80878300;
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
if (this->unk_168 < 0) {
|
else if (this->unk_168 == 2) {
|
||||||
|
this->unk_178 = 2;
|
||||||
|
this->actionFunc = (ActorFunc)func_80878300;
|
||||||
|
}
|
||||||
|
else if (this->unk_168 < 0) {
|
||||||
this->unk_178 = 2;
|
this->unk_178 = 2;
|
||||||
this->actionFunc = (ActorFunc)func_808783D4;
|
this->actionFunc = (ActorFunc)func_808783D4;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue