correction EffectsTest.lua

function checkAnim is defined as local and after onEnterOrExit which uses it.

the code should be

local checkAnim — prior to onEnterOrExit definition

and also

checkAnim = function(dt)— should replace the header for checkAnim

Andre