J
Jellybean Studios!
Guest
im very confused on to why my code i wrote is not working.
heres the code
if ((obj_player.x > bbox_left-22) && (obj_player.x < bbox_right+22)
&& (obj_player.y > bbox_top) && (obj_player.y < bbox_bottom+24)
&& (canpress == 1))
{
canpress = 0;
alarm[0] = 30;
// Two different ways to make simple comments - either use the one-parameter scr_TextBox,
// or else use scr_QuestionBox and leave the last three parameters blank.
//scr_TextBox(message);
spr_QuestionBox(message,"f","f","f");
}
the line thats not working is
spr_QuestionBox(message,"f","f","f");
}
heres the code
if ((obj_player.x > bbox_left-22) && (obj_player.x < bbox_right+22)
&& (obj_player.y > bbox_top) && (obj_player.y < bbox_bottom+24)
&& (canpress == 1))
{
canpress = 0;
alarm[0] = 30;
// Two different ways to make simple comments - either use the one-parameter scr_TextBox,
// or else use scr_QuestionBox and leave the last three parameters blank.
//scr_TextBox(message);
spr_QuestionBox(message,"f","f","f");
}
the line thats not working is
spr_QuestionBox(message,"f","f","f");
}