T
The SaiNt
Guest
Ok, guys I really need your help here since I've run out of ideas. Below is rough idea of what I've analysed on the weapon data section in the memory of FF7PC. I have managed to map out almost everything in this section thanks to Terence's clue on the different types of attacks. My problem is here. In the chart below, under the column weapon selling status, i have problems finding out what each value means. So far, I only know the function of one of the values. This is what I need you guys to help me out with.All values below are in decimal unless stated!
----------------------------
3 Long Range
35 Normal
Weapon Attributes (3rd Byte)
----------------------------
160 Power up when suffering from status ailment
161 Power up when (Near death)
162 Raises Power when party members are dead
163 Damage Power Increased with difference of Yuffie's Lvl and Enemies Lvl
164 Damage is calculated based on difference of Max HP and Current HP
165 Damage is calculated based on difference of Max MP and Current MP
166 Damage is calculated based on amount of AP on equipped materia
167 Damage is calculated based on amount of enemies killed by character
168 Power of weapon increases if Tifa gets a MISS in her slot limit
Weapon Type(1st & 2nd byte)
---------------------------
1st byte 2 & 2nd byte 0 Weapon Type is Hand-Mounted
1st byte 4 & 2nd byte 0 Weapon Type is Hands
1st byte 8 & 2nd byte 0 Weapon Type is Staff
1st byte 16 & 2nd byte 0 Weapon Type is Headress
1st byte 32 & 2nd byte 0 Weapon Type is Shuriken
1st byte 64 & 2nd byte 0 Weapon Type is Megaphone
1st byte 128 & 2nd byte 0 Weapon Type is Gun
1st byte 0 & 2nd byte 1 Weapon Type is Spear
1st byte 1 & 2nd byte 2 Weapon Type is Sword
1st byte 0 & 2nd byte 4 Weapon Type is Katana
Attack Type(4th byte)
---------------------
4th byte 4 Attack Type is Slice
4th byte 8 Attack Type is Punch
4th byte 16 Attack Type is Cut
4th byte 32 Attack Type is Projectile
Weapon Attack Effect
--------------------
The numbers show what kind of hit animation will be shown when the weapon hits its target. For example, when Cloud uses the buster sword and attacks the enemy, a slice "explosion" is shown right? So the value for his buster weapon is 9 255 255. If you change this value to 42 255 255, the same value as Vincent's Quicksilver weapon, you'll find that when Cloud hits the enemy, a gunshot "explosion" will be displayed instead of a slice "explosion".
Weapon Selling Status
---------------------
244 255 is ???
246 255 is the default (???)
254 255 ???
255 255 means the weapon cannot be sold
Materia Slots
-------------
05 = unlinked slot
06 = right-linked slot
07 = left-linked slot
Buster Sword
------------
00DAFD18 = Wpn Attributes
00DAFD1C = Wpn Atk
00DAFD1E = Wpn Materia Growth
00DAFD20 = Wpn Attack %
00DAFD26 = Wpn Attack Type
00DAFD34 = Wpn Materia Slots
00DAFD3F = Wpn Atk Effect
00DAFD42 = Wpn Selling Status (I think)
Each Weapon is divided by 2C hex
**EDIT**
Argh, allignment is horrible! I need to sleep now, but i'm sure you guys get the general idea.
[This message has been edited by The SaiNt (edited May 15, 2001).]
[/quote]
Weapon Attributes (1st Byte)code:
Code:Wpn Attributes Wpn / Atk Type Wpn Attack Effect Weapon Selling StatusBuster Sword 35 255 17 255 1 2 0 4 9 255 255 255 255Mythril Saber 35 255 17 255 1 2 0 4 0 255 255 246 255Hardedge 35 255 17 255 1 2 0 4 10 255 255 246 255 Butterfly Edge 35 255 17 255 1 2 0 4 9 255 255 246 255Enhance Sword 35 255 17 255 1 2 0 4 10 255 255 246 255Organics 35 255 17 255 1 2 0 4 12 255 255 246 255Crystal Sword 35 255 17 255 1 2 0 4 1 255 255 246 255Force Stealer 35 255 17 255 1 2 0 4 13 255 255 246 255Rune Blade 35 255 17 255 1 2 0 4 11 255 255 246 255Murasame 35 255 17 255 1 2 0 4 1 255 255 246 255Nail Bat 35 255 17 255 1 2 0 4 16 255 255 246 255Yoshiyuki 35 255 162 255 1 2 0 4 3 255 255 246 255Apocalypse 35 255 17 255 1 2 0 4 19 255 255 246 255Heaven's Cloud 35 255 17 255 1 2 0 4 10 255 255 246 255Ragnarok 35 255 17 255 1 2 0 4 13 255 255 246 255Ultima Weapon 35 255 164 255 1 2 0 4 11 255 255 246 255Leather Glove 35 255 17 255 4 0 0 8 36 255 255 244 255Metal Knuckle 35 255 17 255 4 0 0 8 54 255 255 254 255Mythril Claw 35 255 17 255 4 0 0 16 30 255 255 254 255Grand Glove 35 255 17 255 4 0 0 8 42 255 255 254 255Tiger Fang 35 255 17 255 4 0 0 16 33 255 255 254 255Diamond Knuckle 35 255 17 255 4 0 0 8 55 255 255 254 255Dragon Claw 35 255 17 255 4 0 0 16 34 255 255 254 255Crystal Glove 35 255 17 255 4 0 0 8 67 255 255 254 255Motor Drive 35 255 17 255 4 0 0 8 60 255 255 254 255Platinum Fist 35 255 17 255 4 0 0 8 69 255 255 254 255Kaiser Knuckle 35 255 17 255 4 0 0 8 57 255 255 254 255Work Glove 35 255 17 255 4 0 0 8 37 255 255 254 255Powersoul 35 255 161 255 4 0 0 8 39 255 255 254 255Master Fist 35 255 160 255 4 0 0 8 49 255 255 254 255God's Hand 35 255 17 255 4 0 0 8 56 255 255 254 255Premium Heart 35 255 168 255 4 0 0 8 68 255 255 254 255Gatling Gun 3 255 17 255 2 0 0 32 45 255 255 255 255Assault Gun 3 255 17 255 2 0 0 32 45 255 255 246 255Cannon Ball 35 255 17 255 2 0 0 8 54 255 255 246 255Atomic Scissors 35 255 17 255 2 0 0 16 25 255 255 246 255Heavy Vulcan 3 255 17 255 2 0 0 32 46 255 255 246 255Chainsaw 35 255 17 255 2 0 0 4 1 255 255 246 255Microlaser 3 255 17 255 2 0 0 32 61 255 255 246 255A*M Cannon 3 255 17 255 2 0 0 32 43 255 255 246 255W Machine Gun 3 255 17 255 2 0 0 32 46 255 255 246 255Drill Arm 35 255 17 255 2 0 0 16 16 255 255 246 255Solid Bazooka 3 255 17 255 2 0 0 32 38 255 255 246 255Rocket Punch 35 255 17 255 2 0 0 8 43 255 255 246 255Enemy Launcher 3 255 17 255 2 0 0 32 44 255 255 246 255Pile Banger 3 255 17 255 2 0 0 16 17 255 255 246 255Max Ray 3 255 17 255 2 0 0 32 69 255 255 246 255Missing Score 3 255 166 255 2 0 0 32 46 255 255 246 255Mythril Clip 35 255 17 255 16 0 0 8 36 255 255 254 255Diamond Pin 35 255 17 255 16 0 0 8 42 255 255 254 255Silver Barrette 35 255 17 255 16 0 0 8 54 255 255 255 255Gold Barrette 35 255 17 255 16 0 0 8 66 255 255 254 255Adaman Clip 35 255 17 255 16 0 0 8 37 255 255 254 255Crystal Comb 35 255 17 255 16 0 0 8 67 255 255 254 255Magic Comb 35 255 17 255 16 0 0 8 60 255 255 254 255Plus Barrette 35 255 17 255 16 0 0 8 61 255 255 254 255Centclip 35 255 17 255 16 0 0 8 49 255 255 254 255Hairpin 3 255 17 255 16 0 0 32 1 255 255 254 255Seraph Comb 35 255 17 255 16 0 0 8 38 255 255 255 255Behimoth Horn 35 255 17 255 16 0 0 8 50 255 255 254 255Spring Gun Clip 35 255 17 255 16 0 0 8 64 255 255 254 255Limited Moon 35 255 165 255 16 0 0 8 41 255 255 254 255Guard Stick 35 255 17 255 8 0 0 8 54 255 255 246 255Mythril Rod 35 255 17 255 8 0 0 8 66 255 255 246 255Full Metal Staff 35 255 17 255 8 0 0 8 60 255 255 246 255Striking Staff 35 255 17 255 8 0 0 8 9 255 255 246 255Prism Staff 35 255 17 255 8 0 0 8 69 255 255 246 255Aurora Rod 35 255 17 255 8 0 0 8 1 255 255 246 255Wizard Staff 35 255 17 255 8 0 0 8 55 255 255 246 255Wizer Staff 35 255 17 255 8 0 0 8 63 255 255 246 255Fairy Tale 35 255 17 255 8 0 0 8 59 255 255 246 255Umbrella 35 255 17 255 8 0 0 8 36 255 255 246 255Princess Guard 35 255 162 255 8 0 0 8 58 255 255 246 255Spear 35 255 17 255 0 1 0 16 24 255 255 246 255Slash Lance 35 255 17 255 0 1 0 16 24 255 255 246 255Trident 35 255 17 255 0 1 0 16 30 255 255 246 255Mast Axe 35 255 17 255 0 1 0 16 25 255 255 246 255Partisan 35 255 17 255 0 1 0 16 32 255 255 246 255Viper Halberd 35 255 17 255 0 1 0 16 60 255 255 246 255Javelin 35 255 17 255 0 1 0 16 66 255 255 246 255Grow Lance 35 255 17 255 0 1 0 16 67 255 255 246 255Mop 35 255 17 255 0 1 0 8 37 255 255 246 255Dragoon Lance 35 255 17 255 0 1 0 16 61 255 255 246 255Scimitar 35 255 17 255 0 1 0 4 28 255 255 246 255Flayer 35 255 17 255 0 1 0 16 29 255 255 246 255Spirit Lance 35 255 17 255 0 1 0 16 34 255 255 246 255Venus Gospel 35 255 165 255 0 1 0 16 35 255 255 246 2554-point Shuriken 3 255 17 255 32 0 0 32 48 255 255 246 255Boomerang 3 255 17 255 32 0 0 32 24 255 255 246 255Pinwheel 3 255 17 255 32 0 0 32 36 255 255 246 255Razor Ring 3 255 17 255 32 0 0 32 49 255 255 246 255Hawkeye 3 255 17 255 32 0 0 32 48 255 255 246 255Crystal Cross 3 255 17 255 32 0 0 32 25 255 255 246 255Wind Slash 3 255 17 255 32 0 0 32 27 255 255 246 255Twin Viper 3 255 17 255 32 0 0 32 4 255 255 246 255Spiral Shuriken 3 255 17 255 32 0 0 32 63 255 255 246 255Superball 3 255 17 255 32 0 0 32 43 255 255 246 255Magic Shuriken 3 255 17 255 32 0 0 32 69 255 255 246 255Rising Sun 3 255 17 255 32 0 0 32 34 255 255 246 255Oritsuru 3 255 17 255 32 0 0 32 61 255 255 246 255Conformer 3 255 163 255 32 0 0 32 50 255 255 246 255Yellow M-phone 35 255 17 255 64 0 0 8 36 255 255 246 255Green M-phone 35 255 17 255 64 0 0 8 66 255 255 246 255Blue M-phone 35 255 17 255 64 0 0 8 54 255 255 246 255Red M-phone 35 255 17 255 64 0 0 8 42 255 255 246 255Crystal M-phone 35 255 17 255 64 0 0 8 55 255 255 246 255White M-phone 35 255 17 255 64 0 0 8 37 255 255 246 255Black M-phone 35 255 17 255 64 0 0 8 60 255 255 246 255Silver M-phone 35 255 17 255 64 0 0 8 61 255 255 246 255Trumpet Shell 35 255 17 255 64 0 0 8 49 255 255 246 255Gold M-phone 35 255 17 255 64 0 0 8 67 255 255 246 255Battle Trumpet 35 255 17 255 64 0 0 8 38 255 255 246 255Starlight Phone 35 255 17 255 64 0 0 8 57 255 255 246 255HP Shout 35 255 164 255 64 0 0 8 41 255 255 246 255Quicksilver 3 255 17 255 128 0 0 32 42 255 255 246 255Shotgun 3 255 17 255 128 0 0 32 45 255 255 246 255Shortbarrel 3 255 17 255 128 0 0 32 43 255 255 246 255Lariat 3 255 17 255 128 0 0 32 45 255 255 246 255Winchester 3 255 17 255 128 0 0 32 43 255 255 246 255Peacemaker 3 255 17 255 128 0 0 32 42 255 255 246 255Buntline 3 255 17 255 128 0 0 32 67 255 255 246 255Long Barrel R 3 255 17 255 128 0 0 32 43 255 255 246 255Silver Rifle 3 255 17 255 128 0 0 32 54 255 255 246 255Sniper CR 3 255 17 255 128 0 0 32 55 255 255 246 255Supershot ST 3 255 17 255 128 0 0 32 46 255 255 246 255Outsider 3 255 17 255 128 0 0 32 67 255 255 246 255Death Penalty 3 255 167 255 128 0 0 32 44 255 255 246 255Masamune 35 255 17 255 0 4 0 4 11 255 255 255 255
----------------------------
3 Long Range
35 Normal
Weapon Attributes (3rd Byte)
----------------------------
160 Power up when suffering from status ailment
161 Power up when (Near death)
162 Raises Power when party members are dead
163 Damage Power Increased with difference of Yuffie's Lvl and Enemies Lvl
164 Damage is calculated based on difference of Max HP and Current HP
165 Damage is calculated based on difference of Max MP and Current MP
166 Damage is calculated based on amount of AP on equipped materia
167 Damage is calculated based on amount of enemies killed by character
168 Power of weapon increases if Tifa gets a MISS in her slot limit
Weapon Type(1st & 2nd byte)
---------------------------
1st byte 2 & 2nd byte 0 Weapon Type is Hand-Mounted
1st byte 4 & 2nd byte 0 Weapon Type is Hands
1st byte 8 & 2nd byte 0 Weapon Type is Staff
1st byte 16 & 2nd byte 0 Weapon Type is Headress
1st byte 32 & 2nd byte 0 Weapon Type is Shuriken
1st byte 64 & 2nd byte 0 Weapon Type is Megaphone
1st byte 128 & 2nd byte 0 Weapon Type is Gun
1st byte 0 & 2nd byte 1 Weapon Type is Spear
1st byte 1 & 2nd byte 2 Weapon Type is Sword
1st byte 0 & 2nd byte 4 Weapon Type is Katana
Attack Type(4th byte)
---------------------
4th byte 4 Attack Type is Slice
4th byte 8 Attack Type is Punch
4th byte 16 Attack Type is Cut
4th byte 32 Attack Type is Projectile
Weapon Attack Effect
--------------------
The numbers show what kind of hit animation will be shown when the weapon hits its target. For example, when Cloud uses the buster sword and attacks the enemy, a slice "explosion" is shown right? So the value for his buster weapon is 9 255 255. If you change this value to 42 255 255, the same value as Vincent's Quicksilver weapon, you'll find that when Cloud hits the enemy, a gunshot "explosion" will be displayed instead of a slice "explosion".
Weapon Selling Status
---------------------
244 255 is ???
246 255 is the default (???)
254 255 ???
255 255 means the weapon cannot be sold
Materia Slots
-------------
05 = unlinked slot
06 = right-linked slot
07 = left-linked slot
Buster Sword
------------
00DAFD18 = Wpn Attributes
00DAFD1C = Wpn Atk
00DAFD1E = Wpn Materia Growth
00DAFD20 = Wpn Attack %
00DAFD26 = Wpn Attack Type
00DAFD34 = Wpn Materia Slots
00DAFD3F = Wpn Atk Effect
00DAFD42 = Wpn Selling Status (I think)
Each Weapon is divided by 2C hex
**EDIT**
Argh, allignment is horrible! I need to sleep now, but i'm sure you guys get the general idea.
[This message has been edited by The SaiNt (edited May 15, 2001).]
[/quote]