• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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