AT List Preview

From Final Fantasy Hacktics Wiki
Revision as of 21:56, 22 December 2024 by Nyzer (talk | contribs) (Nyzer moved page AT List Preview? to AT List Preview: Fucking question marks)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

001835f8: 27bdffb0 addiu r29,r29,0xffb0
001835fc: afb1002c sw r17,0x002c(r29)
00183600: 00808821 addu r17,r4,r0				Unit Data
00183604: afb00028 sw r16,0x0028(r29)
00183608: 00a08021 addu r16,r5,r0				16982c
0018360c: afb20030 sw r18,0x0030(r29)
00183610: 00c09021 addu r18,r6,r0				1bf680
00183614: afb60040 sw r22,0x0040(r29)
00183618: 2636016e addiu r22,r17,0x016e			r22 = 0x16e in unit data
0018361c: 02c02021 addu r4,r22,r0
00183620: 27a50010 addiu r5,r29,0x0010
00183624: afbf004c sw r31,0x004c(r29)
00183628: afbe0048 sw r30,0x0048(r29)
0018362c: afb70044 sw r23,0x0044(r29)
00183630: afb5003c sw r21,0x003c(r29)
00183634: afb40038 sw r20,0x0038(r29)
00183638: 0c01788b jal 0x0005e22c				save 0x16e data on stack
0018363c: afb30034 sw r19,0x0034(r29)
00183640: 923e015d lbu r30,0x015d(r17)			load current ability CT
00183644: 923701bb lbu r23,0x01bb(r17)			load inflicted status 1
00183648: 92340187 lbu r20,0x0187(r17)			load movement taken flag
0018364c: 92350188 lbu r21,0x0188(r17)			load action taken flag
00183650: 3c138019 lui r19,0x8019
00183654: 8e73f5fc lw r19,-0x0a04(r19)			load targeting/executing flag
00183658: 34020002 ori r2,r0,0x0002
0018365c: 3c018019 lui r1,0x8019
00183660: ac22f5fc sw r2,-0x0a04(r1)			store targeting?
00183664: 0c05f0f7 jal 0x0017c3dc				attack prep setup
00183668: 02002021 addu r4,r16,r0
0018366c: 34030001 ori r3,r0,0x0001
00183670: 14430002 bne r2,r3,0x0018367c			branch if ???
00183674: 02402021 addu r4,r18,r0
00183678: a220015d sb r0,0x015d(r17)
0018367c: 0c060dc3 jal 0x0018370c				Calculate AT List
00183680: 34050003 ori r5,r0,0x0003
00183684: 00408021 addu r16,r2,r0
00183688: 2402ffff addiu r2,r0,0xffff
0018368c: 12020007 beq r16,r2,0x001836ac
00183690: 02202021 addu r4,r17,r0
00183694: 9224018a lbu r4,0x018a(r17)
00183698: 9225015d lbu r5,0x015d(r17)			
0018369c: 0c0605c8 jal 0x00181720				Calculate turns before CT resolution
001836a0: 02403021 addu r6,r18,r0
001836a4: 305000ff andi r16,r2,0x00ff
001836a8: 02202021 addu r4,r17,r0
001836ac: 3c018019 lui r1,0x8019
001836b0: ac33f5fc sw r19,-0x0a04(r1)			store code
001836b4: a2340187 sb r20,0x0187(r17)
001836b8: a2350188 sb r21,0x0188(r17)			store move/act 
001836bc: 0c0179d1 jal 0x0005e744
001836c0: a23701bb sb r23,0x01bb(r17)			store status inflict list
001836c4: 27a40010 addiu r4,r29,0x0010
001836c8: 02c02821 addu r5,r22,r0
001836cc: 0c01788b jal 0x0005e22c
001836d0: a23e015d sb r30,0x015d(r17)			store current ability CT
001836d4: 02001021 addu r2,r16,r0
001836d8: 8fbf004c lw r31,0x004c(r29)
001836dc: 8fbe0048 lw r30,0x0048(r29)
001836e0: 8fb70044 lw r23,0x0044(r29)
001836e4: 8fb60040 lw r22,0x0040(r29)
001836e8: 8fb5003c lw r21,0x003c(r29)
001836ec: 8fb40038 lw r20,0x0038(r29)
001836f0: 8fb30034 lw r19,0x0034(r29)
001836f4: 8fb20030 lw r18,0x0030(r29)
001836f8: 8fb1002c lw r17,0x002c(r29)
001836fc: 8fb00028 lw r16,0x0028(r29)
00183700: 27bd0050 addiu r29,r29,0x0050
00183704: 03e00008 jr r31
00183708: 00000000 nop