I did it correctly but it still doesn't work, here is my code after I followed step 4:
type1rect = Rect.new(0,@pokemon.type1*28,64,28)
type2rect = Rect.new(0,@pokemon.type2*28,64,28)
type3rect = Rect.new(0,@pokemon.type3*28,64,28)
if @
[email protected]...