shithub: pokecrystal

Download patch

ref: 056cd5e871c823d45767c520cc169dcac5d986b3
parent: 814a720e9dccff4b90f1259dc91016a703c22d7e
author: mid-kid <[email protected]>
date: Sat Nov 10 19:44:07 EST 2018

Clarify LEGACY support

--- a/macros/legacy.asm
+++ b/macros/legacy.asm
@@ -1,5 +1,6 @@
-; Legacy support for pre-2018 pokecrystal.
+; Legacy support for old pokecrystal.
 ; Allows porting scripts with as few edits as possible.
+; Legacy support not in this file can be found by looking for the keyword: "LEGACY"
 
 ; macros/rst.asm
 callba EQUS "farcall"
--- a/macros/scripts/audio.asm
+++ b/macros/scripts/audio.asm
@@ -71,7 +71,7 @@
 	if _NARG == 4
 	db \1 | (\2 << 2) | (\3 << 4) | (\4 << 6) ; duty sequence
 	else
-	db \1 ; one-byte duty value for legacy support
+	db \1 ; LEGACY: Support for one-byte duty value
 	endc
 ENDM