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

@@ -143,9 +143,9 @@ void func_80388B18(Actor *this, u8 arg1){
}
}
else{//L80388BB8
if(!volatileFlag_get(0xb3)){
if(!volatileFlag_get(VOLATILE_FLAG_B3)){
if(func_80311480(0xc01, 0xe, this->position, this->marker, func_80388D70, NULL)){
volatileFlag_set(0xb3, TRUE);
volatileFlag_set(VOLATILE_FLAG_B3, TRUE);
func_80388A50(this);
}
}
@@ -153,9 +153,9 @@ void func_80388B18(Actor *this, u8 arg1){
}
else{//L80388C08
if(player_getTransformation() == TRANSFORM_4_WALRUS){
if(!volatileFlag_get(0xb4)){
if(!volatileFlag_get(VOLATILE_FLAG_B4)){
if(func_80311480(0xc08, 0xe, this->position, this->marker, func_80388D70, NULL)){
volatileFlag_set(0xb4, TRUE);
volatileFlag_set(VOLATILE_FLAG_B4, TRUE);
func_80388A50(this);
}
}
@@ -476,13 +476,13 @@ void func_803896FC(Actor *this){
){
if( local->unk19 == 1
&& player_getTransformation() != TRANSFORM_4_WALRUS
&& volatileFlag_get(0xb3)
&& volatileFlag_get(VOLATILE_FLAG_B3)
){
func_80311480(0xC01, 0xf, this->position, this->marker, func_80388D70, NULL);
}
else if( local->unk19 == 2){
if( player_getTransformation() == TRANSFORM_4_WALRUS
&& volatileFlag_get(0xb4)
&& volatileFlag_get(VOLATILE_FLAG_B4)
){
func_80311480(0xC08, 0xf, this->position, this->marker, func_80388D70, NULL);
}

View File

@@ -42,7 +42,7 @@ void __chXmasTree_80386EF4(Actor *this, int arg1){
void __chXmasTree_80386F3C(void){
levelSpecificFlags_set(0x29, TRUE);
func_803228D8();
volatileFlag_set(0xe, 1);
volatileFlag_set(VOLATILE_FLAG_E, 1);
func_802E4078(MAP_53_FP_CHRISTMAS_TREE, 1, 0);
}