Hi, there are two ways how to apply the fix, the easiest is to just replace the entire content of the Components > Component_CommandInterpreter script in Script Editor with this:
▶ Pastebin
When VN Maker updates to Version 1086 in the future that fix gets overridden which is not an issue because the fix has been added to 1086 anyway. The only issue with this approach is that if you want to apply multiple fixes. But since that is not the case, you should be fine with this one.
Otherwise, you have to create a new script BELOW Component_CommandInterpreter with the following content, just call it MaskPictureFix or something.
Code:
# ===================================================================
#
# Script: MaskPictureFix
#
# $$COPYRIGHT$$
#
# ===================================================================
class Component_MaskPictureFix extends gs.Component_CommandInterpreter
###*
* Executes a masking-effect on a game object..
*
* @method maskObject
* @param {gs.Object_Base} object - The game object to execute a masking-effect on.
* @param {Object} A params object containing additional info.
###
maskObject: (object, params) ->
easing = gs.Easings.fromObject(params.easing)
if params.mask.type == 0
object.mask.type = 0
object.mask.ox = @numberValueOf(params.mask.ox)
object.mask.oy = @numberValueOf(params.mask.oy)
if object.mask.source?.videoElement?
object.mask.source.pause()
if params.mask.sourceType == 0
object.mask.source = ResourceManager.getBitmap("Graphics/Masks/#{params.mask.graphic?.name}")
else
object.mask.source = ResourceManager.getVideo("Movies/#{params.mask.video?.name}")
if object.mask.source
object.mask.source.play()
object.mask.source.loop = yes
else
duration = @durationValueOf(params.duration)
mask = Object.flatCopy(params.mask)
mask.value = @numberValueOf(mask.value)
object.animator.maskTo(mask, duration, easing)
if params.waitForCompletion and not (duration == 0 or @isInstantSkip())
@isWaiting = yes
@waitCounter = duration
gs.Component_CommandInterpreter = Component_MaskPictureFix
However, that approach has the disadvantages that you might forget to delete it after updating to 1086.