22 lines
520 B
GDScript
22 lines
520 B
GDScript
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
|
|
|
func Localization():
|
|
localization = ["ui_walk", "ui_walk"]
|
|
|
|
func SetCursorStates():
|
|
|
|
setLabelsPosition = false;
|
|
cursorStates = [CursorState.Walk, CursorState.Walk];
|
|
|
|
func AdjustLabels():
|
|
pass
|
|
|
|
func _on_Left_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "forward");
|
|
End()
|
|
|
|
func _on_Right_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "backward");
|
|
End()
|