(2016-12-06, 02:30:25)bootable disk (2016-12-05, 14:03:12)koplakbener (2016-12-04, 16:58:51)bootable disk (2016-12-04, 04:05:36)phamphongbsn (2016-12-04, 02:42:58)bootable disk silv3r, anyways on how to distinguish xmas theme pokes to normal pokes?
we can implement getOpponentForm() ~= 0 in battle action
thanks man 
it only cacth stantler xmas or all stantler?
all xmas pokes, ditch normal

i use this script and after few hour sudenly i feel i cact xmas stantler but sudenlly bot is stop
can u tell me why sir?
here the log
[12:03:02 PM] You have run away from the wild Pokemon.
[12:03:09 PM] Position updated: Flake Wood (10, 29) [OK, lag, distance=4]
[12:03:09 PM] A Wild Stantler Attacks!
[12:03:09 PM] Stantler's Intimidate cuts Kadabra's attack!
[12:03:16 PM] You have run away from the wild Pokemon.
[12:03:22 PM] Position updated: Flake Wood (7, 30) [OK, lag, distance=5]
[12:03:22 PM] A Wild Stantler Attacks!
[12:03:22 PM] Stantler's Intimidate cuts Kadabra's attack!
[12:03:29 PM] You have run away from the wild Pokemon.
[12:03:38 PM] Position updated: Flake Wood (8, 37) [OK, lag, distance=5]
[12:03:38 PM] A Wild Delibird Attacks!
[12:03:43 PM] You have run away from the wild Pokemon.
[12:03:49 PM] Position updated: Flake Wood (6, 35) [OK, lag, distance=4]
[12:03:49 PM] A Wild Patrat Attacks!
[12:03:55 PM] You have run away from the wild Pokemon.
[12:04:01 PM] Position updated: Flake Wood (9, 32) [OK, lag, distance=2]
[12:04:01 PM] A Wild Delibird Attacks!
[12:04:07 PM] You have run away from the wild Pokemon.
[12:04:15 PM] Position updated: Flake Wood (6, 31) [OK, lag, distance=2]
[12:04:15 PM] A Wild Delibird Attacks!
[12:04:20 PM] You have run away from the wild Pokemon.
[12:04:28 PM] Position updated: Flake Wood (10, 35) [OK, lag, distance=5]
[12:04:28 PM] A Wild Delibird Attacks!
[12:04:34 PM] You have run away from the wild Pokemon.
[12:04:42 PM] Position updated: Flake Wood (7, 36) [OK, lag, distance=5]
[12:04:42 PM] A Wild Delibird Attacks!
[12:04:48 PM] You have run away from the wild Pokemon.
[12:04:52 PM] Position updated: Flake Wood (10, 30) [OK, lag, distance=5]
[12:04:52 PM] A Wild Stantler Attacks!
[12:04:52 PM] Stantler's Intimidate cuts Kadabra's attack!
[12:04:58 PM] You have run away from the wild Pokemon.
[12:05:03 PM] Position updated: Flake Wood (10, 33) [OK, lag, distance=2]
[12:05:03 PM] A Wild Swinub Attacks!
[12:05:09 PM] You have run away from the wild Pokemon.
[12:05:14 PM] Position updated: Flake Wood (9, 33) [OK, lag, distance=3]
[12:05:14 PM] A Wild Delibird Attacks!
[12:05:18 PM] You have run away from the wild Pokemon.
[12:05:26 PM] Position updated: Flake Wood (11, 34) [OK, lag, distance=3]
[12:05:26 PM] A Wild Patrat Attacks!
[12:05:31 PM] You have run away from the wild Pokemon.
[12:05:36 PM] Position updated: Flake Wood (7, 36) [OK, lag, distance=4]
[12:05:36 PM] A Wild Patrat Attacks!
[12:05:42 PM] You have run away from the wild Pokemon.
[12:05:52 PM] Position updated: Flake Wood (9, 32) [OK, lag, distance=2]
[12:05:52 PM] A Wild Stantler Attacks!
[12:05:56 PM] Error during the script execution: chunk_1:(44,8-31): attempt to perform arithmetic on a nil value
[12:05:56 PM] Bot stopped
[12:06:53 PM] System: You are now AFK!
here my script
function onBattleAction()
if isWildBattle() and getOpponentForm() ~= 0 then
xmasPoke = xmasPoke + 1
log("-------- XMAS POKEMON ENCOUNTERED (" .. getOpponentName() .. ") --------")
end
if isWildBattle() and ( isOpponentShiny() or getOpponentName() == "Eeve" or getOpponentName() == "Snover") or getOpponentName() == "Stantler" and getOpponentForm() ~= 0 then
if getActivePokemonNumber() ~= 2 or not isPokemonUsable(2) then
return sendPokemon(2) or sendPokemon(4) or sendUsablePokemon() or sendAnyPokemon()
elseif ( getActivePokemonNumber() == 2 ) and ( getOpponentHealth() > 1 ) then
return weakAttack() or sendAnyPokemon() or run()
elseif getOpponentHealth() == 1 then
return useItem("Pokeball") or useItem("Great Ball") or useItem("Ultra Ball") or attack() or run()
end
end
can u tell mmy mistake
ty sir