```
//obj_random draw event
//looks messy but its just drawing the first value, drawing the second value, drawing operation
//there are many if statements because I was trying to center the equation in the bubble
draw_self();
draw_set_colour($FF000000 & $ffffff);
var l405F50FD_0=($FF000000 >> 24);
draw_set_alpha(l405F50FD_0 / $ff);
draw_set_font(fnt_score);
if(global.add_clicked == 1)
{
if(answer == add)
{
if(this_answer[3] == 1)
{
draw_text(id.x, id.y, string("+") + "");
}
if(this_answer[0] <= 9)
{
draw_text(-35+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 11)
{
draw_text(-40+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 21)
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] > 19)
{
draw_text(-65+id.x, id.y, + string(this_answer[0]));
}
else
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
}
}
}
if(this_answer[1] <= 9)
{
draw_text(40+id.x, id.y, + string(this_answer[1]));
}
else
{
draw_text(35 + id.x, id.y, + string(this_answer[1]));
}
}
}
if(global.subtract_clicked == 1)
{
if(answer == subtract)
{
if(this_answer[3] == 2)
{
draw_text(5+id.x, id.y, string("-") + "");
}
if(this_answer[0] <= 9)
{
draw_text(-35+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 11)
{
draw_text(-40+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 21)
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] > 19)
{
draw_text(-65+id.x, id.y, + string(this_answer[0]));
}
else
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
}
}
}
if(this_answer[1] <= 9)
{
draw_text(40+id.x, id.y, + string(this_answer[1]));
}
else
{
draw_text(35 + id.x, id.y, + string(this_answer[1]));
}
}
}
if(global.multiply_clicked == 1)
{
if(answer == multiply)
{
if(this_answer[3] == 3)
{
draw_text(5+id.x, id.y, string("x") + "");
}
if(this_answer[0] <= 9)
{
draw_text(-35+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 11)
{
draw_text(-40+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 21)
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] > 19)
{
draw_text(-65+id.x, id.y, + string(this_answer[0]));
}
else
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
}
}
}
if(this_answer[1] <= 9)
{
draw_text(40+id.x, id.y, + string(this_answer[1]));
}
else
{
draw_text(35 + id.x, id.y, + string(this_answer[1]));
}
}
}
if(global.divide_clicked == 1)
{
if(answer == divide)
{
if(this_answer[3] == 0)
{
draw_text(id.x, id.y, string("/") + "");
}
if(this_answer[0] <= 9)
{
draw_text(-35+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 11)
{
draw_text(-40+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] == 21)
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
else
{
if(this_answer[0] > 19)
{
draw_text(-65+id.x, id.y, + string(this_answer[0]));
}
else
{
draw_text(-50+id.x, id.y, + string(this_answer[0]));
}
}
}
}
if(this_answer[1] <= 9)
{
draw_text(40+id.x, id.y, + string(this_answer[1]));
}
else
{
draw_text(35 + id.x, id.y, + string(this_answer[1]));
}
}
}
```