15 Set CT00 Hit F(MA+X)%

From Final Fantasy Hacktics Wiki
Revision as of 20:44, 10 January 2021 by Orkney (talk | contribs)
Jump to navigation Jump to search
[15]
001891ac: 27bdffe8 addiu r29,r29,0xffe8
001891b0: afbf0010 sw r31,0x0010(r29)
001891b4: 0c06216e jal 0x 001885b8      		Magic Evade
001891b8: 00000000 nop				
001891bc: 1440000d bne r2,r0,0x 001891f4		
001891c0: 00000000 nop				
001891c4: 0c062273 jal 0x 001889cc      		Calculate Accuracy for Magical Spells
001891c8: 00000000 nop
001891cc: 14400009 bne r2,r0,0x 001891f4		
001891d0: 3402007f ori r2,r0,0x007f		
001891d4: 3c038019 lui r3,0x8019		
001891d8: 8c632d90 lw r3,0x2d90(r3)		r3 = target current action data pointer
001891dc: 00000000 nop				
001891e0: a0620013 sb r2,0x0013(r3)  		Set target CT to -127. / Set Action to CT change (0x7F = CT00)
001891e4: 3c038019 lui r3,0x8019		
001891e8: 8c632d90 lw r3,0x2d90(r3)		
001891ec: 34020001 ori r2,r0,0x0001		
001891f0: a0620025 sb r2,0x0025(r3)  		Set damage type to Pseudo-Status
001891f4: 8fbf0010 lw r31,0x0010(r29)		
001891f8: 27bd 0018 addiu r29,r29,0x 0018		
001891fc: 03e00008 jr r31			
00189200: 00000000 nop