ludum-dare-23/scripts/action_sprite_set/action_sprite_set.gml

12 lines
309 B
Plaintext
Raw Permalink Normal View History

/// @description (Old DnD) - set sprite set
/// @param index sprite index
/// @param image image number
/// @param speed image speed
function action_sprite_set(argument0, argument1, argument2) {
sprite_index = argument0;
if (argument1 >= 0) image_index = argument1;
image_speed = argument2;
}