![]() |
Issue when trying to use HMS
So every time I try and use an HM the player just freezes when doing the animation. I've checked in IDB and clean ROMS to find any issues with the HM routines but have found none. The only thing I can think of is the animation that loads the black bar on the screen, but I haven't found that routine yet. I can upload a patch if it's needed.
Any help would be much appreciated! http://i.imgur.com/GEsrcUu.pnghttp://i.imgur.com/DJDvvo0.png EDIT: Removed the black bar completely and no change. |
Quote:
what do you mean by "when doing the animation?" |
Quote:
https://youtu.be/TQa6ZbV0lyY?t=211 ^This animation. it freezes right when that starts so I'm thinking thats the problem but haven't found the source. |
Maybe spherical ice know something because he has added dirty water and it is surfable too.
|
Quote:
|
Then it means theres a problem with the repointing?
|
Quote:
|
It's hard to deduce from just that information. Is it a soft lock, or is it frozen in a specific instruction?
Open the game in VBA/VBM something with a disassembler -> check what R14 is What changes have you made to HMs/TMs, have you changed/repointed the item table? There's a lot that could be wrong. |
Are you using JPANs hacked engine?
|
Quote:
AFAIK none, other than the flag check for HMs. I did enter the surf script and change doanimation to 0x8 and there was no freeze, so its animation 9 thats causing it? Quote:
|
Quote:
|
Quote:
|
Quote:
tell me if it freezes |
Quote:
|
Quote:
Check if 083CC154 - 083CC168, bytes are identical. If they are, notice that this is a table of functions, you should check each function and see if any of them have been modified. |
Quote:
Heres a ups file and save file https://www.mediafire.com/?cmw3t5e17nbs3s7 |
Quote:
Disclaimer: I am not implying or forcing anyone to break any rules by PMing me a ROM instead. |
Quote:
|
So I downloaded the patch and patched it, like a normal person would.
I don't have the time to invest in discovering the source of the issue, but the issue is that the game is freezing on 08063D7C. The bit should be cleared when an animation has finished, but it's not. I believe one of your movement commands are bugged, or some hack effecting NPCs has been hacked incorrectly or poorly. I tried to nop the function in my debugger, as well as a couple more things and the animation played fine. This suggests there is nothing wrong with the animation in general, but the NPC_states bitfield is not being reset correctly. Please review any new hacks you've inserted that effect NPC animations, repointing any gender determined tables and anything effecting the NPC states bitfield. While you could nop these out yourself, it's obviously not a healthy solution, as it breaks other parts of the game. |
Quote:
|
Quote:
Try to do applymovement 0x45 and see if it works. This is the movement which the player does the Pokeball effect I believe. |
Quote:
I've managed to completely remove Jpan's OW hack but that hasn't changed anything. |
Quote:
|
Quote:
|
Quote:
|
| All times are GMT -8. The time now is 9:11 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.