diff --git a/Util/functions.asm b/Util/functions.asm new file mode 100644 index 0000000..2f06151 --- /dev/null +++ b/Util/functions.asm @@ -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) \ No newline at end of file diff --git a/Util/ram.asm b/Util/ram.asm new file mode 100644 index 0000000..7254c59 --- /dev/null +++ b/Util/ram.asm @@ -0,0 +1,11 @@ +org $008000 +base $7E0730 + +MenuScrollLevelV: skip 1 +MenuScrollLevelH: skip 1 +MenuScrollHDirection: skip 2 +MenuItemValueSpoof: skip 2 +MusicNoteValue: skip 2 +OverworldLocationPointer: skip 2 + +base off \ No newline at end of file