Difference between revisions of "03 Dmg (WP^2)"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " [03] Guns 00188be4: 3c028019 lui r2,0x8019 00188be8: 90423902 lbu r2,0x3902(r2) Load WP 00188bec: 27bdffe8 addiu r29,r29,0xffe8 00188bf0: afbf0010 sw r31,0x0010(r29) 00...")
 
m (Added links to documented routines: chage calculation and damage calculation)
Line 8: Line 8:
 
  00188bfc: 3c018019 lui r1,0x8019
 
  00188bfc: 3c018019 lui r1,0x8019
 
  00188c00: a42238d0 sh r2,0x38d0(r1) YA = WP
 
  00188c00: a42238d0 sh r2,0x38d0(r1) YA = WP
  00188c04: 0c0617e0 jal 0x 00185f80 Charge Calculation
+
  00188c04: 0c0617e0 jal 0x 00185f80 [[Charge Calculation]]
 
  00188c08: 00000000 nop
 
  00188c08: 00000000 nop
  00188c0c: 0c0621a9 jal 0x 001886a4 Physical Damage Calculation
+
  00188c0c: 0c0621a9 jal 0x 001886a4 Physical [[Damage Calculation]]
 
  00188c10: 00000000 nop
 
  00188c10: 00000000 nop
 
  00188c14: 8fbf0010 lw r31,0x0010(r29)
 
  00188c14: 8fbf0010 lw r31,0x0010(r29)

Revision as of 15:14, 22 September 2016

[03] Guns
00188be4: 3c028019 lui r2,0x8019
00188be8: 90423902 lbu r2,0x3902(r2)		Load WP
00188bec: 27bdffe8 addiu r29,r29,0xffe8
00188bf0: afbf0010 sw r31,0x0010(r29)
00188bf4: 3c018019 lui r1,0x8019
00188bf8: a42238ce sh r2,0x38ce(r1)		XA = WP
00188bfc: 3c018019 lui r1,0x8019
00188c00: a42238d0 sh r2,0x38d0(r1)		YA = WP
00188c04: 0c0617e0 jal 0x 00185f80		Charge Calculation
00188c08: 00000000 nop
00188c0c: 0c0621a9 jal 0x 001886a4		Physical Damage Calculation
00188c10: 00000000 nop
00188c14: 8fbf0010 lw r31,0x0010(r29)
00188c18: 27bd 0018 addiu r29,r29,0x 0018
00188c1c: 03e00008 jr r31
00188c20: 00000000 nop