Elemental Strengthen

From Final Fantasy Hacktics Wiki
Revision as of 02:45, 22 February 2012 by Choto (talk | contribs) (Created page with " Elemental Strengthen 00185ffc: 3c028019 lui r2,0x8019 00186000: 8c422d94 lw r2,0x2d94(r2) Load Attacker's Data 00186004: 3c038019 lui r3,0x8019 00186008: 906338f7 l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Elemental Strengthen 
00185ffc: 3c028019 lui r2,0x8019		
00186000: 8c422d94 lw r2,0x2d94(r2)		Load Attacker's Data
00186004: 3c038019 lui r3,0x8019		
00186008: 906338f7 lbu r3,0x38f7(r3)		Load Abilities Element
0018600c: 90420071 lbu r2,0x0071(r2)		Load Attacker's Elemental Strenghtened
00186010: 00000000 nop				
00186014: 00431024 and r2,r2,r3			
00186018: 1040000c beq r2,r0,0x0018604c		Branch if Abilities Element isn't being powered 
0018601c: 00000000 nop				
00186020: 3c038019 lui r3,0x8019		
00186024: 846338ce lh r3,0x38ce(r3)		Load XA
00186028: 00000000 nop				
0018602c: 00031080 sll r2,r3,0x02		XA * 4
00186030: 00431021 addu r2,r2,r3		XA * 5
00186034: 04410002 bgez r2,0x00186040		Branch if XA > 0
00186038: 00000000 nop
0018603c: 24420003 addiu r2,r2,0x0003		XA + 3
00186040: 00021083 sra r2,r2,0x02		XA * 5 / 4 (increase XA by 25%)
00186044: 3c018019 lui r1,0x8019
00186048: a42238ce sh r2,0x38ce(r1)		Store new XA
0018604c: 03e00008 jr r31
00186050: 00000000 nop