mirror of
https://github.com/pret/pokecrystal.git
synced 2026-09-26 13:22:52 -04:00
a55bc33d67
- Use single-quoted character literals or `CHARVAL` when you need
a character's numeric value; using strings as numbers is deprecated
- Use `?` to silence a node in warning/error location backtraces
- Use `===` and `!==` instead of `STRCMP`, and `++` instead of `STRCAT`
- Use `__SCOPE__` instead of checking for `..` and `.` separately
- Use `#string` instead of `"{string}"`
- All programs (rgbasm, rgblink, rgbfix, rgbgfx) support `-W` warnings
- `rgbgfx --colors dmg` is short for `rgbgfx --colors dmg=e4`
7 lines
162 B
NASM
7 lines
162 B
NASM
IF !DEF(__RGBDS_MAJOR__)
|
|
fail "pokecrystal requires rgbds v1.0.0 or newer."
|
|
ENDC
|
|
IF __RGBDS_MAJOR__ < 1
|
|
fail "pokecrystal requires rgbds v1.0.0 or newer."
|
|
ENDC
|