;=--=--=--=--=--=--=--=--=--=--=;
;=======FOREST OF REGRET========;
;===============================;
;
;SCENE 10, Sword Class, first scene
SCENE 10,  forestScene, SCENE ,"Creek"
#include proxbeta.txt
#include linkstyles.txt
MUSIC #nochange
IF I300, @noNeed
H: Wow... where the heck am I?
N: Blatant Secret of Mana ripoff! =O
H: There's the sword. I just have to take it then EQUIP that and the other items I got from the Gatekeeper.
GIVE I300
H: ...It's pretty rusty! How the hell am I supposed to use this? I don't even have any prior experience!
H: It's going to be another RPG, isn't it?
@noNeed
WAIT 2.0
GOTO EXIT

;
;Healing Pond
SCENE 11, forest5, SCENE, "Mystic Pond"
#include proxbeta.txt
#include linkstyles.txt
MUSIC #nochange
	WAIT 2.0
N: HP and MP restored.
	GIVE L3000
	GIVE H3000	
	GIVE M3000
END

;
;
;Shop scene in clearing
SCENE 12, forest, SCENE, "Clearing"
#include shopguy.txt
END

;
;
;EXIT, and the fight with Ultra Squirrel
SCENE 13, forest6, SCENE, "Forest Exit"
#include linkstyles.txt
#include dead.txt
MUSIC Amorphis-Black_Winter_Day
IF T2, @alreadywon
IF T3951, @fight
ACTOR 1, "Ultra Squirrel", squirrel, 1, 150, 70
H: Whew! Finally, the exit!
H: Ahh, WTF?!?
H: There's a bunch of vines blocking the path!
N: You try to climb them
H: Aw, crap!! Thorns!
MOVE 1, 55, 70
H: What the hell? Someone's headed this way... Better hide.
1: Yeah!! Now I can conquer that freaking town and kill everyone at the bar!
1: They never let me in because squirrels don't have ID's...
H: Wait a minute... How come everyone here talks to themselves when they're alone?
1: Hey... yeah! That's true!
N: Cause they're schizo's.
1: Maybe because Well of Souls is limited in such ways that we have to tell the player what's happening.
1: Wait... Who the hell was that?
N: Ur m0mm4
H: Nobody.
1: Oh, ok. Anyways, where was I?
1: Oh! I was going to climb these vines!
1: Grr.... Dammit! I can't climb them! I will use my psychic force!
1: Ahh.. phew.
1: *ACHOOOO*
H: Gezundheit.
1: Oh, thanks.
H: You're welcome... Oh wait... crap.......
1: Aha!! You thought you could hide! You heard too much! Now you will die!
1: I see you have the Sword of Destiny!
H: Yeah. What's it to you?
MUSIC Arcturus-Raudt_Og_Svart
1: Sassy mouth, eh? I ought to rip it from your face!
H: No problem! I can take you out like a bucket of orange chicken!
1: Feel the wrath of Ultra Squirrel!
MOVE 1, -115, 70
GIVE T3951
@fight
MUSIC Arcturus-Raudt_Og_Svart
FIGHT 876
IF WIN, @win
IF LOSE, @lose
END

@win
	MUSIC Amorphis-Black_Winter_Day
	GIVE T2
	TAKE T3951
	H: Hah! That was easy!
	1: This is not the last time you will see Ultra Squirrel! I will get that sword!
	H: Ok...
	GOTO LINK 2,1,0
END

@lose
	MOVE 1, 65, 70
	MUSIC #nochange
	1: Heheheheheh... You were no match for my l337 |=19|-|71|\| skills!
	N: lol l00k at t3h d34d n00b!
GOTO EXIT

@alreadywon
	IF -T3333, @V1-3update
	H: Yaawwn...
	WAIT 2.0
	GOTO LINK 2,1,0
END

;The UPDATE script to replace some of the items that were changed.
@V1-3update
	N: The ITEMS have been updated. We are upgrading yours right now. Please wait.
@V1-3
	IF I30,@1
	IF I33,@2
	IF I18,@4
	IF I2, @5
	IF I12,@6
	IF I16,@7
	IF I29,@8
	IF I24,@9
	IF I19,@10
	IF I27,@11
	IF I32,@12
	IF I8, @13
	IF I7, @14
	IF I6, @15
	IF I9, @16
	IF I4, @17
	IF I3, @18
	IF I97,@19
	IF I98,@20
	IF I99,@21
