How do you divide stat xp gains between battle participants after winning a battle in Gen 1?
Ok, I’m understanding Stat XP in Gen 1 much more so now. It now makes sense that when a Pokemon is defeated, stat xp is increased by the amount of the defeated Pokemon’s base XP for that stat. But what if multiple Pokemon participated in the battle? Does only the Pokemon that actually got the knock out increase their stat xp? Does every Pokemon get the full benefit, or those who didn’t pass the final blow only get half the benefit or something along those lines?
Pleaselog inorregisterto add a comment.
Oook. I have a proper answer this time:
https://www.mediafire.com/file/hf13h8wyhpaqcxs/rby-v1.45.txt/file
Copy pasting from the guide:
Stat Experience Gained from Battle
Stat Experience gained per stat = int(B/(N*E))
B = Base Stat of opposing Pokemon, as seen in my Pokedex. The stat used is the one you will gain stat experience in.N = Number of Pokemon who saw the defeated opposing Pokemon and are not fainted.E = 2 if carrying the Exp. All item, 1 otherwise.
If you are carrying the Exp. All item AND the Pokemon saw the defeated opposing Pokemon and is not fainted, that Pokemon has this formula multiplied by 2.
Example:
I am holding the Exp. All, and send my Pokemon, a Magikarp (why not?) into battle. Somehow, it wins, defeating a Rattata. How much stat Exp. does it gain?
Also, we must multiply the end result by 2 since I am carrying the Exp. All item, and Magikarp saw the defeated opposing Pokemon and is not fainted.
HP = 2int(B/(NE)) = 2int(30/(12)) = 30. Attack = 2int(56/(12)) = 56.
Defense = 2int(35/(12)) = 34.Etcetera for Sp. Atk, Sp. Def and Speed.
Note that Rattata’s Base Defense is 35, and we only received 34 stat experience. Due to rounding, Exp. All sometimes gives slightly less stat experience when it is used, and this is the same for standard Experience points, as seen below.
With the above in mind, the general questions.
But what if multiple Pokemon participated in the battle?The formula in words is:
(Base Stat of Opposing Pokemon) / (Number of Pokemon that Participated) * (‘EXP All Modifier’) , rounded down to the nearest integer (this is how the ‘int’ function works in Assembly,which is the language that RBY is coded in).
Thus, stat experience is divided amongst those multiple Pokemon, as is the case for normal experience.
Example:If three Pokemon contributed to a battle against a Fearow (Base attack 90), then they would all receive 30 stat experience for Attack, regardless of who landed the knockout blow.
I believe that also answers the two follow-up questions to the one above.
Hope I helped!