A lot of progress on the softcode forms

This commit is contained in:
JappaWakka 2023-07-06 20:14:44 +02:00
parent d88974c617
commit a90ef6e6d8
62 changed files with 918 additions and 6946 deletions

View File

@ -200,6 +200,14 @@
Core.Player.Pokemons.Add(p1)
End If
For i = 0 To Core.Player.Pokemons.Count - 1
Dim FormData As String = PokemonForms.GetFormDataInParty(Core.Player.Pokemons(i))
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(Core.Player.Pokemons(i)) = "" Then
Core.Player.Pokemons(i).LoadDefinitions(Core.Player.Pokemons(i).Number, FormData)
Core.Player.Pokemons(i).ClearTextures()
End If
Next
Dim meIndex As Integer = 0
For i = 0 To Core.Player.Pokemons.Count - 1
If Core.Player.Pokemons(i).IsEgg() = False And Core.Player.Pokemons(i).HP > 0 And Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted Then
@ -328,6 +336,14 @@
Core.Player.Pokemons.Add(p1)
End If
For i = 0 To Core.Player.Pokemons.Count - 1
Dim FormData As String = PokemonForms.GetFormDataInParty(Core.Player.Pokemons(i))
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(Core.Player.Pokemons(i)) = "" Then
Core.Player.Pokemons(i).LoadDefinitions(Core.Player.Pokemons(i).Number, FormData)
Core.Player.Pokemons(i).ClearTextures()
End If
Next
Dim meIndex As Integer = 0
For i = 0 To Core.Player.Pokemons.Count - 1
If Core.Player.Pokemons(i).IsEgg() = False And Core.Player.Pokemons(i).HP > 0 And Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted Then
@ -573,6 +589,14 @@
Core.Player.Pokemons.Add(p1)
End If
For i = 0 To Core.Player.Pokemons.Count - 1
Dim FormData As String = PokemonForms.GetFormDataInParty(Core.Player.Pokemons(i))
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(Core.Player.Pokemons(i)) = "" Then
Core.Player.Pokemons(i).LoadDefinitions(Core.Player.Pokemons(i).Number, FormData)
Core.Player.Pokemons(i).ClearTextures()
End If
Next
Dim meIndex As Integer = 0
For i = 0 To Core.Player.Pokemons.Count - 1
If Core.Player.Pokemons(i).IsEgg() = False And Core.Player.Pokemons(i).HP > 0 And Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted Then
@ -686,6 +710,14 @@
Core.Player.Pokemons.Add(p1)
End If
For i = 0 To Core.Player.Pokemons.Count - 1
Dim FormData As String = PokemonForms.GetFormDataInParty(Core.Player.Pokemons(i))
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(Core.Player.Pokemons(i)) = "" Then
Core.Player.Pokemons(i).LoadDefinitions(Core.Player.Pokemons(i).Number, FormData)
Core.Player.Pokemons(i).ClearTextures()
End If
Next
Dim meIndex As Integer = 0
For i = 0 To Core.Player.Pokemons.Count - 1
If Core.Player.Pokemons(i).IsEgg() = False And Core.Player.Pokemons(i).HP > 0 And Core.Player.Pokemons(i).Status <> Pokemon.StatusProblems.Fainted Then

View File

@ -1,240 +1,240 @@
# {DexNumber|InPartyFormTriggers|FormNamePrefix|FormNameSuffix|DataFileSuffix|MenuIconFile,X_Coordinate,Y_Coordinate|FrontBackSpriteFileSuffix|OverworldSpriteFileSuffix|CryFileSuffix|WildFormTriggers|TypeChange}
# {DexNumber|AdditionalValue|InPartyFormTriggers|FormNamePrefix|FormNameSuffix|DataFileSuffix|MenuIconFile,X_Coordinate,Y_Coordinate|FrontBackSpriteFileSuffix|OverworldSpriteFileSuffix|CryFileSuffix|WildFormTriggers|TypeChange}
# "InPartyFormTriggers" can take one or an array of the following value types (separated by commas): Gender;GenderID / Season;SeasonID / Environment;EnvironmentType1;EnvironmentType2 (etc.) / Item;ItemID
# "WildFormTriggers" can take one or an array of the following value types (separated by commas): Random;String1;String2 (etc.) / Random;MinValue-MaxValue / Gender;GenderID / Season;SeasonID / Environment;EnvironmentType1;EnvironmentType2 (etc.)
# "InPartyFormTriggers" can also take the AdditionalValue that would trigger this form if found on a Pokémon
{3|mega|Mega ||_mega|Megas,0,0|_mega|_mega|||}
{6|mega_x|Mega | X|_mega_x|Megas,1,0|_mega_x|_mega_x|||}
{6|mega_y|Mega | Y|_mega_y|Megas,2,0|_mega_y|_mega_y|||}
{9|mega|Mega ||_mega|Megas,3,0|_mega|_mega|||}
{15|mega|Mega ||_mega|Megas,12,1|_mega|_mega|||}
{18|mega|Mega ||_mega|Megas,13,1|_mega|_mega|||}
{19|alola|Alolan ||_alola|Regional,0,0|_alola|_alola|||}
{20|alola|Alolan ||_alola|Regional,1,0|_alola|_alola|||}
{26|alola|Alolan ||_alola|Regional,2,0|_alola|_alola|||}
{27|alola|Alolan ||_alola|Regional,3,0|_alola|_alola|||}
{28|alola|Alolan ||_alola|Regional,4,0|_alola|_alola|||}
{37|alola|Alolan ||_alola|Regional,5,0|_alola|_alola|||}
{38|alola|Alolan ||_alola|Regional,6,0|_alola|_alola|||}
{50|alola|Alolan ||_alola|Regional,7,0|_alola|_alola|||}
{51|alola|Alolan ||_alola|Regional,8,0|_alola|_alola|||}
{52|alola|Alolan ||_alola|Regional,9,0|_alola|_alola|||}
{52|galar|Galarian ||_galar|Regional,0,2|_galar|_galar|||}
{53|alola|Alolan ||_alola|Regional,10,0|_alola|_alola|||}
{58|hisui|Hisuian ||_hisui|Regional,0,4|_hisui|_hisui|||}
{59|hisui|Hisuian ||_hisui|Regional,1,4|_hisui|_hisui|||}
{65|mega|Mega ||_mega|Megas,4,0|_mega|_mega|||}
{74|alola|Alolan ||_alola|Regional,11,0|_alola|_alola|||}
{75|alola|Alolan ||_alola|Regional,12,0|_alola|_alola|||}
{76|alola|Alolan ||_alola|Regional,13,0|_alola|_alola|||}
{77|galar|Galarian ||_galar|Regional,1,2|_galar|_galar|||}
{78|galar|Galarian ||_galar|Regional,2,2|_galar|_galar|||}
{79|galar|Galarian ||_galar|Regional,3,2|_galar|_galar|||}
{80|mega|Mega ||_mega|Megas,14,1|_mega|_mega|||}
{80|galar|Galarian ||_galar|Regional,4,2|_galar|_galar|||}
{83|galar|Galarian ||_galar|Regional,5,2|_galar|_galar|||}
{88|alola|Alolan ||_alola|Regional,14,0|_alola|_alola|||}
{89|alola|Alolan ||_alola|Regional,15,0|_alola|_alola|||}
{94|mega|Mega ||_mega|Megas,5,0|_mega|_mega|||}
{100|hisui|Hisuian ||_hisui|Regional,2,4|_hisui|_hisui|||}
{101|hisui|Hisuian ||_hisui|Regional,3,4|_hisui|_hisui|||}
{103|alola|Alolan ||_alola|Regional,0,1|_alola|_alola|||}
{105|alola|Alolan ||_alola|Regional,1,1|_alola|_alola|||}
{110|galar|Galarian ||_galar|Regional,6,2|_galar|_galar|||}
{115|mega|Mega ||_mega|Megas,6,0|_mega|_mega|||}
{122|galar|Galarian ||_galar|Regional,7,2|_galar|_galar|||}
{127|mega|Mega ||_mega|Megas,7,0|_mega|_mega|||}
{130|mega|Mega ||_mega|Megas,8,0|_mega|_mega|||}
{142|mega|Mega ||_mega|Megas,9,0|_mega|_mega|||}
{144|galar|Galarian ||_galar|Regional,8,2|_galar|_galar|||}
{145|galar|Galarian ||_galar|Regional,9,2|_galar|_galar|||}
{146|galar|Galarian ||_galar|Regional,10,2|_galar|_galar|||}
{150|mega_x|Mega | X|_mega_x|Megas,10,0|_mega_x|_mega_x|||}
{150|mega_y|Mega | Y|_mega_y|Megas,11,0|_mega_y|_mega_y|||}
{157|hisui|Hisuian ||_hisui|Regional,4,4|_hisui|_hisui|||}
{172|spiky-eared|||_spiky-eared|OtherForms,0,2|_spiky-eared|_spiky-eared|||}
{181|mega|Mega ||_mega|Megas,12,0|_mega|_mega|||}
{199|galar|Galarian ||_galar|Regional,11,2|_galar|_galar|||}
{201|||||Unown,0,0|_a|-a||Random;0-27|}
{201|0||||Unown,0,0|_a|-a|||}
{201|1||||Unown,1,0|_b|-b|||}
{201|2||||Unown,2,0|_c|-c|||}
{201|3||||Unown,3,0|_d|-d|||}
{201|4||||Unown,4,0|_e|-e|||}
{201|5||||Unown,5,0|_f|-f|||}
{201|6||||Unown,6,0|_g|-g|||}
{201|7||||Unown,7,0|_h|-h|||}
{201|8||||Unown,8,0|_i|-i|||}
{201|9||||Unown,9,0|_j|-j|||}
{201|10||||Unown,10,0|_k|-k|||}
{201|11||||Unown,11,0|_l|-l|||}
{201|12||||Unown,12,0|_m|-m|||}
{201|13||||Unown,13,0|_n|-n|||}
{201|14||||Unown,14,0|_o|-o|||}
{201|15||||Unown,15,0|_p|-p|||}
{201|16||||Unown,0,1|_q|-q|||}
{201|17||||Unown,1,1|_r|-r|||}
{201|18||||Unown,2,1|_s|-s|||}
{201|19||||Unown,3,1|_t|-t|||}
{201|20||||Unown,4,1|_u|-u|||}
{201|21||||Unown,5,1|_v|-v|||}
{201|22||||Unown,6,1|_w|-w|||}
{201|23||||Unown,7,1|_x|-x|||}
{201|24||||Unown,8,1|_y|-y|||}
{201|25||||Unown,9,1|_z|-z|||}
{201|26||||Unown,10,1|_question|-question|||}
{201|27||||Unown,11,1|_exclamation|-exclamation|||}
{208|mega|Mega ||_mega|Megas,15,1|_mega|_mega|||}
{211|hisui|Hisuian ||_hisui|Regional,5,4|_hisui|_hisui|||}
{212|mega|Mega ||_mega|Megas,13,0|_mega|_mega|||}
{214|mega|Mega ||_mega|Megas,14,0|_mega|_mega|||}
{215|hisui|Hisuian ||_hisui|Regional,6,4|_hisui|_hisui|||}
{222|galar|Galarian ||_galar|Regional,12,2|_galar|_galar|||}
{229|mega|Mega ||_mega|Megas,15,0|_mega|_mega|||}
{248|mega|Mega ||_mega|Megas,0,1|_mega|_mega|||}
{254|mega|Mega ||_mega|Megas,0,2|_mega|_mega|||}
{257|mega|Mega ||_mega|Megas,1,1|_mega|_mega|||}
{260|mega|Mega ||_mega|Megas,1,2|_mega|_mega|||}
{263|galar|Galarian ||_galar|Regional,13,2|_galar|_galar|||}
{264|galar|Galarian ||_galar|Regional,14,2|_galar|_galar|||}
{282|mega|Mega ||_mega|Megas,2,1|_mega|_mega|||}
{302|mega|Mega ||_mega|Megas,2,2|_mega|_mega|||}
{303|mega|Mega ||_mega|Megas,3,1|_mega|_mega|||}
{306|mega|Mega ||_mega|Megas,4,1|_mega|_mega|||}
{308|mega|Mega ||_mega|Megas,5,1|_mega|_mega|||}
{310|mega|Mega ||_mega|Megas,6,1|_mega|_mega|||}
{319|mega|Mega ||_mega|Megas,3,2|_mega|_mega|||}
{323|mega|Mega ||_mega|Megas,4,2|_mega|_mega|||}
{334|mega|Mega ||_mega|Megas,5,2|_mega|_mega|||}
{354|mega|Mega ||_mega|Megas,7,1|_mega|_mega|||}
{359|mega|Mega ||_mega|Megas,8,1|_mega|_mega|||}
{362|mega|Mega ||_mega|Megas,6,2|_mega|_mega|||}
{373|mega|Mega ||_mega|Megas,7,2|_mega|_mega|||}
{376|mega|Mega ||_mega|Megas,8,2|_mega|_mega|||}
{380|mega|Mega ||_mega|Megas,9,2|_mega|_mega|||}
{381|mega|Mega ||_mega|Megas,10,2|_mega|_mega|||}
{382|primal|Primal ||_primal|OtherForms,3,3|_primal|_primal|||}
{383|primal|Primal ||_primal|OtherForms,4,3|_primal|_primal|||}
{384|mega|Mega ||_mega|Megas,11,2|_mega|_mega|||}
{386|attack|||_attack|OtherForms,5,3|_attack|_attack|||}
{386|defense|||_defense|OtherForms,6,3|_defense|_defense|||}
{386|speed|||_speed|OtherForms,7,3|_speed|_speed|||}
{412|plant|||||_plant|_plant||environment;0;5|}
{412|sandy||||OtherForms,0,4|_sandy|_sandy||environment;2;3|}
{412|trash||||OtherForms,1,4|_trash|_trash||environment;1|}
{413|plant|||||_plant|_plant||environment;0;5|}
{413|sandy|||_sandy|OtherForms,2,4|_sandy|_sandy||environment;2;3|}
{413|trash|||_trash|OtherForms,3,4|_trash|_trash||environment;1|}
{422||||||_w|_w||Random;west;east|}
{422|west|||||_w|_w|||}
{422|east||||OtherForms,5,4|_e|_e|||}
{423||||||_w|_w||Random;west;east|}
{423|west|||||_w|_w|||}
{423|east||||OtherForms,6,4|_e|_e|||}
{428|mega|Mega ||_mega|Megas,12,2|_mega|_mega|||}
{445|mega|Mega ||_mega|Megas,9,1|_mega|_mega|||}
{448|mega|Mega ||_mega|Megas,10,1|_mega|_mega|||}
{460|mega|Mega ||_mega|Megas,11,1|_mega|_mega|||}
{475|mega|Mega ||_mega|Megas,13,2|_mega|_mega|||}
{479|fan|||_fan|OtherForms,12,4|_fan|_fan|||}
{479|frost|||_frost|OtherForms,11,4|_frost|_frost|||}
{479|heat|||_heat|OtherForms,9,4|_heat|_heat|||}
{479|mow|||_mow|OtherForms,13,4|_mow|_mow|||}
{479|wash|||_wash|OtherForms,12,4|_wash|_wash|||}
{483|primal|Primal ||_primal|OtherForms,14,26|_primal|_primal|||}
{493|||||Arceus,0,0|||||}
{493|Item;267||||Arceus,14,0|_dragon|_dragon|||dragon}
{493|Item;268||||Arceus,15,0|_dark|_dark|||dark}
{493|Item;269||||Arceus,8,0|_ground|_ground|||ground}
{493|Item;270||||Arceus,6,0|_fighting|_fighting|||fighting}
{493|Item;271||||Arceus,1,0|_fire|_fire|||fire}
{493|Item;272||||Arceus,5,0|_ice|_ice|||ice}
{493|Item;273||||Arceus,11,0|_bug|_bug|||bug}
{493|Item;274||||Arceus,0,1|_steel|_steel|||steel}
{493|Item;275||||Arceus,4,0|_grass|_grass|||grass}
{493|Item;276||||Arceus,10,0|_psychic|_psychic|||psychic}
{493|Item;277||||Arceus,1,1|_fairy|_fairy|||fairy}
{493|Item;278||||Arceus,9,0|_flying|_flying|||flying}
{493|Item;279||||Arceus,2,0|_water|_water|||water}
{493|Item;280||||Arceus,13,0|_ghost|_ghost|||ghost}
{493|Item;281||||Arceus,12,0|_rock|_rock|||rock}
{493|Item;282||||Arceus,7,0|_poison|_poison|||poison}
{493|Item;283||||Arceus,3,0|_electric|_electric|||electric}
{503|hisui|Hisuian ||_hisui|Regional,7,4|_hisui|_hisui|||}
{531|mega|Mega ||_mega|Megas,14,2|_mega|_mega|||}
{549|hisui|Hisuian ||_hisui|Regional,8,4|_hisui|_hisui|||}
{550||||||_white|_white||Random;white;blue|}
{550|white|||||_white|_white|||}
{550|blue|||_blue|OtherForms,0,5|_blue|_blue|||}
{554|galar|Galarian ||_galar|Regional,15,2|_galar|_galar|||}
{555|galar|Galarian ||_galar|Regional,0,3|_galar|_galar|||}
{562|galar|Galarian ||_galar|Regional,1,3|_galar|_galar|||}
{570|hisui|Hisuian ||_hisui|Regional,9,4|_hisui|_hisui|||}
{571|hisui|Hisuian ||_hisui|Regional,10,4|_hisui|_hisui|||}
{585|Season;0||||OtherForms,5,5|_wi|_wi||Season;0|}
{585|Season;1|||||_sp|_sp||Season;1|}
{585|Season;2||||OtherForms,3,5|_su|_su||Season;2|}
{585|Season;3||||OtherForms,4,5|_fa|_fa||Season;3|}
{586|Season;0||||OtherForms,8,5|_wi|_wi||Season;0|}
{586|Season;1|||||_sp|_sp||Season;1|}
{586|Season;2||||OtherForms,6,5|_su|_su||Season;2|}
{586|Season;3||||OtherForms,7,5|_fa|_fa||Season;3|}
{592|Gender;0|||||_m|_m||Gender;0|}
{592|Gender;1||||Gender,1,0|_f|_f||Gender;1|}
{593|Gender;0|||||_m|_m||Gender;0|}
{593|Gender;1||||Gender,2,0|_f|_f||Gender;1|}
{618|galar|Galarian ||_galar|Regional,2,3|_galar|_galar|||}
{628|hisui|Hisuian ||_hisui|Regional,11,4|_hisui|_hisui|||}
{641|therian|||_therian|OtherForms,9,5|_therian|_therian|||}
{642|therian|||_therian|OtherForms,10,5|_therian|_therian|||}
{645|therian|||_therian|OtherForms,11,5|_therian|_therian|||}
{646|black|||_black|OtherForms,13,5|_black|_black|||}
{646|white|||_white|OtherForms,12,5|_white|_white|||}
{666|||||Vivillon,0,0|_meadow|_meadow||Random;archipelago;continental;elegant;fancy;garden;high_planes;icy_snow;jungle;marine;modern;monsoon;ocean;pokeball;polar;river;sandstorm;savanna;sun;tundra|}
{666|archipelago||||Vivillon,1,0|_archipelago|_archipelago|||}
{666|continental||||Vivillon,2,0|_continental|_continental|||}
{666|elegant||||Vivillon,3,0|_elegant|_elegant|||}
{666|fancy||||Vivillon,4,0|_fancy|_fancy|||}
{666|garden||||Vivillon,5,0|_garden|_garden|||}
{666|high_planes||||Vivillon,6,0|_high_planes|_high_planes|||}
{666|icy_snow||||Vivillon,7,0|_icy_snow|_icy_snow|||}
{666|jungle||||Vivillon,8,0|_jungle|_jungle|||}
{666|marine||||Vivillon,9,0|_marine|_marine|||}
{666|meadow||||Vivillon,0,0|_meadow|_meadow|||}
{666|modern||||Vivillon,10,0|_modern|_modern|||}
{666|monsoon||||Vivillon,11,0|_monsoon|_monsoon|||}
{666|ocean||||Vivillon,12,0|_ocean|_ocean|||}
{666|pokeball||||Vivillon,13,0|_pokeball|_pokeball|||}
{666|polar||||Vivillon,14,0|_polar|_polar|||}
{666|river||||Vivillon,15,0|_river|_river|||}
{666|sandstorm||||Vivillon,0,1|_sandstorm|_sandstorm|||}
{666|savanna||||Vivillon,1,2|_savanna|_savanna|||}
{666|sun||||Vivillon,2,2|_sun|_sun|||}
{666|tundra||||Vivillon,3,2|_tundra|_tundra|||}
{668|Gender;0|||||_m|_m||Gender;0|}
{668|Gender;1||||Gender,3,0|_f|_f||Gender;1|}
{669||||||_red|_red||Random;red;yellow;blue;orange;white|}
{669|red|||||_red|_red|||}
{669|yellow||||OtherForms,0,7|_yellow|_yellow|||}
{669|blue||||OtherForms,1,7|_blue|_blue|||}
{669|orange||||OtherForms,2,7|_orange|_orange|||}
{669|white||||OtherForms,3,7|_white|_white|||}
{670||||||_red|_red||Random;red;yellow;blue;orange;white|}
{670|eternal|||_eternal|OtherForms,4,7|_eternal|_eternal|||}
{670|red|||||_red|_red|||}
{670|yellow||||OtherForms,5,7|_yellow|_yellow|||}
{670|blue||||OtherForms,6,7|_blue|_blue|||}
{670|orange||||OtherForms,7,7|_orange|_orange|||}
{670|white||||OtherForms,8,7|_white|_white|||}
{671||||||_red|_red||Random;red;yellow;blue;orange;white|}
{671|red|||||_red|_red|||}
{671|yellow||||OtherForms,9,7|_yellow|_yellow|||}
{671|blue||||OtherForms,10,7|_blue|_blue|||}
{671|orange||||OtherForms,11,7|_orange|_orange|||}
{671|white||||OtherForms,12,7|_white|_white|||}
{681|blade|||_blade|OtherForms,6,8|_blade|_blade|||}
{705|hisui|Hisuian ||_hisui|Regional,12,4|_hisui|_hisui|||}
{706|hisui|Hisuian ||_hisui|Regional,13,4|_hisui|_hisui|||}
{713|hisui|Hisuian ||_hisui|Regional,14,4|_hisui|_hisui|||}
{719|mega|Mega ||_mega|Megas,15,2|_mega|_mega|||}
{720|unbound|||_unbound|OtherForms,0,9|_unbound|_unbound|||}
{724|hisui|Hisuian ||_hisui|Regional,15,4|_hisui|_hisui|||}
{3|mega||Mega ||_mega|Megas,0,0|_mega|_mega|||}
{6|mega_x||Mega | X|_mega_x|Megas,1,0|_mega_x|_mega_x|||}
{6|mega_y||Mega | Y|_mega_y|Megas,2,0|_mega_y|_mega_y|||}
{9|mega||Mega ||_mega|Megas,3,0|_mega|_mega|||}
{15|mega||Mega ||_mega|Megas,12,1|_mega|_mega|||}
{18|mega||Mega ||_mega|Megas,13,1|_mega|_mega|||}
{19|alola||Alolan ||_alola|Regional,0,0|_alola|_alola|||}
{20|alola||Alolan ||_alola|Regional,1,0|_alola|_alola|||}
{26|alola||Alolan ||_alola|Regional,2,0|_alola|_alola|||}
{27|alola||Alolan ||_alola|Regional,3,0|_alola|_alola|||}
{28|alola||Alolan ||_alola|Regional,4,0|_alola|_alola|||}
{37|alola||Alolan ||_alola|Regional,5,0|_alola|_alola|||}
{38|alola||Alolan ||_alola|Regional,6,0|_alola|_alola|||}
{50|alola||Alolan ||_alola|Regional,7,0|_alola|_alola|||}
{51|alola||Alolan ||_alola|Regional,8,0|_alola|_alola|||}
{52|alola||Alolan ||_alola|Regional,9,0|_alola|_alola|||}
{52|galar||Galarian ||_galar|Regional,0,2|_galar|_galar|||}
{53|alola||Alolan ||_alola|Regional,10,0|_alola|_alola|||}
{58|hisui||Hisuian ||_hisui|Regional,0,4|_hisui|_hisui|||}
{59|hisui||Hisuian ||_hisui|Regional,1,4|_hisui|_hisui|||}
{65|mega||Mega ||_mega|Megas,4,0|_mega|_mega|||}
{74|alola||Alolan ||_alola|Regional,11,0|_alola|_alola|||}
{75|alola||Alolan ||_alola|Regional,12,0|_alola|_alola|||}
{76|alola||Alolan ||_alola|Regional,13,0|_alola|_alola|||}
{77|galar||Galarian ||_galar|Regional,1,2|_galar|_galar|||}
{78|galar||Galarian ||_galar|Regional,2,2|_galar|_galar|||}
{79|galar||Galarian ||_galar|Regional,3,2|_galar|_galar|||}
{80|mega||Mega ||_mega|Megas,14,1|_mega|_mega|||}
{80|galar||Galarian ||_galar|Regional,4,2|_galar|_galar|||}
{83|galar||Galarian ||_galar|Regional,5,2|_galar|_galar|||}
{88|alola||Alolan ||_alola|Regional,14,0|_alola|_alola|||}
{89|alola||Alolan ||_alola|Regional,15,0|_alola|_alola|||}
{94|mega||Mega ||_mega|Megas,5,0|_mega|_mega|||}
{100|hisui||Hisuian ||_hisui|Regional,2,4|_hisui|_hisui|||}
{101|hisui||Hisuian ||_hisui|Regional,3,4|_hisui|_hisui|||}
{103|alola||Alolan ||_alola|Regional,0,1|_alola|_alola|||}
{105|alola||Alolan ||_alola|Regional,1,1|_alola|_alola|||}
{110|galar||Galarian ||_galar|Regional,6,2|_galar|_galar|||}
{115|mega||Mega ||_mega|Megas,6,0|_mega|_mega|||}
{122|galar||Galarian ||_galar|Regional,7,2|_galar|_galar|||}
{127|mega||Mega ||_mega|Megas,7,0|_mega|_mega|||}
{130|mega||Mega ||_mega|Megas,8,0|_mega|_mega|||}
{142|mega||Mega ||_mega|Megas,9,0|_mega|_mega|||}
{144|galar||Galarian ||_galar|Regional,8,2|_galar|_galar|||}
{145|galar||Galarian ||_galar|Regional,9,2|_galar|_galar|||}
{146|galar||Galarian ||_galar|Regional,10,2|_galar|_galar|||}
{150|mega_x||Mega | X|_mega_x|Megas,10,0|_mega_x|_mega_x|||}
{150|mega_y||Mega | Y|_mega_y|Megas,11,0|_mega_y|_mega_y|||}
{157|hisui||Hisuian ||_hisui|Regional,4,4|_hisui|_hisui|||}
{172|spiky-eared||||_spiky-eared|OtherForms,0,2|_spiky-eared|_spiky-eared|||}
{181|mega||Mega ||_mega|Megas,12,0|_mega|_mega|||}
{199|galar||Galarian ||_galar|Regional,11,2|_galar|_galar|||}
{201||||||Unown,0,0|_a|-a||Random;0-27|}
{201|0|||||Unown,0,0|_a|-a|||}
{201|1|||||Unown,1,0|_b|-b|||}
{201|2|||||Unown,2,0|_c|-c|||}
{201|3|||||Unown,3,0|_d|-d|||}
{201|4|||||Unown,4,0|_e|-e|||}
{201|5|||||Unown,5,0|_f|-f|||}
{201|6|||||Unown,6,0|_g|-g|||}
{201|7|||||Unown,7,0|_h|-h|||}
{201|8|||||Unown,8,0|_i|-i|||}
{201|9|||||Unown,9,0|_j|-j|||}
{201|10|||||Unown,10,0|_k|-k|||}
{201|11|||||Unown,11,0|_l|-l|||}
{201|12|||||Unown,12,0|_m|-m|||}
{201|13|||||Unown,13,0|_n|-n|||}
{201|14|||||Unown,14,0|_o|-o|||}
{201|15|||||Unown,15,0|_p|-p|||}
{201|16|||||Unown,0,1|_q|-q|||}
{201|17|||||Unown,1,1|_r|-r|||}
{201|18|||||Unown,2,1|_s|-s|||}
{201|19|||||Unown,3,1|_t|-t|||}
{201|20|||||Unown,4,1|_u|-u|||}
{201|21|||||Unown,5,1|_v|-v|||}
{201|22|||||Unown,6,1|_w|-w|||}
{201|23|||||Unown,7,1|_x|-x|||}
{201|24|||||Unown,8,1|_y|-y|||}
{201|25|||||Unown,9,1|_z|-z|||}
{201|26|||||Unown,10,1|_question|-question|||}
{201|27|||||Unown,11,1|_exclamation|-exclamation|||}
{208|mega||Mega ||_mega|Megas,15,1|_mega|_mega|||}
{211|hisui||Hisuian ||_hisui|Regional,5,4|_hisui|_hisui|||}
{212|mega||Mega ||_mega|Megas,13,0|_mega|_mega|||}
{214|mega||Mega ||_mega|Megas,14,0|_mega|_mega|||}
{215|hisui||Hisuian ||_hisui|Regional,6,4|_hisui|_hisui|||}
{222|galar||Galarian ||_galar|Regional,12,2|_galar|_galar|||}
{229|mega||Mega ||_mega|Megas,15,0|_mega|_mega|||}
{248|mega||Mega ||_mega|Megas,0,1|_mega|_mega|||}
{254|mega||Mega ||_mega|Megas,0,2|_mega|_mega|||}
{257|mega||Mega ||_mega|Megas,1,1|_mega|_mega|||}
{260|mega||Mega ||_mega|Megas,1,2|_mega|_mega|||}
{263|galar||Galarian ||_galar|Regional,13,2|_galar|_galar|||}
{264|galar||Galarian ||_galar|Regional,14,2|_galar|_galar|||}
{282|mega||Mega ||_mega|Megas,2,1|_mega|_mega|||}
{302|mega||Mega ||_mega|Megas,2,2|_mega|_mega|||}
{303|mega||Mega ||_mega|Megas,3,1|_mega|_mega|||}
{306|mega||Mega ||_mega|Megas,4,1|_mega|_mega|||}
{308|mega||Mega ||_mega|Megas,5,1|_mega|_mega|||}
{310|mega||Mega ||_mega|Megas,6,1|_mega|_mega|||}
{319|mega||Mega ||_mega|Megas,3,2|_mega|_mega|||}
{323|mega||Mega ||_mega|Megas,4,2|_mega|_mega|||}
{334|mega||Mega ||_mega|Megas,5,2|_mega|_mega|||}
{354|mega||Mega ||_mega|Megas,7,1|_mega|_mega|||}
{359|mega||Mega ||_mega|Megas,8,1|_mega|_mega|||}
{362|mega||Mega ||_mega|Megas,6,2|_mega|_mega|||}
{373|mega||Mega ||_mega|Megas,7,2|_mega|_mega|||}
{376|mega||Mega ||_mega|Megas,8,2|_mega|_mega|||}
{380|mega||Mega ||_mega|Megas,9,2|_mega|_mega|||}
{381|mega||Mega ||_mega|Megas,10,2|_mega|_mega|||}
{382|primal||Primal ||_primal|OtherForms,3,3|_primal|_primal|||}
{383|primal||Primal ||_primal|OtherForms,4,3|_primal|_primal|||}
{384|mega||Mega ||_mega|Megas,11,2|_mega|_mega|||}
{386|attack||||_attack|OtherForms,5,3|_attack|_attack|||}
{386|defense||||_defense|OtherForms,6,3|_defense|_defense|||}
{386|speed||||_speed|OtherForms,7,3|_speed|_speed|||}
{412|plant||||||_plant|_plant||environment;0;5|}
{412|sandy|||||OtherForms,0,4|_sandy|_sandy||environment;2;3|}
{412|trash|||||OtherForms,1,4|_trash|_trash||environment;1|}
{413|plant||||||_plant|_plant||environment;0;5|}
{413|sandy||||_sandy|OtherForms,2,4|_sandy|_sandy||environment;2;3|}
{413|trash||||_trash|OtherForms,3,4|_trash|_trash||environment;1|}
{422|||||||_w|_w||Random;west;east|}
{422|west||||||_w|_w|||}
{422|east|||||OtherForms,5,4|_e|_e|||}
{423|||||||_w|_w||Random;west;east|}
{423|west||||||_w|_w|||}
{423|east|||||OtherForms,6,4|_e|_e|||}
{428|mega||Mega ||_mega|Megas,12,2|_mega|_mega|||}
{445|mega||Mega ||_mega|Megas,9,1|_mega|_mega|||}
{448|mega||Mega ||_mega|Megas,10,1|_mega|_mega|||}
{460|mega||Mega ||_mega|Megas,11,1|_mega|_mega|||}
{475|mega||Mega ||_mega|Megas,13,2|_mega|_mega|||}
{479|fan||||_fan|OtherForms,12,4|_fan|_fan|||}
{479|frost||||_frost|OtherForms,11,4|_frost|_frost|||}
{479|heat||||_heat|OtherForms,9,4|_heat|_heat|||}
{479|mow||||_mow|OtherForms,13,4|_mow|_mow|||}
{479|wash||||_wash|OtherForms,12,4|_wash|_wash|||}
{483|primal||Primal ||_primal|OtherForms,14,26|_primal|_primal|||}
{493||Item;267||||Arceus,14,0|_dragon|_dragon|||dragon}
{493||Item;268||||Arceus,15,0|_dark|_dark|||dark}
{493||Item;269||||Arceus,8,0|_ground|_ground|||ground}
{493||Item;270||||Arceus,6,0|_fighting|_fighting|||fighting}
{493||Item;271||||Arceus,1,0|_fire|_fire|||fire}
{493||Item;272||||Arceus,5,0|_ice|_ice|||ice}
{493||Item;273||||Arceus,11,0|_bug|_bug|||bug}
{493||Item;274||||Arceus,0,1|_steel|_steel|||steel}
{493||Item;275||||Arceus,4,0|_grass|_grass|||grass}
{493||Item;276||||Arceus,10,0|_psychic|_psychic|||psychic}
{493||Item;277||||Arceus,1,1|_fairy|_fairy|||fairy}
{493||Item;278||||Arceus,9,0|_flying|_flying|||flying}
{493||Item;279||||Arceus,2,0|_water|_water|||water}
{493||Item;280||||Arceus,13,0|_ghost|_ghost|||ghost}
{493||Item;281||||Arceus,12,0|_rock|_rock|||rock}
{493||Item;282||||Arceus,7,0|_poison|_poison|||poison}
{493||Item;283||||Arceus,3,0|_electric|_electric|||electric}
{493||||||Arceus,0,0|||||}
{503|hisui||Hisuian ||_hisui|Regional,7,4|_hisui|_hisui|||}
{531|mega||Mega ||_mega|Megas,14,2|_mega|_mega|||}
{549|hisui||Hisuian ||_hisui|Regional,8,4|_hisui|_hisui|||}
{550|||||||_white|_white||Random;white;blue|}
{550|white||||||_white|_white|||}
{550|blue||||_blue|OtherForms,0,5|_blue|_blue|||}
{554|galar||Galarian ||_galar|Regional,15,2|_galar|_galar|||}
{555|galar||Galarian ||_galar|Regional,0,3|_galar|_galar|||}
{562|galar||Galarian ||_galar|Regional,1,3|_galar|_galar|||}
{570|hisui||Hisuian ||_hisui|Regional,9,4|_hisui|_hisui|||}
{571|hisui||Hisuian ||_hisui|Regional,10,4|_hisui|_hisui|||}
{585||Season;0||||OtherForms,5,5|_wi|_wi|||}
{585||Season;1|||||_sp|_sp||Season;1|}
{585||Season;2||||OtherForms,3,5|_su|_su|||}
{585||Season;3||||OtherForms,4,5|_fa|_fa|||}
{586||Season;0||||OtherForms,8,5|_wi|_wi|||}
{586||Season;1|||||_sp|_sp||Season;1|}
{586||Season;2||||OtherForms,6,5|_su|_su|||}
{586||Season;3||||OtherForms,7,5|_fa|_fa|||}
{592||Gender;0|||||_m|_m|||}
{592||Gender;1||||Gender,1,0|_f|_f|||}
{593||Gender;0|||||_m|_m|||}
{593||Gender;1||||Gender,2,0|_f|_f|||}
{618|galar||Galarian ||_galar|Regional,2,3|_galar|_galar|||}
{628|hisui||Hisuian ||_hisui|Regional,11,4|_hisui|_hisui|||}
{641|therian||||_therian|OtherForms,9,5|_therian|_therian|||}
{642|therian||||_therian|OtherForms,10,5|_therian|_therian|||}
{645|therian||||_therian|OtherForms,11,5|_therian|_therian|||}
{646|black||||_black|OtherForms,13,5|_black|_black|||}
{646|white||||_white|OtherForms,12,5|_white|_white|||}
{665||||||||||Random;archipelago;continental;elegant;fancy;garden;high_planes;icy_snow;jungle;marine;modern;monsoon;ocean;pokeball;polar;river;sandstorm;savanna;sun;tundra|}
{666||||||Vivillon,0,0|_meadow|_meadow||Random;archipelago;continental;elegant;fancy;garden;high_planes;icy_snow;jungle;marine;modern;monsoon;ocean;pokeball;polar;river;sandstorm;savanna;sun;tundra|}
{666|archipelago|||||Vivillon,1,0|_archipelago|_archipelago|||}
{666|continental|||||Vivillon,2,0|_continental|_continental|||}
{666|elegant|||||Vivillon,3,0|_elegant|_elegant|||}
{666|fancy|||||Vivillon,4,0|_fancy|_fancy|||}
{666|garden|||||Vivillon,5,0|_garden|_garden|||}
{666|high_planes|||||Vivillon,6,0|_high_planes|_high_planes|||}
{666|icy_snow|||||Vivillon,7,0|_icy_snow|_icy_snow|||}
{666|jungle|||||Vivillon,8,0|_jungle|_jungle|||}
{666|marine|||||Vivillon,9,0|_marine|_marine|||}
{666|meadow|||||Vivillon,0,0|_meadow|_meadow|||}
{666|modern|||||Vivillon,10,0|_modern|_modern|||}
{666|monsoon|||||Vivillon,11,0|_monsoon|_monsoon|||}
{666|ocean|||||Vivillon,12,0|_ocean|_ocean|||}
{666|pokeball|||||Vivillon,13,0|_pokeball|_pokeball|||}
{666|polar|||||Vivillon,14,0|_polar|_polar|||}
{666|river|||||Vivillon,15,0|_river|_river|||}
{666|sandstorm|||||Vivillon,0,1|_sandstorm|_sandstorm|||}
{666|savanna|||||Vivillon,1,1|_savanna|_savanna|||}
{666|sun|||||Vivillon,2,1|_sun|_sun|||}
{666|tundra|||||Vivillon,3,1|_tundra|_tundra|||}
{668||Gender;0|||||_m|_m|||}
{668||Gender;1||||Gender,3,0|_f|_f|||}
{669|||||||_red|_red||Random;red;yellow;blue;orange;white|}
{669|red||||||_red|_red|||}
{669|yellow|||||OtherForms,0,7|_yellow|_yellow|||}
{669|blue|||||OtherForms,1,7|_blue|_blue|||}
{669|orange|||||OtherForms,2,7|_orange|_orange|||}
{669|white|||||OtherForms,3,7|_white|_white|||}
{670|||||||_red|_red||Random;red;yellow;blue;orange;white|}
{670|eternal||||_eternal|OtherForms,4,7|_eternal|_eternal|||}
{670|red||||||_red|_red|||}
{670|yellow|||||OtherForms,5,7|_yellow|_yellow|||}
{670|blue|||||OtherForms,6,7|_blue|_blue|||}
{670|orange|||||OtherForms,7,7|_orange|_orange|||}
{670|white|||||OtherForms,8,7|_white|_white|||}
{671|||||||_red|_red||Random;red;yellow;blue;orange;white|}
{671|red||||||_red|_red|||}
{671|yellow|||||OtherForms,9,7|_yellow|_yellow|||}
{671|blue|||||OtherForms,10,7|_blue|_blue|||}
{671|orange|||||OtherForms,11,7|_orange|_orange|||}
{671|white|||||OtherForms,12,7|_white|_white|||}
{681|blade||||_blade|OtherForms,6,8|_blade|_blade|||}
{705|hisui||Hisuian ||_hisui|Regional,12,4|_hisui|_hisui|||}
{706|hisui||Hisuian ||_hisui|Regional,13,4|_hisui|_hisui|||}
{713|hisui||Hisuian ||_hisui|Regional,14,4|_hisui|_hisui|||}
{719|mega||Mega ||_mega|Megas,15,2|_mega|_mega|||}
{720|unbound||||_unbound|OtherForms,0,9|_unbound|_unbound|||}
{724|hisui||Hisuian ||_hisui|Regional,15,4|_hisui|_hisui|||}

View File

@ -1,4 +1,4 @@
Name|Mega Kangaskhan
Name|Kangaskhan
Number|115
ExperienceType|1
BaseExperience|172

View File

@ -1,4 +1,4 @@
Name|Mega Pinsir
Name|Pinsir
Number|127
ExperienceType|3
BaseExperience|175

View File

@ -1,4 +1,4 @@
Name|Mega Gyarados
Name|Gyarados
Number|130
ExperienceType|3
BaseExperience|189

View File

@ -1,4 +1,4 @@
Name|Mega Aerodactyl
Name|Aerodactyl
Number|142
ExperienceType|3
BaseExperience|180

View File

@ -1,4 +1,4 @@
Name|Mega Mewtwo X
Name|Mewtwo
Number|150
ExperienceType|3
BaseExperience|306

View File

@ -1,4 +1,4 @@
Name|Mega Mewtwo Y
Name|Mewtwo
Number|150
ExperienceType|3
BaseExperience|306

View File

@ -1,4 +1,4 @@
Name|Mega Beedrill
Name|Beedrill
Number|15
ExperienceType|1
BaseExperience|173

View File

@ -1,4 +1,4 @@
Name|Mega Ampharos
Name|Ampharos
Number|181
ExperienceType|2
BaseExperience|225

View File

