If this works you basically just showed how much of a noob I still am >_< I'll test it XD
If this works you basically just showed how much of a noob I still am >_< I'll test it XD
Always willing to help with anything, code-related or not. :]
It worksAt least I think so.
I dropped a town hall seed and it didn't drop it.
EDIT:
But after you drop a seed you can't drop any other items.
I'm guessing because it alters the instructions and they don't get changed back?
EDIT again:
Oh wait it doesn't let you drop any items at all XD
Always willing to help with anything, code-related or not. :]
Did you test it in no$gba by chance?
I tested it on the actual game.
Actually it might work...
I tried dropping roses, and if I can read your code correctly..
Checks if less than 1000, or greater than 5000
so it might have caused a false positive
Oh wait nevermind >.< sorry im tired XD
Always willing to help with anything, code-related or not. :]
Yeah, if the item is <$1000 or >=$5000 then it's blocked.
I retested it. It works just like you said
But you can't pick up any items now.
Always willing to help with anything, code-related or not. :]
Just tried it on a flash cart. I can pickup items, but they are not removed from the world since $FFF1 is > $5000.
Edit: I could implement a check for $FFF1, if requested.
Edit 2: I suppose you could say this code also prevents thieves.
When I get some time, I'll fix up the code and port it to 1.1 and EU (if it's not already working).