mirror of
https://github.com/pret/pokecrystal.git
synced 2026-04-26 08:33:40 -05:00
Some checks are pending
CI / build (push) Waiting to run
- 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`
17 lines
345 B
NASM
17 lines
345 B
NASM
LoadOverworldFont::
|
|
ld de, .OverworldFontGFX
|
|
ld hl, vTiles1
|
|
lb bc, BANK(.OverworldFontGFX), $80
|
|
call Get2bpp
|
|
ld de, .OverworldFontSpaceGFX
|
|
ld hl, vTiles2 tile ' '
|
|
lb bc, BANK(.OverworldFontSpaceGFX), 1
|
|
call Get2bpp
|
|
ret
|
|
|
|
.OverworldFontGFX:
|
|
INCBIN "gfx/font/overworld.2bpp"
|
|
|
|
.OverworldFontSpaceGFX:
|
|
INCBIN "gfx/font/overworld_space.2bpp"
|