@ -1,4 +1,4 @@
Name|Mega Pidgeot
Name|Pidgeot
Number|18
ExperienceType|2
BaseExperience|211

View File

@ -1,4 +1,4 @@
Name|Mega Steelix
Name|Steelix
Number|208
ExperienceType|1
BaseExperience|179

View File

@ -1,4 +1,4 @@
Name|Mega Scizor
Name|Scizor
Number|212
ExperienceType|1
BaseExperience|175

View File

@ -1,4 +1,4 @@
Name|Mega Heracross
Name|Heracross
Number|214
ExperienceType|3
BaseExperience|175

View File

@ -1,4 +1,4 @@
Name|Mega Houndoom
Name|Houndoom
Number|229
ExperienceType|3
BaseExperience|175

View File

@ -1,4 +1,4 @@
Name|Mega Tyranitar
Name|Tyranitar
Number|248
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Sceptile
Name|Sceptile
Number|254
ExperienceType|2
BaseExperience|239

View File

@ -1,4 +1,4 @@
Name|Mega Blaziken
Name|Blaziken
Number|257
ExperienceType|2
BaseExperience|239

View File

@ -1,4 +1,4 @@
Name|Mega Swampert
Name|Swampert
Number|260
ExperienceType|2
BaseExperience|241

View File

