AI Ability Data Setting - Arithmeticks

From Final Fantasy Hacktics Wiki
Jump to navigation Jump to search
*Arithmeticks*
00195bbc: 340300ff ori r3,r0,0x00ff		r3 = FF
00195bc0: 34040004 ori r4,r0,0x0004		Counter = 4
00195bc4: 26020004 addiu r2,r16,0x0004
00195bc8: a0430007 sb r3,0x0007(r2)		Store Status Infliction = FF
00195bcc: 2484ffff addiu r4,r4,0xffff		Counter --
00195bd0: 0481fffd bgez r4,0x 00195bc8		Branch if Counter >= 0
00195bd4: 2442ffff addiu r2,r2,0xffff		Pointer --
00195bd8: 340200fc ori r2,r0,0x00fc		r2 = FC
00195bdc: a202000c sb r2,0x000c(r16)		Store AI Behavior = all but Target E/A
00195be0: 92820003 lbu r2,0x0003(r20)		Load Usage Type?
00195be4: 00000000 nop
00195be8: a202000f sb r2,0x000f(r16)		Store Usage Type?
00195bec: 8e02000c lw r2,0x000c(r16)		Load AI Behavior Flags
00195bf0: 00000000 nop
00195bf4: 34428000 ori r2,r2,0x8000		Enable Ignore Range?
00195bf8: 08065759 j 0x 00195d64
00195bfc: ae02000c sw r2,0x000c(r16)		Store new AI Behavior Flags