| 1193 | } |
| 1194 | |
| 1195 | void zNPCBPlankton::SelfSetup() |
| 1196 | { |
| 1197 | xBehaveMgr* bmgr = xBehaveMgr_GetSelf(); |
| 1198 | this->psy_instinct = bmgr->Subscribe(this, NULL); |
| 1199 | xPsyche* psy = this->psy_instinct; |
| 1200 | psy->BrainBegin(); |
| 1201 | for (S32 i = NPC_GOAL_BPLANKTONIDLE; i <= NPC_GOAL_BPLANKTONBOMB; i++) |
| 1202 | { |
| 1203 | psy->AddGoal(i, this); |
| 1204 | } |
| 1205 | psy->BrainEnd(); |
| 1206 | psy->SetSafety(NPC_GOAL_BPLANKTONIDLE); |
| 1207 | } |
| 1208 | |
| 1209 | U32 zNPCBPlankton::AnimPick(S32 rawgoal, en_NPC_GOAL_SPOT gspot, xGoal* goal) |
| 1210 | { |
nothing calls this directly
no test coverage detected