-
Notifications
You must be signed in to change notification settings - Fork 232
GitHub Search
See also GitHub's official help: Finding files on GitHub; Understanding GitHub Code Search syntax
The FAQ and this wiki should suffice for most of the data and info, but you might as well want to look something up in the source code by yourself, e.g. locations, flags, and procedures such as ifs and thens. Use GitHub's search functions in your browser, namely the file finder and the search box.
Find the Go to file
bar. Input a file name you know or guess, and the finder performs a real-time forward search.
Examples:
-
baseglac
➡️data/pokemon/base_stats/glaceon.asm
; -
evosatt
➡️data/pokemon/evos_attacks.asm
and some more; -
mapvictory
➡️maps/VictoryRoad1F.asm
,2F
, and3F
; -
wildjohto
➡️data/wild/johto_grass.asm
anddata/wild/johto_water.asm
; but… -
johtowild
➡️audio/music/johtowildbattle.asm
andaudio/music/johtowildbattlenight.asm
.
Caution: Unfortunately, GitHub's search box can only target the default branch, which may be ahead of the version you're playing.
Find the search box at the top (logged-in users) or at the bottom inside the hamburger menu (non-logged-in). Enter a code string to search for. Search-narrowing qualifiers like path
and language
will help refine your search, e.g. language:Assembly
. The search is case-insensitive and will only display result snippets. Click on one of the results to view the code in your browser.
Polished follows pokecrystal
's style guide for coding, e.g. constants in SCREAMING_SNAKE_CASE and labels in PascalCase.
Examples:
-
ice_stone
➡️ map(s), shop(s), evolution conditions, definitions and descriptions, etc.; -
ice stone
➡️ not only the files above but also the others withice
andstone
; -
itemfinder
delivers some results, butitem finder
oritem_finder
don't.
Clone the repository to do git grep
.
- Battle Facilities
- Breeding
- Bug-Catching Contest
- Contributing with a list of to-do lists of the project
- Emulators
- End-game
- Friendship
- Gift Pokémon
- GitHub Search
- Headbutt Trees
- Hidden Abilities
- Hidden Grottoes
- Item Locations
- IVs and EVs
- Map Expansions
- Modifications
- Moves
- Nuzlocke
- Overworld Weather
- Phone Contacts
- Pickup
- Pokémon Learnsets
- Pokémon Type, Evolution, Ability, and Stat Changes
- Regional Forms
- Roaming Pokémon
- Shiny Rates
- Storage
- Tips and Tricks
- TMs and HMs
- Trainer Card Level
- Trainers
- Updating Polished Crystal and Save Patching
- Utilities
- Wild Encounters
- Wild Held Items
- Wonder Trade