Difference between revisions of "Elemental Damage Modification (Prep)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
m
 
Line 1: Line 1:
  Elemental Damage Modification (Prep)
+
  No Parameters - Returns Nothing
  00186fd0: 3c048019 lui r4,0x8019
+
  00186fd4: 90843904 lbu r4,0x3904(r4) Load Weapon's Element
+
Load Current Ability Weapon Element ( 0x80193904 ) and go to Elemental modification with it
  00186fd8: 27bdffe8 addiu r29,r29,0xffe8
+
-------------------------------------------------------------------------------------------------
  00186fdc: afbf0010 sw r31,0x0010(r29)
+
  00186fd0: 3c048019 lui r4,0x8019          
  00186fe0: 0c0613a6 jal 0x00184e98 Elemental Damage Modification (Halve, Null, Absorb, Weak)
+
  00186fd4: 90843904 lbu r4,0x3904(r4)       {{f/load|<nowiki>r4 = Current Ability Weapon Element</nowiki>}} {{f/std|    0x80193904 / 80193904}}
  00186fe4: 00000000 nop
+
  00186fd8: 27bdffe8 addiu r29,r29,-0x0018   
  00186fe8: 8fbf0010 lw r31,0x0010(r29)
+
  00186fdc: afbf0010 sw r31,0x0010(r29)      
  00186fec: 27bd0018 addiu r29,r29,0x0018
+
  00186fe0: 0c0613a6 jal 0x00184e98           {{f/jal|Elemental_Damage_Modification|Elemental_Damage_Modification}} Modify HP damage if Weakness/Halve - Enable absorption flags - Nullify Action if canceled
  00186ff0: 03e00008 jr r31
+
  00186fe4: 00000000 nop                    
  00186ff4: 00000000 nop
+
  00186fe8: 8fbf0010 lw r31,0x0010(r29)      
 
+
  00186fec: 27bd0018 addiu r29,r29,0x0018  
 
+
  00186ff0: 03e00008 jr r31                  
== Return Locations ==
+
  00186ff4: 00000000 nop                
 
+
=== Return Locations ===
*Battle.bin
+
'''Battle.bin'''
  00188660: [[Weapon Damage Calculation]]
+
  00188668: [[Weapon Damage Calculation]]
  00189b50: [[2D Dmg_(PA*(WP+Y)) 100% Status]]
+
  00189b58: [[2D Dmg_(PA*(WP+Y)) 100% Status]]
  00189c14: [[2E Equipped:Break Dmg_(PA*WP)]]
+
  00189c1c: [[2E Equipped:Break Dmg_(PA*WP)]]
  0018ac08: [[63 Dmg_(SP*WP)]]
+
  0018ac10: [[63 Dmg_(SP*WP)]]

Latest revision as of 19:19, 4 April 2022

No Parameters - Returns Nothing

Load Current Ability Weapon Element ( 0x80193904 ) and go to Elemental modification with it
-------------------------------------------------------------------------------------------------
00186fd0: 3c048019 lui r4,0x8019            
00186fd4: 90843904 lbu r4,0x3904(r4)        r4 = Current Ability Weapon Element      0x80193904 / 80193904
00186fd8: 27bdffe8 addiu r29,r29,-0x0018    
00186fdc: afbf0010 sw r31,0x0010(r29)       
00186fe0: 0c0613a6 jal 0x00184e98           -->Elemental_Damage_Modification Modify HP damage if Weakness/Halve - Enable absorption flags - Nullify Action if canceled
00186fe4: 00000000 nop                      
00186fe8: 8fbf0010 lw r31,0x0010(r29)       
00186fec: 27bd0018 addiu r29,r29,0x0018    
00186ff0: 03e00008 jr r31                   
00186ff4: 00000000 nop                 

Return Locations

Battle.bin
00188668: Weapon Damage Calculation
00189b58: 2D Dmg_(PA*(WP+Y)) 100% Status
00189c1c: 2E Equipped:Break Dmg_(PA*WP)
0018ac10: 63 Dmg_(SP*WP)