create pewter city poke mart map

This commit is contained in:
Chase Manning 2023-10-04 18:04:03 +01:00
commit ea3f08a6e0

View file

@ -0,0 +1,50 @@
import image from "../assets/map/pewter-city-poke-mart.png";
import { MapId, MapType } from "./map-types";
import music from "../assets/music/maps/pokemon-center.mp3";
import { ItemType } from "../app/use-item-data";
const pewterCityPokeMart: MapType = {
name: "Pewter City Poke Mart",
image,
height: 8,
width: 8,
start: {
x: 4,
y: 6,
},
walls: {
1: [0, 1, 2, 3, 4, 5, 6, 7],
3: [0, 1, 4, 5, 6, 7],
4: [1, 4, 5, 6, 7],
5: [1],
6: [0, 1],
},
text: {},
maps: {},
exits: {
7: [3, 4],
},
music,
grass: {},
exitReturnMap: MapId.PewterCity,
exitReturnPos: {
x: 23,
y: 18,
},
store: {
x: 1,
y: 5,
},
storeItems: [
ItemType.PokeBall,
ItemType.Potion,
// ItemType.EscapeRope, TODO Add this
// ItemType.Antidote, TODO Add this
// ItemType.BurnHeal, TODO Add this
// ItemType.Awakening, TODO Add this
// ItemType.ParalyzeHeal, TODO Add this
],
};
export default pewterCityPokeMart;