if (d == 0) scr_depth(); if (global.flag[20] < 7) sprite_index = m[global.flag[20]];