<commit_before>(function(scene, Lyria) {

   // add event listener for changing scenes based on player position
   scene.on('playerMoved', function(playerMovState, sceneName) {
      if (sceneName !== scene.name) {
         return;
      }
      //console.log('church checking if we need to change the scene, current '+scene.parent.currentScene.name);
      if (playerMovState.y === 7 && playerMovState.level === 0) {
         scene.parent.show('temple-1');
      } else if (playerMovState.y === 6 && playerMovState.level === 1) {
         scene.parent.show('war-1');
      } else if (playerMovState.y === 5 && playerMovState.level === 2) {
         scene.parent.show('family');
      } else if (playerMovState.y === 4 && playerMovState.level === 3) {
         alert('You´ve got your pennance');
      }
   });
  var Config = scene.modules.ISR.Config;
  console.log(Config);
  var tile = [];
  
  var churchHeight = 0; 
  var tileWidth = Config.tile.width; 
  var tileHeight = Config.tile.height; 
  var tileLimitX = Config.tilesLimit.x; //12
  var tileLimitY = Config.tilesLimit.y; 
  <commit_msg>Added transition effect<commit_after>(function(scene, Lyria) {

   // add event listener for changing scenes based on player position
   scene.on('playerMoved', function(playerMovState, sceneName) {
      var showScene = function(sceneName) {
         scene.$element.addClass('scalerotate');
         scene.$element.on('transitionend', function() {
           scene.parent.show(sceneName);
           scene.$element.removeClass('scalerotate');
         });
      };
     
      if (sceneName !== scene.name) {
         return;
      }
      //console.log('church checking if we need to change the scene, current '+scene.parent.currentScene.name);
      if (playerMovState.y === 7 && playerMovState.level === 0) {
         showScene('temple-1');
      } else if (playerMovState.y === 6 && playerMovState.level === 1) {
         showScene('war-1');
      } else if (playerMovState.y === 5 && playerMovState.level === 2) {
         showScene('family');
      } else if (playerMovState.y === 4 && playerMovState.level === 3) {
         alert('You´ve got your pennance');
      }
   });
  var Config = scene.modules.ISR.Config;
  console.log(Config);
  var tile = [];
  
  var churchHeight = 0; 
  var tileWidth = Config.tile.width; 
  var tileHeight = Config.tile.height; 
  var tileLimitX = Config.tilesLimit.x; //12
  var tileLimitY = Config.tilesLimit.y; 
  
{'fraction_non_alphanumeric': 0.14582484725050918, 'fraction_numerical': 0.010590631364562118, 'mean_word_length': 2.7496183206106872, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4095435', 'n_tokens_mistral': 789, 'n_tokens_neox': 735, 'n_words': 174}