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.packages = this.game.add.group()
        
        this.packages.text = this.game.add.text(60, 400, 'Packages', { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.packages.text.fixedToCamera = true
        
        this.packages.value = this.game.add.text(190, 400, this.player.packages.length + '/' + this.player.stats.carryingCapacity, { font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' })
        this.packages.value.fixedToCamera = true
        
        this.packageList = this.game.add.group()
        
        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
    }
}
@@ -741,17 +741,17 @@
 te(60, 1
-5
+2
 0, 'hors
@@ -1010,18 +1010,18 @@
 ext(60, 
-36
+28
 0, 'Heal
@@ -1226,10 +1226,10 @@
 90, 
-36
+28
 0, t
@@ -1418,32 +1418,512 @@
 = true%0A        %0A
+        this.money = this.game.add.group ()%0A        %0A        this.money.text = this.game.add.text(60, 310, 'Money', %7B font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' %7D)%0A        this.money.text.fixedToCamera = true%0A        %0A        this.money.value = this.game.add.text(190, 310, this.player.money, %7B font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' %7D)%0A        this.money.value.fixedToCamera = true%0A        %0A
         this.pac
@@ -2013,18 +2013,18 @@
 ext(60, 
+3
 4
-0
 0, 'Pack
@@ -2235,11 +2235,11 @@
 90, 
+3
 40
-0
 , th
@@ -2468,48 +2468,452 @@
     
-this.packageList = this.game.add.group()
+for(var p = 0; p %3C 3 && p %3C this.player.packages.length; p++) %7B%0A            var pkg = this.player.packages%5Bp%5D%0A            this.game.add.text(60, 400 + (60 * p), pkg.destination, %7B font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' %7D)%0A            this.game.add.text(190, 400 + (60 * p), pkg.bounty, %7B font: 'Inconsolata, monospace', fill: '#333333', stroke: '#333333', fontSize: '30px' %7D)%0A        %7D%0A            
 %0A   

Load money in menu, push things around