• 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 I make a pbWeekday but only of a single day?

53
Posts
11
Years
  • My question is in the switches there is this pbWeekday with a variable but when I did make my own one it did not work I was testing this you know the NPCs like Tuscany appearing on tuesdays and so on but that did not work. Do I need to define it or what?
     
    104
    Posts
    2
    Years
    • Seen Mar 12, 2024
    You don't have to define it. You can put it right in the script just like the example ones with multiple days. You have to keep the "-1" first. It doesn't work without it. Here is an example for Sunday.

    0059: s:pbIsWeekday(-1,0)


    Sunday is 0, Saturday is 6
     
    Back
    Top