Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
You don't need a routine, the special 0x8E (Fire red) and 0x91 (Emerald) already covers that.
"Special 0x8E Forces map refresh, that is, puts into effect all changes made by setmaptile command".
"Special 0x91 - Map Refresh. Used in setmaptiles. Similar to FireRed 0x8E". Source (Fire Red) Source (Emerald)