public void SetSummon(Saves.GFData gfdata) { SummonedGF = gfdata; if (SummonedGF != null) { SetBattleMode(BattleMode.GF_Charging); SummonedGF.EndTurn(true); } }
/// <summary> /// Summon GF /// </summary> /// <param name="gf"></param> public void SetSummon(GFs gf) { Saves.GFData gfdata = null; if (Memory.State?.GFs?.TryGetValue(gf, out gfdata) ?? false) { // found a gf. } SetSummon(gfdata); }
public bool GetGFData(out Saves.GFData gf) => GetCast(out gf);