summaryrefslogtreecommitdiff
path: root/engine/overworld
AgeCommit message (Collapse)Author
2018-10-11Rename CheckTrainerBattlemid-kid
Renamed to be more in line with our current coding standards. Hopefully this is slightly more readable.
2018-09-09Curr -> CurRangi
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-08-07wWeeklyFlags -> wDailyFlags2mid-kid
These are by far not always checked each week, and as such shouldn't be called that. Since they're almost always used through the `bit` instruction, it's very inconvenient to just make wDailyFlags a `dw` instead.
2018-07-29Make reviewed fixes; standardize on " + "Rangi
2018-07-29; entries correspond to PLAYEREVENT_* constantsRangi
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-18Make proper cmdqueue constantsmid-kid
2018-07-16Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)Rangi
2018-07-13Comments for ToggleMaptileDecorationsRangi
2018-06-28Add more collision nybble constantsRangi
2018-06-25Merge events_2.asm with events.asmRangi
(events_2.asm was only separate because scripting.asm intervenes; but other files have a similar "code / INCLUDE self-contained code / more code" structure to this)
2018-06-25No space between labels and bodiesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove more address commentsRangi
2018-06-24Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # engine/items/mart.asm
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time
2018-06-24NUM_GRASSMON * 2Rangi
2018-06-24NUM_WATERMONRangi
2018-06-24WATER_WILDDATA_LENGTHRangi
2018-06-24Remove all address commentsmid-kid
2018-06-04Merge branch 'master' of https://github.com/pret/pokecrystalmid-kid
2018-06-01Miscellaneous fixes in the use of _command constants.mid-kid
2018-05-24Function6ec1 → CanObjectMoveInDirectionRangi
2018-05-23Use constants moreRangi
2018-05-23Identify more sprite move data flag bitsRangi
2018-05-23Identify USE_OBP1_FRangi
2018-05-23WALKS_ON_WATER → SWIMMINGRangi
2018-05-23More sprite movement data flag constantsRangi
2018-05-23Use known sprite movement data flag constantsRangi
2018-05-06Fix rest of the givepokeitem/checkpokeitem referencesmid-kid
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-05Use constants for bit/set/res moreRangi
2018-04-05Use data/items/pocket_names.asmmid-kid
2018-04-04Merge branch 'master' of https://github.com/pret/pokecrystalRangi
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-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-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.