Store ENTD flags into misc data w/o control flag
Jump to navigation
Jump to search
00070b7c: 27bdffe8 addiu r29,r29,0xffe8 00070b80: afbf0010 sw r31,0x0010(r29) 00070b84: 8c820134 lw r2,0x0134(r4) load data 00070b88: 00000000 nop 00070b8c: 90430005 lbu r3,0x0005(r2) load ENTD 00070b90: 8c820134 lw r2,0x0134(r4) load unit data 00070b94: a083013d sb r3,0x013d(r4) store ENTD 00070b98: 904201b8 lbu r2,0x01b8(r2) load AI/Autobattle 00070b9c: 00000000 nop 00070ba0: 10400002 beq r2,r0,0x00070bac branch if manual control 00070ba4: 306200f7 andi r2,r3,0x00f7 00070ba8: a082013d sb r2,0x013d(r4) store ENTD flags w/o control 00070bac: 90820130 lbu r2,0x0130(r4) load ?? 00070bb0: 00000000 nop 00070bb4: 1040000f beq r2,r0,0x00070bf4 branch if = 0 00070bb8: 00000000 nop 00070bbc: 90840131 lbu r4,0x0131(r4) load unit ID? 00070bc0: 0c01e9b9 jal 0x0007a6e4 get misc data 00070bc4: 00000000 nop 00070bc8: 00401821 addu r3,r2,r0 00070bcc: 8c620134 lw r2,0x0134(r3) load unit data 00070bd0: 00000000 nop 00070bd4: 90440005 lbu r4,0x0005(r2) load ENTD 00070bd8: 8c620134 lw r2,0x0134(r3) load unit data 00070bdc: a064013d sb r4,0x013d(r3) store ENTD 00070be0: 904201b8 lbu r2,0x01b8(r2) load AI/Auto battle 00070be4: 00000000 nop 00070be8: 10400002 beq r2,r0,0x00070bf4 do the same as above section 00070bec: 308200f7 andi r2,r4,0x00f7 00070bf0: a062013d sb r2,0x013d(r3) 00070bf4: 8fbf0010 lw r31,0x0010(r29) 00070bf8: 27bd0018 addiu r29,r29,0x0018 00070bfc: 03e00008 jr r31 00070c00: 00000000 nop