
Prototype: ChangeStoreItem( PartyID, slot, action )

Description: Performs a buy, sell, identify or steal action. Action has the same bit values as IsValidStoreItem.

Parameters:
PartyID   - the PC's position in the party
slot      - the item's inventory or store slot
action    - bitfield
1 - buy
2 - sell
4 - identify
8 - steal
Add 0x40 for selection (in case of buy/sell only)

Return value:
   0 - failure
   2 - success

See also: EnterStore, GetSlotItem, GetStoreItem, IsValidStoreItem


MD5: 07c89de8dbd0236f8c206b06abe4b3dc
