shithub: pokecrystal

Download patch

ref: 146fa1be515510dd6e7b9dea698aa453b0bc3920
parent: 5e6837807c0d4041b598384e5cb2574e929c7bfa
author: Rangi <[email protected]>
date: Sun Jul 8 12:29:46 EDT 2018

Remove extra parentheses

--- a/macros/code.asm
+++ b/macros/code.asm
@@ -1,11 +1,11 @@
 ; Syntactic sugar macros
 
 lb: MACRO ; r, hi, lo
-	ld \1, (((\2) & $ff) << 8) | (((\3) & $ff))
+	ld \1, ((\2) & $ff) << 8 | ((\3) & $ff)
 ENDM
 
 ln: MACRO ; r, hi, lo
-	ld \1, (((\2) & $f) << 4) | (((\3) & $f))
+	ld \1, ((\2) & $f) << 4 | ((\3) & $f)
 ENDM
 
 ldpixel: MACRO