DaWoblefet

HP percent indicator research

May 7th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. HP bar horizontal length in USUM is 86 pixels; in SM, it is 99 pixels. Pokemon uses school rounding (round up on >= 0.5, round down on < 0.5) for determining how many pixels should be drawn relative to that Pokemon's HP. For example, 684/688 HP is 86/86 pixels, but 683/688 HP is 85/86 pixels. You can use ratios to generalize this:
  2.  
  3. current HP current pixels
  4. __________ = ______________
  5. total HP 86
  6.  
  7. For the following tests, I used a level 92 Blissey that had 600 total HP, Wi-Fi Singles No Restrictions.
  8.  
  9. The HP bar turns different colors based on % HP. This is independent of current pixel length (for example, 43/86 pixels could represent a yellow or green HP bar)
  10. 301/600 - Green
  11. 300/600 - Yellow
  12. 121/600 - Yellow
  13. 120/600 - Red
  14.  
  15. Conclusion:
  16. Green: 50% < x <= 100%
  17. Yellow: 20% < x <= 50%
  18. Red: 0% < x <= 20%
  19.  
  20. Messages that appear upon switching in are based on % HP. These only occur in Single Battles.
  21.  
  22. 486/600 - Go! Pokemon!
  23. 483/600 - Go! Pokemon!
  24. 482/600 - Go! Pokemon!
  25. 481/600 - Go! Pokemon!
  26. 480/600 - Go! Pokemon!
  27. 479/600 - Go! Pokemon!
  28. 476/600 - Go! Pokemon!
  29. 475/600 - Go! Pokemon!
  30. 474/600 - Go! Pokemon!
  31. 473/600 - Go! Pokemon!
  32. 472/600 - Go! Pokemon!
  33. 471/600 - Go! Pokemon!
  34. 470/600 - Go! Pokemon!
  35. 467/600 - Go! Pokemon!
  36. 466/600 - Go! Pokemon!
  37. 465/600 - Go! Pokemon!
  38. 464/600 - You're in charge, Pokemon!
  39. 463/600 - You're in charge, Pokemon!
  40. 456/600 - You're in charge, Pokemon!
  41. 450/600 - You're in charge, Pokemon!
  42. 400/600 - You're in charge, Pokemon!
  43. 350/600 - You're in charge, Pokemon!
  44. 330/600 - You're in charge, Pokemon!
  45. 329/600 - Go for it, Pokemon!
  46. 320/600 - Go for it, Pokemon!
  47. 309/600 - Go for it, Pokemon!
  48. 301/600 - Go for it, Pokemon!
  49. 292/600 - Go for it, Pokemon!
  50. 290/600 - Go for it, Pokemon!
  51. 240/600 - Go for it, Pokemon!
  52. 226/600 - Go for it, Pokemon!
  53. 220/600 - Go for it, Pokemon!
  54. 219/600 - Go for it, Pokemon!
  55. 218/600 - Go for it, Pokemon!
  56. 210/600 - Go for it, Pokemon!
  57. 208/600 - Go for it, Pokemon!
  58. 207/600 - Go for it, Pokemon!
  59. 201/600 - Go for it, Pokemon!
  60. 200/600 - Go for it, Pokemon!
  61. 199/600 - Go for it, Pokemon!
  62. 198/600 - Go for it, Pokemon!
  63. 197/600 - Go for it, Pokemon!
  64. 196/600 - Go for it, Pokemon!
  65. 195/600 - Go for it, Pokemon!
  66. 194/600 - Just a little more! Hang in there, Pokemon!
  67. 186/600 - Just a little more! Hang in there, Pokemon!
  68. 182/600 - Just a little more! Hang in there, Pokemon!
  69. 108/600 - Just a little more! Hang in there, Pokemon!
  70. 107/600 - Just a little more! Hang in there, Pokemon!
  71. 139/600 - Just a little more! Hang in there, Pokemon!
  72. 119/600 - Just a little more! Hang in there, Pokemon!
  73. 84/600 - Just a little more! Hang in there, Pokemon!
  74. 76/600 - Just a little more! Hang in there, Pokemon!
  75. 75/600 - Just a little more! Hang in there, Pokemon!
  76. 72/600 - Just a little more! Hang in there, Pokemon!
  77. 71/600 - Just a little more! Hang in there, Pokemon!
  78. 67/600 - Just a little more! Hang in there, Pokemon!
  79. 66/600 - Just a little more! Hang in there, Pokemon!
  80. 63/600 - Just a little more! Hang in there, Pokemon!
  81. 62/600 - Just a little more! Hang in there, Pokemon!
  82. 61/600 - Just a little more! Hang in there, Pokemon!
  83. 60/600 - Just a little more! Hang in there, Pokemon!
  84. 59/600 - Your opponent's weak! Get 'em, Pokemon!
  85. 49/600 - Your opponent's weak! Get 'em, Pokemon!
  86. 47/600 - Your opponent's weak! Get 'em, Pokemon!
  87.  
  88. Conclusion:
  89. "Go! <Pokemon>!": 77.5-100%
  90. "You're in charge, <Pokemon>!": 55% <= x < 77.5%
  91. "Go for it, <Pokemon>! ": 32.5% <= x < 55%
  92. "Just a little more! Hang in there, <Pokemon>!": 10% <= x < 32.5%
  93. "Your opponent's weak! Get 'em, <Pokemon>!": 0 < x < 10%
  94.  
  95. Messages upon switching out (e.g. "Good job <Pokemon>"! Come back!") do not appear in Wi-Fi battles. Curiously, they will appear in Battle Videos.
Add Comment
Please, Sign In to add comment