"Attack" Sword display

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
"Attack" Sword display
00080020: 02a02021 addu r4,r21,r0      
00080024: 00002821 addu r5,r0,r0      
00080028: 2406fff9 addiu r6,r0,0xfff9      
0008002c: 001e3c00 sll r7,r30,0x10      
00080030: 00073c03 sra r7,r7,0x10      
00080034: 34020040 ori r2,r0,0x0040      
00080038: afa20010 sw r2,0x0010(r29)      Store X location as 0x0040 (or 64)
0008003c: 3402000c ori r2,r0,0x000c      
00080040: afa20018 sw r2,0x0018(r29)      Store width as 0x000c (or 12)
00080044: 3402000d ori r2,r0,0x000d      
00080048: afa00014 sw r0,0x0014(r29)      Store Y location as 0x0000
0008004c: 080200e2 j 0x00080388         
00080050: afa2001c sw r2,0x001c(r29)      Store height as 0x000d (or 13)