Difference between revisions of "0B Hit F(MA+X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
[0b]
+
  00188eb8: 27bdffe8 addiu r29,r29,-0x0018    |
  00188eb8: 27bdffe8 addiu r29,r29,0xffe8
+
  00188ebc: afbf0010 sw r31,0x0010(r29)       |
  00188ebc: afbf0010 sw r31,0x0010(r29)
+
  00188ec0: 0c061760 jal 0x00185d80          |{{f/jal|Store MA and X|Store MA and X}} Set Ability XA = Attacker's MA and YA = used Ability X
  00188ec0: 0c061760 jal 0x 00185d80  [[Store MA and X]]
+
  00188ec4: 00000000 nop                     |
  00188ec4: 00000000 nop
+
  00188ec8: 0c0617ff jal 0x00185ffc          |{{f/jal|Elemental Strengthen|Elemental Strengthen}} XA +25% if used Ability elements is strengthened
  00188ec8: 0c0617ff jal 0x 00185ffc      [[Elemental Strengthen]]
+
  00188ecc: 00000000 nop                     |
  00188ecc: 00000000 nop
+
  00188ed0: 0c062200 jal 0x00188800          |{{f/jal|MA + X|XA + YA becomes Hit% (friendly spell)}} Modify XA (Support/Compatibility) Uses XA+YA as Hit% (Influenced by Faith) returns r2 = 0x00 if Attack hits
  00188ed0: 0c062200 jal 0x 00188800  [[MA + X]]
+
  00188ed4: 00000000 nop                     |
  00188ed4: 00000000 nop
+
  00188ed8: 14400003 bne r2,r0,0x00188ee8    {{f/Cond|If Attack hits}}
  00188ed8: 14400003 bne r2,r0,0x 00188ee8 Branch to end if attack misses
+
  00188edc: 00000000 nop                         |
  00188edc: 00000000 nop
+
  00188ee0: 0c061fc9 jal 0x00187f24              |{{f/jal|Apply status (to action)|Apply status (to action)}} Update Target Current Action status infliction/Removal
  00188ee0: 0c061fc9 jal 0x 00187f24    [[Apply status (to action)]]
+
  00188ee4: 00000000 nop                         |
  00188ee4: 00000000 nop
+
  00188ee8: 8fbf0010 lw r31,0x0010(r29)       END
  00188ee8: 8fbf0010 lw r31,0x0010(r29)
+
  00188eec: 27bd0018 addiu r29,r29,0x0018       
  00188eec: 27bd0018 addiu r29,r29,0x 0018
+
  00188ef0: 03e00008 jr r31                    
  00188ef0: 03e00008 jr r31
+
  00188ef4: 00000000 nop                        
  00188ef4: 00000000 nop
+
=== Return locations ===
 +
'''Battle.bin'''
 +
0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:49, 15 April 2022

00188eb8: 27bdffe8 addiu r29,r29,-0x0018    |
00188ebc: afbf0010 sw r31,0x0010(r29)       |
00188ec0: 0c061760 jal 0x00185d80           |-->Store MA and X Set Ability XA = Attacker's MA and YA = used Ability X
00188ec4: 00000000 nop                      |
00188ec8: 0c0617ff jal 0x00185ffc           |-->Elemental Strengthen XA +25% if used Ability elements is strengthened
00188ecc: 00000000 nop                      |
00188ed0: 0c062200 jal 0x00188800           |-->XA + YA becomes Hit% (friendly spell) Modify XA (Support/Compatibility) Uses XA+YA as Hit% (Influenced by Faith) returns r2 = 0x00 if Attack hits
00188ed4: 00000000 nop                      |
00188ed8: 14400003 bne r2,r0,0x00188ee8     #If Attack hits
00188edc: 00000000 nop                          |
00188ee0: 0c061fc9 jal 0x00187f24               |-->Apply status (to action) Update Target Current Action status infliction/Removal
00188ee4: 00000000 nop                          |
00188ee8: 8fbf0010 lw r31,0x0010(r29)       END
00188eec: 27bd0018 addiu r29,r29,0x0018        
00188ef0: 03e00008 jr r31                      
00188ef4: 00000000 nop                         

Return locations

Battle.bin
0018b97c - Pre Formula Setup