So I have no Idea at all how the game engine goes about something
Basically, how it goes about loading images is a whole batch of functions that vary little between eachother.
Here is the function that controls how events and all that are loaded in graphics wise;
I havent been able to figure out how the engine gets to this point, i have gotten so far as here;
what i need is to find the function that first sets ._characterName, where Sprite_Character gets this information from so i can copy down some variables so i can swap the bitmap its trying to load with the one i am trying to load. simply put, i need the event that the instance of Sprite_Character is from so i can get some information about it. (and also with followers, party leader, and vehicles.)
But i have hit a brick wall in this search as i havent found it and honestly it's far different than how things like icons and whatnot are handled.
Basically, how it goes about loading images is a whole batch of functions that vary little between eachother.
Here is the function that controls how events and all that are loaded in graphics wise;
JavaScript:
ImageManager.loadCharacter = function(filename, hue) {
return this.loadBitmap('img/characters/', filename, hue, false);
};
I havent been able to figure out how the engine gets to this point, i have gotten so far as here;
JavaScript:
Sprite_Character.prototype.setCharacterBitmap = function() {
this.bitmap = ImageManager.loadCharacter(this._characterName);
this._isBigCharacter = ImageManager.isBigCharacter(this._characterName);
};
what i need is to find the function that first sets ._characterName, where Sprite_Character gets this information from so i can copy down some variables so i can swap the bitmap its trying to load with the one i am trying to load. simply put, i need the event that the instance of Sprite_Character is from so i can get some information about it. (and also with followers, party leader, and vehicles.)
But i have hit a brick wall in this search as i havent found it and honestly it's far different than how things like icons and whatnot are handled.