summaryrefslogtreecommitdiff
path: root/constants
AgeCommit message (Collapse)Author
2018-05-23Start improving sprite movement engine (to do: identify bit flags)Rangi
Introduce maskbits N[, S]: optionally shift the bitmask
2018-05-18Fix commentsRangi
2018-05-06Merge branch 'master' of https://github.com/pret/pokecrystalRangi
2018-05-06Keep macros near relevant dataRangi
2018-05-06Fix rest of the givepokeitem/checkpokeitem referencesmid-kid
2018-05-05Explicit NO_LIMITS instead of 0Rangi
2018-05-05fix-various-little-thingsmid-kid
A compilation of suggestions from the discord that don't deserve separate commits and are not questionable at all™.
2018-04-09Merge pull request #503 from Rangi42/masteryenatch
Factor wMisc into meaningful parts; move most code out of home.asm
2018-04-09Correct map constant commentsRangi
2018-04-05Use constants for bit/set/res moreRangi
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-05GENDERLESS -> GENDER_UNKNOWNmid-kid
This is how they're called in official sources, and it fits better with the other `GENDER_` constants.
2018-04-04Merge branch 'master' of https://github.com/pret/pokecrystalRangi
2018-04-04Update docs and comments to reflect renamesmid-kid
2018-04-04Use constants for screen size in metatilesRangi
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-19Relabel some map-related WRAMRangi
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}
2018-03-04HOF_MASTER_COUNT EQU 200Rangi
2018-03-02Improve some code labelsRangi
2018-02-26Document HOF Master bug (close #494)Rangi
2018-02-25"HUMANSHAPE, aka Humanshape"Rangi
2018-02-25ENGINE_BUG_CONTEST_ON -> ENGINE_MAIN_MENU_MOBILE_CHOICES (resolves #490)Rangi
Went with CHOICES instead of HIDDEN since setting the flag would presumably have shown the items, not hidden them
2018-02-25Pokecom Center Admin Room -> OfficeRangi
2018-02-25Comment Stadium 2 alternative egg group namesRangi
2018-02-25Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # constants/map_constants.asm # constants/wram_constants.asm # data/radio/oaks_pkmn_talk_routes.asm # data/radio/pnp_hidden_places.asm # engine/battle/core.asm # engine/breeding.asm # engine/phone/phone_scripts.asm # engine/radio.asm # maps/BattleTower1F.asm # maps/OlivineLighthouse2F.asm # maps/OlivineLighthouse6F.asm # maps/PokemonFanClub.asm # maps/RadioTower1F.asm # maps/RadioTower2F.asm # maps/Route30BerryHouse.asm # maps/Route34IlexForestGate.asm # maps/Route36NationalParkGate.asm # maps/RuinsOfAlphKabutoChamber.asm # maps/RuinsOfAlphResearchCenter.asm # maps/VermilionPort.asm # maps/VictoryRoad.asm
2018-02-25* Remove rept 4 (fa3192e)Rangi
* FindGreaterThanThatLevel -> FindAboveLevel (132fe46) * More meaningful egg group names (0eeb00d)
2018-02-22Label wPokemonWithdrawDepositParameter of RemoveMonFromPartyOrBoxmid-kid
It takes a clearly different parameter, completely unrelated and different in function to PC_DEPOSIT and PC_WITHDRAW.
2018-02-22Pkmn -> Monmid-kid
Since we're aiming for consistency across the codebase, I believe it includes a uniform way to refer to the creatures this game consists of in the labels of the code. The only exceptions to this rule are labels referring to things named through the use of the <PK><MN> or <PKMN> characters, in which case PKMN is used. Most of this was already consistent enough™, I just picked the convention with the most occurences and fixed the outliers.
2018-02-14mapconst H, W -> map_const W, Hmid-kid
We've been fixing all of the conventions to be X/Y and W/H, so we should fix this one as well.
2018-02-03Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
2018-02-03map → map_id; map_def → map; map_data → map_attributesRangi
2018-02-02use "x + -1" not "x +- 1"Rangi
(TODO: use "x - 1" once rgbds allows it)
2018-02-01More comments and macrosRangi
2018-02-01SCENE_DEFAULT=0 and SCENE_FINISHED=1 (generic constants for a common scene ↵Rangi
pattern)
2018-02-01Quick scene explanationRangi
2018-02-01Meaningful scene constant namesRangi
(Two common patterns: 0=default event and 1=nothing; and 0=nothing and 1=some event)
2018-01-31MobileTradeRoom matches MobileBattleRoomRangi
2018-01-31Add scene ID constants (TODO: meaningful names)Rangi
2018-01-31NPC trade constants don't all just start with TRADE_Rangi
2018-01-31Official egg group namesRangi
2018-01-31MINERAL egg group worksRangi
2018-01-31const_def NRangi
2018-01-31Comment the person constants sections, like the othersRangi
2018-01-31Correct engine flag constantsRangi
2018-01-30SPRITEMOVEDATA_LAPRAS → SPRITEMOVEDATA_SWIM_WANDERRangi
(more precise, and encourages hacks to add more SWIM movements)
2018-01-30Clarify big doll-related constants (Snorlax and Lapras are symmetrical, Onix ↵Rangi
is not)
2018-01-30SPRITEMOVEDATA_ITEM_TREE → SPRITEMOVEDATA_STILL (it's used for other ↵Rangi
things like Azalea's Slowpokes, not just items and trees)
2018-01-27Group related constants togetherRangi
2018-01-26Define more bit flag constantsRangi