typedef void (*sprite_draw_function)(unsigned short *, unsigned char *);

static void sprdrawn_00(unsigned short *, unsigned char *)
{
}

static void sprdrawn_01(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
}

static void sprdrawn_02(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
}

static void sprdrawn_03(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
}

static void sprdrawn_04(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
}

static void sprdrawn_05(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
}

static void sprdrawn_06(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
}

static void sprdrawn_07(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
}

static void sprdrawn_08(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
}

static void sprdrawn_09(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
}

static void sprdrawn_0a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
}

static void sprdrawn_0b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
}

static void sprdrawn_0c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
}

static void sprdrawn_0d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
}

static void sprdrawn_0e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
}

static void sprdrawn_0f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
}

static void sprdrawn_10(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
}

static void sprdrawn_11(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
}

static void sprdrawn_12(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
}

static void sprdrawn_13(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_14(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
}

static void sprdrawn_15(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_16(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_17(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
}

static void sprdrawn_18(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
}

static void sprdrawn_19(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_1a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_1b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
}

static void sprdrawn_1c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
}

static void sprdrawn_1d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
}

static void sprdrawn_1e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
}

static void sprdrawn_1f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
}

static void sprdrawn_20(unsigned short *dst, unsigned char *src)
{
	dst[ 5] = pgm_spr_pal[src[0]];
}

static void sprdrawn_21(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
}

static void sprdrawn_22(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
}

