Difference between revisions of "Calculate Hit %"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Calculate Hit % 00188488: 27bdffe8 addiu r29,r29,0xffe8 0018848c: afbf0010 sw r31,0x0010(r29) 00188490: 0c061605 jal 0x00185814 Calculate Final Hit % 00188494: 00000000 ...")
 
Line 2: Line 2:
 
  00188488: 27bdffe8 addiu r29,r29,0xffe8
 
  00188488: 27bdffe8 addiu r29,r29,0xffe8
 
  0018848c: afbf0010 sw r31,0x0010(r29)
 
  0018848c: afbf0010 sw r31,0x0010(r29)
  00188490: 0c061605 jal 0x00185814 Calculate Final Hit %
+
  00188490: 0c061605 jal 0x00185814 [[Calculate Final Hit %]]
 
  00188494: 00000000 nop
 
  00188494: 00000000 nop
 
  00188498: 3c028019 lui r2,0x8019
 
  00188498: 3c028019 lui r2,0x8019

Revision as of 05:33, 28 April 2016

Calculate Hit %
00188488: 27bdffe8 addiu r29,r29,0xffe8
0018848c: afbf0010 sw r31,0x0010(r29)
00188490: 0c061605 jal 0x00185814		Calculate Final Hit %
00188494: 00000000 nop
00188498: 3c028019 lui r2,0x8019
0018849c: 8c422d90 lw r2,0x2d90(r2)		Load Current Action Data Pointer
001884a0: 00000000 nop
001884a4: 90420000 lbu r2,0x0000(r2)		Load Able to hit Flag
001884a8: 00000000 nop
001884ac: 2c420001 sltiu r2,r2,0x0001		r2 = 1 if Attack was Evaded
001884b0: 8fbf0010 lw r31,0x0010(r29)
001884b4: 27bd0018 addiu r29,r29,0x0018
001884b8: 03e00008 jr r31
001884bc: 00000000 nop