• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
    6
    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?
     

    JulyArt

    New Developer
  • 70
    Posts
    3
    Years
    • Seen Dec 17, 2021
    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'
     
  • 5
    Posts
    6
    Years
    • Seen Oct 10, 2021
    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