• 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?".
  • Forum moderator applications are now open! Click here for details.
  • 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.

Tool: DNS - Day, Night and Seasons

0
Posts
11
Years
  • Seen Nov 19, 2015
I don't know how to change season!:( Please give me a tutorial!
Sorry for my English!
 

BrandoSheriff

Has a tendency to figure things out
776
Posts
16
Years
Is there a tutorial for how to insert it?
All I did was click insert RTC, then insert DAN, but is that it?

EDIT: nvm, i believe i figured out how to use it myself, as i tend to do a lot. xD
 
Last edited:

Ultra - Retro Reviver!

Ultra - Retro Reviver
149
Posts
11
Years
Can somebody please tell me how to function this? I can't get Day, Night or Seasons to work.

Can somebody please PM me or reply to this post how to do it?
Thanks.
 
32
Posts
13
Years
  • Seen May 9, 2015
#dynamic 0x800000

#org @start
comparefarbytetobyte 0x0300553C 0x0
if 0x1 goto @sunday
comparefarbytetobyte 0x0300553C 0x1
if 0x1 goto @monday
comparefarbytetobyte 0x0300553C 0x2
if 0x1 goto @tuesday
comparefarbytetobyte 0x0300553C 0x3
if 0x1 goto @wednesday
comparefarbytetobyte 0x0300553C 0x4
if 0x1 goto @thursday
comparefarbytetobyte 0x0300553C 0x5
if 0x1 goto @friday
comparefarbytetobyte 0x0300553C 0x6
if 0x1 goto @saturday

#org @sunday
msgbox @1 0x2
release
end
... etc

Can someone tell me what is wrong in this script? And i would like to know how to check time, it's possible to check it without asm call, I mean use similary script like this above? !
 
74
Posts
12
Years
  • Seen Nov 3, 2019
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
#org @sunday
msgbox @sun 0x6
end
#org @monday
msgbox @mon 0x6
end
#org @tuesday
msgbox @tues 0x6
end
#org @wednesday
msgbox @wed 0x6
end
#org @thursday
msgbox @thurs 0x6
end
#org @friday
msgbox @fri 0x6
end
#org @saturday
msgbox @sat 0x6
end
#org @sun
= Today is Sunday.
#org @mon
= Today is Monday.
#org @tues
= Today is Tuesday.
#org @wed
= Today is Wednesday.
#org @thurs
= Today is Thursday.
#org @fri
= Today is Friday.
#org @sat
= Today is Saturday.

Answer me please... ><

PS: Sorry for my bad english... Thanks. :)
 

KitsuneLugia96

Trainer Silver
28
Posts
11
Years
Hello, I am having problems with the program. I used it before on my Pokemon Emerald Hack, and worked great, but that was months ago, now I am using a Fire Red Rom and the program is too big for my screen. I tried changing my screen to a higher resolution, but it still will not fit. I'm not sure what to do.
 

prime-dialga

pure darkness
28
Posts
14
Years
  • Seen Jul 8, 2014
@pabioxxx & LugiaMZ
you have to use an emulator which has a RTC (real time clock). But unfortunately some emulators which have a RTC doesn't write the "day of week"-byte.

@KitsuneLugia96
700 - 800 px in the height should be enough. Also you can make your taskbar to autohide itself to get some more pixels of space.
But if you can see the "Insert DAN"-button everything should be fine. There aren't any options under the button
 
32
Posts
13
Years
  • Seen May 9, 2015
@pabioxxx & LugiaMZ
you have to use an emulator which has a RTC (real time clock). But unfortunately some emulators which have a RTC doesn't write the "day of week"-byte.

I'm using VBA and RTC is on... Maybe you should make an addition to program, something like tutorial which can show us how to make time scripts, etc?
 
74
Posts
12
Years
  • Seen Nov 3, 2019
@pabioxxx & LugiaMZ
you have to use an emulator which has a RTC (real time clock). But unfortunately some emulators which have a RTC doesn't write the "day of week"-byte.

I using VBA and checked Real Time Clock. My problem only when I talk to the person where I put the script, he/she say "Today is Wednesday" at the text box. Actually the real day is Monday. And when I talk to the person at Tuesday, then he/she say "Today is Thursday". I checked my PC date, It's correctly. I tried to check day and night, too. But it's prefectly working... I think is my script problem, if you tried before to check "day of week" and it work, please give me that script. Other question, it's possible to make a script to check month/years? Thanks. :)

P.S. Sorry for my bad english.
 
Last edited:

prime-dialga

pure darkness
28
Posts
14
Years
  • Seen Jul 8, 2014
You can find the "day of week"-byte @ 0x0300553E

but you can ask such questions in interdpth's RTC-thread.
 
32
Posts
13
Years
  • Seen May 9, 2015
You can find the "day of week"-byte @ 0x0300553E

but you can ask such questions in interdpth's RTC-thread.



It still doesn't work, the game freeze... I have no idea what's wrong, the check day time and check season scripts work fine, maybe the status byte is not set ,is it possible to check it?
 
Last edited:
32
Posts
13
Years
  • Seen May 9, 2015
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
 

thizzman

PKMN rom maker and hacker
32
Posts
11
Years
  • Age 33
  • Seen Jun 9, 2022
hey, This is amazing !! (:
I can use this with ease.
Just some thing I wanted to ask..
Is it possible that I could change the wild Pokemon depending whether its day or night??
If so U rule!!! 8)
 
Back
Top