![]() |
Help with Advance Map
I have an advance map/ scripting question.
I'm trying to make a person event on the map invisible similar to the way professor oak is invisible and beside the players house but appears as he walks up to stop the player from going into the tall grass. How do I do this?? I can do applymovement and it all works fine but I want to make the overworld sprite invisible. |
go to header tab in advance
then use on entering map menu close [03] then make a script like this #org @FSoffset compare [Var number: It must be the var that is activated when the player steps on a tile] [value] if 0x0 goto @end hidesprite 0x[OW number you want to disappear](optional) setflag 0x[OW Flag number you want to disappear] end #org @set end then make a script tile that has a same Var and Value in the script you had created before, then insert these codes ... clearflag 0x[OW Flag number you want to disappear] showsprite 0x[OW number you want to disappear](optional) setvar [Var number: It must be the var that is activated when the player steps on a tile] [value+1] ... example for script 1 #org @FSoffset compare 0x4033 0x0 if 0x0 goto @end hidesprite 0x1 setflag 0x200 end #org @set end example for Script 2 Var: 4033 Value: 0000 #org @FSF clearflag 0x200 showsprite 0x1 setvar 0x4033 0x1 end Done |
| All times are GMT -8. The time now is 2:22 AM. |
![]()
© 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.
Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.