| 1212 | } |
| 1213 | |
| 1214 | void zNPCB_SB2::SelfSetup() |
| 1215 | { |
| 1216 | xBehaveMgr* bmgr = xBehaveMgr_GetSelf(); |
| 1217 | xPsyche* psy = 0; |
| 1218 | this->psy_instinct = bmgr->Subscribe(this, NULL); |
| 1219 | this->psy_instinct->BrainBegin(); |
| 1220 | for (S32 i = NPC_GOAL_BOSSSB2INTRO; i <= NPC_GOAL_BOSSSB2DEATH; i++) |
| 1221 | { |
| 1222 | psy_instinct->AddGoal(i, this); |
| 1223 | } |
| 1224 | psy_instinct->AddGoal(NPC_GOAL_LIMBO, this); |
| 1225 | psy_instinct->BrainEnd(); |
| 1226 | psy_instinct->SetSafety(NPC_GOAL_BOSSSB2IDLE); |
| 1227 | } |
| 1228 | |
| 1229 | void zNPCB_SB2::Reset() |
| 1230 | { |
nothing calls this directly
no test coverage detected