Skip to content

Commit

Permalink
*Bug erradicated - While loop continuously ran within attacks
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanNikaloasTheFirst committed Dec 7, 2022
1 parent dfb70bc commit f94a2c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PokemonGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public static void main(String[] args) throws InterruptedException {
"Rock throw",
"Tackle", 5);


// Starts game
start(Pikachu, Squirtle, Charmander, Pidgin, Piplup, Garchomp, badges);
}
private static void start(Pokemon Pikachu, Pokemon Squirtle, Pokemon Charmander,
Expand Down

0 comments on commit f94a2c8

Please sign in to comment.