LEVEL_VERSION(1)
SET_GENERATE_SPEED(600)
START_MONEY(ALL_PLAYERS,50)
MAX_CREATURES(ALL_PLAYERS,1)

ROOM_AVAILABLE(ALL_PLAYERS,TREASURE,1,1)

MAGIC_AVAILABLE(ALL_PLAYERS,POWER_HAND,0,0)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_SLAP,0,0)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_POSSESS,0,0)


IF(PLAYER0,DUNGEON_DESTROYED == 1)
   	LOSE_GAME
ENDIF
IF(PLAYER_GOOD,TOTAL_CREATURES==0)
	WIN_GAME
ENDIF


SET_PLAYER_COLOR(PLAYER1,RED)
ALLY_PLAYERS(PLAYER0,PLAYER1,3)


SET_HEART_HEALTH(PLAYER0,30000)



SET_CREATURE_CONFIGURATION(FAIRY,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(FAIRY,HEALTH,5000)
SET_CREATURE_PROPERTY(FAIRY,IMMUNE_TO_GAS,1)
SET_CREATURE_INSTANCE(FAIRY,1,FIRE_ARROW,1) 
SET_CREATURE_INSTANCE(FAIRY,2,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,3,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,4,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,5,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,6,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,7,NULL,1) 
SET_CREATURE_INSTANCE(FAIRY,8,NULL,1) 

SET_CREATURE_PROPERTY(ARCHER,IMMUNE_TO_GAS,1)
SET_CREATURE_INSTANCE(ARCHER,1,NAVIGATING_MISSILE,1) 
SET_CREATURE_INSTANCE(ARCHER,2,NULL,1) 
SET_CREATURE_INSTANCE(ARCHER,3,NULL,1) 
SET_CREATURE_INSTANCE(ARCHER,4,NULL,1) 
SET_CREATURE_INSTANCE(ARCHER,5,NULL,1) 
SET_CREATURE_CONFIGURATION(ARCHER,BaseSpeed,18)


SET_CREATURE_CONFIGURATION(ARCHER,Pay,0)
SET_CREATURE_CONFIGURATION(BILE_DEMON,Pay,0)
SET_CREATURE_CONFIGURATION(SKELETON,Pay,0)

SET_CREATURE_CONFIGURATION(ARCHER,Dexterity,150)
SET_CREATURE_CONFIGURATION(ARCHER,Strength,80)
SET_CREATURE_CONFIGURATION(ARCHER,HEALTH,5000)

SET_CREATURE_CONFIGURATION(AVATAR,HEALTH,50000)
SET_CREATURE_CONFIGURATION(KNIGHT,HEALTH,20000)

SET_CREATURE_CONFIGURATION(IMP,HEALTH,5000)

SET_CREATURE_CONFIGURATION(BILE_DEMON,Dexterity,200)
SET_CREATURE_CONFIGURATION(BILE_DEMON,Strength,100)

SET_CREATURE_CONFIGURATION(SKELETON,Dexterity,300)
SET_CREATURE_CONFIGURATION(SKELETON,Strength,300)
SET_CREATURE_CONFIGURATION(SKELETON,BaseSpeed,90)

SET_CREATURE_CONFIGURATION(TIME_MAGE,BaseSpeed,75)
SET_CREATURE_CONFIGURATION(TIME_MAGE,HEALTH,50)

SET_CREATURE_CONFIGURATION(DRUID,BaseSpeed,72)
SET_CREATURE_CONFIGURATION(WIZARD,BaseSpeed,85)
SET_CREATURE_CONFIGURATION(SORCEROR,BaseSpeed,64)

SET_CREATURE_CONFIGURATION(HORNY,BaseSpeed,66)
SET_CREATURE_CONFIGURATION(HORNY,HEALTH,1250)

SET_CREATURE_CONFIGURATION(TENTACLE,BaseSpeed,66)

SET_CREATURE_CONFIGURATION(SAMURAI,HEALTH,1200)
SET_CREATURE_CONFIGURATION(THIEF,HEALTH,250)
SET_CREATURE_CONFIGURATION(WITCH,HEALTH,400)
SET_CREATURE_CONFIGURATION(SPIDER,HEALTH,2000)
SET_CREATURE_CONFIGURATION(WIZARD,HEALTH,3400)
SET_CREATURE_CONFIGURATION(DRUID,HEALTH,650)
SET_CREATURE_CONFIGURATION(BARBARIAN,HEALTH,1200)
SET_CREATURE_CONFIGURATION(GIANT,HEALTH,2900)
SET_CREATURE_CONFIGURATION(ORC,HEALTH,1500)
SET_CREATURE_CONFIGURATION(KNIGHT,HEALTH,6000)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,HEALTH,800)
SET_CREATURE_CONFIGURATION(DRAGON,HEALTH,2500)
SET_CREATURE_CONFIGURATION(MONK,HEALTH,1250)
SET_CREATURE_CONFIGURATION(VAMPIRE,HEALTH,700)

SET_CREATURE_CONFIGURATION(HELL_HOUND,HurtByLava,1)
SET_CREATURE_CONFIGURATION(DRAGON,HurtByLava,1)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,HurtByLava,1)
SET_CREATURE_CONFIGURATION(HORNY,HurtByLava,1)

SET_CREATURE_CONFIGURATION(GIANT,BaseSpeed,60)
SET_CREATURE_CONFIGURATION(MONK,BaseSpeed,62)

SET_CREATURE_INSTANCE(DEMONSPAWN,2,NULL,1) 
SET_CREATURE_INSTANCE(VAMPIRE,2,NULL,1) 
SET_CREATURE_INSTANCE(VAMPIRE,3,NULL,1) 
SET_CREATURE_INSTANCE(VAMPIRE,4,NULL,1) 
SET_CREATURE_INSTANCE(GIANT,2,NULL,1) 
SET_CREATURE_INSTANCE(KNIGHT,2,NULL,1) 
SET_CREATURE_INSTANCE(KNIGHT,3,NULL,1) 
SET_CREATURE_INSTANCE(KNIGHT,4,NULL,1) 
SET_CREATURE_INSTANCE(SORCEROR,2,NULL,1) 
SET_CREATURE_INSTANCE(DRAGON,2,NULL,1) 
SET_CREATURE_INSTANCE(DRAGON,3,NULL,1) 
SET_CREATURE_INSTANCE(DRAGON,4,NULL,1) 
SET_CREATURE_INSTANCE(DRAGON,5,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,2,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,3,NULL,1) 
SET_CREATURE_INSTANCE(WIZARD,2,NULL,1) 
SET_CREATURE_INSTANCE(WIZARD,3,NULL,1) 
SET_CREATURE_INSTANCE(WIZARD,6,NULL,1) 
SET_CREATURE_INSTANCE(WIZARD,7,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,2,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,3,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,4,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,5,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,6,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,7,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,8,NULL,1) 
SET_CREATURE_INSTANCE(SAMURAI,2,NULL,1) 
SET_CREATURE_INSTANCE(SAMURAI,3,NULL,1) 
SET_CREATURE_INSTANCE(SAMURAI,4,NULL,1) 
SET_CREATURE_INSTANCE(TIME_MAGE,2,NULL,1) 
SET_CREATURE_INSTANCE(TIME_MAGE,3,NULL,1) 
SET_CREATURE_INSTANCE(TIME_MAGE,4,NULL,1) 

