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

Function zEntPlayer_GiveSpatula

src/SB/Game/zEntPlayer.cpp:4662–4673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4660}
4661
4662void zEntPlayer_GiveSpatula(S32)
4663{
4664 sSpatulaGrabbed = 1;
4665
4666 if (globals.player.ControlOffTimer < 0.1f)
4667 {
4668 globals.player.ControlOffTimer = 0.1f;
4669 }
4670
4671 zNPCMsg_AreaNotify(NULL, NPC_MID_PLYRSPATULA, 30.0f, 0x104, NPC_TYPE_UNKNOWN);
4672 zMusicSetVolume(0.5f, 0.2f);
4673}
4674
4675void zEntPlayer_GiveShinyObject(S32 quantity)
4676{

Callers 1

zEntPickup_DoPickupFunction · 0.85

Calls 2

zMusicSetVolumeFunction · 0.85
zNPCMsg_AreaNotifyFunction · 0.70

Tested by

no test coverage detected