View Single Post
  #27    
Old July 25th, 2008, 05:05 AM
Hephaestus
Beginning Trainer
 
Join Date: Jul 2008
Gender:
Quote:
Originally Posted by Amonitas View Post
When I take a step, all the flags reset... I mean that the sprite goes visible again, but otherwise good, I try to make a give pokemon script and see if it works.
You have to put this map script with advance map in the map where the pokemon is

05 On map entering/On menu closing

#dynamic 0x8000000

#org @aftercatch
checkflag 0x8C1
if 0x1 call @hidesprite
end

#org @hidesprite
special2 LASTRESULT 0xB7
compare LASTRESULT 0x7
if 0x5 goto @return
hidesprite 0x1
return

#org @return
return


It work on Emerald