@ -1,4 +1,4 @@
Name|Mega Gardevoir
Name|Gardevoir
Number|282
ExperienceType|3
BaseExperience|233

View File

@ -1,4 +1,4 @@
Name|Mega Sableye
Name|Sableye
Number|302
ExperienceType|2
BaseExperience|133

View File

@ -1,4 +1,4 @@
Name|Mega Mawile
Name|Mawile
Number|303
ExperienceType|0
BaseExperience|133

View File

@ -1,4 +1,4 @@
Name|Mega Aggron
Name|Aggron
Number|306
ExperienceType|3
BaseExperience|239

View File

@ -1,4 +1,4 @@
Name|Mega Medicham
Name|Medicham
Number|308
ExperienceType|1
BaseExperience|144

View File

@ -1,4 +1,4 @@
Name|Mega Manectric
Name|Manectric
Number|310
ExperienceType|3
BaseExperience|166

View File

@ -1,4 +1,4 @@
Name|Mega Sharpedo
Name|Sharpedo
Number|319
ExperienceType|3
BaseExperience|161

View File

@ -1,4 +1,4 @@
Name|Mega Camerupt
Name|Camerupt
Number|323
ExperienceType|1
BaseExperience|161

View File

@ -1,4 +1,4 @@
Name|Mega Altaria
Name|Altaria
Number|334
ExperienceType|1
BaseExperience|172

