FANDOM


  • Any idea how to solve this. After defeating opponent in double battle, the battle doesn't end. Then, I tried to attack but I got this error.

    Exception: RuntimeError Message: No targets somehow... PokeBattle_Scene:2583:in `pbChooseTarget' PokeBattle_Battle:2764:in `pbCommandPhase' PokeBattle_Battle:2741:in `loop' PokeBattle_Battle:2842:in `pbCommandPhase' PokeBattle_Battle:2730:in `each' PokeBattle_Battle:2730:in `pbCommandPhase' PokeBattle_Battle:2671:in `pbStartBattleCore' PokeBattle_Battle:2670:in `logonerr' PokeBattle_Battle:2670:in `pbStartBattleCore' PokeBattle_Battle:2660:in `loop'

    I have been using the latest version essential with no EBS.

      Loading editor
    • Describe the battle, the trainer, any additional scripts, pokemon, moves and stuff you have added to your essentials version. From what I see, the engine somewhy just don't end the battle when there is no enemy pokemon left.

      In any case scenario, you can always ask for help from those who are familiar with Essentials. Ask them to give you a code to force a battle to end and insert it instead of the line with "raise" from code below. It is in PokeBattle_Scene.



      if curwindow==-1
          raise RuntimeError.new(_INTL("No targets somehow..."))

        Loading editor
    • well, I never really add stuff, just new moves that so far did not touch any double battle and EV/IV screen. I have also deleted the code for z moves and EBS. I also introduced new sprites and songs. I also tried in the older version (v16) and still have this issue. The most changes I did was new mega evolution and specific event encounter using global switch (like specific nature and EV or IV). However, I also tested with non-mega form and have the same issue. I am also using RPGXP

      Btw, How do I ask those people that is in Essential? I am new in this and other than RPGXP, this and Essential are the only platform I know. thanks for your patience.

        Loading editor
    • Pokemon Essentials is just the engine implemented onto the RPG Maker XP script platform. You can ask for help on pokecommunity or reliccastle. And I think they would need more information, like battle log, what moves and pokemons have been used etc etc to see full picture.



      I would really suggest never deleting stuff, even if you are not going to use it.

        Loading editor
    • okay for those who knows, I have another issue. For some reason I did nothing but I ended the battle with the same pokemon ( I use fearow and carbink and fight mega beedrill in double battle). I got this error.


      Exception: ArgumentError Message: wrong number of arguments(2 for 1) PokeBattle_Battle:2721:in `pbChooseTarget' PokeBattle_Battle:2721:in `pbCommandPhase' PokeBattle_Battle:2698:in `loop' PokeBattle_Battle:2799:in `pbCommandPhase' PokeBattle_Battle:2687:in `each' PokeBattle_Battle:2687:in `pbCommandPhase' PokeBattle_Battle:2628:in `pbStartBattleCore' PokeBattle_Battle:2627:in `logonerr' PokeBattle_Battle:2627:in `pbStartBattleCore' PokeBattle_Battle:2617:in `loop'

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message