News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Equip Screen Junk

Started by Mentlegen, November 24, 2018, 07:57:43 PM

Previous topic - Next topic

Mentlegen

the cursor on the equip screen is a sprite. I believe that the routine at 82:A881 is the routine that draws it. There is a list of positions at $82:C196.

There are two different sizes for the cursor box. 5 tiles and 9 tiles.

how does the game change which size it is?


Quote58

there's a two step table of sprite tilemaps that the pause screen uses to draw sprites, and there's an address that is used as an index into that table which is updated to determine which state the cursor should be in.

I have the routines for all this stuff disassembled, but I'm busy atm and that info should be enough to go on anyway

Mentlegen

Quote from: Quote58 on November 25, 2018, 03:42:15 PM
there's a two step table of sprite tilemaps that the pause screen uses to draw sprites, and there's an address that is used as an index into that table which is updated to determine which state the cursor should be in.

I have the routines for all this stuff disassembled, but I'm busy atm and that info should be enough to go on anyway

sounds cool

do you mind sending me your disassembly once you have a bit of spare time? I would greatly appreciate it.

Quote58

I'll have to dig around in my files to find it, and I'll do that eventually if you haven't figured it out, but I'm really busy these days so it's not a priority. I already explained how it works, and you have the routine, so you have everything you need to do it yourself.

I strongly suggest that you take initiative and use the info to guide your disassembling of the routine so you don't have to rely on someone else to find the answer by going through their old files.