Jump to content

10.5 HP Bar Glitch


Amethyst

Recommended Posts

  • Administrators

So there's a thing that seems to be happening where the HP bar gets stuck oscillating between two numbers, effectively freezing the game. This seems to be a result of the script system update which is going to make it a bit tricky to fix.

But in order to pin down what the problem is we need to identify a pattern between when it happens. So, if you encounter this error, post about it here. Useful details include when/where it happened, what Pokemon were involved, what moves, whether the broken HP bar was yours or your opponents, or anything else.

Link to post
Share on other sites

hmm, okay, so, i was battling a noibat, and it used leech seed life on my scrafty, but when it was attacking i clicked something else, pausing the game (you know)

edit: it was a wild battle

Link to post
Share on other sites

The first time it happened, It was for the first battle with Cain, my squirtle was hit by his nidoran and my HP bar was oscillating between 12 and 13.

It reoccured a lot of other times in different places, with different pokemon, different moves, and with different saves. I can't remember of a wild encounter where it happened but probably because I didn't spend a lot of time in tall grass.

Link to post
Share on other sites
  • Administrators

Finally got it myself- Against Fern (go figure)

First time- Budew against Paralyzed Snivy, Absorb, leaving Snivy at about 85% health stuck

Second time- Burned Rattata against Lotad, Tri Attack left Rattata stuck between 2-3

Recreated the scenario, using Absorb against the paralyzed Snivy and it didn't freeze

...Therefore??????? it isn't as a result of the status moves or pokemon involved. Because it's happening in both the early game and the late game it can't be because of an absolute value (crashes when 10 damage is dealt), and my own experience refutes it being a percentile value (i.e crashes when 25% damage is dealt). Type effectiveness seems to have no role... no items are involved...

trying to recreate by clicking out and pausing the game seems to have no effect either.

so what actually else could it be? grr...

edit: I wonder if it does this when it can't decide to round up or down... hm....

Link to post
Share on other sites

Got it against a trainer in the Grand Hall. His Rufflet was hit with my Onyx's smack down and Rufflet's health bar oscillated.

EDIT: And again against the same opponent (I've been doing this battle repeatedly just to see some stuff) by switching in my Onyx, taking a slash from Rufflet and alternating in HP.

Link to post
Share on other sites

I've recently restarted the game for 10.5, and I've found that it happens with my lv 5 Ekans a lot, especially when using Poison Sting. Especially when up against Fairy Type pokemon. I think it might have something to do with multipliers as, sometimes, the damage to the enemy is far more than it should be, hinting that critical hits might be a cause sometimes.

EDIT: It seems to happen more often if the attacking pokemon has an odd number for the stat used for damage calculation. Especially so if STAB or type resistance is involved.

Link to post
Share on other sites
  • Administrators

That makes sense. It seems like my last guess about it being a rounding issue was correct- it's passing down a decimal so it wants to go to a non-integer between the two numbers it jumps between. We're still working on figuring out exactly why this is happening, but for now there's probably no need to post specific instances of it anymore. I think I've gained all I can from this.

Link to post
Share on other sites
  • Administrators

Got it for sure- this happens when it tries to damage a Pokemon by a non-integer amount (i.e 10.5) damage. Not sure why it's pick decimals, but we should be able to fix this.

Link to post
Share on other sites
  • Administrators

Could somebody try putting this into the data folder, overwriting and play for a while? In theory, this fixes the HP bar glitch but I haven't had time to play enough to test for sure just yet.

Scripts.rxdata

Link to post
Share on other sites

i downloaded the file, and during the first battle with cain a message saying "HP was a float {1}" appeared when i attacked. I was able to finish the fight but when it transitioned back the game just froze and I wasn't able to do anything.

Link to post
Share on other sites

I just minding my own buisness when a drilbur aperd and attacked me. I tried to get away but the Drilbur wouldn't let me then it just Slash on my Vespiquen and it just went like "NOOOOONOOOONNNOOOONNOONNNNNNNOOOOO" on the 122 and 121. I did the same and i lost alot i didn't save. Dame.

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...