View Single Post
Old February 4th, 2013 (03:52 PM).
FBI agent's Avatar
FBI agent FBI agent is offline
If my PM box is full, VM instead :x
Join Date: Jan 2013
Location: Unknown Island
Gender: Male
Posts: 858
Try something like this:

givepokemon 0xID 0x5 0x0 0x0 0x0 0x0
setvar 0x8004 0x0
bufferpokemon 0x0 0xID
fadescreen 0x1
special 0x9E
msgbox2 0x8741A24 '"[player] recieved the [buffer1]!"
fanfare 0x101

I just decompiled and cropped one of my older scripts which was similar. Remember to fill in the orange (and change the pointers).

My name forum name is FBI Agent, though you can call me FBI because it's shorter.

Some of my stuff:
ASM request/resource thread
ASM tutorials thread
ASM Workshop