🚀 stop leaving pallet town without pokemon

This commit is contained in:
Chase Manning 2023-10-12 11:03:30 +01:00
commit d0e13c30c9
2 changed files with 12 additions and 1 deletions

View file

@ -5,7 +5,6 @@
===========
- Personalise all text
- Stop leaving Pallet town until you have a Pokemon
- Outros aren't playing
- Wrong names of items
- Stop manual encounters after defeated trainer

View file

@ -124,6 +124,18 @@ const useQuests = () => {
);
},
},
{
trigger: "walk",
map: MapId.PalletTown,
positions: {
1: [10, 11],
},
active: () => pokemon.length === 0,
text: ["You don't have any POKEMON!"],
action: () => {
dispatch(setPos({ x: pos.x, y: pos.y + 1 }));
},
},
{
trigger: "walk",
map: MapId.PalletTownHouseB,