øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=printpage;topic=552.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5510.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=552.0e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5510.html.zxФg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈÐ(¾OKtext/htmlISO-8859-1gzip@øÕ¾ÿÿÿÿÿÿÿÿTue, 10 Mar 2020 14:46:57 GMT0ó°° ®0®P®€§²ð®‰¤g^Y ¾ Print Page - Damage Numbers Display

Board of Slick

Library of the Ancients => Final Fantasy IV Research & Development => Topic started by: HHIPDragonFox on May 11, 2008, 09:18:56 PM

Title: Damage Numbers Display
Post by: HHIPDragonFox on May 11, 2008, 09:18:56 PM
A little off topic but somewhat the same subject.

While playing around with the graphics/menu data for the battles, I've noticed that when attacked by or attacking the enemy there's five(5) different placement values on the screen that bounce.
On the normal play, I only see the four(4) displayed.

Is there an algorythm routine for showing more than 9999 and relimit it to 59999? (still keeping the two bytes limit)
It would also be nice to have more than 9999 hp and 999 mp, but that's another story.

Thanks.
Title: Re: Damage Numbers Display
Post by: Deathlike2 on May 11, 2008, 09:29:42 PM
4 is for damage, the other bit is for healing or damage.
Title: Re: Damage Numbers Display
Post by: Phoenix on May 12, 2008, 01:44:54 AM
To elaborate on what Deathlike2 is saying, see my post here: http://slickproductions.org/forum/index.php?topic=442.msg4344#msg4344 (http://slickproductions.org/forum/index.php?topic=442.msg4344#msg4344)

However, I think HHIP is saying something different. What do you mean by five different placement values? Numbers only have 4, and while "Miss!" has 5, it's stored as a graphic, not as separate letters. Can you give a better description, HHIP?

Quote
Is there an algorythm routine for showing more than 9999 and relimit it to 59999? (still keeping the two bytes limit)
It would also be nice to have more than 9999 hp and 999 mp, but that's another story.

You can have more than 9999 HP and MP (which are stored as 2-byte values, meaning the max is 65535). However, you'd have to change the code for displaying HP/MP in the menus and battles.
Title: Re: Damage Numbers Display
Post by: Dragonsbrethren on May 12, 2008, 03:08:27 PM
If he's referring to the amount of number graphics displayed, that could be an interesting find. In FF4 and ET there are unused + and - characters stored with that font, it's possible they were originally going to use those to indicate damage instead of colors. Those characters were overwritten by the other half of the miss graphic in FF2us.
Title: Re: Damage Numbers Display
Post by: HHIPDragonFox on June 01, 2008, 02:42:02 AM
Yes I was trying to refer to the damage shown on screen as well as the damage done limits.

http://www.geocities.com/holyplasmadragonfox/FF2US-rv_ed_Distorted_Graphics_Reveals_5_Digit_HP_Loss.JPG

Title: Re: Damage Numbers Display
Post by: Phoenix on June 01, 2008, 07:43:46 AM
Interesting . . . I haven't run across any code that specifies 5 digits, but I'll keep my eyes open. There is a damage check for 9999, so that would have to be changed as well. I tried to do it once, but couldn't quite figure it out. Someday I'll take another stab at it.