From 354146e3acfe846fe61d4b9d5792d03f35e62d14 Mon Sep 17 00:00:00 2001 From: MysterD Date: Wed, 4 Aug 2021 18:55:32 -0700 Subject: [PATCH] Make final Bowser star interactable for all players --- src/game/behaviors/bowser.inc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/game/behaviors/bowser.inc.c b/src/game/behaviors/bowser.inc.c index 3b984bbf..0dd33ea9 100644 --- a/src/game/behaviors/bowser.inc.c +++ b/src/game/behaviors/bowser.inc.c @@ -848,6 +848,10 @@ void bowser_spawn_grand_star_key(void) { gSecondCameraFocus = reward; if (prevReward == NULL) { + // set the home position + reward->oHomeX = reward->oPosX; + reward->oHomeY = reward->oPosY; + reward->oHomeZ = reward->oPosZ; struct Object* spawn_objects[] = { reward }; u32 models[] = { MODEL_STAR }; network_send_spawn_objects(spawn_objects, models, 1); @@ -859,6 +863,10 @@ void bowser_spawn_grand_star_key(void) { cur_obj_play_sound_2(SOUND_GENERAL2_BOWSER_KEY); if (prevReward == NULL) { + // set the home position + reward->oHomeX = reward->oPosX; + reward->oHomeY = reward->oPosY; + reward->oHomeZ = reward->oPosZ; struct Object* spawn_objects[] = { reward }; u32 models[] = { MODEL_BOWSER_KEY }; network_send_spawn_objects(spawn_objects, models, 1);