Difference between revisions of "63 Dmg (SP*WP)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [63] Throw 0018ab98: 27bdffe8 addiu r29,r29,0xffe8 0018ab9c: afbf0010 sw r31,0x0010(r29) 0018aba0: 0c0620eb jal 0x 001883ac Throw/Catch Routine 0018aba4: 00000...")
 
Line 2: Line 2:
 
  0018ab98: 27bdffe8 addiu r29,r29,0xffe8
 
  0018ab98: 27bdffe8 addiu r29,r29,0xffe8
 
  0018ab9c: afbf0010 sw r31,0x0010(r29)
 
  0018ab9c: afbf0010 sw r31,0x0010(r29)
  0018aba0: 0c0620eb jal 0x 001883ac      Throw/Catch Routine
+
  0018aba0: 0c0620eb jal 0x 001883ac      [[Catch]]
 
  0018aba4: 00000000 nop
 
  0018aba4: 00000000 nop
 
  0018aba8: 3c028019 lui r2,0x8019
 
  0018aba8: 3c028019 lui r2,0x8019
 
  0018abac: 8c422d90 lw r2,0x2d90(r2)
 
  0018abac: 8c422d90 lw r2,0x2d90(r2)
 
  0018abb0: 00000000 nop
 
  0018abb0: 00000000 nop
  0018abb4: 90420000 lbu r2,0x0000(r2)
+
  0018abb4: 90420000 lbu r2,0x0000(r2) Hit flag
 
  0018abb8: 00000000 nop
 
  0018abb8: 00000000 nop
  0018abbc: 1040001d beq r2,r0,0x 0018ac34      Evasion Check (Already checked above.)
+
  0018abbc: 1040001d beq r2,r0,0x 0018ac34      Branch if attack doesn't hit (end)
 
  0018abc0: 00000000 nop
 
  0018abc0: 00000000 nop
  0018abc4: 0c062144 jal 0x 00188510      Physical Evasion
+
  0018abc4: 0c062144 jal 0x 00188510      [[Physical Evade Calculation]]
 
  0018abc8: 00000000 nop
 
  0018abc8: 00000000 nop
  0018abcc: 14400019 bne r2,r0,0x 0018ac34
+
  0018abcc: 14400019 bne r2,r0,0x 0018ac34 Branch if evaded (end)
 
  0018abd0: 00000000 nop
 
  0018abd0: 00000000 nop
 
  0018abd4: 3c028019 lui r2,0x8019
 
  0018abd4: 3c028019 lui r2,0x8019
Line 24: Line 24:
 
  0018abf0: 3c018019 lui r1,0x8019
 
  0018abf0: 3c018019 lui r1,0x8019
 
  0018abf4: a42238ce sh r2,0x38ce(r1)      Store SP as X
 
  0018abf4: a42238ce sh r2,0x38ce(r1)      Store SP as X
  0018abf8: 0c0622b7 jal 0x 00188adc      Damage Modifiers
+
  0018abf8: 0c0622b7 jal 0x 00188adc      [[Cluster of Physical Routines]]
 
  0018abfc: 00000000 nop
 
  0018abfc: 00000000 nop
  0018ac00: 0c06195a jal 0x 00186568      Damage Calculation (No elemental checks)
+
  0018ac00: 0c06195a jal 0x 00186568      [[XA * YA Calculation]] (No elemental checks)
 
  0018ac04: 00000000 nop
 
  0018ac04: 00000000 nop
  0018ac08: 0c061bf4 jal 0x 00186fd0      Weapon Elemental (Fixed by Xifanie.)
+
  0018ac08: 0c061bf4 jal 0x 00186fd0      [[Elemental Damage Modification (Prep)]] (Weapon elemental, Fixed by Xifanie.)
 
  0018ac0c: 00000000 nop
 
  0018ac0c: 00000000 nop
 
  0018ac10: 3c028019 lui r2,0x8019
 
  0018ac10: 3c028019 lui r2,0x8019
 
  0018ac14: 8c422d90 lw r2,0x2d90(r2)
 
  0018ac14: 8c422d90 lw r2,0x2d90(r2)
 
  0018ac18: 00000000 nop
 
  0018ac18: 00000000 nop
  0018ac1c: 90420000 lbu r2,0x0000(r2)
