31 Dmg ((PA+Y)/2*PA)

From Final Fantasy Hacktics Wiki
Jump to: navigation, search
00189cd0: 27bdffe8 addiu r29,r29,0xffe8		
00189cd4: afbf0010 sw r31,0x0010(r29)		
00189cd8: 0c062144 jal 0x 00188510      		Physical Evade Calculation
00189cdc: 00000000 nop				
00189ce0: 14400020 bne r2,r0,0x 00189d64		Branch if attack is evaded
00189ce4: 00000000 nop				
00189ce8: 0c061740 jal 0x 00185d00      		Store PA and PA + Y / 2
00189cec: 00000000 nop				
00189cf0: 0c0617ff jal 0x 00185ffc      		Elemental Strengthen
00189cf4: 00000000 nop				
00189cf8: 0c061853 jal 0x 0018614c      		Formula 32, 33, 34, 35 Attack Up and Martial Arts
00189cfc: 00000000 nop				
00189d00: 0c0622b7 jal 0x 00188adc      		Cluster of Physical Routines (Includes berserk and frog checks on user.)
00189d04: 00000000 nop				
00189d08: 0c06193e jal 0x 001864f8      		Critical Hit Calculation
00189d0c: 00000000 nop				
00189d10: 0c06195a jal 0x 00186568      		XA * YA Calculation
00189d14: 00000000 nop				
00189d18: 0c061bb4 jal 0x 00186ed0      		Weather Elemental effects
00189d1c: 00000000 nop				
00189d20: 0c061bfe jal 0x 00186ff8      		Ability Elemental?
00189d24: 00000000 nop				
00189d28: 3c028019 lui r2,0x8019		
00189d2c: 8c422d90 lw r2,0x2d90(r2)		
00189d30: 00000000 nop				
00189d34: 90420000 lbu r2,0x0000(r2)		
00189d38: 00000000 nop				
00189d3c: 10400009 beq r2,r0,0x 00189d64		
00189d40: 00000000 nop				
00189d44: 0c061c3f jal 0x 001870fc      		Elemental Absorption
00189d48: 00000000 nop				
00189d4c: 0c062130 jal 0x 001884c0		        Conditional Status Proc Roll (19%)
00189d50: 00000000 nop				
00189d54: 14400003 bne r2,r0,0x 00189d64		Branch if status proc roll fails
00189d58: 00000000 nop				
00189d5c: 0c061fad jal 0x 00187eb4      		Apply status (to action) - (Preserve hit status, evade type, hit %)
00189d60: 00000000 nop				
00189d64: 8fbf0010 lw r31,0x0010(r29)		
00189d68: 27bd 0018 addiu r29,r29,0x 0018		
00189d6c: 03e00008 jr r31			
00189d70: 00000000 nop