Jump to content

Typo in PokeBattle_Move


BlueTowel

Recommended Posts

Hi! There was a missing B in Turboblaze in the Disguise code in PokeBattle_Move.

Here is code and surroundings, as helpful as it may be.

    elsif opponent.effects[PBEffects::Disguise] && (!attacker || attacker.index!=opponent.index) && 
      opponent.effects[PBEffects::Substitute]<=0 && opponent.damagestate.typemod!=0 && 
      !attacker.hasWorkingAbility(:MOLDBREAKER) && !attacker.hasWorkingAbility(:TERAVOLT) && !attacker.hasWorkingAbility(:TURBOBLAZE)
      @battle.scene.pbDamageAnimation(opponent,0)
      opponent.pbBreakDisguise
      @battle.pbDisplayPaused(_INTL("{1}'s Disguise was busted!",opponent.name))
      opponent.effects[PBEffects::Disguise]=false
      damage=0
    else                   

 

Link to post
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...