23 lines
638 B
GDScript
23 lines
638 B
GDScript
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
|
|
|
func Localization():
|
|
localization = ["choice21.2", "choice22.10"];
|
|
|
|
func SetCursorStates():
|
|
cursorStates = [CursorState.Walk, CursorState.Press];
|
|
|
|
func CheckForVariables():
|
|
pass;
|
|
|
|
func AdjustLabels():
|
|
$Labels / a1.rect_global_position.y = $Labels / a1.rect_global_position.y - 40;
|
|
|
|
func _on_Arrow_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "140_lighthouse_back");
|
|
End()
|
|
|
|
func _on_Cliff_button_up():
|
|
if not CheckHover():return ;
|
|
Dialogic.set_variable("PreviousTimelineChoice", "140_lighthouse_back_cliff");
|
|
End()
|