Skip to content
paul59 edited this page Jan 2, 2020 · 9 revisions

reset

reset

Description:

Resets the cartridge. To return to the console, see the exit function.

Example:

-- title:  reset API Command Demo (Lua)
-- author: StinkerB06
t=0
function TIC()
	if btn(4) then reset() end
	cls()
	print("Press Z to reset counter.",1,1)
	print(t,1,8)
	t=t+1
end
Clone this wiki locally