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

[Eventing Question] How do you make an event with no money loss from losing to a trainer?

Cardboard Slime

A Slime in a Box
19
Posts
6
Years
  • Title says it all. How do I make an event (though it could be a script thing) where I don't lose money from losing to a trainer battle?
     
    1,805
    Posts
    7
    Years
  • That actually is a little more complicated than it seems; you'll have to make a conditional branch within your starting over code so if a certain control switch you don't lose money. Good luck!
     
    1,682
    Posts
    8
    Years
    • Seen today
    In Settings, there is a constant there called NO_MONEY_LOSS, and its value is the switch that you can toggle to disable the loss of money. By default it's switch 33, but double check in case it's somehow different for you. Then just set the switch before starting the battle, and turn it off afterwards.
     
    Back
    Top