I've been having a lot of trouble with map scripts lately. This one's super simple, and was working fine yesterday. Now, it causes the game to freeze (black screen, map is never loaded) when entering the map through a warp. Entering through a map connection, or starting the game while in that map is fine.
On Ruby, using script type 4, flag 4050, value 0006. The value is currently 5, so the script shouldn't even do anything. I tried changing the value to 5 and 7, and got no changes.
Code:
#org 0x803500
hidesprite 0xE
setflag 0x120D
end