That was exactly what I was doing.
Finished code (with no floats, got confused):
Code: ags
Finished code (with no floats, got confused):
if (EmotionsSwitch) {
if ( (mouse.x >= (oEPS.X + (EPS_Width/4))) && mouse.x <= ((oEPS.X + EPS_Width) - (EPS_Width/4)) ) {
if ( (mouse.y >= ((oEPS.Y - EPS_Height) + (EPS_Height/4))) && (mouse.y <= (oEPS.Y - (EPS_Height/4))) ) {
Display("cowemotions true at %d, %d", mouse.x, mouse.y);
ThreeCowEmotions=true;
EmotionSwitch=false;
}
}
}