SCENE 0  tree, WELL, "Dreamer's Tree", 2, 0
THEME 1
MUSIC  ENDOTIME.mid
ACTOR 1,  "Dream Fairy", joshMiscellaneous, 9, 0, 40
SEL          1
POSE        9, 14, 9
MOVE 1, 50, 60
 ' Welcome to the Dream Lands
 ' As you know, the Dream Lands are in Danger
 ' An evil has swept through and made it all a nightmare
 ' Please help us!
 ' I can help you create a new soul or restore an already used one.
 ' Look at the bottom row of buttons on the screen.
 ' To create a new soul click on the *New* button to create a new soul.
 ' Click on *restore* to restore an already created soul, and continue where you left off.
 ' You can also haunt other souls by clicking on *haunt*.
 ' If things get too rough, you are always welcome to come here and rest.
END
;***********************************************************************Camp Scene********************************************************************************
SCENE 1
          THEME 0
;          MUSIC ""
IF T104, @riwy
IF T98, @kiwy
IF T92, @jum
IF T91, @nmp
IF T87, @jigfn
IF T81, @jane
IF T76, @emmagone
IF T75, @jack2
IF T66, @emma1
IF T64, @nomariel
IF T56, @mariel2
IF T54, @lilkajoins4ever
IF T46, @lilka
IF T23, @empty11
IF T22, @helpdog
IF T21, @helpjewler
IF T20, @helpprettylady
END
@helpprettylady
IF -T21+T22, @helpprettyladyanddog
IF -T22+T21, @helpprettyladyandjewler
IF T21+T22, @helpallthree
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
MOVE 1, 90, 35, 0
END
@helpjewler
IF -T20+T22, @helpjewleranddog
IF -T22+T20, @helpprettyladyandjewler
IF T22+T20, @helpallthree
ACTOR 1, "Jewler", joshTownsfolk, 29, 90, 36
MOVE 1, 90, 35, 0
END
@helpdog
IF -T20+T21, @helpjewleranddog
IF -T21+T20, @helpprettyladyanddog
IF T20+T21, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 36
MOVE 1, 90, 35, 0
END
@helpprettyladyanddog
IF -T20+T22, @helpdog
IF -T22+T20, @helpprettylady
IF T20+T21+T22, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 46
ACTOR 2, "Pretty Lady", joshRoyalty, 19, 90, 36
MOVE 1, 90, 45, 0
MOVE 2, 90, 35, 0
END
@helpjewleranddog
IF -T2O+21, @helpjewler
IF -T21+T22, @helpdog
IF T20+T21+T22, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
END
@helpprettyladyandjewler
IF -T21+20, @helpprettylady
IF -T22+21, @helpjewler
IF T20+T21+T22, @helpallthree
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
END
@helpallthree
IF -T22, @helpprettyladyandjewler
IF -T21, @helpprettyladyanddog
IF-T20, @helpjewleranddog
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
ACTOR 3, "Dog", joshAnimals, 23, 90, 56
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
MOVE 3, 90, 55, 0
END
@empty11
ACTOR 1, ""
END
@lilka
MUSIC wa2magic.mid
ACTOR 1, "Lilka", Lilka, 1, 88, 32
END
@lilkajoins4ever
ACTOR 1, "Lilka", Lilka, 1, 88, 32
END
@eventActorClick1
IF T104, @ttfd
IF T103, @osom
IF T98, @ki
IF T94, @gtsy
IF T92, @gtepa
IF T85, @gtp
IF I208+I209, @gtea
IF T81, @eosw
IF T76, @frd
IF T75, @backemma
IF T67, @ruins
IF T66, GOTO @eventActorClick3
IF T59, @temple
IF T58, @getout
IF T57, @gs
IF T55, @marial1
IF T54, @elwp
IF I193, @talktot2
IF T53, @sl
IF T52, @findslib
IF I192, @talktot
IF T47, @teardropfind 
1: We need to go talk to Teresa!
END
@teardropfind
1: Let's ask around here to see if we can find the *Tear Drop*.
END
@talktot
1: Let's hurry back and tell Teresa we found the *Tear Drop*.
END
@findslib
1: I think there is something suspecious about that bookshelf in the classrooms.
END
@sl
1: Let's hurry and find that book.
END
@talktot2
1: Let's go tell Teresa we found the book!
END
@elwp
1: Let's go examine the Elw Pyramid.
END
@marial1
1: I know there is a person in Milama that knows a lot about the Elws.
1: Let's go check it out!
END
@mariel2
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 2, "Mariel", joshTownsfolk4, 3, 72, 46
MUSIC "wa2dark.mid"
END
@eventActorClick2
IF T104, @ttfd
IF T103, @osom
IF T98, @ki
IF T85, @gtp
IF I208+I209, @gtea
IF T81, @eosw
IF T75, @backemma
IF T59, @temple
IF T58, @getout
IF T57, @gs
2: If we can get a ship, we can find the underwater temple.
1: Doesn't Ship Graveyard have things like that?
END
@gs
2: I wonder what this ghost ship is about.
1: I dunno, but I hate ghosts.
2: Me too!
END
@getout
1: What are you waiting for?!
2: We have to get out of here!
END
@temple
2: I'm pretty sure the temple was *south of Milama*, but I'm not quite sure.
END
@nomariel
ACTOR 1, "Lilka", Lilka, 1, 88, 32
END
@eventActorClick1
IF T81, @eosw
1: Let's hurry to Aldehyde!
END
@emma1
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 3, "Emma", joshTownsfolk4, 32, 72, 46
MUSIC "waemma.mid"
END
@eventActorClick3
IF T104, @ttfd
IF T85, @gtp
IF I208+I209, @gtea
IF T81, @eosw
IF T67, @ruins
3: The Withered Ruins are very mysterious.
3: I heard they are filled with many challenging puzzles.
1: Hmm...
1: We can do it, right %1?
H: Of course!
END
@ruins
3: These ruins have many puzzles in them.
3: We should also be alert for traps too.
END
@jack2
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 3, "Emma", joshTownsfolk4, 32, 72, 46
ACTOR 4, "Jack", Jack, 1, 76, 62
END
@eventActorClick4
IF I208+I209, @gtea
IF T76, @frd
4: It's good to be on an adventure.
4: I needed something like this!
END
@backemma
3: Let's hurry back to my house!
END
@emmagone
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 4, "Jack", Jack, 1, 76, 62
END
@frd
1: These Rune Drives are going to be hard to find.
4: Especially because we don't have many clues to find them.
1: This adventure just keeps getting better and better.
H: Eeeheheheh...
END
@jane
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 2, "Jack", Jack, 1, 76, 62
ACTOR 3, "Jane", joshTownsfolk4, 25, 68, 32
END
@eosw
3: The Epitah of the Sea Wind is located just *south of here*.
END
@gtea
1: We have both Rune Drives now.
2: Let's hurry back to Emma's.
H: What about you Jane?
3: I think I'll come along too.
H: Alright.
END
@gtp
1: We are finally going to the Photosphere!
H: Those Metal Demons are going to pay!
2: Heh
END
@jigfn
ACTOR 1, "Lilka", Lilka, 1, 88, 32
ACTOR 2, "Jack", Jack, 1, 76, 62
END
@nmp
END
@jum
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
END
@gtepa
1: We should hurry to the Elw Pyramid.
END
@gtsy
1: Let's find that Dreamer's Tree!
END
@kiwy
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
ACTOR 2, "Kalei", Kalei, 1, 69, 35
END
@ki
2: I hope we can save the forest in time.
END
@osom
1: I wonder what's on the other side of the Mountains?
1: I've never travelled this far away from home before.
END
@riwy
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
ACTOR 2, "Kalei", Kalei, 1, 69, 35
ACTOR 3, "Reuben", Rueben, 1, 92, 49
END
@ttfd
1: To the <Lava Dome>!
END
;**************************************************************************Fight Scene******************************************************************************
SCENE 2
THEME  0
IF T104, @riwy2
IF T101, @kiwy2
IF T112, @kiwy3
IF T98, @kiwy2
IF T92, @jum2
IF T91, @nmp2
IF T87, @jigfn2
IF T81, @jane2
IF T75, @jack
IF T66, @emma2
IF T64, @nomariel2
IF T56, @marielwith
IF T46, @lilkafight
IF T23, @fightnormal
IF T22, @helpdog
IF T21, @helpjewler
IF T20, @helpprettylady
FIGHT
WON orbwon.mid
END
@helpprettylady
IF -T21+T22, @helpprettyladyanddog
IF -T22+T21, @helpprettyladyandjewler
IF T21+T22, @helpallthree
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
MOVE 1, 90, 35, 0
FIGHT
WON orbwon.mid
END
@helpjewler
IF -T20+T22, @helpjewleranddog
IF -T22+T20, @helpprettyladyandjewler
IF T22+T20, @helpallthree
ACTOR 1, "Jewler", joshTownsfolk, 29, 90, 36
MOVE 1, 90, 35, 0
FIGHT
WON orbwon.mid
END
@helpdog
IF -T20+T21, @helpjewleranddog
IF -T21+T20, @helpprettyladyanddog
IF T20+T21, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 36
MOVE 1, 90, 35, 0
FIGHT
WON orbwon.mid
END
@helpprettyladyanddog
IF -T20+T22, @helpdog
IF -T22+T20, @helpprettylady
IF T20+T21+T22, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 46
ACTOR 2, "Pretty Lady", joshRoyalty, 19, 90, 36
MOVE 1, 90, 45, 0
MOVE 2, 90, 35, 0
FIGHT
WON orbwon.mid
END
@helpjewleranddog
IF -T2O+21, @helpjewler
IF -T21+T22, @helpdog
IF T20+T21+T22, @helpallthree
ACTOR 1, "Dog", joshAnimals, 23, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
FIGHT
WON orbwon.mid
END
@helpprettyladyandjewler
IF -T21+20, @helpprettylady
IF -T22+21, @helpjewler
IF T20+T21+T22, @helpallthree
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
FIGHT
WON orbwon.mid
END
@helpallthree
IF -T22, @helpprettyladyandjewler
IF -T21, @helpprettyladyanddog
IF-T20, @helpjewleranddog
ACTOR 1, "Pretty Lady", joshRoyalty, 19, 90, 36
ACTOR 2, "Jewler", joshTownsfolk, 29, 90, 46
ACTOR 3, "Dog", joshAnimals, 23, 90, 56
MOVE 1, 90, 35, 0
MOVE 2, 90, 45, 0
MOVE 3, 90, 55, 0
FIGHT
WON orbwon.mid
END
@fightnormal
FIGHT
IF WON, @wonbattle
N: You have been defeated.
END
@wonbattle
H: Woo Hoo!
H: I did it!
END
@lilkafight
FIGHT -2019, *
IF WON, @wonbattle2
1: Ack..
END
@wonbattle2
1: We did it!!
END
@marielwith
ACTOR 2, "Mariel", joshTownsfolk4, 3, 72, 46
FIGHT -2019, *
END
@nomariel2
FIGHT -2019, *
END
@emma2
ACTOR 2, "Emma", joshTownsfolk4, 32, 72, 46
FIGHT -2019, *
END
@jack
IF T76, @emmagone2
ACTOR 2, "Emma", joshTownsfolk4, 32, 72, 46
@emmagone2
FIGHT -2019, -2020, *
WAIT 4.0sec
GOTO SCENE 200
END
@jane2
ACTOR 2, "Jane", joshTownsfolk4, 25, 68, 32
FIGHT -2019, -2020, *
WAIT 4.0sec
GOTO SCENE 200
END
@jigfn2
FIGHT -2019, -2020, *
WAIT 4.0sec
GOTO SCENE 202
END
@nmp2
FIGHT
END
@jum2
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
FIGHT
END
@kiwy2
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
FIGHT -1004, *
WAIT 3.0sec
GOTO SCENE 204
END
@kiwy3
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
ACTOR 2, "Kalei", Kalei, 1, 69, 35
FIGHT
WAIT 3.0sec
GOTO SCENE 204
END
@riwy2
ACTOR 1, "Mariel", joshTownsfolk4, 3, 72, 46
FIGHT -1004, -2040, *
WAIT 4.0sec
GOTO SCENE 203
END
;********************************************************************************************************************************************************************
SCENE 3  plaza
THEME 0
MUSIC CT-CRED.mid
ACTOR 1,  "Bringer of Life", joshMiscellaneous, 12, 25, 90
POSE 12, 13
IF T46, @lilka3
IF -T46, @nolilka1
@lilka3
ACTOR 2, "Lilka", Lilka, 1, 88, 32
@nolilka1
IF ALIVE, @revive1 
1: I shall give you life again!
WAIT 4.0
SOUND "thunder1.wav"
WAIT 1.0
GIVE L1
GIVE H5000
GIVE M5000
END
@revive1
GIVE L1
GIVE H5000
GIVE M5000
1: Let me take care of all your healing needs.
END
;**************************************************************************Exp Place***************************************************************************
SCENE 200
THEME 0
FIGHT 3000
END
;****************
SCENE 201
THEME 0
FIGHT 3001
END
;****************
SCENE 202
THEME 0
FIGHT 3002
END
;***************
SCENE 203
THEME 0
FIGHT 3003
END
;***************
SCENE 204
THEME 0
FIGHT 3004
END
;**************
SCENE 205
THEME 0
FIGHT 3005
END
;End of scene file! :)