SET_CREATURE_INSTANCE(DRUID,2,NULL,1) 
SET_CREATURE_INSTANCE(DRUID,3,NULL,1) 
SET_CREATURE_INSTANCE(DRUID,4,NULL,1) 
SET_CREATURE_INSTANCE(DRUID,5,NULL,1) 
SET_CREATURE_INSTANCE(DRUID,6,NULL,1) 

SET_CREATURE_INSTANCE(AVATAR,2,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,3,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,4,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,5,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,6,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,7,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,8,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,9,NULL,1) 
SET_CREATURE_INSTANCE(AVATAR,10,NULL,1) 

SET_CREATURE_INSTANCE(SKELETON,2,NULL,1) 
SET_CREATURE_INSTANCE(SKELETON,3,NULL,1) 
SET_CREATURE_INSTANCE(SKELETON,4,NULL,1) 


SET_ROOM_CONFIGURATION(WORKSHOP,Cost,0)
SET_ROOM_CONFIGURATION(BRIDGE,Cost,0)





IF_SLAB_TYPE(8,13,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,13,PRETTY_PATH)
	
	NEXT_COMMAND_REUSABLE
	PLAY_MESSAGE(PLAYER0,SOUND,128)
	
	NEXT_COMMAND_REUSABLE
	ADD_OBJECT_TO_LEVEL(WRKBOX_CRAVE_TURRET,1,1)
	
	SET_TIMER(PLAYER0,TIMER0)
	SET_TIMER(PLAYER0,TIMER2)
	
	CHANGE_SLAB_OWNER(1,3,PLAYER2)
	CHANGE_SLAB_OWNER(2,3,PLAYER1)
	CHANGE_SLAB_OWNER(3,3,PLAYER1)
	CHANGE_SLAB_OWNER(4,3,PLAYER1)
	CHANGE_SLAB_OWNER(5,3,PLAYER1)
	CHANGE_SLAB_OWNER(6,3,PLAYER1)
	CHANGE_SLAB_OWNER(7,3,PLAYER1)
	CHANGE_SLAB_OWNER(8,3,PLAYER1)
	CHANGE_SLAB_OWNER(9,3,PLAYER1)
	
	CHANGE_SLAB_OWNER(3,5,PLAYER0)
	CHANGE_SLAB_OWNER(4,5,PLAYER0)
	CHANGE_SLAB_OWNER(5,5,PLAYER0)
	CHANGE_SLAB_OWNER(6,5,PLAYER0)
	CHANGE_SLAB_OWNER(7,5,PLAYER0)
	
ENDIF



IF(PLAYER0,TIMER2 > 25)

	IF(PLAYER2,FLAG6 > 8)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,2)
	ENDIF
	IF(PLAYER2,FLAG6 > 7)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 6)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 5)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 4)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 3)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 2)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF
	IF(PLAYER2,FLAG6 > 1)
		NEXT_COMMAND_REUSABLE
		ADD_GOLD_TO_PLAYER(PLAYER0,1)
	ENDIF

	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,1)

	NEXT_COMMAND_REUSABLE
	SET_TIMER(PLAYER0,TIMER2)
ENDIF




SET_FLAG(PLAYER2,FLAG6,1)

