summaryrefslogtreecommitdiff
path: root/constants.asm
AgeCommit message (Collapse)Author
2021-03-04Verify data table sizes with table_width and assert_table_length macrosRangi
This was discussed in #706 It also uncovered some off-by-one issues with defining some constants. A few structs now use rsreset/_RS to define their offset constants, as discussed in #739
2020-07-06add_tm, add_hm, and add_mt define TM##_MOVE, HM##_MOVE, and MT##_MOVE ↵Rangi
constants, to avoid repeating the move names in tmhm_moves.asm
2020-06-10Resolve #723: treat std scripts like specials and predefsRangi
2020-04-17Use a separate build object to check the rgbds versionRangi
rgbdscheck.o is built without passing potentially non-backwards-compatible flags to rgbasm. Resolves #710.
2020-04-06Enable rgbds warnings and remove CFLAGS=-O2 (default is now -O3)Rangi
2020-04-04Upgrade to rgbds 0.4.0Rangi
- fail for rgbds < 0.4.0 - `rst <Label>` - `ds <count>, <byte>` - `shift <N>` - ASCII "\r" - Sorted .sym file
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-06-23Separate Mart constants from item data constantsRangi
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-26Separate map object constants for easier editingRangi
2018-01-25Move some more constants out of misc_constants.asmRangi
2018-01-17Partially document SGB data from pokeredRemy Oukaour
2018-01-14Merge branch 'master' of https://github.com/mid-kid/pokecrystal (resolve PR ↵Remy Oukaour
#452) # Conflicts: # data/player_names.asm # engine/battle/menu.asm # engine/billspc.asm # engine/billspctop.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/delete_save_change_clock.asm # engine/events/buena.asm # engine/events/elevator.asm # engine/events/kurt.asm # engine/events/mom.asm # engine/events/move_tutor.asm # engine/events/pokecenter_pc.asm # engine/events/pokepic.asm # engine/events/std_scripts.asm # engine/events/unown_walls.asm # engine/init_gender.asm # engine/intro_menu.asm # engine/mail.asm # engine/main_menu.asm # engine/mart.asm # engine/menu_2.asm # engine/mon_menu.asm # engine/pack.asm # engine/slot_machine.asm # engine/start_menu.asm # home/menu.asm # maps/CeladonDeptStore6F.asm # maps/CeladonGameCornerPrizeRoom.asm # maps/DragonShrine.asm # maps/EarlsPokemonAcademy.asm # maps/GoldenrodCity.asm # maps/GoldenrodDeptStore6F.asm # maps/GoldenrodGameCorner.asm # maps/GoldenrodPokeComCenter2FMobile.asm # mobile/mobile_12.asm # mobile/mobile_12_2.asm # mobile/mobile_22.asm # mobile/mobile_22_2.asm # mobile/mobile_40.asm # mobile/mobile_45.asm # mobile/mobile_45_sprite_engine.asm # mobile/mobile_46.asm # mobile/mobile_5c.asm # mobile/mobile_5f.asm # mobile/mobile_menu.asm
2018-01-14Use constants for menu flagsmid-kid
Added a bunch of constants for the bitflags of each kind of menu. Some are slightly vague or too long, but I'm not sure how to else name them.
2018-01-09Eliminate version.asm (resolves #464)Remy Oukaour
2018-01-09includes.asm → constants.asmRemy Oukaour
2018-01-07constants.asm and includes.asm are redundantRemy Oukaour
2018-01-07Reorganize some macrosRemy Oukaour
* tileset data macros go atop their related files, like all the ones in data/ * charmaps are not macros
2017-12-26Correct documentationRemy Oukaour
Split out text_constants.asm
2017-12-26Separate constants in a consistent wayRemy Oukaour
2017-12-26Use "battle_anims" and "sprite_anims" for clarity, not just "anims"Remy Oukaour
2017-12-26Split battle/ into data/ and engine/ componentsRemy Oukaour
2017-12-25Follow the X_constants/X_data_constants conventionRemy Oukaour
2017-12-15Copy pokered's organization some more, with further constant and data filesRemy Oukaour
2017-12-15Start documenting effect commandsRemy Oukaour
2017-12-12Define constants for collision typesRemy Oukaour
2017-12-12Separate sprite constants and sprite-related data constants, like Pokémon ↵Remy Oukaour
and maps
2017-12-11Comments distinguish "move effects" and "effect commands"Remy Oukaour
Effect command enums are used like constants, not macros
2017-12-11Map dimensions are separate from other constants, same as pokemon_constants ↵Remy Oukaour
vs pokemon_data_constants
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-09Separate file for mobile constantsRemy Oukaour
2017-11-20Move all of constants/sram_constants.asm into srammid-kid
This way we can easily use `BANK()` where appropriate, and it is more tidy.
2016-05-11Name all printer functionspikalaxalt
2015-12-26More mobile-related labels; remove unneeded map object constantsPikalaxALT
2015-12-07audio flag constantsPikalaxALT
2015-12-07cry constantsPikalaxALT
2015-11-16Options menu, some mobile fnsPikalaxALT
2015-11-03Battle TowerPikalaxALT
2015-10-29No more -bash000; engine/movement.asm, SPRITEMOVEFNPikalaxALT
2015-10-24About time I got to these functionsPikalaxALT
2015-10-17Restructured functions in main.asm to resemble the home functions they clonePikalaxALT
2015-07-22Various annotationsPikalaxALT
Annotated the SGB functions in predef/sgb.asm, and some of the map scripts. Renamed several functions in home. Renamed six WRAM addresses corresponding to party icon animations, and renamed several others relative to these.
2015-07-19Finished the decoration attributes tablePikalaxALT
Interpretation of the Decoration Attributes table is complete. Other changes include some more event flag and function naming, as well as a minor tweak to the person_events of every map.
2015-07-15More enumeration of constants, more annotations of scripts.PikalaxALT
2015-07-03- Renamed "Functiond283" to "GetPocketCapacity" and updated the pointers and ↵Scott Norton
constants to better reflect their hypothesized purposes. - Using yenatch's version of the macro and constant handling, rewrote the tmhm bit array as a macro-defined environment.
2015-06-23Begin enumerating std_scripts constants.IIMarckus
2015-06-23Remove trailing newlines.IIMarckus