gbdk_playground/window/main.c

17 lines
307 B
C
Raw Normal View History

2020-07-11 13:41:14 +00:00
#include <gb/gb.h>
#include "bg.c"
#include "bg.map"
#include "border.c"
#include "window.c"
void main() {
set_bkg_data(0, 152, bg_tiledata);
set_bkg_tiles(0, 0, 20, 18, bg_tilemap);
SHOW_BKG;
set_win_data(152, 9, border);
set_win_tiles(0, 0, 20, 4, window);
move_win(7, 112);
SHOW_WIN;
}