>>36912505HOLY SHIT I'M RETARDED LEL. I completely forgot the Pearl cart I was using is broken, it used to randomly freeze all the time which is why I stopped playing it, and I guess whatever defect caused the freezes was also preventing it from connecting to Wi-Fi this entire fucking time. I tried using a ROM with TWiLight Menu and it worked.