View gist:3025095
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find db/moves -name "*.txt" -exec bash -c './remove-bom.sh {} && awk '\''{ print NR-1 " " $0 }'\'' {} > {}~ && mv {}~ {} && ./add-bom.sh {}' \; |
View gist:3028568
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find db/moves -name "*.txt" -exec bash -c "sed '/^[0-9]* \$/d' {} > {}~ && mv {}~ {}" \; |
View gist:3028770
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "*.txt" -exec bash -c "re=\$(echo {} | sed 's/_[A-Za-z-]*[.]txt/.txt/'); mv {} \$re" \; |
View changelog-0-to-1.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I hear you like mudkipz, don't you!?! |
View gist:3095069
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=== 2.0.1 === | |
All: | |
- Event Victini and Deoxys added | |
Client | |
- Battle Window improvements (size change, new moves, zoomed in pokemon, animated pokemon sprites, PP count of foe) | |
- Replay viewer improvement (controls) | |
- Enable register button on cancelling | |
- Smogon plugin now integrated in teambuilder |
View gist:3102488
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -name "*.png" -exec convert '{}' -bordercolor white -border 1x1 -fill none -draw 'matte 0,0 floodfill' -shave 1x1 '{}' \; | |
(since the images themselves contained white, a simple replace wouldn't have been good) |
View hangmancheat.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/evalp ret = []; for (var i = 1; i <= 720; i++) {if (/^....u$/i.test(sys.pokemon(i))) ret.push(sys.pokemon(i))} ret; |
View gist:4169697
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Record | |
//Check | |
//Save | |
//Reload | |
//Switch | |
//Show | |
//ShowTeam | |
//Pokedex | |
//Commands | |
//HelpMe |
View gist:4256786
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
soundManager.createSound(): Audio support is not available. | |
soundManager.createSound(): Audio support is not available. | |
runMajor args: ["join","niffirgj"], kwargs: {},preempt: undefined | |
runMajor args: ["join","AlphonseE"], kwargs: {},preempt: undefined | |
runMajor args: ["player","p1","niffirgj","170"], kwargs: {},preempt: undefined | |
runMajor args: ["player","p2","AlphonseE","76"], kwargs: {},preempt: undefined | |
runMajor args: ["gametype","singles"], kwargs: {},preempt: undefined | |
runMajor args: ["tier","OU"], kwargs: {},preempt: undefined | |
runMajor args: ["rated"], kwargs: {},preempt: undefined |
View gist:4278752
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BattleOld=Battle; | |
Battle = function Battle() { | |
var self = this, run, getPoke; | |
BattleOld.apply(self, arguments); | |
run = self.run; | |
self.run = function(str, preempt) { | |
console.log("run: " + str); run.apply(self,arguments); | |
}; | |
getPoke = self.getPokemon; |
OlderNewer