21 lines
606 B
GDScript
21 lines
606 B
GDScript
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
|
|
|
func Localization():
|
|
localization = ["choice21.2", "choice22.9"];
|
|
|
|
func SetCursorStates():
|
|
cursorStates = [CursorState.Walk, CursorState.Walk];
|
|
|
|
func AdjustLabels():
|
|
$Labels / a1.rect_global_position.y = 450;
|
|
$Labels / a2.rect_global_position.y = 794;
|
|
|
|
func _on_Arrow_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "140_lighthouse_back");
|
|
End()
|
|
|
|
func _on_Behind_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "140_lighthouse_behind");
|
|
End()
|