mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-01-18 23:11:11 +00:00
83c70889fc
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
6 lines
158 B
JavaScript
6 lines
158 B
JavaScript
function getSession() {
|
|
const sessionStr = localStorage.getItem('sessionData');
|
|
if (!sessionStr)
|
|
return null;
|
|
return JSON.parse(atob(sessionStr));
|
|
} |