//Private internal TeamItemsClass(Data data, uint offset, uint key, Version v) : base(data, offset) { this.data = data; this.offset = offset; this.PartyPokemons = new PokemonPartyClass[6]; for (uint i = 0; i < 6; i++) { PartyPokemons[i] = new PokemonPartyClass(data, this.offset + (uint)(v == Version.FL ? 0x38 : 0x238) + (i * 100)); } this.SecurityKey = key; this.v = v; InitializeItems(); }
internal PokemonDataClass(Data data, PokemonPartyClass pkm, uint offset) { this.data = data; this.offset = offset; this.pkm = pkm; }