Ejemplo n.º 1
0
        public void Activated(int pinID)
        {
            if (pinID != 11)
            {
                return;
            }
            bool is_disp = !GameUtility.Config_ChargeDisp.Value;

            this.UpdateChargeDispText(is_disp);
            GameUtility.Config_ChargeDisp.Value = is_disp;
            SceneBattle instance = SceneBattle.Instance;

            if (!Object.op_Implicit((Object)instance))
            {
                return;
            }
            instance.ReflectCastSkill(is_disp);
        }
Ejemplo n.º 2
0
        public void Activated(int pinID)
        {
            switch (pinID)
            {
            case 10:
                this.UpdatePlayerInfo();
                break;

            case 11:
                bool is_disp = !GameUtility.Config_ChargeDisp.Value;
                this.UpdateChargeDispText(is_disp);
                GameUtility.Config_ChargeDisp.Value = is_disp;
                SceneBattle instance = SceneBattle.Instance;
                if (!Object.op_Implicit((Object)instance))
                {
                    break;
                }
                instance.ReflectCastSkill(is_disp);
                break;
            }
        }