public void ChangeTurn(eBATTLE_ALLY eCurrentTurnAlly) { for (int i = 0; i < 4; i++) { if (eCurrentTurnAlly == eBATTLE_ALLY.eBATTLE_ALLY_0) { float num = BATTLE_CONSTANT_Manager.GetInstance().GetValue(eBATTLE_CONSTANT.eBATTLE_CONSTANT_BATTLE_TURN_CONTROL_DELAY); this.m_fTime[i] = Time.realtimeSinceStartup + (float)i * num; this.m_nRemainTime[i] = -1; NrCharUser nrCharUser = NrTSingleton <NkCharManager> .Instance.GetChar(1) as NrCharUser; if (this.m_stCharinfo[i].nCharUnique == nrCharUser.GetCharUnique()) { Battle.BATTLE.EnableOrderTime = this.m_fTime[i]; Battle.BATTLE.BabelAdvantageCharUnique = 0; this.m_nAdvantageIndex = -1; this.m_nMyIndex = i; base.SetShowLayer(1, true); string empty = string.Empty; NrTSingleton <CTextParser> .Instance.ReplaceParam(ref empty, new object[] { NrTSingleton <NrTextMgr> .Instance.GetTextFromInterface("924"), "charname", TKString.NEWString(this.m_stCharinfo[0].szCharName) }); this.m_lbTurnInfo.SetText(empty); } } else { this.m_lbTurnTime.SetText("-"); Battle.BATTLE.BabelAdvantageCharUnique = 0; base.SetShowLayer(1, false); } } }