Getlastpal: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
 
Line 1: Line 1:
'''getlastpal'''
'''getlastpal'''


Sets the current [[actor]]'s palette to what it was prior to using [[spritepal]].
Sets the current [[actor]]'s palette to what it was prior to using [[spritepal]].  The value that it reverts to is stored in the [[httempang]] member.
 
See [[pal]] for more information about palette swaps.


[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Duke3D 1.3/1.5 commands]]
[[Category:Sprite manipulation]]
[[Category:Sprite manipulation]]

Latest revision as of 18:01, 26 September 2009

getlastpal

Sets the current actor's palette to what it was prior to using spritepal. The value that it reverts to is stored in the httempang member.

See pal for more information about palette swaps.