Difference between revisions of "Dark/Confuse Caclulation"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 25: Line 25:
 
== Return Locations ==
 
== Return Locations ==
  
  00188528: [[Physical Evade Calculation]]
+
  00188530: [[Physical Evade Calculation]]
  00188580: [[Physical Evade Calculation(Charge)]]
+
  00188588: [[Physical Evade Calculation(Charge)]]

Revision as of 20:01, 22 March 2022

Dark/Confuse Caclulation
00185328: 3c028019 lui r2,0x8019
0018532c: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Data Pointer
00185330: 27bdffe8 addiu r29,r29,0xffe8
00185334: afbf0010 sw r31,0x0010(r29)
00185338: 90420059 lbu r2,0x0059(r2)		Load Attacker's 2nd set of statuses
0018533c: 00000000 nop
00185340: 30420030 andi r2,r2,0x0030
00185344: 10400007 beq r2,r0,0x00185364		Branch if Attacker isn't  Confused/Blind
00185348: 00000000 nop
0018534c: 3c038019 lui r3,0x8019
00185350: 246338dc addiu r3,r3,0x38dc
00185354: 90620000 lbu r2,0x0000(r3)		Load Base Hit
00185358: 00000000 nop
0018535c: 00021042 srl r2,r2,0x01		Base Hit / 2
00185360: a0620000 sb r2,0x0000(r3)		Store new Hit %
00185364: 0c06152e jal 0x001854b8		Transparent Calculation
00185368: 00000000 nop
0018536c: 8fbf0010 lw r31,0x0010(r29)
00185370: 27bd0018 addiu r29,r29,0x0018
00185374: 03e00008 jr r31
00185378: 00000000 nop


Return Locations

00188530: Physical Evade Calculation
00188588: Physical Evade Calculation(Charge)