// Get objects
List<dEntity> entities = (List<dEntity>) scriptEntry.getObject("entities");
PlayerAnimation animation = scriptEntry.hasObject("animation") ?
(PlayerAnimation) scriptEntry.getObject("animation") : null;
EntityEffect effect = scriptEntry.hasObject("effect") ?
(EntityEffect) scriptEntry.getObject("effect") : null;
// Report to dB
dB.report(scriptEntry, getName(), (animation != null ?
aH.debugObj("animation", animation.name()) :
aH.debugObj("effect", effect.name())) +
aH.debugObj("entities", entities.toString()));
// Go through all the entities and animate them
for (dEntity entity : entities) {
if (entity.isSpawned()) {