So the sprite contains the words "Yes" and "No" already and looks something like this:
XXXXXXXXXXXXX
X-YES-XX-NO-X
XXXXXXXXXXXXX
Set the origin of the sprite in its center. Draw the sprite at (room_width/2,room_height/2) so it's in the center of the room.
Open the sprite in the sprite editor. Find out the bounds of the Yes and the bounds of the No areas. For example, Yes might be (48,16) to (96,32) and No might be (128,16) to (160,32). Let's say the center of the sprite is at (102,24). Subtract the bounds from the center of the sprite and you have the four offsets for each button you'll need to compare with the mouse position.
When the sprite is being drawn on the screen, check if the mouse is pressed. If it is, check the coordinates of the mouse against the bounds.
if mouse_check_button_pressed(mb_left)
{
xx = mouse_x - room_width/2;
yy = mouse_y - room_height/2;
if median(xx, Yes_left_bound, Yes_right_bound) == xx
&& median(yy, Yes_top_bound, Yes_bottom_bound) == yy
// Treat it as though Yes was clicked
if median(xx, No_left_bound, No_right_bound) == xx
&& median(yy, No_top_bound, No_bottom_bound) == yy
// Treat it as though No was clicked
}