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.8", "", ""]
|
||||
|
||||
func SetCursorStates():
|
||||
cursorStates = [CursorState.Talk, CursorState.Walk, CursorState.Press, CursorState.Press, ];
|
||||
|
||||
func AdjustLabels():
|
||||
$Labels / Arrow.rect_global_position.y = $Labels / Arrow.rect_global_position.y - 40;
|
||||
|
||||
func CheckForVariables():
|
||||
get_node("SpriteButtons/Gray").visible = Dialogic.get_variable("Is_Gray_Dead") == "0";
|
||||
|
||||
func _on_Gray_button_up():
|
||||
if not CheckHover():return ;
|
||||
if Dialogic.get_variable("Timeline143") == "1":
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "143_2");
|
||||
else :
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "143_1");
|
||||
End()
|
||||
|
||||
func _on_Arrow_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "143_back");
|
||||
End()
|
||||
|
||||
func _on_Elec_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "143_elec");
|
||||
End()
|
||||
|
||||
func _on_Window_button_up():
|
||||
if not CheckHover():return ;
|
||||
Dialogic.set_variable("PreviousTimelineChoice", "143_window");
|
||||
End()
|
Loading…
Add table
Add a link
Reference in a new issue