diff options
Diffstat (limited to 'Scenes/Maps/Alpha/House_Bomb.gd')
-rw-r--r-- | Scenes/Maps/Alpha/House_Bomb.gd | 14 |
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 |