A script call is nothing than a regular script function, called from a script command instead of a script.
And any script can use any script function at any time.
The only question (which you didn't answer) is what you want it to do, because that determines where in the script it has to be added - and in most cases, you need to have a good programming knowledge of the script to rewrite it (which is what adding another script function really is).
So when and under which conditions do you want to use that unequip shards function from Galv's script, and what should the result be?
E.g.:
Galv's script adds a system of equipping shards to actors via a new scene.
Knight class can use type A shards.
Mage class can use type B shards.
Hero is Knight so he can equip type A shards. But when he change class to Mage he still have type A shards equipped.
Unequip shards function from Galv's script should be called everytime when I change actor class to prevent this kind of situation.
Maybe you want :
$game_map.interpreter.unequip_shards(@actor_id)This will execute a script call from wherever it is called, unless it is called in a script but outside of a method.In that case it will be called before $game_map is defined, and that should throw an error.
If you want to apply that to changing classes, add the line above to the end of the method in Yanfly's script in Game_Battler -> change_class the line above.
If you want to apply that also when changing subclasses, add that line to the end of Game_Battler -> change_subclass, also in Yanfly's script.
If it throws an error about @actor_id, try changing that to @id, I'm not quite sure which is right since I'm writing over the phone.
Thank you very much it worked perfectly!