int x, y; if (!Get_click(x, y, Mouse::greenselect))
int x, y; if (!Get_click(x, y, Mouse::greenselect, 0, true))
void ActionTryKeys(int *params){	Game_window *gwin = Game_window::get_game_window();	int x, y;	if (!Get_click(x, y, Mouse::greenselect))		return;	// Look for obj. in open gump.	Gump *gump = gwin->get_gump_man()->find_gump(x, y);	Game_object *obj;	if (gump)		obj = gump->find_object(x, y);	else				// Search rest of world.		obj = gwin->find_object(x, y);	if (!obj)		return;	int qual = obj->get_quality();	// Key quality should match.	Actor *party[10];		// Get ->party members.	int party_cnt = gwin->get_party(&party[0], 1);	for (int i = 0; i < party_cnt; i++) {		Actor *act = party[i];		Game_object_vector keys;		// Get keys.		if (act->get_objects(keys, 641, qual, c_any_framenum)) {			// intercept the click_on_item call made by the key-usecode			gwin->get_usecode()->intercept_click_on_item(obj);			keys[0]->activate(gwin->get_usecode());			return;		}	}	Mouse::mouse->flash_shape(Mouse::redx);	// Nothing matched.}