View Single Post
Old July 25th, 2008 (5:05 AM).
Hephaestus Hephaestus is offline
Join Date: Jul 2008
Posts: 5
Quote originally posted by Amonitas:
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

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

#org @return

It work on Emerald