summaryrefslogtreecommitdiff
path: root/constants
AgeCommit message (Collapse)Author
2017-12-25Use percentages for AI scoring logicRemy Oukaour
Define MAX_DAY_CARE_EXP
2017-12-25Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % ↵Remy Oukaour
$100` or `X >> 8` and `X & $ff`
2017-12-24Add more constants for some maximum valuesRemy Oukaour
2017-12-24Remove all code from main.asm (some labeled INCBINs, like out-of-context ↵Remy Oukaour
graphics, are still present) engine/routines/ stores isolated out-of-context routines as individual files. It might be preferable later to append them to their related engine/ files in unique little SECTIONs, relying on the linkerscript to place them appropriately; or some other organization method. In the meantime, they're now easily findable apart from main.asm's other content.
2017-12-24Rename maps:Remy Oukaour
- Underground -> UndergroundPath - Route5UndergroundEntrance -> Route5UndergroundPathEntrance - Route6UndergroundEntrance -> Route6UndergroundPathEntrance - WarehouseEntrance -> GoldenrodUnderground - UndergroundWarehouse -> GoldenrodUndergroundWarehouse - UndergroundPathSwitchRoomEntrances -> GoldenrodUndergroundSwitchRoomEntrances
2017-12-24Use PSYCHIC_M for the Psychic TM.yenatch
Fixes #385
2017-12-24Merge branch 'master' of https://github.com/pret/pokecrystalRemy Oukaour
2017-12-24Renaming: (fix #412)Remy Oukaour
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
2017-12-24Rename "map permissions" to "map environment" (fix #396)Remy Oukaour
2017-12-24HELD_TRADE_EVOLVE -> HELD_FLINCHmid-kid
This item effect effectively causes the target to flinch (sometimes). It's not exclusive to trade evolve items in later generations either.
2017-12-23Merge remote-tracking branch 'origin/master' into masteryenatch
2017-12-23Move NUM_BUENA_PRIZES to event/buena.asm (still hard-coded)Remy Oukaour
Buena_PrizeMenu has "rept NUM_BUENA_PRIZES", which needs NUM_BUENA_PRIZES to be already defined. BuenaPrizeItems and BuenaPrizeItemsEnd are needed to define NUM_BUENA_PRIZES; but BuenaPrizeItems is defined after Buena_PrizeMenu. I don't see a way to avoid hard-coding its value of 9. Contrast that with the NUM_MOM_ITEMS constants, which are not used as "rept" arguments and so can be defined within their code file.
2017-12-22More comments for constant<->table correspondencesRemy Oukaour
2017-12-16Ad some more constants for meaningful audio WRAM bitsRemy Oukaour
2017-12-15PLAYER_SLIP → PLAYER_SKATE (probably used for the beta skateboard; ↵Remy Oukaour
DoPlayerMovement.BikeCheck returns true for it)
2017-12-15Correct some documentation commentsRemy Oukaour
2017-12-15Move more main.asm code into individual filesRemy Oukaour
2017-12-15Copy pokered's organization some more, with further constant and data filesRemy Oukaour
2017-12-15Move all misc/ and unknown/ files to meaningful directoriesRemy Oukaour
2017-12-15Move some misc/ files into meaningful directoriesRemy Oukaour
2017-12-15Move data/audio/ back into audio/Remy Oukaour
Keep trainer data together
2017-12-15Move predef/ files into engine/Remy Oukaour
Get rid of single-file engine/ subdirectories Move tilesets/ palettes unrelated to individual tilesets into data/palettes/ (more from engine/colors.asm can be moved here too)
2017-12-15Start documenting effect commandsRemy Oukaour
2017-12-14Split items/ and trainers/ into their data/ and engine/ componentsRemy Oukaour
Move some data into a pokemon/ subdirectory
2017-12-14Reorganize macrosRemy Oukaour
2017-12-13Fix the spelling of Thursdaysurskitty
2017-12-13Rename the Onix trade house to match the restRemy Oukaour
2017-12-13Use constants for gender ratiosRemy Oukaour
2017-12-12Document more bugsRemy Oukaour
2017-12-12Remove unused constantRemy Oukaour
Fix typo
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-12Separate sprite constants and sprite-related data constants, like Pokémon ↵Remy Oukaour
and maps
2017-12-11Keep table labels in the same files as their contents.Remy Oukaour
2017-12-11Comments distinguish "move effects" and "effect commands"Remy Oukaour
Effect command enums are used like constants, not macros
2017-12-11Add member constants for the base data struct, same as most other structsRemy Oukaour
2017-12-11Map dimensions are separate from other constants, same as pokemon_constants ↵Remy Oukaour
vs pokemon_data_constants
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-11tilemap → tilesetRemy Oukaour
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-10Rename tilesets, consistent with constant namesRemy Oukaour
2017-12-10Use new palette constantsRemy Oukaour
2017-12-10Define more palette constantsRemy Oukaour