if (global.debug == 1) { m_override += 1; if (m_override >= 5) global.flag[26] = 50; }