From 056cd5e871c823d45767c520cc169dcac5d986b3 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Sun, 11 Nov 2018 00:44:07 +0100 Subject: [PATCH] Clarify LEGACY support --- macros/legacy.asm | 3 ++- macros/scripts/audio.asm | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/macros/legacy.asm b/macros/legacy.asm index 35e6e9ccb..7f53dd565 100644 --- 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" diff --git a/macros/scripts/audio.asm b/macros/scripts/audio.asm index 98933890c..f6969d046 100644 --- a/macros/scripts/audio.asm +++ b/macros/scripts/audio.asm @@ -71,7 +71,7 @@ sound_duty: MACRO 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