LEVEL_VERSION(1)
SET_GENERATE_SPEED(600)
START_MONEY(ALL_PLAYERS,8000)
MAX_CREATURES(ALL_PLAYERS,32)

ADD_CREATURE_TO_POOL(TROLL,32)
ADD_CREATURE_TO_POOL(DRAGON,0)

CREATURE_AVAILABLE(ALL_PLAYERS,BUG,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,DEMONSPAWN,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,TROLL,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,SPIDER,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,HELL_HOUND,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,TENTACLE,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,SORCEROR,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,ORC,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,BILE_DEMON,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,DRAGON,1,0)
CREATURE_AVAILABLE(ALL_PLAYERS,DARK_MISTRESS,1,0)

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,TRAINING,1,1)
ROOM_AVAILABLE(ALL_PLAYERS,BRIDGE,1,1)
ROOM_AVAILABLE(ALL_PLAYERS,WORKSHOP,1,1)

MAGIC_AVAILABLE(ALL_PLAYERS,POWER_HAND,1,1)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_SLAP,1,1)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_POSSESS,1,1)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_IMP,1,1)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_SPEED,1,1)
MAGIC_AVAILABLE(ALL_PLAYERS,POWER_HEAL_CREATURE,1,1)

TRAP_AVAILABLE(ALL_PLAYERS,POISON_GAS,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,LIGHTNING,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,WORD_OF_POWER,1,0)

TRAP_AVAILABLE(ALL_PLAYERS,CANNON,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,TURRET,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,FLAILTRAP,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,FLAMETRAP,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,CAVE_IN_TRAP,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,LIGHTNINGTRAP,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,BEARTRAP,1,0)
TRAP_AVAILABLE(ALL_PLAYERS,GRAPPLEHOOKTRAP,1,0)

DOOR_AVAILABLE(ALL_PLAYERS,STEEL,1,0)
DOOR_AVAILABLE(ALL_PLAYERS,MAGIC,1,0)




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




SET_CREATURE_PROPERTY(FLY,IMMUNE_TO_GAS,1)

SET_CREATURE_CONFIGURATION(TROLL,Pay,700)
SET_CREATURE_CONFIGURATION(TROLL,Health,80)
SET_CREATURE_CONFIGURATION(TROLL,Strength,1)
SET_CREATURE_CONFIGURATION(TROLL,Dexterity,1)

SET_CREATURE_CONFIGURATION(FLY,Health,100)

SET_CREATURE_INSTANCE(FLY,1,FART,1) 
SET_CREATURE_INSTANCE(FLY,2,NULL,1) 
SET_CREATURE_INSTANCE(FLY,3,NULL,1) 
SET_CREATURE_INSTANCE(FLY,4,NULL,1) 
SET_CREATURE_INSTANCE(FLY,5,NULL,1) 
SET_CREATURE_INSTANCE(FLY,6,NULL,1) 








