v18 Forms in trainer PBS when using two pokemons on the same species

This thread pertains to v18 of Pokémon Essentials.

Simeo

Normal-Type Self Proclamed Expert
Member
Joined
Jul 25, 2018
Posts
35
Age
25
Hey ! Just dropping it here. I tried to make brock have two pokemon of the same species but with a different form, as you can check it there

[LEADER_Brock,Brock]
Items = FULLRESTORE,FULLRESTORE
LoseText = "Very good."
Pokemon = HYPNO,85
Gender = male
Moves = DEFENSECURL,HEADSMASH,ROCKPOLISH,ROCKTHROW
Ability = 0
IV = 20
Pokemon = HYPNO,90
Name = Rocky
Gender = male
Shiny = yes
Moves = HEADSMASH,ROCKTHROW,RAGE,ROCKTOMB
Ability = 0
Form = 2
Item = SITRUSBERRY
IV = 20
Ball = 19

And he ends up with two hypnos from the second form. I think the interpreter takes the form argument and implants it to every possible pokemon in the trainer. Nothing big deal but still dropping it there.
Thanks ! Your work is awesome !
 

Maruno

Pokémon Essentials dev
Essentials Developer
Joined
Apr 5, 2017
Posts
379
Don't do that. The "Form" property exists for a reason. Simeo's analysis of the problem is inaccurate.
 

Simeo

Normal-Type Self Proclamed Expert
Member
Joined
Jul 25, 2018
Posts
35
Age
25
Okay, sorry, the error comes from me. I tested again with Lycanroc since it's the one I modified, and it works fine. I don't know why tho, because I litteraly just took rockruff / lycanroc codes and changed to hypno instead. But anyway, it's not an essentials bug so it's fine :3
I'm sorry for the inconvenience, tho.
 
Top