Window sizing - Printable Version +- FF6 Hacking (https://www.ff6hacking.com/forums) +-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html) +--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html) +--- Thread: Window sizing (/thread-1786.html) |
Window sizing - B-Run - 09-04-2012 I am looking for where the window sizes are defined for menu battles. Specifically Rage right now. Making a new ability that does NOT need 256 slots, and I want to reduce how many locations it allocates for the menu. Anyone with experience in menu alteration wanna give me a hand? RE: Window sizing - Angelo26 - 09-04-2012 With menu sizes in general, I have been looking for the menu sizes info for many moons now. I tried asking Lenophis, but he doesn't know either. He did suggest two things though: (1)The code is in bank C1; (2) ChrisRPG found this code before for his FF6 Retranslation project, but has since passed away. I did note that the location of the window size that holds the commands for a specific character for the status menu is here, just in case you might need it: Code: C3/5F7D: EB 5A 09 06 Just change the "09" byte to make the window longer (by extending the right border). RE: Window sizing - B-Run - 09-05-2012 Thanks. I guess I have some debugging to do. If I find it I will post it here. Didn't have much time to look today, but I did find one handy thing that might point us in the right direction. Code: C1/8269: ADFD7A LDA $7AFD This code runs every time a menu is forced to scroll. Since the window never actually changes size... there has got to be something that keeps this code from running when you've reached the end of the menu. One thing that is odd is that it runs through the same 10 bytes (2 at a time) of data at C1/8291 while it is scrolling through... Hoping to find more tomorrow. RE: Window sizing - B-Run - 09-06-2012 Found it. Notation added by me. Code: C1/8175: B91389 LDA $8913,Y (load magic menu position) Each number represents an additional line beyond the original menu. Meaning if you don't want it to scroll, simply change it to C9 00, or EA EA. The tools menu has scrolling code that never gets called because it is set at 00. I am currently trying to track down where to get rid of or alter the values for the little arrows on the side of the menu that tell you how far up/down the menu you are. |