if (dir == 0) draw_self_board(); if (dir == 1) draw_sprite_ext(sprite_index, image_index, x + 32, y, -2, 2, 0, c_white, 1);