From d0e1e25af2d866f9dff4291a46a9906cd96af17d Mon Sep 17 00:00:00 2001 From: Sonic Dreamcaster Date: Wed, 27 Nov 2024 23:04:27 -0300 Subject: [PATCH] Relocate Shooting Star for the good ending --- src/overlays/ovl_i6/fox_andross.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/overlays/ovl_i6/fox_andross.c b/src/overlays/ovl_i6/fox_andross.c index 97676ab5..8bac4e70 100644 --- a/src/overlays/ovl_i6/fox_andross.c +++ b/src/overlays/ovl_i6/fox_andross.c @@ -3854,7 +3854,7 @@ void Andross_80193C4C(Player* player) { f32 sp80; Vec3f sp74; Vec3f sp68; - s32 temp_v0_2; + s32 rnd; Math_SmoothStepToF(D_ctx_80177A48, 1.0f, 1.0f, 0.01f, 0.0f); @@ -4308,10 +4308,10 @@ void Andross_80193C4C(Player* player) { break; } if (gCsFrameCount > 1300) { - gStarOffsetsX[109] += 1.0f; - gStarOffsetsY[109] += 0.5f; - temp_v0_2 = RAND_INT(100.0f); - gStarFillColors[109] = FILL_COLOR(gStarColors[temp_v0_2 % 16U]); + rnd = RAND_INT(100.0f); + gStarFillColors[1155] = FILL_COLOR(gStarColors[rnd % 16U]); + gStarOffsetsX[1155] += 1.0f * 2.0f; + gStarOffsetsY[1155] += 0.5f * 2.0f; } } else { switch (gCsFrameCount) {