Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
for the item Full Restore:
if (currentHP < maxHP / 4) shouldUse = TRUE;
for other HP healing items:
healValue = how much does the item heal;
if (currentHP < maxHP / 4) OR (maxHP - currentHP > healValue) shouldUse = TRUE;
Based on disassembly
Slaking:
0|143/4 < X < 143 && 143 - X > 200
35 < X < 143 && 143 - X > 200
impossible
=> Norman's heal range is <25%HP (which==35HP)
Nosepass:
0|37/4 < X < 37 && 37 - X > 20
9 < X < 37 && 37 - X > 20
try 16
9 < 16 < 37 && 21 > 20
TRUE && TRUE
=> Nosepass heals at <=16HP (43%)
Add Comment
Please, Sign In to add comment