Fixed battle recordings playback, fixed being unable to import .anm files in the Animations Editor

This commit is contained in:
Maruno17
2021-05-15 21:01:39 +01:00
parent 66b40fd181
commit 206244a3f0
3 changed files with 16 additions and 9 deletions

View File

@@ -109,7 +109,7 @@ def pbPlayBattle(battledata)
return if !battledata
scene = pbNewBattleScene
scene.abortable = true
lastbattle = Marshal.restore(StringInput.new(battledata))
lastbattle = Marshal.restore(battledata)
case lastbattle[0]
when BattleChallenge::BattleTowerID
battleplayer = PokeBattle_BattlePlayer.new(scene, lastbattle)