Apply landing particle anim.

From Final Fantasy Hacktics Wiki
(Redirected from 001ae1a8 - 001ae2c4)
Jump to navigation Jump to search

< BATTLE.BIN

Falling a long distance secondary effect?
001ae1a8: 27bdffe0 addiu r29,r29,0xffe0
001ae1ac: afb10014 sw r17,0x0014(r29)
001ae1b0: 00808821 addu r17,r4,r0			input?
001ae1b4: afb00010 sw r16,0x0010(r29)
001ae1b8: afbf0018 sw r31,0x0018(r29)
001ae1bc: 0c06b60a jal 0x001ad828			001ad828 - 001ad940 cycles effect target ID's, returns currently animating effect target ID
001ae1c0: 00a08021 addu r16,r5,r0
001ae1c4: 304200ff andi r2,r2,0x00ff
001ae1c8: 00022080 sll r4,r2,0x02
001ae1cc: 00822021 addu r4,r4,r2
001ae1d0: 00042080 sll r4,r4,0x02
001ae1d4: 00822021 addu r4,r4,r2
001ae1d8: 00042080 sll r4,r4,0x02
001ae1dc: 34030009 ori r3,r0,0x0009
001ae1e0: 3c01801c lui r1,0x801c
001ae1e4: 00240821 addu r1,r1,r4
001ae1e8: a4208ba8 sh r0,-0x7458(r1)			#set current ETID's 0xc to 0
001ae1ec: 3c01801c lui r1,0x801c
001ae1f0: 00240821 addu r1,r1,r4
001ae1f4: a4238ba0 sh r3,-0x7460(r1)			#store secondary animation as falling far
001ae1f8: 3c03801c lui r3,0x801c
001ae1fc: 90638500 lbu r3,-0x7b00(r3)			#load falling far particle's function byte
001ae200: 3c01801c lui r1,0x801c
001ae204: 00240821 addu r1,r1,r4
001ae208: a0238b9f sb r3,-0x7461(r1)			#store function byte to current unit
001ae20c: 8a2300a7 lwl r3,0x00a7(r17)			#(contains unit's Misc ID?)
001ae210: 9a2300a4 lwr r3,0x00a4(r17)
001ae214: 8a2500ab lwl r5,0x00ab(r17)
001ae218: 9a2500a8 lwr r5,0x00a8(r17)
001ae21c: 862600ac lh r6,0x00ac(r17)
001ae220: 3c01801c lui r1,0x801c
001ae224: 00240821 addu r1,r1,r4
001ae228: a8238baf swl r3,-0x7451(r1)			#store to ETID's 0x10 - 0x13 (unit's misc. ID?)
001ae22c: 3c01801c lui r1,0x801c
001ae230: 00240821 addu r1,r1,r4
001ae234: b8238bac swr r3,-0x7454(r1)
001ae238: 3c01801c lui r1,0x801c
001ae23c: 00240821 addu r1,r1,r4
001ae240: a8258bb3 swl r5,-0x744d(r1)			#to ETID's 0x14 - 0x17 (no notes)
001ae244: 3c01801c lui r1,0x801c
001ae248: 00240821 addu r1,r1,r4
001ae24c: b8258bb0 swr r5,-0x7450(r1)
001ae250: 3c01801c lui r1,0x801c
001ae254: 00240821 addu r1,r1,r4
001ae258: a4268bb4 sh r6,-0x744c(r1)			#to ETID's 0x18 half (no notes)
001ae25c: 8e030000 lw r3,0x0000(r16)
001ae260: 00000000 nop
001ae264: 00031903 sra r3,r3,0x04
001ae268: 3c01801c lui r1,0x801c
001ae26c: 00240821 addu r1,r1,r4
001ae270: a4238bb8 sh r3,-0x7448(r1)			#to ETID's 0x1c (target X coord?)
001ae274: 8e030004 lw r3,0x0004(r16)
001ae278: 00000000 nop
001ae27c: 00031903 sra r3,r3,0x04
001ae280: 3c01801c lui r1,0x801c
001ae284: 00240821 addu r1,r1,r4
001ae288: a4238bba sh r3,-0x7446(r1)			#to ETID's 0x1e (target map level & Y coord?)
001ae28c: 8e030008 lw r3,0x0008(r16)
001ae290: 34050001 ori r5,r0,0x0001
001ae294: 3c01801c lui r1,0x801c
001ae298: 00240821 addu r1,r1,r4
001ae29c: ac258ba4 sw r5,-0x745c(r1)			#store 1 at correctly prepared check?
001ae2a0: 00031903 sra r3,r3,0x04
001ae2a4: 3c01801c lui r1,0x801c
001ae2a8: 00240821 addu r1,r1,r4
001ae2ac: a4238bbc sh r3,-0x7444(r1)			#to ETID's 0x20
001ae2b0: 8fbf0018 lw r31,0x0018(r29)
001ae2b4: 8fb10014 lw r17,0x0014(r29)
001ae2b8: 8fb00010 lw r16,0x0010(r29)
001ae2bc: 27bd0020 addiu r29,r29,0x0020
001ae2c0: 03e00008 jr r31
001ae2c4: 00000000 nop