Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-11-13 21:11:22

Frezgle
Member
Registered: 2011-05-30
Post 22/23

PokeRed Sprite Replacement Problem

Hey.
So, I'm trying to replace a 5x5 sprite with a 6x6, and I'm getting this error when trying to compile the ROM:

C:\cygwin64\usr\local\bin\rgblink.exe: Unable to load fixed ROMX section into bank $09
make: *** [Makefile:47: pokered.gbc] Error 1

I'm assuming this is because there's not enough room in the bank to accomodate the new sprite.
Am I meant to specify a new bank to put the sprite in when this happens? I tried moving it to a different bank in the main.asm file but that just gave me more errors.

Offline

#2 2016-11-13 21:42:12

Mmmmmm
Member
From: West Virginia
Registered: 2015-05-17
Post 159/252

Re: PokeRed Sprite Replacement Problem

If you create a new ROMX section and don't specify a bank, the compiler will automatically move it to a bank with free space. Making a new section would look like

SECTION "New Section", ROMX

With "New Section" being whatever you want to name that section in your project.

Offline

#3 2016-11-13 21:58:07

Frezgle
Member
Registered: 2011-05-30
Post 23/23

Re: PokeRed Sprite Replacement Problem

That was so much simpler than I assumed it'd be... Thanks!
I'm now getting a garbled sprite in-game, which I'm guessing is the same issue as described in https://hax.iimarck.us/post/41557/#p41557 ?

Offline

Board footer

Powered by FluxBB