var _Game_Enemy_die = Game_Enemy.prototype.die;
Game_Enemy.prototype.die = function() {
_Game_Enemy_die.call(this);
var lastAction = BattleManager._subject.currentAction();
if (lastAction && lastAction.item()) {
var note = lastAction.item().note;
var match = note.match(/<skillshifang(\d+)>/i);
if (match) {
var commonEventId = Number(match[1]);
$gameTemp.reserveCommonEvent(commonEventId);
}
}
};