Fainted lead experience oversight: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Sherkel mNo edit summary |
>Sherkel mNo edit summary |
||
Line 4: | Line 4: | ||
== Cause == |
== Cause == |
||
In the function that iterates 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/ |
In the function that iterates 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/Luckytyphlosion/pokered-jp/blob/master/engine/battle/experience.asm Red and Green's experience formula]</ref> |
||
== Attribution == |
== Attribution == |