Fixed value of MAX_ENCOUNTER in dead mines script
instance save code more dynamic (saves all encounters using a for loop)