Thread: [Tutorial] Basics of Scripting
View Single Post
  #21    
Old February 8th, 2012 (1:38 PM).
destinedjagold's Avatar
destinedjagold destinedjagold is online now
Oh Hai Thar~
Silver Tier
 
Join Date: May 2007
Location: Philippines
Age: 25
Gender: Male
Nature: Careful
Posts: 8,360
Quote:
Originally Posted by wierddude22 View Post
my script for a pokeball doesn't work
Spoiler:
#dynamic 0x800000
#org @start
giveitem 0x16 0x1 0x1
hidesprite 0x2
end


when i take a step after receiving it, the sprite reappears
That's where flags come in.
I haven't spare some time to add about flags, but there are scripting tutorials that covers this field in scripting.
__________________


FC: 0061-1111-6462
TSV: 1364(X), 0790(OR)

Reply With Quote