util functions mostly for the oracle menu
This commit is contained in:
2
Util/functions.asm
Normal file
2
Util/functions.asm
Normal file
@@ -0,0 +1,2 @@
|
||||
function hexto555(h) = ((((h&$FF)/8)<<10)|(((h>>8&$FF)/8)<<5)|(((h>>16&$FF)/8)<<0))
|
||||
function menu_offset(y,x) = (y*64)+(x*2)
|
||||
Reference in New Issue
Block a user