GitHub Search - Rangi42/polishedcrystal GitHub Wiki
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.
File Finder
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
.
Search Box
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.
Advanced (Desktop)
Clone the repository to do git grep
.