Tpcool said:
I'm trying to make it so that by activating an item, you transport to another map. I've tried quite a few times to get it to work, but the item menu doesn't want to be cooperative. Whenever I try it, it won't fade out until you've exited the item screen. Even then, it won't transport the character anywhere and it's stuck faded out.
I heard somewhere that trying to use a <TRA within the item TSC file will mess it up. If I can remember that old post correctly, when you open up the item menu, it will store the currently used map script and replace it with the item one, and once you leave the item menu, it will load the map script you were using before, regardless if you changed maps in the menu...
In more basic terms, say that you were going to travel from map A to map B using items.
1. You open the inventory, and map A's script is put on hold.
2. Within the arms.tsc script, you TRA to map B, which loads a bunch of stuff.
3. When you exit the item menu, it removes the arms.tsc script but reloads what you had before: map A
Result: you are in map B but with all the events replaced with those of map A, similar to save glitching on Cave Story 3D.
And it's probably not fading out until you exit the menu because the menu freezes the game.
Of course, I haven't tested any of this so this post may be a bunch of bull and someone better at this could correct me, but to my information, it's not possible without some kind of work-around or ASM.