@@ -14,6 +14,8 @@ onready var energy = get_parent().get_node("UI/Energy bar")
...
@@ -14,6 +14,8 @@ onready var energy = get_parent().get_node("UI/Energy bar")
onready var dialogue = get_parent().get_node("UI/Dialogue Box/RichTextLabel")
onready var dialogue = get_parent().get_node("UI/Dialogue Box/RichTextLabel")
onready var movementHandle = get_parent().get_node("UI/Movement Handler") # not a UI element, just the node that handles the left/right movement between rooms
onready var movementHandle = get_parent().get_node("UI/Movement Handler") # not a UI element, just the node that handles the left/right movement between rooms
onready var cutsceneHandler = get_parent().get_node("Cutscenes") # node that has all the cutscenes under it
#rooms
#rooms
onready var bedroom = get_parent().get_node("Bedroom")
onready var bedroom = get_parent().get_node("Bedroom")
onready var bathroom = get_parent().get_node("Bathroom")
onready var bathroom = get_parent().get_node("Bathroom")
...
@@ -121,7 +123,15 @@ func getClean(): # returns the number of objects that have been cleaned
...
@@ -121,7 +123,15 @@ func getClean(): # returns the number of objects that have been cleaned
func _foundBanana(): # keeps track that Banana has been spotted on the balcony
func _foundBanana(): # keeps track that Banana has been spotted on the balcony