Difference between revisions of "MP Switch, Distribute, and Damage Split usability"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " MP Switch, Distribute, and Damage Split Check: 0018cc34: 27bdffe8 addiu r29,r29,0xffe8 0018cc38: 3c038019 lui r3,0x8019 0018cc3c: 906338e5 lbu r3,0x38e5(r3) ...")
 
Line 8: Line 8:
 
  0018cc4c: 3c048019 lui r4,0x8019       
 
  0018cc4c: 3c048019 lui r4,0x8019       
 
  0018cc50: 8c842d98 lw r4,0x2d98(r4)       
 
  0018cc50: 8c842d98 lw r4,0x2d98(r4)       
  0018cc54: 0c063248 jal 0x0018c920    
+
  0018cc54: 0c063248 jal 0x0018c920         [[Check if unit can react 1]]
 
  0018cc58: 00000000 nop             
 
  0018cc58: 00000000 nop             
 
  0018cc5c: 1440001a bne r2,r0,0x0018ccc8       
 
  0018cc5c: 1440001a bne r2,r0,0x0018ccc8       
Line 20: Line 20:
 
  0018cc7c: 10400005 beq r2,r0,0x0018cc94         Branch if not using MP switch
 
  0018cc7c: 10400005 beq r2,r0,0x0018cc94         Branch if not using MP switch
 
  0018cc80: 30620002 andi r2,r3,0x0002      r2 = 2
 
  0018cc80: 30620002 andi r2,r3,0x0002      r2 = 2
  0018cc84: 0c06346e jal 0x0018d1b8      MP Switch Calc
+
  0018cc84: 0c06346e jal 0x0018d1b8      [[MP Switch usability]]
 
  0018cc88: 00000000 nop             
 
  0018cc88: 00000000 nop             
 
  0018cc8c: 08063332 j 0x0018ccc8        End
 
  0018cc8c: 08063332 j 0x0018ccc8        End
Line 26: Line 26:
 
  0018cc94: 10400005 beq r2,r0,0x0018ccac        Branch if not using Distribute
 
  0018cc94: 10400005 beq r2,r0,0x0018ccac        Branch if not using Distribute
 
  0018cc98: 00000000 nop             
 
  0018cc98: 00000000 nop             
  0018cc9c: 0c0634aa jal 0x0018d2a8              Distribute Calc
+
  0018cc9c: 0c0634aa jal 0x0018d2a8              [[Distribute Usability]]
 
  0018cca0: 00000000 nop             
 
  0018cca0: 00000000 nop             
 
  0018cca4: 08063332 j 0x0018ccc8                End
 
  0018cca4: 08063332 j 0x0018ccc8                End
Line 35: Line 35:
 
  0018ccb8: 10400003 beq r2,r0,0x0018ccc8 Branch if not using Damage Split
 
  0018ccb8: 10400003 beq r2,r0,0x0018ccc8 Branch if not using Damage Split
 
  0018ccbc: 00000000 nop             
 
  0018ccbc: 00000000 nop             
  0018ccc0: 0c0634c6 jal 0x0018d318 Damage Split Usability
+
  0018ccc0: 0c0634c6 jal 0x0018d318 [[Damage Split Usability]]
 
  0018ccc4: 00000000 nop             
 
  0018ccc4: 00000000 nop             
 
  0018ccc8: 8fbf0010 lw r31,0x0010(r29)       
 
  0018ccc8: 8fbf0010 lw r31,0x0010(r29)       

Revision as of 23:07, 31 January 2016

MP Switch, Distribute, and Damage Split Check:
0018cc34: 27bdffe8 addiu r29,r29,0xffe8      
0018cc38: 3c038019 lui r3,0x8019      
0018cc3c: 906338e5 lbu r3,0x38e5(r3)      
0018cc40: 34020007 ori r2,r0,0x0007      
0018cc44: 10620020 beq r3,r2,0x0018ccc8      
0018cc48: afbf0010 sw r31,0x0010(r29)      
0018cc4c: 3c048019 lui r4,0x8019      
0018cc50: 8c842d98 lw r4,0x2d98(r4)      
0018cc54: 0c063248 jal 0x0018c920         Check if unit can react 1
0018cc58: 00000000 nop            
0018cc5c: 1440001a bne r2,r0,0x0018ccc8      
0018cc60: 00000000 nop            
0018cc64: 3c048019 lui r4,0x8019      
0018cc68: 8c842d98 lw r4,0x2d98(r4)      	Load Defender's Stats
0018cc6c: 00000000 nop            
0018cc70: 9083008d lbu r3,0x008d(r4)    	Load 3rd set of Reactions
0018cc74: 00000000 nop            
0018cc78: 30620001 andi r2,r3,0x0001      
0018cc7c: 10400005 beq r2,r0,0x0018cc94	        Branch if not using MP switch
0018cc80: 30620002 andi r2,r3,0x0002      	r2 = 2
0018cc84: 0c06346e jal 0x0018d1b8      		MP Switch usability
0018cc88: 00000000 nop            
0018cc8c: 08063332 j 0x0018ccc8         	End
0018cc90: 00000000 nop            
0018cc94: 10400005 beq r2,r0,0x0018ccac         Branch if not using Distribute
0018cc98: 00000000 nop            
0018cc9c: 0c0634aa jal 0x0018d2a8               Distribute Usability
0018cca0: 00000000 nop            
0018cca4: 08063332 j 0x0018ccc8                 End
0018cca8: 00000000 nop            
0018ccac: 9082008e lbu r2,0x008e(r4)		Load 4th set of Reactions
0018ccb0: 00000000 nop            
0018ccb4: 30420080 andi r2,r2,0x0080      
0018ccb8: 10400003 beq r2,r0,0x0018ccc8		Branch if not using Damage Split
0018ccbc: 00000000 nop            
0018ccc0: 0c0634c6 jal 0x0018d318		Damage Split Usability
0018ccc4: 00000000 nop            
0018ccc8: 8fbf0010 lw r31,0x0010(r29)      
0018cccc: 27bd0018 addiu r29,r29,0x0018      
0018ccd0: 03e00008 jr r31         
0018ccd4: 00000000 nop