EMI: Read depth write and alpha test flags from sprite files.
EMI: Obey dim level also when drawing sprites.