mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-25 08:32:32 +13:00
Let rgbasm handle undefined version constants.
This commit is contained in:
parent
1439ba6f2a
commit
b1b084334c
4 changed files with 22 additions and 6 deletions
1
blue.asm
1
blue.asm
|
|
@ -1,2 +1 @@
|
|||
_BLUE EQU 1
|
||||
_RED EQU 0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
_JAPAN EQU 0
|
||||
_GREEN EQU 0
|
||||
_YELLOW EQU 0
|
||||
INCLUDE "version.asm"
|
||||
|
||||
INCLUDE "macros.asm"
|
||||
|
||||
|
|
|
|||
3
red.asm
3
red.asm
|
|
@ -1,2 +1 @@
|
|||
_RED EQU 1
|
||||
_BLUE EQU 0
|
||||
_RED EQU 1
|
||||
|
|
|
|||
20
version.asm
Normal file
20
version.asm
Normal file
|
|
@ -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
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue