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

Method Enter

src/SB/Game/zNPCTypeBossPlankton.cpp:1441–1454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1439}
1440
1441S32 zNPCGoalBPlanktonIdle::Enter(F32 dt, void* ctxt)
1442{
1443 F32 tmpFloat;
1444 F32 local_24[3];
1445
1446 owner.reappear();
1447 owner.flag.attacking = false;
1448 owner.refresh_orbit();
1449 owner.reset_speed();
1450 owner.flag.follow = owner.FOLLOW_NONE;
1451 get_yaw(tmpFloat, dt);
1452 apply_yaw(tmpFloat);
1453 return zNPCGoalCommon::Enter(dt, ctxt);
1454}
1455
1456S32 zNPCGoalBPlanktonIdle::Exit(F32 dt, void* ctxt)
1457{

Callers

nothing calls this directly

Calls 9

get_player_locFunction · 0.85
follow_playerMethod · 0.80
face_playerMethod · 0.80
follow_cameraMethod · 0.80
enable_emitterMethod · 0.80
play_soundFunction · 0.70
EnterFunction · 0.50
reappearMethod · 0.45
reset_speedMethod · 0.45

Tested by

no test coverage detected