Game_restart - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

NOTOC A function used to restart a game. {{-}}

Notation

Description

Resets all objects to there beginning state and goes to the first room.

Parameters

This function takes no parameters

Return Values

This function returns nothing.

Example Call

if(room == room_last){
    game_restart();
}