Difference between revisions of "Song abilities"

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
(Created page with "<font face='Courier New'> 001869ec: 3c028019 lui r2,0x8019 001869f0: 944238d6 lhu r2,0x38d6(r2) 001869f4: 27bdffe8 addiu r29,r29,0xffe8 001869f8: 2443ffaa addiu r3,r2...")
 
m (return link)
Line 69: Line 69:
 
  00186af4: 00000000 nop
 
  00186af4: 00000000 nop
 
</font>
 
</font>
 +
==Return location==
 +
001893c8: [[1C_Hit_(X)%25|Formula 1C - Hit (X)%]]

Revision as of 19:31, 22 August 2021

001869ec: 3c028019 lui r2,0x8019
001869f0: 944238d6 lhu r2,0x38d6(r2)			
001869f4: 27bdffe8 addiu r29,r29,0xffe8
001869f8: 2443ffaa addiu r3,r2,0xffaa
001869fc: 2c620007 sltiu r2,r3,0x0007
00186a00: 10400035 beq r2,r0,0x00186ad8			branch if not song ability
00186a04: afbf0010 sw r31,0x0010(r29)
00186a08: 00031080 sll r2,r3,0x02
00186a0c: 3c018017 lui r1,0x8017
00186a10: 00220821 addu r1,r1,r2
00186a14: 8c22423c lw r2,0x423c(r1)
00186a18: 00000000 nop
00186a1c: 00400008 jr r2
00186a20: 00000000 nop
00186a24: 3c028019 lui r2,0x8019
00186a28: 944238ce lhu r2,0x38ce(r2)			load XA
00186a2c: 3c038019 lui r3,0x8019
00186a30: 946338d0 lhu r3,0x38d0(r3)			load YA
00186a34: 3c048019 lui r4,0x8019
00186a38: 8c842d90 lw r4,0x2d90(r4)
00186a3c: 00431021 addu r2,r2,r3		
00186a40: a482000a sh r2,0x000a(r4)				store MP recovery XA + YA
00186a44: 34020010 ori r2,r0,0x0010
00186a48: 08061aba j 0x00186ae8
00186a4c: a0820025 sb r2,0x0025(r4)				store attack type
00186a50: 3c028019 lui r2,0x8019
00186a54: 944238ce lhu r2,0x38ce(r2)
00186a58: 3c038019 lui r3,0x8019
00186a5c: 946338d0 lhu r3,0x38d0(r3)
00186a60: 3c048019 lui r4,0x8019
00186a64: 8c842d90 lw r4,0x2d90(r4)
00186a68: 00431021 addu r2,r2,r3
00186a6c: a4820006 sh r2,0x0006(r4)				store HP recovery
00186a70: 34020040 ori r2,r0,0x0040
00186a74: 08061aba j 0x00186ae8
00186a78: a0820025 sb r2,0x0025(r4)
00186a7c: 3c038019 lui r3,0x8019
00186a80: 8c632d90 lw r3,0x2d90(r3)
00186a84: 34020081 ori r2,r0,0x0081
00186a88: 08061ab6 j 0x00186ad8
00186a8c: a0620012 sb r2,0x0012(r3)				store SP change + 01
00186a90: 3c038019 lui r3,0x8019
00186a94: 8c632d90 lw r3,0x2d90(r3)
00186a98: 34020081 ori r2,r0,0x0081
00186a9c: 08061ab6 j 0x00186ad8
00186aa0: a0620014 sb r2,0x0014(r3)				store PA change +1
00186aa4: 3c038019 lui r3,0x8019
00186aa8: 8c632d90 lw r3,0x2d90(r3)
00186aac: 34020081 ori r2,r0,0x0081
00186ab0: 08061ab6 j 0x00186ad8
00186ab4: a0620015 sb r2,0x0015(r3)				store MA change +1
00186ab8: 0c061fc9 jal 0x00187f24				apply status to action?
00186abc: 00000000 nop
00186ac0: 08061aba j 0x00186ae8
00186ac4: 00000000 nop
00186ac8: 3c038019 lui r3,0x8019
00186acc: 8c632d90 lw r3,0x2d90(r3)
00186ad0: 340200ff ori r2,r0,0x00ff
00186ad4: a0620013 sb r2,0x0013(r3)				store CT change = quick
00186ad8: 3c038019 lui r3,0x8019
00186adc: 8c632d90 lw r3,0x2d90(r3)
00186ae0: 34020001 ori r2,r0,0x0001
00186ae4: a0620025 sb r2,0x0025(r3)				store attack type = psuedo status change
00186ae8: 8fbf0010 lw r31,0x0010(r29)
00186aec: 27bd0018 addiu r29,r29,0x0018
00186af0: 03e00008 jr r31
00186af4: 00000000 nop

Return location

001893c8: Formula 1C - Hit (X)%