Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def pbIsDate(dateVariable,*arg)
- timenow=pbGetTimeNow
- thisdate=timenow.mday
- ret=false
- for wd in arg
- ret=true if wd==thisdate
- end
- if dateVariable>0
- $game_variables[dateVariable]=thisdate
- $game_map.need_refresh = true if $game_map
- end
- return ret
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement