eternal-space/objects/obj_level/Step_0.gml
array-in-a-matrix 01304902bc code stuff
2021-08-02 13:17:58 -04:00

15 lines
346 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);
};
if (score >= highscore){
highscore = score;
};