I did some research on healing moves and effects.
The following effects floor decimals on their healing (round down / truncate the decimals):
floor(maximumHP / 16) - Grassy Terrain, Leftovers, Black Sludge (Poison-type), Ingrain, Aqua Ring, Rain Dish, Ice Body
floor(maximumHP / 8) - Leech Seed (the amount of HP sapped from the target), Dry Skin (rain), Poison Heal, Shell Bell (sums the total damage the move dealt to all targets, then divides by 8)
floor(maximumHP / 4) - Sitrus Berry, Enigma Berry, Present, Volt Absorb, Water Absorb, Dry Skin (Water-type move)
floor(maximumHP / 3) - Cheek Pouch, Regenerator
floor(maximumHP / 2) - super Sitrus Berries, Pollen Puff, Wish, Purify
The following effects use normal rounding with decimals on their healing (follow normal rounding rules, i.e. round up on 0.5):
normalRound(maximumHP / 2) - Heal Order, Milk Drink, Recover, Roost, Slack Off, Soft-Boiled, Heal Pulse, Floral Healing
normalRound(maximumHP / 2) - Absorb, Drain Punch, Dream Eater, Giga Drain, Horn Leech, Leech Life, Mega Drain, Parabolic Charge
normalRound((maximumHP * 3) / 4) - Draining Kiss, Oblivion Wing
The following effects pokeRound their healing (follow normal rounding rules, but round
down on 0.5)
pokeRound(maximumHP / 2) - Morning Sun, Moonlight, Synthesis, Shore Up, Swallow (2 Stockpiles)
pokeRound(maximumHP / 4) - Morning Sun, Moonlight, Synthesis (in rain/hail/sand), Swallow (1 Stockpile)
pokeRound((maximumHP * 2732) / 4096) - Morning Sun, Moonlight, Synthesis (in sun), Shore Up (in sand), Floral Healing (with Grassy Terrain)
pokeRound((maximumHP * 3) / 4) - Heal Pulse (Mega Launcher)
Big Root -
pokeRound((normallyRecoveredHP * 5324) / 4096). Determine the amount of HP recovered by the draining move/effect normally, then apply Big Root's multiplier with the given formula. The following are affected by Big Root: Leech Seed, Strength Sap, Absorb, Drain Punch, Dream Eater, Giga Drain, Horn Leech, Leech Life, Mega Drain, and Parabolic Charge.
Pain Split - Sums both the user and target's HP, then sets both the user and target's HP to
floor((userHP + targetHP) / 2).
Swallow (with 3 Stockpiles) - heals the user by its maximum amount of HP.
Rest / Healing Wish / Z-Parting Shot - heals the user to its maximum amount of HP.
Liquid Ooze - instead of healing HP, deal the exact damage the target would have recovered instead (so for example, Liquid Ooze accounts for the boost from Big Root).
When dealing with hacked HP stats, SadisticMystic summarized their behavior as follows:
"If anything tries to heal from full health, it doesn't; otherwise if heal amount + current HP (16-bit) fits within the max HP bar, set the new HP to that, otherwise recover to full"
Click to expand...Click to collapse...
Tests done to come to these conclusions
Morning Sun, Moonlight, Synthesis, Purify, Shore Up, Wish - recovered 79 HP on 159 HP Smeargle.
Heal Order, Milk Drink, Recover, Roost, Slack Off, Soft-Boiled - recovered 80 HP on 159 HP Smeargle.
Heal Pulse, Floral Healing (no Grassy Terrain) - restored 80 HP to a 159 HP Smeargle.
Pollen Puff - restored 79 HP to a 159 HP Smeargle.
Present - restored 39 HP to a 159 HP Smeargle.
Floral Healing (Grassy Terrain) - restored 106 HP to a 159 HP Smeargle.
Floral Healing (Grassy Terrain) - restored 105 HP to a 158 HP Smeargle.
Floral Healing (Grassy Terrain) - restored 105 HP to a 157 HP Smeargle.
Floral Healing (Grassy Terrain) - recovered 344 HP on 515 HP Blissey (via Snatch).
Floral Healing (Grassy Terrain) - recovered 341 HP on 512 HP Blissey (via Snatch).
Swallow (1 Stockpile) - restored 40 HP to a 159 HP Smeargle.
Swallow (1 Stockpile) - restored 39 HP to a 158 HP Smeargle.
Swallow (2 Stockpile) - restored 79 HP to a 159 HP Smeargle.
Leftovers - restored 9 HP to a 159 HP Smeargle.
Aqua Ring - restored 9 HP to a 159 HP Smeargle.
Ingrain - restored 9 HP to a 159 HP Smeargle.
Ice Body - restored 9 HP to a 159 HP Bergmite.
Rain Dish - restored 11 HP to a 186 HP Blastoise.
Dry Skin (rain) - restored 19 HP to a 159 HP Toxicroak.
Dry Skin (Water-type move) - restored 39 HP to a 159 HP Toxicroak.
Leech Seed - stole 19 HP from a 159 HP Smeargle.
Grassy Terrain - restored 9 HP to a 159 HP Smeargle.
super Sitrus Berry - restored 87 HP to a 175 HP Tapu Fini.
Sitrus Berry - restored 43 HP to a 175 HP Tapu Fini.
Regenerator - restored 73 HP to a 221 HP Amoonguss.
Black Sludge - restored 11 HP to a 187 HP Grimer.
Volt Absorb - restored 36 HP to a 155 HP Thundurus-T.
Water Absorb - restored 32 HP to a 131 HP Poliwhirl.
Poison Heal - restored 19 HP to a 159 HP Gliscor
Mega Launcher Heal Pulse - restored 131 HP to a 175 HP Tapu Fini
Mega Launcher Heal Pulse - restored 118 HP to a 158 HP Smeargle
Mega Launcher Heal Pulse - restored 118 HP to a 157 HP Smeargle
Enigma Berry - restored 38 HP to a 155 HP Dedenne
Cheek Pouch - restored 51 HP to a 155 HP Dedenne
In rain:
Morning Sun, Moonlight, Synthesis - recovered 40 HP on 159 HP Smeargle.
Shore Up - recovered 79 HP on 159 HP Smeargle.
In sun:
Morning Sun, Moonlight, Synthesis - recovered 106 HP on 159 HP Smeargle.
Morning Sun, Moonlight, Synthesis - recovered 105 HP on 158 HP Smeargle.
Morning Sun, Moonlight, Synthesis - recovered 105 HP on 157 HP Smeargle.
Shore Up - recovered 79 HP on 159 HP Smeargle.
Morning Sun, Moonlight, Synthesis - recovered 344 HP on 515 HP Blissey (via Snatch).
Morning Sun, Moonlight, Synthesis - recovered 341 HP on 512 HP Blissey (via Snatch).
In sand:
Morning Sun, Moonlight, Synthesis - recovered 40 HP on 159 HP Smeargle.
Shore Up - recovered 106 HP on 159 HP Smeargle.
Shore Up - recovered 105 HP on 158 HP Smeargle.
Shore Up - recovered 105 HP on 157 HP Smeargle.
Shore Up - recovered 344 HP on 515 HP Blissey (via Snatch).
Shore Up - recovered 341 HP on 512 HP Blissey (via Snatch).
In hail:
Morning Sun, Moonlight, Synthesis - recovered 40 HP on 159 HP Smeargle.
Shore Up - recovered 79 HP on 159 HP Smeargle.
In strong winds:
Morning Sun, Moonlight, Synthesis - recovered 79 HP on 159 total HP Smeargle.
Shore Up - recovered 79 HP on 159 total HP Smeargle.
Draining moves:
Absorb - dealing 11 damage yielded 6 HP of recovery.
Drain Punch - dealing 11 damage yielded 6 HP of recovery.
Dream Eater - dealing 11 damage yielded 6 HP of recovery.
Giga Drain - dealing 11 damage yielded 6 HP of recovery.
Horn Leech - dealing 11 damage yielded 6 HP of recovery.
Leech Life - dealing 11 damage yielded 6 HP of recovery.
Mega Drain - dealing 11 damage yielded 6 HP of recovery.
Draining Kiss - dealing 11 damage yielded 8 HP of recovery.
Draining Kiss - dealing 13 damage yielded 10 HP of recovery.
Draining Kiss - dealing 14 damage yielded 11 HP of recovery.
Oblivion Wing - dealing 11 damage yielded 8 HP of recovery.
Oblivion Wing - dealing 13 damage yielded 10 HP of recovery.
Oblivion Wing - dealing 14 damage yielded 11 HP of recovery.
Oblivion Wing - dealing 22 damage yielded 17 HP of recovery.
Parabolic Charge - dealing 9 damage to an ally, 13 damage and 11 damage to an opponent: recovered 3 instances of 5 HP, 7 HP, and 6 HP.
Liquid Ooze - using Mega Drain dealing 11 damage to Liquid Ooze yielded 6 HP of damage recoil.
Liquid Ooze - triggers on Strength Sap.
Liquid Ooze - does not trigger on Shell Bell.
Liquid Ooze - Big Root Oblivion Wing dealing 11 damage to Liquid Ooze yielded 10 HP of damage recoil.
Shell Bell - dealing 11 damage yielded 1 HP of recovery.
Shell Bell - dealing 13 damage yielded 1 HP of recovery.
Shell Bell - dealing 52 damage yielded 6 HP of recovery.
Shell Bell - using Earthquake to deal 282, 158, and 13 damage resulted in recovering a single instance of 56 HP of recovery.
Shell Bell - using Rock Blast to deal 40, 40, 42, and 24 resulted in recovering a single instance of 18 HP of recovery.
Shell Bell - using Rock Blast to deal 13, 13, and 1 damage resulted in recovering a single instance of 3 HP of recovery.
Shell Bell - using Rock Blast to deal 11, 11, and 1 damage resulted in recovering a single instance of 2 HP of recovery.
Big Root - Big Root Oblivion Wing dealing 11 damage yielded 10 HP of recovery.
Big Root - Big Root Oblivion Wing dealing 13 damage yielded 13 HP of recovery.
Big Root - Big Root Oblivion Wing dealing 1 damage yielded 1 HP of recovery.
Big Root - Big Root Oblivion Wing dealing 31 damage yielded 30 HP of recovery.
Big Root - Big Root Oblivion Wing dealing 309 damage yielded 302 HP of recovery.
Big Root - Big Root Leech Seed, stole 35 HP from a 282 HP Pokemon and recovered 45 HP.
With special thanks to assistance from SadisticMystic:
Tests done by SadisticMystic
Big Root - Big Root Oblivion Wing in Wonder Room brought a 683 HP Chansey down to Focus Sash, as a result dealing 682 damage. The Oblivion Wing user recovered 665 HP.
Parabolic Charge - OHKOing an 11 HP Cottonee, 141 HP Kecleon, and 153 HP Gengar with a single Parabolic Charge resulted in three separate, independent "drained health from" messages for 6 HP, 71 HP, and 77 HP.
Shell Bell - HP recovery comes after health recovered from a draining move (e.g. Giga Drain will recover HP, then Shell Bell will have the chance to restore HP). OHKOing an 11 HP Cottonee, 141 HP Kecleon, and 153 HP Gengar yielded a single instance of recovery: 38 HP.
Interactions with hacked HP stats:
- 43690/43692 HP using Moonlight out of sun "recovers" to 0 HP and faints.
- 24750/33000 HP using Moonlight in sun recovers to 33000 HP.
- A Pokemon with 1539 max HP using Moonlight in sun recovers 1027 HP.
- 49151/49152 HP using Rest recovers to 49152 HP.
- Z-Parting Shot and Healing Wish have the same behavior as Rest (no overflow).
- 49151/49152 HP using Swallow with 3 Stockpiles "recovers" to 32767 HP (49152+49151 = 98302, which overflows to 32767).
- Pain Split between 100 HP and 65500 HP averages both the user and target's HP to 32800.
- 65499/65500 HP with Leftovers "recovers" to 4056 HP. (This is because floor(65500/16) = 4093, and 4093 + 65499 = 69592 which overflows to 4056).
- 61681/61682 with Leftovers "recovers" to 0 HP and faints.