shoot the eye!
This commit is contained in:
parent
bc234930b0
commit
79bb0b1323
2 changed files with 21 additions and 1 deletions
|
@ -2,6 +2,8 @@ extends "res://maps/map.gd"
|
|||
|
||||
const Text3D = preload("res://objects/hud/3d_text.tscn")
|
||||
|
||||
var speccy_can_yap: bool = true
|
||||
|
||||
func _ready():
|
||||
Game.current_sector = Vector2.ZERO
|
||||
|
||||
|
@ -13,6 +15,7 @@ func _on_Boss1_entered_phase(phase):
|
|||
match phase:
|
||||
2:
|
||||
$DelayedArrow2.start()
|
||||
speccy_can_yap = false
|
||||
3:
|
||||
$DelayedArrow3.start()
|
||||
4:
|
||||
|
@ -41,3 +44,8 @@ func _on_ExitTimer_timeout():
|
|||
Game.change_map(LevelData.levels[Game.current_level].scene)
|
||||
else:
|
||||
Game.change_map(load("res://menus/level_select_scholar.tscn"))
|
||||
|
||||
|
||||
func _on_SpeccyTimer_timeout() -> void:
|
||||
if speccy_can_yap:
|
||||
$Speccy.appear()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue