troublemakers
This commit is contained in:
parent
7b36f2d53b
commit
176634ab28
2 changed files with 9 additions and 8 deletions
|
@ -17,22 +17,20 @@ func _process(delta):
|
|||
pass
|
||||
|
||||
func _physics_process(delta):
|
||||
if Global.debug:
|
||||
if Global.dstats[Global.dparty[0][0]][0] <= 0 && Global.live == 1:
|
||||
_winner()
|
||||
else:
|
||||
if Global.cstats[Global.party[0][0]][0] <= 0 && Global.live == 1:
|
||||
_winner()
|
||||
pass
|
||||
|
||||
func _input(event):
|
||||
if Global.cboss[1] <= 0 && Global.live == 1:
|
||||
_winner()
|
||||
if Global.cdialog.size() != 0 && Global.live == 1:
|
||||
get_tree().root.remove_child(talk)
|
||||
Global.cdialog = []
|
||||
|
||||
func _winner():
|
||||
Global.cdialog = [[tr("DIALOG_CERES_L20_3"), true, 0, 0], [tr("DIALOG_CERES_L20_4"), false, 3], [tr("DIALOG_CERES_L20_5"), true, 0, 0]]
|
||||
Global.cdialog = [[tr("DIALOG_TROUBLEMAKER_3"), true, 0, 0], [tr("DIALOG_TROUBLEMAKER_4"), true, 7, 0], [tr("DIALOG_TROUBLEMAKER_5"), true, 0, 0]]
|
||||
Global.live = 3
|
||||
Global.ccutscene = 6
|
||||
#Global.ccutscene = 6
|
||||
Global.ccutscene = null
|
||||
#talk.queue_free()
|
||||
talk = load("res://levels/ui/talk.tscn").instantiate()
|
||||
get_tree().root.add_child.call(talk)
|
||||
|
|
3
text.csv
3
text.csv
|
@ -113,6 +113,9 @@ DIALOG_CERES_L20_5;It seems I'm lucky;Parece que tengo suerte;私は幸運のよ
|
|||
DIALOG_TROUBLEMAKER_0;Hey, I just want to be your friend.;Oye, solamente quiero ser tu amiga;ねえ、私はただあなたと友達になりたいだけよ。
|
||||
DIALOG_TROUBLEMAKER_1;I hate rubber terrorists like you;Odio a las terroristas de hule como tu;あなたのようなゴムテロリストは嫌いです
|
||||
DIALOG_TROUBLEMAKER_2;I am not a terrorist;No soy una terrorista;私はテロリストではない
|
||||
DIALOG_TROUBLEMAKER_3;This is an Easy Quiz;Esto fue un examen fácil;これは簡単な試験でした
|
||||
DIALOG_TROUBLEMAKER_4;What hapened to my house?;¿Que le ocurrió a mi casa?;私の家に何が起こったのでしょうか?
|
||||
DIALOG_TROUBLEMAKER_5;Which house?;¿Cual casa?;どの家ですか?
|
||||
CERES_L20_DESC;Kimberly’s Challenge;Reto de Kimberly;キンバリーの挑戦
|
||||
TWIN_TROUBLEMAKERS;Twin Troublemakers;Gemelas problématicas;双子のトラブルメーカー
|
||||
MENU_CHARACTER;Character List;Lista de Personajes;キャラクター一覧
|
||||
|
|
|
Loading…
Reference in a new issue