Httempang
httempang holds the number of the sprite's previous pal (if the sprite is not a player). The sprite's pal is set to this number when the getlastpal command is used. Note that the previous pal is stored only when the spritepal command is used.