5A Dragon: Hit(100)%

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
[5a]
0018a980: 27bdffe8 addiu r29,r29,-0x0018    |
0018a984: afbf0010 sw r31,0x0010(r29)       |
0018a988: 0c061d6f jal 0x001875bc           |-->Dragon_Check  Force Attack to miss if Target is not Dragon/Tiamat type
0018a98c: 00000000 nop                      |
0018a990: 3c028019 lui r2,0x8019            |
0018a994: 8c422d90 lw r2,0x2d90(r2)         |r2 = Target Current Action (TCA) data pointer
0018a998: 00000000 nop                      |
0018a99c: 90420000 lbu r2,0x0000(r2)        |r2 = TCA Hit flag
0018a9a0: 00000000 nop                      |
0018a9a4: 10400003 beq r2,r0,0x0018a9b4     #If Target is Dragon/Tiamat type
0018a9a8: 00000000 nop                          |
0018a9ac: 0c061fc9 jal 0x00187f24               |-->Apply_status_(to_action) Add Ability status - if successful update TCA Attack type
0018a9b0: 00000000 nop                          |
0018a9b4: 8fbf0010 lw r31,0x0010(r29)       END
0018a9b8: 27bd0018 addiu r29,r29,0x0018
0018a9bc: 03e00008 jr r31
0018a9c0: 00000000 nop

Return location

Battle.bin
0018b97c : Pre Formula Setup