From 3d8b1a3033268b56d24d50ce89abab2b29a8a355 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Fri, 25 May 2018 08:46:47 +0200 Subject: [PATCH] Update: CC - Entity Loaded - AR Football 3 (ff0fsum4zx.js) 229 bytes modified --- ff0fsum4zx.js | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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' + } + ); } }