Difference between revisions of "Charge"
Jump to navigation
Jump to search
(Created page with " *Charge* 00195ba0: 2622fe6a addiu r2,r17,0xfe6a r2 = Ability ID - 0x196 (Charge + 1) 00195ba4: 00021040 sll r2,r2,0x01 ID * 2 00195ba8: 3c018006 lui r1,0x8006 00195bac:...") |
|||
Line 7: | Line 7: | ||
00195bb4: 08065651 j 0x 00195944 | 00195bb4: 08065651 j 0x 00195944 | ||
00195bb8: a2020001 sb r2,0x0001(r16) Store CT = Charge's CT | 00195bb8: a2020001 sb r2,0x0001(r16) Store CT = Charge's CT | ||
+ | |||
+ | *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 |
Revision as of 16:11, 24 February 2012
*Charge* 00195ba0: 2622fe6a addiu r2,r17,0xfe6a r2 = Ability ID - 0x196 (Charge + 1) 00195ba4: 00021040 sll r2,r2,0x01 ID * 2 00195ba8: 3c018006 lui r1,0x8006 00195bac: 00220821 addu r1,r1,r2 00195bb0: 90221044 lbu r2,0x1044(r1) Load Charge's CT 00195bb4: 08065651 j 0x 00195944 00195bb8: a2020001 sb r2,0x0001(r16) Store CT = Charge's CT
*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