BUNIT.OUT Move Image & Wait

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
001ce88c: 27bdffe8 addiu r29,r29,-0x0018
001ce890: afbf0010 sw r31,0x0010(r29)
001ce894: 00052c00 sll r5,r5,0x10
001ce898: 00063400 sll r6,r6,0x10
001ce89c: 00052c03 sra r5,r5,0x10
001ce8a0: 0c009271 jal 0x000249c4               SYS MoveImage
001ce8a4: 00063403 sra r6,r6,0x10
001ce8a8: 0c0091b5 jal 0x000246d4               SYS DrawSync
001ce8ac: 34040001 ori r4,r0,0x0001
001ce8b0: 1440fffd bne r2,r0,0x001ce8a8         hold CPU until drawsync is done
001ce8b4: 00000000 nop
001ce8b8: 8fbf0010 lw r31,0x0010(r29)
001ce8bc: 27bd0018 addiu r29,r29,0x0018
001ce8c0: 03e00008 jr r31
001ce8c4: 00000000 nop