Errors in code

Menus_Startmenu.gfx

slot != 0?_loc2_.tfSecondary.text = input:_loc2_.tfPrimary.text = input;

selectContainer + 1 < MenuManagerArray.length?selectContainer++:selectContainer = 0;

selectContainer - 1 >= 0?selectContainer--:selectContainer = MenuManagerArray.length - 1;

selectSlot != 0?this.tfSecondary.textColor = black:this.tfPrimary.textColor = black;

selectSlot != 0?this.tfSecondary.textColor = darkRed:this.tfPrimary.textColor = darkRed;

mixed up “invalid assignment”
:frowning: