The two anti-piracy checks found so far involve reading from the addresses 040001A0 and 040000DC. The following code disables all checks in the game that read from those two addresses (though, not all of them might be anti-piracy checks). Try and see if it works.
020D3FA8 E1A00000
020D3FEC E1A00000
020D4038 E1A00000
020D405C E1A00000
020D40A4 E1A00000
020D40C8 E1A00000
020D4254 E1A00000
020DDDC8 E1A00000
020DDE64 E1A00000
020DE16C E1A00000
020DE204 E1A00000
So I just tested that code on No$GBA (on HeartGold), and well,
it seems to be working. I was able to load a save file, start a new game and I had no problem walking in and out of a house 60+ times without badges. I was also able to load someone's post-Whitney save file without any trouble, and didn't crash a single time after going in and out of a building 30 times.
HOWEVER
The save file I loaded was a bit below Goldenrod. The 30+ attempts at going in and out of a building were done after I had entered Goldenrod, more specifically on the Dept. Store. After I tried the second code (results below) and got the sprite glitch, I decided to try this one again without going inside Goldenrod - and surprise, I got a different sprite glitch:
after going in and out of the Day Care Center two times. It kept happening whenever I left that place, but it didn't happen when I was walking around with a glitched sprite and went in and out of the Goldenrod Dept. Store. That sprite glitch, by the way, didn't crash anything - I was able to move on with the game and talk to people just fine. [EDIT2] The game also crashed EXACTLY at the 64th event.
[EDIT] Forgot to mention that I didn't get the glitch after the 2nd time I left the house on a later attempt. It still happened, though, but this time at the 6th try.
QUOTE said:
Second code:
020DD9E4 E1A00000
020D3820 E1A00000
Game doesn't even load.
QUOTE
Prof. 9's second code:
020D3FA8 E1A00000
020D3FEC E1A00000
020D4038 E1A00000
020D405C E1A00000
020D40A4 E1A00000
020D40C8 E1A00000
020D4254 E1A00000
020DDDC8 E1A00000
020DDE64 E1A00000
020DE16C E1A00000
020DE204 E1A00000
020D44D8 E1A00000
020D44F0 E1A00000
020CF680 E1A00000
020CF6F4 E1A00000
020CF580 E1A00000
522602BC 1AFFFFFC
022602BC E1A00000
D2000000 00000000
5226035C E31A0102
0226035C EAF68067
E2000500 00000010
E31A0102 E35C0C02
0A097F95 EA097F93
D2000000 00000000