1: was wondering if there was a plugin that would take out the default experience scene from battle so that i could give exp on a quest reward method, if not it not a problem but just wondering...
2: if i remember there was a plugin under mv that let you change region id , or it was a script call anyway
would there be a code to change region id on the go...
// Get Location Info
Game_Interpreter.prototype.command285 = function(params) {
let x, y, value;
if (params[2] === 0) {
// Direct designation
x = params[3];
y = params[4];
} else if (params[2] === 1) {
// Designation with variables
x = $gameVariables.value(params[3]);
y = $gameVariables.value(params[4]);
} else {
// Designation by a character
const character = this.character(params[3]);
x = character.x;
y = character.y;
}
switch (params[1]) {
case 0: // Terrain Tag
value = $gameMap.terrainTag(x, y);
break;
case 1: // Event ID
value = $gameMap.eventIdXy(x, y);
break;
case 2: // Tile ID (Layer 1)
case 3: // Tile ID (Layer 2)
case 4: // Tile ID (Layer 3)
case 5: // Tile ID (Layer 4)
value = $gameMap.tileId(x, y, params[1] - 2);
break;
default:
// Region ID
value = $gameMap.regionId(x, y);
break;
}
$gameVariables.setValue(params[0], value);
return true;
};
was wondering which line i should change $gamemap.regionId( x, y);
maybe it too complicate and i should stick too swicth
2: if i remember there was a plugin under mv that let you change region id , or it was a script call anyway
would there be a code to change region id on the go...
// Get Location Info
Game_Interpreter.prototype.command285 = function(params) {
let x, y, value;
if (params[2] === 0) {
// Direct designation
x = params[3];
y = params[4];
} else if (params[2] === 1) {
// Designation with variables
x = $gameVariables.value(params[3]);
y = $gameVariables.value(params[4]);
} else {
// Designation by a character
const character = this.character(params[3]);
x = character.x;
y = character.y;
}
switch (params[1]) {
case 0: // Terrain Tag
value = $gameMap.terrainTag(x, y);
break;
case 1: // Event ID
value = $gameMap.eventIdXy(x, y);
break;
case 2: // Tile ID (Layer 1)
case 3: // Tile ID (Layer 2)
case 4: // Tile ID (Layer 3)
case 5: // Tile ID (Layer 4)
value = $gameMap.tileId(x, y, params[1] - 2);
break;
default:
// Region ID
value = $gameMap.regionId(x, y);
break;
}
$gameVariables.setValue(params[0], value);
return true;
};
was wondering which line i should change $gamemap.regionId( x, y);
maybe it too complicate and i should stick too swicth