summary refs log tree commit diff stats
path: root/res/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'res/scripts')
-rw-r--r--res/scripts/map2.lua20
1 files changed, 20 insertions, 0 deletions
diff --git a/res/scripts/map2.lua b/res/scripts/map2.lua index 1f14b31..1b55072 100644 --- a/res/scripts/map2.lua +++ b/res/scripts/map2.lua
@@ -3,3 +3,23 @@ map2 = {}
3function map2.off_left() 3function map2.off_left()
4 ChangeMap("map1", "fromRight") 4 ChangeMap("map1", "fromRight")
5end 5end
6
7function map2.mailbox1()
8 StartCutscene()
9 DisplayMessage("* The mailbox lid is open...\n* Peek inside?", "", SpeakerType.NONE)
10 ShowChoice("Yes", "No")
11 WaitForEndOfMessage()
12
13 if GetChoiceSelection() == 0 then
14 DisplayMessage("* There are lots of postcards inside.\n* Read them?", "", SpeakerType.NONE)
15 ShowChoice("Yes", "No")
16 WaitForEndOfMessage()
17
18 if GetChoiceSelection() == 0 then
19 DisplayMessage("* The boy named Lucas is crying at a grave.\n\f* The boy named Lucas and his dog are loitering in the forest.\n\f* The boy named Lucas is getting into trouble in the mountains.\n\f* The boy named Lucas stole Beanoff from our garden.\n\f* The boy named Lucas is bullying animals.\n\f* The boy named Lucas learned some bad magic.\n\f* The boy named Lucas ......\n\f* The boy named Lucas ......\n\f* The boy named Lucas ......\n\f* The boy named Lucas .........\n\f* The mailbox let out a tremendous scream.", "", SpeakerType.NONE)
20 WaitForEndOfMessage()
21 end
22 end
23
24 HideCutsceneBars()
25end