+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  Final Fantasy II (US) Item Data
Pages: [1] 2
Author Topic: Final Fantasy II (US) Item Data  (Read 2 times)
Mist Dragon
Guest
« on: December 16, 2007, 11:13:21 am »

Hi I've been working on hacking FF2 on the SNES for a little while now and I'm having some trouble finding the item data in the ROM. What I'm attempting to do is insert the Darkness Shield into the game by changing one of the dummy items to a shield and then renaming it and changing the stats for it. I'm looking for the item data where all the stats and equipability for the items/armor/weapons are. If anyone could help me out I'd most appreciate it. Thanks.

 Smiley
Dragonsbrethren
Guest
« Reply #1 on: December 17, 2007, 09:32:53 am »

0x79100 in an unheadered ROM. I'll post what each byte does later when I have more time.
JCE3000GT
Guest
« Reply #2 on: December 17, 2007, 12:24:32 pm »

Quote
00: Unknown
01: Attack Power/Defense
02: Attack % / Evade %
03: Magic Spell casted when used as an Item
04: Status Ailment/Element
05: Status Ailment/Element
06: Equip Index
07: Item stat increase Index

Quote
Equip Type List
===================

00: Universal (Everyone can equip)
01: " "
02: Bows
03: Knives
04: Shields
05: Gauntlets (Not Dragoon/Crystal)
06: Axes
07: Light Swords (Avenger, Defense, etc)
08: Magician's Equip (Magic users only, except Ninja)
09: Magician's Equip (Magic users only, except Paladin, Ninja)
0A: Magician's Equip (Cecil and Rosa only)
0B: Magician's Equip (Sage, Wh.Wiz, Lunar only)
0C: Magician's Equip (Sage, Bl.Wiz, Lunar only)
0D: Unknown
0E: Females only
0F: Unknown

10: Unknown
11: Unknown
12: Unknown
13: Knives
14: Rings
15: Dark Knight Equipment
16: Spears
17: Whips
18: Unknown
19: Harps
1A: Unknown
1B: Claws
1C: Paladin Equipment
1D: Hammers
1E: Ninja Equip
1F: Unknown

