diff options
author | yenatch <yenatch@gmail.com> | 2014-02-14 19:35:38 -0500 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2014-02-14 19:35:38 -0500 |
commit | b1b084334c6f05e1253acae7ba65c8163d567bcf (patch) | |
tree | 7cc609887493ef7806c1786e9917f37df26e793f | |
parent | 1439ba6f2a2f94f7a4314c693246519cc383dbf2 (diff) |
Let rgbasm handle undefined version constants.
-rw-r--r-- | blue.asm | 1 | ||||
-rw-r--r-- | constants.asm | 4 | ||||
-rw-r--r-- | red.asm | 3 | ||||
-rw-r--r-- | version.asm | 20 |
4 files changed, 22 insertions, 6 deletions
@@ -1,2 +1 @@ _BLUE EQU 1 -_RED EQU 0 diff --git a/constants.asm b/constants.asm index 3496aa6a..85990c48 100644 --- a/constants.asm +++ b/constants.asm @@ -1,6 +1,4 @@ -_JAPAN EQU 0 -_GREEN EQU 0 -_YELLOW EQU 0 +INCLUDE "version.asm" INCLUDE "macros.asm" @@ -1,2 +1 @@ -_RED EQU 1 -_BLUE EQU 0 +_RED EQU 1 diff --git a/version.asm b/version.asm new file mode 100644 index 00000000..6f80aa1c --- /dev/null +++ b/version.asm @@ -0,0 +1,20 @@ +if !def(_RED) +_RED EQU 0 +endc + +if !def(_BLUE) +_BLUE EQU 0 +endc + +if !def(_JAPAN) +_JAPAN EQU 0 +endc + +if !def(_GREEN) +_GREEN EQU 0 +endc + +if !def(_YELLOW) +_YELLOW EQU 0 +endc + |