Substitute Doll
An Alolan Exeggutor
- 115
- Posts
- 9
- Years
- Under an alolan exeggutor
- Seen Aug 11, 2023
I've been searching and I found one, which was incorrect.
Do you guys know how?
Do you guys know how?
.equ item_limit, #0x___ //CHANGE TO ITEM LIMIT
.org 0x09A8A4:
lsl r0, r0, #0x10
lsr r0, r0, #0x10
ldr r1, =item_limit
cmp r1, r0
bge return
mov r0, #0x0
return:
bx lr
.pool
I'm guessing you already know this, but I'm quoting you just in case. I happened to be attempting to expand items in a test ROM and failed when I followed my own directions from this thread :P If you directly followed what I said, you probably would have had image errors for items beyond ~188. When I first expanded items, I made a little notepad file. I very intelligently wrote "img pal pointers" instead of the far more useful "image AND palette" pointers. So that second table is actually 8 bytes for each item. Hope that didn't cause issues! I've amended my earlier post.Thanks! I'll be sure to keep this handy.
Actually, I never knew this, I just wanted to know how.I'm guessing you already know this, but I'm quoting you just in case. I happened to be attempting to expand items in a test ROM and failed when I followed my own directions from this thread :P If you directly followed what I said, you probably would have had image errors for items beyond ~188. When I first expanded items, I made a little notepad file. I very intelligently wrote "img pal pointers" instead of the far more useful "image AND palette" pointers. So that second table is actually 8 bytes for each item. Hope that didn't cause issues! I've amended my earlier post.
what exactly is your issue that you are having?Any way I could get help with this, It's not wanting to work.