Difference between revisions of "37 Dmg (Rdm(1…Y)*PA)"
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[37] | [37] | ||
− | 00189f84: 27bdffe8 addiu r29,r29,0xffe8 | + | 00189f84: 27bdffe8 addiu r29,r29,0xffe8 | |
− | 00189f88: afbf0010 sw r31,0x0010(r29) | + | 00189f88: afbf0010 sw r31,0x0010(r29) | |
− | 00189f8c: 0c062144 jal | + | 00189f8c: 0c062144 jal 0x00188510 |{{f/jal|Physical Evade Calculation|Physical Evade Calculation}} If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2 |
− | 00189f90: 00000000 nop | + | 00189f90: 00000000 nop | |
− | 00189f94: 14400009 bne r2,r0, | + | 00189f94: 14400009 bne r2,r0,0x00189fbc {{f/Cond|If Attack is not evaded}} |
− | 00189f98: 00000000 nop | + | 00189f98: 00000000 nop | |
− | 00189f9c: 0c061781 jal | + | 00189f9c: 0c061781 jal 0x00185e04 |{{f/jal|Store_PA_and_Y|Store_PA_and_Y}} XA = Attacker's PA and YA = Ability Y |
− | 00189fa0: 00000000 nop | + | 00189fa0: 00000000 nop | |
− | 00189fa4: 0c061853 jal | + | 00189fa4: 0c061853 jal 0x0018614c |{{f/jal|Formula_32,_33,_34,_35_Attack_Up_and_Martial_Arts|Attack Up and Martial Arts}} Increase XA if Attacker uses Attack Up or Martial art with elligible weapon |
− | 00189fa8: 00000000 nop | + | 00189fa8: 00000000 nop | |
− | 00189fac: 0c0622b7 jal | + | 00189fac: 0c0622b7 jal 0x00188adc |{{f/jal|Cluster_of_Physical_Routines|Cluster_of_Physical_Routines}} Modify XA (Attacker status, Target Status/Support, Compatibility) |
− | 00189fb0: 00000000 nop | + | 00189fb0: 00000000 nop | |
− | 00189fb4: 0c061a47 jal | + | 00189fb4: 0c061a47 jal 0x0018691c |{{f/jal|Damage_and_Knockback_Routine_(alternative)|Damage_and_Knockback_Routine_(alternative)}} Set HP damage = XA*Random(1 to Y) and Roll knockback chances |
− | 00189fb8: 00000000 nop | + | 00189fb8: 00000000 nop | |
− | 00189fbc: 8fbf0010 lw r31,0x0010(r29) | + | 00189fbc: 8fbf0010 lw r31,0x0010(r29) END |
− | 00189fc0: | + | 00189fc0: 27bd0018 addiu r29,r29,0x0018 |
− | 00189fc4: 03e00008 jr r31 | + | 00189fc4: 03e00008 jr r31 |
00189fc8: 00000000 nop | 00189fc8: 00000000 nop | ||
+ | === Return location === | ||
+ | '''Battle.bin''' | ||
+ | 0018b97c - [[Pre Formula Setup (FDC)|Pre Formula Setup]] |
Latest revision as of 19:02, 24 April 2022
[37] 00189f84: 27bdffe8 addiu r29,r29,0xffe8 | 00189f88: afbf0010 sw r31,0x0010(r29) | 00189f8c: 0c062144 jal 0x00188510 |-->Physical Evade Calculation If Abillity is evadeable roll Ability Evade byte against Ability base Hit - Returns r2 00189f90: 00000000 nop | 00189f94: 14400009 bne r2,r0,0x00189fbc #If Attack is not evaded 00189f98: 00000000 nop | 00189f9c: 0c061781 jal 0x00185e04 |-->Store_PA_and_Y XA = Attacker's PA and YA = Ability Y 00189fa0: 00000000 nop | 00189fa4: 0c061853 jal 0x0018614c |-->Attack Up and Martial Arts Increase XA if Attacker uses Attack Up or Martial art with elligible weapon 00189fa8: 00000000 nop | 00189fac: 0c0622b7 jal 0x00188adc |-->Cluster_of_Physical_Routines Modify XA (Attacker status, Target Status/Support, Compatibility) 00189fb0: 00000000 nop | 00189fb4: 0c061a47 jal 0x0018691c |-->Damage_and_Knockback_Routine_(alternative) Set HP damage = XA*Random(1 to Y) and Roll knockback chances 00189fb8: 00000000 nop | 00189fbc: 8fbf0010 lw r31,0x0010(r29) END 00189fc0: 27bd0018 addiu r29,r29,0x0018 00189fc4: 03e00008 jr r31 00189fc8: 00000000 nop
Return location
Battle.bin 0018b97c - Pre Formula Setup