#JavaScript + RPG Maker MV integration
2 messages · Page 1 of 1 (latest)
Scene_Map.prototype.onMapLoaded = function () {
MATTIE.RPG.sceneMapOnLoaded.call(this);
if (MATTIE.multiplayer.isActive) {
if ([115, 108, 1].includes($gameMap.mapId()) {
$gamePlayer.setTransparent(true);
else
if([8, 4, 9].includes($gameMap.mapId()) {
console.log('empty');
}
}
};```