What doyou do in altering cave on emerald?

If you attended a Nintendo of America event, multiple pokemon appear in Altering cave as well as the means to change Deoxy's form.