I think you need turn plugins on and off to figure out what's is creating it - that's not a part of the default engine.
Are you using any Mog stuff? I feel like I've seen frilly windows-inside-windows from his suite.
I think you need turn plugins on and off to figure out what's is creating it - that's not a part of the default engine.
Window_BattleActor.prototype.itemHeight = function() {
return WHATEVER_YOU_WANT
};
Oops, lol. Thanks again. I was actually looking at the Actors page wondering why it wasn't on there.
$gameSelfSwitches.value([$gameMap.this,0005,'A']) == true
let key = [$gameMap.mapId(), 5, "A"];
if $gameSelfSwitches.value([$gameMap._mapID,5,'A']) == true {
// Do this
}
let key = [$gameMap.mapId(), 5, "A"];
if ( $gameSelfSwitches.value(key) ) {
// Fall asleep or watch a terrible movie! :o
}
Game_Interpreter.prototype.setup = function(list, eventId) {
this.clear();
this._mapId = $gameMap.mapId();
this._eventId = eventId || 0;
this._list = list;
Game_Interpreter.requestImages(list);
};
It should be Id not ID
As @AquaEcho said, it's not ID. Also, you have incorrect syntax for your conditional. JavaScript expects
if ($gameSelfSwitches.value([$gameMap.mapId(),5,'A']) == true)
if ($gameSelfSwitches.value([$gameMap.mapId(),5,'A']))
No offense, I didn't read all of the posts back up the page. I just looked at his most recent post, where it was still wrong. And while you absolutely did it correctly, you didn't specifically point out the error with the parentheses 😉 so I clarified.
($gameSelfSwitches.value([$gameMap.mapId(),5,'A'])) == true
$gameSelfSwitches.setValue([$gameMap.mapId(),5,'A']) = false;
You still do not have the conditional properly enclosed in parentheses the way I typed it for you. It might work because as I showed in my second example you'll get the correct evaluation even without the operator "== true", but in this case that's extra code at the end of the line doing nothing.
That's also incorrect. You can't set a function equal to something, and you're missing an argument. The correct syntax is
$gameSelfSwitches.setValue([$gameMap.mapId(), 5, "A"], false)
Game_Action.prototype.lukEffectRate = function(target) {
return Math.max(1.0 + (this.subject().luk - target.luk) * 0.001, 0.0);
};
Original thread: https://forums.rpgmakerweb.com/threads/javascript-questions-that-dont-deserve-their-own-thread.46341/