End secondary effect on current unit

From Final Fantasy Hacktics Wiki
Revision as of 05:35, 27 May 2023 by Talcall (talk | contribs) (Talcall moved page 001ae2c8 - 001ae33c to End secondary effect on current unit)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

< BATTLE.BIN

001ae2c8: 27bdffe8 addiu r29,r29,0xffe8
001ae2cc: afbf0010 sw r31,0x0010(r29)
001ae2d0: 0c06b60a jal 0x001ad828			#001ad828 - 001ad940 - effect related (returns currently animating effect target ID)
001ae2d4: 00000000 nop
001ae2d8: 304200ff andi r2,r2,0x00ff
001ae2dc: 00021880 sll r3,r2,0x02
001ae2e0: 00621821 addu r3,r3,r2
001ae2e4: 00031880 sll r3,r3,0x02
001ae2e8: 00621821 addu r3,r3,r2
001ae2ec: 00031880 sll r3,r3,0x02
001ae2f0: 34040015 ori r4,r0,0x0015
001ae2f4: 3c01801c lui r1,0x801c
001ae2f8: 00230821 addu r1,r1,r3
001ae2fc: a4208ba8 sh r0,-0x7458(r1)
001ae300: 3c01801c lui r1,0x801c
001ae304: 00230821 addu r1,r1,r3
001ae308: a4248ba0 sh r4,-0x7460(r1)			#set secondary effect as 0x15 (blank/ending)
001ae30c: 3c05801c lui r5,0x801c
001ae310: 90a58530 lbu r5,-0x7ad0(r5)			#0x801b8530
001ae314: 34040001 ori r4,r0,0x0001
001ae318: 3c01801c lui r1,0x801c
001ae31c: 00230821 addu r1,r1,r3
001ae320: ac248ba4 sw r4,-0x745c(r1)			#set 
001ae324: 3c01801c lui r1,0x801c
001ae328: 00230821 addu r1,r1,r3
001ae32c: a0258b9f sb r5,-0x7461(r1)			#store secondary effect's function byte (5-nothing)
001ae330: 8fbf0010 lw r31,0x0010(r29)
001ae334: 27bd0018 addiu r29,r29,0x0018
001ae338: 03e00008 jr r31
001ae33c: 00000000 nop