in game maker there's project import function that allows you to import a part of another project.
imagine we have 10 objects in project A. we then add project B with 10 objects on it.
let's say after this we created a new object, it's 21st in our A+B project.
LateralGM has no import function, however, we can still open our A+B project merged in game maker.
now, if we try to create a new object in LateralGM, it'll be 11th (LGM doesn't count new objects that we imported in GM) , and when compiled, it will accordingly refer to it as 11th, although there is already such an object in the project, so we'll get an error like this
C:/Users/enigma/AppData/Local/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h: In function 'std::__cxx11::string enigma_user::object_get_name(int)':
C:/Users/enigma/AppData/Local/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:113:7: error: duplicate case value
case 11: return "obj11_project_b";
C:/Users/enigma/AppData/Local/ENIGMA/Preprocessor_Environment_Editable/IDE_EDIT_resourcenames.h:112:7: note: previously used here
case 11: return "obj21_enigma";
so basically you won't be able to add objects. the workaround is to make 10 new objects and just delete them, so that the index of new objects is shifted. unfortunately there's no 'duplicate folder' function in LGM, and even if you select multiple objects, and duplicate them, it will only duplicate 1 object, so your best bet is to hold alt and spam insert to copy the objects, which can be pretty frustrating when you merge huge projects