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

ROOM_AVAILABLE(ALL_PLAYERS,TREASURE,1,1)
ROOM_AVAILABLE(ALL_PLAYERS,LAIR,1,1)
ROOM_AVAILABLE(ALL_PLAYERS,GARDEN,1,1)
ROOM_AVAILABLE(ALL_PLAYERS,GUARD_POST,1,1)

SET_ROOM_CONFIGURATION(GUARD_POST,Cost,10000)
SET_ROOM_CONFIGURATION(TREASURE,Cost,1)
SET_ROOM_CONFIGURATION(LAIR,Cost,25)
SET_ROOM_CONFIGURATION(GARDEN,Cost,400)

MAGIC_AVAILABLE(ALL_PLAYERS,POWER_HAND,1,1)
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)
REM SET_CREATURE_INSTANCE(FLOATING_SPIRIT,1,SWING_WEAPON_SWORD,1) 





SET_CREATURE_CONFIGURATION(BUG,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(SKELETON,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(SORCEROR,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(DRAGON,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(SPIDER,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(BILE_DEMON,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(DARK_MISTRESS,AttackPreference,MELEE)
SET_CREATURE_CONFIGURATION(HORNY,AttackPreference,MELEE)

SET_CREATURE_CONFIGURATION(BUG,Health,10000)
SET_CREATURE_CONFIGURATION(SKELETON,Health,10000)
SET_CREATURE_CONFIGURATION(SORCEROR,Health,10000)
SET_CREATURE_CONFIGURATION(DRAGON,Health,10000)
SET_CREATURE_CONFIGURATION(SPIDER,Health,10000)
SET_CREATURE_CONFIGURATION(BILE_DEMON,Health,10000)
SET_CREATURE_CONFIGURATION(DARK_MISTRESS,Health,10000)
SET_CREATURE_CONFIGURATION(HORNY,Health,10000)

SET_CREATURE_PROPERTY(BUG,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(SKELETON,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(SORCEROR,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(DRAGON,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(SPIDER,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(BILE_DEMON,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(DARK_MISTRESS,IMMUNE_TO_GAS,1)
SET_CREATURE_PROPERTY(HORNY,IMMUNE_TO_GAS,1)


SET_CREATURE_INSTANCE(SKELETON,1,RANGED_SKELETON_SWING_WEAPON_SWORD1,1) 
SET_CREATURE_INSTANCE(SORCEROR,1,NAVIGATING_FIREBALL1,1)
SET_CREATURE_INSTANCE(DRAGON,1,DRAGON_FIRE_BOMB,1)
SET_CREATURE_INSTANCE(SPIDER,1,RANGED_SPIDER_SWING_WEAPON_SWORD,1) 
SET_CREATURE_INSTANCE(BILE_DEMON,1,BILE_DEMON_POISON_CLOUD,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,1,DERP_LIGHTNING,1) 
SET_CREATURE_INSTANCE(HORNY,1,RANGED_HORNY_SWING_WEAPON_SWORD,1) 


SET_CREATURE_INSTANCE(SKELETON,2,NULL,1) 
SET_CREATURE_INSTANCE(SORCEROR,2,NULL,1)
SET_CREATURE_INSTANCE(DRAGON,2,NULL,1)
SET_CREATURE_INSTANCE(SPIDER,2,NULL,1) 
SET_CREATURE_INSTANCE(BILE_DEMON,2,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,2,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,2,NULL,1) 

SET_CREATURE_INSTANCE(SKELETON,3,NULL,1) 
SET_CREATURE_INSTANCE(SORCEROR,3,NULL,1)
SET_CREATURE_INSTANCE(DRAGON,3,NULL,1)
SET_CREATURE_INSTANCE(SPIDER,3,NULL,1) 
SET_CREATURE_INSTANCE(BILE_DEMON,3,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,3,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,3,NULL,1) 

SET_CREATURE_INSTANCE(SKELETON,4,NULL,1) 
SET_CREATURE_INSTANCE(SORCEROR,4,NULL,1)
SET_CREATURE_INSTANCE(DRAGON,4,NULL,1)
SET_CREATURE_INSTANCE(SPIDER,4,NULL,1) 
SET_CREATURE_INSTANCE(BILE_DEMON,4,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,4,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,4,NULL,1) 

SET_CREATURE_INSTANCE(SKELETON,5,NULL,1) 
SET_CREATURE_INSTANCE(SORCEROR,5,NULL,1)
SET_CREATURE_INSTANCE(DRAGON,5,NULL,1)
SET_CREATURE_INSTANCE(SPIDER,5,NULL,1) 
SET_CREATURE_INSTANCE(BILE_DEMON,5,NULL,1) 
SET_CREATURE_INSTANCE(DARK_MISTRESS,5,NULL,1) 
SET_CREATURE_INSTANCE(HORNY,5,NULL,1) 





SET_CREATURE_CONFIGURATION(BUG,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(SKELETON,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(SORCEROR,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(DRAGON,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(SPIDER,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(BILE_DEMON,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(DARK_MISTRESS,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(HORNY,BaseSpeed,0)













COMPUTER_PLAYER(PLAYER1,ROAMING)











IF_SLAB_TYPE(8,15,TREASURY_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(8,15,PRETTY_PATH)
	
	NEXT_COMMAND_REUSABLE
	PLAY_MESSAGE(PLAYER0,SOUND,128)
	
	NEXT_COMMAND_REUSABLE
	ADD_CREATURE_TO_LEVEL(PLAYER0,BUG,200,1,1,0)
	
ENDIF




SET_FLAG(PLAYER0,FLAG5,0)


IF_SLAB_TYPE(10,15,TREASURY_AREA)
	IF_SLAB_TYPE(10,14,TREASURY_AREA)
		IF_SLAB_TYPE(10,13,TREASURY_AREA)
			IF_SLAB_TYPE(10,12,TREASURY_AREA)
				IF_SLAB_TYPE(10,11,TREASURY_AREA)
				
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(10,15,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(10,14,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(10,13,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(10,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(10,11,PRETTY_PATH)
					
					NEXT_COMMAND_REUSABLE
					PLAY_MESSAGE(PLAYER0,SOUND,128)
					
					NEXT_COMMAND_REUSABLE
					ADD_CREATURE_TO_LEVEL(PLAYER0,SKELETON,200,1,1,0)
	
					CHANGE_SLAB_OWNER(8,15,PLAYER0)
					CHANGE_SLAB_OWNER(14,15,PLAYER0)
					CHANGE_SLAB_OWNER(14,14,PLAYER0)
					CHANGE_SLAB_OWNER(14,13,PLAYER0)
					CHANGE_SLAB_OWNER(14,12,PLAYER0)
					CHANGE_SLAB_OWNER(14,11,PLAYER0)
					CHANGE_SLAB_OWNER(15,15,PLAYER0)
					CHANGE_SLAB_OWNER(15,14,PLAYER0)
					CHANGE_SLAB_OWNER(15,13,PLAYER0)
					CHANGE_SLAB_OWNER(15,12,PLAYER0)
					CHANGE_SLAB_OWNER(15,11,PLAYER0)
					CHANGE_SLAB_OWNER(16,15,PLAYER0)
					CHANGE_SLAB_OWNER(16,14,PLAYER0)
					CHANGE_SLAB_OWNER(16,13,PLAYER0)
					CHANGE_SLAB_OWNER(16,12,PLAYER0)
					CHANGE_SLAB_OWNER(16,11,PLAYER0)
					CHANGE_SLAB_OWNER(26,15,PLAYER0)
					CHANGE_SLAB_OWNER(28,15,PLAYER0)
					CHANGE_SLAB_OWNER(28,14,PLAYER0)
					CHANGE_SLAB_OWNER(28,13,PLAYER0)		
					CHANGE_SLAB_OWNER(30,15,PLAYER0)
					CHANGE_SLAB_OWNER(30,14,PLAYER0)	
					CHANGE_SLAB_OWNER(30,13,PLAYER0)
					CHANGE_SLAB_OWNER(39,15,PLAYER0)	
	
					CHANGE_SLAB_OWNER(10,5,PLAYER0)	
	
	
					SET_FLAG(PLAYER0,FLAG5,1)
	
	
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF


SET_FLAG(PLAYER2,FLAG6,1)
IF_SLAB_TYPE(10,5,LAIR_AREA)

	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(10,5,PRETTY_PATH)

	IF(PLAYER2,FLAG6 == 4)
		SET_FLAG(PLAYER2,FLAG6,5)
		SET_CREATURE_INSTANCE(SKELETON,1,RANGED_SKELETON_SWING_WEAPON_SWORD5,1) 
		CHANGE_SLAB_OWNER(10,5,PLAYER2)	
	ENDIF	
	IF(PLAYER2,FLAG6 == 3)
		SET_FLAG(PLAYER2,FLAG6,4)
		SET_CREATURE_INSTANCE(SKELETON,1,RANGED_SKELETON_SWING_WEAPON_SWORD4,1) 
	ENDIF	
	IF(PLAYER2,FLAG6 == 2)
		SET_FLAG(PLAYER2,FLAG6,3)
		SET_CREATURE_INSTANCE(SKELETON,1,RANGED_SKELETON_SWING_WEAPON_SWORD3,1) 
	ENDIF

	IF(PLAYER2,FLAG6 == 1)
		SET_FLAG(PLAYER2,FLAG6,2)
		SET_CREATURE_INSTANCE(SKELETON,1,RANGED_SKELETON_SWING_WEAPON_SWORD2,1) 
	ENDIF		
ENDIF





IF_SLAB_TYPE(12,15,TREASURY_AREA)
	IF_SLAB_TYPE(12,14,TREASURY_AREA)
		IF_SLAB_TYPE(12,13,TREASURY_AREA)
			IF_SLAB_TYPE(12,12,TREASURY_AREA)
				IF_SLAB_TYPE(12,11,TREASURY_AREA)
				
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,15,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,14,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,13,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,12,PRETTY_PATH)
					NEXT_COMMAND_REUSABLE
					CHANGE_SLAB_TYPE(12,11,PRETTY_PATH)
					
					NEXT_COMMAND_REUSABLE
					PLAY_MESSAGE(PLAYER0,SOUND,128)
					
					NEXT_COMMAND_REUSABLE
					ADD_CREATURE_TO_LEVEL(PLAYER0,SORCEROR,200,1,1,0)
	
	
	
	
	
					CHANGE_SLAB_OWNER(8,15,PLAYER0)
					CHANGE_SLAB_OWNER(14,15,PLAYER0)
					CHANGE_SLAB_OWNER(14,14,PLAYER0)
					CHANGE_SLAB_OWNER(14,13,PLAYER0)
					CHANGE_SLAB_OWNER(14,12,PLAYER0)
					CHANGE_SLAB_OWNER(14,11,PLAYER0)
					CHANGE_SLAB_OWNER(15,15,PLAYER0)
					CHANGE_SLAB_OWNER(15,14,PLAYER0)
					CHANGE_SLAB_OWNER(15,13,PLAYER0)
					CHANGE_SLAB_OWNER(15,12,PLAYER0)
					CHANGE_SLAB_OWNER(15,11,PLAYER0)
					CHANGE_SLAB_OWNER(16,15,PLAYER0)
					CHANGE_SLAB_OWNER(16,14,PLAYER0)
					CHANGE_SLAB_OWNER(16,13,PLAYER0)
					CHANGE_SLAB_OWNER(16,12,PLAYER0)
					CHANGE_SLAB_OWNER(16,11,PLAYER0)
					CHANGE_SLAB_OWNER(26,15,PLAYER0)
					CHANGE_SLAB_OWNER(28,15,PLAYER0)
					CHANGE_SLAB_OWNER(28,14,PLAYER0)
					CHANGE_SLAB_OWNER(28,13,PLAYER0)		
					CHANGE_SLAB_OWNER(30,15,PLAYER0)
					CHANGE_SLAB_OWNER(30,14,PLAYER0)	
					CHANGE_SLAB_OWNER(30,13,PLAYER0)
					CHANGE_SLAB_OWNER(39,15,PLAYER0)	
					CHANGE_SLAB_OWNER(26,5,PLAYER0)
					CHANGE_SLAB_OWNER(26,4,PLAYER0)
					CHANGE_SLAB_OWNER(26,3,PLAYER0)
					CHANGE_SLAB_OWNER(26,2,PLAYER0)

					CHANGE_SLAB_OWNER(12,5,PLAYER0)	
	
					SET_FLAG(PLAYER0,FLAG5,1)
	

	
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF

SET_FLAG(PLAYER2,FLAG7,1)
IF_SLAB_TYPE(12,5,LAIR_AREA)

	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(12,5,PRETTY_PATH)

	IF(PLAYER2,FLAG7 == 4)
		SET_FLAG(PLAYER2,FLAG7,5)
		SET_CREATURE_INSTANCE(SORCEROR,1,NAVIGATING_FIREBALL5,1) 
		CHANGE_SLAB_OWNER(12,5,PLAYER2)	
	ENDIF	
	IF(PLAYER2,FLAG7 == 3)
		SET_FLAG(PLAYER2,FLAG7,4)
		SET_CREATURE_INSTANCE(SORCEROR,1,NAVIGATING_FIREBALL4,1) 
	ENDIF	
	IF(PLAYER2,FLAG7 == 2)
		SET_FLAG(PLAYER2,FLAG7,3)
		SET_CREATURE_INSTANCE(SORCEROR,1,NAVIGATING_FIREBALL3,1) 
	ENDIF

	IF(PLAYER2,FLAG7 == 1)
		SET_FLAG(PLAYER2,FLAG7,2)
		SET_CREATURE_INSTANCE(SORCEROR,1,NAVIGATING_FIREBALL2,1) 
	ENDIF		
ENDIF















IF(PLAYER0, FLAG5 == 1)
	SET_TIMER(PLAYER0,TIMER0)
ENDIF














IF_SLAB_TYPE(14,15,TREASURY_AREA)
	IF_SLAB_TYPE(14,14,TREASURY_AREA)
		IF_SLAB_TYPE(14,13,TREASURY_AREA)
			IF_SLAB_TYPE(14,12,TREASURY_AREA)
				IF_SLAB_TYPE(14,11,TREASURY_AREA)
					IF_SLAB_TYPE(15,15,TREASURY_AREA)
						IF_SLAB_TYPE(15,14,TREASURY_AREA)
							IF_SLAB_TYPE(15,13,TREASURY_AREA)
								IF_SLAB_TYPE(15,12,TREASURY_AREA)
									IF_SLAB_TYPE(15,11,TREASURY_AREA)
										IF_SLAB_TYPE(16,15,TREASURY_AREA)
											IF_SLAB_TYPE(16,14,TREASURY_AREA)
												IF_SLAB_TYPE(16,13,TREASURY_AREA)
													IF_SLAB_TYPE(16,12,TREASURY_AREA)
														IF_SLAB_TYPE(16,11,TREASURY_AREA)
	
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(14,15,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(14,14,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(14,13,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(14,12,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(14,11,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(15,15,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(15,14,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(15,13,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(15,12,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(15,11,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(16,15,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(16,14,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(16,13,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(16,12,PRETTY_PATH)
															NEXT_COMMAND_REUSABLE
															CHANGE_SLAB_TYPE(16,11,PRETTY_PATH)
											
															NEXT_COMMAND_REUSABLE
															PLAY_MESSAGE(PLAYER0,SOUND,128)
															
															NEXT_COMMAND_REUSABLE
															ADD_CREATURE_TO_LEVEL(PLAYER0,DRAGON,200,1,1,0)
	
														ENDIF
													ENDIF
												ENDIF
											ENDIF
										ENDIF
									ENDIF
								ENDIF
							ENDIF
						ENDIF
					ENDIF
				ENDIF
			ENDIF
		ENDIF
	ENDIF
ENDIF

				

	








IF_SLAB_TYPE(26,15,LAIR_AREA)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(26,15,PRETTY_PATH)
	
	NEXT_COMMAND_REUSABLE
	PLAY_MESSAGE(PLAYER0,SOUND,128)
	
	NEXT_COMMAND_REUSABLE
	ADD_CREATURE_TO_LEVEL(PLAYER0,SPIDER,200,1,1,0)
		
	CHANGE_SLAB_OWNER(26,5,PLAYER0)
	CHANGE_SLAB_OWNER(26,4,PLAYER0)
	CHANGE_SLAB_OWNER(26,3,PLAYER0)
	CHANGE_SLAB_OWNER(26,2,PLAYER0)	
ENDIF

IF_SLAB_TYPE(26,2,LAIR_AREA)
	IF_SLAB_TYPE(26,3,LAIR_AREA)
		IF_SLAB_TYPE(26,4,LAIR_AREA)
			IF_SLAB_TYPE(26,5,LAIR_AREA)
			
				SET_CREATURE_INSTANCE(SPIDER,1,RANGED_SPIDER_SWING_WEAPON_SWORD2,1)
				
				CHANGE_SLAB_TYPE(26,2,PRETTY_PATH)
				CHANGE_SLAB_TYPE(26,3,PRETTY_PATH)
				CHANGE_SLAB_TYPE(26,4,PRETTY_PATH)
				CHANGE_SLAB_TYPE(26,5,PRETTY_PATH)
				
				CHANGE_SLAB_OWNER(26,2,PLAYER2)
				CHANGE_SLAB_OWNER(26,3,PLAYER2)
				CHANGE_SLAB_OWNER(26,4,PLAYER2)
				CHANGE_SLAB_OWNER(26,5,PLAYER2)
			ENDIF
		ENDIF
	ENDIF
ENDIF

IF_SLAB_TYPE(28,13,LAIR_AREA)
	IF_SLAB_TYPE(28,14,LAIR_AREA)
		IF_SLAB_TYPE(28,15,LAIR_AREA)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(28,13,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(28,14,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(28,15,PRETTY_PATH)			
			
			NEXT_COMMAND_REUSABLE
			PLAY_MESSAGE(PLAYER0,SOUND,128)
			
			NEXT_COMMAND_REUSABLE
			ADD_CREATURE_TO_LEVEL(PLAYER0,BILE_DEMON,200,1,1,0)
		ENDIF
	ENDIF
ENDIF



	
IF_SLAB_TYPE(30,13,LAIR_AREA)
	IF_SLAB_TYPE(30,14,LAIR_AREA)
		IF_SLAB_TYPE(30,15,LAIR_AREA)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(30,13,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(30,14,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(30,15,PRETTY_PATH)			
			
			NEXT_COMMAND_REUSABLE
			PLAY_MESSAGE(PLAYER0,SOUND,128)
			
			NEXT_COMMAND_REUSABLE
			ADD_CREATURE_TO_LEVEL(PLAYER0,DARK_MISTRESS,200,1,1,0)
		ENDIF
	ENDIF
ENDIF

	
	
IF_SLAB_TYPE(39,15,HATCHERY)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_TYPE(39,15,PRETTY_PATH)	
	
	NEXT_COMMAND_REUSABLE
	PLAY_MESSAGE(PLAYER0,SOUND,128)
	
	NEXT_COMMAND_REUSABLE
	ADD_CREATURE_TO_LEVEL(PLAYER0,HORNY,200,1,1,0)
ENDIF
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	




SET_FLAG(PLAYER0,FLAG0,0)

IF(PLAYER0,TIMER1 > 25)
	IF(PLAYER0, TOTAL_CREATURES > 0)
		IF(PLAYER0, FLAG0 == 0)
	
		NEXT_COMMAND_REUSABLE
		SET_FLAG(PLAYER0,FLAG0,1)
	
		
		NEXT_COMMAND_REUSABLE
		ROOM_AVAILABLE(ALL_PLAYERS,TREASURE,0,0)
		NEXT_COMMAND_REUSABLE
		ROOM_AVAILABLE(ALL_PLAYERS,LAIR,0,0)
		NEXT_COMMAND_REUSABLE
		ROOM_AVAILABLE(ALL_PLAYERS,GARDEN,0,0)

		NEXT_COMMAND_REUSABLE
		ROOM_AVAILABLE(ALL_PLAYERS,GUARD_POST,1,1)
	
	
	
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(8,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(14,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(14,14,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(14,13,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(14,12,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(14,11,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(15,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(15,14,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(15,13,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(15,12,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(15,11,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(16,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(16,14,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(16,13,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(16,12,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(16,11,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(26,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(28,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(28,14,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(28,13,PLAYER5)
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(30,15,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(30,14,PLAYER5)	
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(30,13,PLAYER5)
		NEXT_COMMAND_REUSABLE
		CHANGE_SLAB_OWNER(39,15,PLAYER5)	
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,5,PLAYER5)	
		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(12,11,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(12,12,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(12,13,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(12,14,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(12,15,PLAYER5)		
		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,11,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,12,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,13,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,14,PLAYER5)		
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(10,15,PLAYER5)	



		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(26,2,PLAYER5)
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(26,3,PLAYER5)
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(26,4,PLAYER5)
		NEXT_COMMAND_REUSABLE	
		CHANGE_SLAB_OWNER(26,5,PLAYER5)
		
	

	
		IF_SLAB_TYPE(15,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,35,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,35,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,35,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(15,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,36,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,36,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,36,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(15,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,37,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,37,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,37,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,37,PLAYER0)
		ENDIF
				
		IF_SLAB_TYPE(15,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,38,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,38,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,38,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,38,PLAYER0)
		ENDIF
		
		IF_SLAB_TYPE(15,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,39,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,39,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,39,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(15,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,40,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,40,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,40,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,40,PLAYER0)
		ENDIF
		IF_SLAB_TYPE(15,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,41,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,41,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,41,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,41,PLAYER0)
		ENDIF
				
		IF_SLAB_TYPE(15,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,42,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,42,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,42,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,42,PLAYER0)
		ENDIF
		
		IF_SLAB_TYPE(15,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(15,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(15,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(16,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(16,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(16,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(26,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(26,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(26,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(27,43,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(27,43,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(27,43,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(17,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(17,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(17,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(18,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(18,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(18,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(19,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(19,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(19,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(20,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(20,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(20,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(21,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(21,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(21,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(22,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(22,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(22,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(23,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(23,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(23,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(24,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(24,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(24,44,PLAYER0)
		ENDIF

		IF_SLAB_TYPE(25,44,WATER)
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_TYPE(25,44,PRETTY_PATH) 
		NEXT_COMMAND_REUSABLE 
		CHANGE_SLAB_OWNER(25,44,PLAYER0)
		ENDIF

	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		ENDIF	
	ENDIF
ENDIF

IF(PLAYER0, FLAG0 == 1)
	NEXT_COMMAND_REUSABLE
	ADD_GOLD_TO_PLAYER(PLAYER0,10000)
	
	NEXT_COMMAND_REUSABLE
	SET_FLAG(PLAYER0,FLAG0,2)
ENDIF

IF(PLAYER0, TOTAL_CREATURES == 0)
	IF(PLAYER0, FLAG0 == 2)
	
	NEXT_COMMAND_REUSABLE
	ROOM_AVAILABLE(ALL_PLAYERS,TREASURE,1,1)
	NEXT_COMMAND_REUSABLE
	ROOM_AVAILABLE(ALL_PLAYERS,LAIR,1,1)
	NEXT_COMMAND_REUSABLE
	ROOM_AVAILABLE(ALL_PLAYERS,GARDEN,1,1)
	NEXT_COMMAND_REUSABLE
	ROOM_AVAILABLE(ALL_PLAYERS,GUARD_POST,0,0)
	
	NEXT_COMMAND_REUSABLE
	SET_FLAG(PLAYER0,FLAG0,0)
	

	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(8,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(14,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(14,14,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(14,13,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(14,12,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(14,11,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(15,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(15,14,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(15,13,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(15,12,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(15,11,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(16,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(16,14,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(16,13,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(16,12,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(16,11,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(26,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(28,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(28,14,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(28,13,PLAYER0)
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(30,15,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(30,14,PLAYER0)	
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(30,13,PLAYER0)
	NEXT_COMMAND_REUSABLE
	CHANGE_SLAB_OWNER(39,15,PLAYER0)	
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,5,PLAYER0)	
	
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(12,11,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(12,12,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(12,13,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(12,14,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(12,15,PLAYER0)		
	
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,11,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,12,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,13,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,14,PLAYER0)		
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(10,15,PLAYER0)

	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(26,2,PLAYER0)
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(26,3,PLAYER0)
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(26,4,PLAYER0)
	NEXT_COMMAND_REUSABLE	
	CHANGE_SLAB_OWNER(26,5,PLAYER0)	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		IF_SLAB_TYPE(15,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,35,WATER)
		ENDIF

		IF_SLAB_TYPE(16,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,35,WATER)
		ENDIF

		IF_SLAB_TYPE(17,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,35,WATER)
		ENDIF

		IF_SLAB_TYPE(18,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,35,WATER)
		ENDIF

		IF_SLAB_TYPE(19,35,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,35,WATER)
		ENDIF

		IF_SLAB_TYPE(20,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,35,WATER)
		ENDIF

		IF_SLAB_TYPE(21,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,35,WATER)
		ENDIF

		IF_SLAB_TYPE(22,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,35,WATER)
		ENDIF

		IF_SLAB_TYPE(23,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,35,WATER)
		ENDIF

		IF_SLAB_TYPE(24,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,35,WATER)
		ENDIF

		IF_SLAB_TYPE(25,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,35,WATER)
		ENDIF

		IF_SLAB_TYPE(26,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,35,WATER)
		ENDIF

		IF_SLAB_TYPE(27,35,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,35,WATER)
		ENDIF
		
		IF_SLAB_TYPE(15,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,36,WATER)
		ENDIF

		IF_SLAB_TYPE(16,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,36,WATER)
		ENDIF

		IF_SLAB_TYPE(17,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,36,WATER)
		ENDIF

		IF_SLAB_TYPE(18,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,36,WATER)
		ENDIF

		IF_SLAB_TYPE(19,36,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,36,WATER)
		ENDIF

		IF_SLAB_TYPE(20,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,36,WATER)
		ENDIF

		IF_SLAB_TYPE(21,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,36,WATER)
		ENDIF

		IF_SLAB_TYPE(22,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,36,WATER)
		ENDIF

		IF_SLAB_TYPE(23,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,36,WATER)
		ENDIF

		IF_SLAB_TYPE(24,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,36,WATER)
		ENDIF

		IF_SLAB_TYPE(25,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,36,WATER)
		ENDIF

		IF_SLAB_TYPE(26,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,36,WATER)
		ENDIF

		IF_SLAB_TYPE(27,36,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,36,WATER)
		ENDIF
		IF_SLAB_TYPE(15,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,37,WATER)
		ENDIF

		IF_SLAB_TYPE(16,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,37,WATER)
		ENDIF

		IF_SLAB_TYPE(17,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,37,WATER)
		ENDIF

		IF_SLAB_TYPE(18,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,37,WATER)
		ENDIF

		IF_SLAB_TYPE(19,37,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,37,WATER)
		ENDIF

		IF_SLAB_TYPE(20,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,37,WATER)
		ENDIF

		IF_SLAB_TYPE(21,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,37,WATER)
		ENDIF

		IF_SLAB_TYPE(22,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,37,WATER)
		ENDIF

		IF_SLAB_TYPE(23,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,37,WATER)
		ENDIF

		IF_SLAB_TYPE(24,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,37,WATER)
		ENDIF

		IF_SLAB_TYPE(25,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,37,WATER)
		ENDIF

		IF_SLAB_TYPE(26,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,37,WATER)
		ENDIF

		IF_SLAB_TYPE(27,37,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,37,WATER)
		ENDIF
		IF_SLAB_TYPE(15,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,38,WATER)
		ENDIF

		IF_SLAB_TYPE(16,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,38,WATER)
		ENDIF

		IF_SLAB_TYPE(17,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,38,WATER)
		ENDIF

		IF_SLAB_TYPE(18,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,38,WATER)
		ENDIF

		IF_SLAB_TYPE(19,38,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,38,WATER)
		ENDIF

		IF_SLAB_TYPE(20,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,38,WATER)
		ENDIF

		IF_SLAB_TYPE(21,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,38,WATER)
		ENDIF

		IF_SLAB_TYPE(22,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,38,WATER)
		ENDIF

		IF_SLAB_TYPE(23,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,38,WATER)
		ENDIF

		IF_SLAB_TYPE(24,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,38,WATER)
		ENDIF

		IF_SLAB_TYPE(25,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,38,WATER)
		ENDIF

		IF_SLAB_TYPE(26,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,38,WATER)
		ENDIF

		IF_SLAB_TYPE(27,38,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,38,WATER)
		ENDIF
		IF_SLAB_TYPE(15,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,39,WATER)
		ENDIF

		IF_SLAB_TYPE(16,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,39,WATER)
		ENDIF

		IF_SLAB_TYPE(17,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,39,WATER)
		ENDIF

		IF_SLAB_TYPE(18,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,39,WATER)
		ENDIF

		IF_SLAB_TYPE(19,39,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,39,WATER)
		ENDIF

		IF_SLAB_TYPE(20,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,39,WATER)
		ENDIF

		IF_SLAB_TYPE(21,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,39,WATER)
		ENDIF

		IF_SLAB_TYPE(22,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,39,WATER)
		ENDIF

		IF_SLAB_TYPE(23,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,39,WATER)
		ENDIF

		IF_SLAB_TYPE(24,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,39,WATER)
		ENDIF

		IF_SLAB_TYPE(25,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,39,WATER)
		ENDIF

		IF_SLAB_TYPE(26,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,39,WATER)
		ENDIF

		IF_SLAB_TYPE(27,39,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,39,WATER)
		ENDIF


		IF_SLAB_TYPE(15,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,40,WATER)
		ENDIF

		IF_SLAB_TYPE(16,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,40,WATER)
		ENDIF

		IF_SLAB_TYPE(17,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,40,WATER)
		ENDIF

		IF_SLAB_TYPE(18,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,40,WATER)
		ENDIF

		IF_SLAB_TYPE(19,40,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,40,WATER)
		ENDIF

		IF_SLAB_TYPE(20,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,40,WATER)
		ENDIF

		IF_SLAB_TYPE(21,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,40,WATER)
		ENDIF

		IF_SLAB_TYPE(22,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,40,WATER)
		ENDIF

		IF_SLAB_TYPE(23,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,40,WATER)
		ENDIF

		IF_SLAB_TYPE(24,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,40,WATER)
		ENDIF

		IF_SLAB_TYPE(25,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,40,WATER)
		ENDIF

		IF_SLAB_TYPE(26,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,40,WATER)
		ENDIF

		IF_SLAB_TYPE(27,40,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,40,WATER)
		ENDIF
		IF_SLAB_TYPE(15,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,41,WATER)
		ENDIF

		IF_SLAB_TYPE(16,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,41,WATER)
		ENDIF

		IF_SLAB_TYPE(17,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,41,WATER)
		ENDIF

		IF_SLAB_TYPE(18,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,41,WATER)
		ENDIF

		IF_SLAB_TYPE(19,41,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,41,WATER)
		ENDIF

		IF_SLAB_TYPE(20,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,41,WATER)
		ENDIF

		IF_SLAB_TYPE(21,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,41,WATER)
		ENDIF

		IF_SLAB_TYPE(22,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,41,WATER)
		ENDIF

		IF_SLAB_TYPE(23,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,41,WATER)
		ENDIF

		IF_SLAB_TYPE(24,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,41,WATER)
		ENDIF

		IF_SLAB_TYPE(25,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,41,WATER)
		ENDIF

		IF_SLAB_TYPE(26,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,41,WATER)
		ENDIF

		IF_SLAB_TYPE(27,41,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,41,WATER)
		ENDIF


		IF_SLAB_TYPE(15,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,42,WATER)
		ENDIF

		IF_SLAB_TYPE(16,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,42,WATER)
		ENDIF

		IF_SLAB_TYPE(17,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,42,WATER)
		ENDIF

		IF_SLAB_TYPE(18,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,42,WATER)
		ENDIF

		IF_SLAB_TYPE(19,42,PRETTY_PATH)	
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,42,WATER)
		ENDIF

		IF_SLAB_TYPE(20,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,42,WATER)
		ENDIF

		IF_SLAB_TYPE(21,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,42,WATER)
		ENDIF

		IF_SLAB_TYPE(22,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,42,WATER)
		ENDIF

		IF_SLAB_TYPE(23,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,42,WATER)
		ENDIF

		IF_SLAB_TYPE(24,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,42,WATER)
		ENDIF

		IF_SLAB_TYPE(25,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,42,WATER)
		ENDIF

		IF_SLAB_TYPE(26,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,42,WATER)
		ENDIF

		IF_SLAB_TYPE(27,42,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,42,WATER)
		ENDIF
		
		IF_SLAB_TYPE(15,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(15,43,WATER)
		ENDIF

		IF_SLAB_TYPE(16,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(16,43,WATER)
		ENDIF

		IF_SLAB_TYPE(17,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,43,WATER)
		ENDIF

		IF_SLAB_TYPE(17,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(17,44,WATER)
		ENDIF

		IF_SLAB_TYPE(18,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,43,WATER)
		ENDIF

		IF_SLAB_TYPE(18,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(18,44,WATER)
		ENDIF

		IF_SLAB_TYPE(19,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,43,WATER)
		ENDIF

		IF_SLAB_TYPE(19,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(19,44,WATER)
		ENDIF

		IF_SLAB_TYPE(20,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,43,WATER)
		ENDIF

		IF_SLAB_TYPE(20,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(20,44,WATER)
		ENDIF

		IF_SLAB_TYPE(21,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,43,WATER)
		ENDIF

		IF_SLAB_TYPE(21,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(21,44,WATER)
		ENDIF

		IF_SLAB_TYPE(22,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,43,WATER)
		ENDIF

		IF_SLAB_TYPE(22,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(22,44,WATER)
		ENDIF

		IF_SLAB_TYPE(23,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,43,WATER)
		ENDIF

		IF_SLAB_TYPE(23,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(23,44,WATER)
		ENDIF

		IF_SLAB_TYPE(24,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,43,WATER)
		ENDIF

		IF_SLAB_TYPE(24,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(24,44,WATER)
		ENDIF

		IF_SLAB_TYPE(25,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,43,WATER)
		ENDIF

		IF_SLAB_TYPE(25,44,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(25,44,WATER)
		ENDIF

		IF_SLAB_TYPE(26,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(26,43,WATER)
		ENDIF

		IF_SLAB_TYPE(27,43,PRETTY_PATH)
			NEXT_COMMAND_REUSABLE
			CHANGE_SLAB_TYPE(27,43,WATER)
		ENDIF
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	ENDIF
ENDIF








IF_SLAB_TYPE(15,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,1)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,2)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,3)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,4)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,5)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,6)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,7)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,8)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,9)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,10)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,11)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,12)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,35,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,35,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,13)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF




IF_SLAB_TYPE(15,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,14)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,15)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,16)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,17)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,18)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,19)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,20)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,21)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,22)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,23)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,24)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,25)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,36,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,36,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,26)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,27)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,28)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,29)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,30)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,31)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,32)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,33)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,34)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,35)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,36)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,37)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,38)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,37,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,37,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,39)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,40)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,41)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,42)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,43)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,44)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,45)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,46)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,47)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,48)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,49)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,50)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,51)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,38,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,38,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,52)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,53)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,54)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,55)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,56)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,57)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,58)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,59)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,60)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,61)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,62)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,63)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,64)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,39,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,39,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,65)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF




IF_SLAB_TYPE(15,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,67)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,68)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,69)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,70)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,71)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,72)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,73)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,74)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,75)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,76)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,77)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,78)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,40,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,40,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,79)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,80)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,81)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,82)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,83)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,84)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,85)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,86)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,87)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,88)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,89)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,90)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,91)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,41,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,41,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,92)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,93)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,94)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,95)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,96)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,97)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,98)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,99)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,100)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,101)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,102)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,103)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,104)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,42,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,42,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,105)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF




IF_SLAB_TYPE(15,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,106)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,107)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(17,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,108)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,109)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,110)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,111)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,112)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,113)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,114)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,115)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,116)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,117)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,43,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,43,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,118)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF





IF_SLAB_TYPE(17,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(17,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,121)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(18,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,122)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,123)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,124)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,125)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,126)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,127)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,128)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(25,44,GUARD_AREA)
	CHANGE_SLAB_OWNER(25,44,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,129)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF




IF_SLAB_TYPE(15,47,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,47,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,132)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,47,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,47,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,133)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,47,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,47,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,134)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,47,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,47,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,135)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(15,48,GUARD_AREA)
	CHANGE_SLAB_OWNER(15,48,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,136)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(16,48,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,48,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,137)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,48,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,48,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,138)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(27,48,GUARD_AREA)
	CHANGE_SLAB_OWNER(27,48,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,139)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

















IF_SLAB_TYPE(16,51,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,51,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,141)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,51,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,51,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,144)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(16,52,GUARD_AREA)
	CHANGE_SLAB_OWNER(16,52,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,143)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(26,52,GUARD_AREA)
	CHANGE_SLAB_OWNER(26,52,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,146)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF






IF_SLAB_TYPE(18,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,148)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(19,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,149)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(20,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,150)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF


IF_SLAB_TYPE(22,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,151)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(23,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,152)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(24,26,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,26,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,153)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF



IF_SLAB_TYPE(18,27,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,27,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,154)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(18,28,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,28,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,155)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(18,29,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,29,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,156)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(18,30,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,30,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,157)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(18,31,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,31,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,158)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,27,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,27,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,159)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(24,28,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,28,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,160)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(24,29,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,29,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,161)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(24,30,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,30,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,162)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF
IF_SLAB_TYPE(24,31,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,31,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,163)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF





IF_SLAB_TYPE(18,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(18,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,164)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(19,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(19,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,165)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(20,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(20,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,166)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(21,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(21,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,167)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(22,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(22,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,168)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(23,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(23,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,169)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF

IF_SLAB_TYPE(24,32,GUARD_AREA)
	CHANGE_SLAB_OWNER(24,32,PLAYER1)
	MOVE_CREATURE(PLAYER0,ANY_CREATURE,ANYWHERE,32,170)
	CHANGE_CREATURE_OWNER(PLAYER0,ANY_CREATURE,ANYWHERE,PLAYER1)
ENDIF










REM ANTICHEAT-SYSTEM

REM SET_TIMER(PLAYER0,TIMER2)


REM CREATE_PARTY(ANTICHEAT)
REM ADD_TO_PARTY(ANTICHEAT, FLOATING_SPIRIT, 10, 0, SNIPE_DUNGEON_HEART, 10)
REM IF(PLAYER0,TIMER2 > 5)
REM 	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,ANTICHEAT,-1,1)
REM ENDIF
REM NEXT_COMMAND_REUSABLE
REM COUNT_CREATURES_AT_ACTION_POINT(254,PLAYER_GOOD,FLOATING_SPIRIT,PLAYER2,FLAG3)
REM IF(PLAYER2,FLAG3 > 0)
REM 	NEXT_COMMAND_REUSABLE
REM 	MOVE_CREATURE(PLAYER_GOOD,FLOATING_SPIRIT,AT_ACTION_POINT[254],1,255) 	
REM 	NEXT_COMMAND_REUSABLE
REM 	SET_TIMER(PLAYER0,TIMER2)
REM ENDIF
REM IF(PLAYER0,TIMER2 > 50000)
REM 	LOSE_GAME
REM ENDIF



REM DAMAGE TO HEART AND KILL BACK

NEXT_COMMAND_REUSABLE
COUNT_CREATURES_AT_ACTION_POINT(200,PLAYER_GOOD,ANY_CREATURE,PLAYER2,FLAG4)
IF(PLAYER2,FLAG4 > 0)
	NEXT_COMMAND_REUSABLE
	MOVE_CREATURE(PLAYER_GOOD,ANY_CREATURE,AT_ACTION_POINT[200],1,255)
	
	NEXT_COMMAND_REUSABLE
	ADD_HEART_HEALTH(PLAYER0,-1000,1)
	
	NEXT_COMMAND_REUSABLE
	CREATE_EFFECT(50,200)
ENDIF








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


CHANGE_SLAB_OWNER(8,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(14,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(14,14,PLAYER_GOOD)
CHANGE_SLAB_OWNER(14,13,PLAYER_GOOD)
CHANGE_SLAB_OWNER(14,12,PLAYER_GOOD)
CHANGE_SLAB_OWNER(14,11,PLAYER_GOOD)
CHANGE_SLAB_OWNER(15,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(15,14,PLAYER_GOOD)
CHANGE_SLAB_OWNER(15,13,PLAYER_GOOD)
CHANGE_SLAB_OWNER(15,12,PLAYER_GOOD)
CHANGE_SLAB_OWNER(15,11,PLAYER_GOOD)
CHANGE_SLAB_OWNER(16,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(16,14,PLAYER_GOOD)
CHANGE_SLAB_OWNER(16,13,PLAYER_GOOD)
CHANGE_SLAB_OWNER(16,12,PLAYER_GOOD)
CHANGE_SLAB_OWNER(16,11,PLAYER_GOOD)
CHANGE_SLAB_OWNER(26,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(28,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(28,14,PLAYER_GOOD)
CHANGE_SLAB_OWNER(28,13,PLAYER_GOOD)		
CHANGE_SLAB_OWNER(30,15,PLAYER_GOOD)
CHANGE_SLAB_OWNER(30,14,PLAYER_GOOD)	
CHANGE_SLAB_OWNER(30,13,PLAYER_GOOD)
CHANGE_SLAB_OWNER(39,15,PLAYER_GOOD)	
CHANGE_SLAB_OWNER(10,5,PLAYER_GOOD)
CHANGE_SLAB_OWNER(12,5,PLAYER_GOOD)
CHANGE_SLAB_OWNER(26,5,PLAYER_GOOD)
CHANGE_SLAB_OWNER(26,4,PLAYER_GOOD)
CHANGE_SLAB_OWNER(26,3,PLAYER_GOOD)
CHANGE_SLAB_OWNER(26,2,PLAYER_GOOD)





REM TIMER0 SPAWN WAVES

SET_CREATURE_CONFIGURATION(THIEF,Health,5)
SET_CREATURE_CONFIGURATION(ARCHER,Health,25)
SET_CREATURE_CONFIGURATION(WITCH,Health,50)
SET_CREATURE_CONFIGURATION(BARBARIAN,Health,150)
SET_CREATURE_CONFIGURATION(FAIRY,Health,100)
SET_CREATURE_CONFIGURATION(WIZARD,Health,175)
SET_CREATURE_CONFIGURATION(TUNNELLER,Health,250)
SET_CREATURE_CONFIGURATION(MONK,Health,300)
SET_CREATURE_CONFIGURATION(DWARFA,Health,500)
SET_CREATURE_CONFIGURATION(GIANT,Health,700)
SET_CREATURE_CONFIGURATION(SAMURAI,Health,750)
SET_CREATURE_CONFIGURATION(TIME_MAGE,Health,500)
SET_CREATURE_CONFIGURATION(DRUID,Health,830)
SET_CREATURE_CONFIGURATION(IMP,Health,500)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,Health,1500)
SET_CREATURE_CONFIGURATION(TROLL,Health,2000)
SET_CREATURE_CONFIGURATION(ORC,Health,2500)
SET_CREATURE_CONFIGURATION(FLY,Health,350)
SET_CREATURE_CONFIGURATION(HELL_HOUND,Health,2500)
SET_CREATURE_CONFIGURATION(TENTACLE,Health,5000)
SET_CREATURE_CONFIGURATION(GHOST,Health,4000)
SET_CREATURE_CONFIGURATION(VAMPIRE,Health,8000)
SET_CREATURE_CONFIGURATION(MAIDEN,Health,10000)
SET_CREATURE_CONFIGURATION(KNIGHT,Health,20000)
SET_CREATURE_CONFIGURATION(AVATAR,Health,50000)

SET_CREATURE_CONFIGURATION(THIEF,Defence,5)
SET_CREATURE_CONFIGURATION(ARCHER,Defence,10)
SET_CREATURE_CONFIGURATION(WITCH,Defence,5)
SET_CREATURE_CONFIGURATION(BARBARIAN,Defence,55)
SET_CREATURE_CONFIGURATION(FAIRY,Defence,10)
SET_CREATURE_CONFIGURATION(WIZARD,Defence,35)
SET_CREATURE_CONFIGURATION(TUNNELLER,Defence,70)
SET_CREATURE_CONFIGURATION(MONK,Defence,100)
SET_CREATURE_CONFIGURATION(DWARFA,Defence,90)
SET_CREATURE_CONFIGURATION(GIANT,Defence,115)
SET_CREATURE_CONFIGURATION(SAMURAI,Defence,120)
SET_CREATURE_CONFIGURATION(TIME_MAGE,Defence,25)
SET_CREATURE_CONFIGURATION(DRUID,Defence,105)
SET_CREATURE_CONFIGURATION(IMP,Defence,25)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,Defence,85)
SET_CREATURE_CONFIGURATION(TROLL,Defence,95)
SET_CREATURE_CONFIGURATION(ORC,Defence,110)
SET_CREATURE_CONFIGURATION(FLY,Defence,40)
SET_CREATURE_CONFIGURATION(HELL_HOUND,Defence,75)
SET_CREATURE_CONFIGURATION(TENTACLE,Defence,120)
SET_CREATURE_CONFIGURATION(GHOST,Defence,80)
SET_CREATURE_CONFIGURATION(VAMPIRE,Defence,100)
SET_CREATURE_CONFIGURATION(MAIDEN,Defence,80)
SET_CREATURE_CONFIGURATION(KNIGHT,Defence,90)
SET_CREATURE_CONFIGURATION(AVATAR,Defence,120)

SET_CREATURE_CONFIGURATION(THIEF,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(ARCHER,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(WITCH,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(BARBARIAN,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(FAIRY,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(WIZARD,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(TUNNELLER,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(MONK,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(DWARFA,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(GIANT,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(SAMURAI,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(TIME_MAGE,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(DRUID,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(IMP,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(TROLL,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(ORC,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(FLY,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(HELL_HOUND,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(TENTACLE,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(GHOST,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(VAMPIRE,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(MAIDEN,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(KNIGHT,BaseSpeed,0)
SET_CREATURE_CONFIGURATION(AVATAR,BaseSpeed,0)

SET_CREATURE_PROPERTY(THIEF,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(ARCHER,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(WITCH,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(BARBARIAN,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(FAIRY,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(WIZARD,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(TUNNELER,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(MONK,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(DWARFA,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(GIANT,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(SAMURAI,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(TIME_MAGE,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(DRUID,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(IMP,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(DEMONSPAWN,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(TROLL,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(ORC,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(FLY,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(HELL_HOUND,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(TENTACLE,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(GHOST,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(VAMPIRE,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(MAIDEN,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(KNIGHT,IMMUNE_TO_GAS,0)
SET_CREATURE_PROPERTY(AVATAR,IMMUNE_TO_GAS,0)

SET_CREATURE_PROPERTY(KNIGHT,LORD,0)

SET_CREATURE_PROPERTY(TUNNELLER,SPECIAL_DIGGER,0)
SET_CREATURE_PROPERTY(IMP,SPECIAL_DIGGER,0)
SET_CREATURE_PROPERTY(TUNNELLER,DIGGING_CREATURE,0)
SET_CREATURE_PROPERTY(IMP,DIGGING_CREATURE,0)


SET_CREATURE_PROPERTY(FAIRY,FLYING,0)
SET_CREATURE_PROPERTY(GHOST,FLYING,0)
SET_CREATURE_PROPERTY(FLY,FLYING,0)


SET_CREATURE_INSTANCE(THIEF,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(THIEF,2,NULL,1)
SET_CREATURE_INSTANCE(ARCHER,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(ARCHER,2,NULL,1)
SET_CREATURE_INSTANCE(WITCH,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(WITCH,2,NULL,1)
SET_CREATURE_INSTANCE(BARBARIAN,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(BARBARIAN,2,NULL,1)
SET_CREATURE_INSTANCE(FAIRY,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(FAIRY,2,NULL,1)
SET_CREATURE_INSTANCE(WIZARD,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(WIZARD,2,NULL,1)
SET_CREATURE_INSTANCE(TUNNELLER,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(TUNNELLER,2,NULL,1)
SET_CREATURE_INSTANCE(MONK,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(MONK,2,NULL,1)
SET_CREATURE_INSTANCE(DWARFA,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(DWARFA,2,NULL,1)
SET_CREATURE_INSTANCE(GIANT,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(GIANT,2,NULL,1)
SET_CREATURE_INSTANCE(SAMURAI,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(SAMURAI,2,NULL,1)
SET_CREATURE_INSTANCE(TIME_MAGE,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(TIME_MAGE,2,NULL,1)
SET_CREATURE_INSTANCE(DRUID,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(DRUID,2,NULL,1)
SET_CREATURE_INSTANCE(IMP,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(IMP,2,NULL,1)
SET_CREATURE_INSTANCE(DEMONSPAWN,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(DEMONSPAWN,2,NULL,1)
SET_CREATURE_INSTANCE(TROLL,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(TROLL,2,NULL,1)
SET_CREATURE_INSTANCE(ORC,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(ORC,2,NULL,1)
SET_CREATURE_INSTANCE(FLY,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(FLY,2,NULL,1)
SET_CREATURE_INSTANCE(HELL_HOUND,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(HELL_HOUND,2,NULL,1)
SET_CREATURE_INSTANCE(TENTACLE,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(TENTACLE,2,NULL,1)
SET_CREATURE_INSTANCE(GHOST,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(GHOST,2,NULL,1)
SET_CREATURE_INSTANCE(VAMPIRE,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(VAMPIRE,2,NULL,1)
SET_CREATURE_INSTANCE(MAIDEN,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(MAIDEN,2,NULL,1)
SET_CREATURE_INSTANCE(KNIGHT,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(KNIGHT,2,NULL,1)
SET_CREATURE_INSTANCE(AVATAR,1,SWING_WEAPON_SWORD,1)
SET_CREATURE_INSTANCE(AVATAR,2,NULL,1)



SET_CREATURE_CONFIGURATION(THIEF,HurtByLava,1)
SET_CREATURE_CONFIGURATION(ARCHER,HurtByLava,1)
SET_CREATURE_CONFIGURATION(WITCH,HurtByLava,1)
SET_CREATURE_CONFIGURATION(BARBARIAN,HurtByLava,1)
SET_CREATURE_CONFIGURATION(FAIRY,HurtByLava,1)
SET_CREATURE_CONFIGURATION(WIZARD,HurtByLava,1)
SET_CREATURE_CONFIGURATION(TUNNELER,HurtByLava,1)
SET_CREATURE_CONFIGURATION(MONK,HurtByLava,1)
SET_CREATURE_CONFIGURATION(DWARFA,HurtByLava,1)
SET_CREATURE_CONFIGURATION(GIANT,HurtByLava,1)
SET_CREATURE_CONFIGURATION(SAMURAI,HurtByLava,1)
SET_CREATURE_CONFIGURATION(TIME_MAGE,HurtByLava,1)
SET_CREATURE_CONFIGURATION(DRUID,HurtByLava,1)
SET_CREATURE_CONFIGURATION(IMP,HurtByLava,1)
SET_CREATURE_CONFIGURATION(DEMONSPAWN,HurtByLava,1)
SET_CREATURE_CONFIGURATION(TROLL,HurtByLava,1)
SET_CREATURE_CONFIGURATION(ORC,HurtByLava,1)
SET_CREATURE_CONFIGURATION(FLY,HurtByLava,1)
SET_CREATURE_CONFIGURATION(HELL_HOUND,HurtByLava,1)
SET_CREATURE_CONFIGURATION(TENTACLE,HurtByLava,1)
SET_CREATURE_CONFIGURATION(GHOST,HurtByLava,1)
SET_CREATURE_CONFIGURATION(VAMPIRE,HurtByLava,1)
SET_CREATURE_CONFIGURATION(MAIDEN,HurtByLava,1)
SET_CREATURE_CONFIGURATION(KNIGHT,HurtByLava,1)
SET_CREATURE_CONFIGURATION(AVATAR,HurtByLava,1)













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

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

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

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

CREATE_PARTY(DERP5)
ADD_TO_PARTY(DERP5, FAIRY, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP6)
ADD_TO_PARTY(DERP6, WIZARD, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP7)
ADD_TO_PARTY(DERP7, TUNNELLER, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP8)
ADD_TO_PARTY(DERP8, MONK, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP9)
ADD_TO_PARTY(DERP9, DWARFA, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP10)
ADD_TO_PARTY(DERP10, GIANT, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP11)
ADD_TO_PARTY(DERP11, SAMURAI, 1, 0, SNIPE_DUNGEON_HEART, 1)

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

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

CREATE_PARTY(DERP14)
ADD_TO_PARTY(DERP14, IMP, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP15)
ADD_TO_PARTY(DERP15, DEMONSPAWN, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP16)
ADD_TO_PARTY(DERP16, TROLL, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP17)
ADD_TO_PARTY(DERP17, ORC, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP18)
ADD_TO_PARTY(DERP18, FLY, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP19)
ADD_TO_PARTY(DERP19, HELL_HOUND, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP20)
ADD_TO_PARTY(DERP20, TENTACLE, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP21)
ADD_TO_PARTY(DERP21, GHOST, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP22)
ADD_TO_PARTY(DERP22, VAMPIRE, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP23)
ADD_TO_PARTY(DERP23, MAIDEN, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP24)
ADD_TO_PARTY(DERP24, KNIGHT, 1, 0, SNIPE_DUNGEON_HEART, 1)

CREATE_PARTY(DERP25)
ADD_TO_PARTY(DERP25, AVATAR, 1, 0, SNIPE_DUNGEON_HEART, 1)


















































IF(PLAYER0,TIMER0 > 270)
	KILL_CREATURE(PLAYER_GOOD,THIEF,AT_ACTION_POINT[171],1)
    DISPLAY_INFORMATION(1,PLAYER0)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,5)
	SET_CREATURE_CONFIGURATION(THIEF,BaseSpeed,72)
ENDIF
IF(PLAYER0,TIMER0 > 300)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,6)
ENDIF

IF(PLAYER0,TIMER0 > 886)
	KILL_CREATURE(PLAYER_GOOD,ARCHER,AT_ACTION_POINT[172],1)
    DISPLAY_INFORMATION(2,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,10)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,7)
	SET_CREATURE_CONFIGURATION(ARCHER,BaseSpeed,74)
ENDIF
IF(PLAYER0,TIMER0 > 916)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,7)
ENDIF

IF(PLAYER0,TIMER0 > 1538)
	KILL_CREATURE(PLAYER_GOOD,WITCH,AT_ACTION_POINT[173],1)
    DISPLAY_INFORMATION(3,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,15)
	SET_CREATURE_CONFIGURATION(WITCH,BaseSpeed,70)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,4)
ENDIF
IF(PLAYER0,TIMER0 > 1568)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,5)
ENDIF

IF(PLAYER0,TIMER0 > 2136)
	KILL_CREATURE(PLAYER_GOOD,BARBARIAN,AT_ACTION_POINT[174],1)
    DISPLAY_INFORMATION(4,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,20)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,10)
	SET_CREATURE_CONFIGURATION(BARBARIAN,BaseSpeed,62)
ENDIF


IF(PLAYER0,TIMER0 > 2729)
	KILL_CREATURE(PLAYER_GOOD,FAIRY,AT_ACTION_POINT[175],1)
    DISPLAY_INFORMATION(5,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,25)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP5,-1,6)
	SET_CREATURE_CONFIGURATION(FAIRY,BaseSpeed,70)
ENDIF
IF(PLAYER0,TIMER0 > 2759)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP5,-1,4)
ENDIF

IF(PLAYER0,TIMER0 > 3358)
	KILL_CREATURE(PLAYER_GOOD,WIZARD,AT_ACTION_POINT[176],1)
    DISPLAY_INFORMATION(6,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,30)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP6,-1,7)
	SET_CREATURE_CONFIGURATION(WIZARD,BaseSpeed,80)
ENDIF
IF(PLAYER0,TIMER0 > 3388)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP6,-1,5)
ENDIF

IF(PLAYER0,TIMER0 > 3988)
	KILL_CREATURE(PLAYER_GOOD,TUNNELLER,AT_ACTION_POINT[177],1)
    DISPLAY_INFORMATION(7,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,35)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP7,-1,12)
	SET_CREATURE_CONFIGURATION(TUNNELLER,BaseSpeed,66)
ENDIF

IF(PLAYER0,TIMER0 > 4578)
	KILL_CREATURE(PLAYER_GOOD,MONK,AT_ACTION_POINT[178],1)
    DISPLAY_INFORMATION(8,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,40)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP8,-1,5)
	SET_CREATURE_CONFIGURATION(MONK,BaseSpeed,69)
ENDIF
IF(PLAYER0,TIMER0 > 4608)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP8,-1,7)
ENDIF

IF(PLAYER0,TIMER0 > 5163)
	KILL_CREATURE(PLAYER_GOOD,DWARFA,AT_ACTION_POINT[179],1)
    DISPLAY_INFORMATION(9,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,45)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP9,-1,6)
	SET_CREATURE_CONFIGURATION(DWARFA,BaseSpeed,62)
ENDIF
IF(PLAYER0,TIMER0 > 5193)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP9,-1,4)
ENDIF

IF(PLAYER0,TIMER0 > 5742)
	KILL_CREATURE(PLAYER_GOOD,GIANT,AT_ACTION_POINT[180],1)
    DISPLAY_INFORMATION(10,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,50)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP10,-1,3)
	SET_CREATURE_CONFIGURATION(GIANT,BaseSpeed,60)
ENDIF
IF(PLAYER0,TIMER0 > 5772)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP10,-1,5)
ENDIF

IF(PLAYER0,TIMER0 > 6350)
	KILL_CREATURE(PLAYER_GOOD,SAMURAI,AT_ACTION_POINT[181],1)
    DISPLAY_INFORMATION(11,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,50)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP11,-1,7)
	SET_CREATURE_CONFIGURATION(SAMURAI,BaseSpeed,70)
ENDIF
IF(PLAYER0,TIMER0 > 6380)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP11,-1,6)
ENDIF

IF(PLAYER0,TIMER0 > 6966)
	KILL_CREATURE(PLAYER_GOOD,TIME_MAGE,AT_ACTION_POINT[182],1)
    DISPLAY_INFORMATION(12,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,50)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP12,-1,5)
	SET_CREATURE_CONFIGURATION(TIME_MAGE,BaseSpeed,128)
ENDIF
IF(PLAYER0,TIMER0 > 6996)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP12,-1,3)
ENDIF

IF(PLAYER0,TIMER0 > 7550)
	KILL_CREATURE(PLAYER_GOOD,DRUID,AT_ACTION_POINT[183],1)
    DISPLAY_INFORMATION(13,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,50)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP13,-1,4)
	SET_CREATURE_CONFIGURATION(DRUID,BaseSpeed,67)
ENDIF
IF(PLAYER0,TIMER0 > 7580)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP13,-1,6)
ENDIF

IF(PLAYER0,TIMER0 > 8149)
	KILL_CREATURE(PLAYER_GOOD,IMP,AT_ACTION_POINT[184],1)
    DISPLAY_INFORMATION(14,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,60)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP14,-1,20)
	SET_CREATURE_CONFIGURATION(IMP,BaseSpeed,80)
ENDIF
IF(PLAYER0,TIMER0 > 8179)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP14,-1,20)
ENDIF

IF(PLAYER0,TIMER0 > 8733)
	KILL_CREATURE(PLAYER_GOOD,DEMONSPAWN,AT_ACTION_POINT[185],1)
    DISPLAY_INFORMATION(15,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,60)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP15,-1,4)
	SET_CREATURE_CONFIGURATION(DEMONSPAWN,BaseSpeed,72)
ENDIF
IF(PLAYER0,TIMER0 > 8763)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP15,-1,3)
ENDIF

IF(PLAYER0,TIMER0 > 9353)
	KILL_CREATURE(PLAYER_GOOD,TROLL,AT_ACTION_POINT[186],1)
    DISPLAY_INFORMATION(16,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,60)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP16,-1,5)
	SET_CREATURE_CONFIGURATION(TROLL,BaseSpeed,63)
ENDIF
IF(PLAYER0,TIMER0 > 9383)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP16,-1,7)
ENDIF

IF(PLAYER0,TIMER0 > 9956)
	KILL_CREATURE(PLAYER_GOOD,ORC,AT_ACTION_POINT[187],1)
    DISPLAY_INFORMATION(17,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,60)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP17,-1,10)
	SET_CREATURE_CONFIGURATION(ORC,BaseSpeed,65)
ENDIF
IF(PLAYER0,TIMER0 > 10595)
	KILL_CREATURE(PLAYER_GOOD,FLY,AT_ACTION_POINT[188],1)
    DISPLAY_INFORMATION(18,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,70)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP18,-1,64)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP18,-1,64)
	SET_CREATURE_CONFIGURATION(FLY,BaseSpeed,40)
ENDIF
IF(PLAYER0,TIMER0 > 11285)
	KILL_CREATURE(PLAYER_GOOD,HELL_HOUND,AT_ACTION_POINT[189],1)
    DISPLAY_INFORMATION(19,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,70)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP19,-1,8)
	SET_CREATURE_CONFIGURATION(HELL_HOUND,BaseSpeed,100)
ENDIF
IF(PLAYER0,TIMER0 > 11925)
	KILL_CREATURE(PLAYER_GOOD,TENTACLE,AT_ACTION_POINT[190],1)
    DISPLAY_INFORMATION(20,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,80)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP20,-1,8)
	SET_CREATURE_CONFIGURATION(TENTACLE,BaseSpeed,58)
ENDIF

IF(PLAYER0,TIMER0 > 12588)
	KILL_CREATURE(PLAYER_GOOD,GHOST,AT_ACTION_POINT[191],1)
    DISPLAY_INFORMATION(21,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,80)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP21,-1,6)
	SET_CREATURE_CONFIGURATION(GHOST,BaseSpeed,68)
ENDIF

IF(PLAYER0,TIMER0 > 13295)
	KILL_CREATURE(PLAYER_GOOD,VAMPIRE,AT_ACTION_POINT[192],1)
    DISPLAY_INFORMATION(22,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,90)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP22,-1,8)
	SET_CREATURE_CONFIGURATION(VAMPIRE,BaseSpeed,65)
ENDIF

IF(PLAYER0,TIMER0 > 13940)
	KILL_CREATURE(PLAYER_GOOD,MAIDEN,AT_ACTION_POINT[193],1)
    DISPLAY_INFORMATION(23,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,90)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP23,-1,5)
	SET_CREATURE_CONFIGURATION(MAIDEN,BaseSpeed,70)
ENDIF

IF(PLAYER0,TIMER0 > 14579)
	KILL_CREATURE(PLAYER_GOOD,KNIGHT,AT_ACTION_POINT[194],1)
    DISPLAY_INFORMATION(24,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,100)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP24,-1,4)
	SET_CREATURE_CONFIGURATION(KNIGHT,BaseSpeed,62)
	
	
	
ENDIF

IF(PLAYER0,TIMER0 > 15700)
    DISPLAY_INFORMATION(25,PLAYER0)
    ADD_GOLD_TO_PLAYER(PLAYER0,150)
    ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP25,-1,3)
	SET_CREATURE_CONFIGURATION(AVATAR,BaseSpeed,65)
ENDIF

IF(PLAYER0,TIMER0 > 15705)
	KILL_CREATURE(PLAYER_GOOD,AVATAR,AT_ACTION_POINT[66],1)
ENDIF




