Difference between revisions of "Get Ability's AoE"
Jump to navigation
Jump to search
(Created page with " Get Ability's AoE 0005e050: 3084ffff andi r4,r4,0xffff r4 = Ability ID 0005e054: 2c820170 sltiu r2,r4,0x0170 0005e058: 10400008 beq r2,r0,0x0005e07c Branch if Ability is...") |
|||
(One intermediate revision by one other user not shown) | |||
Line 14: | Line 14: | ||
0005e080: 03e00008 jr r31 | 0005e080: 03e00008 jr r31 | ||
0005e084: 00000000 nop | 0005e084: 00000000 nop | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | Never used |
Latest revision as of 03:04, 25 September 2021
Get Ability's AoE 0005e050: 3084ffff andi r4,r4,0xffff r4 = Ability ID 0005e054: 2c820170 sltiu r2,r4,0x0170 0005e058: 10400008 beq r2,r0,0x0005e07c Branch if Ability isn't a Normal Ability 0005e05c: 000410c0 sll r2,r4,0x03 ID * 8 0005e060: 00441023 subu r2,r2,r4 ID * 7 0005e064: 00021040 sll r2,r2,0x01 ID * 14 0005e068: 3c018006 lui r1,0x8006 0005e06c: 00220821 addu r1,r1,r2 0005e070: 9022fbf1 lbu r2,-0x040f(r1) Load Ability's AoE 0005e074: 08017820 j 0x0005e080 0005e078: 00000000 nop 0005e07c: 00001021 addu r2,r0,r0 AoE = 0 0005e080: 03e00008 jr r31 0005e084: 00000000 nop
Return Locations
Never used