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

Method MaryzFury

src/SB/Game/zNPCGoalRobo.cpp:4628–4641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4626}
4627
4628void zNPCGoalTubeAttack::MaryzFury()
4629{
4630 zNPCTubelet* npc = *(zNPCTubelet**)(&psyche->clt_owner);
4631 NPCHazard* haz = HAZ_Acquire();
4632 if (haz != NULL)
4633 {
4634 haz->ConfigHelper(NPC_HAZ_TUBELETBLAST);
4635 haz->SetNPCOwner(npc);
4636 xVec3* center = xEntGetCenter(npc);
4637 haz->Start(center, -1.0f);
4638 U32 sndID = xStrHash("Tube_pop");
4639 xSndPlay3D(sndID, 0.77f, 0.0f, 0x80, 0, &haz->pos_hazard, 5.0f, 15.0f, SND_CAT_GAME, 0.0f);
4640 }
4641}
4642
4643void zNPCGoalTubeAttack::MaryzBlessing()
4644{

Callers

nothing calls this directly

Calls 7

xEntGetCenterFunction · 0.85
ConfigHelperMethod · 0.80
SetNPCOwnerMethod · 0.80
StartMethod · 0.80
HAZ_AcquireFunction · 0.70
xSndPlay3DFunction · 0.70
xStrHashFunction · 0.50

Tested by

no test coverage detected