From 81d1afa871c947ec6ba44e11cd6041fe16ed5756 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 11 Feb 2021 21:58:38 -0500 Subject: Flint uses talking animation in script0001 now --- res/scripts/script0001.lua | 3 +++ res/sprites/flint_anim.txt | 10 +++++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/res/scripts/script0001.lua b/res/scripts/script0001.lua index 077e809..0be8382 100644 --- a/res/scripts/script0001.lua +++ b/res/scripts/script0001.lua @@ -3,6 +3,7 @@ function script0001() SetAnimation("boney", "barking") local barkingNoise = LoopSound("barking_at_hallucination.wav") + SetAnimation("flint", "talk") DisplayMessage("Lucas. It's me, Flint. Your father.\n\fI found Claus. He's here. After three years I've finally found your brother.\n\fAre you ready to see him again?", "Flint", SpeakerType.MAN) ShowChoice("Yes", "No") WaitForEndOfMessage() @@ -17,5 +18,7 @@ function script0001() DisplayMessage("Look at me when I'm talking to you, Lucas.\n\fWhen Claus gets home, we won't need you anymore.\nYou're nothing compared to him.", "Flint", SpeakerType.MAN) end + WaitForEndOfMessage() + SetAnimation("flint", "still") HideCutsceneBars() end diff --git a/res/sprites/flint_anim.txt b/res/sprites/flint_anim.txt index f02b655..7ed7a20 100644 --- a/res/sprites/flint_anim.txt +++ b/res/sprites/flint_anim.txt @@ -31,4 +31,12 @@ run[up_left]: 43,51,59,67 run[up]: 44,52,60,68 run[up_right]: 45,53,61,69 run[right]: 46,54,62,70 -run[down_right]: 47,55,63,71 \ No newline at end of file +run[down_right]: 47,55,63,71 +talk[down]: 24,32 +talk[down_left]: 25,33 +talk[left]: 26,34 +talk[up_left]: 27,35 +talk[up]: 28,36 +talk[up_right]: 29,37 +talk[right]: 30,38 +talk[down_right]: 31,39 \ No newline at end of file -- cgit 1.4.1