;The SECOND Boss Battle
SCENE 30, lavaCave, SCENE, "Lava Pool"
IF T3951, @fightOn
IF T4, @nothingHere
ACTOR 1, "Egg", something, 0, 50, 70
ACTOR 2, "King Gnarf", gnomeking, 1, -15, 80
H: Ok! Here's the egg... I just need to push it into the lava.
END

@eventActorClick1
	N: You shove the egg into the lava.
	MOVE 1, 50, 50
	WAIT 2.5
	N: The egg sinks into the lava
	MOVE 1, 50, 115, 1
	2: Well, what seems to be all the hubbub?
	2: Ah! An intruder! GUARDS!
ACTOR 3, "Guard", gnomeWarrior, 1, 120, 35
ACTOR 4, "Guard", gnomeWarrior, 1, 120, 35
	MOVE 2, 20, 35
	MOVE 3, 15, 35
	H: No, you guys need to stop this tunneling! I destroyed your egg!
	FX
	2: What egg?
	H: What do you mean by "What egg?" The egg that was just here!
	2: Hmm... that's not good... Wait. What do you mean by tunneling?
	2: We've lived down here for thousands of years!
	H: How do you explain those pickaxes?
	MUSIC Atreyu-Someone_Standing_on_My_Chest
	2: Well, we're doing some renovation at the castle, but..
	FX 5
	H: ?
	2: What in the world?
	3: Quickly sire! We must leave!
	WAIT 0.5
	MOVE 2, 50, 115, 2
	MOVE 3, 45, 115, 2
	MOVE 4, 55, 115, 2
	WAIT 1.0
	ACTOR 1, "", boss1, 3, 50, 60
	H: What the hell?!?
	MUSIC black_sabbath-paranoid
	WAIT 1.0
	SEL 1
	POSE 2
	MOVE 1, 50, -20, 3
	WAIT 2.0
	GIVE T3951
@fightOn
	FX 5
	FIGHT 877
	IF WIN, @won
	N: Your corpse winds up outside the cave
	WAIT 1.0
	GOTO LINK 5, 0, 1
	END
@won
	FX 0
MUSIC #silence
	GIVE T4
WAIT 1.5
	MOVE 1, 50, 50
	MOVE 2, 20, 75
	MOVE 3, 15, 75
	1: Why, you saved the whole Gnomic Kingdom! How can I repay you?
	1: I know! Let's return to my castle. I have a stash of treasure for you!
	1: Just head east until you see the city. We'll meet you there.
	WAIT 2.0
	MOVE 1, 115, 50
	MOVE 2, 115, 35
	MOVE 2, 115, 35
	WAIT 2.0
	GOTO EXIT
	END