Prevent hide-and-seek from warping to castle grounds

This commit is contained in:
MysterD 2022-05-29 15:34:41 -07:00
parent 5310b0d496
commit ab0d46d61e
1 changed files with 4 additions and 3 deletions

View File

@ -227,9 +227,10 @@ function mario_update(m)
warp_to_castle(LEVEL_BITS)
end
if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then
warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0)
end
-- this doesn't work properly, it automatically ends the round again
--if m.playerIndex == 0 and gPlayerSyncTable[m.playerIndex].seeking and gGlobalSyncTable.displayTimer == 0 and gGlobalSyncTable.roundState == ROUND_STATE_ACTIVE then
-- warp_to_level(LEVEL_CASTLE_GROUNDS, 1, 0)
--end
-- display all seekers as metal
if s.seeking then