Remove transparent status if Jump is used

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Parameters : r4 = Attacker data pointer

Store : 0x80192da0 at 0x80192d8c (for all)
        If Attacker uses jump skillset and is transparent
        0x08 at 0x80192dc5 (Attacker current action attack type = status change)
        0x10 at 0x80192dc2 (Will remove transparent)
------------------------------------------------------------------------------------------
0018ac74: 3c058019  lui r5,0x8019           |
0018ac78: 24a52da0 addiu r5,r5,0x2da0       |r5 = 0x80192da0 Copy of attacker current action data
0018ac7c: 3c018019 lui r1,0x8019            |
0018ac80: ac252d8c sw r5,0x2d8c(r1)         |Store Copy of Attacker action data adress at attacker current action data pointer ( 0x80192d8c )
0018ac84: 9083016f lbu r3,0x016f(r4)             |r3 = Attacker's used skillset
0018ac88: 34020012 ori r2,r0,0x0012              |r2 = 0x12 (Jump skillset ID)
0018ac8c: 14620011 bne r3,r2,0x0018acd4          #If Attacker's used skillset is Jump /Else branch to END
0018ac90: 00000000 nop                               | 
0018ac94: 908201bd lbu r2,0x01bd(r4)                 |r2 = Attacker's current inflicted status 3 (Non Innate status list on unit)
0018ac98: 00000000 nop                               |
0018ac9c: 30420010 andi r2,r2,0x0010                 |r2 = 0x10 if transparent is inflicted / else 0x00
0018aca0: 1040000c beq r2,r0,0x0018acd4              #If Attacker doesn't have transparent inflicted /Else branch to END
0018aca4: 34020001 ori r2,r0,0x0001                      |r2 = 0x01
0018aca8: a0a20000 sb r2,0x0000(r5)                      |Store Attacker current action hit flag = hit (0x01)
0018acac: 3c028019 lui r2,0x8019                         |
0018acb0: 90422dc5 lbu r2,0x2dc5(r2)                     |r2 = Attacker current action Attack Type  0x80192da0 + 0x25
0018acb4: 3c038019 lui r3,0x8019                         |
0018acb8: 90632dc2 lbu r3,0x2dc2(r3)                     |r3 = Attacker current action status removal 3  0x80192da0 + 0x22
0018acbc: 34420008 ori r2,r2,0x0008                      |r2 = Attacker current action attack type with status change enabled
0018acc0: 34630010 ori r3,r3,0x0010                      |r3 = Attacker current action status removal 3 with transparent removed
0018acc4: 3c018019 lui r1,0x8019                         |
0018acc8: a0222dc5 sb r2,0x2dc5(r1)                      |Store Updated attack type with status change  0x80192dc5
0018accc: 3c018019 lui r1,0x8019                         |
0018acd0: a0232dc2 sb r3,0x2dc2(r1)                      |Store Transparent removed (on Attacker current action status removal 3)  0x80192dc2
0018acd4: 03e00008 jr r31                  END             
0018acd8: 00000000 nop

Return location

Battle.bin
 0017d0d8: Main_ability_loading_routine?