From c8a316e4b8987dad963656a34665fa0e23dedcb1 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 22 Apr 2024 16:34:25 +0200 Subject: update --- Scenes/Maps/Alpha/House_Bomb.gd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'Scenes/Maps/Alpha/House_Bomb.gd') 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 -- cgit v1.2.3