Move functions to symbols.asm, remove Util.functions.asm

This commit is contained in:
scawful
2024-10-06 23:41:48 -04:00
parent 8060b82251
commit 0e697a87f8
3 changed files with 6 additions and 4 deletions

View File

@@ -27,6 +27,12 @@ FishingOrPortalRod: skip 1
base off base off
; =========================================================
function RGBto555(R,G,B) = ((R/8)<<10)|((G/8)<<5)|(B/8) ; zarby
function hexto555(h) = ((((h&$FF)/8)<<10)|(((h>>8&$FF)/8)<<5)|(((h>>16&$FF)/8)<<0)) ; kan
function menu_offset(y,x) = (y*64)+(x*2)
; ========================================================= ; =========================================================
; SRAM in Use ; SRAM in Use

View File

@@ -54,7 +54,6 @@ namespace Oracle
print "Applying patches to Oracle of Secrets" print "Applying patches to Oracle of Secrets"
print "" print ""
incsrc "Util/functions.asm"
incsrc "Core/music_macros.asm" incsrc "Core/music_macros.asm"
incsrc "Core/symbols.asm" incsrc "Core/symbols.asm"

View File

@@ -1,3 +0,0 @@
function RGBto555(R,G,B) = ((R/8)<<10)|((G/8)<<5)|(B/8) ; zarby
function hexto555(h) = ((((h&$FF)/8)<<10)|(((h>>8&$FF)/8)<<5)|(((h>>16&$FF)/8)<<0)) ; kan
function menu_offset(y,x) = (y*64)+(x*2)