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

Function FallCheck

src/SB/Game/zEntPlayer.cpp:2434–2442  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2432}
2433
2434static U32 FallCheck(xAnimTransition*, xAnimSingle* anim, void*)
2435{
2436 return !((anim && anim->State &&
2437 (strcmp(anim->State->Name, "LCopter01") == 0 ||
2438 strcmp(anim->State->Name, "LCopterHeadUp01") == 0)) &&
2439 (globals.player.ControlOff == 0 && (globals.pad0->on & XPAD_BUTTON_X) &&
2440 sLassoInfo->copterTime > 0.0f)) &&
2441 globals.player.JumpState != 0 && globals.player.JumpState != 1;
2442}
2443
2444static U32 BoulderRollMoveCheck(xAnimTransition*, xAnimSingle*, void*)
2445{

Callers

nothing calls this directly

Calls 1

strcmpFunction · 0.85

Tested by

no test coverage detected