Final Fantasy V Research & Development / Re: Investigating the Battle System
« on: October 02, 2009, 01:25:05 PM »The address is C2/7B21. You will find the first address pointing to some dummy code, the second pointing to the Monster fight code, third pointing to the Monster Specialty code, and so on (see attack formula list below). I belive the game system uses this table every time an action is taken.
00 No effect
01 Monster Fight
02 Monster Specialty
03 Magic Sword 1
04 Magic Sword 2
05 Magic Sword 3
06 Offensive magic
07 HP based damage + status
08 Pierce defense
09 Random damage
0A Physical magic
0B Level based damage + status
0C Pierce defense + HP leak
0D HP drain
0E MP drain
0F HP to critical
10 Restore HP
11 Restore full HP
12 Status 0 infliction
13 Status 1 infliction
14 Status 2 infliction
15 Toggle status
16 Reversing status infliction
17 Instant death
18 Instant destroy
19 Status removal
1A Resurrection
1B Whispering Wind
1C Element attribute change
1D View stats
1E Drag
1F Void
20 End battle
21 Reset
22 Quick
23 Earth Wall
24 Constant HP restored
25 Constant MP restored
26 Full HP/MP
27 Status added
28 Constant damage
29 Status 3 inflicted
2A HP based damage + HP leak
2B User HP based damage
2C Random effect
2D Ground attacks
2E Reaper's Sword
2F ?
30 Unarmed
31 Swords
32 Knives
33 Spears, Double Lance
34 Axes, Staves
35 Status infliction bows
36 Bows
37 Katanas
38 Whips
39 Bells
3A Long reach axes
3B Rods
3C Rune weapons
3D Death Claw
3E Failure (EL+TS)
3F Zombie Breath
40 Change row
41 ?
42 HP and status restored
43 !Steal
44 Escape
45 !Throw
46 !GilToss
47 !Tame
48 !Catch
49 Flirt
4A !Dance
4B L5 Doom
4C L2 Old
4D L4 Qrter
4E L3 Flare
4F Spirit
50 Goblin Punch
51 Stats up
52 Mucus
53 MP damage
54 User HP based damage (negative)
55 Fusion
56 ?
57 Random effect
58 Mind Blast
59 HP up
5A White Wind
5B ?
5C Hug
5D Zombie status
5E ?
5F ?
60 ? (ends "Unhide" statements)
61 "Stalker Attack"
62 "Byblos Attack"
63 Grand Cross
64 Chicken Knife
65 Interceptor Rocket
66 Targeting
67 Pull
68 End battle
69 !Control
6A ? (Sandworm)
6B Attribute change
6C Monster type bonus
6D Vampire
6E Brave Blade
6F Fight (strong)
70 Wormhole
71 Level Down
72 Bows strong vs. monster type
73 Spears Strong vs. monster type
74 ?
75 ?
76 ?
77 ?
78 ?
79 ?
7A ?
7B ?
7C ?
7D ?
7E ?
7F No attack
I am also curious about the path from a selected ability to its attack formula code. Some abilities have their formula # stored with their Action data (see my docs), but for most abilities, that value is "00". These abilities (e.g Fight) have their own piece of executed code, but I have yet to find whatever points each ability to their associated code.

By the way, congrats on your first post here!

I hope you will be an active member of our boards.
We have EVEN MORE themes now, but some old ones are gone...