diff options
author | Daniel Weipert <code@drogueronin.de> | 2023-08-21 15:30:31 +0200 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-08-21 15:30:31 +0200 |
commit | ab3c0db2147a3ce0528ecbe8fe01c5b020a329f8 (patch) | |
tree | e870f93d1f6766ca22e0fd47760a9772f0e47c5b /resources/js/main.js | |
parent | ca093f0fb457a7037eb8a3acf3304e0646fa4278 (diff) |
reorder and player defeated logic
Diffstat (limited to 'resources/js/main.js')
-rw-r--r-- | resources/js/main.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/js/main.js b/resources/js/main.js index 8622731..4fd9c62 100644 --- a/resources/js/main.js +++ b/resources/js/main.js @@ -15,7 +15,7 @@ }); await Memory.state.player.initialize(); - Memory.state.activeTechnique = Memory.state.player.activeMonster.activeTechniques[0]; + Game.setActivePlayerMonster(Memory.state.player.monsters[0]); Memory.state.activeBall = Memory.state.player.inventory[0]; // tuxeball Memory.state.rivalMonster = await fetchMonster(possibleStarterMonsters[Math.round(Math.random() * (possibleStarterMonsters.length - 1))]); |