Difference between revisions of "42 Dmg (PA*Y) DmgCas (PA*Y/X)"
Jump to navigation
Jump to search
(Created page with " [42] 0018a17c: 27bdffe8 addiu r29,r29,0xffe8 0018a180: afbf0010 sw r31,0x0010(r29) 0018a184: 0c061781 jal 0x 00185e04 Loads PA and Y 0018a188: 00000000 nop ...") |
|||
Line 2: | Line 2: | ||
0018a17c: 27bdffe8 addiu r29,r29,0xffe8 | 0018a17c: 27bdffe8 addiu r29,r29,0xffe8 | ||
0018a180: afbf0010 sw r31,0x0010(r29) | 0018a180: afbf0010 sw r31,0x0010(r29) | ||
− | 0018a184: 0c061781 jal 0x 00185e04 | + | 0018a184: 0c061781 jal 0x 00185e04 [[Store PA and Y]] as XA and YA |
0018a188: 00000000 nop | 0018a188: 00000000 nop | ||
− | 0018a18c: 0c061259 jal 0x 00184964 | + | 0018a18c: 0c061259 jal 0x 00184964 [[Compatibility]] |
0018a190: 00000000 nop | 0018a190: 00000000 nop | ||
0018a194: 3c038019 lui r3,0x8019 | 0018a194: 3c038019 lui r3,0x8019 | ||
− | 0018a198: 946338ce lhu r3,0x38ce(r3) Load | + | 0018a198: 946338ce lhu r3,0x38ce(r3) Load XA |
0018a19c: 3c028019 lui r2,0x8019 | 0018a19c: 3c028019 lui r2,0x8019 | ||
− | 0018a1a0: 944238d0 lhu r2,0x38d0(r2) Load | + | 0018a1a0: 944238d0 lhu r2,0x38d0(r2) Load YA |
0018a1a4: 00000000 nop | 0018a1a4: 00000000 nop | ||
0018a1a8: 0062 0018 mult r3,r2 | 0018a1a8: 0062 0018 mult r3,r2 | ||
0018a1ac: 3c038019 lui r3,0x8019 | 0018a1ac: 3c038019 lui r3,0x8019 | ||
0018a1b0: 8c632d90 lw r3,0x2d90(r3) | 0018a1b0: 8c632d90 lw r3,0x2d90(r3) | ||
− | 0018a1b4: 00001012 mflo r2 | + | 0018a1b4: 00001012 mflo r2 XA * YA |
− | 0018a1b8: a4620004 sh r2,0x0004(r3) Set | + | 0018a1b8: a4620004 sh r2,0x0004(r3) Set XA * YA as HP Damage to enemy |
0018a1bc: 00021400 sll r2,r2,0x10 | 0018a1bc: 00021400 sll r2,r2,0x10 | ||
0018a1c0: 3c038019 lui r3,0x8019 | 0018a1c0: 3c038019 lui r3,0x8019 | ||
− | 0018a1c4: 906338f9 lbu r3,0x38f9(r3) Load X | + | 0018a1c4: 906338f9 lbu r3,0x38f9(r3) Load Ability's X |
0018a1c8: 00021403 sra r2,r2,0x10 | 0018a1c8: 00021403 sra r2,r2,0x10 | ||
0018a1cc: 0043001a div r2,r3 | 0018a1cc: 0043001a div r2,r3 |
Revision as of 03:05, 9 February 2016
[42] 0018a17c: 27bdffe8 addiu r29,r29,0xffe8 0018a180: afbf0010 sw r31,0x0010(r29) 0018a184: 0c061781 jal 0x 00185e04 Store PA and Y as XA and YA 0018a188: 00000000 nop 0018a18c: 0c061259 jal 0x 00184964 Compatibility 0018a190: 00000000 nop 0018a194: 3c038019 lui r3,0x8019 0018a198: 946338ce lhu r3,0x38ce(r3) Load XA 0018a19c: 3c028019 lui r2,0x8019 0018a1a0: 944238d0 lhu r2,0x38d0(r2) Load YA 0018a1a4: 00000000 nop 0018a1a8: 0062 0018 mult r3,r2 0018a1ac: 3c038019 lui r3,0x8019 0018a1b0: 8c632d90 lw r3,0x2d90(r3) 0018a1b4: 00001012 mflo r2 XA * YA 0018a1b8: a4620004 sh r2,0x0004(r3) Set XA * YA as HP Damage to enemy 0018a1bc: 00021400 sll r2,r2,0x10 0018a1c0: 3c038019 lui r3,0x8019 0018a1c4: 906338f9 lbu r3,0x38f9(r3) Load Ability's X 0018a1c8: 00021403 sra r2,r2,0x10 0018a1cc: 0043001a div r2,r3 0018a1d0: 00001012 mflo r2 Damage / X 0018a1d4: 3c048019 lui r4,0x8019 0018a1d8: 8c842d8c lw r4,0x2d8c(r4) 0018a1dc: 34030001 ori r3,r0,0x0001 0018a1e0: a0830000 sb r3,0x0000(r4) Hit Self 0018a1e4: a4820004 sh r2,0x0004(r4) Damage Self for PA * Y / X 0018a1e8: 3c028019 lui r2,0x8019 0018a1ec: 8c422d90 lw r2,0x2d90(r2) 0018a1f0: 34030080 ori r3,r0,0x0080 0018a1f4: a0430025 sb r3,0x0025(r2) Load as HP damage to enemy 0018a1f8: 3c028019 lui r2,0x8019 0018a1fc: 8c422d8c lw r2,0x2d8c(r2) 0018a200: 00000000 nop 0018a204: a0430025 sb r3,0x0025(r2) Load as HP damage to self 0018a208: 8fbf0010 lw r31,0x0010(r29) 0018a20c: 27bd 0018 addiu r29,r29,0x 0018 0018a210: 03e00008 jr r31 0018a214: 00000000 nop