summaryrefslogtreecommitdiff
path: root/rgbdscheck.asm
blob: 63df35755af5abe519f190c4b2e15b3503abb88e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; pokered requires rgbds 0.4.2 or newer.
MAJOR EQU 0
MINOR EQU 4
PATCH EQU 2

IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__)
	fail "pokered requires rgbds 0.4.2 or newer."
ELSE
IF (__RGBDS_MAJOR__ < MAJOR) || \
	(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \
	(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ < PATCH)
	fail "pokered requires rgbds 0.4.2 or newer."
ENDC
ENDC