Difference between revisions of "Attacker Berserk/Frog Check"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with " Attacker Berserk/Frog Check 00186254: 3c028019 lui r2,0x8019 00186258: 8c422d94 lw r2,0x2d94(r2) Load Attacker's Data Pointer 0018625c: 00000000 nop 00186260: 9042005a l...")
 
Line 30: Line 30:
 
  001862c4: 03e00008 jr r31
 
  001862c4: 03e00008 jr r31
 
  001862c8: 00000000 nop
 
  001862c8: 00000000 nop
 +
 +
== Return Locations ==
 +
 +
*Battle.bin
 +
00188608: [[Physical XA Modifying Statuses/Support ]]
 +
00188ae4: [[Magical XA * YA]]
 +
00189898: [[28 StealExp_(Lowest of TarCurExp & SP+Y) Hit_(SP+X)%]]
 +
00189e40: [[33 Hit_(PA+X)%]]

Revision as of 11:54, 6 March 2012

Attacker Berserk/Frog Check
00186254: 3c028019 lui r2,0x8019
00186258: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Data Pointer
0018625c: 00000000 nop
00186260: 9042005a lbu r2,0x005a(r2)		Load Attacker's 3rd set of statuses
00186264: 00000000 nop
00186268: 30420008 andi r2,r2,0x0008
0018626c: 1040000b beq r2,r0,0x0018629c		Branch if Attacker is not Berserk
00186270: 00000000 nop
00186274: 3c048019 lui r4,0x8019
00186278: 248438ce addiu r4,r4,0x38ce
0018627c: 84830000 lh r3,0x0000(r4)		Load XA
00186280: 00000000 nop
00186284: 00031040 sll r2,r3,0x01		XA * 2
00186288: 00431021 addu r2,r2,r3		XA * 3
0018628c: 00021fc2 srl r3,r2,0x1f
00186290: 00431021 addu r2,r2,r3
00186294: 00021043 sra r2,r2,0x01		XA * 3 / 2
00186298: a4820000 sh r2,0x0000(r4)		Store new XA
0018629c: 3c028019 lui r2,0x8019
001862a0: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Data Pointer
001862a4: 00000000 nop
001862a8: 9042005a lbu r2,0x005a(r2)		Load Attacker's 3rd set of statuses
001862ac: 00000000 nop
001862b0: 30420002 andi r2,r2,0x0002
001862b4: 10400003 beq r2,r0,0x001862c4		Branch if Attacker is not a Frog
001862b8: 34020001 ori r2,r0,0x0001
001862bc: 3c018019 lui r1,0x8019
001862c0: a42238ce sh r2,0x38ce(r1)		Store XA = 1
001862c4: 03e00008 jr r31
001862c8: 00000000 nop

Return Locations

  • Battle.bin
00188608: Physical XA Modifying Statuses/Support 
00188ae4: Magical XA * YA
00189898: 28 StealExp_(Lowest of TarCurExp & SP+Y) Hit_(SP+X)%
00189e40: 33 Hit_(PA+X)%