static void sprdrawn_23(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_24(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
}

static void sprdrawn_25(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_26(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_27(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_28(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
}

static void sprdrawn_29(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_2a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_2b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_2c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_2d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_2e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_2f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
}

static void sprdrawn_30(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
}

static void sprdrawn_31(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_32(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_33(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_34(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_35(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_36(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_37(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
}

static void sprdrawn_38(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
}

static void sprdrawn_39(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_3a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_3b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
}

static void sprdrawn_3c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
}

static void sprdrawn_3d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
}

static void sprdrawn_3e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
}

static void sprdrawn_3f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 5] = pgm_spr_pal[src[5]];
}

static void sprdrawn_40(unsigned short *dst, unsigned char *src)
{
	dst[ 6] = pgm_spr_pal[src[0]];
}

static void sprdrawn_41(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_42(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_43(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_44(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_45(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_46(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_47(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_48(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_49(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_4a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_4b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_4c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_4d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_4e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_4f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_50(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_51(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_52(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_53(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_54(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_55(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_56(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_57(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_58(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_59(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_5a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_5b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_5c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_5d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_5e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_5f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_60(unsigned short *dst, unsigned char *src)
{
	dst[ 5] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
}

static void sprdrawn_61(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_62(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_63(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_64(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_65(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_66(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_67(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_68(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_69(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_6a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_6b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_6c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_6d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_6e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_6f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_70(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
}

static void sprdrawn_71(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_72(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_73(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_74(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_75(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_76(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_77(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_78(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
}

static void sprdrawn_79(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_7a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_7b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_7c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
}

static void sprdrawn_7d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_7e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
}

static void sprdrawn_7f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 5] = pgm_spr_pal[src[5]];
	dst[ 6] = pgm_spr_pal[src[6]];
}

static void sprdrawn_80(unsigned short *dst, unsigned char *src)
{
	dst[ 7] = pgm_spr_pal[src[0]];
}

static void sprdrawn_81(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_82(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_83(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_84(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_85(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_86(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_87(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_88(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_89(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_8a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_8b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_8c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_8d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_8e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_8f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_90(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_91(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_92(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_93(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_94(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_95(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_96(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_97(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_98(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_99(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_9a(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_9b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_9c(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_9d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_9e(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_9f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_a0(unsigned short *dst, unsigned char *src)
{
	dst[ 5] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_a1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_a2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_a3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_a4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_a5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_a6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_a7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_a8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_a9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_aa(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_ab(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ac(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_ad(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ae(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_af(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_b0(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_b1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_b2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_b3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_b4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_b5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_b6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_b7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_b8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_b9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ba(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_bb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_bc(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_bd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_be(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_bf(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 5] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_c0(unsigned short *dst, unsigned char *src)
{
	dst[ 6] = pgm_spr_pal[src[0]];
	dst[ 7] = pgm_spr_pal[src[1]];
}

static void sprdrawn_c1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_c2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_c3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_c4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_c5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_c6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_c7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_c8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_c9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_ca(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_cb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_cc(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_cd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ce(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_cf(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_d0(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_d1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_d2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_d3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_d4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_d5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_d6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_d7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_d8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_d9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_da(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_db(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_dc(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_dd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_de(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_df(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_e0(unsigned short *dst, unsigned char *src)
{
	dst[ 5] = pgm_spr_pal[src[0]];
	dst[ 6] = pgm_spr_pal[src[1]];
	dst[ 7] = pgm_spr_pal[src[2]];
}

static void sprdrawn_e1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_e2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_e3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_e4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_e5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_e6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_e7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_e8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_e9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ea(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_eb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_ec(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_ed(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_ee(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_ef(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_f0(unsigned short *dst, unsigned char *src)
{
	dst[ 4] = pgm_spr_pal[src[0]];
	dst[ 5] = pgm_spr_pal[src[1]];
	dst[ 6] = pgm_spr_pal[src[2]];
	dst[ 7] = pgm_spr_pal[src[3]];
}

static void sprdrawn_f1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_f2(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_f3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_f4(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_f5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_f6(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_f7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_f8(unsigned short *dst, unsigned char *src)
{
	dst[ 3] = pgm_spr_pal[src[0]];
	dst[ 4] = pgm_spr_pal[src[1]];
	dst[ 5] = pgm_spr_pal[src[2]];
	dst[ 6] = pgm_spr_pal[src[3]];
	dst[ 7] = pgm_spr_pal[src[4]];
}

static void sprdrawn_f9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_fa(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_fb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_fc(unsigned short *dst, unsigned char *src)
{
	dst[ 2] = pgm_spr_pal[src[0]];
	dst[ 3] = pgm_spr_pal[src[1]];
	dst[ 4] = pgm_spr_pal[src[2]];
	dst[ 5] = pgm_spr_pal[src[3]];
	dst[ 6] = pgm_spr_pal[src[4]];
	dst[ 7] = pgm_spr_pal[src[5]];
}

static void sprdrawn_fd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_fe(unsigned short *dst, unsigned char *src)
{
	dst[ 1] = pgm_spr_pal[src[0]];
	dst[ 2] = pgm_spr_pal[src[1]];
	dst[ 3] = pgm_spr_pal[src[2]];
	dst[ 4] = pgm_spr_pal[src[3]];
	dst[ 5] = pgm_spr_pal[src[4]];
	dst[ 6] = pgm_spr_pal[src[5]];
	dst[ 7] = pgm_spr_pal[src[6]];
}

static void sprdrawn_ff(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[ 1] = pgm_spr_pal[src[1]];
	dst[ 2] = pgm_spr_pal[src[2]];
	dst[ 3] = pgm_spr_pal[src[3]];
	dst[ 4] = pgm_spr_pal[src[4]];
	dst[ 5] = pgm_spr_pal[src[5]];
	dst[ 6] = pgm_spr_pal[src[6]];
	dst[ 7] = pgm_spr_pal[src[7]];
}

static void sprdrawf_00(unsigned short *, unsigned char *)
{
}

static void sprdrawf_01(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
}

static void sprdrawf_02(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
}

static void sprdrawf_03(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
}

static void sprdrawf_04(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
}

static void sprdrawf_05(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
}

static void sprdrawf_06(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
}

static void sprdrawf_07(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
}

static void sprdrawf_08(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
}

static void sprdrawf_09(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
}

static void sprdrawf_0a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
}

static void sprdrawf_0b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
}

static void sprdrawf_0c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
}

static void sprdrawf_0d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
}

static void sprdrawf_0e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
}

static void sprdrawf_0f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
}

static void sprdrawf_10(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
}

static void sprdrawf_11(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
}

static void sprdrawf_12(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
}

static void sprdrawf_13(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_14(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
}

static void sprdrawf_15(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_16(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_17(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
}

static void sprdrawf_18(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
}

static void sprdrawf_19(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_1a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_1b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
}

static void sprdrawf_1c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
}

static void sprdrawf_1d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
}

static void sprdrawf_1e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
}

static void sprdrawf_1f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
}

static void sprdrawf_20(unsigned short *dst, unsigned char *src)
{
	dst[-5] = pgm_spr_pal[src[0]];
}

static void sprdrawf_21(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
}

static void sprdrawf_22(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
}

static void sprdrawf_23(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_24(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
}

static void sprdrawf_25(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_26(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_27(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_28(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
}

static void sprdrawf_29(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_2a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_2b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_2c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_2d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_2e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_2f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
}

static void sprdrawf_30(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
}

static void sprdrawf_31(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_32(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_33(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_34(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_35(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_36(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_37(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
}

static void sprdrawf_38(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
}

static void sprdrawf_39(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_3a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_3b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
}

static void sprdrawf_3c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
}

static void sprdrawf_3d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
}

static void sprdrawf_3e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
}

static void sprdrawf_3f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-5] = pgm_spr_pal[src[5]];
}

static void sprdrawf_40(unsigned short *dst, unsigned char *src)
{
	dst[-6] = pgm_spr_pal[src[0]];
}

static void sprdrawf_41(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_42(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_43(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_44(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_45(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_46(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_47(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_48(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_49(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_4a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_4b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_4c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_4d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_4e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_4f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_50(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_51(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_52(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_53(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_54(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_55(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_56(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_57(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_58(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_59(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_5a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_5b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_5c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_5d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_5e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_5f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_60(unsigned short *dst, unsigned char *src)
{
	dst[-5] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
}

static void sprdrawf_61(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_62(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_63(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_64(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_65(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_66(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_67(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_68(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_69(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_6a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_6b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_6c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_6d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_6e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_6f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_70(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
}

static void sprdrawf_71(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_72(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_73(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_74(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_75(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_76(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_77(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_78(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
}

static void sprdrawf_79(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_7a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_7b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_7c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
}

static void sprdrawf_7d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_7e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
}

static void sprdrawf_7f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-5] = pgm_spr_pal[src[5]];
	dst[-6] = pgm_spr_pal[src[6]];
}

static void sprdrawf_80(unsigned short *dst, unsigned char *src)
{
	dst[-7] = pgm_spr_pal[src[0]];
}

static void sprdrawf_81(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_82(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_83(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_84(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_85(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_86(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_87(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_88(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_89(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_8a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_8b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_8c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_8d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_8e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_8f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_90(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_91(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_92(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_93(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_94(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_95(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_96(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_97(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_98(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_99(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_9a(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_9b(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_9c(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_9d(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_9e(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_9f(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_a0(unsigned short *dst, unsigned char *src)
{
	dst[-5] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_a1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_a2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_a3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_a4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_a5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_a6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_a7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_a8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_a9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_aa(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_ab(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ac(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_ad(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ae(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_af(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_b0(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_b1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_b2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_b3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_b4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_b5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_b6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_b7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_b8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_b9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ba(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_bb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_bc(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_bd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_be(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_bf(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-5] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_c0(unsigned short *dst, unsigned char *src)
{
	dst[-6] = pgm_spr_pal[src[0]];
	dst[-7] = pgm_spr_pal[src[1]];
}

static void sprdrawf_c1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_c2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_c3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_c4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_c5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_c6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_c7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_c8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_c9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_ca(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_cb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_cc(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_cd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ce(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_cf(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_d0(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_d1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_d2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_d3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_d4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_d5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_d6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_d7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_d8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_d9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_da(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_db(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_dc(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_dd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_de(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_df(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_e0(unsigned short *dst, unsigned char *src)
{
	dst[-5] = pgm_spr_pal[src[0]];
	dst[-6] = pgm_spr_pal[src[1]];
	dst[-7] = pgm_spr_pal[src[2]];
}

static void sprdrawf_e1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_e2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_e3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_e4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_e5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_e6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_e7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_e8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_e9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ea(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_eb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_ec(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_ed(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_ee(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_ef(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_f0(unsigned short *dst, unsigned char *src)
{
	dst[-4] = pgm_spr_pal[src[0]];
	dst[-5] = pgm_spr_pal[src[1]];
	dst[-6] = pgm_spr_pal[src[2]];
	dst[-7] = pgm_spr_pal[src[3]];
}

static void sprdrawf_f1(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_f2(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_f3(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_f4(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_f5(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_f6(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_f7(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_f8(unsigned short *dst, unsigned char *src)
{
	dst[-3] = pgm_spr_pal[src[0]];
	dst[-4] = pgm_spr_pal[src[1]];
	dst[-5] = pgm_spr_pal[src[2]];
	dst[-6] = pgm_spr_pal[src[3]];
	dst[-7] = pgm_spr_pal[src[4]];
}

static void sprdrawf_f9(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_fa(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_fb(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_fc(unsigned short *dst, unsigned char *src)
{
	dst[-2] = pgm_spr_pal[src[0]];
	dst[-3] = pgm_spr_pal[src[1]];
	dst[-4] = pgm_spr_pal[src[2]];
	dst[-5] = pgm_spr_pal[src[3]];
	dst[-6] = pgm_spr_pal[src[4]];
	dst[-7] = pgm_spr_pal[src[5]];
}

static void sprdrawf_fd(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_fe(unsigned short *dst, unsigned char *src)
{
	dst[-1] = pgm_spr_pal[src[0]];
	dst[-2] = pgm_spr_pal[src[1]];
	dst[-3] = pgm_spr_pal[src[2]];
	dst[-4] = pgm_spr_pal[src[3]];
	dst[-5] = pgm_spr_pal[src[4]];
	dst[-6] = pgm_spr_pal[src[5]];
	dst[-7] = pgm_spr_pal[src[6]];
}

static void sprdrawf_ff(unsigned short *dst, unsigned char *src)
{
	dst[ 0] = pgm_spr_pal[src[0]];
	dst[-1] = pgm_spr_pal[src[1]];
	dst[-2] = pgm_spr_pal[src[2]];
	dst[-3] = pgm_spr_pal[src[3]];
	dst[-4] = pgm_spr_pal[src[4]];
	dst[-5] = pgm_spr_pal[src[5]];
	dst[-6] = pgm_spr_pal[src[6]];
	dst[-7] = pgm_spr_pal[src[7]];
}



static sprite_draw_function sprite_functions[2][0x100] =
{
	{
		&sprdrawn_00, &sprdrawn_01, &sprdrawn_02, &sprdrawn_03, &sprdrawn_04, &sprdrawn_05, &sprdrawn_06, &sprdrawn_07,
		&sprdrawn_08, &sprdrawn_09, &sprdrawn_0a, &sprdrawn_0b, &sprdrawn_0c, &sprdrawn_0d, &sprdrawn_0e, &sprdrawn_0f,
		&sprdrawn_10, &sprdrawn_11, &sprdrawn_12, &sprdrawn_13, &sprdrawn_14, &sprdrawn_15, &sprdrawn_16, &sprdrawn_17,
		&sprdrawn_18, &sprdrawn_19, &sprdrawn_1a, &sprdrawn_1b, &sprdrawn_1c, &sprdrawn_1d, &sprdrawn_1e, &sprdrawn_1f,
		&sprdrawn_20, &sprdrawn_21, &sprdrawn_22, &sprdrawn_23, &sprdrawn_24, &sprdrawn_25, &sprdrawn_26, &sprdrawn_27,
		&sprdrawn_28, &sprdrawn_29, &sprdrawn_2a, &sprdrawn_2b, &sprdrawn_2c, &sprdrawn_2d, &sprdrawn_2e, &sprdrawn_2f,
		&sprdrawn_30, &sprdrawn_31, &sprdrawn_32, &sprdrawn_33, &sprdrawn_34, &sprdrawn_35, &sprdrawn_36, &sprdrawn_37,
		&sprdrawn_38, &sprdrawn_39, &sprdrawn_3a, &sprdrawn_3b, &sprdrawn_3c, &sprdrawn_3d, &sprdrawn_3e, &sprdrawn_3f,
		&sprdrawn_40, &sprdrawn_41, &sprdrawn_42, &sprdrawn_43, &sprdrawn_44, &sprdrawn_45, &sprdrawn_46, &sprdrawn_47,
		&sprdrawn_48, &sprdrawn_49, &sprdrawn_4a, &sprdrawn_4b, &sprdrawn_4c, &sprdrawn_4d, &sprdrawn_4e, &sprdrawn_4f,
		&sprdrawn_50, &sprdrawn_51, &sprdrawn_52, &sprdrawn_53, &sprdrawn_54, &sprdrawn_55, &sprdrawn_56, &sprdrawn_57,
		&sprdrawn_58, &sprdrawn_59, &sprdrawn_5a, &sprdrawn_5b, &sprdrawn_5c, &sprdrawn_5d, &sprdrawn_5e, &sprdrawn_5f,
		&sprdrawn_60, &sprdrawn_61, &sprdrawn_62, &sprdrawn_63, &sprdrawn_64, &sprdrawn_65, &sprdrawn_66, &sprdrawn_67,
		&sprdrawn_68, &sprdrawn_69, &sprdrawn_6a, &sprdrawn_6b, &sprdrawn_6c, &sprdrawn_6d, &sprdrawn_6e, &sprdrawn_6f,
		&sprdrawn_70, &sprdrawn_71, &sprdrawn_72, &sprdrawn_73, &sprdrawn_74, &sprdrawn_75, &sprdrawn_76, &sprdrawn_77,
		&sprdrawn_78, &sprdrawn_79, &sprdrawn_7a, &sprdrawn_7b, &sprdrawn_7c, &sprdrawn_7d, &sprdrawn_7e, &sprdrawn_7f,
		&sprdrawn_80, &sprdrawn_81, &sprdrawn_82, &sprdrawn_83, &sprdrawn_84, &sprdrawn_85, &sprdrawn_86, &sprdrawn_87,
		&sprdrawn_88, &sprdrawn_89, &sprdrawn_8a, &sprdrawn_8b, &sprdrawn_8c, &sprdrawn_8d, &sprdrawn_8e, &sprdrawn_8f,
		&sprdrawn_90, &sprdrawn_91, &sprdrawn_92, &sprdrawn_93, &sprdrawn_94, &sprdrawn_95, &sprdrawn_96, &sprdrawn_97,
		&sprdrawn_98, &sprdrawn_99, &sprdrawn_9a, &sprdrawn_9b, &sprdrawn_9c, &sprdrawn_9d, &sprdrawn_9e, &sprdrawn_9f,
		&sprdrawn_a0, &sprdrawn_a1, &sprdrawn_a2, &sprdrawn_a3, &sprdrawn_a4, &sprdrawn_a5, &sprdrawn_a6, &sprdrawn_a7,
		&sprdrawn_a8, &sprdrawn_a9, &sprdrawn_aa, &sprdrawn_ab, &sprdrawn_ac, &sprdrawn_ad, &sprdrawn_ae, &sprdrawn_af,
		&sprdrawn_b0, &sprdrawn_b1, &sprdrawn_b2, &sprdrawn_b3, &sprdrawn_b4, &sprdrawn_b5, &sprdrawn_b6, &sprdrawn_b7,
		&sprdrawn_b8, &sprdrawn_b9, &sprdrawn_ba, &sprdrawn_bb, &sprdrawn_bc, &sprdrawn_bd, &sprdrawn_be, &sprdrawn_bf,
		&sprdrawn_c0, &sprdrawn_c1, &sprdrawn_c2, &sprdrawn_c3, &sprdrawn_c4, &sprdrawn_c5, &sprdrawn_c6, &sprdrawn_c7,
		&sprdrawn_c8, &sprdrawn_c9, &sprdrawn_ca, &sprdrawn_cb, &sprdrawn_cc, &sprdrawn_cd, &sprdrawn_ce, &sprdrawn_cf,
		&sprdrawn_d0, &sprdrawn_d1, &sprdrawn_d2, &sprdrawn_d3, &sprdrawn_d4, &sprdrawn_d5, &sprdrawn_d6, &sprdrawn_d7,
		&sprdrawn_d8, &sprdrawn_d9, &sprdrawn_da, &sprdrawn_db, &sprdrawn_dc, &sprdrawn_dd, &sprdrawn_de, &sprdrawn_df,
		&sprdrawn_e0, &sprdrawn_e1, &sprdrawn_e2, &sprdrawn_e3, &sprdrawn_e4, &sprdrawn_e5, &sprdrawn_e6, &sprdrawn_e7,
		&sprdrawn_e8, &sprdrawn_e9, &sprdrawn_ea, &sprdrawn_eb, &sprdrawn_ec, &sprdrawn_ed, &sprdrawn_ee, &sprdrawn_ef,
		&sprdrawn_f0, &sprdrawn_f1, &sprdrawn_f2, &sprdrawn_f3, &sprdrawn_f4, &sprdrawn_f5, &sprdrawn_f6, &sprdrawn_f7,
		&sprdrawn_f8, &sprdrawn_f9, &sprdrawn_fa, &sprdrawn_fb, &sprdrawn_fc, &sprdrawn_fd, &sprdrawn_fe, &sprdrawn_ff
	},
	{
		&sprdrawf_00, &sprdrawf_01, &sprdrawf_02, &sprdrawf_03, &sprdrawf_04, &sprdrawf_05, &sprdrawf_06, &sprdrawf_07,
		&sprdrawf_08, &sprdrawf_09, &sprdrawf_0a, &sprdrawf_0b, &sprdrawf_0c, &sprdrawf_0d, &sprdrawf_0e, &sprdrawf_0f,
		&sprdrawf_10, &sprdrawf_11, &sprdrawf_12, &sprdrawf_13, &sprdrawf_14, &sprdrawf_15, &sprdrawf_16, &sprdrawf_17,
		&sprdrawf_18, &sprdrawf_19, &sprdrawf_1a, &sprdrawf_1b, &sprdrawf_1c, &sprdrawf_1d, &sprdrawf_1e, &sprdrawf_1f,
		&sprdrawf_20, &sprdrawf_21, &sprdrawf_22, &sprdrawf_23, &sprdrawf_24, &sprdrawf_25, &sprdrawf_26, &sprdrawf_27,
		&sprdrawf_28, &sprdrawf_29, &sprdrawf_2a, &sprdrawf_2b, &sprdrawf_2c, &sprdrawf_2d, &sprdrawf_2e, &sprdrawf_2f,
		&sprdrawf_30, &sprdrawf_31, &sprdrawf_32, &sprdrawf_33, &sprdrawf_34, &sprdrawf_35, &sprdrawf_36, &sprdrawf_37,
		&sprdrawf_38, &sprdrawf_39, &sprdrawf_3a, &sprdrawf_3b, &sprdrawf_3c, &sprdrawf_3d, &sprdrawf_3e, &sprdrawf_3f,
		&sprdrawf_40, &sprdrawf_41, &sprdrawf_42, &sprdrawf_43, &sprdrawf_44, &sprdrawf_45, &sprdrawf_46, &sprdrawf_47,
		&sprdrawf_48, &sprdrawf_49, &sprdrawf_4a, &sprdrawf_4b, &sprdrawf_4c, &sprdrawf_4d, &sprdrawf_4e, &sprdrawf_4f,
		&sprdrawf_50, &sprdrawf_51, &sprdrawf_52, &sprdrawf_53, &sprdrawf_54, &sprdrawf_55, &sprdrawf_56, &sprdrawf_57,
		&sprdrawf_58, &sprdrawf_59, &sprdrawf_5a, &sprdrawf_5b, &sprdrawf_5c, &sprdrawf_5d, &sprdrawf_5e, &sprdrawf_5f,
		&sprdrawf_60, &sprdrawf_61, &sprdrawf_62, &sprdrawf_63, &sprdrawf_64, &sprdrawf_65, &sprdrawf_66, &sprdrawf_67,
		&sprdrawf_68, &sprdrawf_69, &sprdrawf_6a, &sprdrawf_6b, &sprdrawf_6c, &sprdrawf_6d, &sprdrawf_6e, &sprdrawf_6f,
		&sprdrawf_70, &sprdrawf_71, &sprdrawf_72, &sprdrawf_73, &sprdrawf_74, &sprdrawf_75, &sprdrawf_76, &sprdrawf_77,
		&sprdrawf_78, &sprdrawf_79, &sprdrawf_7a, &sprdrawf_7b, &sprdrawf_7c, &sprdrawf_7d, &sprdrawf_7e, &sprdrawf_7f,
		&sprdrawf_80, &sprdrawf_81, &sprdrawf_82, &sprdrawf_83, &sprdrawf_84, &sprdrawf_85, &sprdrawf_86, &sprdrawf_87,
		&sprdrawf_88, &sprdrawf_89, &sprdrawf_8a, &sprdrawf_8b, &sprdrawf_8c, &sprdrawf_8d, &sprdrawf_8e, &sprdrawf_8f,
		&sprdrawf_90, &sprdrawf_91, &sprdrawf_92, &sprdrawf_93, &sprdrawf_94, &sprdrawf_95, &sprdrawf_96, &sprdrawf_97,
		&sprdrawf_98, &sprdrawf_99, &sprdrawf_9a, &sprdrawf_9b, &sprdrawf_9c, &sprdrawf_9d, &sprdrawf_9e, &sprdrawf_9f,
		&sprdrawf_a0, &sprdrawf_a1, &sprdrawf_a2, &sprdrawf_a3, &sprdrawf_a4, &sprdrawf_a5, &sprdrawf_a6, &sprdrawf_a7,
		&sprdrawf_a8, &sprdrawf_a9, &sprdrawf_aa, &sprdrawf_ab, &sprdrawf_ac, &sprdrawf_ad, &sprdrawf_ae, &sprdrawf_af,
		&sprdrawf_b0, &sprdrawf_b1, &sprdrawf_b2, &sprdrawf_b3, &sprdrawf_b4, &sprdrawf_b5, &sprdrawf_b6, &sprdrawf_b7,
		&sprdrawf_b8, &sprdrawf_b9, &sprdrawf_ba, &sprdrawf_bb, &sprdrawf_bc, &sprdrawf_bd, &sprdrawf_be, &sprdrawf_bf,
		&sprdrawf_c0, &sprdrawf_c1, &sprdrawf_c2, &sprdrawf_c3, &sprdrawf_c4, &sprdrawf_c5, &sprdrawf_c6, &sprdrawf_c7,
		&sprdrawf_c8, &sprdrawf_c9, &sprdrawf_ca, &sprdrawf_cb, &sprdrawf_cc, &sprdrawf_cd, &sprdrawf_ce, &sprdrawf_cf,
		&sprdrawf_d0, &sprdrawf_d1, &sprdrawf_d2, &sprdrawf_d3, &sprdrawf_d4, &sprdrawf_d5, &sprdrawf_d6, &sprdrawf_d7,
		&sprdrawf_d8, &sprdrawf_d9, &sprdrawf_da, &sprdrawf_db, &sprdrawf_dc, &sprdrawf_dd, &sprdrawf_de, &sprdrawf_df,
		&sprdrawf_e0, &sprdrawf_e1, &sprdrawf_e2, &sprdrawf_e3, &sprdrawf_e4, &sprdrawf_e5, &sprdrawf_e6, &sprdrawf_e7,
		&sprdrawf_e8, &sprdrawf_e9, &sprdrawf_ea, &sprdrawf_eb, &sprdrawf_ec, &sprdrawf_ed, &sprdrawf_ee, &sprdrawf_ef,
		&sprdrawf_f0, &sprdrawf_f1, &sprdrawf_f2, &sprdrawf_f3, &sprdrawf_f4, &sprdrawf_f5, &sprdrawf_f6, &sprdrawf_f7,
		&sprdrawf_f8, &sprdrawf_f9, &sprdrawf_fa, &sprdrawf_fb, &sprdrawf_fc, &sprdrawf_fd, &sprdrawf_fe, &sprdrawf_ff
	}
};
