Try and master your KOTR for Ruby. If it's not mastered then whoop Emerald (easier) and upgrade it. The number of stars your KOTR has is the number of times you get to use it on Ruby, for every mime materia you effectively own a duplicate KOTR. You only need to cast KOTR 6 or 7 times to defeat Ruby