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

[Scripting Question] Game Over

  • 5
    Posts
    7
    Years
    • Seen Oct 10, 2021
    Does anyone know how to make it so when the player loses, the game ends and they have to reload from their latest save?
     
    Search for the following

    Code:
    def pbStartOver

    Code:
    class PokemonLoad_Scene

    merge the two with some inbetween code like `pbMessage' ya sure ya wanna continue? yes -> load , no-> splash title screen'
     
    Search for the following

    Code:
    def pbStartOver

    Code:
    class PokemonLoad_Scene

    merge the two with some inbetween code like `pbMessage' ya sure ya wanna continue? yes -> load , no-> splash title screen'

    I'm trying to merge them, but every time I black out, the screen stays black and I don't know how to fix it. The game still works, because when I clicked the "A" button I enter the game and can open my bag and hear music.
     
    Back
    Top