IF_SLAB_TYPE(3,5,TREASURY_AREA)
	IF_SLAB_TYPE(4,5,TREASURY_AREA)
		IF_SLAB_TYPE(5,5,TREASURY_AREA)
			IF_SLAB_TYPE(6,5,TREASURY_AREA)
				IF_SLAB_TYPE(7,5,TREASURY_AREA)
					
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(3,5,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(4,5,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(5,5,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(6,5,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(7,5,PRETTY_PATH)

					IF(PLAYER2,FLAG6 == 8)
						SET_FLAG(PLAYER2,FLAG6,9)
						CHANGE_SLAB_OWNER(9,3,PLAYER2)
						
						CHANGE_SLAB_OWNER(3,5,PLAYER1)
						CHANGE_SLAB_OWNER(4,5,PLAYER1)
						CHANGE_SLAB_OWNER(5,5,PLAYER1)	
						CHANGE_SLAB_OWNER(6,5,PLAYER1)	
						CHANGE_SLAB_OWNER(7,5,PLAYER1)	
					ENDIF	
					IF(PLAYER2,FLAG6 == 7)
						SET_FLAG(PLAYER2,FLAG6,8)
						CHANGE_SLAB_OWNER(8,3,PLAYER2)
					ENDIF	
					IF(PLAYER2,FLAG6 == 6)
						SET_FLAG(PLAYER2,FLAG6,7)
						CHANGE_SLAB_OWNER(7,3,PLAYER2)
					ENDIF	
					IF(PLAYER2,FLAG6 == 5)
						SET_FLAG(PLAYER2,FLAG6,6)
						CHANGE_SLAB_OWNER(6,3,PLAYER2)
					ENDIF	
					IF(PLAYER2,FLAG6 == 4)
						SET_FLAG(PLAYER2,FLAG6,5)
						CHANGE_SLAB_OWNER(5,3,PLAYER2)
					ENDIF	

					IF(PLAYER2,FLAG6 == 3)
						SET_FLAG(PLAYER2,FLAG6,4)
						CHANGE_SLAB_OWNER(4,3,PLAYER2)
					ENDIF	

					IF(PLAYER2,FLAG6 == 2)
						SET_FLAG(PLAYER2,FLAG6,3)
						CHANGE_SLAB_OWNER(3,3,PLAYER2)
					ENDIF				
				
					SET_FLAG(PLAYER2,FLAG6,2)
					CHANGE_SLAB_OWNER(2,3,PLAYER2)
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF




IF_SLAB_TYPE(10,11,TREASURY_AREA)
	IF_SLAB_TYPE(10,12,TREASURY_AREA)
		IF_SLAB_TYPE(10,13,TREASURY_AREA)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(10,11,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(10,12,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(10,13,PRETTY_PATH)
			
			NEXT_COMMAND_REUSABLE
			PLAY_MESSAGE(PLAYER0,SOUND,128)
			
			NEXT_COMMAND_REUSABLE
			ADD_OBJECT_TO_LEVEL(WRKBOX_MOBILECANNON,2,1)
		ENDIF
	ENDIF
ENDIF

IF_SLAB_TYPE(13,11,TREASURY_AREA)
	IF_SLAB_TYPE(13,12,TREASURY_AREA)
		IF_SLAB_TYPE(13,13,TREASURY_AREA)
			IF_SLAB_TYPE(12,12,TREASURY_AREA)
				IF_SLAB_TYPE(14,12,TREASURY_AREA)
				
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(13,11,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(13,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(13,13,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(14,12,PRETTY_PATH)
					
					NEXT_COMMAND_REUSABLE
					PLAY_MESSAGE(PLAYER0,SOUND,128)
					
					NEXT_COMMAND_REUSABLE
					ADD_OBJECT_TO_LEVEL(WRKBOX_CRAVE_FLAMETRAP,3,1)
			
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF

IF_SLAB_TYPE(16,11,TREASURY_AREA)
	IF_SLAB_TYPE(17,11,TREASURY_AREA)
		IF_SLAB_TYPE(18,11,TREASURY_AREA)
			IF_SLAB_TYPE(16,12,TREASURY_AREA)
				IF_SLAB_TYPE(18,12,TREASURY_AREA)
					IF_SLAB_TYPE(16,13,TREASURY_AREA)
						IF_SLAB_TYPE(17,13,TREASURY_AREA)
							IF_SLAB_TYPE(18,13,TREASURY_AREA)
				
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(16,11,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(17,11,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(18,11,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(16,12,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(18,12,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(16,13,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(17,13,PRETTY_PATH)
								NEXT_COMMAND_REUSABLE
								CHANGE_SLAB_TYPE(18,13,PRETTY_PATH)
								
								NEXT_COMMAND_REUSABLE
								PLAY_MESSAGE(PLAYER0,SOUND,128)
								
								NEXT_COMMAND_REUSABLE
								ADD_OBJECT_TO_LEVEL(WRKBOX_CRAVE_LIGHT,4,1)
			
							ENDIF
						ENDIF
					ENDIF
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF



IF_SLAB_TYPE(21,11,TREASURY_AREA)
	IF_SLAB_TYPE(21,12,TREASURY_AREA)
		IF_SLAB_TYPE(21,13,TREASURY_AREA)
			IF_SLAB_TYPE(20,12,TREASURY_AREA)
				IF_SLAB_TYPE(22,12,TREASURY_AREA)
				
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(21,11,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(21,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(21,13,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(20,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(22,12,PRETTY_PATH)
					
					NEXT_COMMAND_REUSABLE
					PLAY_MESSAGE(PLAYER0,SOUND,128)
					
					NEXT_COMMAND_REUSABLE
					ADD_OBJECT_TO_LEVEL(WRKBOX_CRAVE_WIND,5,1)
			
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF




IF_SLAB_TYPE(25,11,TREASURY_AREA)
	IF_SLAB_TYPE(24,12,TREASURY_AREA)
		IF_SLAB_TYPE(25,12,TREASURY_AREA)
			IF_SLAB_TYPE(26,12,TREASURY_AREA)
				IF_SLAB_TYPE(24,13,TREASURY_AREA)
					IF_SLAB_TYPE(25,13,TREASURY_AREA)
						IF_SLAB_TYPE(26,13,TREASURY_AREA)
		
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(25,11,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(24,12,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(25,12,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(26,12,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(24,13,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(25,13,PRETTY_PATH)
							NEXT_COMMAND_REUSABLE
							CHANGE_SLAB_TYPE(26,13,PRETTY_PATH)
					
							NEXT_COMMAND_REUSABLE
							PLAY_MESSAGE(PLAYER0,SOUND,50)
							
							NEXT_COMMAND_REUSABLE
							ADD_CREATURE_TO_LEVEL(PLAYER1,ARCHER,24,6,10,0)
							
							CHANGE_SLAB_OWNER(25,3,PLAYER0)
							CHANGE_SLAB_OWNER(25,4,PLAYER0)
							CHANGE_SLAB_OWNER(25,5,PLAYER0)		
						ENDIF
					ENDIF
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF


SET_FLAG(PLAYER2,FLAG5,0)

IF_SLAB_TYPE(25,3,TREASURY_AREA)
	IF_SLAB_TYPE(25,4,TREASURY_AREA)
		IF_SLAB_TYPE(25,5,TREASURY_AREA)

				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(25,3,PRETTY_PATH)
				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(25,4,PRETTY_PATH)
				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(25,5,PRETTY_PATH)

				IF(PLAYER2,FLAG5 == 3)
					SET_FLAG(PLAYER2,FLAG5,4)
					SET_CREATURE_INSTANCE(ARCHER,5,HAILSTORM,1)
					
					CHANGE_SLAB_OWNER(25,3,PLAYER1)
					CHANGE_SLAB_OWNER(25,4,PLAYER1)
					CHANGE_SLAB_OWNER(25,5,PLAYER1)	
				ENDIF	

				IF(PLAYER2,FLAG5 == 2)
					SET_FLAG(PLAYER2,FLAG5,3)
					SET_CREATURE_INSTANCE(ARCHER,4,POISON_CLOUD,1)
				ENDIF	

				IF(PLAYER2,FLAG5 == 1)
					SET_FLAG(PLAYER2,FLAG5,2)
					SET_CREATURE_INSTANCE(ARCHER,3,FREEZE,1) 
				ENDIF					
				
				SET_FLAG(PLAYER2,FLAG5,1)	
				SET_CREATURE_INSTANCE(ARCHER,2,SLOW,1)
		ENDIF
	ENDIF
ENDIF


SET_FLAG(PLAYER2,FLAG3,0)

IF_SLAB_TYPE(33,13,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(33,13,PRETTY_PATH)
	
	NEXT_COMMAND_REUSABLE
	PLAY_MESSAGE(PLAYER0,SOUND,50)

	IF(PLAYER2,FLAG3 == 27)
		SET_FLAG(PLAYER2,FLAG3,28)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,41,1,6,0)
		CHANGE_SLAB_OWNER(33,13,PLAYER1)
	ENDIF
	IF(PLAYER2,FLAG3 == 26)
		SET_FLAG(PLAYER2,FLAG3,27)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,18,1,6,0)
	ENDIF
	IF(PLAYER2,FLAG3 == 25)
		SET_FLAG(PLAYER2,FLAG3,26)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,40,1,5,0)
	ENDIF
	IF(PLAYER2,FLAG3 == 24)
		SET_FLAG(PLAYER2,FLAG3,25)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,39,1,5,0)
	ENDIF	
	IF(PLAYER2,FLAG3 == 23)
		SET_FLAG(PLAYER2,FLAG3,24)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,38,1,5,0)
	ENDIF	
	IF(PLAYER2,FLAG3 == 22)
		SET_FLAG(PLAYER2,FLAG3,23)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,37,1,5,0)
	ENDIF	
	IF(PLAYER2,FLAG3 == 21)
		SET_FLAG(PLAYER2,FLAG3,22)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,17,1,5,0)
	ENDIF
	IF(PLAYER2,FLAG3 == 20)
		SET_FLAG(PLAYER2,FLAG3,21)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,16,1,4,0)
	ENDIF
	IF(PLAYER2,FLAG3 == 19)
		SET_FLAG(PLAYER2,FLAG3,20)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,33,1,4,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 18)
		SET_FLAG(PLAYER2,FLAG3,19)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,34,1,4,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 17)
		SET_FLAG(PLAYER2,FLAG3,18)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,35,1,4,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 16)
		SET_FLAG(PLAYER2,FLAG3,17)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,36,1,4,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 15)
		SET_FLAG(PLAYER2,FLAG3,16)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,15,1,3,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 14)
		SET_FLAG(PLAYER2,FLAG3,15)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,29,1,3,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 13)
		SET_FLAG(PLAYER2,FLAG3,14)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,30,1,3,0)
	ENDIF	

	IF(PLAYER2,FLAG3 == 12)
		SET_FLAG(PLAYER2,FLAG3,13)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,31,1,3,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 11)
		SET_FLAG(PLAYER2,FLAG3,12)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,32,1,3,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 10)
		SET_FLAG(PLAYER2,FLAG3,11)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,14,1,2,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 9)
		SET_FLAG(PLAYER2,FLAG3,10)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,53,1,2,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 8)
		SET_FLAG(PLAYER2,FLAG3,9)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,54,1,2,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 7)
		SET_FLAG(PLAYER2,FLAG3,8)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,55,1,2,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 6)
		SET_FLAG(PLAYER2,FLAG3,7)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,56,1,2,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 5)
		SET_FLAG(PLAYER2,FLAG3,6)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,13,1,1,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 4)
		SET_FLAG(PLAYER2,FLAG3,5)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,25,1,1,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 3)
		SET_FLAG(PLAYER2,FLAG3,4)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,26,1,1,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 2)
		SET_FLAG(PLAYER2,FLAG3,3)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,27,1,1,0)
	ENDIF

	IF(PLAYER2,FLAG3 == 1)
		SET_FLAG(PLAYER2,FLAG3,2)
		ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,28,1,1,0)
	ENDIF

	
	ADD_CREATURE_TO_LEVEL(PLAYER1,FAIRY,42,1,1,0)
	SET_FLAG(PLAYER2,FLAG3,1)
	
	CHANGE_SLAB_OWNER(33,3,PLAYER0)
	CHANGE_SLAB_OWNER(33,4,PLAYER0)
	CHANGE_SLAB_OWNER(33,5,PLAYER0)								

