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

Method StreakPrep

src/SB/Game/zNPCGoalAmbient.cpp:117–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void zNPCGoalJellyBumped::StreakPrep()
118{
119 zNPCJelly* npc = (zNPCJelly*)psyche->clt_owner;
120 if (npc->SelfType() == 'NTA1')
121 {
122 streakID = NPCC_StreakCreate(NPC_STRK_TOSSEDJELLYBLUE);
123 }
124 else
125 {
126 streakID = NPCC_StreakCreate(NPC_STRK_TOSSEDJELLY);
127 }
128}
129
130void zNPCGoalJellyBumped::StreakDone()
131{

Callers

nothing calls this directly

Calls 2

SelfTypeMethod · 0.80
NPCC_StreakCreateFunction · 0.70

Tested by

no test coverage detected