mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 07:28:14 +00:00
fixed up some lost levels stuff
This commit is contained in:
@@ -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
|
||||
|
@@ -29,6 +29,9 @@ func set_focus(enabled := false) -> void:
|
||||
i.focus_mode = 0 if enabled == false else 2
|
||||
|
||||
func continue_to_next_level() -> void:
|
||||
if Global.world_num == 8 and Global.level_num == 4:
|
||||
go_to_menu()
|
||||
return
|
||||
Global.current_level.transition_to_next_level()
|
||||
Global.disco_level_continued.emit()
|
||||
close()
|
||||
|
Reference in New Issue
Block a user