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

Method Exit

src/SB/Game/zNPCGoalAmbient.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36S32 zNPCGoalJellyBumped::Exit(F32 dt, void* updCtxt)
37{
38 zNPCJelly* npc = (zNPCJelly*)psyche->clt_owner;
39 npc->VelStop();
40
41 StreakDone();
42
43 npc->SndPlayRandom(NPC_STYP_DEATHJELLY);
44 npc->ActLikeOctopus();
45
46 return zNPCGoalPushAnim::Exit(dt, updCtxt);
47}
48
49S32 zNPCGoalJellyBumped::Process(en_trantype* trantyp, F32 dt, void* updCxt, xScene* xscn)
50{

Callers

nothing calls this directly

Calls 3

VelStopMethod · 0.80
SndPlayRandomMethod · 0.80
ExitFunction · 0.50

Tested by

no test coverage detected