Skip to content

Commit ab53341

Browse files
committed
small fix
1 parent 054e34c commit ab53341

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/scenes/mainGame.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,6 @@ export default class MainGame extends Phaser.Scene{
231231
let coins = this.registry.get('coins');
232232
coins += fish.price || 1;
233233
this.registry.set('coins', coins);
234-
this.coinText.setText("Coins: " + coins);
235234

236235

237236
// Stop both and attach fish to hook

src/scenes/market.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default class Market extends Phaser.Scene{
6363
const items = [
6464
{item: 'item1', name: 'Worms', price: 5, type: 'Bait', itemID: 1, description: "Use as a parameter in the addBait() method."},
6565
{item: 'item2', name: 'Apple', price: 10, type: 'Bait', itemID: 2, description: "Use as a parameter in the addBait() method."},
66-
{item: 'item3', name: 'Equip', price: 20, type: 'Method', itemID: 3, description: "An instance method: use on either\nRico or the boat\nto equip an item.\nExample:\nRico.equip(crown);\nboat.equip(flag);"},
66+
{item: 'item3', name: 'Equip', price: 20, type: 'Method', itemID: 3, description: "An instance method.\n// Use on either Rico or the boat to equip an item.\n// Example:\n// Rico.equip(crown);\n// boat.equip(flag);"},
6767
{item: 'item4', name: 'Flag', price: 10, type: 'Bait', itemID: 4, description: "Use as a parameter in the boat.equip() method."},
6868
{item: 'item5', name: 'Pizza', price: 15, type: 'Bait', itemID: 5, description: "Use as a parameter in the addBait() method."},
6969

@@ -90,7 +90,7 @@ export default class Market extends Phaser.Scene{
9090
`// Item ID: ${i.itemID}\n` +
9191
`// Name: ${i.name}\n` +
9292
`// Type: ${i.type}\n` +
93-
`// Price: $${i.price}\n\n` +
93+
`// Price: ${i.price} coins\n\n` +
9494
`// Description: ${i.description}\n\n`+
9595
`// To see item info, enter item number and run: details()\n`
9696
);

0 commit comments

Comments
 (0)