Beispiel #1
0
            public override bool Inputs_OKAY()
            {
                base.Inputs_OKAY();
                switch ((Items)CURSOR_SELECT)
                {
                case Items.Junction:
                case Items.Magic:
                case Items.Status:
                    IGM.SetMode(Mode.ChooseChar);
                    return(true);

                case Items.Item:
                    Module_main_menu_debug.State = Module_main_menu_debug.MainMenuStates.IGM_Items;
                    IGM_Items.Refresh();
                    return(true);

                case Items.Battle:
                    BattleMenus.CameFrom();
                    //Module_main_menu_debug.State = Module_main_menu_debug.MainMenuStates.BattleMenu;
                    Memory.module = MODULE.BATTLE_DEBUG;
                    BattleMenus.Refresh();
                    FadeIn();
                    return(true);
                }
                return(false);
            }
Beispiel #2
0
            public override bool Inputs_OKAY()
            {
                base.Inputs_OKAY();
                // ReSharper disable once SwitchStatementHandlesSomeKnownEnumValuesWithDefault
                switch ((Items)CURSOR_SELECT)
                {
                case Items.Junction:
                case Items.Magic:
                case Items.Status:
                    IGM.SetMode(Mode.ChooseChar);
                    return(true);

                case Items.Item:
                    Menu.Module.State = MenuModule.Mode.IGM_Items;
                    IGMItems.Refresh();
                    return(true);

                case Items.Battle:
                    BattleMenus.CameFrom();
                    //Menu.Module.State = MenuModule.MainMenuStates.BattleMenu;
                    ModuleBattleDebug.ResetState();
                    Memory.Module = OpenVIII.Module.BattleDebug;
                    BattleMenus.Refresh();
                    FadeIn();
                    return(true);

                case Items.GF:
                    break;

                case Items.Ability:
                    break;

                case Items.Switch:
                    break;

                case Items.Card:
                    break;

                case Items.Config:
                    break;

                case Items.Tutorial:
                    break;

                case Items.Save:
                    break;

                default:
                    throw new ArgumentOutOfRangeException();
                }
                return(false);
            }