Hello There, Guest! Login Register


Pokecenter Loop in the Squirtle-Farmer script by Royal
#1
Question 
Hello guys,
can someone help me to fix this 'loop' in the Squirtle-Farmer script by Royal?
I tired to fix it by myself but I can't figure out where this loop comes from...

the orginal code from his thread:
Show ContentCode:

Logs: 
Show ContentLoop Log:

thank you!  Smile
 
Reply
#2
(2018-05-05, 12:50:27)EMSENTRY Hello guys,
can someone help me to fix this 'loop' in the Squirtle-Farmer script by Royal?
I tired to fix it by myself but I can't figure out where this loop comes from...

the orginal code from his thread:
Show ContentCode:

Logs: 
Show ContentLoop Log:

thank you!  Smile
By any chance is your first pokemon Abra? If so the code "isPokemonUsable(1)" will throw a false in there being as Abra can not attack. Either change the code or change pokes,  you can change the code to "getPokemonHealth(1) < 1" to check if your first pokemon is fainted.

Let me know if you need anymore help!
 
Reply
  


Forum Jump:


Browsing: 1 Guest(s)