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

Function Defeated05Check

src/SB/Game/zEntPlayer.cpp:1938–1942  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1936}
1937
1938static U32 Defeated05Check(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1939{
1940 zGameExtras_CheatFlags();
1941 return globals.player.Health == 0 && player_dead_anim % tran->UserFlags + 1 == 5;
1942}
1943
1944// Equivalent: sda relocation meme
1945static U32 DefeatedCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)

Callers

nothing calls this directly

Calls 1

zGameExtras_CheatFlagsFunction · 0.85

Tested by

no test coverage detected