with (obj_face) { if (global.fc == 3) { face = spr_face_n_matome; face_index = global.fe; var base_x = x - 12; var base_y = y - 10; var shakey = scr_flag_get(1420) == 1; if (shakey) { timer++; if ((timer % 2) == 1) { offset_x = choose(-1, 0, 1); offset_y = choose(-1, 0, 1); } } if (other.textind >= 12) { face = spr_face_n_matome_water; face_index = 0; switch (other.textind) { case 12: face_index = 0; break; case 13: face_index = 1; break; case 14: face_index = 2; break; case 17: face_index = 3; break; case 19: face_index = 4; break; case 21: face_index = 5; break; case 24: face_index = 6; break; case 29: face_index = 7; break; case 35: face_index = 7; break; } } gpu_set_blendmode(bm_add); draw_sprite_ext(face, face_index, base_x + offset_x, base_y + offset_y, f, f, 0, c_white, 1); gpu_set_blendmode(bm_normal); } }