mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
added the game
This commit is contained in:
13
Scripts/UI/MarathonOptionHandler.gd
Executable file
13
Scripts/UI/MarathonOptionHandler.gd
Executable file
@@ -0,0 +1,13 @@
|
||||
extends Node
|
||||
func restart_level() -> void:
|
||||
Global.checkpoint_passed = false
|
||||
Level.first_load = true
|
||||
Global.speed_run_timer = 0
|
||||
Global.speed_run_timer_active = false
|
||||
Global.reset_values()
|
||||
AudioManager.main_level_music.stop()
|
||||
Global.death_load = true
|
||||
Global.current_level.reload_level()
|
||||
|
||||
func quit_to_menu() -> void:
|
||||
Global.transition_to_scene("res://Scenes/Levels/TitleScreen.tscn")
|
Reference in New Issue
Block a user