write more crap about palette data
expand on params/returns in palette funcs