You are not logged in.
I have done my best to try to make sure my banks are all 0x4000 or fewer bytes (since obviously anything larger gives an error) but now I'm getting the following error:
error: Unable to place 'Battle (BANK B)' (ROMX section) at $7D5F in bank $0B
I've tried everything I know how and I'm just not getting anywhere. I also checked a few of the forum posts here about adding pokemon since it figured it would come up with similar errors, but I haven't found anything. Why does battle bank b NEED to be at $7D5F? Is it a wRam thing?
EDIT: This error arose after I moved around some sprites because of this:
Section 'Pics 4' is too big (max size = 0x4000 bytes).
I moved 2 sections, Starmie and Pidgeot out of Pics 4 and moved them to Pics 5 since it was so much smaller. That's what seems to have caused THIS error.
Last edited by Mallos31 (2018-12-31 17:36:33)
Responding instead of quoting just in case someone ends up with the same errors as me. I figured it out. When those errors are present, they are exactly the same as the "too big (max size = 0x4000 bytes)" error. I was able to easily fix it by moving some sprite data down into a new bank I created, Bank 1F. Worked just fine. If this information is incorrect please feel free to update it and correct it.
EDIT: ABSOLUTELY DO NOT DO WHAT I DID. I didn't get any errors, but... something went horribly wrong.
SOME pokemon look good. They look fine. No problem. MOST of the pokemon look awful. They are corrupted and though the game works jut fine, the pokemon themselves look like glitchy blocks. Help?
Last edited by Mallos31 (2019-01-01 08:44:50)
Yes, this is a well known problem. The banks that the game will go looking in to find Pokemon front/back pics are hard-coded.
So if you move a pic to a different bank, the game is still hard-coded to look in the original bank.
To fix this, you need to update the culprit routine so it looks up the bank number dynamically and is no longer hard-coded.
Read through this thread for a full explanation:
I swear, some of the routines they used were like they were trying to make a romhack. Thanks for the info. I'll read up.
Haha yes it does feel that way.
In case you overlooked it, check out my reply in your other thread.