diff --git a/ff0fsum4zx.js b/ff0fsum4zx.js index b29a144..36624fc 100644 --- a/ff0fsum4zx.js +++ b/ff0fsum4zx.js @@ -136,6 +136,13 @@ R3.CustomCode.prototype.render = function(delta) { name : 'Audio - Crowd Cheer' } ); + R3.Event.Emit( + R3.Event.GAME_DATA, + { + type : 'score', + goal : 'left' + } + ); } } @@ -150,6 +157,13 @@ R3.CustomCode.prototype.render = function(delta) { name : 'Audio - Crowd Cheer' } ); + R3.Event.Emit( + R3.Event.GAME_DATA, + { + type : 'score', + goal : 'right' + } + ); } }