Pause the program until a button is pressed (A/B/X/Y/L/R/Start/Select.)
Returns the number of V-Blanks since the program started.
Returns the year in four digits as an integer.
Returns the month as an integer.
Returns the day of the month as an integer.
Returns the hour of the day as an integer, from 0 to 23.
Returns the minute of the hour as an integer.
Returns the hour that the alarm is set to go off.
Returns the minute that the alarm is set to go off.
Returns the second of the minute as an integer.
Returns the username that the DS is set to as a string.
Returns the message that the DS is set to as a string.
Returns the month of the user's birthday as an integer.
Returns the day of the month of the user's birthday as an integer.
Returns the color that the DS is set to as an integer. 0 = Gray, 1 = Maroon, 2 = Red, 3 = Pink, 4 = Orange, 5 = Yellow, 6 = Lime, 7 = Green, 8 = Dark Green, 9 = Teal, 10 = Light Blue, 11 = Blue, 12 = Dark Blue, 13 = Dark Purple, 14 = Light Purple, 15 = Dark Pink.
Returns the language that the DS is set to as an integer. 0 = Japanese, 1 = English, 2 = French, 3 = German, 4 = Italian, 5 = Spanish.
Returns the version of DSLua is using.
Toggles one of the screens backlight on or off.
screen is either 0 for bottom screen or 1 for top screen.
status is either 0 for turning off the backlight or 1 for turning it on.
Makes the power LED blink.
blink can be either 1 for start blinking, or 0 for stop blinking.
speed can be either 0 for slow (like when the DS is in sleep mode), or 1 for fast (like when you're on Nintendo WFC).
Switches the screens so whatever is supposed to go on the top screen goes on the bottom, and whatever is supposed to go on the bottom screen goes on the top.
Returns true if the DS lid is closed, otherwise it returns false.
If it's a DS lite, it sets the brightness setting.
brightness is a number from 0 to 3, 0 being the dimmest, 3 being the brightest.