Renaming player_isDead function

This commit is contained in:
Nabnut
2024-09-19 12:32:02 +02:00
parent f0d53d6fcd
commit db8a200799
8 changed files with 10 additions and 10 deletions

View File

@@ -156,7 +156,7 @@ static void __chsnacker_ow(ActorMarker *marker, ActorMarker *other){
Actor *this;
this = marker_getActor(marker);
if(level_get() == LEVEL_2_TREASURE_TROVE_COVE && !func_8028F22C()){
if(level_get() == LEVEL_2_TREASURE_TROVE_COVE && !player_isDead()){
func_80311480(0xA29, 0, NULL, NULL, NULL, NULL);
}//L802E10A4

View File

@@ -232,7 +232,7 @@ bool func_8029D7B4(void){
&& func_8028EC04() < 1U
&& func_80297C6C() != 3
&& bs_getState() != BS_3D_FALL_TUMBLING
&& func_8028F22C() < 1U
&& player_isDead() < 1U
;
}
return 0;

View File

@@ -541,7 +541,7 @@ bool func_802E4424(void) {
&& (level_get() != 0)
&& (0.6 < D_8037E8E0.unk10)
&& gcpausemenu_80314B00()
&& !func_8028F22C()
&& !player_isDead()
&& func_8032056C()
&& levelSpecificFlags_validateCRC1()
&& dummy_func_80320248()

View File

@@ -631,7 +631,7 @@ bool func_8028F20C(void){
return player_isStable();
}
bool func_8028F22C(void){
bool player_isDead(void){
if(bs_getState() == BS_41_DIE){
return TRUE;
}