Type mismatch in 0:67 - make sure L2 is an array. Subscript our of range in 0:68 - BGARRAY needs to be an array containing the BG data. - Check your XSCREEN commands. Make sure you have an available BG layer. XSCREEN allocates BG layers to the upper and lower screens.