Input (grade 12): After Drawcia escapes, the Magical Paintbrush (Power Paintbrush in the European version) turns to the player to help Kirby.
Output (grade 10): He turns into a ball when he goes in, and the player has to use a magical item called the Power Paintbrush to help Kirby beat Drawcia.