extends Control func _ready() -> void: if OS.is_debug_build(): $MenuButtons/TestButton.show() func _on_play_button_pressed() -> void: get_tree().change_scene_to_file("res://scenes/combatUIScene.tscn") func _on_exit_button_pressed() -> void: get_tree().quit() func _on_load_button_pressed() -> void: Globals.load_game() func _on_save_button_pressed() -> void: # ResourceSaver.save(PlayerState, "user://player_state.tres") Globals.save_game() func _on_test_button_pressed() -> void: pass # Replace with function body.