2022-06-30 18:29:51 -07:00
|
|
|
MAJOR EQU 0
|
2022-10-02 19:03:53 -07:00
|
|
|
MINOR EQU 6
|
|
|
|
PATCH EQU 0
|
2020-04-17 07:59:01 -07:00
|
|
|
|
2022-10-02 19:03:53 -07:00
|
|
|
WRONG_RGBDS EQUS "fail \"pokecrystal requires rgbds v0.6.0 or newer.\""
|
2021-04-19 13:31:37 -07:00
|
|
|
|
|
|
|
IF !DEF(__RGBDS_MAJOR__) || !DEF(__RGBDS_MINOR__) || !DEF(__RGBDS_PATCH__)
|
2022-10-02 19:03:53 -07:00
|
|
|
WRONG_RGBDS
|
2021-04-19 13:31:37 -07:00
|
|
|
ELSE
|
|
|
|
IF (__RGBDS_MAJOR__ < MAJOR) || \
|
2020-04-17 07:59:01 -07:00
|
|
|
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ < MINOR) || \
|
2021-04-19 13:31:37 -07:00
|
|
|
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ < PATCH) || \
|
|
|
|
(__RGBDS_MAJOR__ == MAJOR && __RGBDS_MINOR__ == MINOR && __RGBDS_PATCH__ == PATCH && DEF(__RGBDS_RC__))
|
2022-10-02 19:03:53 -07:00
|
|
|
WRONG_RGBDS
|
2021-04-19 13:31:37 -07:00
|
|
|
ENDC
|
|
|
|
ENDC
|