5B Dragon: Heal (Y)% 100% Add Status

From Final Fantasy Hacktics Wiki
Revision as of 19:07, 27 April 2022 by Orkney (talk | contribs)
Jump to navigation Jump to search
[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