eternal-space/objects/obj_level/Step_0.gml
2021-08-10 00:07:54 -04:00

19 lines
361 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)){
lives = 3;
score = 0;
if(keyboard_check_pressed(vk_enter)){
room_goto(rm_level_1);
};
};
if (score >= highscore){
highscore = score;
};