add operation of m_mode in Enemy