Trash cans refers to the puzzle in Lt. Toshiba nb305 keyboard driver. Surge's gym. Note that in most situations, you can save after finding the first can and reset until you find the second can, but note that most categories ban saves for record attempts.
Pokémon Red/Blue
As noted in the image below, the first trash can can only be one of 8 of the 15 cans, in a criss-cross pattern. Most of the first cans have two possible second cans: the can in the top-left corner and one other. However, the two middle column first cans have four possible second cans, and so it is considered unlucky to find these cans as your first can in a run/race. In any case, all possible second cans have equal probability weighting so you should just test the closest can pointed to by an arrow for the second can and hope it's correct each time.
Pokémon Yellow
For some reason, likely to do with the aforementioned chance of the second can always having a chance to be in the topleft, the mechanics of the trash cans were changed for the Yellow version. In this version the set of possible first cans is the same but there are generally two possible second cans chosen at a time which will both unlock the door. Therefore the image below does not show all possible second cans but instead the most likely second can for each possible first can. This is an adjacent can to each first can for each possible first can except the two in the middle column, which are bugged to always have a very high chance of the second one being topleft, but can also have the chance of there being no second can chosen at all. As such, it is very dangerous to save and reset to try to find the second can in Yellow.
Pokémon FireRed/LeafGreen
Shalour City Gym is the third gym in the Kalos Pokemon League. The Gym Leader is Korrina, and the entire Gym uses Fighting-type Pokemon. All Pokemon Trainers in this Gym will be riding around on. Gym #2: Cyllage City: Location: Cyllage City Gym Leader: Grant Specialty: Rock-type Reward: Cliff Badge, TM 39 Rock Tomb. The next gym is a fair bit later than the first and has you have to find Grant on the nearby cycle track. Once done, you enter the gym which is a rock climb up a cliff. You will encounter multiple trainers on the way.
Koga's gym is a maze of invisible walls. The floor that appears like dotted lines will always be solid so navigate through the floor where the lines are continued. The gym trainers are peculiar here, using a mix of Ground, Psychic, and Poison-types, despite only the former being used by Koga himself.
Trash cans work 'as intended' in these games. The first can can be anything, and the second can will be a random adjacent can.
Pokemon Yellow 3rd Gym Puzzle
Pokémon HeartGold/SoulSilver
As far as we know this is the same as FireRed/LeafGreen - the trash cans work as intended, albeit without spinners to further annoy you this time around.
CoolROM.com's game information and ROM download page for Snow Bros. 2 - With New Elves / Otenki Paradise (MAME). Snow bros 2 rom download. Download Snow Bros. 2 - With New Elves / Otenki Paradise game for M.A.M.E. Multiple Arcade Machine Emulator and enjoy playing the full version of the ROM for free. CoolROM.com's game information and ROM download page for Snow Bros. Nick & Tom (set 2) (MAME). Download and play the Snow Bros. 2 - With New Elves / Otenki Paradise ROM using your favorite Mame emulator on your computer or phone.
Pokemon Yellow After 3rd Gym
Pokémon Yellow
For some reason, likely to do with the aforementioned chance of the second can always having a chance to be in the topleft, the mechanics of the trash cans were changed for the Yellow version. In this version the set of possible first cans is the same but there are generally two possible second cans chosen at a time which will both unlock the door. Therefore the image below does not show all possible second cans but instead the most likely second can for each possible first can. This is an adjacent can to each first can for each possible first can except the two in the middle column, which are bugged to always have a very high chance of the second one being topleft, but can also have the chance of there being no second can chosen at all. As such, it is very dangerous to save and reset to try to find the second can in Yellow.
Pokémon FireRed/LeafGreen
Shalour City Gym is the third gym in the Kalos Pokemon League. The Gym Leader is Korrina, and the entire Gym uses Fighting-type Pokemon. All Pokemon Trainers in this Gym will be riding around on. Gym #2: Cyllage City: Location: Cyllage City Gym Leader: Grant Specialty: Rock-type Reward: Cliff Badge, TM 39 Rock Tomb. The next gym is a fair bit later than the first and has you have to find Grant on the nearby cycle track. Once done, you enter the gym which is a rock climb up a cliff. You will encounter multiple trainers on the way.
Koga's gym is a maze of invisible walls. The floor that appears like dotted lines will always be solid so navigate through the floor where the lines are continued. The gym trainers are peculiar here, using a mix of Ground, Psychic, and Poison-types, despite only the former being used by Koga himself.
Trash cans work 'as intended' in these games. The first can can be anything, and the second can will be a random adjacent can.
Pokemon Yellow 3rd Gym Puzzle
Pokémon HeartGold/SoulSilver
As far as we know this is the same as FireRed/LeafGreen - the trash cans work as intended, albeit without spinners to further annoy you this time around.
CoolROM.com's game information and ROM download page for Snow Bros. 2 - With New Elves / Otenki Paradise (MAME). Snow bros 2 rom download. Download Snow Bros. 2 - With New Elves / Otenki Paradise game for M.A.M.E. Multiple Arcade Machine Emulator and enjoy playing the full version of the ROM for free. CoolROM.com's game information and ROM download page for Snow Bros. Nick & Tom (set 2) (MAME). Download and play the Snow Bros. 2 - With New Elves / Otenki Paradise ROM using your favorite Mame emulator on your computer or phone.