diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/scripts/finale.lua | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/res/scripts/finale.lua b/res/scripts/finale.lua index 7e23336..ff7a222 100644 --- a/res/scripts/finale.lua +++ b/res/scripts/finale.lua | |||
@@ -20,6 +20,49 @@ function finale.init() | |||
20 | MoveSpriteToWarp("boney", "boney_start") | 20 | MoveSpriteToWarp("boney", "boney_start") |
21 | SetDirection("boney", Direction.DOWN) | 21 | SetDirection("boney", Direction.DOWN) |
22 | SetAnimation("boney", "asleep") | 22 | SetAnimation("boney", "asleep") |
23 | |||
24 | finale.WaitForMovement(15000) | ||
25 | |||
26 | StartCutscene() | ||
27 | |||
28 | if gamestate.approached_doria then | ||
29 | DisplayMessage("* Kuma?\n\f* ... You know that people love you, right?", "Duster", SpeakerType.MAN) | ||
30 | WaitForEndOfMessage() | ||
31 | |||
32 | Delay(1000) | ||
33 | |||
34 | SetDirection("kuma", Direction.UP_RIGHT) | ||
35 | Delay(100) | ||
36 | |||
37 | SetDirection("kuma", Direction.RIGHT) | ||
38 | Delay(1000) | ||
39 | |||
40 | DisplayMessage("* ......... Fuck you, Duster.", "Kumatora", SpeakerType.WOMAN) | ||
41 | WaitForEndOfMessage() | ||
42 | |||
43 | Delay(1000) | ||
44 | |||
45 | SetDirection("kuma", Direction.UP_RIGHT) | ||
46 | Delay(100) | ||
47 | |||
48 | SetDirection("kuma", Direction.UP) | ||
49 | Delay(1000) | ||
50 | |||
51 | DisplayMessage("* Yeah... fuck me, I guess.", "Duster", SpeakerType.MAN) | ||
52 | WaitForEndOfMessage() | ||
53 | end | ||
54 | |||
55 | HideCutsceneBars() | ||
56 | end | ||
57 | |||
58 | function finale.WaitForMovement(length) | ||
59 | sprite = getSprite(getSpriteByAlias("lucas")) | ||
60 | while length > 0 do | ||
61 | dt = coroutine.yield() | ||
62 | if sprite.characterState == CharacterState.WALKING then | ||
63 | length = length - dt | ||
64 | end | ||
65 | end | ||
23 | end | 66 | end |
24 | 67 | ||
25 | function finale.talk_to_kuma() | 68 | function finale.talk_to_kuma() |