View Single Post
Old July 19th, 2007 (6:21 AM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
Join Date: Jun 2006
Posts: 1,314
Originally Posted by Smarties-kun View Post
Is there any other command for removing an item in Pokéscript than Removitem? Removeitem doesn't seem to work for me, and I don't want a certain key item to spook around in my bag after you've already given it to someone. *edit* This is for Firered, by the way, in case that makes a difference.
AFAIK, there aren't any other commands. Anyway, the remove item syntax is the following:

#raw 45
#raw (item # to remove - 2nd byte)
#raw (item # to remove - 1st byte)
#raw (number of items - 2nd byte)
#raw (number of items - 1st byte)


'remove 1x VS Seeker
#raw 45
#raw 6A
#raw 01
#raw 01
#raw 00

I've tried it successfully on FireRed using ScriptEd but since ScriptEd is fully compatible with Pokéscript it should work fine too.