diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-11 21:58:38 -0500 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2021-02-11 21:58:38 -0500 |
commit | 81d1afa871c947ec6ba44e11cd6041fe16ed5756 (patch) | |
tree | ea58d3491cc6b695776bd15228d4c03fc8790c37 /res | |
parent | ec511705ce96d80d4e2a36054769c211448e8ec8 (diff) | |
download | tanetane-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.lua | 3 | ||||
-rw-r--r-- | res/sprites/flint_anim.txt | 10 |
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() |
21 | end | 24 | 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 | |||
31 | run[up]: 44,52,60,68 | 31 | run[up]: 44,52,60,68 |
32 | run[up_right]: 45,53,61,69 | 32 | run[up_right]: 45,53,61,69 |
33 | run[right]: 46,54,62,70 | 33 | run[right]: 46,54,62,70 |
34 | run[down_right]: 47,55,63,71 \ No newline at end of file | 34 | run[down_right]: 47,55,63,71 |
35 | talk[down]: 24,32 | ||
36 | talk[down_left]: 25,33 | ||
37 | talk[left]: 26,34 | ||
38 | talk[up_left]: 27,35 | ||
39 | talk[up]: 28,36 | ||
40 | talk[up_right]: 29,37 | ||
41 | talk[right]: 30,38 | ||
42 | talk[down_right]: 31,39 \ No newline at end of file | ||