- Pokémon Essentials Version
- v21.1 ✅
I wrote a small little plugin script here. It automates the process for Gym Badges, so instead of writing out a whole long-winded script every time, like this:
All you need to do is this:
Quite simple, really. Download the file and extract it into the root of your project. Then add a new Script, and write the following:
All you need to do is this:
Quite simple, really. Download the file and extract it into the root of your project. Then add a new Script, and write the following:
Ruby:
# Replace BadgeName with the name of your badge.
# Remember, when counting in programming we start at 0,
# So the first badge is 0, the second is 1, the third is 2, and so on.
getBadge("BadgeName", 0)
- Credits
- TheCrafters001