-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Piter edited this page Aug 25, 2021
·
14 revisions
log(any text) - writes text to console/stdout
time() - returns elapsed time in milliseconds from start
setmapx(x) - sets map x on screen
setmapy(y) - sets map y on screen
getmapx() - returns map x
getmapy() - returns map y
setmapd(bool) - sets map visibility on screen
getmapd() - returns map visibility
setmapi(i) - sets current visible map (0-3)
getmapi() - returns current visible map (0-3)
setmap(x,y,sprite) - sets map cell to 'c' (0-255)
getmap(x,y) - returns map cell (0-255)
sprite(sp,x,y,transparency,scale,flip) - displays sprite at x,y, Transparency is color that will be transparent
key(k) - returns true when key is pressed (0-7)
halt() - halts PityBoy
exit() - exit