001b3820 - 001b3934

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search

< BATTLE.BIN

001b3820: 3c04801c lui r4,0x801c
001b3824: 8c84c098 lw r4,-0x3f68(r4)
001b3828: 27bdffb8 addiu r29,r29,0xffb8
001b382c: afbf0040 sw r31,0x0040(r29)
001b3830: 8c830008 lw r3,0x0008(r4)
001b3834: 34050002 ori r5,r0,0x0002
001b3838: 10650012 beq r3,r5,0x001b3884
001b383c: 2c620003 sltiu r2,r3,0x0003
001b3840: 10400005 beq r2,r0,0x001b3858
001b3844: 34020001 ori r2,r0,0x0001
001b3848: 10620008 beq r3,r2,0x001b386c
001b384c: 00c01021 addu r2,r6,r0
001b3850: 0806ce4a j 0x001b3928
001b3854: 00000000 nop
001b3858: 34020003 ori r2,r0,0x0003
001b385c: 1062000c beq r3,r2,0x001b3890
001b3860: 00c01021 addu r2,r6,r0
001b3864: 0806ce4a j 0x001b3928
001b3868: 00000000 nop
001b386c: 34060001 ori r6,r0,0x0001
001b3870: a480002c sh r0,0x002c(r4)
001b3874: a480000c sh r0,0x000c(r4)
001b3878: a480002e sh r0,0x002e(r4)
001b387c: 0806ce49 j 0x001b3924
001b3880: ac850008 sw r5,0x0008(r4)
001b3884: 3404000f ori r4,r0,0x000f
001b3888: 0c06c33c jal 0x001b0cf0
001b388c: 3405000b ori r5,r0,0x000b
001b3890: 0c06a689 jal 0x001a9a24
001b3894: 00000000 nop
001b3898: 0c06a66b jal 0x001a99ac
001b389c: 34040230 ori r4,r0,0x0230
001b38a0: 34021000 ori r2,r0,0x1000
001b38a4: afa00030 sw r0,0x0030(r29)
001b38a8: afa00028 sw r0,0x0028(r29)
001b38ac: 0c06a66f jal 0x001a99bc
001b38b0: afa2002c sw r2,0x002c(r29)
001b38b4: 0c06a661 jal 0x001a9984
001b38b8: 27a40028 addiu r4,r29,0x0028
001b38bc: 0c06c3c2 jal 0x001b0f08
001b38c0: 3404000f ori r4,r0,0x000f
001b38c4: 0c06a68f jal 0x001a9a3c
001b38c8: 00000000 nop
001b38cc: 0c06a67c jal 0x001a99f0
001b38d0: 00000000 nop
001b38d4: 3c05801c lui r5,0x801c
001b38d8: 8ca5c098 lw r5,-0x3f68(r5)
001b38dc: 00000000 nop
001b38e0: 84a4002e lh r4,0x002e(r5)
001b38e4: 94a3000c lhu r3,0x000c(r5)
001b38e8: 38820001 xori r2,r4,0x0001
001b38ec: 0002302b sltu r6,r0,r2
001b38f0: 24630001 addiu r3,r3,0x0001
001b38f4: 84a2002c lh r2,0x002c(r5)
001b38f8: 00000000 nop
001b38fc: 14400009 bne r2,r0,0x001b3924
001b3900: a4a3000c sh r3,0x000c(r5)
001b3904: 00031400 sll r2,r3,0x10
001b3908: 3c03801c lui r3,0x801c
001b390c: 90638818 lbu r3,-0x77e8(r3)
001b3910: 00021403 sra r2,r2,0x10
001b3914: 0062182a slt r3,r3,r2
001b3918: 10600002 beq r3,r0,0x001b3924
001b391c: 24820001 addiu r2,r4,0x0001
001b3920: a4a2002e sh r2,0x002e(r5)
001b3924: 00c01021 addu r2,r6,r0
001b3928: 8fbf0040 lw r31,0x0040(r29)
001b392c: 27bd0048 addiu r29,r29,0x0048
001b3930: 03e00008 jr r31
001b3934: 00000000 nop