Users browsing this thread: 1 Guest(s)
MP Cost - The Lost 3rd digit

#21
Posts: 2,549
Threads: 98
Thanks Received: 147
Thanks Given: 159
Joined: Aug 2009
Reputation: 52
Status
Nattak\'d
Menu/window stuff is taken care of in C3 bank.

C3/5203: A0915C LDY #$5C91 (Address at which you find the word "Lore")
C3/52E8: A0B85C LDY #$5CB8 (Address at which you find the word "SwdTech")
C3/539B: A0985C LDY #$5C98 (Address at which you find the word "Rage")
C3/5460: A0A75C LDY #$5CA7 (Address at which you find the word "Espers")
C3/55DE: A0B05C LDY #$5CB0 (Address at which you find the word "Blitz")
C3/577E: A09F5C LDY #$5C9F (Address at which you find the word "Dance")

Those are the pointers to that small mp cost/ability name window where the text overflow can happen. You'll just need to re-point those to free space at the end of C3 so you can then add 'FF' byte(s) after the names that are not 7 characters max as a buffer to prevent the 3rd digit text overflow issue. Normally the ability names are directly back to back despite how many characters they use, which is the reason for needing to relocate them.

You'll need to use the 'battle' table file to view the names correctly in the hex editor. They are normally located at C3/5C91, starting with Lore, you'll see all the ability names that go in that small window there, starting with a '3B' right before them.

You can/should still only use 7 characters max, yes, unless you plan to modify and move that little window to allow it, or it will just bleed over the little window on the 8th character you see.

This is more or less how the names should look once relocated. Note the $3B before the names, and the $00 before the start of a new name to tell it to stop/start a new name, and the space of 7 characters for each using FF for buffer if needed... The pointers are all pointing to these, and that's all there is to it!

[Image: PitCXMP.png]


We are born, live, die and then do the same thing over again.
Quote  
[-] The following 2 users say Thank You to Gi Nattak for this post:
  • DrakeyC (08-27-2016), Tenkarider (08-06-2015)



Messages In This Thread
MP Cost - The Lost 3rd digit - by Gi Nattak - 11-22-2011, 01:55 AM
RE: MP Cost - The Lost 3rd digit .IPS patch - by Gi Nattak - 08-06-2015, 02:30 PM

Forum Jump:

Users browsing this thread: 1 Guest(s)


Theme by Madsiur2017Custom Graphics by JamesWhite