Quote:
Originally Posted by ShadowSorcererX
fanfare 0xFE
msgbox @pokeball 0x6
giveitem 0x4 0x5 0xFE
|
Ok, a few things that I'm noticing:
The system already plays a fanfare when you use giveitem, so you don't have to play your own,
Instead of 0xFE at the end of giveitem, it should be something like 0x0
the syntax for giveitem is: [Item # to add] [Quantity] [Message type]
A resource that I found to be very beneficial is
YouTube channel PokemonXSE101 for some of the basics of scripting (the account is inactive now, but the videos are very informative). They have a 10 part lesson covering some helpful introductory parts of XSE, I would recommend you look at parts 4 and 5 as those cover giveitem from an NPC and from on the ground, respectively.