You can do that using tsc. It's done with <eq+ and some number after it.
Remove the item you're using to swap to Arthur with tsc, use flags to track what's happening.
Sadly, no similar function like this exists in cave story, so you'll need assembly for it.
Quick Modding/Hacking Answers...