You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AM2R-TimeTrials/scripts/start_trial.gml

22 lines
580 B

load_character_vars();
if (instance_exists(oDemoRecord)){
with (oDemoRecord){
instance_destroy();
}
}
// set other vars outside of character_vars
global.missiles = 0;
global.maxmissiles = 1;
global.ingame = 1; // set global as "ingame"
oControl.mod_IGT = 0; // it won't leave me alone
oControl.mod_fusion = global.suitstyle;
// this is a mess of vars
global.save_x = 1;
global.save_y = 1;
global.myposx = 5;
global.mapoffsetx = 5;
global.myposy = 5;
global.mapoffsety = 5;
// don't worry about it
room_change(empty_room,1); // go to the room designated by the var