extends Control var character var text_label var positive_button var neutral_button var negative_button var end = false func _ready() -> void: character = get_node("Character") text_label = get_node("HBoxContainer/VBoxContainer/Button") positive_button = get_node("HBoxContainer/VBoxContainer/Positive") neutral_button = get_node("HBoxContainer/VBoxContainer/Neutral") negative_button = get_node("HBoxContainer/VBoxContainer/Negative") positive_button.button_up.connect(_increase_abstraction) neutral_button.button_up.connect(_further_story) negative_button.button_up.connect(_decrease_abstraction) func _increase_abstraction() -> void: character.increase() _further_story() func _decrease_abstraction() -> void: character.decrease() _further_story() func _further_story() -> void: text_label.next_page() positive_button.next_page() neutral_button.next_page() negative_button.next_page()