• 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!
  • 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.

[Scripting Question] Menu script help

  • 3
    Posts
    3
    Years
    • Seen Jun 21, 2021
    Hey guys, so in pokemon essentials I've come up with a problem. I am making a poke rip off game for my friend and I cant find out how to erase everything that has the word "pokemon" in it. I need to change the menu and the black out screen. Can someone help?
     
    Everything is 'doable' per se, the task is just a bit 'awkward' to explain. As it's 'simple' in some ways, but it depends on the desire effect.

    If just want to change the 'menu' and 'black out screen'. Which menu? You'll need to locate the script which houses said menu and change the flavor text.

    Example, to change the 'pause menu' flavor text, search for "class PokemonPauseMenu_Scene" and it's that script.

    You'll change

    Code:
      commands[cmdPokemon = commands.length]   = _INTL("Pokémon") if $Player.party_count > 0

    to

    Code:
      commands[cmdPokemon = commands.length]   = _INTL("Bob was here, BOB!") if $Player.party_count > 0


    It's likely you're newer to the script and stuff, have patience. Try to think about it logically, everything is set up previously by other humans coders.

    Think of all the scripts as pages to a book which holds all the pages together making the 'game'.


    If you want to change all instances of "Pokemon" simultaneously.

    You'll need an 'editor', or something capable of making multiple changes, like 'atom editor' or something.

    Then you'll CTRL + SHIFT + F to search all instance of "Pokemon" and "PokEmon", then you can change all those instances to "bob" or anything.


    The issue is, some instance of the word "Pokemon" may be important to how script operates, e.g. they aren't flavor text.
     
    Hey! I have the same problem! Only with the black out screen, when you lose a battle. I'm just trying to make a custom blackout screen! may I have some help as well?
     
    So, In a part of my game, I want the blackout screen to say the words "You did your best, but failed anyway" then be teleported to the gym.
     
    Should be in ways simple enough, I think a simple

    Code:
    pbMessage("You did your best \\PN, there's always next time")
    will suffice.

    to be placed in the regular 'game over/black out script'


    I'm on vacation right now, and enjoying myself, so not thinking about coding or art asset or anything for some time.



    I encourage you to try to find where in the script it is via Googling "Pokemon Essential Wiki Script" = https://essentialsdocs.fandom.com/wiki/Script_sections

    and playtest a bit to try to get it to work.

    It's slightly outdated, but it's still quite accurate regarding version v.19


    If by chance you still need assistance after I return, I'll locate the exact spot. But! Teach a person to fish sort of idea, I think you will get a lot of experience if you search around for the location where you need to place the code "pbMessage" mentioned above.
     
    Just figured this out so I thought I'd share.

    In the script editor under PField_Visuals you can find "Blacking out animation." Just change the text there to whatever you want it to say.
     
    Back
    Top