Room restart

Explanation
This function will restart the current room in its initial situation. It is equivalent to room_goto(room)

Examples
You typically restart the room if the player fails or succeeds the tasks. For example, in the step event of the main character you could put the following code:

if (lives<=0) {    room_restart; }

Remarks
When calling this function, please realize that this change does actually not occur at that precise moment. It only happens after the current action is fully executed. So the rest of the script will still be executed, and the same applies to possible calling scripts.