Nice project, he must of had to to implement background, foreground colour setting compromises for the pallete swapping it does to make the power pellets flash.
Could do a few of the earlier z80 based games this way, if only I had time I would have a go at doing this.