Difference between revisions of "Attack Evaded Calculations"
Jump to navigation
Jump to search
(Created page with " Attack Evaded Calculations 001848d8: 27bdffe0 addiu r29,r29,0xffe0 001848dc: afb00010 sw r16,0x0010(r29) 001848e0: 00c08021 addu r16,r6,r0 r16 = Evade Type 001848e4: afb...") |
|||
Line 35: | Line 35: | ||
0018495c: 03e00008 jr r31 | 0018495c: 03e00008 jr r31 | ||
00184960: 00000000 nop | 00184960: 00000000 nop | ||
+ | |||
+ | |||
+ | == Return Locations == | ||
+ | |||
+ | 001859ec: [[Calculate Final Hit %]] | ||
+ | 00185a28: ^^ | ||
+ | 00185a60: ^^ | ||
+ | 00185a7c: ^^ |
Revision as of 14:11, 2 March 2012
Attack Evaded Calculations 001848d8: 27bdffe0 addiu r29,r29,0xffe0 001848dc: afb00010 sw r16,0x0010(r29) 001848e0: 00c08021 addu r16,r6,r0 r16 = Evade Type 001848e4: afb10014 sw r17,0x0014(r29) 001848e8: 00e08821 addu r17,r7,r0 r17 = Equipment ID 001848ec: 3082ffff andi r2,r4,0xffff r2 = Evade Type's Evade% 001848f0: 30a4ffff andi r4,r5,0xffff r4 = Base Hit 001848f4: afbf0018 sw r31,0x0018(r29) 001848f8: 0c017833 jal 0x0005e0cc Check if Attack Hits? 001848fc: 00402821 addu r5,r2,r0 r5 = Evade Type's Evade 00184900: 14400012 bne r2,r0,0x0018494c Branch if Attack Hits? 00184904: 00001021 addu r2,r0,r0 00184908: 3c028019 lui r2,0x8019 0018490c: 8c42f5fc lw r2,-0x0a04(r2) Load ? 00184910: 00000000 nop 00184914: 1440000d bne r2,r0,0x0018494c Branch if ? != 0 00184918: 00001021 addu r2,r0,r0 0018491c: 3c028019 lui r2,0x8019 00184920: 8c422d90 lw r2,0x2d90(r2) Load Current Action Data Pointer 00184924: 00000000 nop 00184928: a0400000 sb r0,0x0000(r2) Attack was Evaded 0018492c: 3c028019 lui r2,0x8019 00184930: 8c422d90 lw r2,0x2d90(r2) Reload Current Action Data Pointer 00184934: 00000000 nop 00184938: a0500002 sb r16,0x0002(r2) Store Evade Type? 0018493c: 3c038019 lui r3,0x8019 00184940: 8c632d90 lw r3,0x2d90(r3) Re-Reload Current Action Data Pointer 00184944: 34020001 ori r2,r0,0x0001 r2 = 1 00184948: a0710003 sb r17,0x0003(r3) ? = Equipment ID (maybe for evade message/anim? 0018494c: 8fbf0018 lw r31,0x0018(r29) 00184950: 8fb10014 lw r17,0x0014(r29) 00184954: 8fb00010 lw r16,0x0010(r29) 00184958: 27bd0020 addiu r29,r29,0x0020 0018495c: 03e00008 jr r31 00184960: 00000000 nop
Return Locations
001859ec: Calculate Final Hit % 00185a28: ^^ 00185a60: ^^ 00185a7c: ^^