Yeah, I saw it in se_truck_cave before exploring the code of the function. But it doesn't make any sense. The code affects the se_truck map, which is the entry map. I was expecting it to be executed by the map that it affects.
Wait...
So am I understanding this correctly that any initialization script in any map of the location has access by reference to all maps of the location and gets executed once the location is initialized?
This adds a lot of freedom in my scripting. A lot of freedom. Now I can store variables from one maps in other maps' space or I can create technical maps that would be used only to store map variables, some npcs, lockers, etc. Well in case I need it. Not that I will ever need it, but it's good to know. Thanks!