SCENE 349

	IF T365, @end

	COMPARE #<1stcard>, "1"
	IF= @next
	END
@next
	COMPARE #<2ndcard>, "1"
	IF= @next1
	END
@next1
	COMPARE #<3rdcard>, "1"
	IF= @next2
	END
@next2
	COMPARE #<4thcard>, "1"
	IF= @next3
	END
@next3
	COMPARE #<5thcard>, "1"
	IF= @next4
	END
@next4
	COMPARE #<6thcard>, "1"
	IF= @next5
	END
@next5
	COMPARE #<7thcard>, "1"
	IF= @next6
	END
@next6
	COMPARE #<8thcard>, "1"
	IF= @next7
	END
@next7
	COMPARE #<9thcard>, "1"
	IF= @next8
	END
@next8
	COMPARE #<10thcard>, "1"
	IF= @next9
	END
@next9
	IF T350+T351+T352+T353+T354+T355+T356+T357+T358+T359, @last
	END
@last

	N: Congratulations!
	HOST_GIVE T365
	HOST_GIVE I237
	N: You have recieved an Amulet of Aggresion.
@end
	END	




SCENE 350
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 4
	IF WON, @won
	END
@won
	COMPARE #<1stcard>, "1"
	IF= @end
	SET 1stcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the card.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	HOST_GIVE I440
	ACTOR	1,	"Card Master", joshMiscellaneous, 2, 10, 60
	1: Right click on me for instructions
	WAIT 5
@return
	FLAGS 0
	FLAGS 5289
	IF T350, @card1skip
	SET card0bat, "0"
	HOST_GIVE T350
@card1skip
	Fight 5, -4
	IF -WON, @end
	N: You defeated the card monster!
	ADD card0bat, "1"
	COMPARE #<card0bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I441
	SET card0bat, "0"
	N: You've mastered the Slug Card, and now have a Baby Gnome Card!
	END

@end
END

@eventActorClick1
	Fight -4
	1: I can give you instructions for the Aerianell Monster Card Game.
	1: There are a total of ten different cards available.
	1: Use a card on yourself in the Monster Mash and the card monster will battle another monster.
	1: You won't be able to give the card monster much aid during the battle.
	1: Everytime you use a card, you'll receive a replacement for it, so don't worry!
	1: If you and the card monster win five of these battles, you'll master the card!
	1: When you do so, you lose your old card and gain a new one.
	1: Master all the cards and you'll receive a special prize.
	1: Use a card on yourself in any place other than the Monster Mash and you'll battle the card monster.
	1: If you manage to beat all ten card monsters at least once, you'll receive another prize.
	1: However, if you aren't in Monster Mash when you use a card, you won't receive a replacement card!
	1: Slug Cards are the only ones that can be found. Use any of the other cards outside of the Monster Mash...
	1: And you'll have to master the cards all over again to get a new one!
	END

SCENE 351
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 6
	IF WON, @won
	END
@won
	COMPARE #<2ndcard>, "1"
	IF= @end
	SET 2ndcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the card.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T351, @card1skip
	SET card1bat, "0"
	HOST_GIVE T351
@card1skip
	HOST_GIVE I441
	Fight 7, -6
	IF -WON, @end
	N: You defeated the card monster!
	ADD card1bat, "1"
	COMPARE #<card1bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I442
	SET card1bat, "0"
	N: You've mastered the Baby Gnome Card, and now have a Remorhaz Card!
	END

@end
END

SCENE 352
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 17
	IF WON, @won
	END
@won
	COMPARE #<3rdcard>, "1"
	IF= @end
	SET 3rdcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T352, @card1skip
	SET card2bat, "0"
	HOST_GIVE T352
@card1skip
	HOST_GIVE I442
	Fight 18, -17
	IF -WON, @end
	N: You defeated the card monster!
	ADD card2bat, "1"
	COMPARE #<card2bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I443
	SET card2bat, "0"
	N: You've mastered the Remorhaz Card, and now have a Jelix Card!
	END

@end
END

;-------------------------

SCENE 353
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 74
	IF WON, @won
	END
@won
	COMPARE #<4thcard>, "1"
	IF= @end
	SET 4thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T353, @card1skip
	SET card3bat, "0"
	HOST_GIVE T353
