The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Other Battle freeze (https://www.pokecommunity.com/showthread.php?t=380538)

Froosty October 16th, 2016 12:01 AM

Battle freeze
 
Back again with a problem!!!

My rom was working well...
then I made the following changes,
1. added name to all the added pokes (gen 4-6)
2. added all the data (stats, types and more) to all the added poke
3. then added some abilities..... (in order as in the ability resource thread) then I reached Normalize....
after adding it, i named the normalize and pixilate abilities and then gave my starter (squirtle) pixilate ability then played the game,
when playing the game.... the game freezed on using tackle but tail whil was working.... it used to happen earlier also but when i applied the physicial-special split it went normal but this time both tackle and tail whip frooze the game.... not only these two moves but every move freeze the game.....
.
.
.
I have done a lot of progress since my last backup..... It will take me lots of days to recover all these work....
..
.
any help how I can fix it :(

DizzyEgg October 16th, 2016 12:25 AM

That's what happens when you apply thousand patches and asm routines without caring what they replace, where they hook, etc. There may be a few reasons for freezing, such as:
- bad opcode; this is the easiest one to fix if you have a NoGba debugger as it should notify you at what address it happened.
- stack misalignment, wrong hook; this could happen if you have two hooks in the same place for example, much harder to find. What I would do is get rid by hooks one by one to see which one causes the freeze
- infinite loop; not really a freeze, just a loop that never ends, so the same instructions are executed
forever. Tho I don't think that's what happened to you.

Anyway my tip: erase one by one the features you added to see which one causes the problem

Froosty October 16th, 2016 4:34 AM

Quote:

Originally Posted by DizzyEgg (Post 9451564)
That's what happens when you apply thousand patches and asm routines without caring what they replace, where they hook, etc. There may be a few reasons for freezing, such as:
- bad opcode; this is the easiest one to fix if you have a NoGba debugger as it should notify you at what address it happened.
- stack misalignment, wrong hook; this could happen if you have two hooks in the same place for example, much harder to find. What I would do is get rid by hooks one by one to see which one causes the freeze
- infinite loop; not really a freeze, just a loop that never ends, so the same instructions are executed
forever. Tho I don't think that's what happened to you.

Anyway my tip: erase one by one the features you added to see which one causes the problem

Thanks for a reply though.....
But it would would still be a lot of work to know where and which hook caused the problem....
Is there any way out???

Logan October 16th, 2016 5:05 AM

Quote:

Originally Posted by The_learner (Post 9451721)
Thanks for a reply though.....
But it would would still be a lot of work to know where and which hook caused the problem....
Is there any way out???

https://www.pokecommunity.com/showthread.php?t=336092


All times are GMT -8. The time now is 9:10 AM.


Like our Facebook Page Follow us on Twitter © 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.