1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-02 22:14:33 +00:00

Decompile en_sw (#679)

* decompile ovl_en_sw

* remove unused asm

* some cleanup, run format

* review

* review

Co-authored-by: Fig02 <fig02srl@gmail.com>
This commit is contained in:
krimtonz 2021-02-12 19:52:39 -06:00 committed by GitHub
parent 4d30626033
commit cf06b27b15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 1027 additions and 3847 deletions

View file

@ -671,7 +671,8 @@ void func_80A7D460(EnInsect* this, GlobalContext* globalCtx) {
temp_a0 = ((this->soilActor->actor.params >> 8) & 0x1F) - 1;
temp_a1 = temp_a0 & 3;
if ((((gSaveContext.gsFlags[temp_a0 >> 2] & D_8012723C[temp_a1]) >> D_8012724C[temp_a1]) &
if ((((gSaveContext.gsFlags[temp_a0 >> 2] & gGoldSkullFlgMask[temp_a1]) >>
gGoldSkullFlgShift[temp_a1]) &
(this->soilActor->actor.params & 0xFF)) == 0) {
func_80078884(NA_SE_SY_TRE_BOX_APPEAR);
}