12 lines
284 B
Plaintext
12 lines
284 B
Plaintext
/// @description Insert description here
|
|
// You can write your code in this editor
|
|
if(room == rm_level_1 && lives <= 0){
|
|
room_goto(rm_gameover);
|
|
};
|
|
|
|
if((room == rm_gameover || room == rm_title) && keyboard_check_pressed(vk_enter)){
|
|
lives = 3;
|
|
score = 0;
|
|
room_goto(rm_level_1);
|
|
};
|