so there is part of code which looks like this:
Robot.motorsWrite(-255, 255);
break;
case 'R':
Robot.motorsWrite(255, -255);
break;
case 'F':
Robot.motorsWrite(255, 255);
break;
case 'B':
Robot.motorsWrite(-255, -255);
break;
So, original code just makes robot drive forward, backwards, turn.
So, original code just makes robot drive forward, backwards, turn.
If you want to make your own moves, you'll have to change those numbers.
If you change the numbers robot will make different moves. Numbers must be from 1 to 255 and those numbers purpose is how much robot will turn.
I made a cool dance so you can test how much it differs:
Robot.motorsWrite(126, 255);
break;
case 'R':
Robot.motorsWrite(255, 126);
break;
case 'F':
Robot.motorsWrite(126, 255);
break;
case 'B':
Robot.motorsWrite(-255, 255);
break;
Now if you copy this code and paste it in your code, robot will make different dance moves, it will wobble left and right.