Difficult to know which thread to reply in, but it sounds like you're going to try and get the other one deleted, so I'll reply here.
First question - why have you used self switch D? theoretically it doesn't matter if you go straight to D, but it's a good habit to get into using the first switch first, in case you need to use others afterwards.
Your screen shot obscures the details of the first page, so we can't tell how or why you have activated the self switch. If it is not activating properly, then you will never get the page with the save option to run. Could you give us a screen shot showing the whole of the first page clearly?
Hmm, this isn't a script I'm familiar with. What puzzles me is the fact that it is going inside a building which causes the problem. Have you tried setting up your crystal somewhere else before you enter the building to make sure that you have set up the script correctly? If that works, then maybe there is something in your transfer event which is causing a conflict, or another event in that location. Does Moghunter's script use any switches? If so, perhaps you've allocated a switch which is also in use for something else.
Probably a link to the script so people can check it would be helpful.
The buzzing typically means that something you're trying to save is incompatible with Ruby's Marshal module. Some examples are fibers, singleton methods, and a hash or array with a default proc ( typically something like a = Hash.new{|h,k| h[k] = 0}). Trying to save these things will cause a buzzing error. Make sure you don't change the value of any variables to anything like this, and that the scripts don't either.
Got a link to the script, or rather the original forum post or blog article that introduced it? Those usually contain a lot of extra useful information that's not readily available in the script.
Also, it's preferable to post links to scripts rather than the script itself, for a number of reasons I won't go into, but if you MUST post the code, putting it in code tags makes it more readable and keeps the formatting.
In your parallel process event where you turn the switch off, you need to add Erase Event afterwards. Then if you have a similar event outside that turns the switch on again, you also need to add an Erase Event. Parallel Process events keep looping until you get rid of them or turn them off, and you don't need to be turning the same switch on or off 60 times a second, every second you're on the map.
Can you go into your scripts, and do a global search (control+shift+f) for 22? See if any of the scripts you've added turn up in the list - maybe take a screenshot of the results and post here.
Alright guys...
I hate to say this but im going to give up on this...
I deleted the battle system (main script) and it sadly worked fine.
Thanks for all your help and now im gonna find an alternative battle system.