FANDOM


Close Detection
[[|center|256px]]
General Info
Genre(s):
Contributor(s): ColeslawProd
Release Date: July 31,2014
Size: 120B (0KB)
Mode(s): Single-Player
Language(s): English


Run it and close your 3DS or DSi system. It should then say "Close detected" when you open it back up.

It works by checking the TIME$ variable. When the device closes, the program pauses, but the TIME$ continues to count. When the program notices the TIME$ skip two or more seconds, it knows that the system was closed.

DownloadEdit

   @a
   tmread(time$),h,m,s
   t=(h*60*60)+(m*60)+s
   lt=nt
   nt=t
   if lt+1<nt then ?"Close Detected"
   goto @a
CDETECT

NotesEdit

It will say it detected a close when it starts.

It needs to be closed for 1-2 seconds before it detects that it's been closed.

If it's closed over midnight, it won't detect that it was closed.

This could use some improvement.

CreditsEdit

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.