33 Hit (PA+X)%

From Final Fantasy Hacktics Wiki
(Redirected from 00189e28 - 00189e90)
Jump to navigation Jump to search
[33]
00189e28: 27bdffe8 addiu r29,r29,-0x0018    |
00189e2c: afbf0010 sw r31,0x0010(r29)       |
00189e30: 0c06176b jal 0x00185dac           |-->Store_PA_and_X Ability XA = Attacker's PA ans Ability YA = used Ability X
00189e34: 00000000 nop                      |
00189e38: 0c061853 jal 0x0018614c           |-->Attack UP and Martial Art Increase XA if Attacker uses Attack Up or Martial art with elligible weapon
00189e3c: 00000000 nop                      |
00189e40: 0c061895 jal 0x00186254           |-->Berserk/Frog Check Modify Ability XA : +50% if Berserk / Xa forced to 0x01 if Frog
00189e44: 00000000 nop                      |
00189e48: 0c061259 jal 0x00184964           |-->Compatibility Modify Ability XA : from -50% to + 50%
00189e4c: 00000000 nop                      |
00189e50: 0c061967 jal 0x0018659c           |-->XA + YA for Accuracy XA+YA becomes TCA HP damage (YA is processed via compatibility)
00189e54: 00000000 nop                      |
00189e58: 0c061d44 jal 0x00187510           |-->Uses_HP_damage_as_Action_hit% HP damage becomes Hit% - Roll Hit% vs random (0 to 100), Set Action hit flag to miss if it fails
00189e5c: 00000000 nop                      |
00189e60: 3c028019 lui r2,0x8019            |
00189e64: 8c422d90 lw r2,0x2d90(r2)         |r2 = Target Current Action (TCA) data pointer
00189e68: 00000000 nop                      |
00189e6c: 90420000 lbu r2,0x0000(r2)        |r2 = TCA hit flag
00189e70: 00000000 nop                      |
00189e74: 10400003 beq r2,r0,0x00189e84     #If Attack hits
00189e78: 00000000 nop                          |
00189e7c: 0c061fc9 jal 0x00187f24               |-->Apply_status_(to_action) Add Ability status - if successful update TCA Attack type
00189e80: 00000000 nop                          |
00189e84: 8fbf0010 lw r31,0x0010(r29)       END
00189e88: 27bd0018 addiu r29,r29,0x0018
00189e8c: 03e00008 jr r31
00189e90: 00000000 nop

Return location

Battle.bin
0018b97c - Pre Formula Setup