You can use this to change an object to another object. Seems useful right? it is thats why.

Syntax: action_change_object(anotherobject,true);

To change obj_wood to obj_stone from obj_wood: action_change_object(obj_stone,true);

To change obj_wood to obj_stone from another object: action_change_object(obj_wood,obj_stone) 


if(lives <= 1) 


action_change_object(obj_inv, obj_infected); //Our lives are 1 We are infected, add infected animation 

action_change_object(obj_char_infected,true); //Change our char to slower char.