MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Defeated01Check

Function Defeated01Check

src/SB/Game/zEntPlayer.cpp:1913–1918  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1911}
1912
1913static U32 Defeated01Check(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1914{
1915 // it seems like this is a useless but necessary function call
1916 zGameExtras_CheatFlags();
1917 return globals.player.Health == 0 && player_dead_anim % tran->UserFlags == 0;
1918}
1919
1920static U32 Defeated02Check(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1921{

Callers

nothing calls this directly

Calls 1

zGameExtras_CheatFlagsFunction · 0.85

Tested by

no test coverage detected