25 Equipped: Break Hit (PA+WP+X)%

From Final Fantasy Hacktics Wiki
Revision as of 14:09, 17 January 2021 by Orkney (talk | contribs)
Jump to navigation Jump to search
[25]
001896ec: 27bdffe8 addiu r29,r29,0xffe8		
001896f0: afbf0010 sw r31,0x0010(r29)		
001896f4: 0c061e72 jal 0x 001879c8      		Steal/Break/Might Sword Hard Coding
001896f8: 00000000 nop				
001896fc: 10400007 beq r2,r0,0x 0018971c		Branch if successful
00189700: 34020001 ori r2,r0,0x0001		
00189704: 3c018019 lui r1,0x8019		
00189708: a02238e9 sb r2,0x38e9(r1)		        Default to attack flag - Yes
0018970c: 0c062b56 jal 0x 0018ad58      		Double WP if two hands is equipped? <-- actually is routine to do damage instead
00189710: 00000000 nop				
00189714: 080625e1 j 0x 00189784			Jump to end
00189718: 00000000 nop				
0018971c: 3c018019 lui r1,0x8019		
00189720: a02038e9 sb r0,0x38e9(r1)		        Default to attack flag - No
00189724: 0c062144 jal 0x 00188510      		Physical Evade Calculation
00189728: 00000000 nop				
0018972c: 14400015 bne r2,r0,0x 00189784		Branch to end if evaded
00189730: 00000000 nop				
00189734: 0c061797 jal 0x 00185e5c      		Store PA (as YA) and WP + Y (as XA)
00189738: 00000000 nop				
0018973c: 0c0621b5 jal 0x 001886d4      		Routine used in formula 2B
00189740: 00000000 nop				
00189744: 10400005 beq r2,r0,0x 0018975c		Branch if successful
00189748: 00000000 nop				
0018974c: 3c028019 lui r2,0x8019		
00189750: 8c422d90 lw r2,0x2d90(r2)		
00189754: 080625e1 j 0x 00189784                       Jump to end			
00189758: a4400010 sh r0,0x0010(r2)		        Store fail
0018975c: 0c061d8e jal 0x 00187638      		Maintenance
00189760: 00000000 nop				
00189764: 3c038019 lui r3,0x8019		
00189768: 8c632d90 lw r3,0x2d90(r3)		
0018976c: 00000000 nop				
00189770: 90620000 lbu r2,0x0000(r3)		        Load hit flag
00189774: 00000000 nop				
00189778: 10400002 beq r2,r0,0x 00189784		Branch if miss
0018977c: 34020004 ori r2,r0,0x0004		        
00189780: a4620010 sh r2,0x0010(r3)		        Store special flag - break item
00189784: 8fbf0010 lw r31,0x0010(r29)		
00189788: 27bd0018 addiu r29,r29,0x 0018		
0018978c: 03e00008 jr r31			
00189790: 00000000 nop