- 5
- Posts
- 4
- Years
- Seen Dec 18, 2023
I've been trying to create a type 03 map script that will cause an NPC to disappear/move upon map entry once a certain flag has been set, specifically an NPC blocking Misty's gym until the Bill event has been completed. I've tried several different variations of hidesprite and movesprite scripts found here on Pokecommunity to no avail. Each new map script doesn't seem to do anything. I'm not sure if I've been entering them wrong, if there's an issue with the program (advancemap 1.91), or if it's something else entirely.
failed script example:
Any help would be greatly appreciated.
failed script example:
Spoiler:
#dynamic 800000
#org @start
checkflag 0x234 (1 of 4 flags set by Bill)
if 0x1 call @hide
release
end
#org @hide
hidesprite 0x0B (Person event number is 11)
setflag 0x2B9 (also entered in the sprite's Person ID)
release
end
#org @start
checkflag 0x234 (1 of 4 flags set by Bill)
if 0x1 call @hide
release
end
#org @hide
hidesprite 0x0B (Person event number is 11)
setflag 0x2B9 (also entered in the sprite's Person ID)
release
end
Any help would be greatly appreciated.