public override bool Inputs_CANCEL() { base.Inputs_CANCEL(); Junction.Data[SectionName.ConfirmChanges].Hide(); Junction.SetMode(Mode.TopMenu); return(true); }
public override bool Inputs_OKAY() { skipsnd = true; AV.Sound.Play(31); Junction.Data[SectionName.ConfirmChanges].Hide(); Junction.SetMode(Mode.TopMenu); base.Inputs_OKAY(); switch (CURSOR_SELECT) { case 0: break; case 1: Memory.State = Memory.PrevState.Clone(); break; } if (Menu.Module.State == MenuModule.Mode.IGM_Junction) { Menu.Module.State = MenuModule.Mode.IGM; IGM.Refresh(); FadeIn(); return(true); } return(false); }
public override bool Inputs_OKAY() { switch (CURSOR_SELECT) { case 0: skipsnd = true; AV.Sound.Play(31); base.Inputs_OKAY(); if (Damageable.GetCharacterData(out var c)) { c.RemoveAll(); } Junction.Data[SectionName.RemAll].Hide(); Junction.Data[SectionName.TopMenu_Off].Hide(); Junction.SetMode(Mode.TopMenu); ((IGMData.Base)Junction.Data[SectionName.TopMenu]).CURSOR_SELECT = 0; Junction.Refresh(); break; case 1: Inputs_CANCEL(); break; default: return(false); } return(true); }
public override bool Inputs_CANCEL() { base.Inputs_CANCEL(); Junction.SetMode(Mode.TopMenu_Junction); Junction.Data[SectionName.Mag_Group].Hide(); return(true); }
public override bool Inputs_CANCEL() { base.Inputs_CANCEL(); Junction.SetMode(Mode.TopMenu); Hide(); return(true); }
public void CheckMode(int pos, Mode one, Mode two, bool slots, bool pools, bool cursor = true) { if (Junction != null && slots && Enabled) { Cursor_Status &= ~Cursor_Status.Horizontal; Cursor_Status |= Cursor_Status.Vertical; Cursor_Status &= ~Cursor_Status.Blinking; if (CURSOR_SELECT > pos) { Junction.SetMode(two); } else { Junction.SetMode(one); } } else if (Junction != null && pools && Enabled) { Cursor_Status |= Cursor_Status.Blinking; } if (cursor) { Cursor_Status |= Cursor_Status.Enabled; } else { Cursor_Status &= ~Cursor_Status.Enabled; } }
public override bool Inputs_CANCEL() { base.Inputs_CANCEL(); Junction.Data[SectionName.RemMag].Hide(); Junction.SetMode(Mode.TopMenu_Off); return(true); }
public override bool Inputs_CANCEL() { skipdata = true; base.Inputs_CANCEL(); skipdata = false; Junction.Data[SectionName.TopMenu_Abilities].Hide(); Junction.SetMode(Mode.TopMenu); return(true); }
public override bool Inputs_CANCEL() { if (Memory.PrevState != null && Damageable.GetCharacterData(out var c) && ( Memory.PrevState[c.ID].CurrentHP() > c.CurrentHP() || Memory.PrevState[c.ID].MaxHP() > c.MaxHP())) { Junction.Data[SectionName.ConfirmChanges].Show(); Junction.SetMode(Mode.ConfirmChanges); }
public override bool Inputs_OKAY() { if (!BLANKS[CURSOR_SELECT]) { base.Inputs_OKAY(); BackupSetting(); Junction.SetMode(Mode.Mag_Pool_Stat); return(true); } return(false); }
public override bool Inputs_OKAY() { if (Contents[CURSOR_SELECT] != Kernel.Abilities.None && !BLANKS[CURSOR_SELECT] && Damageable.GetCharacterData(out var c)) { skipsnd = true; AV.Sound.Play(31); base.Inputs_OKAY(); var target = ((IGMData.Base)Junction.Data[SectionName.TopMenu_Abilities]).CURSOR_SELECT - 4; c.Abilities[target] = Contents[CURSOR_SELECT]; Junction.SetMode(Mode.Abilities); Junction.Refresh(); // can be more specific if you want to find what is being changed. return(true); } return(false); }
public override bool Inputs_OKAY() { base.Inputs_OKAY(); if (CURSOR_SELECT == 0) { Junction.SetMode(Mode.TopMenu_GF_Group); Junction.Data[SectionName.TopMenu_GF_Group].Show(); } else { Junction.SetMode(Mode.Mag_Stat); Junction.Data[SectionName.Mag_Group].Show(); } return(true); }
public override bool Inputs_OKAY() { if (Contents[CURSOR_SELECT] != Kernel.Abilities.None && !BLANKS[CURSOR_SELECT] && Damageable.GetCharacterData(out var c)) { skipsnd = true; AV.Sound.Play(31); base.Inputs_OKAY(); var target = ((IGMData.Base)Junction.Data[SectionName.TopMenu_Abilities]).CURSOR_SELECT - 1; c.Commands[target] = Contents[CURSOR_SELECT]; Junction.SetMode(Mode.Abilities); Junction.Data[SectionName.TopMenu_Abilities].Refresh(); Junction.Data[SectionName.Commands].Refresh(); return(true); } return(false); }
public override bool Inputs_OKAY() { base.Inputs_OKAY(); if (Commands != null) { if (CURSOR_SELECT >= Commands.Count) { Junction.SetMode(Mode.Abilities_Abilities); } else { Junction.SetMode(Mode.Abilities_Commands); } return(true); } return(false); }
public override bool Inputs_OKAY() { base.Inputs_OKAY(); switch (CURSOR_SELECT) { case 0: Junction.Data[SectionName.RemMag].Show(); Junction.SetMode(Mode.RemMag); break; case 1: Junction.Data[SectionName.RemAll].Show(); Junction.SetMode(Mode.RemAll); break; default: return(false); } return(true); }
protected override void PageLeft() => Junction.SetMode(Mode.Mag_EL_A);
protected override void PageRight() => Junction.SetMode(Mode.Mag_ST_A);
public override bool Inputs_CANCEL() { base.Inputs_CANCEL(); Junction.SetMode(Mode.Abilities); return(true); }