Call Attack Preparation (AT list preview)
Jump to navigation
Jump to search
0017c3dc: 27bdffe0 addiu r29,r29,0xffe0 0017c3e0: afbf0018 sw r31,0x0018(r29) 0017c3e4: afb10014 sw r17,0x0014(r29) 0017c3e8: afb00010 sw r16,0x0010(r29) 0017c3ec: 90830000 lbu r3,0x0000(r4) load 0x16e attacker/self ID 0017c3f0: 34060001 ori r6,r0,0x0001 0017c3f4: 000310c0 sll r2,r3,0x03 0017c3f8: 00431023 subu r2,r2,r3 0017c3fc: 00021180 sll r2,r2,0x06 0017c400: 3c038019 lui r3,0x8019 0017c404: 246308cc addiu r3,r3,0x08cc r17 =attacker unit data 0017c408: 00438821 addu r17,r2,r3 0017c40c: 0c05f117 jal 0x0017c45c Action Control Routine 0017c410: 2625016e addiu r5,r17,0x016e r5 = 0x16e in unit data 0017c414: 00408021 addu r16,r2,r0 0017c418: 34020001 ori r2,r0,0x0001 r16 = 0x01 if ability CT = 0 0017c41c: 16020009 bne r16,r2,0x0017c444 skip reaction if CT > 0? 0017c420: 02001021 addu r2,r16,r0 0017c424: 3c028019 lui r2,0x8019 0017c428: 8c42f5f0 lw r2,-0x0a10(r2) load reaction check 0017c42c: 00000000 nop 0017c430: 14400004 bne r2,r0,0x0017c444 branch if reaction stored? 0017c434: 02001021 addu r2,r16,r0 0017c438: 0c060f78 jal 0x00183de0 jump to set status flags for display? 0017c43c: 02202021 addu r4,r17,r0 0017c440: 02001021 addu r2,r16,r0 0017c444: 8fbf0018 lw r31,0x0018(r29) 0017c448: 8fb10014 lw r17,0x0014(r29) 0017c44c: 8fb00010 lw r16,0x0010(r29) 0017c450: 27bd0020 addiu r29,r29,0x0020 0017c454: 03e00008 jr r31 0017c458: 00000000 nop