@Hiche: According to XSE setworldmapflag: Sets the flag used to allow the player to fly to a specific place. FR/LG only.
Hope that helped.
I just learned how to make level scripts, and everything is working fine except for one problem I'm running into. You see I set a flag in the beginning of the game to hide a sprite in one of the houses in pallet town. That flag was 112. So the sprite was hidden. Then I went and made a script that when I talk to a man he leads him to his house, and in his house I put a level script where he gives me a Pokemon (celebi). It all works fine, and I get the Celebi and everything. I made it so that the flag I set in the beginning of the game is cleared when I talk to the man, because I want the sprite in the house that he's leading me to to be visible again. So, the sprite is visible again and all works fine. HOWEVER, my problem is that when I go into the house without talking to the old man, as soon as I enter the house, the game freezes... Or at least the character freezes. I've been trying to solve this for like 2 weeks but to no avail... any help?
Here are my 2 scripts:
The first one, when the old man leads me to his house (this one works fine)
Here is the LEVEL script:
I'm not sure If I posted this same issue here before and pmed a lot of people but I still didn't get it to work. Oh and the type of level script I'm doing is the "validates values, loads handler to 0x30000EB0" since that's the only one I know how to use and if I try to experiment with the other types it leads to failure.. so yeah.... Oh and people keep telling me stuff like don't use flags used in the game and variables used in the game but I already know that and I tried using different variables and flags it made no difference.