From EDukeWiki
Jump to navigation Jump to search

tsprpicnum holds the specific picnum of the tsprite in question that is being displayed at the moment. For example, if you had a PIGCOP (#2000) that you were accessing in EVENT_ANIMATESPRITES by enabling mdflags 16, tsprpicnum would be whatever value in the range 2000-2060 that is being shown on the screen.