|fuzzyketchup||Date: Thursday, 2012-10-04, 6:11 PM | Message # 1|
|This is almost literally the same as givepokemon, but it's with items instead. |
if b_true goto $done
$1 1 = Here take this, it might help you.
giveitem 13 1
$2 1 = I hoped the potion helped you.
Click here for the item HEX.
Alright so giveitem 13 1. Looks a lot like givepokemon, it even uses a HEX value.
giveitem 13 1 is really easy. The giveitem tells the game to give an item with the value of 13 HEX (Potion) and then checks to see how many to give the player (1). The max a player can hold is 255, but it will look corrupted if you give the player any number greater than 99. I suggest only giving 1 item at a time.
fanfare 0x13E is just a little jingle that plays when you get an item in the real game.
Creator of http://pkmnhacking.ucoz.com