summaryrefslogtreecommitdiff
path: root/engine/events
AgeCommit message (Collapse)Author
2019-01-18Fix map name frame calculationmid-kid
2019-01-15Document wSuicuneFramemid-kid
Also fixed inmediate in PlaceMapNameFrame.FillTopBottom to calculate the amount of loops required. (It fills two tiles in the first iteration, and four in the remaining, hence the `-2` and `+1` part).
2019-01-15Fix some constantsmid-kid
Glass ting SFX were added in crystal. PicAnimations and UnownAnimations are expected to be in the same bank as their pointers, because the pointers are not BANK()-referenced separately.
2019-01-12Say "BANK(Foo) ; aka BANK(Bar)" to clarify that Foo and Bar share a bankRangi
2019-01-03MON_NAME_LENGTH -> NAME_LENGTHRangi
2019-01-02Clean up some Odd Egg and Battle Tower code and dataRangi
Fixes #589
2018-12-26Fix comments around BANK() statementsmid-kid
Found a couple BANK()s that reference multiple labels.
2018-12-23Define RANDY_OT_IDRangi
2018-12-23Fix issue #581 (random stuff ax6 noticed)Rangi
2018-11-18Resolve issue #575: Rename text commandsRangi
2018-11-05text_jump → text_farmid-kid
The previous name for this was rather misleading. It isn't an actual jump like you'd expect the `jp` instruction to behave as. Instead, it behaves more like a `farcall`. This also makes it consistent with its current command ID name of `TX_FAR`.
2018-09-22Naming screen constantsRangi
2018-09-09wPreviousLandmark → wPrevLandmarkRangi
2018-09-09Curr -> CurRangi
2018-08-26hQuotient is a four-byte buffer (fixes #558)Rangi
2018-08-25Reorganize math-related HRAM union (ffb3)Rangi
2018-08-25hLabel - $ff00 -> LOW(hLabel)Rangi
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-29No wCurMove alias for wCurSpeciesRangi
2018-07-29wLuckyNumberDigitsBufferRangi
2018-07-29Add meaningful aliases for wd265Rangi
Introduce MONICON_* constants Introduce BATTLEPLAYERACTION_* constants
2018-07-27Merge branch 'master' of https://github.com/pret/pokecrystalmid-kid
2018-07-26Remove a documented bug that's not really a bugmid-kid
I mean, technically, being able to read beyond a data table's size is bad practice, but there's so many cases of this that it's not worth mentioning. For most of these cases, at least, it's safe to assume the index won't ever get high enough to surpass such a table's length, because it's either hardcoded or decided by the game without the use of uncontrollable data. As such, they don't expose any actual bugs.
2018-07-23StringCmp → CompareBytes; CompareLong → CompareBytesLongRangi
hStringCmpString[1/2] → h[EnemyMon/PartyMon1]Speed
2018-07-23Consistent routine naming convention: 'Foo' wraps '_Foo'Rangi
2018-07-22ANIM_MON_UNUSED → ANIM_MON_HOFRangi
2018-07-18Remove some more address commentsmid-kid
2018-07-16Fewer uses of 'Thing2 - Thing1' for sizeof(Thing)Rangi
2018-07-15More OAM coordinate consistencyRangi
2018-06-25Use specific constants for overwritten text tilesRangi
2018-06-25No space between labels and bodiesRangi
2018-06-25Single newline at the end of filesRangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing 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-24FISHGROUP_DATA_LENGTHRangi
2018-06-24Remove all address commentsmid-kid
2018-06-12Note which labels are only needed for locating banks (relevant to issue #485)Rangi
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-18Constants for PC menu indexesRangi
'db ' -> 'db '
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-05Use constants for bit/set/res moreRangi
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-25Organize the engine/ directory, take 3mid-kid
Renamed `title` to `movies`. Moved some functions from `engine/routines/` to their fitting directories, and cleaned up the base `engine/` directory. Moved `engine/pokemon/tmhm.asm` back to `engine/items/`. Made a new subdirectory: * engine/tilesets: Contains all map-related graphics routines.
2018-03-19Relabel some map-related WRAMRangi
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}