Handles applying hp changes to a player pokemon. Takes care of not going below 0, above max-hp, adding FNT status correctly and updating the pokemon info. TODO: should we handle special cases like wonder-guard/shedinja?
0
FNT
the player pokemon to apply the hp change to
the hp change amount. Positive for heal. Negative for damage
Handles applying hp changes to a player pokemon. Takes care of not going below
0, above max-hp, addingFNTstatus correctly and updating the pokemon info. TODO: should we handle special cases like wonder-guard/shedinja?