Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2012-10-25 15:33:37

Gallego13
Member
Registered: 2011-12-11
Post 67/94

The game crashes when I enter a battle

I have a very serious problem. Two weeks away from releasing Beta 1, I've discovered a bug that makes the game crash and blackout everytime I enter a battle (happens in both, wild and trainer battles).
¿What is making this?
I need to fix it soon, so if anyone knows how to fix it or could see the ROM to search for the bug, please help me.

Thanks and please, reply D:

Offline

#2 2012-10-25 15:54:54

Mateo
Member
From: The Sims 4
Registered: 2009-11-25
Post 1,748/3,471

Re: The game crashes when I enter a battle

I'm not sure what would be causing that. Do you have a recent backup that doesn't have the bug that you could do a comparison with to check for changes you don't recognize?

Online

#3 2012-10-25 16:16:10

Miksy91
Member
Registered: 2010-10-16
Post 1,195/2,308

Re: The game crashes when I enter a battle

If you don't have a backup, you can start "forking" (this is what they call when doing in it mathematics while trying to find the x-intercept for a function for instance). Basically, you can use your hex editor's copy --> paste functions and copy --> paste whole rom banks to your edited version that has the bug in it (of course by making several backups of it first that you won't possibly lose the current version with the bug in it).

Keep doing this, first with for example packs of 10 rom banks (0x40000) bytes to see when you find the area, for example between 0x40000-0x80000 where the bug is, then check whether the bug is between 0x40000-0x60000 or 0x60000-0x80000 and so on.

Eventually (won't take that long to tell you the truth), you'll get pretty close to finding out where the corruption in code is and change it back to what it normally was.

Offline

#4 2012-10-25 17:20:53

comet
Member
Registered: 2012-04-09
Post 23/673

Re: The game crashes when I enter a battle

Bank F ($3C000-$3FFFF) contains battle init.

Offline

#5 2012-10-25 17:25:17

Gallego13
Member
Registered: 2011-12-11
Post 68/94

Re: The game crashes when I enter a battle

Thanks, that should work, I'll try copy-pasting bank F as comet says and if it doesn't work, I'll try with the others. Thanks for giving such an easy solution, I'll reply soon to tell if it worked ;)

Offline

#6 2012-10-26 14:13:43

Gallego13
Member
Registered: 2011-12-11
Post 71/94

Re: The game crashes when I enter a battle

I can't find the bug!
I copied and pasted every bank and it didn't work...
Here is my ROM, please check it and help me :P

Also, when the guy at Route 1 asks you to learn catching Pokémon, say no because it's an incomplete script and continue until the next town, the pick a starter and try a wild battle. It will freeze and all the screen turns black except for some sprites.

Offline

#7 2012-10-30 15:19:07

Gallego13
Member
Registered: 2011-12-11
Post 76/94

Re: The game crashes when I enter a battle

Still needing help :(
I've just copied and pasted all pokémon related banks again from a clean ROM and it's still blacking out D:
¿Can anyone help me?

Offline

#8 2012-11-05 07:26:19

Gallego13
Member
Registered: 2011-12-11
Post 79/94

Re: The game crashes when I enter a battle

@Chowdit2: Pokémon Gold (U)

Offline

#9 2012-11-05 13:53:23

Gallego13
Member
Registered: 2011-12-11
Post 80/94

Re: The game crashes when I enter a battle

Nope, crashes on any pokémon.

Offline

Board footer

Powered by FluxBB