Advertisement
Vendily

pbIsDate

Jan 31st, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. def pbIsDate(dateVariable,*arg)
  2. timenow=pbGetTimeNow
  3. thisdate=timenow.mday
  4. ret=false
  5. for wd in arg
  6. ret=true if wd==thisdate
  7. end
  8. if dateVariable>0
  9. $game_variables[dateVariable]=thisdate
  10. $game_map.need_refresh = true if $game_map
  11. end
  12. return ret
  13. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement