Oracle of Ages
In order for Link to obtain Ricky's Flute, Link acquires the Strange Flute by scoring 50 or more points in the Shooting Gallery mini-game played at the Lynna Village Shooting Gallery after gaining the third Essence of Time, the Echoing Howl, from the Moonlit Grotto. However, Link should win the Strange Flute before exploring the Nuun Highlands region that is located north of Lynna City. Once Link has checked the broken bridge that is recently being built, the Forest Fairies will ask Link to help them find an animal that has recently gotten lost in their woods while playing hide 'n' seek with them. When Link finds the lost animal, it will turn out to be Ricky. Ricky will thank Link for finding him and will help Link in his quest to save the Oracle of Ages by giving him his flute, making the Strange Flute become Moosh's Flute and becoming Link's partner. However, if Link doesn't obtain the Strange Flute before going to the Nuun Highlands, or obtains the Strange Flute by other means, he will be unable to be paired with Ricky.
An early sign that Ricky's Flute will be received is if the Nuun Highlands takes on a Prairie-style terrain with cliffs and vegetation.
Oracle of Seasons
Like in Oracle of Ages, Link must not acquire any of the Strange Flutes while exploring the Holodrum Plain region that is located northwest of Horon Village after gaining the second Essence of Nature, the Gift of Time, in Snake's Remains. While exploring Holodrum Plain, Link will encounter Ricky. Ricky has recently lost a boxing contest to Blaino, resulting in Blaino taking his boxing gloves. After talking to Ricky, Link will then head to Blaino's Gym, with a total of ten Rupees, to face Blaino in a boxing match and defeat him to win back Ricky's gloves. When Link gives Ricky back his gloves, Ricky will offer Link transportation in his pouch, giving Link more exploration throughout the areas of northern Holodrum. Once Link reaches Spool Swamp with the help from Ricky, he will thank Link for all he has done for him and will help Link in his quest to save the Oracle of Seasons by giving him his flute, making the Strange Flute become Ricky's Flute and becoming Link's partner. If Link actually obtains the Strange Flute by any means, he will be unable to be paired with Ricky.
Like in Oracle of Ages, an early sign that Ricky's Flute will be received is if the Natzu region takes on a Prairie-style terrain with cliffs and vegetation.