if (type == 0) { button_amount = 6; button_text[1] = "Change Sprite Index"; button_text[2] = "Change Variable (num)"; button_text[3] = "Change Variable (string)"; button_text[4] = "Watch Variable"; button_text[5] = "DELETE OBJECT"; } if (type == 1) { button_amount = 6; button_text[1] = "Set Flag"; button_text[2] = "Watch Flag"; button_text[3] = "Set/Check Global Var"; button_text[4] = "Select Object"; button_text[5] = "Instance Create"; }