Changing the MP Needed in battle window - 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: Changing the MP Needed in battle window (/thread-3152.html) |
Changing the MP Needed in battle window - mrTentacle - 02-27-2016 Hi all! Long time lurker, I'm working on fixing an old ff6 translation. How do you change the mp "Needed" text from the magic menu in battle? Found this bit over at datacrystal: Code: Data: "nnn/nnn MP needed" 16 17 17 18 17 18 N e e d e d Changing these values is really weird, can't find anything beyond 0-9 and the letters NMPX. Any help is appreciated RE: Changing the MP Needed in battle window - madsiur - 02-28-2016 You are right. The "MP needed" string has its own limited table. I'm not sure what you could do to able to modify this, like using the same functions that the menus strings and be able to use more characters. I'm kinda illiterate when it comes to how the game handles fonts/string. Code: 08=0 RE: Changing the MP Needed in battle window - dn - 02-28-2016 The only answer I can think of would be to make it use the same routine (or a copy thereof) used for character names. RE: Changing the MP Needed in battle window - mrTentacle - 12-22-2016 I'm back on this again, is it known how/where the table is set? I've confirmed that it uses the regular fixed size font, but for some weird reason not the entire thing just these few letters. The code http://datacrystal.romhacking.net/wiki/Final_Fantasy_VI:ROM_map/Assembly_C14 search for: Data: "nnn/nnn MP needed" RE: Changing the MP Needed in battle window - madsiur - 12-22-2016 The game make the conversion when loading ATB characters at C1/40CB. At the same time it load the FWF letters of the "Display MP" table (C1/3FD5). By replacing FWF letters ID taken from the reference table (see below) and changing the data you posted, you can form a new word. In the same logic, relocating this table could allow you to expand it with other code modifications. Digits (MP display) are not treated here. Code: Data: ATB characters in the FWF Reference Table Code: 80=A RE: Changing the MP Needed in battle window - mrTentacle - 12-23-2016 Thanks! that's just what I was looking for Yup, that did it, had to redo the entire string and the string before that says MP, for some reason the table cant be to long so I had to remove the extra MHP letters. Thanks again! RE: Changing the MP Needed in battle window - madsiur - 12-23-2016 (12-23-2016, 08:36 AM)mrTentacle Wrote: Yup, that did it, had to redo the entire string and the string before that says MP, for some reason the table cant be to long so I had to remove the extra MHP letters. If really the need, the whole table, including ATB characters could be relocated in another bank. There would be enough room for 14 characters (see here). All the code changes needed would be this: Code: C1/40CB: BFCB3FC1 LDA $C13FCB,X ; Load font character from table Also, I wonder if the devs considered at some point a form of ability that consume HP, since the H is not used at all. I think the main menu in battle use directly the whole FWF table.. |