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

Function spawnCB

src/SB/Game/zNPCTypeBossPatrick.cpp:2088–2107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2086 this->gooLevel = 0;
2087 this->gooHeight = this->gooLevel - 0.5f;
2088 break;
2089 }
2090 case 2:
2091 {
2092 this->numTasks = 8;
2093 this->task[0] = NPC_GOAL_BOSSPATIDLE;
2094 this->task[1] = NPC_GOAL_BOSSPATSPIT;
2095 this->task[2] = NPC_GOAL_BOSSPATIDLE;
2096 this->task[3] = NPC_GOAL_BOSSPATSPIN;
2097 this->task[4] = NPC_GOAL_BOSSPATIDLE;
2098 this->task[5] = NPC_GOAL_BOSSPATSPIT;
2099 this->task[6] = NPC_GOAL_BOSSPATIDLE;
2100 this->task[7] = NPC_GOAL_BOSSPATSPIN;
2101 this->currTask = 0;
2102 this->hitPoints = 6;
2103 this->gooLevel = 0;
2104 this->gooHeight = this->gooLevel - 0.5f;
2105 break;
2106 }
2107 case 3:
2108 {
2109 this->numTasks = 10;
2110 this->task[0] = NPC_GOAL_BOSSPATIDLE;

Callers

nothing calls this directly

Calls 3

GetOwnerMethod · 0.80
AnimTimeRemainMethod · 0.80
nextGoalMethod · 0.80

Tested by

no test coverage detected