added new button
This commit is contained in:
@@ -179,6 +179,21 @@
|
||||
>
|
||||
Load
|
||||
</button><br />
|
||||
<button
|
||||
on:click={() => {
|
||||
pokemonDataArray.forEach((pd) => {
|
||||
pd.attack_buff = 0;
|
||||
pd.defense_buff = 0;
|
||||
pd.special_attack_buff = 0;
|
||||
pd.special_defense_buff = 0;
|
||||
pd.speed_buff = 0;
|
||||
pd.terastype = [0];
|
||||
});
|
||||
pokemonData = pokemonDataArray[index];
|
||||
}}
|
||||
>
|
||||
Reset Battle Status
|
||||
</button><br />
|
||||
<button
|
||||
on:click={() => {
|
||||
pokemonData = undefined;
|
||||
|
||||
Reference in New Issue
Block a user