Jump to content

Fainted lead experience oversight: Difference between revisions

m
no edit summary
>Sherkel
(Cause)
>Sherkel
mNo edit summary
Line 4:
 
== Cause ==
In the function that loopsiterates through the player's party to see which Pokémon are eligible to gain experience, any that currently have 0 HP are skipped, as intended. However, the list begins 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.