

SCENE 330

	IF DEAD, @end
	N: You take a deep breath and head underwater.
	N: Make sure your air doesn't run out.
	WAIT 3
	IF I132+T330, @eight
	IF I132+T331, @seven
	IF I132+T332, @six
	IF T330, @six
	IF T331, @five
	IF I132, @four
	IF T332, @four


	COUNTDOWN 120
	GOTO @trans

@four
	COUNTDOWN 240
	GOTO @trans

@five
	COUNTDOWN 300
	GOTO @trans

@six

	COUNTDOWN 360
	GOTO @trans

@seven
	COUNTDOWN 420
	GOTO @trans

@eight
	COUNTDOWN 480
	GOTO @trans
	END

@trans

	GOTO LINK 43, 0

	END

@end
N: Your body floats to the surface.
END



SCENE 331

	IF T371+C12, @spell
	IF T371, @wb
	IF XP, @dead
	COUNTDOWN 0
	FX 1
	ACTOR	1,	"Sorcerer", pic019b, 1, 25, 90

	1: Greetings, The Elementalist Elder has been in contact with me, I've been expecting you.
	1: I don't rely on my instincts like he does, I had to test you a bit on your way in.
	1: I need to expand a bit on what he told you. 
	1: The Elders gathered to construct the aftifact in eight seperate circles.
	1: But there were problems.
	1: Our creation of the elements didn't just affect the creatures but also the people of Aerianell
	1: Every person suddenly had a "class" depending on which of the elements they were most associated with.
	1: Newborn babies had an affinity to magic.
	1: Every person conformed to the element of one of the eight circles.
	1: But there were problems.
	1: the Warfare circle was weaker and fragmented.
	1: Half the members were Bards who used their own spells seperate from the other elders.
	1: Each of the other Elemental circles absorbed a bit of the power the nearby circles.
	1: The warfare circle did not do this, instead it fragmented into several seperate classes.
	1: each of these borrowed randomly from the other circles, instead of the ones closest.
	1: They also excelled greatly in the use of weapons.
	1: The Bards were the only ones who retained their use of only warfare magic.
	1: But they have other limitations.
	1: You must now find the Necromancy Elder.
	1: He has hidden himself inside of Castle Albannach.
	GIVE T371
	1: Any Sorcerer should visit me alone, I have a few things to teach them.
	1: You can also Right click on me for an easy exit.
	END
	@wb
	ACTOR	1,	"Sorcerer", pic019b, 1, 25, 90
	1: Welcome back, how goes your quest?
	END
	@spell
	ACTOR	1,	"Sorcerer", pic019b, 1, 25, 90
	1: I can teach you a more powerful Chaos spell.
	1: I'm counting on you to destroy the TDG.
	HOST_GIVE S217
	END

	@eventActorClick1
	GOTO LINK
	END

	@dead
	TAKE L1
	WAIT 5
	TAKE H20000
	N: Your air has run out!
	WAIT 2
	GOTO LINK 7, 3
	END
;comment





SCENE 333 bgWaterwall, Scene, "", 0, 0

	ACTOR	1,	"Balik Robber", Pic055b, 1, 15, 85
	FX 2
	IF T330, @cant
	IF T330, @skip1
	SET breathcash, "300000"
	SET breathfight, "304"
	SET breathlevel, "330"
@skip1
	IF T331, @skip2
	SET breathcash, "200000"
	SET breathfight, "304"
	SET breathlevel, "331"
@skip2
	IF T332, @skip3
	SET breathcash, "100000"
	SET breathfight, "304"
	SET breathlevel, "332"
@skip3
	1: Hello
	1: Do you want to learn to swim?
	ASK 10
	IF -yes, @toobad
	
	1: You'll have to fight me underwater, it'll help your lungs.
	1: And I'll need #<breathcash> gold.
	1: Still want to train?
	ASK 10
	IF -yes, @toobad
	IF -G#<breathcash>, @poor
	TAKE G#<breathcash>
	MOVE 1, -20, -20, 1
	FX 1
	IF I132+T330, @eight
	IF I132+T331, @seven
	IF I132+T332, @six
	IF T330, @six
	IF T331, @five
	IF I132, @four
	IF T332, @four



	COUNTDOWN 120
	GOTO @trans

@four
	COUNTDOWN 240
	GOTO @trans

@five
	COUNTDOWN 300
	GOTO @trans

@six

	COUNTDOWN 360
	GOTO @trans

@seven
	COUNTDOWN 420
	GOTO @trans

@eight
	COUNTDOWN 480
	GOTO @trans
	END

	@trans
	IF T332, @fight2
	FIGHT 304
	GOTO @won
@fight2
	IF T331, @fight3
	FIGHT 304,304
	GOTO @won
@fight3
	FIGHT 304,304,304
	IF XP, @fail
	IF Lose, @fail
@won
	COUNTDOWN 0
	MOVE 1, 15, 85, 1
	FX 2
	1: Good Job
	1: You can now hold your breath an extra minute.
	HOST_GIVE T#<breathlevel>
	END

@toobad
	1: come back when you want to learn.
	END
@cant
	1: I can't teach you anything new.
	END
@poor
	1: You don't have enough money.
	END
@fail
	MOVE 1, 15, 85, 1
	1: You were unsuccesful, come back when you'd like to try the training again.
	END



	


SCENE 334

	ACTOR	1,	"Azthandius", josh65, 1, 15, 85

	IF T372+C13, @spell
	IF I233, @return
	1: Hello
	1: The Sorcerer contacted me.
	1: I have a task for you before I can give you the artifact piece.
	1: Bring my Cape back to me
	END

@return
	1: Hello
	1: You have my cape, thank you for returning it to me.
	TAKE I233
	1: Here is the artifact piece.
	1: The other elders don't trust the sorcerer that much.
	1: He is ... chaotic, I guess.
	1: I like him though, He always creates lots of bodies for me.
	1: The illusion elder is hiding in the Pyramid.
	1: Watch out for any odd looking people that you meet.
	1: Any Necromancers should return to me alone.
	GIVE T372
	END

@spell
	1: Here's a spell that I've researched.
	1: It should prove helpful.
	HOST_GIVE S216
	END


SCENE 335


	FIGHT 422
	IF -Won, @end
	N: You recieve a Bone Helm
	GIVE I238
	END
@end
	END


SCENE 336
	IF DEAD, @exit
	IF T372, @exit
	IF XP, @dead
@exit
	COUNTDOWN 0
	GOTO LINK 7, 3
	END
@dead
	TAKE H10000
	TAKE L1
	N: You couldn't hold your breath any longer
	WAIT 2
	COUNTDOWN 0
	GOTO LINK 7, 3
	END
;Exit
; end comment

END


SCENE 337

	ACTOR	1,	"Mr. Philonious T. Wizard", joshTownsfolk, 21, -20, -20
	IF T374+C15, @spell
	IF T374, @end
	FIGHT 424
	IF -won, @end
	MOVE 1, 15, 85
	1: Thank you for saving me.
	1: The Lieutenant captured me and imprisoned me here.
	1: He wasn't able to take the artifact piece from me though.
	1: Here is the piece, you must go and rescue the Nature elder.
	1: He's being held in the Nithean temple.
	GIVE T374
	1: Wizards should return to me for extra teaching.
@end
	END

@spell
	MOVE 1, 15, 85
	1: This spell should help you.
	HOST_GIVE S214
	END



SCENE 338

	FIGHT 423
	IF Won, @reward
	END
@reward
	N: You recieve a cursed ring.
	HOST_GIVE I239
	END
