Modified oak script to fit the Kanto starters part, and the Mega Bracelet part.
This commit is contained in:
parent
b521719f60
commit
e1ef269623
|
@ -1664,6 +1664,12 @@
|
||||||
<None Include="Scripts\olivine\voltorb_trade.dat">
|
<None Include="Scripts\olivine\voltorb_trade.dat">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="Scripts\pallet\bulbasaur.dat">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
|
<None Include="Scripts\pallet\charmander.dat">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Include="Scripts\pallet\daisy.dat">
|
<None Include="Scripts\pallet\daisy.dat">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
@ -1679,6 +1685,9 @@
|
||||||
<None Include="Scripts\pallet\oak.dat">
|
<None Include="Scripts\pallet\oak.dat">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
<None Include="Scripts\pallet\squirtle.dat">
|
||||||
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
|
</None>
|
||||||
<None Include="Scripts\pewter\fossilscientist.dat">
|
<None Include="Scripts\pewter\fossilscientist.dat">
|
||||||
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -23,7 +23,7 @@
|
||||||
Core.Player.Pokemons.RemoveAt(index)
|
Core.Player.Pokemons.RemoveAt(index)
|
||||||
End If
|
End If
|
||||||
Case "add"
|
Case "add"
|
||||||
' PokemonID,Level,Method,Ball,Location,IsEgg,TrainerName
|
' PokemonID,Level,Method,Ball,Location,IsEgg,TrainerName,HeldItem
|
||||||
|
|
||||||
If argument.StartsWith("{") = True Or argument.Remove(0, 1).StartsWith(",{") = True Then
|
If argument.StartsWith("{") = True Or argument.Remove(0, 1).StartsWith(",{") = True Then
|
||||||
Dim insertIndex As Integer = Core.Player.Pokemons.Count
|
Dim insertIndex As Integer = Core.Player.Pokemons.Count
|
||||||
|
@ -80,6 +80,11 @@
|
||||||
catchTrainer = argument.GetSplit(6)
|
catchTrainer = argument.GetSplit(6)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Dim heldItem As Integer = 0
|
||||||
|
If commas > 6 Then
|
||||||
|
heldItem = CInt(argument.GetSplit(7))
|
||||||
|
End If
|
||||||
|
|
||||||
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(PokemonID)
|
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(PokemonID)
|
||||||
Pokemon.Generate(Level, True)
|
Pokemon.Generate(Level, True)
|
||||||
|
|
||||||
|
@ -97,6 +102,10 @@
|
||||||
Pokemon.EggSteps = 0
|
Pokemon.EggSteps = 0
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If heldItem <> 0 Then
|
||||||
|
Pokemon.Item = Item.GetItemByID(heldItem)
|
||||||
|
End If
|
||||||
|
|
||||||
Core.Player.Pokemons.Add(Pokemon)
|
Core.Player.Pokemons.Add(Pokemon)
|
||||||
|
|
||||||
Dim pokedexType As Integer = 2
|
Dim pokedexType As Integer = 2
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue