//ワールドマップ //東西南北、魔王戦の中からどのエリアに行くかを選択する。 void world() { textAlign(LEFT); image(worldmap, 0, 0, SZ, SZ); stroke(#ff0000); noStroke(); image(cas, width/2-25, height/2-25, 50, 50); //center if (MapClear[4] == false) image(fog, width/2-70, height/2-75, 150, 150); image(cas, width-105, height/2-25, 50, 50); // E image(cas, width/2-25, height-105, 50, 50); // S if (MapClear[1] == false) image(fog, width/2-70, height-155, 150, 150); image(cas, 55, height/2-25, 50, 50); // W if (MapClear[2] == false) image(fog, 10, height/2-75, 150, 150); image(cas, width/2-25, 25, 50, 50); // N if (MapClear[3] == false) image(fog, width/2-70, -20, 150, 150); select.display(); //ワールドマップに戻るたび、HPを全回復 player.hp = player.max_Hp; if (fogMessage) { fill(128); stroke(0); strokeWeight(3); strokeJoin(ROUND); rect(150, 150, 300, SZ/9); textSize(SZ/25); fill(0); text("霧に覆われてて行けません", 159, 190); } }