Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
|
@ -0,0 +1,34 @@
|
|||
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
||||
|
||||
func Localization():
|
||||
localization = ["", "choice22.3", "choice21.1", "choice21.9"]
|
||||
|
||||
func SetCursorStates():
|
||||
cursorStates = [CursorState.Talk, CursorState.Walk, CursorState.Walk, CursorState.Walk, ];
|
||||
|
||||
func AdjustLabels():
|
||||
$Labels / a1.rect_global_position = Vector2(10, 605);
|
||||
$Labels / a2.rect_global_position.y = 605;
|
||||
|
||||
func _on_Yellow_button_up():
|
||||
if not CheckHover():return ;
|
||||
if Dialogic.get_variable("130") == "1":
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "130.2");
|
||||
else :
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "130.1");
|
||||
End()
|
||||
|
||||
func _on_Door_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "back");
|
||||
End()
|
||||
|
||||
func _on_ArrowFront_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "120_w_front");
|
||||
End()
|
||||
|
||||
func _on_ArrowSmoking_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "120_w_smoking");
|
||||
End()
|
Loading…
Add table
Add a link
Reference in a new issue