ENDIF

SET_FLAG(PLAYER2,FLAG4,0)

IF_SLAB_TYPE(33,3,TREASURY_AREA)
	IF_SLAB_TYPE(33,4,TREASURY_AREA)
		IF_SLAB_TYPE(33,5,TREASURY_AREA)

				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(33,3,PRETTY_PATH)
				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(33,4,PRETTY_PATH)
				NEXT_COMMAND_REUSABLE
				CHANGE_SLAB_TYPE(33,5,PRETTY_PATH)
		
				IF(PLAYER2,FLAG4 == 4)
					SET_FLAG(PLAYER2,FLAG4,5)
					SET_CREATURE_INSTANCE(FAIRY,3,LIGHTNING,1)
					SET_CREATURE_INSTANCE(FAIRY,2,POISON_CLOUD,1)
					
					CHANGE_SLAB_OWNER(33,3,PLAYER1)
					CHANGE_SLAB_OWNER(33,4,PLAYER1)
					CHANGE_SLAB_OWNER(33,5,PLAYER1)	
				ENDIF	

				IF(PLAYER2,FLAG4 == 3)
					SET_FLAG(PLAYER2,FLAG4,4)
					SET_CREATURE_INSTANCE(FAIRY,3,DRAIN,1)
					SET_CREATURE_INSTANCE(FAIRY,2,NULL,1)
				ENDIF	

				IF(PLAYER2,FLAG4 == 2)
					SET_FLAG(PLAYER2,FLAG4,3)
					SET_CREATURE_INSTANCE(FAIRY,2,POISON_CLOUD,1)
				ENDIF	

				IF(PLAYER2,FLAG4 == 1)
					SET_FLAG(PLAYER2,FLAG4,2)
					SET_CREATURE_INSTANCE(FAIRY,1,NAVIGATING_MISSILE,1)
				ENDIF					
				
				SET_CREATURE_INSTANCE(FAIRY,1,MISSILE,1)
				SET_FLAG(PLAYER2,FLAG4,1)	
		
		ENDIF
	ENDIF
ENDIF




