Code:
anti-seeder/vandalism code
how it will work:
Press L+R+Up to save a snapshot of your town. Once you release L+R+Up, code will begin to search town for any changes.
If changes are found, check if that change is the removal of an item or addition of a seed. if so, put the original item back.
That way, only FFF1 can be replaced with an item.
It will check to make sure you're offline by checking the online char number to determine if you're in another town.
If you are, the code will automatically stop immediately.
To deactivate the code completely, press L+R+Down (it will clear the stored snapshot)
To deactivate just the search, press L+R+right
To re-activate the search, press L+R+Left
It will be completely in ASM
Free memory space will be used for the following data:
1 byte for which "process" you are doing, will be stored at 0x22BF11F
0 completely deactivated w/no snapshot, 1 snapshot with search deactivated, 2 code working,
3 clearing snapshot and then deactivating code by setting it to 0
4 bytes for the mapslot (so it can search slow enough to not lag the game), will be stored at 0x22BF120
8192 (DEC) bytes for all the item data on the map, will be stored at 0x22BF124
Difference between first map slot and free memory:
First mapslot + #0xDC000 is 22BF124 (will hold all map data)
In other words complete awesomeness :D