Skip to content

Instantly share code, notes, and snippets.

@Chovin
Last active June 13, 2018 05:00
Show Gist options
  • Save Chovin/be077aae050e32a7adb70164b11de1cf to your computer and use it in GitHub Desktop.
Save Chovin/be077aae050e32a7adb70164b11de1cf to your computer and use it in GitHub Desktop.
function <function_name>([param1] [,param2 ...])
-- your code here
end
-- examples:
function jump()
y = y + 10
end
function draw_jelpi_row(y)
x = 60
pad = 8
spr(1,x,y)
spr(1,x+pad,y)
spr(1,x+pad*2,y)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment