documented volatile flag functions and enums and some Actor struct members

This commit is contained in:
mariob92
2024-09-08 12:22:27 +02:00
parent 347c3edcdf
commit 615e2bda33
111 changed files with 584 additions and 549 deletions

View File

@@ -33,8 +33,8 @@ int func_803616F0(Actor *this){
}
void func_80361828(Actor *this){
if(func_803203FC(0x16) && level_get() == LEVEL_6_LAIR){
func_803204E4(0x16, 0);
if(volatileFlag_get(0x16) && level_get() == LEVEL_6_LAIR){
volatileFlag_set(0x16, 0);
}
}
@@ -54,19 +54,19 @@ void func_80361870(Actor *this){
}
}
else if(func_803616F0(this)){
sp28 = (func_803203FC(0x16)?0xf6e:0xf68) + this->unkF4_8 - 1;
if(!func_803203FC(0x16) && level_get() == LEVEL_6_LAIR){
sp28 = (volatileFlag_get(0x16)?0xf6e:0xf68) + this->unkF4_8 - 1;
if(!volatileFlag_get(0x16) && level_get() == LEVEL_6_LAIR){
this->unk138_24 = TRUE;
}
else{
if(func_80311480(sp28, 0, 0, 0, 0, 0)){
this->unk138_24 = TRUE;
func_803204E4(0x16, 0);
volatileFlag_set(0x16, 0);
}
}
}
else{//L80361A14
func_803204E4(0x16, 0);
volatileFlag_set(0x16, 0);
}
}//L80361A20
}