; SCENES 1900-1998
; The next few scenes deal with the air rune/mysteria quest. (1900-1902)

SCENE 1900, forest2, SCENE, "Mysterious Grove"
COMPARE #<release1>, 1
IF=, @end
COMPARE #<tribestalk1>, 1
IF=, @2
END
@2
ACTOR 1, "Mysterious Box", DarVillagers, 2, 50, 90
END
@eventActorClick1
N: You release a spirit from within the box.
FIGHT2 71
IF DEAD, @end
N: You have released the condemned spirit.
SET release1, 1
@END
END

SCENE 1901, swamp, SCENE, "Mysterious Swamp"
COMPARE #<release2>, 1
IF=, @end
COMPARE #<tribestalk1>, 1
IF=, @2
END
@2
ACTOR 1, "Mysterious Box", DarVillagers, 2, 50, 90
END
@eventActorClick1
N: You release a spirit from within the box.
FIGHT2 72
IF DEAD, @end
N: You have released the condemned spirit.
SET release2, 1
@END
END

SCENE 1902, forest3, SCENE, "Tribesman Abode"
ACTOR 1, "Tribe Lord", skullguy, 1, 25, 90
IF T101, @finished
IF T100, @gototemple
COMPARE #<release1>, 1
IF=, @check1
COMPARE #<release2>, 1
IF=, @check2
COMPARE #<tribestalk1>, 1
IF=, @2
1: %1.
1: We have heard about you from our priest.
1: We must ask a favor of you.
1: Our god, Tiamat, has been sealed by a mysterious force.
1: The Mysterian Tribe is in an uproar and are very upset that we can't worship our god.
1: We fear an evil spirit has possessed Tiamat and caused him to do things he normally wouldn't do.
1: A few tribesmen went into the temple to worship the other day, and never returned.
1: We did however hear a ruckus from within the temple!
1: We don't want to believe it, but we think Tiamat may have killed them.
1: We would like to find the source of the problem, and we believe it is found within the forest maze.
1: Would you go look around for clues for us?
H: Sure, I'll help you out.
1: Great!
1: I'm sure we could come up with something to reward you with.
1: Our voodoo doctors can whip up quite a brew!
SET tribestalk1, 1
END
@2
1: Please find out what is causing this tragedy!
END
@check1
COMPARE #<release2>, 1
IF=, @finishedsearch
1: It seems you've solved half the problem.
1: Pleas keep looking.
END
@check2
COMPARE #<release1>, 1
IF=, @finishedsearch
1: It seems you've solved half the problem.
1: Please keep looking.
END
@finishedsearch
1: So, there were spirits at work here eh?
1: Here, I'll unlock the temple for you.
1: Please go and see if you can get to the root of this problem.
GIVE T100
END
@gototemple
1: Please hurry to the Temple of Tiamat and solve the root of the problem!
END
@finished
COMPARE #<nogivetribe1>, 2
IF=, @gave
1: I see that Tiamat was possessed after all.
1: Thank you for releasing him from his prison!
1: The tribe would like to thank you with this %I927.
GIVE I927
SET nogivetribe1, 2
@gave
1: Thank you again, %1.
END

;--------------------------
;-  The Mana Tree - 106   -
;--------------------------

SCENE 106, forest, SCENE, "The Mana Tree"
ACTOR 1, "", candle, 1, 30, 90
ACTOR 2, "", candle, 1, 35, 75
ACTOR 3, "", candle, 1, 40, 90
ACTOR 4, "", candle, 1, 45, 75
ACTOR 5, "", candle, 1, 50, 90
ACTOR 6, "", candle, 1, 55, 75
ACTOR 7, "", candle, 1, 60, 90
ACTOR 8, "", candle, 1, 65, 75
ACTOR 9, "", candle, 1, 70, 90
IF T3, @hasT3
@check1
IF T4, @hasT4
@check2
IF T5, @hasT5
@check3
IF T6, @hasT6
@check4
IF T7, @hasT7
@check5
IF T8, @hasT8
@check6
IF T9, @hasT9
@check7
IF T10, @hasT10
@check8
IF T11, @hasT11
@finalcheck
IF T3+T4+T5+T6+T7+T8+T9+T10+T11, @gateway
END
@hasT3
ACTOR 1, "", candle, 2, 30, 90
GOTO #<at>check1
@hasT4
ACTOR 2, "", candle, 2, 35, 75
GOTO #<at>check2
@hasT5
ACTOR 3, "", candle, 2, 40, 90
GOTO #<at>check3
@hasT6
ACTOR 4, "", candle, 2, 45, 75
GOTO #<at>check4
@hasT7
ACTOR 5, "", candle, 2, 50, 90
GOTO #<at>check5
@hasT8
ACTOR 6, "", candle, 2, 55, 75
GOTO #<at>check6
@hasT9
ACTOR 7, "", candle, 2, 60, 90
GOTO #<at>check7
@hasT10
ACTOR 8, "", candle, 2, 65, 75
GOTO #<at>check8
@hasT11
ACTOR 9, "", candle, 2, 70, 90
GOTO #<at>finalcheck
END
@gateway
IF T3000, @end
ACTOR 10, "Gateway" gateway, 1, 52, 60
POSE 1,2,3
END
@eventActorClick10
N: You have collected all the runes of power.
WAIT 2
N: Entering into this gateway will lead you to the final battle.
WAIT 3
N: Are you sure you want to do this?
ASK 10
IF YES, @finalbattle
N: Return when you wish to continue.
END
@finalbattle
N: :-p There is no final battle yet :-p
N: Maybe in V4 I'll add this part :-p
;GOTO SCENE 3000
@end
END






; THE GREEN BUNNY HAS PINK EARS  