• 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!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Bug with pokemon beyond lv. 100

  • 115
    Posts
    15
    Years
    • Seen Sep 4, 2023
    Hello,

    I changed the variable MAXIMUMLEVEL in settings so that I could create trainers with pokemon beyond level 100. The game is compiling alright, but the editor is not.
    I get this error message only when I try to open the editor:

    Exception: RuntimeError
    Message: Bad level: 104 (must be from 1-100)
    File PBS/trainers.txt, line 929
    HYPNO,104,LEFTOVERS,PSYCHIC,NASTYPLOT,DISABLE,THUNDERWAVE,,,0,false,,10,70,,false

    Compiler:1412:in `pbCompileTrainers'
    Compiler:1402:in `each'
    Compiler:1402:in `pbCompileTrainers'
    Compiler:1379:in `loop'
    Compiler:1467:in `pbCompileTrainers'
    Compiler:3953:in `pbCompileAllData'
    Compiler:4071
    What can I do? I went to the "Compile" script, but I couldn't figure out what to change in those lines.
    Thank you very much in advance.

    Giu
     
    Last edited:
    As long as you've set MAXIMUMLEVEL = 999 (or what you want), it should work.
    You've done something wrong... If that's possible! You sure you've changed the level from 100? It doesn't look like you have.
     
    Hi,

    Thanks for the reply. I'm sure I've set MAXIMUMLEVEL to 999 in settings (I checked it again).
    I still get the error. I've tested this in both versions (11 and 12), so I know the error is not exclusive of the new version.

    Any idea of what might be causing this? Have you tryed to load the editor with trainers owning pkm beyond 100?

    Thank you!
     
    The Editor has his own scripts. By default it accepts only values between 1 and 100. Save your Scripts.rxdata in a different Place, rename the EditorScripts.rxdata (Both files are in Data) to Scripts.rxdata, open your game with the rpg maker and go to the Script Editor. Anywhere there is a script that allows you to change the range or the maximum possible level. Don't forget to rename the file again and put the original Scripts.rxdata back again to the Data-folder.
     
    Back
    Top