21 lines
351 B
GDScript
21 lines
351 B
GDScript
extends "res://maps/map.gd"
|
|
|
|
|
|
|
|
func _on_Boss1_died():
|
|
Game.change_map(load("res://maps/level_select.tscn"))
|
|
|
|
|
|
func _on_Boss1_entered_phase(phase):
|
|
match phase:
|
|
2:
|
|
$DelayedArrow2.start()
|
|
3:
|
|
$DelayedArrow3.start()
|
|
4:
|
|
$ExitTimer.start()
|
|
|
|
|
|
func _on_ExitTimer_timeout():
|
|
Game.save()
|
|
Game.change_map(load("res://maps/level_select.tscn"))
|