CREATE_PARTY(DERP1)
ADD_TO_PARTY(DERP1, BARBARIAN, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP1, BARBARIAN, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP1, BARBARIAN, 2, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP2)
ADD_TO_PARTY(DERP2, FLY, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP2, FLY, 4, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP3)
ADD_TO_PARTY(DERP3, GIANT, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP3, GIANT, 2, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP4)
ADD_TO_PARTY(DERP4, MONK, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP4, MONK, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP4, MONK, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP4, MONK, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP4, MONK, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP4, MONK, 2, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP5)
ADD_TO_PARTY(DERP5, BARBARIAN, 5, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 6, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP5, BARBARIAN, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, ARCHER, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, ARCHER, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, ARCHER, 2, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP6)
ADD_TO_PARTY(DERP6, ARCHER, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP6, THIEF, 1, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP7)
ADD_TO_PARTY(DERP7, FAIRY, 5, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, WITCH, 5, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, WITCH, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, FAIRY, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, FAIRY, 4, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, FAIRY, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP7, FAIRY, 6, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP8)
ADD_TO_PARTY(DERP8, HORNY, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP8, HORNY, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP8, HORNY, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP8, HORNY, 3, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP9)
ADD_TO_PARTY(DERP9, DRAGON, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP9, DRAGON, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP9, DRAGON, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP9, DRAGON, 7, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP10)
ADD_TO_PARTY(DERP10, HORNY, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP10, HORNY, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP10, HORNY, 6, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP10, HORNY, 9, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP10, HORNY, 9, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP10, HORNY, 7, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP11)
ADD_TO_PARTY(DERP11, SKELETON, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 6, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 5, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 5, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP11, SKELETON, 2, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP12)
ADD_TO_PARTY(DERP12, WIZARD, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP12, WIZARD, 7, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP13)
ADD_TO_PARTY(DERP13, HELL_HOUND, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP13, HELL_HOUND, 1, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP14)
ADD_TO_PARTY(DERP14, TENTACLE, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 9, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 9, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 8, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 7, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 3, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 2, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP14, TENTACLE, 3, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP15)
ADD_TO_PARTY(DERP15, SAMURAI, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP15, SAMURAI, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP15, SAMURAI, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP15, SAMURAI, 10, 0, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP15, SAMURAI, 10, 0, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP16)
ADD_TO_PARTY(DERP16, WIZARD, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, WIZARD, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, WIZARD, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, BARBARIAN, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, BARBARIAN, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, BARBARIAN, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, GIANT, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, GIANT, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, GIANT, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, SAMURAI, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, SAMURAI, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, SAMURAI, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, KNIGHT, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, KNIGHT, 10, 50, ATTACK_DUNGEON_HEART, 0)
ADD_TO_PARTY(DERP16, KNIGHT, 10, 50, ATTACK_DUNGEON_HEART, 0)

CREATE_PARTY(DERP17)
ADD_TO_PARTY(DERP17, FLY, 10, 50, ATTACK_DUNGEON_HEART, 0)

SET_TIMER(PLAYER0,TIMER0)
IF(PLAYER0,TIMER0 > 12000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP1,-1,1)
	ADD_TUNNELLER_TO_LEVEL(PLAYER_GOOD,-1,APPROPIATE_DUNGEON,0,1,0)
	DISPLAY_INFORMATION(0,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 16800)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP2,-1,1)
	DISPLAY_INFORMATION(1,PLAYER0)
	PLAY_MESSAGE(PLAYER0,SOUND,97)
ENDIF
IF(PLAYER0,TIMER0 > 21600)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP3,-1,1)
	DISPLAY_INFORMATION(2,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 26400)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP4,-1,1)
	DISPLAY_INFORMATION(3,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 31200)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP5,-1,1)
	DISPLAY_INFORMATION(4,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 36000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP6,-2,1)
	ADD_TUNNELLER_TO_LEVEL(PLAYER_GOOD,-2,APPROPIATE_DUNGEON,0,6,0)
	DISPLAY_INFORMATION(5,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 40800)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP7,-2,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP17,-1,1)
	PLAY_MESSAGE(PLAYER0,SOUND,97)
	DISPLAY_INFORMATION(6,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 45600)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP8,-2,1)
	DISPLAY_INFORMATION(7,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 50400)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP9,-2,1)
	DISPLAY_INFORMATION(8,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 55200)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP10,-2,1)
	DISPLAY_INFORMATION(9,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 60000)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP11,-1,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP11,-2,1)
	DISPLAY_INFORMATION(10,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 64800)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP12,-2,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP17,-1,1)
	PLAY_MESSAGE(PLAYER0,SOUND,97)
	DISPLAY_INFORMATION(11,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 69600)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP13,-1,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP13,-2,1)
	DISPLAY_INFORMATION(12,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 74400)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP14,-1,1)
	DISPLAY_INFORMATION(13,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 79200)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP15,-1,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP15,-2,1)
	DISPLAY_INFORMATION(14,PLAYER0)
ENDIF
IF(PLAYER0,TIMER0 > 90000)
	ADD_TUNNELLER_TO_LEVEL(PLAYER_GOOD,-3,APPROPIATE_DUNGEON,0,10,0)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP16,-3,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP16,-2,1)
	ADD_PARTY_TO_LEVEL(PLAYER_GOOD,DERP16,-1,1)
	DISPLAY_INFORMATION(15,PLAYER0)
ENDIF
