let here = GetCurrentScriptDirectory();

task LoadStuff(n){
  ascent(i in 0..n){
		LoadScript(here ~ "./scripts/Non" ~ vtos("02d", i+1) ~ ".dnh");
		LoadScript(here ~ "./scripts/Spell" ~ vtos("02d", i+1) ~ ".dnh");
	}
  LoadScript(here ~ "./scripts/Spell" ~ vtos("02d", n+1) ~ ".dnh");

  LoadTexture(here ~ "img/cloud02.jpg"); 
  LoadTexture(here ~ "img/fog01.png"); 
  LoadTexture(here ~ "img/light.png"); 
  LoadTexture(here ~ "img/path.jpg"); 
  LoadTexture(here ~ "img/sorry.jpg"); 
  LoadTexture(here ~ "img/cuts00.png"); 
  LoadTexture(here ~ "img/cuts01.png"); 

  LoadTexture(here ~ "lib/Shot/RockImg.png"); //Rock Shot
  LoadTexture(here ~ "lib/Shot/SwordImg.png"); //Sword Shot
  LoadTexture(here ~ "lib/Shot/TerraShot/shot.png"); //Shot

  LoadTexture(here ~ "system/img/lifebar.png");
  LoadTexture(here ~ "system/img/deletevfx.png");
  LoadTexture(here ~ "system/img/fiesta.png");
  LoadTexture(here ~ "system/img/front00.png");
  LoadTexture(here ~ "system/img/bitmap.png");
  LoadTexture(here ~ "system/img/Default_System.png");
  LoadTexture(here ~ "system/img/SystemDigit.png");
  LoadTexture(here ~ "system/img/frame2.png");
  LoadTexture(here ~ "system/img/messages/boi.png");
  LoadTexture(here ~ "system/FX/diff.png");

  InstallFont(here ~ "lib/Fonts/THSpatial.ttf");
  InstallFont(here ~ "lib/Fonts/osaka.unicode.ttf");
  InstallFont(here ~ "lib/Fonts/monofonto.ttf");
  InstallFont(here ~ "lib/Fonts/Russell Square Regular.ttf");
}