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

Function smackCB

src/SB/Game/zNPCTypeBossPatrick.cpp:2048–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2046
2047U32 zNPCBPatrick::canSpawnChucks()
2048{
2049 U32 result = 0;
2050
2051 for (S32 i = 0; i < 3; i++)
2052 {
2053 if (this->chuckFlags[i] & 1)
2054 {
2055 result = 1;
2056 break;
2057 }
2058 }
2059
2060 return result;
2061}
2062
2063void zNPCBPatrick::gotoRound(S32 num)
2064{
2065 this->round = num;
2066
2067 switch (this->round)
2068 {
2069 case 1:

Callers

nothing calls this directly

Calls 3

GetOwnerMethod · 0.80
AnimTimeRemainMethod · 0.80
nextGoalMethod · 0.80

Tested by

no test coverage detected