예제 #1
0
        private void GivePokemonCommand()
        {
            PBESpecies species = _reader.ReadEnum <PBESpecies>();
            byte       level   = _reader.ReadByte();
            var        pkmn    = PartyPokemon.GetTestPokemon(species, 0, level);

            Game.Instance.Save.GivePokemon(pkmn);
        }
예제 #2
0
        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);
        }
예제 #3
0
 public Save()
 {
     Flags          = new Flags();
     PlayerName     = "Dawn";
     PlayerIsFemale = true;
     PlayerParty    = new Party()
     {
         PartyPokemon.GetTestPokemon(PBESpecies.Skitty, 0, PBESettings.DefaultMaxLevel)
     };
     PlayerInventory = new PlayerInventory();
 }