mirror of
				https://github.com/pagefaultgames/pokerogue.git
				synced 2025-10-31 16:35:52 +01:00 
			
		
		
		
	* Commit old stashed changes * Complete basic implementation of Tera * Fix effectiveness test * Make tera retain until forced recall or faint, regain on biome change * Experimental sparkle fix * Fix champion teras * Attempted fix for double battles tera UI bug * Fix the fix * Fix linting and test issues * Fix more tests * Change int type * Implement tera for ME trainers * Cleanup species inclusivity check * Make tera instant recharge if terapagos in party * Make useless tera shards not generate * Implement stellar tera damage boost * Improve tera selection UI * Tidy up animation and localisation * Improve tera button sprite * Fix Lance tera * Make tera instant recharge during E4 in classic modes. * Fix formatting in the tera common animation The animation was also not playing due to `frameTimedEvents` being missing as well. * Make tera effect start after animation * Implement save migration * Update version number for migration code --------- Co-authored-by: Madmadness65 <blaze.the.fireman@gmail.com> Co-authored-by: Madmadness65 <59298170+Madmadness65@users.noreply.github.com>
		
			
				
	
	
		
			159 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			159 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| { "frames": {
 | |
|    "unknown": {
 | |
|     "frame": { "x": 0, "y": 0, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "bug": {
 | |
|     "frame": { "x": 18, "y": 0, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "dark": {
 | |
|     "frame": { "x": 36, "y": 0, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "dragon": {
 | |
|     "frame": { "x": 54, "y": 0, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "electric": {
 | |
|     "frame": { "x": 72, "y": 0, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "fairy": {
 | |
|     "frame": { "x": 0, "y": 21, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "fighting": {
 | |
|     "frame": { "x": 18, "y": 21, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "fire": {
 | |
|     "frame": { "x": 36, "y": 21, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "flying": {
 | |
|     "frame": { "x": 54, "y": 21, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "ghost": {
 | |
|     "frame": { "x": 72, "y": 21, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "grass": {
 | |
|     "frame": { "x": 0, "y": 42, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "ground": {
 | |
|     "frame": { "x": 18, "y": 42, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "ice": {
 | |
|     "frame": { "x": 36, "y": 42, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "normal": {
 | |
|     "frame": { "x": 54, "y": 42, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "poison": {
 | |
|     "frame": { "x": 72, "y": 42, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "psychic": {
 | |
|     "frame": { "x": 0, "y": 63, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "rock": {
 | |
|     "frame": { "x": 18, "y": 63, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "steel": {
 | |
|     "frame": { "x": 36, "y": 63, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "water": {
 | |
|     "frame": { "x": 54, "y": 63, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    },
 | |
|    "stellar": {
 | |
|     "frame": { "x": 72, "y": 63, "w": 18, "h": 21 },
 | |
|     "rotated": false,
 | |
|     "trimmed": true,
 | |
|     "spriteSourceSize": { "x": 1, "y": 1, "w": 18, "h": 21 },
 | |
|     "sourceSize": { "w": 20, "h": 23 }
 | |
|    }
 | |
|  },
 | |
|  "meta": {
 | |
|   "app": "https://www.aseprite.org/",
 | |
|   "version": "1.3.7-dev",
 | |
|   "image": "button_tera.png",
 | |
|   "format": "RGBA8888",
 | |
|   "size": { "w": 90, "h": 84 },
 | |
|   "scale": "1",
 | |
|   "frameTags": [
 | |
|   ],
 | |
|   "layers": [
 | |
|    { "name": "Sprite Sheet", "opacity": 255, "blendMode": "normal" }
 | |
|   ],
 | |
|   "slices": [
 | |
|   ]
 | |
|  }
 | |
| }
 |