View File

@ -1,4 +1,4 @@
Name|Mega Banette
Name|Banette
Number|354
ExperienceType|0
BaseExperience|159

View File

@ -1,4 +1,4 @@
Name|Mega Absol
Name|Absol
Number|359
ExperienceType|2
BaseExperience|163

View File

@ -1,4 +1,4 @@
Name|Mega Glalie
Name|Glalie
Number|362
ExperienceType|1
BaseExperience|168

View File

@ -1,4 +1,4 @@
Name|Mega Salamence
Name|Salamence
Number|373
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Metagross
Name|Metagross
Number|376
ExperienceType|2
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Latias
Name|Latias
Number|380
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Latios
Name|Latios
Number|381
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Rayquaza
Name|Rayquaza
Number|384
ExperienceType|3
BaseExperience|306

View File

@ -1,4 +1,4 @@
Name|Mega Venusaur
Name|Venusaur
Number|3
ExperienceType|2
BaseExperience|236

View File

@ -1,4 +1,4 @@
Name|Mega Lopunny
Name|Lopunny
Number|428
ExperienceType|1
BaseExperience|168

View File

@ -1,4 +1,4 @@
Name|Mega Garchomp
Name|Garchomp
Number|445
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Lucario
Name|Lucario
Number|448
ExperienceType|2
BaseExperience|184

