mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
23 lines
603 B
NASM
Executable File
23 lines
603 B
NASM
Executable File
LoadBoardMenuGFX::
|
|
ld de, .BoardMenuGFX
|
|
ld hl, vTiles1
|
|
lb bc, BANK(.BoardMenuGFX), 18 * 3
|
|
call Get2bppViaHDMA
|
|
ld de, .BoardMenuOAMGFX
|
|
ld hl, vTiles1 + (18 * 3) * LEN_2BPP_TILE
|
|
lb bc, BANK(.BoardMenuOAMGFX), 3 * 3 * NUM_BOARD_MENU_ITEMS
|
|
call Get2bppViaHDMA
|
|
ret
|
|
|
|
.BoardMenuGFX:
|
|
INCBIN "gfx/board/menu.2bpp"
|
|
|
|
.BoardMenuOAMGFX:
|
|
table_width 3 * 3 * LEN_2BPP_TILE, .BoardMenuOAMGFX
|
|
INCBIN "gfx/board/menu_die.2bpp"
|
|
INCBIN "gfx/board/menu_pokemon.2bpp"
|
|
INCBIN "gfx/board/menu_bag.2bpp"
|
|
INCBIN "gfx/board/menu_pokegear.2bpp"
|
|
INCBIN "gfx/board/menu_exit.2bpp"
|
|
assert_table_length NUM_BOARD_MENU_ITEMS
|