Moved the dungeon entrance code out to CoE