private void GivePokemonCommand() { PBESpecies species = _reader.ReadEnum <PBESpecies>(); byte level = _reader.ReadByte(); var pkmn = PartyPokemon.GetTestPokemon(species, 0, level); Game.Instance.Save.GivePokemon(pkmn); }
private void GivePokemonFormItemCommand() { PBESpecies species = _reader.ReadEnum <PBESpecies>(); PBEForm form = _reader.ReadEnum <PBEForm>(); byte level = _reader.ReadByte(); PBEItem item = _reader.ReadEnum <PBEItem>(); var pkmn = PartyPokemon.GetTestPokemon(species, form, level); pkmn.Item = item; Game.Instance.Save.GivePokemon(pkmn); }
public Save() { Flags = new Flags(); PlayerName = "Dawn"; PlayerIsFemale = true; PlayerParty = new Party() { PartyPokemon.GetTestPokemon(PBESpecies.Skitty, 0, PBESettings.DefaultMaxLevel) }; PlayerInventory = new PlayerInventory(); }