summaryrefslogtreecommitdiff
path: root/mm/2s2h/z_scene_2SH.cpp
diff options
context:
space:
mode:
authorEblo <7004497+Eblo@users.noreply.github.com>2025-09-16 18:05:28 -0400
committerEblo <7004497+Eblo@users.noreply.github.com>2025-09-16 18:05:28 -0400
commit9666994cdc358dba9fd655aa35fa84c54f9578a0 (patch)
tree869e33f03d8a7376f6a9f8713b689b6415fab899 /mm/2s2h/z_scene_2SH.cpp
parent517f49fa2dda86a916885af97fcb8ae5b4ff7c66 (diff)
Player start mode pass on port files
Diffstat (limited to 'mm/2s2h/z_scene_2SH.cpp')
-rw-r--r--mm/2s2h/z_scene_2SH.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/mm/2s2h/z_scene_2SH.cpp b/mm/2s2h/z_scene_2SH.cpp
index bd652b168..9e02c578f 100644
--- a/mm/2s2h/z_scene_2SH.cpp
+++ b/mm/2s2h/z_scene_2SH.cpp
@@ -49,9 +49,9 @@ void Scene_CommandSpawnList(PlayState* play, SOH::ISceneCommand* cmd) {
play->linkActorEntry = &entries[play->setupEntranceList[play->curSpawn].spawn];
- if ((PLAYER_GET_INITMODE(play->linkActorEntry) == PLAYER_INITMODE_TELESCOPE) ||
- ((gSaveContext.respawnFlag == 2) &&
- (gSaveContext.respawn[RESPAWN_MODE_RETURN].playerParams == PLAYER_PARAMS(0xFF, PLAYER_INITMODE_TELESCOPE)))) {
+ if ((PLAYER_GET_START_MODE(play->linkActorEntry) == PLAYER_START_MODE_TELESCOPE) ||
+ ((gSaveContext.respawnFlag == 2) && (gSaveContext.respawn[RESPAWN_MODE_RETURN].playerParams ==
+ PLAYER_PARAMS(0xFF, PLAYER_START_MODE_TELESCOPE)))) {
// Skull Kid Object
Object_SpawnPersistent(&play->objectCtx, OBJECT_STK);
return;