pieces 0 -1 0 0 <undefined> <undefined> 1 603 7 0 0 -1 2 self 0 0 1 image_speed=0; scaled=true; turn=0; // The Other ยป User Defined 0 events for all subclasses contain code setting the sprite // and possible moves of each individual piece. event_perform(ev_other, ev_user0); 1 603 7 0 0 -1 2 self 0 0 1 // If it's your turn to move when you're clicked, show the options. if (global.turn==color){ if (instance_number(Spotlight)>0){ if (Spotlight.piece=self.id){ with (Spotlight) instance_destroy(); } } else { showPossibleMoves(self.id); } } 1 603 7 0 0 -1 2 self 0 0 1 draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, 0, color, true); 0 0 0 0.5 0.100000001490116 0 0.100000001490116 0.100000001490116 0.200000002980232 -1 0