]> vgcfreebox.myrthtech.pt Git - gm-duelo.git/blob - objects/obj_game_controller/Other_11.gml
game conroller objs
[gm-duelo.git] / objects / obj_game_controller / Other_11.gml
1 /// @description HERO SELECTION
2 if(_p1_selected_char != noone and _p2_selected_char != noone and _scenary_selected != noone and alarm[3] = -1){
3 alarm[3] = 2*room_speed;
4 audio_play_sound(snd_two_bells,10,false);
5 }
6
7 if _scenary_selected_index > _scenary_selected_max _scenary_selected_index = 0;
8 if _scenary_selected_index < 0 _scenary_selected_index = _scenary_selected_max;
9 _scenary_selected = _scenary_available[_scenary_selected_index];