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

Function PatrickAttackCheck

src/SB/Game/zEntPlayer.cpp:2733–2741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2731}
2732
2733static U32 PatrickAttackCheck(xAnimTransition*, xAnimSingle*, void*)
2734{
2735 if (globals.player.cheat_mode || zEntTeleportBox_playerIn())
2736 {
2737 return 0;
2738 }
2739
2740 return !globals.player.ControlOff && globals.pad0->pressed & XPAD_BUTTON_TRIANGLE;
2741}
2742
2743static U32 PatrickStunCheck(xAnimTransition*, xAnimSingle*, void*)
2744{

Callers

nothing calls this directly

Calls 1

zEntTeleportBox_playerInFunction · 0.85

Tested by

no test coverage detected