øA slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=printpage;topic=1233.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexd152.html slickproductions.org /forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=1233.0 e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/indexd152.html.z x ]xg^ ÿÿÿÿ ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ , G OK text/html ISO-8859-1 gzip 0|Ö G ÿÿÿÿÿÿÿÿ Tue, 10 Mar 2020 11:38:29 GMT 0ó° °® 0® P® €§² ð® ]xg^ Î G
Print Page - Inn GP cost in events
Board of Slick
Library of the Ancients => Final Fantasy IV Research & Development => Topic started by: Phoenix on September 30, 2009, 07:53:39 AM
Title: Inn GP cost in events
Post by: Phoenix on September 30, 2009, 07:53:39 AM
I was editing an inn price for my hack this evening, and I noticed that my changes definitely did not fit the formula suggested by Yousei's FF4 data for event code DCxx (Inn: costing 50 * 2^xx). I started getting some wacky numbers after a value of 08, so I jotted them down, converted them to hex, reversed the bytes, and did a search for that data. It turns out that there's actually a GP cost table located from 06C83-06C94 (in a FF2us headered ROM). There's only 9 entries; after that is ASM code, which is why the values are so weird. Here's an example of the first 16:
I have a list of all possible values for xx, if anyone wants it. 9 entries is actually fine, but in case someone wants to go crazy with Inns...
:sleep:
Title: Re: Inn GP cost in events
Post by: Dragonsbrethren on September 30, 2009, 08:13:26 AM
Interesting. I suppose the table of valid entries could be moved and expanded, but utilizing non-related code for an inn price has a certain awesome factor to it...