• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking 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.

[Eventing Question] How do I make a pbWeekday but only of a single day?

  • 53
    Posts
    12
    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?
     
    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