diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-11-21 17:15:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 17:15:25 -0800 |
commit | b97287be2923a037cd9aa5f3b35887feb31b0c03 (patch) | |
tree | 87932039e558304c5c832d2146517d8be4010fe9 /battle/effect_commands.asm | |
parent | 88f1b8165b4e0ce0e416e26d7cb7b3105b8f8c31 (diff) | |
parent | e5f9fddb86cd005d0dbcbb0fd1d4a04d3e6fee45 (diff) |
Merge pull request #397 from mid-kid/master
A few more labels and comments
Diffstat (limited to 'battle/effect_commands.asm')
-rw-r--r-- | battle/effect_commands.asm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/battle/effect_commands.asm b/battle/effect_commands.asm index 221570d76..23ff3deaf 100644 --- a/battle/effect_commands.asm +++ b/battle/effect_commands.asm @@ -2167,7 +2167,7 @@ BattleCommand_HitTargetNoSub: ; 34f60 jr z, .conversion cp EFFECT_DOUBLE_HIT jr z, .doublehit - cp EFFECT_TWINEEDLE + cp EFFECT_POISON_MULTI_HIT jr z, .twineedle cp EFFECT_TRIPLE_KICK jr z, .triplekick @@ -2315,7 +2315,7 @@ BattleCommand_FailureText: ; 35023 jr z, .multihit cp EFFECT_DOUBLE_HIT jr z, .multihit - cp EFFECT_TWINEEDLE + cp EFFECT_POISON_MULTI_HIT jr z, .multihit jp EndMoveEffect @@ -2661,7 +2661,7 @@ BattleCommand_CheckDestinyBond: ; 351c0 jr z, .multiple_hit_raise_sub cp EFFECT_DOUBLE_HIT jr z, .multiple_hit_raise_sub - cp EFFECT_TWINEEDLE + cp EFFECT_POISON_MULTI_HIT jr z, .multiple_hit_raise_sub cp EFFECT_TRIPLE_KICK jr z, .multiple_hit_raise_sub @@ -3434,14 +3434,14 @@ BattleCommand_DamageCalc: ; 35612 call GetBattleVar ; Selfdestruct and Explosion halve defense. - cp EFFECT_EXPLOSION - jr nz, .dont_explode + cp EFFECT_SELFDESTRUCT + jr nz, .dont_selfdestruct srl c - jr nz, .dont_explode + jr nz, .dont_selfdestruct inc c -.dont_explode +.dont_selfdestruct ; Variable-hit moves and Conversion can have a power of 0. cp EFFECT_MULTI_HIT @@ -4919,7 +4919,7 @@ SelfInflictDamageToSubstitute: ; 35de0 jr z, .ok cp EFFECT_DOUBLE_HIT jr z, .ok - cp EFFECT_TWINEEDLE + cp EFFECT_POISON_MULTI_HIT jr z, .ok cp EFFECT_TRIPLE_KICK jr z, .ok @@ -6999,7 +6999,7 @@ BattleCommand_EndLoop: ; 369b6 ld a, BATTLE_VARS_MOVE_EFFECT call GetBattleVarAddr ld a, [hl] - cp EFFECT_TWINEEDLE + cp EFFECT_POISON_MULTI_HIT jr z, .twineedle cp EFFECT_DOUBLE_HIT ld a, 1 @@ -8605,8 +8605,8 @@ CheckSubstituteOpp: ; 37378 ; 37380 -BattleCommand_SelfDestruct: ; 37380 - callba TrainerRankings_SelfDestruct +BattleCommand_Selfdestruct: ; 37380 + callba TrainerRankings_Selfdestruct ld a, BATTLEANIM_PLAYER_DAMAGE ld [wNumHits], a ld c, 3 |