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

Function BbowlCheck

src/SB/Game/zEntPlayer.cpp:1726–1740  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1724}
1725
1726static U32 BbowlCheck(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1727{
1728 if (globals.player.cheat_mode)
1729 {
1730 return false;
1731 }
1732
1733 if (zEntTeleportBox_playerIn())
1734 {
1735 return false;
1736 }
1737
1738 return (!globals.player.ControlOff && ((globals.pad0->pressed & XPAD_BUTTON_O)) &&
1739 globals.player.g.PowerUp[0]);
1740}
1741
1742static U32 BbowlCB(xAnimTransition* tran, xAnimSingle* anim, void* param_3)
1743{

Callers

nothing calls this directly

Calls 1

zEntTeleportBox_playerInFunction · 0.85

Tested by

no test coverage detected