class StatsMenu extends Phaser.Sprite {
    constructor (game, player) {
        
        // this is the grossest stuff that exists
        // please if there is a deity in the stars above
        // forgive me this transgression
        // i know it will be hard
        // but i'm begging you
        // it was just how it had to be
        
        super(game, 30, 60, 'stats-menu')
        this.game.add.existing(this)
        
        this.player = player
        this.fixedToCamera = true
        
        this.title = this.game.add.text(115, 90, 'Stats', { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.title.fixedToCamera = true
        
        this.horse = this.game.add.sprite(60, 150, 'horse', 0)
        this.horse.animations.add('running')
        this.horse.animations.play('running', 30, true)
        this.horse.fixedToCamera = true
        
        this.health = this.game.add.group()
        
        this.health.text = this.game.add.text(60, 360, 'Health', { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.health.text.fixedToCamera = true
        
        this.health.value = this.game.add.text(190, 360, this.player.health + '/' + this.player.stats.health, { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.health.value.fixedToCamera = true
        
        this.letters = this.game.add.group()
        
        this.letters.text = this.game.add.text(60, 400, 'Letters', { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.letters.text.fixedToCamera = true
        
        this.letters.value = this.game.add.text(190, 400, this.player.letters + '/' + this.player.stats.carryingCapacity, { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.letters.value.fixedToCamera = true
        
        this.button = this.game.add.button(39, 572, 'button', function () {
            this.game.state.start('upgrade')
        })
        this.button.fixedToCamera = true
        this.button.text = this.game.add.text(100, 576, 'Upgrade', { font: 'Inconsolata, monospace', fill: '#e9bb8a', stroke: '#333333', fontSize: '30px' })
        this.button.text.fixedToCamera = true
    }
}
@@ -1439,22 +1439,23 @@
    this.
-letter
+package
 s = this
@@ -1490,30 +1490,31 @@
        this.
-letter
+package
 s.text = thi
@@ -1543,14 +1543,15 @@
 0, '
-Letter
+Package
 s', 
@@ -1653,22 +1653,23 @@
    this.
-letter
+package
 s.text.f
@@ -1706,30 +1706,31 @@
        this.
-letter
+package
 s.value = th
@@ -1768,23 +1768,31 @@
 .player.
-letters
+packages.length
  + '/' +
@@ -1935,14 +1935,15 @@
 his.
-letter
+package
 s.va
@@ -1968,32 +1968,90 @@
 = true%0A        %0A
+        this.packageList = this.game.add.group()%0A        %0A
         this.but

Read package count in stats menu