public FormStats(Pokedex pokedex, int form_id, Generations min_generation, int type1, int type2, IntStatValues base_stats, ByteStatValues reward_evs) : base(pokedex) { m_form_pair = Form.CreatePair(m_pokedex); m_type1_pair = Type.CreatePair(m_pokedex); m_type2_pair = Type.CreatePair(m_pokedex); m_lazy_pairs.Add(m_form_pair); m_lazy_pairs.Add(m_type1_pair); m_lazy_pairs.Add(m_type2_pair); m_form_pair.Key = form_id; MinGeneration = min_generation; m_type1_pair.Key = type1; m_type2_pair.Key = type2; BaseStats = base_stats; RewardEvs = reward_evs; }
public Move(Pokedex pokedex, int id, int type_id, LocalizedString name, DamageClass damage_class, int damage, int pp, int accuracy, int priority, BattleTargets target) : base(pokedex) { m_type_pair = Type.CreatePair(m_pokedex); m_lazy_pairs.Add(m_type_pair); ID = id; m_type_pair.Key = type_id; Name = name; DamageClass = damage_class; Damage = damage; PP = pp; Accuracy = accuracy; Priority = priority; Target = target; // todo: Nice description text }