20-FF: Unknown (I didn't bother looking at it)

Quote
Equip Index
===================

Byte 1 (first digit):
1: Edward/Gilbert (Bard)
2: Rosa
3: Bard, Rosa
4: Yang
5: Yang, Bard
6: Yang, Rosa
7: Yang, Bard, Rosa
8: Palom
9: Palom, Bard
A: Palom, Rosa
B: Palom, Bard, Rosa
C: Palom, Yang
D: Palom, Bard, Yang
E: Palom, Yang, Rosa
F: Palom, Bard, Rosa, Yang

Byte 1 (second digit):
1: Dark Knight
2: Dragoon
3: Dark Knight, Dragoon
4: Young Caller
5: Young Caller, Dark Knight
6: Young Caller, Dragoon
7: Young Caller, Dark Knight, Dragoon
8: Sage (Tellah/Tella)
9: Sage, Dark Knight
A: Sage, Dragoon
B: Sage, Dark Knight, Dragoon
C: Sage, Young Caller
D: Sage, Dark Knight, Young Caller
E: Sage, Dragoon, Young Caller
F: Sage, Dark Knight, Dragoon, Young Caller

Byte 2 (first digit):
1: Ninja
2: Lunar (FuuSuuYa)
3: Ninja, Lunar
4: Anna?
5: Anna?, Ninja
6: Anna?, Lunar
7: Anna?, Ninja, Lunar
8: Golbez
9: Golbez, Ninja
A: Golbez, Lunar
B: Golbez, Ninja, Lunar
C: Golbez, Anna?
D: Golbez, Ninja, Yang
E: Golbez, Anna?, Lunar
F: Golbez, Ninja, Lunar, Anna?

Byte 2 (second digit):
1: Porom
2: Paladin
3: Paladin, Porom
4: Cid
5: Cid, Porom
6: Cid, Paladin
7: Cid, Porom, Paladin
8: Old Caller
9: Old Caller, Porom
A: Old Caller, Paladin
B: Old Caller, Porom, Paladin
C: Old Caller, Cid
D: Old Caller, Porom, Cid
E: Old Caller, Paladin, Cid
F: Old Caller, Porom, Paladin, Cid

Dragonsbrethren can fill in the blanks...and correct what may be out of date.  This is taken from my old FF2us Hacking Doc that I never released to the public.  You can however count on it along with a ton of other data being released and organized by myself, Dragonsbrehtren, and a few others on an FF4 wiki page we're going to develop.
Mist Dragon
Guest
« Reply #3 on: December 18, 2007, 04:51:26 am »

Thanks for the info guys. I did some work on it and I'm guessing that the 0 byte would be for MBlock%? Just a guess there. Now I guess I'll have to make one of the dummy items equippable, put it as a shield icon and then set the stats for it and I should be all set. 7987E looks as good as any dummy item I guess so that should work right?

 Wink
JCE3000GT
Guest
« Reply #4 on: December 18, 2007, 11:29:13 am »

Quote from: Mist Dragon on December 18, 2007, 04:51:26 am
Thanks for the info guys. I did some work on it and I'm guessing that the 0 byte would be for MBlock%? Just a guess there. Now I guess I'll have to make one of the dummy items equippable, put it as a shield icon and then set the stats for it and I should be all set. 7987E looks as good as any dummy item I guess so that should work right?

 Wink

That item actually starts out @ 79880 (with header) and its the Fire1 battle item.  Wink
Mist Dragon
Guest
« Reply #5 on: December 19, 2007, 10:54:01 pm »

Well I edited in most of the stuff and put the shield in Kaipo's armor shop. I purchased it however when I went to equip it, Cecil still couldn't equip it. I put the 6th byte of the item data to 15 which would be the Dark Knight Equipment but I know I'm still missing something. I found something in a document talking about Equipability of Items at 7A750 but when I went to look there, the information is all random and there seems to be no way of figuring it out. Does anyone know about how you would make an item equipable or have a way of figuring out this information? Thanks.

 Smiley
JCE3000GT
Guest
« Reply #6 on: December 20, 2007, 12:54:58 am »

Quote from: Mist Dragon on December 19, 2007, 10:54:01 pm
Well I edited in most of the stuff and put the shield in Kaipo's armor shop. I purchased it however when I went to equip it, Cecil still couldn't equip it. I put the 6th byte of the item data to 15 which would be the Dark Knight Equipment but I know I'm still missing something. I found something in a document talking about Equipability of Items at 7A750 but when I went to look there, the information is all random and there seems to be no way of figuring it out. Does anyone know about how you would make an item equipable or have a way of figuring out this information? Thanks.

 Smiley

I posted the equip table and index for you.  If you just want to TEST it then just use byte 00 so everyone can equip it.  Otherwise I posted the equip data in my previous post.
Mist Dragon
Guest
« Reply #7 on: December 21, 2007, 09:17:25 pm »

Oh sorry, I guess I didn't really explain what I meant that well. I was asking how the actual data works because I don't understand it at all. Like I don't understand what byte to change to what if you know what I mean. Like is that data for each individual item or is that for each character? I thought if it's for each item, that three of the things should be the same since only the Dark Knight can equip the Shadow Sword, Darkness Sword and Black Sword but when I look it's all different. That's why I'm confused. Because I have no idea what that data is or I'm just totally misunderstanding what's being said here.
JCE3000GT
Guest
« Reply #8 on: December 22, 2007, 01:12:59 am »

Quote from: Mist Dragon on December 21, 2007, 09:17:25 pm
Oh sorry, I guess I didn't really explain what I meant that well. I was asking how the actual data works because I don't understand it at all. Like I don't understand what byte to change to what if you know what I mean. Like is that data for each individual item or is that for each character? I thought if it's for each item, that three of the things should be the same since only the Dark Knight can equip the Shadow Sword, Darkness Sword and Black Sword but when I look it's all different. That's why I'm confused. Because I have no idea what that data is or I'm just totally misunderstanding what's being said here.

Try this (offsets wth header):

Bold is equip byte.

Shadow   793B0   800A 5000 0400 1500   
Darkness   792B8   8014 5500 0400 1500   
Black      793C0   801E 5A00 2E00 15F7   

Snipped to preserve space...
Quote
===================
Equip Type List
===================
15: Dark Knight Equipment

Goto offset 7A77A - 01 00

Bold are what those bytes are...
Quote
===================
Equip Index
===================

Byte 1 (first digit):
0: None
1: Edward/Gilbert (Bard)
2: Rosa
3: Bard, Rosa
4: Yang
5: Yang, Bard
6: Yang, Rosa
7: Yang, Bard, Rosa
8: Palom
9: Palom, Bard
A: Palom, Rosa
B: Palom, Bard, Rosa
C: Palom, Yang
D: Palom, Bard, Yang
E: Palom, Yang, Rosa
F: Palom, Bard, Rosa, Yang

Byte 1 (second digit):
0: None
1: Dark Knight
2: Dragoon
3: Dark Knight, Dragoon
4: Young Caller
5: Young Caller, Dark Knight
6: Young Caller, Dragoon
7: Young Caller, Dark Knight, Dragoon
8: Sage (Tellah/Tella)
9: Sage, Dark Knight
A: Sage, Dragoon
B: Sage, Dark Knight, Dragoon
C: Sage, Young Caller
D: Sage, Dark Knight, Young Caller
E: Sage, Dragoon, Young Caller
F: Sage, Dark Knight, Dragoon, Young Caller

Byte 2 (first digit):
0: None
1: Ninja
2: Lunar (FuuSuuYa)
3: Ninja, Lunar
4: Anna?
5: Anna?, Ninja
6: Anna?, Lunar
7: Anna?, Ninja, Lunar
8: Golbez
9: Golbez, Ninja
A: Golbez, Lunar
B: Golbez, Ninja, Lunar
C: Golbez, Anna?
D: Golbez, Ninja, Yang
E: Golbez, Anna?, Lunar
F: Golbez, Ninja, Lunar, Anna?

Byte 2 (second digit):
0: None
1: Porom
2: Paladin
3: Paladin, Porom
4: Cid
5: Cid, Porom
6: Cid, Paladin
7: Cid, Porom, Paladin
8: Old Caller
9: Old Caller, Porom
A: Old Caller, Paladin
B: Old Caller, Porom, Paladin
C: Old Caller, Cid
D: Old Caller, Porom, Cid
E: Old Caller, Paladin, Cid
F: Old Caller, Porom, Paladin, Cid

Does this help?
Mist Dragon
Guest
« Reply #9 on: December 22, 2007, 07:24:55 am »

I think I sort of get it. So 7A77A controls all three of the swords or does it control all of the Dark Knight Equipment? I already put the Darkness Shield to 15 in the 7th byte but it's still not equipable. 7A77A has to control more than the Shadow Sword however because if I look at the next thing it's 0200 which would be Kain and the next one after that is 0408 which would be Young Caller and Old Caller according to the thing here.
JCE3000GT
Guest
« Reply #10 on: December 22, 2007, 01:05:11 pm »

Quote from: Mist Dragon on December 22, 2007, 07:24:55 am
I think I sort of get it. So 7A77A controls all three of the swords or does it control all of the Dark Knight Equipment? I already put the Darkness Shield to 15 in the 7th byte but it's still not equipable. 7A77A has to control more than the Shadow Sword however because if I look at the next thing it's 0200 which would be Kain and the next one after that is 0408 which would be Young Caller and Old Caller according to the thing here.

7A77A controls all of the Dark Knight's equipment. 

Other shields:
Shadow shield   79610   8001 1600 8000 1500   
Black shield   79618   8102 1800 8000 1500

Please explain what item you used for the Darkness shield.
Mist Dragon
Guest
« Reply #11 on: December 22, 2007, 08:30:35 pm »

I used 79880 which you said was the Fire 1 battle item. I set the bytes to...

8102 1800 8000 1500

Will that offset not work for some reason?
JCE3000GT
Guest
« Reply #12 on: December 22, 2007, 11:46:53 pm »

Quote from: Mist Dragon on December 22, 2007, 08:30:35 pm
I used 79880 which you said was the Fire 1 battle item. I set the bytes to...

8102 1800 8000 1500

Will that offset not work for some reason?

No, those items are 6 bytes each instead of 8. 
Mist Dragon
Guest
« Reply #13 on: December 23, 2007, 03:58:32 am »

Well that sucks. Is there a way to make them 8 bytes or am I shooting for the impossible here?
JCE3000GT
Guest
« Reply #14 on: December 24, 2007, 01:41:10 am »

Quote from: Mist Dragon on December 23, 2007, 03:58:32 am
Well that sucks. Is there a way to make them 8 bytes or am I shooting for the impossible here?

With some ASM hacking sure, but for practical purposes probably not worth it. 
Pages: [1] 2  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC