forked from team-sg/hero-mark-2
made beating the boss boot you to level select scholar instead of debug level select
This commit is contained in:
parent
0acf955e60
commit
393b4b26c8
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
||||||
extends "res://maps/map.gd"
|
extends "res://maps/map.gd"
|
||||||
|
|
||||||
|
const Text3D = preload("res://objects/hud/3d_text.tscn")
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
Game.current_sector = Vector2.ZERO
|
Game.current_sector = Vector2.ZERO
|
||||||
|
|
||||||
|
@ -15,8 +17,11 @@ func _on_Boss1_entered_phase(phase):
|
||||||
$DelayedArrow3.start()
|
$DelayedArrow3.start()
|
||||||
4:
|
4:
|
||||||
$ExitTimer.start()
|
$ExitTimer.start()
|
||||||
|
var text_3d = Text3D.instance()
|
||||||
|
text_3d.anim = "victory"
|
||||||
|
self.add_child(text_3d)
|
||||||
|
|
||||||
|
|
||||||
func _on_ExitTimer_timeout():
|
func _on_ExitTimer_timeout():
|
||||||
Game.save()
|
Game.save()
|
||||||
Game.change_map(load("res://maps/level_select.tscn"))
|
Game.change_map(load("res://menus/level_select_scholar.tscn"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue