From 82ffb336a975fe8cf9c3953fc380339feaae65b3 Mon Sep 17 00:00:00 2001 From: "U-Fish-PC\\Daniel" Date: Mon, 19 May 2014 08:05:48 -0400 Subject: Pull more data out of main.asm --- data/sgb_border.asm | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100755 data/sgb_border.asm (limited to 'data/sgb_border.asm') diff --git a/data/sgb_border.asm b/data/sgb_border.asm new file mode 100755 index 00000000..716a991e --- /dev/null +++ b/data/sgb_border.asm @@ -0,0 +1,62 @@ +BorderPalettes: ; 72788 (1c:6788) +IF _RED + INCBIN "gfx/red/sgbborder.map" +ENDC +IF _BLUE + INCBIN "gfx/blue/sgbborder.map" +ENDC + + ds $100 + +IF _RED + RGB 30,29,29 ; PAL_SGB1 + RGB 25,22,25 + RGB 25,17,21 + RGB 24,14,12 +ENDC +IF _BLUE + RGB 0,0,0 ; PAL_SGB1 (the first color is not defined, but if used, turns up as 30,29,29... o_O) + RGB 10,17,26 + RGB 5,9,20 + RGB 16,20,27 +ENDC + + ds $18 + +IF _RED + RGB 30,29,29 ; PAL_SGB2 + RGB 22,31,16 + RGB 27,20,6 + RGB 15,15,15 +ENDC +IF _BLUE + RGB 30,29,29 ; PAL_SGB2 + RGB 27,11,6 + RGB 5,9,20 + RGB 28,25,15 +ENDC + + ds $18 + +IF _RED + RGB 30,29,29 ; PAL_SGB3 + RGB 31,31,17 + RGB 18,21,29 + RGB 15,15,15 +ENDC +IF _BLUE + RGB 30,29,29 ; PAL_SGB3 + RGB 12,15,11 + RGB 5,9,20 + RGB 14,22,17 +ENDC + + ds $18 + +SGBBorderGraphics: ; 72fe8 (1c:6fe8) +IF _RED + INCBIN "gfx/red/sgbborder.w128.2bpp" +ENDC +IF _BLUE + INCBIN "gfx/blue/sgbborder.w128.2bpp" +ENDC -- cgit v1.3.1-sl0p