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

Method Exit

src/SB/Game/zNPCGoalRobo.cpp:405–415  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405S32 zNPCGoalAlert::Exit(F32 dt, void* updCtxt)
406{
407 zNPCRobot* npc = ((zNPCRobot*)(this->psyche->clt_owner));
408 if (npc->inf_battle != NULL)
409 {
410 npc->inf_battle->LeaveBattle(npc);
411 }
412 npc->inf_battle = NULL;
413 this->flg_user = 1;
414 return xGoal::Exit(dt, updCtxt);
415}
416
417S32 zNPCGoalAlert::Process(en_trantype* trantype, F32 dt, void* updCtxt, xScene* xscn)
418{

Callers

nothing calls this directly

Calls 15

zNPC_SNDStopFunction · 0.85
KickFromTheNestFunction · 0.85
xEntShowFunction · 0.85
LeaveBattleMethod · 0.80
ModelAtomicHideMethod · 0.80
RestoreColFlagsMethod · 0.80
SelfTypeMethod · 0.80
VelStopMethod · 0.80
FindGoalMethod · 0.80
DeathByLassoMethod · 0.80
ModelAtomicShowMethod · 0.80
SndPlayRandomMethod · 0.80

Tested by

no test coverage detected