summaryrefslogtreecommitdiff
path: root/Scenes/Maps/Alpha/House_Bomb.gd
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-04-22 16:34:25 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-04-22 16:34:25 +0200
commitc8a316e4b8987dad963656a34665fa0e23dedcb1 (patch)
tree569af4b4f37d21079b6aedfad5164e94b50b6cb8 /Scenes/Maps/Alpha/House_Bomb.gd
parentf27937e6e9b6a7146dd09fc711d2d293ecf5abbf (diff)
update
Diffstat (limited to 'Scenes/Maps/Alpha/House_Bomb.gd')
-rw-r--r--Scenes/Maps/Alpha/House_Bomb.gd14
1 files changed, 14 insertions, 0 deletions
diff --git a/Scenes/Maps/Alpha/House_Bomb.gd b/Scenes/Maps/Alpha/House_Bomb.gd
index 89e9209..774eadb 100644
--- a/Scenes/Maps/Alpha/House_Bomb.gd
+++ b/Scenes/Maps/Alpha/House_Bomb.gd
@@ -1 +1,15 @@
extends "res://Scenes/Maps/Map.gd"
+
+
+var dialog_played = false
+
+
+func _on_dialog_body_entered(body):
+ if body is Player and dialog_played == false:
+ Utilities.dialog("yubiwa-girl")
+ dialog_played = true
+
+
+func _on_map_area_body_entered(body):
+ if body is Player:
+ dialog_played = false