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

Function BubbleSpinCheck

src/SB/Game/zEntPlayer.cpp:1565–1578  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1563}
1564
1565static U32 BubbleSpinCheck(xAnimTransition*, xAnimSingle*, void*)
1566{
1567 if (globals.player.cheat_mode != 0)
1568 {
1569 return 0;
1570 }
1571
1572 if (zEntTeleportBox_playerIn())
1573 {
1574 return 0;
1575 }
1576
1577 return (!globals.player.ControlOff && globals.pad0->pressed & XPAD_BUTTON_TRIANGLE);
1578}
1579
1580static U32 BubbleSpinCB(xAnimTransition*, xAnimSingle* anim, void*)
1581{

Callers

nothing calls this directly

Calls 1

zEntTeleportBox_playerInFunction · 0.85

Tested by

no test coverage detected