From 487deb3f436ef744eacf968874ca4dfef79ef158 Mon Sep 17 00:00:00 2001 From: ThePsychedelicSeal Date: Mon, 28 Oct 2024 21:52:44 -0600 Subject: [PATCH] Adding to window.gameInfo Added type -> not working currentHP -> not working maxHP status --- src/battle-scene.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-scene.ts b/src/battle-scene.ts index 3cbf4d7b422..83995e9c75e 100644 --- a/src/battle-scene.ts +++ b/src/battle-scene.ts @@ -2965,7 +2965,7 @@ export default class BattleScene extends SceneBase { biome: this.currentBattle ? getBiomeName(this.arena.biomeType) : "", wave: this.currentBattle?.waveIndex || 0, party: this.party ? this.party.map(p => { - return { name: p.name, level: p.level }; + return { name: p.name, type: p.type[0], level: p.level, currentHP: p.hp, maxHP: p.stats[0], status: p.status }; }) : [], modeChain: this.ui?.getModeChain() ?? [], };