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

Method SpeakEnd

src/SB/Game/zNPCTypeVillager.cpp:781–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781void zNPCVillager::SpeakEnd()
782{
783 xPsyche* psy = psy_instinct;
784 if ((psy->GIDInStack(NPC_GOAL_LIMBO) == 0))
785 {
786 S32 safetyGid = psy->GIDOfSafety();
787 if (safetyGid != 0)
788 {
789 psy->GoalSet(safetyGid, 1);
790 }
791 }
792}
793
794void zNPCVillager::SpeakStart(U32 sndid, U32 sndhandle, S32 anim)
795{

Callers 1

MasterLoveSlaveMethod · 0.45

Calls 3

GIDInStackMethod · 0.80
GIDOfSafetyMethod · 0.80
GoalSetMethod · 0.80

Tested by

no test coverage detected