added using cave buffer offsets in EM level conversion and game logic