summaryrefslogtreecommitdiff
path: root/src/engine/fox_boss.c
diff options
context:
space:
mode:
authorpetrie911 <69443847+petrie911@users.noreply.github.com>2024-05-11 15:53:37 -0500
committerGitHub <noreply@github.com>2024-05-11 17:53:37 -0300
commit0dbbf453f93f9f1b3e3d95fbfd96caf85c85ddf7 (patch)
tree186e6d9c15cf82eaf87609b6ab0227306680c283 /src/engine/fox_boss.c
parent5bda92de97922f060c2c7ad032aca686bdd1715c (diff)
More actor docs. starting on event IDs (#238)
* id start * stuff * comp and cam * add errors
Diffstat (limited to 'src/engine/fox_boss.c')
-rw-r--r--src/engine/fox_boss.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/engine/fox_boss.c b/src/engine/fox_boss.c
index 66806874..6d5d0858 100644
--- a/src/engine/fox_boss.c
+++ b/src/engine/fox_boss.c
@@ -88,12 +88,12 @@ void Boss_SpawnDebris(f32 arg0, f32 arg1, f32 arg2, f32 arg3, f32 arg4, f32 arg5
for (i = (ARRAY_COUNT(gActors)) - 1; i >= 0; i--) {
if (gActors[i].obj.status == OBJ_FREE) {
Boss_SetupDebris(&gActors[i], arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, argA, argB);
- return;
+ break;
}
}
}
-void func_boss_80043188(Boss* boss) {
+void Boss_SetCullDistance(Boss* boss) {
boss->info.cullDistance = 30000.0f;
}
@@ -102,9 +102,9 @@ void Boss_CompleteLevel(Player* player, f32 xPos, f32 yPos, f32 zPos) {
SEQCMD_STOP_SEQUENCE(SEQ_PLAYER_FANFARE, 80);
gCsFrameCount = 0;
- D_ctx_80178448 = zPos + gPathProgress;
- D_ctx_80178440 = xPos;
- D_ctx_80178444 = yPos;
+ gBossDeathCamAtZ = zPos + gPathProgress;
+ gBossDeathCamAtX = xPos;
+ gBossDeathCamAtY = yPos;
player->state_1C8 = PLAYERSTATE_1C8_LEVEL_COMPLETE;
player->csState = 10;