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
This commit is contained in:
Flashfyre committed 2023-10-18 18:01:15 -04:00
1 parent 75bd40863e
commit 83c70889fc
50 files changed
+1500 -399

No files matched your search

+1 -3
View File
@@ -1,5 +1,3 @@
import { toPokemonUpperCase } from "../utils";
export enum Stat {
HP = 0,
ATK,
@@ -31,5 +29,5 @@ export function getStatName(stat: Stat) {
ret = 'Speed';
break;
}
return toPokemonUpperCase(ret);
return ret;
}