Difference between revisions of "10 AbsHP (Y)% Hit F(MA+X)%"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [10] 001890dc: 27bdffe8 addiu r29,r29,0xffe8 001890e0: afbf0010 sw r31,0x0010(r29) 001890e4: 0c06216e jal 0x 001885b8 Magic Evade 001890e8: 00000000 nop 0018...")
 
m (Link accuracy subroutine)
Line 2: Line 2:
 
  001890dc: 27bdffe8 addiu r29,r29,0xffe8
 
  001890dc: 27bdffe8 addiu r29,r29,0xffe8
 
  001890e0: afbf0010 sw r31,0x0010(r29)
 
  001890e0: afbf0010 sw r31,0x0010(r29)
  001890e4: 0c06216e jal 0x 001885b8           Magic Evade
+
  001890e4: 0c06216e jal 0x001885b8           Magic Evade
 
  001890e8: 00000000 nop
 
  001890e8: 00000000 nop
 
  001890ec: 14400009 bne r2,r0,0x 00189114
 
  001890ec: 14400009 bne r2,r0,0x 00189114
 
  001890f0: 00000000 nop
 
  001890f0: 00000000 nop
  001890f4: 0c062273 jal 0x 001889cc            Calculate (MA + X)*Faith% This is essentially the same routine as 0x188a24 except without elemental boosting.
+
  001890f4: 0c062273 jal 0x 001889cc            [[Calculate Accuracy for Magical Spells]]
 
  001890f8: 00000000 nop
 
  001890f8: 00000000 nop
 
  001890fc: 14400005 bne r2,r0,0x 00189114
 
  001890fc: 14400005 bne r2,r0,0x 00189114

Revision as of 04:09, 4 January 2021

[10]
001890dc: 27bdffe8 addiu r29,r29,0xffe8
001890e0: afbf0010 sw r31,0x0010(r29)
001890e4: 0c06216e jal 0x001885b8            	Magic Evade
001890e8: 00000000 nop
001890ec: 14400009 bne r2,r0,0x 00189114
001890f0: 00000000 nop
001890f4: 0c062273 jal 0x 001889cc            	Calculate Accuracy for Magical Spells
001890f8: 00000000 nop
001890fc: 14400005 bne r2,r0,0x 00189114
00189100: 00000000 nop
00189104: 0c061989 jal 0x 00186624     		Calculate damage as % of HP  
00189108: 00000000 nop
0018910c: 0c061c92 jal 0x 00187248     		Absorption Calculation
00189110: 00000000 nop
00189114: 8fbf0010 lw r31,0x0010(r29)
00189118: 27bd 0018 addiu r29,r29,0x 0018
0018911c: 03e00008 jr r31
00189120: 00000000 nop