• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Error when throwing pokeball

  • 20
    Posts
    4
    Years
    Somehow even though i did not tamper with the pokeball data, it gives an error when i try to throw it, other pokeballs work fine, and this error only happens while playtesting in rpgxp

    Code:
    [Pokémon Essentials version 19.1]
    
    Exception: Encoding::CompatibilityError
    Message: incompatible character encodings: UTF-8 and ASCII-8BIT
    
    Backtrace:
    170:PokeBattle_BattleCommon:107:in `pbThrowPokeBall'
    238:Item_BattleEffects:310:in `block in <main>'
    035:Event_Handlers:199:in `trigger'
    236:Item_Utilities:89:in `triggerUseInBattle'
    176:Battle_Action_UseItem:128:in `pbUsePokeBallInBattle'
    180:Battle_Phase_Attack:79:in `block in pbAttackPhaseItems'
    180:Battle_Phase_Attack:68:in `each'
    180:Battle_Phase_Attack:68:in `pbAttackPhaseItems'
    180:Battle_Phase_Attack:185:in `pbAttackPhase'
    172:Battle_StartAndEnd:325:in `block (2 levels) in pbBattleLoop'
     
    This has already been fixed. You need to install the v19.1 Hotfixes plugin.
    (broken link removed)
     
    Back
    Top