Thread: [Tutorial] Basics of Scripting
View Single Post
  #21    
Old February 8th, 2012, 01:38 PM
destinedjagold's Avatar
destinedjagold
Oh Hai Thar~ 'ω'
Community Supporter
 
Join Date: May 2007
Location: Philippines
Gender: Male
Nature: Careful
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.
__________________
Reply With Quote