I don’t have any ASM knowledge, but I’m willing to learn. How can I add more affinity types?
I look through related threads and find that after installing the Skill Systems patch, adding affinity icons becomes difficult. This is because the indices from 7 onward correspond to system icons, and beyond that are garbled images that I can’t make sense of. Is there any way to solve this (i.e., add new affinity icons)?
The reason is that the location pointed to by IMAGE_POINTER needs to be read as a normal 4bpp image; if LZ77-compressed data is inserted, FEBuilder will mistakenly treat the compressed data as pixel data, so the preview will be garbled.
Record the ROM address after EA insertion
For example, the EA log:
0xB8867C@664 Write: Event added by assembler
The image start location is:
0xB8867C
As a GBA pointer, you can write:
0x08B8867C
Modify the AffinityIcons patch
Change the image-related parameters to:
IMAGE_POINTER=0x08B8867C
HEIGHT=128
Keep the palette address as the original:
PALETTE_ADDRESS=0x599714
Or fill it in according to the field names originally used by the patch. Do not change the field names yourself.