Code:
var Nekohime = Nekohime || {};
Nekohime.Game_Event_initMembers = Game_Event.prototype.initMembers;
Game_Event.prototype.initMembers = function(){
Nekohime.Game_Event_initMembers.call(this);
this._name = name;
}
Game_Event.prototype.name = function(){
return this._name;
}
I'm trying to create a function that returns an events name. (as stored in $datamap)
But it returns null. No errors.