10
edits
Line 37: | Line 37: | ||
====HP bar animation==== | ====HP bar animation==== | ||
A Pokémon with 49 {{stat|HP}} or more will deplete the HP bar at a slower rate than intended when taking damage. Due to an issue with the order of the code within the game, a value that would help to set a delay that was partially dependent on the maximum HP of the Pokémon instead | A Pokémon with 49 {{stat|HP}} or more will deplete the HP bar at a slower rate than intended when taking damage. Due to an issue with the order of the code within the game, a value that would help to set a delay that was partially dependent on the maximum HP of the Pokémon, sets instead a constant delay that does not change with different HP values. This results in extra delays in the animation updating and prolongs the animation of the bar dropping. | ||
A Pokémon with 48 HP or less is not affected as each HP is equal to one or more pixels of the HP bar, thus skipping any delay. | A Pokémon with 48 HP or less is not affected as each HP is equal to one or more pixels of the HP bar, thus skipping any delay. |
edits