onactionstart:function(self){
return function(e){
if(typeof e === "undefined")return;
- mangMsg.output(EMsg.TARGETING_EAT);
+ mangMsg.output(self.yukkuri, EMsg.TARGETING_EAT);
};
},
onactiontick:function(self){
frame += plusFrameScale(frame, this.yukkuri.getMyScale());
yukkuri.direction = yukkuri.vx > 0 ? EDirection.RIGHT : EDirection.LEFT;
yukkuri.reverse();
- mangMsg.output(EMsg.TARGETING_EAT);
+ mangMsg.output(yukkuri, EMsg.TARGETING_EAT);
yukkuri.moveBy(yukkuri.vx, yukkuri.vy, frame, {
"onactionend": this.onactionend(this)