A question of this nature was already previously asked, but it was a little vague on the answer. Is this legal?
if ( variable = true )
{
sprite_index = spr_sprite;image_index=1;
}
Or do we have to do this instead?
if ( variable = true )
{
sprite_index = spr_sprite;
image_index = 1;
}
Regardless of what these commands may be (draw_text, draw_set_colour, ds_list_add), which of these is legal syntax?