Target XA affecting Statuses (Physical)
Jump to navigation
Jump to search
Target XA affecting Statuses (Physical): 0018636c: 3c028019 lui r2,0x8019 00186370: 8c422d98 lw r2,0x2d98(r2) Load Target's Data Pointer 00186374: 00000000 nop 00186378: 9042005b lbu r2,0x005b(r2) Load Target's 4th set of Statuses 0018637c: 00000000 nop 00186380: 30420020 andi r2,r2,0x0020 00186384: 1040000b beq r2,r0,0x001863b4 Branch if Target doesn't have Protect 00186388: 3c025555 lui r2,0x5555 0018638c: 3c048019 lui r4,0x8019 00186390: 248438ce addiu r4,r4,0x38ce 00186394: 84830000 lh r3,0x0000(r4) Load XA 00186398: 34425556 ori r2,r2,0x5556 0018639c: 00031840 sll r3,r3,0x01 XA * 2 001863a0: 00620018 mult r3,r2 XA * 2 * 0.33333333 001863a4: 00031fc3 sra r3,r3,0x1f 001863a8: 00001010 mfhi r2 r2 = XA * 2 * 0.33333333 (XA * 2 / 3) 001863ac: 00431023 subu r2,r2,r3 001863b0: a4820000 sh r2,0x0000(r4) Store XA 001863b4: 3c038019 lui r3,0x8019 001863b8: 8c632d98 lw r3,0x2d98(r3) Load Target's Data Pointer 001863bc: 00000000 nop 001863c0: 9062005c lbu r2,0x005c(r3) Load Target's 5th set of Statuses 001863c4: 00000000 nop 001863c8: 30420010 andi r2,r2,0x0010 001863cc: 14400006 bne r2,r0,0x001863e8 Branch if Target is Sleeping 001863d0: 00000000 nop 001863d4: 90620058 lbu r2,0x0058(r3) Load Target's 1st set of Statuses 001863d8: 00000000 nop 001863dc: 30420008 andi r2,r2,0x0008 001863e0: 1040000b beq r2,r0,0x00186410 Branch if Target is Charging 001863e4: 00000000 nop 001863e8: 3c048019 lui r4,0x8019 001863ec: 248438ce addiu r4,r4,0x38ce 001863f0: 84830000 lh r3,0x0000(r4) Load XA 001863f4: 00000000 nop 001863f8: 00031040 sll r2,r3,0x01 XA * 2 001863fc: 00431021 addu r2,r2,r3 XA * 3 00186400: 00021fc2 srl r3,r2,0x1f 00186404: 00431021 addu r2,r2,r3 00186408: 00021043 sra r2,r2,0x01 XA * 3 / 2 0018640c: a4820000 sh r2,0x0000(r4) Store new XA 00186410: 3c028019 lui r2,0x8019 00186414: 8c422d98 lw r2,0x2d98(r2) Load Target's Data Pointer 00186418: 00000000 nop 0018641c: 9042005a lbu r2,0x005a(r2) Load Target's 3rd set of Statuses 00186420: 00000000 nop 00186424: 30420006 andi r2,r2,0x0006 00186428: 1040000b beq r2,r0,0x00186458 Branch if Target is a Chicken/Frog 0018642c: 00000000 nop 00186430: 3c048019 lui r4,0x8019 00186434: 248438ce addiu r4,r4,0x38ce 00186438: 84830000 lh r3,0x0000(r4) Load XA 0018643c: 00000000 nop 00186440: 00031040 sll r2,r3,0x01 XA * 2 00186444: 00431021 addu r2,r2,r3 XA * 3 00186448: 00021fc2 srl r3,r2,0x1f 0018644c: 00431021 addu r2,r2,r3 00186450: 00021043 sra r2,r2,0x01 XA * 3 / 2 00186454: a4820000 sh r2,0x0000(r4) Store new XA 00186458: 03e00008 jr r31 0018645c: 00000000 nop
Return Locations
- Battle.bin
00188618: Physical XA Modifying Statuses/Support 00188af4: Cluster of Physical Routines 001898a8: 28 StealExp_(Lowest of TarCurExp & SP+Y) Hit_(SP+X)%