Skip to content

Instantly share code, notes, and snippets.

@triacontane
Created May 20, 2017 06:13
Show Gist options
  • Save triacontane/2462269f64129aa1025ce893397383f0 to your computer and use it in GitHub Desktop.
Save triacontane/2462269f64129aa1025ce893397383f0 to your computer and use it in GitHub Desktop.
Saba_BackLog.jsを単独利用する場合に「文章の表示」で自動的にログを挿入
var _Game_Message_add = Game_Message.prototype.add;
Game_Message.prototype.add = function(text) {
Saba.BackLog.$gameBackLog.addLog('', text);
_Game_Message_add.apply(this, arguments);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment