summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-04-09Merge pull request #503 from Rangi42/masteryenatch
Factor wMisc into meaningful parts; move most code out of home.asm
2018-04-09Merge pull request #495 from mid-kid/masteryenatch
Use stadium 2 egg group names
2018-04-09Correct map constant commentsRangi
2018-04-05Use constants for bit/set/res moreRangi
2018-04-05HanleDefrost -> HandleDefrostmid-kid
2018-04-05Use Stadium 2 Egg Group namesmid-kid
Out of the current two most prevalent official conventions, this one was chosen, because they're used in a direct counterpart to this game, and thus feel more accurate.
2018-04-05Fix some uses of EFFECTIVEmid-kid
2018-04-05Use data/items/pocket_names.asmmid-kid
2018-04-05GENDERLESS -> GENDER_UNKNOWNmid-kid
This is how they're called in official sources, and it fits better with the other `GENDER_` constants.
2018-04-05Move more code from home.asm into home/Rangi
2018-04-05check_nick_errors → correct_nick_errors; matches correct_party_errorsRangi
2018-04-04Merge branch 'master' of https://github.com/pret/pokecrystalRangi
2018-04-04Merge pull request #505 from mid-kid/battlecommandsyenatch
Battle command fixes
2018-04-04Merge pull request #501 from mid-kid/reorgyenatch
Organize the engine/ directory
2018-04-04Update docs and comments to reflect renamesmid-kid
2018-04-04Rename some battle commandsmid-kid
`hittarget` was misleading, as it doesn't actually "hit" the target, it only plays the animation. As such, I've renamed it to `moveanim`. `checkfaint` has nothing to do with checking if the user or target has fainted, instead, it applies wCurDamage onto the target's HP, hitting the substitute if applicable. I've renamed the command to `applydamage` and all of its subfunctions accordingly.
2018-04-04Document more Beat Up-related bugsmid-kid
Two bugs related to not raising the substitute when it should, one bug related to not running king's rock when it should, and the other related to running king's rock when it shouldn't. Fun.
2018-04-04Label BattleCommand_BeatUpFailTextmid-kid
2018-04-04`endloop` loops back to critical itselfmid-kid
The comments seemed to specify that `endloop` loops back to the command before `critical` and executes that, which simply isn't true. It loops back to `critical` itself, and executes `critical`, before continuing on with the remaining commands.
2018-04-04Label bidefailtextmid-kid
This "unknown" battle command is actually used to give the proper fail message to bide.
2018-04-04Comment SapHealthmid-kid
Also fixed some Beat Up inconsistencies to make it more readable.
2018-04-04Fix snake_case filenamesmid-kid
Renamed a bunch of files, most of them one-off functions, to better fit the general snake_case naming scheme. Also renamed some awfully long filenames.
2018-04-04Use constants for screen size in metatilesRangi
2018-04-04Use 'elif' moreRangi
2018-04-01Fix file permissionsmid-kid
I have no idea why this was a thing (do people store this repo on FAT32 flash drives or something?), but quite a bit of files had a permission of 755. This isn't really a problem, but it's inconsistent and weird.
2018-04-01Update file paths in constants/ and docs/mid-kid
2018-03-25`flagpredef.asm` → `smallflag.asm`mid-kid
2018-03-25Organize the engine/ directory, director's cutmid-kid
Cleaned up `engine/routines`, in favor of moving files into more appropriate directories. predef-related routines are now in top-level `engine`. `rtc/delete_save_change_clock.asm` has been split into both `menus/delete_save.asm` and `rtc/reset_password.asm`. Made a new subdirectory: * engine/math: Contains all generic math-related routines.
2018-03-25Merge branch 'master' of https://github.com/pret/pokecrystalRangi
2018-03-25Merge pull request #500 from yenatch/fix-scan-includesyenatch
Fix scan_includes matching the word "include" in strings.
2018-03-25Organize the engine/ directory, take 3mid-kid
Renamed `title` to `movies`. Moved some functions from `engine/routines/` to their fitting directories, and cleaned up the base `engine/` directory. Moved `engine/pokemon/tmhm.asm` back to `engine/items/`. Made a new subdirectory: * engine/tilesets: Contains all map-related graphics routines.
2018-03-19Relabel some map-related WRAMRangi
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}
2018-03-14Move init_gender and intro_menu to menusmid-kid
They are actually some kind of menus, and as such make sense there.
2018-03-14Organize the engine/ directory, take 2mid-kid
Renamed `game` to `games` and `menu` to `menus`. Moved some functions from `engine/routines/` to their fitting subdirectories. Made two new subdirectories: * engine/rtc: Contains all RTC-related things. Menus, hardware, misc functions. * engine/items: Contains all item-related things. Pack, item effects, other item handlers.
2018-03-13Organize the engine/ directorymid-kid
This is an informed attempt at reorganizing the engine/ directory by creating categorized subdirectories, in order to make it easier to navigate and find things. The directories created are as follows: * engine/game: Contains all "minigames", things like the unown puzzle and slot machine. * engine/gfx: Contains all handling of graphics. From loading palettes to playing animations. * engine/link: Contains all multiplayer functionality. * engine/menu: Contains all generic/misc. menus and menu code. Other, more specialized menus are in their own subdirectories (pokedex, pokegear, party menu, etc). * engine/overworld: Contains all handling of the overworld. From loading and connecting maps to wild encounters and the scripting engine. * engine/pokegear: In the same vein as engine/pokedex, except it could use some more splitting up. * engine/pokemon: Contains everything related to manipulating pokemon data. From the pokemon storage system to evolution and mail. * engine/printer: Contains everything related to printing things as well as the printer communication. * engine/title: Contains intro sequences, title screens and credits.
2018-03-10Fix scan_includes matching the word "include" in strings.yenatch
2018-03-10Merge pull request #496 from Rangi42/masteryenatch
Label more map scripts; document more bugs [ready to merge]
2018-03-10Merge pull request #499 from surskitty/masteryenatch
A few labels
2018-03-10Merge remote-tracking branch 'surskitty/master' into masteryenatch
2018-03-07Labels, labels.surskitty
2018-03-07Sprout Tower labelssurskitty
2018-03-07Labelling Erika and Celadon Gymsurskitty
2018-03-04201 -> 200Rangi
2018-03-04Bug docs match codeRangi
2018-03-04HOF_MASTER_COUNT EQU 200Rangi
2018-03-02Labelling Whitney textssurskitty
2018-03-02Improve some code labelsRangi
2018-03-01Remaining map labels: UnknownText and MovementDataRangi
2018-03-01Label more map scripts (no more UnknownScripts)Rangi
2018-03-01Label more map scriptsRangi