Difference between revisions of "Magical Support/Status/Compat"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " 00188744: 27bdffe8 addiu r29,r29,0xffe8 00188748: afbf0010 sw r31,0x0010(r29) 0018874c: 0c061881 jal 0x00186204 Magic Attack Up 00188750: 00000000 nop 00188754: ...")
 
m
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  00188744: 27bdffe8 addiu r29,r29,0xffe8
+
No Parameters - Returns Nothing
  00188748: afbf0010 sw r31,0x0010(r29)
+
  0018874c: 0c061881 jal 0x00186204 Magic Attack Up
+
Modify Ability XA
  00188750: 00000000 nop
+
  - +33% if Attacker uses Magic Attack Up
  00188754: 0c0618c7 jal 0x0018631c [[Magic Defense Up routine]]
+
  - -33% if Target uses Magic Defense Up or has shell
  00188758: 00000000 nop
+
  - +50% if Target has frog or chicken
  0018875c: 0c061918 jal 0x00186460 Target's Status Affecting XA (Magical)
+
  - Compatibility effect (-50% to +50%)
  00188760: 00000000 nop
+
---------------------------------------------------------------------------------
  00188764: 0c061259 jal 0x00184964 Zodiac Compat
+
  00188744: 27bdffe8 addiu r29,r29,-0x0018   
  00188768: 00000000 nop
+
  00188748: afbf0010 sw r31,0x0010(r29)      
  0018876c: 8fbf0010 lw r31,0x0010(r29)
+
  0018874c: 0c061881 jal 0x00186204           |{{f/jal|Magic Attack Up routine|Magic Attack Up routine}}  Ability XA +33% If Attacker uses Magic Attack Up
  00188770: 27bd0018 addiu r29,r29,0x0018
+
  00188750: 00000000 nop                     |
  00188774: 03e00008 jr r31
+
  00188754: 0c0618c7 jal 0x0018631c           |{{f/jal|Magic Defense Up routine|Magic Defense Up routine}}  Ability XA -33% If Target uses Magic Defense Up
  00188778: 00000000 nop
+
  00188758: 00000000 nop                     |
 +
  0018875c: 0c061918 jal 0x00186460           |{{f/jal|Target's Status Affecting XA (Magical)|Target's Status Affecting XA (Magical)}}  XA - 33% if Target has Shell / XA + 50% if Target has Chicken or Frog
 +
  00188760: 00000000 nop                     |
 +
  00188764: 0c061259 jal 0x00184964           |{{f/jal|Compatibility|Compatibility}} Alters XA (-50% to +50%) based on compatibility
 +
  00188768: 00000000 nop                     |
 +
  0018876c: 8fbf0010 lw r31,0x0010(r29)      
 +
  00188770: 27bd0018 addiu r29,r29,0x0018    
 +
  00188774: 03e00008 jr r31                  
 +
  00188778: 00000000 nop      
 +
=== Return Locations ===
 +
'''Battle.bin'''
 +
0018897c: [[Truth/Formula_5E-5F_Magical_damage]]
 +
001889e4: [[Calculate_Accuracy_for_Magical_Spells]]
 +
00188a44: [[Calculate_Accuracy_for_Magical]]
 +
00188aa4: [[MA_%2B_X_without_faith]]
 +
00188c6c: [[04_Magic_Gun|Formula 04 - Magic Gun]]
 +
00188db4: [[08_Dmg_F(MA*Y)|Formula 08 - Dmg F(MA*Y)]]
 +
001892dc: [[1A_Hit_F(MA%2BY)%25_//_-PA/MA/SP_(X)|Formula 1A - Hit F(MA+Y)% // -PA/MA/SP (X)]]
 +
00189494: [[1F_Dmg_((100-CasF)*(100-TarF)*(MA%2BY)*MA/2)|Formula 1F - Dmg ((100-CasF)*(100-TarF)*(MA+Y)*MA/2)]]
 +
00189614: [[21_DmgMP_(MA*Y)|Formula 21 - DmgMP (MA*Y)]]

Latest revision as of 18:53, 11 April 2022

No Parameters - Returns Nothing

Modify Ability XA
 - +33% if Attacker uses Magic Attack Up
 - -33% if Target uses Magic Defense Up or has shell
 - +50% if Target has frog or chicken
 - Compatibility effect (-50% to +50%)
---------------------------------------------------------------------------------
00188744: 27bdffe8 addiu r29,r29,-0x0018    
00188748: afbf0010 sw r31,0x0010(r29)       
0018874c: 0c061881 jal 0x00186204           |-->Magic Attack Up routine  Ability XA +33% If Attacker uses Magic Attack Up
00188750: 00000000 nop                      |
00188754: 0c0618c7 jal 0x0018631c           |-->Magic Defense Up routine  Ability XA -33% If Target uses Magic Defense Up
00188758: 00000000 nop                      |
0018875c: 0c061918 jal 0x00186460           |-->Target's Status Affecting XA (Magical)  XA - 33% if Target has Shell / XA + 50% if Target has Chicken or Frog
00188760: 00000000 nop                      |
00188764: 0c061259 jal 0x00184964           |-->Compatibility Alters XA (-50% to +50%) based on compatibility
00188768: 00000000 nop                      |
0018876c: 8fbf0010 lw r31,0x0010(r29)       
00188770: 27bd0018 addiu r29,r29,0x0018     
00188774: 03e00008 jr r31                   
00188778: 00000000 nop       

Return Locations

Battle.bin 
0018897c: Truth/Formula_5E-5F_Magical_damage
001889e4: Calculate_Accuracy_for_Magical_Spells
00188a44: Calculate_Accuracy_for_Magical
00188aa4: MA_+_X_without_faith
00188c6c: Formula 04 - Magic Gun
00188db4: Formula 08 - Dmg F(MA*Y)
001892dc: Formula 1A - Hit F(MA+Y)% // -PA/MA/SP (X)
00189494: Formula 1F - Dmg ((100-CasF)*(100-TarF)*(MA+Y)*MA/2)
00189614: Formula 21 - DmgMP (MA*Y)