Example #1
0
        // Skills: Dash
        private void Dash(Game_Unit unit)
        {
            Global.game_system.play_se(System_Sounds.Confirm);
            var unitMenu = (Menus.Peek() as UnitCommandMenu);

            Global.game_temp.menuing      = false;
            Global.game_system.Menu_Canto = unitMenu.Canto | Canto_Records.Dash;
            CloseCommandMenu(true);

            unit.activate_dash();
        }