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

Method Reset

src/SB/Game/zNPCTypeBossSB1.cpp:342–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

340}
341
342void zNPCB_SB1::Reset()
343{
344 SB1_ResetGlobalStuff();
345 this->zNPCCommon::Reset();
346 this->attacking = 1;
347 this->attack_delay = 0.0f;
348
349 if (this->psy_instinct)
350 {
351 this->psy_instinct->GoalSet(NPC_GOAL_BOSSSB1IDLE, 0);
352 }
353}
354
355U32 zNPCB_SB1::AnimPick(S32 gid, en_NPC_GOAL_SPOT gspot, xGoal* goal)
356{

Callers

nothing calls this directly

Calls 2

GoalSetMethod · 0.80
SB1_ResetGlobalStuffFunction · 0.70

Tested by

no test coverage detected