Difference between revisions of "Abandon Calculation"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Line 4: Line 4:
 
  00185384: 27bdffe8 addiu r29,r29,0xffe8
 
  00185384: 27bdffe8 addiu r29,r29,0xffe8
 
  00185388: afbf0010 sw r31,0x0010(r29)
 
  00185388: afbf0010 sw r31,0x0010(r29)
  0018538c: 0c0604c3 jal 0x0018130c Weapon Guard Usability
+
  0018538c: 0c0604c3 jal 0x0018130c [[Weapon Guard Usability]]
 
  00185390: 00000000 nop
 
  00185390: 00000000 nop
 
  00185394: 14400013 bne r2,r0,0x001853e4 Branch if Target can't use Weapon Guard
 
  00185394: 14400013 bne r2,r0,0x001853e4 Branch if Target can't use Weapon Guard

Revision as of 05:31, 28 April 2016

Abandon Calculation
0018537c: 3c048019 lui r4,0x8019
00185380: 8c842d98 lw r4,0x2d98(r4)		Load Target's Data Pointer
00185384: 27bdffe8 addiu r29,r29,0xffe8
00185388: afbf0010 sw r31,0x0010(r29)
0018538c: 0c0604c3 jal 0x0018130c		Weapon Guard Usability
00185390: 00000000 nop
00185394: 14400013 bne r2,r0,0x001853e4		Branch if Target can't use Weapon Guard
00185398: 00000000 nop
0018539c: 3c028019 lui r2,0x8019
001853a0: 8c422d98 lw r2,0x2d98(r2)		Load Target's Data Pointer
001853a4: 00000000 nop
001853a8: 9042008e lbu r2,0x008e(r2)		Load Target's 4th set of Reactions
001853ac: 00000000 nop
001853b0: 30420010 andi r2,r2,0x0010
001853b4: 1040000b beq r2,r0,0x001853e4		Branch if Target doesn't have Abandon
001853b8: 00000000 nop
001853bc: 3c038019 lui r3,0x8019
001853c0: 246338dc addiu r3,r3,0x38dc
001853c4: 90620000 lbu r2,0x0000(r3)		Load Base Hit
001853c8: 00000000 nop
001853cc: 00021042 srl r2,r2,0x01		Base Hit / 2
001853d0: a0620000 sb r2,0x0000(r3)		Store new Hit%
001853d4: 3c038019 lui r3,0x8019
001853d8: 8c632d90 lw r3,0x2d90(r3)		Current Action Data Pointer
001853dc: 340201c1 ori r2,r0,0x01c1
001853e0: a462000e sh r2,0x000e(r3)		Store Reaction = Abandon
001853e4: 8fbf0010 lw r31,0x0010(r29)
001853e8: 27bd0018 addiu r29,r29,0x0018
001853ec: 03e00008 jr r31
001853f0: 00000000 nop


Return Locations

  • Battle.bin
00188530: Physical Evade Calculation
00188588: Physical Evade Calculation(Charge)
001885d0: Magical Evade Calculation