diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-12 16:41:25 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2021-03-12 16:41:25 -0500 |
commit | 065d5dbac17664666d6a83583141d4cdf0bb691c (patch) | |
tree | dcca0a1495968897d1810eeb04eda968e90ad204 /res/scripts/finale.lua | |
parent | 680b7b1c8b0f04bcc10d80106819f73501177b48 (diff) | |
download | tanetane-065d5dbac17664666d6a83583141d4cdf0bb691c.tar.gz tanetane-065d5dbac17664666d6a83583141d4cdf0bb691c.tar.bz2 tanetane-065d5dbac17664666d6a83583141d4cdf0bb691c.zip |
Interacting with Kuma and Duster in the finale
The hot spring is also a little bigger now, because I'm using an enclosure to keep Lucas in, instead of setting the tiles to being solid or not. #20
Diffstat (limited to 'res/scripts/finale.lua')
-rw-r--r-- | res/scripts/finale.lua | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/res/scripts/finale.lua b/res/scripts/finale.lua index 2493473..7e23336 100644 --- a/res/scripts/finale.lua +++ b/res/scripts/finale.lua | |||
@@ -3,15 +3,37 @@ finale = {} | |||
3 | function finale.init() | 3 | function finale.init() |
4 | character():breakUpParty(getPlayerSprite()) | 4 | character():breakUpParty(getPlayerSprite()) |
5 | 5 | ||
6 | AddEnclosureZone("lucas", "hotspring_enclosure") | ||
7 | |||
6 | MoveSpriteToWarp("kuma", "kumatora_start") | 8 | MoveSpriteToWarp("kuma", "kumatora_start") |
7 | SetDirection("kuma", Direction.UP) | 9 | SetDirection("kuma", Direction.UP) |
8 | SetAnimation("kuma", "swim_still") | 10 | SetAnimation("kuma", "swim_still") |
11 | MakeSpriteSolid("kuma") | ||
12 | SetInteractionScript("kuma", "talk_to_kuma") | ||
9 | 13 | ||
10 | MoveSpriteToWarp("duster", "duster_start") | 14 | MoveSpriteToWarp("duster", "duster_start") |
11 | SetDirection("duster", Direction.RIGHT) | 15 | SetDirection("duster", Direction.RIGHT) |
12 | SetAnimation("duster", "swim_still") | 16 | SetAnimation("duster", "swim_still") |
17 | MakeSpriteSolid("duster") | ||
18 | SetInteractionScript("duster", "talk_to_duster") | ||
13 | 19 | ||
14 | MoveSpriteToWarp("boney", "boney_start") | 20 | MoveSpriteToWarp("boney", "boney_start") |
15 | SetDirection("boney", Direction.DOWN) | 21 | SetDirection("boney", Direction.DOWN) |
16 | SetAnimation("boney", "asleep") | 22 | SetAnimation("boney", "asleep") |
17 | end | 23 | end |
24 | |||
25 | function finale.talk_to_kuma() | ||
26 | SetDirection("kuma", Direction.UP) | ||
27 | StartCutscene() | ||
28 | DisplayMessage("* Kumatora doesn't respond.\n\f* She is grumbling to herself, and picking at the grass growing over the wall.", "", SpeakerType.NONE) | ||
29 | WaitForEndOfMessage() | ||
30 | HideCutsceneBars() | ||
31 | end | ||
32 | |||
33 | function finale.talk_to_duster() | ||
34 | SetDirection("duster", Direction.RIGHT) | ||
35 | StartCutscene() | ||
36 | DisplayMessage("* Duster doesn't respond.\n\f* He is simply staring at his own reflection in the water.", "", SpeakerType.NONE) | ||
37 | WaitForEndOfMessage() | ||
38 | HideCutsceneBars() | ||
39 | end | ||