video_switch does not return a useful value - or at least not one that is documented. It sets the result variable to 1 if the switch was successful and 0 if it was not. The setting of result occurs internally, so you do not need the returned value.

eg.

code:
function game_resolution()
{
var v;
v=video_mode+1;
if v==11 { v=6;}
video_switch(v,0,0); // don't need the return value
printnum(result); // result holds whether the switch was successful
if cow==0 { breakpoint;} //testing...
InventoryDisplay(0);
_show_resolution();
}