View Single Post
  #158    
Old January 1st, 2013 (04:02 PM).
pabioxxx
Unhatched Egg
 
Join Date: Aug 2010
Gender: Male
Quote:
Originally Posted by LugiaMZ View Post
Can someone tell me why this check day script is not working for me?
For Example:
#dynamic 0x800000
#org @dif
lock
faceplayer
comparefarbytetobyte 0x03005540 0x0
if 0x1 goto @sunday
comparefarbytetobyte 0x03005540 0x1
if 0x1 goto @monday
comparefarbytetobyte 0x03005540 0x2
if 0x1 goto @tuesday
comparefarbytetobyte 0x03005540 0x3
if 0x1 goto @wednesday
comparefarbytetobyte 0x03005540 0x4
if 0x1 goto @thursday
comparefarbytetobyte 0x03005540 0x5
if 0x1 goto @friday
comparefarbytetobyte 0x03005540 0x6
if 0x1 goto @saturday
release
end


Answer me please... ><

PS: Sorry for my bad english... Thanks.
Try this:
comparefarbytetobyte 0x03005540 0x6
if 0x1 goto @sunday
comparefarbytetobyte 0x03005540 0x7
if 0x1 goto @monday
comparefarbytetobyte 0x03005540 0x1
if 0x1 goto @tuesday
comparefarbytetobyte 0x03005540 0x2
if 0x1 goto @wednesday
comparefarbytetobyte 0x03005540 0x3
if 0x1 goto @thursday
comparefarbytetobyte 0x03005540 0x4
if 0x1 goto @friday
comparefarbytetobyte 0x03005540 0x5
if 0x1 goto @saturday
Reply With Quote