r/Scriptable • u/Technoir12 • Nov 06 '20
Script I made a widget that simulates Pokemon encounters (can be shiny!)
https://imgur.com/a/rPXzBXg/
66
Upvotes
r/Scriptable • u/Technoir12 • Nov 06 '20
3
u/Technoir12 Nov 06 '20 edited Nov 07 '20
Hello! I’ve been working on this for a couple weeks. It receives parameters to customize:
In case no background is provided, default backgrounds will be used that change according to the hour of the day and the type of pokemon (this last one only applies to the medium size widget).
It takes the language of the device (spanish and german available), defaults to english.
You can get the code from this gist.
You can run the script from Scriptable and it will guide you through the proces of customization.
4
u/[deleted] Nov 06 '20
I assume the comment with the link was filtered by automod because of the Mega link for the background, but it's visible in op's profile.
That said: Awesome widget!
2
u/Pabumake Nov 06 '20
Nice one.
Since I'm not a programmer and never committed to anything on github/gist i post it here, that I added German translations for those who are interested ( and set Default :P ).
Feel free to implement on the original script :D
Visit here: gist
1
u/DonnyDerp69 Aug 27 '24
Don’t know if anyone will see this cuz it’s been a long time but I’m getting this error code “Error on line 303:18: Image not found. Remember that file name AND format are case-sensitive.” any help?
1
u/bundles778 Aug 31 '24
A few years late, but the script works in the preview yet gives me error when I add it to my screen. The error reads “error on line 110:27: TypeError: null is not an object (evaluating ‘widgetArgs.split’)
Any solutions?
1
u/FxPeter Feb 06 '25
Hey man I know it’s been years since you posted this but, I could use some help to use your widget; clearly I’m very dumb, because every time I try to set it up it prompts the error: “2025-02-06 5:52:06 p.m.: Error: Los datos no se han podido leer porque no tienen el formato correcto.“ (yeah Spanish lol) but the thing is I try to follow the format that you’ve written down, and it keeps not working, (also I need to mention that I’ve downloaded, and moved to the scriptable folder the Mega images you provided)
1
u/DaxaG11 Nov 08 '20
I don't understand (Pokémon list and Shiny chance) Do a video 👏🏻
1
u/PabloBlueDc83 Nov 12 '20
someone who can give an example of the parameters
1
u/Bman254 Mar 31 '24
I know it’s been a few years but can you help me? I keep getting an error, 303:18, “ Image not found. Remember that file name AND format are case-sensitive.”
1
u/HITEK77 Oct 09 '24
how do i download this?
1
u/Astral_Glitchy Jul 05 '25
Hi!! Im not much of a coder but i think i did as much as i could and i keep getting stuck here. Any solutions?
1
u/The_Shedinja_Daycare Sep 24 '25
I know this thread is from literal years ago, but is anyone else having a “received timeout while running script” error? I know shit all about coding or anything lol. Just following along with what commenters said to do with various errors. Tried looking it up, but that did not help.
1
u/Top-Activity-3276 Mar 22 '26
Can anyone tell this absolute Noob step by step how to do this and where the code is supposed to go ? (Android user )
1
u/Alanokay Feb 03 '22
It keeps on saying the data couldn’t be read because it isn’t in the correct format