IF_SLAB_TYPE(28,11,TREASURY_AREA)
	IF_SLAB_TYPE(29,11,TREASURY_AREA)
		IF_SLAB_TYPE(30,11,TREASURY_AREA)
			IF_SLAB_TYPE(28,12,TREASURY_AREA)
				IF_SLAB_TYPE(29,12,TREASURY_AREA)
					IF_SLAB_TYPE(30,12,TREASURY_AREA)
						IF_SLAB_TYPE(28,13,TREASURY_AREA)
							IF_SLAB_TYPE(29,13,TREASURY_AREA)
								IF_SLAB_TYPE(30,13,TREASURY_AREA)

									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(28,11,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(29,11,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(30,11,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(28,12,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(29,12,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(30,12,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(28,13,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(29,13,PRETTY_PATH)
									NEXT_COMMAND_REUSABLE
									CHANGE_SLAB_TYPE(30,13,PRETTY_PATH)
									
									NEXT_COMMAND_REUSABLE
									PLAY_MESSAGE(PLAYER0,SOUND,49)
									
									NEXT_COMMAND_REUSABLE			
									ADD_CREATURE_TO_LEVEL(PLAYER1,SKELETON,23,3,1,0)
									ADD_CREATURE_TO_LEVEL(PLAYER1,SKELETON,23,1,10,0)
								ENDIF
							ENDIF
						ENDIF
					ENDIF
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF









IF_SLAB_TYPE(36,11,TREASURY_AREA)
	IF_SLAB_TYPE(37,11,TREASURY_AREA)
		IF_SLAB_TYPE(38,11,TREASURY_AREA)
			IF_SLAB_TYPE(39,11,TREASURY_AREA)
				IF_SLAB_TYPE(40,11,TREASURY_AREA)
					IF_SLAB_TYPE(36,12,TREASURY_AREA)
						IF_SLAB_TYPE(37,12,TREASURY_AREA)
							IF_SLAB_TYPE(38,12,TREASURY_AREA)
								IF_SLAB_TYPE(39,12,TREASURY_AREA)
									IF_SLAB_TYPE(40,12,TREASURY_AREA)
										IF_SLAB_TYPE(36,13,TREASURY_AREA)
											IF_SLAB_TYPE(37,13,TREASURY_AREA)
												IF_SLAB_TYPE(38,13,TREASURY_AREA)
													IF_SLAB_TYPE(39,13,TREASURY_AREA)
														IF_SLAB_TYPE(40,13,TREASURY_AREA)
									
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(36,11,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(37,11,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(38,11,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(39,11,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(40,11,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(36,12,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(37,12,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(38,12,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(39,12,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(40,12,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(36,13,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(37,13,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(38,13,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(39,13,PRETTY_PATH)
														NEXT_COMMAND_REUSABLE
														CHANGE_SLAB_TYPE(40,13,PRETTY_PATH)
														
														NEXT_COMMAND_REUSABLE
														PLAY_MESSAGE(PLAYER0,SOUND,49)
				
														NEXT_COMMAND_REUSABLE
														ADD_OBJECT_TO_LEVEL(WRKBOX_CRAVE_FLAILTRAP,6,1)
		
														ENDIF
													ENDIF
												ENDIF
											ENDIF		
										ENDIF
									ENDIF
								ENDIF
							ENDIF
						ENDIF
					ENDIF
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF










SET_FLAG(PLAYER2,FLAG2,0)

NEXT_COMMAND_REUSABLE
COUNT_CREATURES_AT_ACTION_POINT(100,PLAYER_GOOD,ANY_CREATURE,PLAYER2,FLAG2)
IF(PLAYER2,FLAG2 > 0)
	NEXT_COMMAND_REUSABLE
	MOVE_CREATURE(PLAYER_GOOD,ANY_CREATURE,AT_ACTION_POINT[100],1,19)
	
	NEXT_COMMAND_REUSABLE
	ADD_HEART_HEALTH(PLAYER0,-1000,1)
	
	NEXT_COMMAND_REUSABLE
	CREATE_EFFECT(50,100)
ENDIF



  
  
IF_SLAB_TYPE(14,26,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,26,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(16,26,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(17,26,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF 
IF_SLAB_TYPE(18,26,TREASURY_AREA)
 	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF  
IF_SLAB_TYPE(19,26,TREASURY_AREA)
 	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,26,TREASURY_AREA)
 	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,26,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,27,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,27,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,28,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,28,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,29,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,29,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,30,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,30,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,31,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,31,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,33,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,33,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,34,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,34,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,35,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,35,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(8,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(9,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(10,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(10,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(11,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(11,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(12,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(12,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(13,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(16,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(17,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(18,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(19,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(21,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(22,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(23,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(24,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(25,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(26,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(20,27,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,27,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,28,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,28,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,29,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,29,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,30,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,30,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,31,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,31,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(19,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(21,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(22,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(23,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(24,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(25,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(26,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(27,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(28,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(29,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(29,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,32,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,32,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(30,33,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,33,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,34,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,34,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,35,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,35,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,36,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,36,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,37,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,37,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,38,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,38,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,39,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,39,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF


IF_SLAB_TYPE(13,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(14,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(15,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(16,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(17,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(18,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(19,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(20,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(21,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(22,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(23,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(24,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(25,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(26,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(27,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(28,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(29,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(29,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(30,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(31,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(31,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(32,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF


IF_SLAB_TYPE(13,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(14,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(15,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(16,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(17,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(18,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(19,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(20,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(21,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(22,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(23,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(24,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(25,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(26,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(27,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(28,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(29,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(29,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(30,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(31,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(31,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,42,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,42,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,43,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,43,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,44,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,44,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,46,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,46,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,47,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,47,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,48,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,48,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(11,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(11,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(12,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(12,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(13,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(14,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(15,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(16,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(17,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(18,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(19,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(20,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(21,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(22,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(23,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(24,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(25,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(26,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(27,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(28,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(29,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(29,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(30,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(31,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(31,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(32,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(32,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,37,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,37,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,38,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,38,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,39,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,39,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,42,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,42,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,43,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,43,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,44,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,44,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,46,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,46,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,47,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,47,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,48,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,48,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,49,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,49,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,50,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,50,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,51,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,51,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(7,52,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,52,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(8,38,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,38,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,39,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,39,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,42,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,42,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,43,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,43,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(9,38,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,38,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,39,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,39,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,40,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,40,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,41,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,41,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,42,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,42,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,43,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,43,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(8,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(10,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(10,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(11,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(11,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(12,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(12,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(13,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(14,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(15,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(16,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(17,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(18,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(19,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(20,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(21,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(22,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(23,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(24,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(25,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(26,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(27,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(28,45,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,45,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF_SLAB_TYPE(7,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(7,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(8,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(9,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(9,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(10,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(10,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(11,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(11,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(12,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(12,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(13,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(13,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(14,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(14,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(15,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(15,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(16,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(16,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(17,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(17,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(18,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(18,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(19,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(19,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(20,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(20,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(21,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(21,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(22,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(22,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(23,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(23,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(24,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(24,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(25,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(25,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(26,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(27,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(27,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(28,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(28,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(29,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(29,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(30,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(30,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF

IF_SLAB_TYPE(31,53,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(31,53,PRETTY_PATH)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF



















SET_TIMER(PLAYER0,TIMER1)
IF(PLAYER0,TIMER1 > 50)
	DISPLAY_INFORMATION(0,PLAYER0)
ENDIF

IF(PLAYER0,TIMER1 > 10)
	CHANGE_SLAB_OWNER(33,3,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(33,4,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(33,5,PLAYER_GOOD)
	
	CHANGE_SLAB_OWNER(25,3,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(25,4,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(25,5,PLAYER_GOOD)

	CHANGE_SLAB_OWNER(10,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(10,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(10,13,PLAYER_GOOD)

	CHANGE_SLAB_OWNER(12,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(13,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(13,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(14,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(13,13,PLAYER_GOOD)
	
	CHANGE_SLAB_OWNER(16,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(17,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(18,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(16,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(18,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(16,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(17,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(18,13,PLAYER_GOOD)
	
	CHANGE_SLAB_OWNER(21,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(20,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(21,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(22,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(21,13,PLAYER_GOOD)
	
	CHANGE_SLAB_OWNER(25,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(24,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(25,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(26,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(24,13,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(25,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(26,13,PLAYER_GOOD)

	CHANGE_SLAB_OWNER(28,11,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(29,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(30,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(28,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(29,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(30,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(28,13,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(29,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(30,13,PLAYER_GOOD)	
	
	CHANGE_SLAB_OWNER(33,13,PLAYER_GOOD)	
	
	CHANGE_SLAB_OWNER(36,11,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(37,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(38,11,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(39,11,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(40,11,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(36,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(37,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(38,12,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(39,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(40,12,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(36,13,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(37,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(38,13,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(39,13,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(40,13,PLAYER_GOOD)	
	
	CHANGE_SLAB_OWNER(1,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(2,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(3,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(4,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(5,1,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(6,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(7,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(8,1,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(9,1,PLAYER_GOOD)	
	
	CHANGE_SLAB_OWNER(1,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(2,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(3,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(4,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(5,2,PLAYER_GOOD)
	CHANGE_SLAB_OWNER(6,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(7,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(8,2,PLAYER_GOOD)	
	CHANGE_SLAB_OWNER(9,2,PLAYER_GOOD)	
	
	CHANGE_SLAB_OWNER(1,3,PLAYER1)
	CHANGE_SLAB_OWNER(2,3,PLAYER1)
	CHANGE_SLAB_OWNER(3,3,PLAYER1)
	CHANGE_SLAB_OWNER(4,3,PLAYER1)
	CHANGE_SLAB_OWNER(5,3,PLAYER1)
	CHANGE_SLAB_OWNER(6,3,PLAYER1)
	CHANGE_SLAB_OWNER(7,3,PLAYER1)
	CHANGE_SLAB_OWNER(8,3,PLAYER1)
	CHANGE_SLAB_OWNER(9,3,PLAYER1)
	
	CHANGE_SLAB_OWNER(3,5,PLAYER1)
	CHANGE_SLAB_OWNER(4,5,PLAYER1)
	CHANGE_SLAB_OWNER(5,5,PLAYER1)
	CHANGE_SLAB_OWNER(6,5,PLAYER1)
	CHANGE_SLAB_OWNER(7,5,PLAYER1)
	
ENDIF

IF(PLAYER0,TIMER0 > 10)

	ADD_GOLD_TO_PLAYER(PLAYER0,100)
	
	CHANGE_SLAB_OWNER(10,11,PLAYER0)
	CHANGE_SLAB_OWNER(10,12,PLAYER0)
	CHANGE_SLAB_OWNER(10,13,PLAYER0)
                                  
	CHANGE_SLAB_OWNER(12,12,PLAYER0)
	CHANGE_SLAB_OWNER(13,11,PLAYER0)
	CHANGE_SLAB_OWNER(13,12,PLAYER0)
	CHANGE_SLAB_OWNER(14,12,PLAYER0)
	CHANGE_SLAB_OWNER(13,13,PLAYER0)
	                              
	CHANGE_SLAB_OWNER(16,11,PLAYER0)
	CHANGE_SLAB_OWNER(17,11,PLAYER0)
	CHANGE_SLAB_OWNER(18,11,PLAYER0)
	CHANGE_SLAB_OWNER(16,12,PLAYER0)
	CHANGE_SLAB_OWNER(18,12,PLAYER0)	
	CHANGE_SLAB_OWNER(16,13,PLAYER0)
	CHANGE_SLAB_OWNER(17,13,PLAYER0)
	CHANGE_SLAB_OWNER(18,13,PLAYER0)
	                              
	CHANGE_SLAB_OWNER(21,11,PLAYER0)
	CHANGE_SLAB_OWNER(20,12,PLAYER0)	
	CHANGE_SLAB_OWNER(21,12,PLAYER0)
	CHANGE_SLAB_OWNER(22,12,PLAYER0)
	CHANGE_SLAB_OWNER(21,13,PLAYER0)
	                              
	CHANGE_SLAB_OWNER(25,11,PLAYER0)
	CHANGE_SLAB_OWNER(24,12,PLAYER0)	
	CHANGE_SLAB_OWNER(25,12,PLAYER0)
	CHANGE_SLAB_OWNER(26,12,PLAYER0)
	CHANGE_SLAB_OWNER(24,13,PLAYER0)	
	CHANGE_SLAB_OWNER(25,13,PLAYER0)
	CHANGE_SLAB_OWNER(26,13,PLAYER0)
                                  
	CHANGE_SLAB_OWNER(28,11,PLAYER0)	
	CHANGE_SLAB_OWNER(29,11,PLAYER0)
	CHANGE_SLAB_OWNER(30,11,PLAYER0)
	CHANGE_SLAB_OWNER(28,12,PLAYER0)	
	CHANGE_SLAB_OWNER(29,12,PLAYER0)
	CHANGE_SLAB_OWNER(30,12,PLAYER0)
	CHANGE_SLAB_OWNER(28,13,PLAYER0)	
	CHANGE_SLAB_OWNER(29,13,PLAYER0)
	CHANGE_SLAB_OWNER(30,13,PLAYER0)	
	                              
	CHANGE_SLAB_OWNER(33,13,PLAYER0)	
	                              
	CHANGE_SLAB_OWNER(36,11,PLAYER0)	
	CHANGE_SLAB_OWNER(37,11,PLAYER0)
	CHANGE_SLAB_OWNER(38,11,PLAYER0)
	CHANGE_SLAB_OWNER(39,11,PLAYER0)	
	CHANGE_SLAB_OWNER(40,11,PLAYER0)	
	CHANGE_SLAB_OWNER(36,12,PLAYER0)	
	CHANGE_SLAB_OWNER(37,12,PLAYER0)
	CHANGE_SLAB_OWNER(38,12,PLAYER0)
	CHANGE_SLAB_OWNER(39,12,PLAYER0)	
	CHANGE_SLAB_OWNER(40,12,PLAYER0)	
	CHANGE_SLAB_OWNER(36,13,PLAYER0)	
	CHANGE_SLAB_OWNER(37,13,PLAYER0)
	CHANGE_SLAB_OWNER(38,13,PLAYER0)
	CHANGE_SLAB_OWNER(39,13,PLAYER0)	
	CHANGE_SLAB_OWNER(40,13,PLAYER0)
ENDIF



CREATE_PARTY(DERP1)
ADD_TO_PARTY(DERP1, TIME_MAGE, 1, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0,TIMER0 > 260)
	KILL_CREATURE(PLAYER_GOOD,TIME_MAGE,ANYWHERE,1)
	DISPLAY_INFORMATION(1,PLAYER0)
ENDIF

IF(PLAYER0,TIMER0 > 270)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 298)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 326)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 354)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 382)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 410)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 438)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 466)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 482)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 502)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 524)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
ENDIF




CREATE_PARTY(DERP2)
ADD_TO_PARTY(DERP2, THIEF, 1, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0,TIMER0 > 864)
	KILL_CREATURE(PLAYER_GOOD,THIEF,ANYWHERE,1)
	DISPLAY_INFORMATION(2,PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0,50)
ENDIF
IF(PLAYER0,TIMER0 > 874)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 902)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 930)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 958)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 986)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1014)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1042)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1070)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
ENDIF





CREATE_PARTY(DERP3)
ADD_TO_PARTY(DERP3, WITCH, 1, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0,TIMER0 > 1492)
	KILL_CREATURE(PLAYER_GOOD,WITCH,ANYWHERE,1)
	DISPLAY_INFORMATION(3,PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0,75)
ENDIF
IF(PLAYER0,TIMER0 > 1502)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1530)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1558)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1586)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1614)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1642)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1670)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1700)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
ENDIF





CREATE_PARTY(DERP4)
ADD_TO_PARTY(DERP4, BILE_DEMON, 1, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0,TIMER0 > 1900)
	KILL_CREATURE(PLAYER_GOOD,BILE_DEMON,ANYWHERE,1)
	DISPLAY_INFORMATION(4,PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0,75)
ENDIF
IF(PLAYER0,TIMER0 > 1910)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1938)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1966)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,1)
ENDIF
IF(PLAYER0,TIMER0 > 1994)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,1)
ENDIF






CREATE_PARTY(DERP5)
ADD_TO_PARTY(DERP5, SPIDER, 3, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0,TIMER0 > 2500)
	KILL_CREATURE(PLAYER_GOOD,SPIDER,ANYWHERE,1)
	DISPLAY_INFORMATION(5,PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0,150)
ENDIF
IF(PLAYER0,TIMER0 > 2510)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP5,-1,1)
ENDIF






CREATE_PARTY(DERP6)
ADD_TO_PARTY(DERP6, SORCEROR, 3, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 3200)
	KILL_CREATURE(PLAYER_GOOD, SORCEROR, ANYWHERE, 1)
	DISPLAY_INFORMATION(6, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 75)
ENDIF
IF(PLAYER0, TIMER0 > 3210)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 3238)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 3256)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 3280)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 3306)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 3332)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP6, -1, 1)
ENDIF




CREATE_PARTY(DERP7)
ADD_TO_PARTY(DERP7, BUG, 3, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 3800)
	KILL_CREATURE(PLAYER_GOOD, BUG, ANYWHERE, 1)
	DISPLAY_INFORMATION(7, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 75)
ENDIF
IF(PLAYER0, TIMER0 > 3810)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 3838)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 4)
ENDIF
IF(PLAYER0, TIMER0 > 3860)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 3890)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 5)
ENDIF
IF(PLAYER0, TIMER0 > 3915)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 3940)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 3970)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 4)
ENDIF
IF(PLAYER0, TIMER0 > 4000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP7, -1, 4)
ENDIF





CREATE_PARTY(DERP8)
ADD_TO_PARTY(DERP8, TROLL, 3, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 4600)
	KILL_CREATURE(PLAYER_GOOD, TROLL, ANYWHERE, 1)
	DISPLAY_INFORMATION(8, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 100)
ENDIF
IF(PLAYER0, TIMER0 > 4610)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 4640)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 4670)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 4700)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 4730)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 4760)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP8, -1, 1)
ENDIF



CREATE_PARTY(DERP9)
ADD_TO_PARTY(DERP9, SKELETON, 3, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 5200)
	KILL_CREATURE(PLAYER_GOOD, SKELETON, ANYWHERE, 1)
	DISPLAY_INFORMATION(9, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 100)
ENDIF
IF(PLAYER0, TIMER0 > 5210)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 5240)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 5270)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 5300)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 5330)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 5360)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP9, -1, 1)
ENDIF



CREATE_PARTY(DERP10)
ADD_TO_PARTY(DERP10, WIZARD, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 5900)
	KILL_CREATURE(PLAYER_GOOD, WIZARD, ANYWHERE, 1)
	DISPLAY_INFORMATION(10, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 150)
ENDIF
IF(PLAYER0, TIMER0 > 5910)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP10, -1, 1)
ENDIF




CREATE_PARTY(DERP11)
ADD_TO_PARTY(DERP11, VAMPIRE, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 6500)
	KILL_CREATURE(PLAYER_GOOD, VAMPIRE, ANYWHERE, 1)
	DISPLAY_INFORMATION(11, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 100)
ENDIF
IF(PLAYER0, TIMER0 > 6510)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6540)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6570)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6600)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6630)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6660)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6690)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 6720)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP11, -1, 1)
ENDIF







CREATE_PARTY(DERP12)
ADD_TO_PARTY(DERP12, DWARFA, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 7200)
	KILL_CREATURE(PLAYER_GOOD, DWARFA, ANYWHERE, 1)
	DISPLAY_INFORMATION(12, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 100)
ENDIF
IF(PLAYER0, TIMER0 > 7210)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7240)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7270)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7300)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7330)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7360)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP12, -1, 1)
ENDIF






CREATE_PARTY(DERP13)
ADD_TO_PARTY(DERP13, DRUID, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 7900)
	KILL_CREATURE(PLAYER_GOOD, DRUID, ANYWHERE, 1)
	DISPLAY_INFORMATION(13, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 125)
ENDIF
IF(PLAYER0, TIMER0 > 7910)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7940)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 7970)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8030)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8060)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8090)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8120)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8150)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8180)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP13, -1, 1)
ENDIF






CREATE_PARTY(DERP14)
ADD_TO_PARTY(DERP14, SAMURAI, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 8600)
	KILL_CREATURE(PLAYER_GOOD, SAMURAI, ANYWHERE, 1)
	DISPLAY_INFORMATION(14, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 125)
ENDIF
IF(PLAYER0, TIMER0 > 8610)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8640)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8670)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8700)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8730)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 8760)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP14, -1, 1)
ENDIF






CREATE_PARTY(DERP15)
ADD_TO_PARTY(DERP15, HORNY, 5, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 9300)
	KILL_CREATURE(PLAYER_GOOD, HORNY, ANYWHERE, 1)
	DISPLAY_INFORMATION(15, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 200)
ENDIF
IF(PLAYER0, TIMER0 > 9310)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP15, -1, 1)
ENDIF







CREATE_PARTY(DERP16)
ADD_TO_PARTY(DERP16, DEMONSPAWN, 8, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 9900)
	KILL_CREATURE(PLAYER_GOOD, DEMONSPAWN, ANYWHERE, 1)
	DISPLAY_INFORMATION(16, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 125)
ENDIF
IF(PLAYER0, TIMER0 > 9910)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 9940)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 9970)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 10000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 10030)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 10060)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP16, -1, 2)
ENDIF




CREATE_PARTY(DERP17)
ADD_TO_PARTY(DERP17, DARK_MISTRESS, 8, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 10600)
	KILL_CREATURE(PLAYER_GOOD, DARK_MISTRESS, ANYWHERE, 1)
	DISPLAY_INFORMATION(17, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 125)
ENDIF
IF(PLAYER0, TIMER0 > 10610)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10640)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10670)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10700)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10730)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10760)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10790)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 10820)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP17, -1, 1)
ENDIF




CREATE_PARTY(DERP18)
ADD_TO_PARTY(DERP18, TENTACLE, 8, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 11400)
	KILL_CREATURE(PLAYER_GOOD, TENTACLE, ANYWHERE, 1)
	DISPLAY_INFORMATION(18, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 150)
ENDIF
IF(PLAYER0, TIMER0 > 11410)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11440)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11470)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11500)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11530)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11560)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11590)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 11620)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11650)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11680)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11710)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11740)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 11800)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 11830)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 3)
ENDIF
IF(PLAYER0, TIMER0 > 11860)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 11890)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP18, -1, 1)
ENDIF






CREATE_PARTY(DERP19)
ADD_TO_PARTY(DERP19, BARBARIAN, 8, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 12300)
	KILL_CREATURE(PLAYER_GOOD, BARBARIAN, ANYWHERE, 1)
	DISPLAY_INFORMATION(19, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 150)
ENDIF
IF(PLAYER0, TIMER0 > 12310)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 12340)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 12370)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 12400)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 12430)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 12460)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP19, -1, 2)
ENDIF





CREATE_PARTY(DERP20)
ADD_TO_PARTY(DERP20, GIANT, 10, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 13000)
	KILL_CREATURE(PLAYER_GOOD, GIANT, ANYWHERE, 1)
	DISPLAY_INFORMATION(20, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 250)
ENDIF
IF(PLAYER0, TIMER0 > 13010)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP20, -1, 1)
ENDIF




CREATE_PARTY(DERP21)
ADD_TO_PARTY(DERP21, MONK, 10, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 13600)
	KILL_CREATURE(PLAYER_GOOD, MONK, ANYWHERE, 1)
	DISPLAY_INFORMATION(21, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 200)
ENDIF
IF(PLAYER0, TIMER0 > 13610)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 13640)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 13670)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 13700)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 13730)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 13760)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP21, -1, 1)
ENDIF










CREATE_PARTY(DERP22)
ADD_TO_PARTY(DERP22, HELL_HOUND, 10, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 14100)
	KILL_CREATURE(PLAYER_GOOD, HELL_HOUND, ANYWHERE, 1)
	DISPLAY_INFORMATION(22, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 200)
ENDIF
IF(PLAYER0, TIMER0 > 14110)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14140)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14165)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14200)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14220)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14250)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP22, -1, 1)
ENDIF






CREATE_PARTY(DERP23)
ADD_TO_PARTY(DERP23, ORC, 10, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 14900)
	KILL_CREATURE(PLAYER_GOOD, ORC, ANYWHERE, 1)
	DISPLAY_INFORMATION(23, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 200)
ENDIF
IF(PLAYER0, TIMER0 > 14910)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14940)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 14970)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15030)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15050)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15070)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15090)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15110)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15130)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15150)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 15170)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP23, -1, 1)
ENDIF







CREATE_PARTY(DERP24)
ADD_TO_PARTY(DERP24, DRAGON, 10, 0, SNIPE_DUNGEON_HEART, 1)

IF(PLAYER0, TIMER0 > 15800)
	KILL_CREATURE(PLAYER_GOOD, DRAGON, ANYWHERE, 1)
	DISPLAY_INFORMATION(24, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 200)
ENDIF
IF(PLAYER0, TIMER0 > 15810)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP24, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 15840)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP24, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 15870)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP24, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 15900)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP24, -1, 3)
ENDIF


SET_CREATURE_PROPERTY(KNIGHT,LORD,0)
SET_CREATURE_CONFIGURATION(AVATAR,KNIGHT,3500)
CREATE_PARTY(DERP25)
ADD_TO_PARTY(DERP25, KNIGHT, 10, 0, SNIPE_DUNGEON_HEART, 1)


IF(PLAYER0, TIMER0 > 16750)
	KILL_CREATURE(PLAYER_GOOD, KNIGHT, ANYWHERE, 1)

	DISPLAY_INFORMATION(25, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 300)	
ENDIF
IF(PLAYER0, TIMER0 > 16790)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP25, -1, 2)
ENDIF
IF(PLAYER0, TIMER0 > 16820)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP25, -1, 1)
ENDIF
IF(PLAYER0, TIMER0 > 16850)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP25, -1, 1)
ENDIF



SET_CREATURE_CONFIGURATION(AVATAR,Health,75000)
CREATE_PARTY(DERP26)
ADD_TO_PARTY(DERP26, AVATAR, 10, 0, SNIPE_DUNGEON_HEART, 1)



IF(PLAYER0, TIMER0 > 19300)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP26, -1, 1)
ENDIF

IF(PLAYER0, TIMER0 > 19310)
	KILL_CREATURE(PLAYER_GOOD,AVATAR,AT_ACTION_POINT[20],1)

	DISPLAY_INFORMATION(32, PLAYER0)
	ADD_GOLD_TO_PLAYER(PLAYER0, 500)	
ENDIF

IF(PLAYER0, TIMER0 > 19330)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP26, -1, 1)
ENDIF

IF(PLAYER0, TIMER0 > 19360)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD, DERP26, -1, 1)
ENDIF