i am trying to toggle through video modes, and when the player reaches a video mode that he doesn't support, to start over at mode 6 (the whole point of this is I don't want to toggle through those lame lo-res modes).
I am watching for the value returned of video_switch, which supposedly will be 0 if it fails, but it is returning 16. Anyone know what I am doing wrong?
Pete
function game_resolution()
{
var v;
v=video_mode+1;
if v==11 { v=6;}
v=video_switch(v,0,0);
printnum(v); ...this is printing 16!!!!
if cow==0 { breakpoint;} //testing...
InventoryDisplay(0);
_show_resolution();
}