private void load() {
		assets = new AssetManager();
		assets.setLoader(TiledMap.class, new TmxMapLoader(new InternalFileHandleResolver()));
		assets.setLoader(Script.class, new ScriptLoader(new InternalFileHandleResolver()));
		assets.setLoader(EntityList.class, new EntityLoader(new InternalFileHandleResolver()));
		assets.setLoader(PokeDB.class, new PokemonLoader(new InternalFileHandleResolver()));
		assets.setLoader(TriggerList.class, new TriggerLoader(new InternalFileHandleResolver()));
		
		//Maps
		FileHandle f = new FileHandle("res/maps/");
		for (FileHandle map : f.list()) {
			assets.load(map.path() + "/map.tmx", TiledMap.class);
			assets.load(map.path() + "/entity.lst", EntityList.class);
			assets.load(map.path() + "/trigger.lst", TriggerList.class);
			for (FileHandle script: map.list())
				if (script.extension().equals("ps"))
					assets.load(script.path(), Script.class);
		}
		
		//Sprites
		f = new FileHandle("res/entity/sprites");
		for (FileHandle img : f.list())
			if (img.extension().equals("png"))
				assets.load(img.path(), Texture.class);
		
		//Gui
		assets.load("res/gui/border.png", Texture.class);
		assets.load("res/gui/arrow.png", Texture.class);
		assets.load(com.github.Danice123.javamon.screen.menu.gen1.Pokedex.pokeball, Texture.class);
		
		//Scripts
		f = new FileHandle("res/scripts");
		for (FileHandle s : f.list())
			assets.load(s.path(), Script.class);
		
		//Pokemon
		assets.load("db/pokemon", PokeDB.class);
	}