@card1skip
	HOST_GIVE I443
	Fight 73, -74
	IF -WON, @end
	N: You defeated the card monster!
	ADD card3bat, "1"
	COMPARE #<card3bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I444
	SET card3bat, "0"
	N: You've mastered the Jelix Card, and now have a Lich Card!
	END

@end
END

;-------------------------

SCENE 354
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 96
	IF WON, @won
	END
@won
	COMPARE #<5thcard>, "1"
	IF= @end
	SET 5thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T354, @card1skip
	SET card4bat, "0"
	HOST_GIVE T354
@card1skip
	HOST_GIVE I444
	Fight 95, -96
	IF -WON, @end
	N: You defeated the card monster!
	ADD card4bat, "1"
	COMPARE #<card4bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I445
	SET card4bat, "0"
	N: You've mastered the Lich Card, and now have a Dwarf Card!
	END

@end
END


;-------------------------

SCENE 355
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 103
	IF WON, @won
	END
@won
	COMPARE #<6thcard>, "1"
	IF= @end
	SET 6thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T355, @card1skip
	SET card5bat, "0"
	HOST_GIVE T355
@card1skip
	HOST_GIVE I445
	Fight 102, -103
	IF -WON, @end
	N: You defeated the card monster!
	ADD card5bat, "1"
	COMPARE #<card5bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I446
	SET card5bat, "0"
	N: You've mastered the Dwarf Card, and now have a Bandit Card!
	END

@end
END


;-------------------------

SCENE 356
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 132
	IF WON, @won
	END
@won
	COMPARE #<7thcard>, "1"
	IF= @end
	SET 7thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T356, @card1skip
	SET card6bat, "0"
	HOST_GIVE T356
@card1skip
	HOST_GIVE I446
	Fight 131, -132
	IF -WON, @end
	N: You defeated the card monster!
	ADD card6bat, "1"
	COMPARE #<card6bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I447
	SET card6bat, "0"
	N: You've mastered the Bandit Card, and now have a Robber Card!
	END

@end
END


;-------------------------



SCENE 357
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 145
	IF WON, @won
	END
@won
	COMPARE #<8thcard>, "1"
	IF= @end
	SET 8thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T357, @card1skip
	SET card7bat, "0"
	HOST_GIVE T357
@card1skip
	HOST_GIVE I447
	Fight 144, -145
	IF -WON, @end
	N: You defeated the card monster!
	ADD card7bat, "1"
	COMPARE #<card7bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I448
	SET card7bat, "0"
	N: You've mastered the Robber Card, and now have a Fish Card!
	END

@end
END

;-------------------------

SCENE 358
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 160
	IF WON, @won
	END
@won
	COMPARE #<9thcard>, "1"
	IF= @end
	SET 9thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T358, @card1skip
	SET card8bat, "0"
	HOST_GIVE T358
@card1skip
	HOST_GIVE I448
	Fight 159, -160
	IF -WON, @end
	N: You defeated the card monster!
	ADD card8bat, "1"
	COMPARE #<card8bat>, "5"
	IF= @nextcard
	END
@nextcard
	HOST_GIVE I449
	SET card8bat, "0"
	N: You've mastered the Fish Card, and now have a Demigod Card!
	END

@end
END

SCENE 359
	
	COMPARE #<num.peopleInScene>, "1"
	IF> @end
	IF #22, @train
	Fight 330
	IF WON, @won
	END
@won
	COMPARE #<10thcard>, "1"
	IF= @end
	SET 10thcard, "1"
	ADD cardvic, "1"
	N: You have triumphed
	COMPARE #<cardvic>, "10"
	IF= @finalvictory
	SET cardtemp, "10"
	SUB  cardtemp, #<cardvic>
	N: If you win #<cardtemp> more card battles, you'll master the cards.
	END
@finalvictory
	PARTY T4095
	GOTO SCENE 349
	END

@train
	FLAGS 0
	FLAGS 5289
	IF T359, @card1skip
	SET card9bat, "0"
	HOST_GIVE T359
@card1skip
	HOST_GIVE I449
	Fight 306, -330
	IF -WON, @end
	N: You defeated the card monster!
	ADD card9bat, "1"
	COMPARE #<card9bat>, "5"
	IF= @nextcard
	END
@nextcard
	IF T348, @end

	HOST_GIVE T348
	HOST_GIVE I3
	SET card9bat, "0"
	N: You've mastered the Demigod Card! Your prize is a Demon's Eye!
	END

@end
END

