fixed up some lost levels stuff

This commit is contained in:
JHDev2006
2025-09-29 20:03:19 +01:00
parent 528c4ddfa9
commit 8ae27f63a6
9 changed files with 1665 additions and 1437 deletions

View File

@@ -25,7 +25,9 @@ func _ready() -> void:
func _process(_delta: float) -> void:
if can_exit and Input.is_action_just_pressed("jump_0"):
SaveManager.write_save()
if seen or Global.current_campaign == "SMBANN" or Global.world_num > 8 or Global.current_game_mode != Global.GameMode.CAMPAIGN:
if Global.current_campaign == "SMBANN":
Global.open_disco_results()
elif seen or Global.world_num > 8 or Global.current_game_mode != Global.GameMode.CAMPAIGN:
Global.transition_to_scene("res://Scenes/Levels/TitleScreen.tscn")
else:
CreditsLevel.go_to_title_screen = false