• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist 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.

Code: Detailed Error Messages for Players (and not only debug/playtest mode) [Essentials v20.1]

A tiny edit in the scripts that simply allows players to view detailed error reports that they can send to the devs to help them find the cause of the errors much much easier.
I would have made it into a plugin but it looks like this specific method does not work from a plugin.
Therefore it has to be a direct scripts edit.
In the Main tab (usually the last tab in the scripts.rxdata) comment out the lines i have commented out in
def mainFunction:
Code:
def mainFunction
   #if $DEBUG
       pbCriticalCode { mainFunctionDebug }
   # else
      # mainFunctionDebug
   # end
   return 1
end
or i guess you can simply copy this and paste it over that one.

Before:
[PokeCommunity.com] Detailed Error Messages for Players (and not only debug/playtest mode) [Essentials v20.1]


After:
[PokeCommunity.com] Detailed Error Messages for Players (and not only debug/playtest mode) [Essentials v20.1]
 
Last edited:
Back
Top