• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Eevee Expo's webhost has been having technical issues since Nov. 20th and you might be unable to connect to our site. Staff are also facing issues connecting, so please send a DM to Cat on-site or through Discord directly for faster service!
Resource icon

v20.1 Glancing Hits 1.0.0

This resource pertains to version 20.1 of Pokémon Essentials.
Updated the download link.
added a dowanload link for a v20 version which for now only adds glanced hits and doesn'T remove evasion and changes abilities and moves affecting evasion
Already updated the download link so just redownload and enjoy!
Gotta note that if you have any custom moves/abilities with evasion you have to change those to instead affect glancing else it will either do nothing at all or crash as example heres how i changed minimize to affect evasion :

Ruby:
Expand Collapse Copy
#===============================================================================
# Increases the user's evasion by 2 stages. Minimizes the user. (Minimize)      #by Kota
#===============================================================================
class PokeBattle_Move_034 < PokeBattle_Move
  def pbMoveFailed?(user,targets)
    if user.effects[PBEffects::Glanced]>=6
      @battle.pbDisplay(_INTL("But it failed!"))
      return true
    end
    return false
  end

  def pbEffectGeneral(user)
    user.effects[PBEffects::Glanced] += 2
    @battle.pbDisplay(_INTL("{1} goes out of focus!",user.pbThis))
  end
end

This was the code before the changes:

Ruby:
Expand Collapse Copy
#===============================================================================
# Increases the user's evasion by 2 stages. Minimizes the user. (Minimize)
#===============================================================================
class PokeBattle_Move_034 < PokeBattle_StatUpMove
  def initialize(battle,move)
    super
    @statUp = [:EVASION,2]
  end

  def pbEffectGeneral(user)
    user.effects[PBEffects::Minimize] = true
    super
  end
end
Hope evrything works now !
A try at erasing evasion in a different way that hopefully wont break the game again.
Back
Top