I did finally get past it (a while ago) and trapped it in the center, wrote down all the codes and then restarted and trapped it in the center a second time, just to check off all the codes that stayed consistent between the 2 playthroughs. That was a pain to initially figure out, but once I knew it wasn't a battle of attrition, things were much easier.