Catch

From Final Fantasy Hacktics Wiki
Revision as of 04:21, 18 February 2012 by Choto (talk | contribs) (Created page with " Catch: 001883ac: 3c048019 lui r4,0x8019 001883b0: 8c842d98 lw r4,0x2d98(r4) Load Defender's Stats 001883b4: 27bdffe8 addiu r29,r29,0xffe8 001883b8: afbf...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Catch:
001883ac: 3c048019 lui r4,0x8019      
001883b0: 8c842d98 lw r4,0x2d98(r4)      Load Defender's Stats
001883b4: 27bdffe8 addiu r29,r29,0xffe8      
001883b8: afbf0010 sw r31,0x0010(r29)      
001883bc: 0c063248 jal 0x0018c920      ???
001883c0: 00000000 nop            
001883c4: 1440002c bne r2,r0,0x00188478      
001883c8: 00000000 nop            
001883cc: 3c028019 lui r2,0x8019      
001883d0: 8c422d94 lw r2,0x2d94(r2)      Load Attacker's Stats
001883d4: 00000000 nop            
001883d8: 90430003 lbu r3,0x0003(r2)      Load Attacker's Job
001883dc: 3402005d ori r2,r0,0x005d      
001883e0: 10620025 beq r3,r2,0x00188478      Branch to end if Attacker is a mime?
001883e4: 00000000 nop            
001883e8: 3c058019 lui r5,0x8019      
001883ec: 8ca52d98 lw r5,0x2d98(r5)      Load Defender's Stats
001883f0: 00000000 nop            
001883f4: 90a2008e lbu r2,0x008e(r5)      Load Defender's 4th set of Reactions
001883f8: 00000000 nop            
001883fc: 30420008 andi r2,r2,0x0008      
00188400: 1040001d beq r2,r0,0x00188478      Branch to end if user is not equiped  with Catch
00188404: 34020064 ori r2,r0,0x0064      R2 = 100
00188408: 90a30024 lbu r3,0x0024(r5)      Load Brave
0018840c: 3c048019 lui r4,0x8019      
00188410: 8c842d90 lw r4,0x2d90(r4)      Current Action Data Pointer
00188414: 00431023 subu r2,r2,r3      100 - Brave
00188418: 1040000a beq r2,r0,0x00188444      Branch if Brave > 100 ?
0018841c: a482002a sh r2,0x002a(r4)      Store Hit % for Attack on self?
00188420: 0c0634e1 jal 0x0018d384      Chance to React
00188424: 00a02021 addu r4,r5,r0      
00188428: 14400013 bne r2,r0,0x00188478      Branch to end if Reaction failed
0018842c: 00000000 nop            
00188430: 3c028019 lui r2,0x8019      
00188434: 8c42f5fc lw r2,-0x0a04(r2)      Load something to do with Damage Display?
00188438: 00000000 nop            
0018843c: 1440000e bne r2,r0,0x00188478      
00188440: 00000000 nop            
00188444: 3c028019 lui r2,0x8019      
00188448: 8c422d90 lw r2,0x2d90(r2)      Load Current Action Data Pointer
0018844c: 00000000 nop            
00188450: a0400000 sb r0,0x0000(r2)      Change hit flag to miss
00188454: 3c038019 lui r3,0x8019      
00188458: 8c632d90 lw r3,0x2d90(r3)      Load Current Action Data Pointer
0018845c: 340201c2 ori r2,r0,0x01c2      
00188460: a462000e sh r2,0x000e(r3)      Store Reaction ID?
00188464: 3c048019 lui r4,0x8019      
00188468: 908438d8 lbu r4,0x38d8(r4)      Load Used Weapon ID
0018846c: 3402000d ori r2,r0,0x000d      
00188470: a0620002 sb r2,0x0002(r3)      Store Miss type?
00188474: a4640026 sh r4,0x0026(r3)      Store Used Weapon ID to something?
00188478: 8fbf0010 lw r31,0x0010(r29)      
0018847c: 27bd0018 addiu r29,r29,0x0018      
00188480: 03e00008 jr r31         
00188484: 00000000 nop