diff --git a/src/serialization/sb2.js b/src/serialization/sb2.js index d30ef7bd6..ac8eda019 100644 --- a/src/serialization/sb2.js +++ b/src/serialization/sb2.js @@ -941,6 +941,12 @@ const parseBlock = function (sb2block, addBroadcastMsg, getVariableId, extension if (shadowObscured) { fieldValue = ''; } + } else if (expectedArg.inputOp === 'sensing_of_object_menu') { + if (shadowObscured) { + fieldValue = '_stage_'; + } else if (fieldValue === 'Stage') { + fieldValue = '_stage_'; + } } else if (expectedArg.inputOp === 'music.menu.DRUM') { if (shadowObscured) { fieldValue = 1; diff --git a/test/fixtures/execute/sensing-get-attribute-of-stage-alt-name.sb2 b/test/fixtures/execute/sensing-get-attribute-of-stage-alt-name.sb2 new file mode 100644 index 000000000..c4bddcbdc Binary files /dev/null and b/test/fixtures/execute/sensing-get-attribute-of-stage-alt-name.sb2 differ