mirror of
https://github.com/chase-manning/pokemon-js.git
synced 2025-10-12 23:50:19 +00:00
🚀 stop leaving pallet town without pokemon
This commit is contained in:
parent
34487a0e66
commit
d0e13c30c9
2 changed files with 12 additions and 1 deletions
1
TODO.md
1
TODO.md
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue