001b27dc - 001b2848
Jump to navigation
Jump to search
< BATTLE.BIN Erroneous secondary animation, serves only to fall-back and properly continue a null animation after it has started executing.
001b27dc: 3c04801c lui r4,0x801c 001b27e0: 8c84c098 lw r4,-0x3f68(r4) #load effect target data 001b27e4: 00000000 nop 001b27e8: 8c830008 lw r3,0x0008(r4) #load initialisation byte 001b27ec: 34060002 ori r6,r0,0x0002 001b27f0: 1066000f beq r3,r6,0x001b2830 #branch if executing 001b27f4: 2c620003 sltiu r2,r3,0x0003 001b27f8: 10400005 beq r2,r0,0x001b2810 #branch if finalising 001b27fc: 34020001 ori r2,r0,0x0001 001b2800: 10620008 beq r3,r2,0x001b2824 #branch if initialising 001b2804: 00000000 nop 001b2808: 0806ca11 j 0x001b2844 #end if none 001b280c: 00000000 nop 001b2810: 34020003 ori r2,r0,0x0003 001b2814: 1062000a beq r3,r2,0x001b2840 #finalising 001b2818: 00000000 nop 001b281c: 0806ca11 j 0x001b2844 #error 001b2820: 00000000 nop
Initialising (0x8* = 0x1) 001b2824: ac860008 sw r6,0x0008(r4) #store animation as executing 001b2828: 0806ca11 j 0x001b2844 001b282c: 34050001 ori r5,r0,0x0001 #return continue animating
Executing (0x8* = 0x2) 001b2830: 34020003 ori r2,r0,0x0003 001b2834: ac820008 sw r2,0x0008(r4) #store animation as finalising 001b2838: 0806ca11 j 0x001b2844 001b283c: 34050001 ori r5,r0,0x0001 #return continue animating
Finalising (0x8* = 0x3) 001b2840: 00002821 addu r5,r0,r0 #return stop animating 001b2844: 03e00008 jr r31 001b2848: 00a01021 addu r2,r5,r0