document more vola flags

This commit is contained in:
mariob92
2024-09-08 15:21:48 +02:00
parent 615e2bda33
commit 35f93d5505
42 changed files with 259 additions and 204 deletions

View File

@@ -2237,7 +2237,7 @@ void chfinalboss_update(Actor *this){
chfinalboss_phase5_update(this->marker);
break;
}
volatileFlag_setN(0x23, local->phase, 3);
volatileFlag_setN(VOLATILE_FLAG_23_FINAL_BOSS_PHASE, local->phase, 3);
player_getPosition(D_80392788);
D_80392798[0] = this->position[0];
D_80392798[1] = this->position[1];

View File

@@ -226,7 +226,7 @@ void func_8038F3B4(ActorMarker *marker, ActorMarker *other){
) return;
func_8038F084(marker);
switch(volatileFlag_getN(0x23, 3)){
switch(volatileFlag_getN(VOLATILE_FLAG_23_FINAL_BOSS_PHASE, 3)){
case 1: //8038F41C
if(!fight_D_803928E0 && func_80311480(randi2(0, 5) + 0x10f2, 0, 0, 0, 0, 0))
fight_D_803928E0 = 1;