37 Dmg (Rdm(1…Y)*PA)

From Final Fantasy Hacktics Wiki
Revision as of 19:02, 24 April 2022 by Orkney (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
[37]
00189f84: 27bdffe8 addiu r29,r29,0xffe8     |
00189f88: afbf0010 sw r31,0x0010(r29)       |
00189f8c: 0c062144 jal 0x00188510           |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2
00189f90: 00000000 nop                      |
00189f94: 14400009 bne r2,r0,0x00189fbc     #If Attack is not evaded
00189f98: 00000000 nop                          |
00189f9c: 0c061781 jal 0x00185e04               |-->Store_PA_and_Y XA = Attacker's PA and YA = Ability Y
00189fa0: 00000000 nop                          |
00189fa4: 0c061853 jal 0x0018614c               |-->Attack Up and Martial Arts Increase XA if Attacker uses Attack Up or Martial art with elligible weapon
00189fa8: 00000000 nop                          |
00189fac: 0c0622b7 jal 0x00188adc               |-->Cluster_of_Physical_Routines Modify XA (Attacker status, Target Status/Support, Compatibility)
00189fb0: 00000000 nop                          |
00189fb4: 0c061a47 jal 0x0018691c               |-->Damage_and_Knockback_Routine_(alternative)  Set HP damage = XA*Random(1 to Y) and Roll knockback chances
00189fb8: 00000000 nop                          |
00189fbc: 8fbf0010 lw r31,0x0010(r29)       END
00189fc0: 27bd0018 addiu r29,r29,0x0018
00189fc4: 03e00008 jr r31
00189fc8: 00000000 nop

Return location

Battle.bin
0018b97c - Pre Formula Setup