Maintence

From Final Fantasy Hacktics Wiki
Revision as of 16:47, 11 March 2012 by Choto (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Maintence Check:
00187638: 3c028019 lui r2,0x8019		
0018763c: 8c422d98 lw r2,0x2d98(r2)		Load Defender's Stats
00187640: 00000000 nop				
00187644: 90420091 lbu r2,0x0091(r2)		Load 3rd set of Supports
00187648: 00000000 nop				
0018764c: 30420004 andi r2,r2,0x0004		
00187650: 1040000d beq r2,r0,0x00187688		Branch if unit doesn't have Maintance 
00187654: 00000000 nop
00187658: 3c028019 lui r2,0x8019		
0018765c: 8c422d90 lw r2,0x2d90(r2)		Load Current Action Data Pointer
00187660: 00000000 nop				
00187664: a0400000 sb r0,0x0000(r2)		Store Attack as missed
00187668: 3c038019 lui r3,0x8019
0018766c: 8c632d90 lw r3,0x2d90(r3)		Load Current Action Data Pointer
00187670: 34020007 ori r2,r0,0x0007		r2 = 7
00187674: a0620002 sb r2,0x0002(r3)		Store Attack as guarded or missed
00187678: 3c028019 lui r2,0x8019		
0018767c: 8c422d90 lw r2,0x2d90(r2)		Load Current Action Data Pointer...
00187680: 00000000 nop				
00187684: a440002a sh r0,0x002a(r2)		0% chance to hit self
00187688: 03e00008 jr r31			
0018768c: 00000000 nop


Return Locations

  • Battle.bin
0018975c: 25 Equipped: Break Hit_(PA+WP+X)%
001897f0: 26 Equipped: Steal Hit_(SP+X)%
00189bd8: 2E Equipped:Break Dmg_(PA*WP)