Difference between revisions of "5B Dragon: Heal (Y)% 100% Add Status"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [5b] 0018a9c4: 27bdffe8 addiu r29,r29,0xffe8 0018a9c8: afbf0010 sw r31,0x0010(r29) 0018a9cc: 0c061d6f jal 0x 001875bc Dragon Check 0018a9d0: 00000000 nop ...")
 
m
Line 1: Line 1:
 
  [5b]
 
  [5b]
  0018a9c4: 27bdffe8 addiu r29,r29,0xffe8
+
  0018a9c4: 27bdffe8 addiu r29,r29,0xffe8     |
  0018a9c8: afbf0010 sw r31,0x0010(r29)
+
  0018a9c8: afbf0010 sw r31,0x0010(r29)       |
  0018a9cc: 0c061d6f jal 0x 001875bc      Dragon Check
+
  0018a9cc: 0c061d6f jal 0x001875bc          |{{f/jal|Dragon_Check|Dragon_Check}}  Force Attack to miss if Target is not Dragon/Tiamat type
  0018a9d0: 00000000 nop
+
  0018a9d0: 00000000 nop                     |
  0018a9d4: 3c028019 lui r2,0x8019
+
  0018a9d4: 3c028019 lui r2,0x8019           |
  0018a9d8: 8c422d90 lw r2,0x2d90(r2)
+
  0018a9d8: 8c422d90 lw r2,0x2d90(r2)         |{{f/adr|<nowiki>r2 = Target Current Action (TCA) data pointer</nowiki>}}
  0018a9dc: 00000000 nop
+
  0018a9dc: 00000000 nop                     |
  0018a9e0: 90420000 lbu r2,0x0000(r2)
+
  0018a9e0: 90420000 lbu r2,0x0000(r2)       |{{f/load|<nowiki>r2 = TCA hit flag</nowiki>}}
  0018a9e4: 00000000 nop
+
  0018a9e4: 00000000 nop                     |
  0018a9e8: 10400005 beq r2,r0,0x 0018aa00      Check if evaded (Already done above)
+
  0018a9e8: 10400005 beq r2,r0,0x0018aa00    {{f/Cond|If Target is Dragon/Tiamat type}}
  0018a9ec: 00000000 nop
+
  0018a9ec: 00000000 nop                         |
  0018a9f0: 0c061b6f jal 0x 00186dbc      Wish Routine
+
  0018a9f0: 0c061b6f jal 0x00186dbc                  |{{f/jal|3C_Heal_(CasMaxHP*2/5)_DmgCas_(CasMaxHP/5)|Wish Routine}} Heal Target (40% of Attacker max HP) - Damage Attacker (20% of his Max HP)
  0018a9f4: 00000000 nop
+
  0018a9f4: 00000000 nop                             |
  0018a9f8: 0c061fad jal 0x 00187eb4      Status Proc at 100%
+
  0018a9f8: 0c061fad jal 0x00187eb4                  |{{f/jal|Apply_status_(to_action)_-_(Preserve_hit_status,_evade_type,_hit_%25)|Apply_status_(to_action)_-_(Preserve_hit_status,_evade_type,_hit_%25)}} Update Target Current Action status infliction/Removal
  0018a9fc: 00000000 nop
+
  0018a9fc: 00000000 nop                             |
  0018aa00: 8fbf0010 lw r31,0x0010(r29)
+
  0018aa00: 8fbf0010 lw r31,0x0010(r29)       END
  0018aa04: 27bd 0018 addiu r29,r29,0x 0018
+
  0018aa04: 27bd0018 addiu r29,r29,0x0018
  0018aa08: 03e00008 jr r31
+
  0018aa08: 03e00008 jr r31
 
  0018aa0c: 00000000 nop
 
  0018aa0c: 00000000 nop
 +
=== Return location ===
 +
'''Battle.bin'''
 +
0018b97c : [[Pre Formula Setup (FDC)|Pre Formula Setup]]

Revision as of 19:07, 27 April 2022

[5b]
0018a9c4: 27bdffe8 addiu r29,r29,0xffe8     |
0018a9c8: afbf0010 sw r31,0x0010(r29)       |
0018a9cc: 0c061d6f jal 0x001875bc           |-->Dragon_Check  Force Attack to miss if Target is not Dragon/Tiamat type
0018a9d0: 00000000 nop                      |
0018a9d4: 3c028019 lui r2,0x8019            |
0018a9d8: 8c422d90 lw r2,0x2d90(r2)         |r2 = Target Current Action (TCA) data pointer
0018a9dc: 00000000 nop                      |
0018a9e0: 90420000 lbu r2,0x0000(r2)        |r2 = TCA hit flag
0018a9e4: 00000000 nop                      |
0018a9e8: 10400005 beq r2,r0,0x0018aa00     #If Target is Dragon/Tiamat type
0018a9ec: 00000000 nop                          |
0018a9f0: 0c061b6f jal 0x00186dbc                   |-->Wish Routine Heal Target (40% of Attacker max HP) - Damage Attacker (20% of his Max HP)
0018a9f4: 00000000 nop                              |
0018a9f8: 0c061fad jal 0x00187eb4                   |-->Apply_status_(to_action)_-_(Preserve_hit_status,_evade_type,_hit_%25) Update Target Current Action status infliction/Removal
0018a9fc: 00000000 nop                              |
0018aa00: 8fbf0010 lw r31,0x0010(r29)       END
0018aa04: 27bd0018 addiu r29,r29,0x0018
0018aa08: 03e00008 jr r31
0018aa0c: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup