Initial Android commit
This commit is contained in:
commit
1e2b80c13d
8521 changed files with 231475 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
extends "res://scripts/AlternativeChoices/AlternativeChoiceBase.gd"
|
||||
|
||||
func Localization():
|
||||
localization = ["choice21.2", "", "", "", ""];
|
||||
|
||||
func SetCursorStates():
|
||||
|
||||
setLabelsPosition = false;
|
||||
cursorStates = [CursorState.Walk, CursorState.Talk, CursorState.Press, CursorState.Press, CursorState.Press, ];
|
||||
|
||||
func CheckForVariables():
|
||||
if Dialogic.get_variable("TwinsNPC") == "fish":
|
||||
$SpriteButtons / Fisher.visible = true;
|
||||
|
||||
func _on_Arrow_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "back");
|
||||
End()
|
||||
|
||||
func _on_Fisher_button_up():
|
||||
if not CheckHover():return ;
|
||||
if Dialogic.get_variable("VisitedFisher") == "0":
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "ribak");
|
||||
else :
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "ribak_text");
|
||||
End()
|
||||
|
||||
func _on_Yacht_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "yacht");
|
||||
End()
|
||||
|
||||
func _on_Boat_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "lodka");
|
||||
End()
|
Loading…
Add table
Add a link
Reference in a new issue