Skip to content

sp_blood_seq

Version: Dink 1.08  Freedink   DinkHD   YeDink

Prototypeint sp_blood_seq(int active_sprite, int sequence[-1])

sp_blood_seq() gets or sets the starting sequence that the active_sprite will use as blood when attacked. Using the default value of 187, the active_sprite will play a blood sequence between 187 and 189 (187 + 2, the default sp_blood_num()).

Note that the sp_blood_seq default is actually 0, but the engine will interpret this as 187 to maintain backwards compatibility.

To use a custom blood, both the sp_blood_seq() and sp_blood_num() must have a non-default value.