private int fnSetWholePalette(SwordObject cpt, int id, int spritePal, int d, int e, int f, int z, int x) { _screen.FnSetPalette(0, 256, (uint)spritePal, false); return SCRIPT_CONT; }