start of demo marathon mode implementation

This commit is contained in:
Haze Weathers 2023-12-29 03:28:58 -05:00
parent 1645b6d8d1
commit 6bd0a81f11
9 changed files with 26 additions and 12 deletions

View file

@ -30,4 +30,7 @@ func _on_Boss1_entered_phase(phase):
func _on_ExitTimer_timeout():
Game.save_boss()
Game.change_map(load("res://menus/level_select_scholar.tscn"))
if Game.marathon_mode:
Game.change_map(next_level)
else:
Game.change_map(load("res://menus/level_select_scholar.tscn"))