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

Function runCB

src/SB/Game/zNPCTypeBossPatrick.cpp:2028–2046  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2026 xSndPlay3D(xStrHash("b201_rp_spin_spurt3"), 0.539f, 0.0f, 0, 0, pos, 2.0f, 40.0f,
2027 SND_CAT_GAME, 0.0f);
2028 }
2029 else if (picker < 4.0f)
2030 {
2031 xSndPlay3D(xStrHash("b201_rp_spin_spurt4"), 0.539f, 0.0f, 0, 0, pos, 2.0f, 40.0f,
2032 SND_CAT_GAME, 0.0f);
2033 }
2034 else if (picker < 5.0f)
2035 {
2036 xSndPlay3D(xStrHash("b201_rp_spin_spurt5"), 0.539f, 0.0f, 0, 0, pos, 2.0f, 40.0f,
2037 SND_CAT_GAME, 0.0f);
2038 }
2039 else
2040 {
2041 xSndPlay3D(xStrHash("b201_rp_spin_spurt6"), 0.539f, 0.0f, 0, 0, pos, 2.0f, 40.0f,
2042 SND_CAT_GAME, 0.0f);
2043 }
2044 }
2045}
2046
2047U32 zNPCBPatrick::canSpawnChucks()
2048{
2049 U32 result = 0;

Callers

nothing calls this directly

Calls 3

GetOwnerMethod · 0.80
AnimTimeRemainMethod · 0.80
nextGoalMethod · 0.80

Tested by

no test coverage detected