View File

@ -1,4 +1,4 @@
Name|Mega Abomasnow
Name|Abomasnow
Number|460
ExperienceType|3
BaseExperience|173

View File

@ -1,4 +1,4 @@
Name|Mega Gallade
Name|Gallade
Number|475
ExperienceType|3
BaseExperience|233

View File

@ -1,4 +1,4 @@
Name|Mega Audino
Name|Audino
Number|531
ExperienceType|0
BaseExperience|390

View File

@ -1,4 +1,4 @@
Name|Mega Alakazam
Name|Alakazam
Number|65
ExperienceType|2
BaseExperience|221

View File

@ -1,4 +1,4 @@
Name|Mega Charizard X
Name|Charizard
Number|6
ExperienceType|2
BaseExperience|240

View File

@ -1,4 +1,4 @@
Name|Mega Charizard Y
Name|Charizard
Number|6
ExperienceType|2
BaseExperience|240

View File

@ -1,4 +1,4 @@
Name|Mega Diancie
Name|Diancie
Number|719
ExperienceType|3
BaseExperience|270

View File

@ -1,4 +1,4 @@
Name|Mega Slowbro
Name|Slowbro
Number|80
ExperienceType|1
BaseExperience|172

View File

@ -1,4 +1,4 @@
Name|Mega Gengar
Name|Gengar
Number|94
ExperienceType|2
BaseExperience|225

View File

@ -1,4 +1,4 @@
Name|Mega Blastoise
Name|Blastoise
Number|9
ExperienceType|2
BaseExperience|239

View File

@ -28587,6 +28587,9 @@
<None Include="Content\Data\berrydata.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<Content Include="Content\Data\forms.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="Content\Data\Items\example.dat">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>

View File

