summaryrefslogtreecommitdiff
path: root/engine
AgeCommit message (Collapse)Author
2017-12-13Another batch of labels. Jack's move trivia, mostly.surskitty
2017-12-13Some more phone labels.surskitty
2017-12-13Merge branch 'master' of github.com:pret/pokecrystalsurskitty
2017-12-13Labelling the bragging phone calls.surskitty
2017-12-13Add table of contents (might remove if it's too cumbersome to maintain)Remy Oukaour
2017-12-12use an xor instead of the resultyenatch
2017-12-12Document more bugsRemy Oukaour
2017-12-12Fix `make compare`Remy Oukaour
2017-12-12Merge branch 'master' of https://github.com/pret/pokecrystalRemy Oukaour
2017-12-12Document bugs and glitchesRemy Oukaour
2017-12-12Define constants for collision typesRemy Oukaour
2017-12-12Identify more sprite-related constantsRemy Oukaour
Start more documentation
2017-12-12Identify more sprite-related constantsRemy Oukaour
2017-12-12Identify some SPRITE_ANIM_FRAME_IDX_* constantsRemy Oukaour
2017-12-11More consistent data tablesRemy Oukaour
2017-12-11Keep table labels in the same files as their contents.Remy Oukaour
2017-12-11"Pic Pointers" and "Unown Pic Pointers" must start at the same addressRemy Oukaour
Use `|` not `+` to combine bitmasks
2017-12-11Name some gfx/unknown/ filesRemy Oukaour
2017-12-11Move the rest of gfx/misc/ into specific directoriesRemy Oukaour
2017-12-11Add member constants for the base data struct, same as most other structsRemy Oukaour
2017-12-11Move more data tables into data/ files.Remy Oukaour
2017-12-11Move lots of data tables into individual data/ filesRemy Oukaour
(This is not expected to be their final location, but it makes them easier to relocate when necessary, and easier for users to edit until the whole project's file structure is finalized.)
2017-12-11Add constants for time-of-day boundariesRemy Oukaour
Split off more misc constants into proper files
2017-12-11Document macros/map.asmRemy Oukaour
Rename MORN/DAY/NITE to MORN_F/DAY_F/NITE_F; use MORN/DAY/NITE for shifted values (cleaner for person_events) Prefix FLOOR to the `elevfloor` constants
2017-12-11Rename overworld sprite files, consistent with their constantsRemy Oukaour
2017-12-10PokeCenter → Pokecenter (consistent with the POKECENTER map constants)Remy Oukaour
2017-12-10Use new palette constantsRemy Oukaour
2017-12-10Consistent capitalization for map names, matching their constantsRemy Oukaour
2017-12-10Use correct WRAM labels for intro/title scenesRemy Oukaour
Remove outdated WRAM alias comments
2017-12-10Consistent code formatting: no redundant `a`s and spaces after commasRemy Oukaour
2017-12-09Move some gfx/unknown/ files into meaningful directoriesRemy Oukaour
2017-12-09Move some gfx/misc/ files into meaningful directoriesRemy Oukaour
2017-12-09Consistent pointer labels in WRAMRemy Oukaour
2017-12-09More WRAM cleanupRemy Oukaour
2017-12-09More WRAM organizationRemy Oukaour
2017-12-09Further WRAM organizationRemy Oukaour
2017-12-09More WRAM organizationRemy Oukaour
2017-12-09Start organizing WRAMRemy Oukaour
- Use db and dw when they're more meaningful than ds 1/2 - Use unions to group related labels
2017-12-09Define more charmap characters and use them in place of hard-coded numbersRemy Oukaour
2017-12-09Document constants with comments, actual names, and more thorough usageRemy Oukaour
2017-11-30Label all of PARTYMENUACTION_*mid-kid
It's pretty clear what it's used for. PartyMenuActionText is used for two things: 1) Storing what kind of action we're going to do (<$10) 2) Storing the text for some kind of healing stuff I'm not entirely sure (>=$f0) In the former case, if GetPartyMenuTilemapPointers is ran, it will be used to pick a sequence of actions that should be done, specified in the table, and it'll print the corresponding string using the PartyMenuStrings table. The items in the sequence of actions that should be done are in WritePartyMenuTilemap. Strangely enough, one possible value is left completely unused: PARTYMENUACTION_GIVE_MON_FEMALE. It works in the exact same way as it's male counterpart, and as such I don't believe it was used in the japanese version either, since it doesn't matter which gender your 'mon is when you put 'em in the daycare.
2017-11-29Fix some SPRITE_ANIM_FRAMESET_ constantsmid-kid
Thanks to @roukaour for the fixes.
2017-11-26Add MobileError-related labelsmid-kid
This function is called from a few different places in the mobile code, including from one special that is only executed when the BattleTowerRoomMenu special returns with a non-zero code. Since that special causes a blue "error" screen to appear, that looks the exact same as the one you'd get when trying to connect from the mobile trade corner/battle colosseum in a Pokémon Center's top floor, and this function contains a bunch of japanese strings in a jumptable, I think it's reasonable to assume it should be called "DisplayMobileError".
2017-11-25Label BattleTowerRoomMenumid-kid
All of the functions called by it are prefixed with BattleTowerRoomMenu, but a bunch of them seem more generic than that, since they're part of different mobile menus. Also called another menu jumptable BattleTowerRoomMenu2 for the lack of a better name (only the Yes/No menu functions are used in western crystal). The names of the more generic functions should be fixed when we start labelling other menus.
2017-11-21Merge pull request #395 from surskitty/masterMarcus Huderle
Some Script Labels
2017-11-16CeruleanCaveNane -> CeruleanCaveNamemid-kid
2017-11-03Label some functions in gfx/load_pics.asmpfero
A few projects I looked around in used these same labels for these functions, and it looks like they describe these functions properly. Also fixed usage of BANK() in a few places.
2017-10-29Define GetWarpSFXpfero
This function checks the current tile at the player's feet, and returns an appropriate SFX that should be played when warping from it.
2017-10-28Fix WATERTILE/WALLTILE constantspfero
WATRTILE was wrongly defined as 15, and WALLTILE as 1. Those had to be flipped around. This has allowed for us to replace inmediate values with these constants in several places to improve readability. WATRTILE was renamed to WATERTILE in the name of readability.
2017-10-25Labelling a few mom scripts.surskitty