Cluster of Physical Routines
Jump to navigation
Jump to search
No Parameters - Returns Nothing Modify Ability XA : - Attacker's status : Berserk, Frog - Target's Status/support : Defense Up, Protect, Sleep, Charging, Frog, Chicken - Compatibility --------------------------------------------------------------------------------- 00188adc: 27bdffe8 addiu r29,r29,-0x0018 | 00188ae0: afbf0010 sw r31,0x0010(r29) | 00188ae4: 0c061895 jal 0x00186254 |-->Attacker Berserk and Frog Modify Ability XA : +50% if Berserk / Xa forced to 0x01 if Frog 00188ae8: 00000000 nop | 00188aec: 0c0618b3 jal 0x001862cc |-->Defense Up Decrease Ability XA : -33% if Target uses Defense Up 00188af0: 00000000 nop | 00188af4: 0c0618db jal 0x0018636c |-->Physical Status effects on XA Modify Ability XA : -33% if Target has protect / +50% if Target is Sleeping,Charging,Frog or Chicken 00188af8: 00000000 nop | 00188afc: 0c061259 jal 0x00184964 |-->Compatibility Modify Ability XA : from -50% to + 50% 00188b00: 00000000 nop | 00188b04: 8fbf0010 lw r31,0x0010(r29) 00188b08: 27bd0018 addiu r29,r29,0x0018 00188b0c: 03e00008 jr r31 00188b10: 00000000 nop
Return locations
Battle.bin 00188b2c: Physical_Routine_for_Hit_%_abilities 00189d08: 31_Dmg_((PA+Y)/2*PA) 00189da4: 32_Dmg_(Rdm(1…X)*(PA*3+Y)) 00189fb4: 37_Dmg_(Rdm(1…Y)*PA) 0018ac00: 63_Dmg_(SP*WP) 0018ac5c: 64_Dmg_(PA_*_WP);_if_using_Spear_(PA_*_3/2_*_WP);_if_weaponless_(PA_*_Brave_/100_*_WP)