Difference between revisions of "5C Dragon: +Brave (X) +PA/MA/SP(Y)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [5c] 0018aa10: 27bdffe8 addiu r29,r29,0xffe8 0018aa14: afbf0010 sw r31,0x0010(r29) 0018aa18: 0c061d6f jal 0x 001875bc Dragon Check 0018aa1c: 00000000 nop ...")
 
m
 
Line 1: Line 1:
 
  [5c]
 
  [5c]
  0018aa10: 27bdffe8 addiu r29,r29,0xffe8
+
  0018aa10: 27bdffe8 addiu r29,r29,-0x0018    |
  0018aa14: afbf0010 sw r31,0x0010(r29)
+
  0018aa14: afbf0010 sw r31,0x0010(r29)       |
  0018aa18: 0c061d6f jal 0x 001875bc      Dragon Check
+
  0018aa18: 0c061d6f jal 0x001875bc          |{{f/jal|Dragon_Check|Dragon_Check}}  Force Attack to miss if Target is not Dragon/Tiamat type
  0018aa1c: 00000000 nop
+
  0018aa1c: 00000000 nop                     |
  0018aa20: 3c028019 lui r2,0x8019
+
  0018aa20: 3c028019 lui r2,0x8019           |
  0018aa24: 8c422d90 lw r2,0x2d90(r2)
+
  0018aa24: 8c422d90 lw r2,0x2d90(r2)         |{{f/adr|<nowiki>r2 = Target Current Action (TCA) data pointer</nowiki>}}
  0018aa28: 00000000 nop
+
  0018aa28: 00000000 nop                     |
  0018aa2c: 90420000 lbu r2,0x0000(r2)
+
  0018aa2c: 90420000 lbu r2,0x0000(r2)       |{{f/load|<nowiki>r2 = TCA hit flag</nowiki>}}
  0018aa30: 00000000 nop
+
  0018aa30: 00000000 nop                     |
  0018aa34: 10400003 beq r2,r0,0x 0018aa44      Check if evaded (Already done above)
+
  0018aa34: 10400003 beq r2,r0,0x0018aa44    {{f/Cond|If Target is Dragon/Tiamat type}}
  0018aa38: 00000000 nop
+
  0018aa38: 00000000 nop                         |
  0018aa3c: 0c061b56 jal 0x 00186d58      Scream Routine
+
  0018aa3c: 0c061b56 jal 0x00186d58              |{{f/jal|3B_%2BBrave_(X)_%2BPA/MA/SP_(Y)|Scream Routine}} Boost Brave (Ability X) and PA/MA/Speed (Ability Y)
  0018aa40: 00000000 nop
+
  0018aa40: 00000000 nop                         |
  0018aa44: 8fbf0010 lw r31,0x0010(r29)
+
  0018aa44: 8fbf0010 lw r31,0x0010(r29)       END
  0018aa48: 27bd 0018 addiu r29,r29,0x 0018
+
  0018aa48: 27bd0018 addiu r29,r29,0x0018
  0018aa4c: 03e00008 jr r31
+
  0018aa4c: 03e00008 jr r31
 
  0018aa50: 00000000 nop
 
  0018aa50: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c : [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Latest revision as of 19:11, 27 April 2022

[5c]
0018aa10: 27bdffe8 addiu r29,r29,-0x0018    |
0018aa14: afbf0010 sw r31,0x0010(r29)       |
0018aa18: 0c061d6f jal 0x001875bc           |-->Dragon_Check  Force Attack to miss if Target is not Dragon/Tiamat type
0018aa1c: 00000000 nop                      |
0018aa20: 3c028019 lui r2,0x8019            |
0018aa24: 8c422d90 lw r2,0x2d90(r2)         |r2 = Target Current Action (TCA) data pointer
0018aa28: 00000000 nop                      |
0018aa2c: 90420000 lbu r2,0x0000(r2)        |r2 = TCA hit flag
0018aa30: 00000000 nop                      |
0018aa34: 10400003 beq r2,r0,0x0018aa44     #If Target is Dragon/Tiamat type
0018aa38: 00000000 nop                          |
0018aa3c: 0c061b56 jal 0x00186d58               |-->Scream Routine Boost Brave (Ability X) and PA/MA/Speed (Ability Y)
0018aa40: 00000000 nop                          |
0018aa44: 8fbf0010 lw r31,0x0010(r29)       END
0018aa48: 27bd0018 addiu r29,r29,0x0018
0018aa4c: 03e00008 jr r31
0018aa50: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup