summary refs log tree commit diff stats
path: root/res
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2021-02-11 21:58:38 -0500
committerKelly Rauchenberger <fefferburbia@gmail.com>2021-02-11 21:58:38 -0500
commit81d1afa871c947ec6ba44e11cd6041fe16ed5756 (patch)
treeea58d3491cc6b695776bd15228d4c03fc8790c37 /res
parentec511705ce96d80d4e2a36054769c211448e8ec8 (diff)
downloadtanetane-81d1afa871c947ec6ba44e11cd6041fe16ed5756.tar.gz
tanetane-81d1afa871c947ec6ba44e11cd6041fe16ed5756.tar.bz2
tanetane-81d1afa871c947ec6ba44e11cd6041fe16ed5756.zip
Flint uses talking animation in script0001 now
Diffstat (limited to 'res')
-rw-r--r--res/scripts/script0001.lua3
-rw-r--r--res/sprites/flint_anim.txt10
2 files changed, 12 insertions, 1 deletions
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()
3 SetAnimation("boney", "barking") 3 SetAnimation("boney", "barking")
4 local barkingNoise = LoopSound("barking_at_hallucination.wav") 4 local barkingNoise = LoopSound("barking_at_hallucination.wav")
5 5
6 SetAnimation("flint", "talk")
6 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) 7 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)
7 ShowChoice("Yes", "No") 8 ShowChoice("Yes", "No")
8 WaitForEndOfMessage() 9 WaitForEndOfMessage()
@@ -17,5 +18,7 @@ function script0001()
17 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) 18 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)
18 end 19 end
19 20
21 WaitForEndOfMessage()
22 SetAnimation("flint", "still")
20 HideCutsceneBars() 23 HideCutsceneBars()
21end 24end
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
31run[up]: 44,52,60,68 31run[up]: 44,52,60,68
32run[up_right]: 45,53,61,69 32run[up_right]: 45,53,61,69
33run[right]: 46,54,62,70 33run[right]: 46,54,62,70
34run[down_right]: 47,55,63,71 \ No newline at end of file 34run[down_right]: 47,55,63,71
35talk[down]: 24,32
36talk[down_left]: 25,33
37talk[left]: 26,34
38talk[up_left]: 27,35
39talk[up]: 28,36
40talk[up_right]: 29,37
41talk[right]: 30,38
42talk[down_right]: 31,39 \ No newline at end of file