Difference between revisions of "Calculate Accuracy for Physical"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Routine used in formula 2B 001886d4: 27bdffe8 addiu r29,r29,0xffe8 001886d8: afbf0010 sw r31,0x0010(r29) 001886dc: 0c06217e jal 0x001885f8 Physical XA modification 00188...")
 
Line 2: Line 2:
 
  001886d4: 27bdffe8 addiu r29,r29,0xffe8
 
  001886d4: 27bdffe8 addiu r29,r29,0xffe8
 
  001886d8: afbf0010 sw r31,0x0010(r29)
 
  001886d8: afbf0010 sw r31,0x0010(r29)
  001886dc: 0c06217e jal 0x001885f8 Physical XA modification
+
  001886dc: 0c06217e jal 0x001885f8 [[Physical_XA_Modifying_Statuses/Support]]
 
  001886e0: 00000000 nop
 
  001886e0: 00000000 nop
  001886e4: 0c061967 jal 0x0018659c XA + YA for status formula
+
  001886e4: 0c061967 jal 0x0018659c XA + YA for status formula [[Set XA + YA for Status Formulas (Stupid section)]]
 
  001886e8: 00000000 nop
 
  001886e8: 00000000 nop
  001886ec: 0c061d44 jal 0x00187510
+
  001886ec: 0c061d44 jal 0x00187510             [[Use_Specific_Action_Hit_Percentage]]
 
  001886f0: 00000000 nop
 
  001886f0: 00000000 nop
 
  001886f4: 3c028019 lui r2,0x8019
 
  001886f4: 3c028019 lui r2,0x8019

Revision as of 21:50, 15 January 2021

Routine used in formula 2B
001886d4: 27bdffe8 addiu r29,r29,0xffe8
001886d8: afbf0010 sw r31,0x0010(r29)
001886dc: 0c06217e jal 0x001885f8		Physical_XA_Modifying_Statuses/Support
001886e0: 00000000 nop
001886e4: 0c061967 jal 0x0018659c		XA + YA for status formula Set XA + YA for Status Formulas (Stupid section)
001886e8: 00000000 nop
001886ec: 0c061d44 jal 0x00187510              Use_Specific_Action_Hit_Percentage
001886f0: 00000000 nop
001886f4: 3c028019 lui r2,0x8019
001886f8: 8c422d90 lw r2,0x2d90(r2)		target action pointer
001886fc: 00000000 nop
00188700: 90420000 lbu r2,0x0000(r2)		load hit flag
00188704: 00000000 nop
00188708: 2c420001 sltiu r2,r2,0x0001		set if did not hit
0018870c: 8fbf0010 lw r31,0x0010(r29)
00188710: 27bd0018 addiu r29,r29,0x0018
00188714: 03e00008 jr r31
00188718: 00000000 nop