Equippable Item Setting (Support/Female-only)

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
Equippable Item Setting (Support/Female-only)
0005c27c: 9083008f lbu r3,0x008f(r4)		Load Unit's 1st set of Support
0005c280: 00000000 nop
0005c284: 30620080 andi r2,r3,0x0080
0005c288: 10400006 beq r2,r0,0x0005c2a4		Branch if Support is not Equip  Armor
0005c28c: 30620040 andi r2,r3,0x0040
0005c290: 9082004c lbu r2,0x004c(r4)		Load Unit's Equippable Items set 3
0005c294: 00000000 nop
0005c298: 34420009 ori r2,r2,0x0009		Enable Helm/Armor
0005c29c: a082004c sb r2,0x004c(r4)		Store new Equippable Items
0005c2a0: 30620040 andi r2,r3,0x0040
0005c2a4: 10400006 beq r2,r0,0x0005c2c0		Branch if Support is not Equip  Shield
0005c2a8: 30620020 andi r2,r3,0x0020
0005c2ac: 9082004c lbu r2,0x004c(r4)		Load Unit's Equippable Items set 3
0005c2b0: 00000000 nop
0005c2b4: 34420010 ori r2,r2,0x0010		Enable Shield
0005c2b8: a082004c sb r2,0x004c(r4)		Store New Equippable Items
0005c2bc: 30620020 andi r2,r3,0x0020
0005c2c0: 10400006 beq r2,r0,0x0005c2dc		Branch if Support is not Equip  Sword
0005c2c4: 30620010 andi r2,r3,0x0010
0005c2c8: 9082004a lbu r2,0x004a(r4)		Load Unit's Equippable Items set 1
0005c2cc: 00000000 nop
0005c2d0: 34420010 ori r2,r2,0x0010		Enable Swords
0005c2d4: a082004a sb r2,0x004a(r4)		Store new Equippable Items
0005c2d8: 30620010 andi r2,r3,0x0010
0005c2dc: 10400006 beq r2,r0,0x0005c2f8		Branch if Support is not Equip  Katana
0005c2e0: 30620008 andi r2,r3,0x0008
0005c2e4: 9082004a lbu r2,0x004a(r4)		Load Unit's Equippable Items set 1
0005c2e8: 00000000 nop
0005c2ec: 34420004 ori r2,r2,0x0004		Enable Katanas
0005c2f0: a082004a sb r2,0x004a(r4)		Store New Equippable Items
0005c2f4: 30620008 andi r2,r3,0x0008
0005c2f8: 10400006 beq r2,r0,0x0005c314		Branch if Support is not Equip  Crossbow
0005c2fc: 30620004 andi r2,r3,0x0004
0005c300: 9082004b lbu r2,0x004b(r4)		Load Unit's Equippable Items set 2
0005c304: 00000000 nop
0005c308: 34420010 ori r2,r2,0x0010		Enable Crossbow
0005c30c: a082004b sb r2,0x004b(r4)		Store New Equippable Items
0005c310: 30620004 andi r2,r3,0x0004
0005c314: 10400006 beq r2,r0,0x0005c330		Branch if Support is not Equip  Spear
0005c318: 30620002 andi r2,r3,0x0002
0005c31c: 9082004b lbu r2,0x004b(r4)		Load Unit's Equippable Items set 2
0005c320: 00000000 nop
0005c324: 34420001 ori r2,r2,0x0001		Enable Polearms
0005c328: a082004b sb r2,0x004b(r4)		Store New Equippable Items
0005c32c: 30620002 andi r2,r3,0x0002
0005c330: 10400006 beq r2,r0,0x0005c34c		Branch if Support is not Equip Axe
0005c334: 30620001 andi r2,r3,0x0001
0005c338: 9082004a lbu r2,0x004a(r4)		Load Unit's Equippable Items set 1
0005c33c: 00000000 nop
0005c340: 34420002 ori r2,r2,0x0002		Enable Axes
0005c344: a082004a sb r2,0x004a(r4)		Store New Equippable Items
0005c348: 30620001 andi r2,r3,0x0001
0005c34c: 10400005 beq r2,r0,0x0005c364		Branch if Support is not Equip Gun
0005c350: 00000000 nop
0005c354: 9082004b lbu r2,0x004b(r4)		Load Unit's Equippable Items set 2
0005c358: 00000000 nop
0005c35c: 34420020 ori r2,r2,0x0020		Enable Guns
0005c360: a082004b sb r2,0x004b(r4)		Store New Equippable Items
0005c364: 90830006 lbu r3,0x0006(r4)		Load Unit's Gender
0005c368: 00000000 nop
0005c36c: 30620040 andi r2,r3,0x0040
0005c370: 10400007 beq r2,r0,0x0005c390		Branch if Unit is not Female
0005c374: 00000000 nop
0005c378: 9082004c lbu r2,0x004c(r4)		Load Unit's Equippable Items set 3
0005c37c: 9083004d lbu r3,0x004d(r4)		Load Unit's Equippable Items set 4
0005c380: 34420042 ori r2,r2,0x0042		Enable Hair Ornaments/Bags
0005c384: 34630001 ori r3,r3,0x0001		Enable Perfume
0005c388: a082004c sb r2,0x004c(r4)		Store New Equippable Items
0005c38c: a083004d sb r3,0x004d(r4)		Store New Equippable Items
0005c390: 03e00008 jr r31
0005c394: 00000000 nop


Return Locations

0005a978: Initialize Unit's Job Data
0005aaa0: Unit Battle Initialization
0005d718: Status Setting/Checking + Equip/R/S/M Stats