Get next acting unit

From Final Fantasy Hacktics Wiki
Revision as of 20:40, 22 December 2024 by Nyzer (talk | contribs) (Nyzer moved page Get next acting unit? to Get next acting unit: Fucking question marks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

0007171c: 27bdffe0 addiu r29,r29,0xffe0
00071720: afb00010 sw r16,0x0010(r29)
00071724: 00808021 addu r16,r4,r0
00071728: afbf0018 sw r31,0x0018(r29)
0007172c: 0c01bbbc jal 0x0006eef0
00071730: afb10014 sw r17,0x0014(r29)
00071734: 3402000a ori r2,r0,0x000a
00071738: 3c018009 lui r1,0x8009
0007173c: ac2260e4 sw r2,0x60e4(r1)
00071740: 0c060d51 jal 0x00183544			calculate AT list and get next acting unit?
00071744: 02002021 addu r4,r16,r0
00071748: 00408021 addu r16,r2,r0			
0007174c: 06000015 bltz r16,0x000717a4
00071750: 00000000 nop
00071754: 0c01e9c9 jal 0x0007a724			get unit misc data
00071758: 320400ff andi r4,r16,0x00ff
0007175c: 00408821 addu r17,r2,r0
00071760: 32020100 andi r2,r16,0x0100
00071764: 10400009 beq r2,r0,0x0007178c		branch if not charging an ability
00071768: 00000000 nop
0007176c: 0c01a106 jal 0x00068418
00071770: 02202021 addu r4,r17,r0
00071774: 8e240134 lw r4,0x0134(r17)		r4 = unit data
00071778: 0c05eabe jal 0x0017aaf8			calculate targeting for menu types
0007177c: 2484016e addiu r4,r4,0x016e		r4 = unit targeting data
00071780: 34040007 ori r4,r0,0x0007
00071784: 0801c5e7 j 0x0007179c
00071788: 34050003 ori r5,r0,0x0003
0007178c: 0c01a0f9 jal 0x000683e4
00071790: 02202021 addu r4,r17,r0
00071794: 00002021 addu r4,r0,r0
00071798: 00002821 addu r5,r0,r0
0007179c: 0c03b1c6 jal 0x000ec718
000717a0: 00000000 nop
000717a4: 0c01b957 jal 0x0006e55c
000717a8: 00000000 nop
000717ac: 0c01a0f0 jal 0x000683c0
000717b0: 00000000 nop
000717b4: 8fbf0018 lw r31,0x0018(r29)
000717b8: 8fb10014 lw r17,0x0014(r29)
000717bc: 8fb00010 lw r16,0x0010(r29)
000717c0: 27bd0020 addiu r29,r29,0x0020
000717c4: 03e00008 jr r31
000717c8: 00000000 nop