Jump to content

Fainted lead experience oversight: Difference between revisions

m
Style style style
>Sherkel
mNo edit summary
>Sherkel
m (Style style style)
Line 4:
 
== Cause ==
In the function that iterates through the player's party to seedetermine which Pokémon are eligible to gain experience, any that currently have 0 HP are skipped as intended. However, the listcounter beginsis initiated at the first entry in the player's party, and the counter is first incremented ''before'' that Pokémon is checked, thus effectively starting the function at the player's second Pokémon.<ref>[https://github.com/Luckytyphlosionluckytyphlosion/pokered-jp/blob/master/engine/battle/experience.asm Red and Green's experience formula]</ref>
 
== Attribution ==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.