14 lines
368 B
GDScript3
14 lines
368 B
GDScript3
|
|
extends Control
|
||
|
|
|
||
|
|
|
||
|
|
# Called when the node enters the scene tree for the first time.
|
||
|
|
func _ready() -> void:
|
||
|
|
pass # Replace with function body.
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
func _on_video_stream_player_finished() -> void:
|
||
|
|
print("AMBULANCE VIDEO FINISHED")
|
||
|
|
Gamecontroller.playerHealth = Gamecontroller.player.starting_health
|
||
|
|
get_tree().change_scene_to_file("res://Scenes/Levels/MainGame.tscn")
|