pokerogue/src/debug.js
Flashfyre 83c70889fc Implement trainer battles and various changes
Implement trainer battles; add dialogue functionality; add random session seed for predictable random results; remove capitalization from text; add full party heal after every 10 waves
2023-10-18 18:01:15 -04:00

6 lines
158 B
JavaScript

function getSession() {
const sessionStr = localStorage.getItem('sessionData');
if (!sessionStr)
return null;
return JSON.parse(atob(sessionStr));
}