Physical Evade Calculation(Charge)
Jump to navigation
Jump to search
Physical Evade Calculation (Charge): Seems to only be called by 05_Dmg_(Weapon) which seems to not be used 00188568: 27bdffe8 addiu r29,r29,-0x0018 0018856c: afbf0010 sw r31,0x0010(r29) | 00188570: 0c0613e7 jal 0x00184f9c |-->Equipment Evasion Setting (Physical) Set the 4 Ability Evade byte , set Ability base hit to 100 00188574: 00000000 nop | 00188578: 0c0614b9 jal 0x001852e4 |-->Concentrate Calculation Nullify the 4 Ability Evade byte if Attacker uses Concentration 0018857c: 00000000 nop | 00188580: 0c0614ca jal 0x00185328 |-->Dark/Confuse Caclulation Ability Base Hit/2 if attacker blinded or confused / Nullify the 4 Ability Evade byte if attacker is transparent 00188584: 00000000 nop | 00188588: 0c0614df jal 0x0018537c |-->Abandon Calculation If target as abandon (and it is usable) --> Ability Base Hit/2 0018858c: 00000000 nop | 00188590: 0c0614fd jal 0x001853f4 |-->Evasion Changes due to Statuses Nullify the 4 Ability evade byte based on Target status - Ability Base Hit/2 if target defending 00188594: 00000000 nop | 00188598: 0c06153f jal 0x001854fc |-->Facing Evade Calculation Side Attack cancels Class evasion, Back Attack additionnaly cancels Right/Left hand evasion 0018859c: 00000000 nop | 001885a0: 0c062122 jal 0x00188488 |-->Calculate Hit % If Ability is evadeable : Roll the 4 Ability Evade byte (one after another) against Ability base Hit 001885a4: 00000000 nop | 001885a8: 8fbf0010 lw r31,0x0010(r29) 001885ac: 27bd0018 addiu r29,r29,0x0018 001885b0: 03e00008 jr r31 001885b4: 00000000 nop
Returns location
Battle.bin 00188cac: 05_Dmg_(Weapon)