GOTO @clearedUpdate

@1
TAKE I30
GIVE I42
GOTO @V1-3

@2
TAKE I33
GIVE I55.5
GOTO @V1-3

@4
TAKE I18
GIVE I9
GOTO @V1-3

@5
TAKE I2
GIVE I8
GOTO @V1-3 
                                                                  
@6
TAKE I12
GIVE G200
GOTO @V1-3

@7
TAKE I16
GIVE I1.3
GOTO @V1-3

@8
TAKE I29
GIVE G500
GOTO @V1-3

@9
TAKE I24
GIVE G500
GOTO @V1-3

@10
TAKE I19
GIVE G700
GOTO @V1-3

@11
TAKE I27
GIVE G1000
GOTO @V1-3

@12
TAKE I32
GIVE I53.2
GOTO @V1-3

@13
TAKE I8
GIVE G300
GOTO @V1-3

@14
TAKE I7
GIVE G300
GOTO @V1-3

@15
TAKE I6
GIVE G400
GOTO @V1-3

@16
TAKE I9
GIVE G750
GOTO @V1-3

@17
TAKE I4
GIVE G25
GOTO @V1-3

@18
TAKE I3
GIVE G25
GOTO @V1-3

@19
TAKE I97
GIVE G10
GOTO @V1-3

@20
TAKE I98
GIVE G10
GOTO @V1-3

@21
TAKE I99
GIVE G10
GOTO @V1-3

@clearedUpdate
GIVE T3333
GOTO LINK 2,1,0
END


SCENE 14, plains1, SCENE, "Town Entrance"
#include linkstyles.txt
IF T3, @enter
Actor 1, "Disgruntled Man", joshTownsfolk4, 1, 40, 70
POSE 1, 7
1: Hey! You're going INTO town?
H: Yeah. Why not?
1: Are you mad?!? The Gardin Gnomes are digging a large cavern beneath town and I think it'll cave in any minute!
H: Hey... Gardin Gnomes? Is that a typo?
1: No, it's really how it's spelled. I'm serious!
H: Well, if the Gnomes were smart, they probably put support beams beneath the town to support the weight of the ground.
1: Oh... yeah.. But they are incubating some giant egg with magma that may hatch a giant creature of sorts! There is no one here strong enough to stop them! 
1: WE ARE GONNA DIE!!!
H: Sir..
1: RUN WHILE YOU CAN!!!!
H: SIR!! STFU!!!
1: *ahem*... sorry.
H: I can probably stop the gnomes and that egg.
1: Well kid, you're a brave one. You probably won't make it back!
H: Yeah right.
1: Ok, here's a deal. Come back alive and I'll give you 7000 Coins, just so I don't have to be so freaked out about this. I worry about my mom.
H: Fine!
1: Go into town and get some supplies. I'll see you at the tunnel entrance on the eastern side.
MOVE 1, -15, 45
H: Yeesh... this guy still lives with his mom, and he's probably 45 or something...
GIVE T3
@enter
GOTO LINK 3,0,0
End

;===============================;
;========EASTERN PLAINS=========;
;===============================;
SCENE 15, plains2, SCENE, "Gnomic Tunnels entrance"
#include linkstyles.txt
Actor 1, "Disgruntled Man", joshTownsfolk4, 1, 40, 45
POSE 1, 7
IF -T4, @enterCave
1: How did it go?
H: All right. Pay up.
1: Ahh... Ok.. here's 7000 Coins like I promised.
GIVE_HOST G7000
N: CHa-cHing
H: Thanks!
1: Ok, I need to go home. Mom's going to get worried about where I've been.
H: Uhh.. ok?
1: Later. Oh, that one gatekeeper guy wants to see you.
H: ?
MOVE 1, -15, 
ACTOR 2, Gatekeeper
2: Hey, don't go yet %2!
H: Yes?
2: Get a boat at the docks, get the sword reforged here at the smith's place, and get some equipment.
H: Ok...?
2: After, make sure you have everything, then depart across the Bleak Sea. The Ferry is currently out of service.
2. You need to meet another blacksmith who can reforge the sword to its full potential. He should explain everything.
H: Ok.

;didn't win yet.
@enterCave
	1: Hey fool!
	H: What?
	1: Are you ready to go in?
	H: I guess.
	1: Alright! Good luck.
GOTO LINK #,#,#
END	 