@ -209,7 +209,7 @@ Public Class Pokemon
End Set
End Property
Private Property Name() As String
Public Property Name() As String
Get
Return Me._name
End Get
@ -556,8 +556,70 @@ Public Class Pokemon
#End Region
Public Type1 As Element
Public Type2 As Element
Public Property Type1 As Element
Get
Dim TypeAddition As String = PokemonForms.GetTypeAdditionFromItem(Me)
Select Case TypeAddition.ToLower
Case "type;normal"
Return New Element(Element.Types.Normal)
Case "type;fighting"
Return New Element(Element.Types.Fighting)
Case "type;flying"
Return New Element(Element.Types.Flying)
Case "type;poison"
Return New Element(Element.Types.Poison)
Case "type;ground"
Return New Element(Element.Types.Ground)
Case "type;rock"
Return New Element(Element.Types.Rock)
Case "type;bug"
Return New Element(Element.Types.Bug)
Case "type;ghost"
Return New Element(Element.Types.Ghost)
Case "type;steel"
Return New Element(Element.Types.Steel)
Case "type;fire"
Return New Element(Element.Types.Fire)
Case "type;water"
Return New Element(Element.Types.Water)
Case "type;grass"
Return New Element(Element.Types.Grass)
Case "type;electric"
Return New Element(Element.Types.Electric)
Case "type;psychic"
Return New Element(Element.Types.Psychic)
Case "type;ice"
Return New Element(Element.Types.Ice)
Case "type;dragon"
Return New Element(Element.Types.Dragon)
Case "type;dark"
Return New Element(Element.Types.Dark)
Case "type;fairy"
Return New Element(Element.Types.Fairy)
Case "type;shadow"
Return New Element(Element.Types.Shadow)
Case Else
Return _type1
End Select
End Get
Set(value As Element)
_type1 = value
End Set
End Property
Public Property Type2 As Element
Get
If PokemonForms.GetTypeAdditionFromItem(Me) <> "" Then
Return New Element(Element.Types.Blank)
Else
Return _type2
End If
End Get
Set(value As Element)
_type2 = value
End Set
End Property
Private _type1 As Element
Private _type2 As Element
Public StartItems As New Dictionary(Of Item, Integer)
Public AttackLearns As New Dictionary(Of Integer, BattleSystem.Attack)
Public EggMoves As New List(Of Integer)
@ -1213,7 +1275,7 @@ Public Class Pokemon
''' <summary>
''' Empties the cached textures.
''' </summary>
Private Sub ClearTextures()
Public Sub ClearTextures()
Textures.Clear()
Textures.AddRange({Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing})
RaiseEvent TexturesCleared(Me, New EventArgs())
@ -1305,7 +1367,6 @@ Public Class Pokemon
''' Loads definition data from the data files and empties the temp textures.
''' </summary>
Public Sub ReloadDefinitions()
Me.LoadDefinitions(Me.Number, Me.AdditionalData)
Me.ClearTextures()
End Sub
@ -2246,7 +2307,11 @@ Public Class Pokemon
''' </summary>
Public Property OriginalName As String
Get
Return Me.Name
If PokemonForms.GetFormName(Me) <> "" Then
Return PokemonForms.GetFormName(Me)
Else
Return Me.Name
End If
End Get
Set(value As String)
Me.Name = value
@ -2514,10 +2579,8 @@ Public Class Pokemon
''' 9=shiny overworld
''' 10=normal,front,animation</param>
Private Function GetTexture(ByVal index As Integer) As Texture2D
Dim TextureNumberSuffix As String = ""
If Me.AnimationName.Contains("_") Then
TextureNumberSuffix = AnimationName.Remove(0, OriginalName.Length)
End If
Dim TextureNumberSuffix As String = PokemonForms.GetFrontBackSpriteFileSuffix(Me)
If Textures(index) Is Nothing Then
Select Case index
Case 0
@ -2864,7 +2927,7 @@ Public Class Pokemon
Pitch = -1.0F
End If
SoundManager.PlayPokemonCry(Me.Number, Pitch, 0F)
SoundManager.PlayPokemonCry(Me.Number, Pitch, 0F, PokemonForms.GetCrySuffix(Me))
End Sub
''' <summary>

File diff suppressed because it is too large Load Diff

View File

@ -101,16 +101,16 @@
End Sub
Public Shared Sub PlayPokemonCry(pokemonId As Integer)
PlaySound("Cries\" + pokemonId.ToString(), 0F, 0F, Volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
Public Shared Sub PlayPokemonCry(pokemonId As Integer, Optional CrySuffix As String = "")
PlaySound("Cries\" + pokemonId.ToString() & CrySuffix, 0F, 0F, Volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
End Sub
Public Shared Sub PlayPokemonCry(pokemonId As Integer, pitch As Single, pan As Single)
PlaySound("Cries\" + pokemonId.ToString(), pitch, pan, Volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
Public Shared Sub PlayPokemonCry(pokemonId As Integer, pitch As Single, pan As Single, Optional CrySuffix As String = "")
PlaySound("Cries\" + pokemonId.ToString() & CrySuffix, pitch, pan, Volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
End Sub
Public Shared Sub PlayPokemonCry(pokemonId As Integer, pitch As Single, pan As Single, volume As Single)
PlaySound("Cries\" + pokemonId.ToString(), pitch, pan, volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
Public Shared Sub PlayPokemonCry(pokemonId As Integer, pitch As Single, pan As Single, volume As Single, Optional CrySuffix As String = "")
PlaySound("Cries\" + pokemonId.ToString() & CrySuffix, pitch, pan, volume * POKEMON_CRY_VOLUME_MULTIPLIER, False)
End Sub
Public Shared Sub LoadSounds(ByVal forceReplace As Boolean)

View File

@ -156,10 +156,24 @@ Public Class PartyScreen
Next
Else
For Each p As Pokemon In Core.Player.Pokemons
Dim FormData As String = PokemonForms.GetFormDataInParty(p)
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(p) = "" Then
p.LoadDefinitions(p.Number, FormData)
p.ClearTextures()
End If
Me.PokemonList.Add(Pokemon.GetPokemonByData(p.GetSaveData()))
Next
End If
Else
For Each p As Pokemon In Core.Player.Pokemons
Dim FormData As String = PokemonForms.GetFormDataInParty(p)
If FormData <> "" Then
If FormData <> "" AndAlso PokemonForms.GetTypeAdditionFromItem(p) = "" Then
p.LoadDefinitions(p.Number, FormData)
p.ClearTextures()
End If
End If
Next
Me.PokemonList = Core.Player.Pokemons
End If
End Sub

View File

@ -53,7 +53,12 @@
End If
Next
Dim PokemonID As Integer = int(argument.GetSplit(0))
Dim PokemonID As String = argument.GetSplit(0)
Dim PokemonAddition As String = "xXx"
If PokemonID.Contains("_") Then
PokemonAddition = argument.GetSplit(0).GetSplit(1, "_")
PokemonID = argument.GetSplit(0, "_")
End If
Dim Level As Integer = int(argument.GetSplit(1))
Dim catchMethod As String = "random reason"
@ -102,8 +107,8 @@
isShiny = CBool(argument.GetSplit(8))
End If
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(PokemonID)
Pokemon.Generate(Level, True)
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(int(PokemonID), PokemonAddition)
Pokemon.Generate(Level, True, PokemonAddition)
Pokemon.CatchTrainerName = catchTrainer
Pokemon.OT = Core.Player.OT
@ -878,7 +883,12 @@
End If
Next
Dim PokemonID As Integer = int(argument.GetSplit(0))
Dim PokemonID As String = argument.GetSplit(0)
Dim PokemonAddition As String = ""
If PokemonID.Contains("_") Then
PokemonAddition = argument.GetSplit(1, "_")
PokemonID = argument.GetSplit(0, "_")
End If
Dim Level As Integer = int(argument.GetSplit(1))
Dim catchMethod As String = "random reason"
@ -927,7 +937,7 @@
isShiny = CBool(argument.GetSplit(8))
End If
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(PokemonID)
Dim Pokemon As Pokemon = Pokemon.GetPokemonByID(int(PokemonID), PokemonAddition)
Pokemon.Generate(Level, True)
Pokemon.CatchTrainerName = catchTrainer

View File

@ -249,13 +249,13 @@
/processorParam:TextureFormat=Compressed
/build:Models/Environment/Test_floor/Test_floor.obj
#begin Models/Pokemon/Snorlax/Normal.fbx
#begin Models/Pokemon/143/Normal.fbx
/importer:FbxImporter
/processor:ModelProcessor
/processorParam:ColorKeyColor=0,0,0,0
/processorParam:ColorKeyEnabled=True
/processorParam:DefaultEffect=BasicEffect
/processorParam:GenerateMipmaps=False
/processorParam:GenerateMipmaps=True
/processorParam:GenerateTangentFrames=False
/processorParam:PremultiplyTextureAlpha=True
/processorParam:PremultiplyVertexColors=True
@ -266,15 +266,15 @@
/processorParam:Scale=1
/processorParam:SwapWindingOrder=False
/processorParam:TextureFormat=Color
/build:Models/Pokemon/Snorlax/Normal.fbx
/build:Models/Pokemon/143/Normal.fbx
#begin Models/Pokemon/Snorlax/Shiny.fbx
#begin Models/Pokemon/143/Shiny.fbx
/importer:FbxImporter
/processor:ModelProcessor
/processorParam:ColorKeyColor=0,0,0,0
/processorParam:ColorKeyEnabled=True
/processorParam:DefaultEffect=BasicEffect
/processorParam:GenerateMipmaps=False
/processorParam:GenerateMipmaps=True
/processorParam:GenerateTangentFrames=False
/processorParam:PremultiplyTextureAlpha=True
/processorParam:PremultiplyVertexColors=True
@ -285,7 +285,31 @@
/processorParam:Scale=1
/processorParam:SwapWindingOrder=False
/processorParam:TextureFormat=Color
/build:Models/Pokemon/Snorlax/Shiny.fbx
/build:Models/Pokemon/143/Shiny.fbx
#begin Models/Pokemon/143/Snorlax_Normal.png
/importer:TextureImporter
/processor:TextureProcessor
/processorParam:ColorKeyColor=255,0,255,255
/processorParam:ColorKeyEnabled=True
/processorParam:GenerateMipmaps=False
/processorParam:PremultiplyAlpha=True
/processorParam:ResizeToPowerOfTwo=False
/processorParam:MakeSquare=False
/processorParam:TextureFormat=Color
/build:Models/Pokemon/143/Snorlax_Normal.png
#begin Models/Pokemon/143/Snorlax_Shiny.png
/importer:TextureImporter
/processor:TextureProcessor
/processorParam:ColorKeyColor=255,0,255,255
/processorParam:ColorKeyEnabled=True
/processorParam:GenerateMipmaps=False
/processorParam:PremultiplyAlpha=True
/processorParam:ResizeToPowerOfTwo=False
/processorParam:MakeSquare=False
/processorParam:TextureFormat=Color
/build:Models/Pokemon/143/Snorlax_Shiny.png
#begin Models/SeaPlane/SeaPlane.fbx
/importer:FbxImporter

View File

@ -62,8 +62,8 @@
<None Include="Content\Models\Environment\Test_floor\Test_floor.mtl" />
<None Include="Content\Models\Environment\Test_floor\Test_floor.obj" />
<None Include="Content\Models\Environment\Test_floor\Texture\floor.tga" />
<None Include="Content\Models\Pokemon\Snorlax\Normal.fbx" />
<None Include="Content\Models\Pokemon\Snorlax\Shiny.fbx" />
<None Include="Content\Models\Pokemon\143\Normal.fbx" />
<None Include="Content\Models\Pokemon\143\Shiny.fbx" />
<None Include="Content\Models\SeaPlane\SeaPlane.fbx" />
<None Include="Content\Models\SeaPlane\SeaPlane_Propeller.fbx" />
<None Include="Content\Models\Snorlax\Normal.fbx" />
@ -94,8 +94,8 @@
<Content Include="Content\Models\building\KolbenTower.png" />
<Content Include="Content\Models\Environment\MtSilver\Gray.png" />
<Content Include="Content\Models\Environment\MtSilver\White.png" />
<Content Include="Content\Models\Pokemon\Snorlax\Snorlax_Normal.png" />
<Content Include="Content\Models\Pokemon\Snorlax\Snorlax_Shiny.png" />
<Content Include="Content\Models\Pokemon\143\Snorlax_Normal.png" />
<Content Include="Content\Models\Pokemon\143\Snorlax_Shiny.png" />
<Content Include="Content\Models\SeaPlane\SeaPlane.png" />
<Content Include="Content\Models\Snorlax\Snorlax_Normal.png" />
<Content Include="Content\Models\Snorlax\Snorlax_Shiny.png" />