#region main
option_state = global.option_text[selected_option];
selected_option = 0;
switch option_state{
case "ATTACK":{
scr_attack(global.pl_stats[e_pl_stats.attack], monster.defence, monster, hero);
option_state = "DONE"
}break;
case "ITEM": max_options = 0; break
case "MAGIC": max_options = ds_list_size(ds_magic_list); break;
case "RUN" : {
var ran_away = choose(true, false);
visible_string = ""
if (ran_away == true){
text_to_display = "You ran away like the pathedic coward you are."
victory_state = "PLAYER RAN"
option_state = "BATTLE OVER"
}else{
text_to_display = "You try to run away but fall flat on your face."
option_state = "DONE"
}
}break}
#endregion
this is the code, I don’t see anything wrong but I am a noob so do you see anything wrong.