Difference between revisions of "5E Dmg ((MA+Y)/2*MA)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m (links)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
  [5e]
 
  [5e]
  0018aa98: 27bdffe8 addiu r29,r29,0xffe8
+
  0018aa98: 27bdffe8 addiu r29,r29,-0x0018    |
  0018aa9c: afbf0010 sw r31,0x0010(r29)
+
  0018aa9c: afbf0010 sw r31,0x0010(r29)       |
  0018aaa0: 0c06216e jal 0x 001885b8      [[Magical_Evade_Calculation]]
+
  0018aaa0: 0c06216e jal 0x001885b8          |{{f/jal|Magical_Evade_Calculation|Magical_Evade_Calculation}} If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2
  0018aaa4: 00000000 nop
+
  0018aaa4: 00000000 nop                     |
  0018aaa8: 14400003 bne r2,r0,0x 0018aab8 Branch to end if miss
+
  0018aaa8: 14400003 bne r2,r0,0x0018aab8    {{f/Cond|If Attack is not evaded}}
  0018aaac: 00000000 nop
+
  0018aaac: 00000000 nop                         |
  0018aab0: 0c062269 jal 0x 001889a4      [[Formula_5E-5F_Calculate_damage]]
+
  0018aab0: 0c062269 jal 0x001889a4              |{{f/jal|2Truth/Formula_5E-5F_Calculate_damage|2Truth/Formula_5E-5F_Calculate_damage}} Set Damage (MA * (MA+Y)/2) - Altered by M-Support/Status/Element - Roll Status Proc (19%)
  0018aab4: 00000000 nop
+
  0018aab4: 00000000 nop                         |
  0018aab8: 8fbf0010 lw r31,0x0010(r29)
+
  0018aab8: 8fbf0010 lw r31,0x0010(r29)       END
  0018aabc: 27bd 0018 addiu r29,r29,0x 0018
+
  0018aabc: 27bd0018 addiu r29,r29,0x0018
  0018aac0: 03e00008 jr r31
+
  0018aac0: 03e00008 jr r31
  0018aac4: 00000000 nop (Repeat of 1E)
+
  0018aac4: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c : [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:25, 27 April 2022

[5e]
0018aa98: 27bdffe8 addiu r29,r29,-0x0018    |
0018aa9c: afbf0010 sw r31,0x0010(r29)       |
0018aaa0: 0c06216e jal 0x001885b8           |-->Magical_Evade_Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit / Returns r2
0018aaa4: 00000000 nop                      |
0018aaa8: 14400003 bne r2,r0,0x0018aab8     #If Attack is not evaded
0018aaac: 00000000 nop                          |
0018aab0: 0c062269 jal 0x001889a4               |-->2Truth/Formula_5E-5F_Calculate_damage Set Damage (MA * (MA+Y)/2) - Altered by M-Support/Status/Element - Roll Status Proc (19%)
0018aab4: 00000000 nop                          |
0018aab8: 8fbf0010 lw r31,0x0010(r29)       END
0018aabc: 27bd0018 addiu r29,r29,0x0018
0018aac0: 03e00008 jr r31
0018aac4: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup