summaryrefslogtreecommitdiff
path: root/event
AgeCommit message (Collapse)Author
2017-12-26event/ → events/, and move some appropriate engine/ files thereRemy Oukaour
2017-12-26Various cleanupRemy Oukaour
2017-12-26Use "battle_anims" and "sprite_anims" for clarity, not just "anims"Remy Oukaour
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-24LoadEDTile → CopyTilemapAtOnce (fix #345)Remy Oukaour
2017-12-24Rename maps:Remy Oukaour
- Underground -> UndergroundPath - Route5UndergroundEntrance -> Route5UndergroundPathEntrance - Route6UndergroundEntrance -> Route6UndergroundPathEntrance - WarehouseEntrance -> GoldenrodUnderground - UndergroundWarehouse -> GoldenrodUndergroundWarehouse - UndergroundPathSwitchRoomEntrances -> GoldenrodUndergroundSwitchRoomEntrances
2017-12-24Fix issue #345:Remy Oukaour
- GetMonFrontpic → GetEnemyMonFrontpic - GetMonBackpic → GetBattleMonBackpic - FrontpicPredef → GetAnimatedFrontpicPredef - GetFrontpic → GetMonFrontpic - GetBackpic → GetMonBackpic - CutAndPasteMap → PadMapForHDMATransfer
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-24callba/callab → farcall/callfarRemy Oukaour
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-16Move some more main.asm routines into individual filesRemy Oukaour
2017-12-16Consolidate duplicate graphicsRemy Oukaour
2017-12-15Move more main.asm code into individual filesRemy Oukaour
2017-12-15Move more contiguous related code blocks from main.asm to engine/ and events/Remy Oukaour
2017-12-15Move more unknown graphics into real subfoldersRemy Oukaour
2017-12-15Copy pokered's organization some more, with further constant and data filesRemy Oukaour
2017-12-14Reorganize macrosRemy Oukaour
2017-12-11Keep table labels in the same files as their contents.Remy Oukaour
2017-12-11Name some gfx/unknown/ filesRemy Oukaour
2017-12-11Better file nameRemy 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-11Rename overworld sprite files, consistent with their constantsRemy Oukaour
2017-12-10Use new palette constantsRemy Oukaour
2017-12-10Consistent capitalization for map names, matching their constantsRemy Oukaour
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-09Further 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-21Merge pull request #395 from surskitty/masterMarcus Huderle
Some Script Labels
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 Sweet Scent.surskitty
2017-09-09Moving headbutt tree graphic.surskitty
2017-06-09Replace ‘jp [hl]’ with ‘jp hl’Ben10do
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds. This fix silences these deprecation warnings.
2017-01-16Labels for Trainer Rankings stat tracking functionshatschky
2016-06-13hLCDCPointer and InitListpikalaxalt
2016-05-14Unify directional movement macrospikalaxalt
2016-05-14Unify step_sleep macropikalaxalt
2016-05-13Name all link trade animation related functionspikalaxalt
2016-05-11Name all printer functionspikalaxalt
2016-05-10Name all functions in event/pikalaxalt