---
id: 5d68c947e0696bdec46938ec
title: Part 45
challengeType: 0
---
## Description
Now update the `goStore` function. The code should look just like the code inside the `goTown` function, except the number 0 should be changed to 1. After this step would be a good time to try out the game so far. You should be able to move between the store and the town square.
## Instructions
## Tests
```yml
tests:
- text: See description above for instructions.
testString: assert(goStore.toString().match(/update\(locations\[1\]\)/));
```
## Challenge Seed
```html
```
### Before Test
```html
RPG - Dragon Repeller
XP: 0Health: 100Gold: 50
Monster Name: Health:
Welcome to Dragon Repeller. You must defeat the dragon that is preventing people from leaving the town. You are in the town square. Where do you want to go? Use the buttons above.