+
  0018ac1c: 90420000 lbu r2,0x0000(r2) Hit flag
 
  0018ac20: 00000000 nop
 
  0018ac20: 00000000 nop
  0018ac24: 10400003 beq r2,r0,0x 0018ac34
+
  0018ac24: 10400003 beq r2,r0,0x 0018ac34 Branch if attack doesn't hit (end)
 
  0018ac28: 00000000 nop
 
  0018ac28: 00000000 nop
  0018ac2c: 0c061c3f jal 0x 001870fc      Elemental Absorption
+
  0018ac2c: 0c061c3f jal 0x 001870fc      [[Elemental Absorption]]
 
  0018ac30: 00000000 nop
 
  0018ac30: 00000000 nop
 
  0018ac34: 8fbf0010 lw r31,0x0010(r29)
 
  0018ac34: 8fbf0010 lw r31,0x0010(r29)
  0018ac38: 27bd 0018 addiu r29,r29,0x 0018
+
  0018ac38: 27bd0018 addiu r29,r29,0x 0018
 
  0018ac3c: 03e00008 jr r31
 
  0018ac3c: 03e00008 jr r31
 
  0018ac40: 00000000 nop
 
  0018ac40: 00000000 nop

Revision as of 16:30, 11 January 2017

[63] Throw
0018ab98: 27bdffe8 addiu r29,r29,0xffe8		
0018ab9c: afbf0010 sw r31,0x0010(r29)		
0018aba0: 0c0620eb jal 0x 001883ac      		Catch
0018aba4: 00000000 nop				
0018aba8: 3c028019 lui r2,0x8019		
0018abac: 8c422d90 lw r2,0x2d90(r2)		
0018abb0: 00000000 nop				
0018abb4: 90420000 lbu r2,0x0000(r2)		Hit flag
0018abb8: 00000000 nop				
0018abbc: 1040001d beq r2,r0,0x 0018ac34      	Branch if attack doesn't hit (end)
0018abc0: 00000000 nop				
0018abc4: 0c062144 jal 0x 00188510      		Physical Evade Calculation
0018abc8: 00000000 nop				
0018abcc: 14400019 bne r2,r0,0x 0018ac34	Branch if evaded (end)	
0018abd0: 00000000 nop				
0018abd4: 3c028019 lui r2,0x8019		
0018abd8: 8c422d94 lw r2,0x2d94(r2)		
0018abdc: 3c038019 lui r3,0x8019		
0018abe0: 90633902 lbu r3,0x3902(r3)      	Load WP
0018abe4: 90420038 lbu r2,0x0038(r2)      	Load SP
0018abe8: 3c018019 lui r1,0x8019		
0018abec: a42338d0 sh r3,0x38d0(r1)      	Store WP as Y
0018abf0: 3c018019 lui r1,0x8019		
0018abf4: a42238ce sh r2,0x38ce(r1)      	Store SP as X
0018abf8: 0c0622b7 jal 0x 00188adc      		Cluster of Physical Routines
0018abfc: 00000000 nop				
0018ac00: 0c06195a jal 0x 00186568      		XA * YA Calculation (No elemental checks)
0018ac04: 00000000 nop				
0018ac08: 0c061bf4 jal 0x 00186fd0      		Elemental Damage Modification (Prep) (Weapon elemental, Fixed by Xifanie.)
0018ac0c: 00000000 nop				
0018ac10: 3c028019 lui r2,0x8019		
0018ac14: 8c422d90 lw r2,0x2d90(r2)		
0018ac18: 00000000 nop				
0018ac1c: 90420000 lbu r2,0x0000(r2)		Hit flag
0018ac20: 00000000 nop				
0018ac24: 10400003 beq r2,r0,0x 0018ac34		Branch if attack doesn't hit (end)
0018ac28: 00000000 nop				
0018ac2c: 0c061c3f jal 0x 001870fc      		Elemental Absorption
0018ac30: 00000000 nop				
0018ac34: 8fbf0010 lw r31,0x0010(r29)		
0018ac38: 27bd0018 addiu r29,r29,0x 0018		
0018ac3c: 03e00008 jr r31			
0018ac40: 00000000 nop