diff --git a/levels/Testrooms/bullethell.gd b/levels/Testrooms/bullethell.gd index e2413d7..0139a3b 100644 --- a/levels/Testrooms/bullethell.gd +++ b/levels/Testrooms/bullethell.gd @@ -4,7 +4,7 @@ var boss # Called when the node enters the scene tree for the first time. func _ready(): boss = $Natasha - boss.add_to_group("enemies") + boss.add_to_group("boss") Global.cdialog = [["What are you doing heree?", true, 0], ["Your father need help to debug this game", false, 9], ["Ok, i'll help too", true, 0]] Global.live = 0 get_tree().root.add_child.call(talk) diff --git a/sprites/common/bullet/fireball.gd b/sprites/common/bullet/fireball.gd index 505d734..a2ce855 100644 --- a/sprites/common/bullet/fireball.gd +++ b/sprites/common/bullet/fireball.gd @@ -19,6 +19,8 @@ func _on_body_entered(body): # Global.live = 2 #elif body.is_in_group("enemies"): # Global.live = 3 + #elif body.is_in_group("boss"): + # Global.live = 3 queue_free()