summaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2021-04-17Use rgbds 0.5.0 features:Rangi
- FOR loops - {interpolation} - REDEF EQUS - \# for all macro args
2021-04-13The 'def_trainers' macro checks that trainers' event flag bits are correct ↵Rangi
(#318)
2021-04-08Trim extra newlines from some filesRangi
2021-03-25Verify data table and name list sizes with assertion macrosRangi
Fixes #312
2021-02-23Simplify the def_warps_to macroRangi
2021-01-06The 'tmhm' macro adjusts to the number of TMs/HMsRangi
2020-11-14Fix file modesdannye
2020-11-05Sync home and macro code with pokeyellowRangi
2020-08-18Comments explain the def_warps_to macrosRangi
2020-08-17Implement def_warps_to in a simpler wayRangi
Instead of building a semicolon-separated "array" of warp_to coordinates in _WARP_TO_BUFFER, just declare a new EQUS for each one: _WARP_TO_NUM_1, _WARP_TO_NUM_2, etc. Then have def_warps_to output and PURGE each one of them.
2020-08-17Fix keyword capitalization and indentationRangi
2020-08-17Use def_warps_to macro for automatic warp_to entriesRangi
2020-08-17Use def_* macros for automatic map event countsRangi
2020-07-17Port dbsprite macro for OAM y,x,tile,attr data from pokecrystalRangi
2020-07-16Define constants for audio commandsRangi
2020-07-16Reformat map scripts' coordinate and movement dataRangi
'dbmapcoord' has X, Y order like other coordinate-related data macros
2020-07-14Don't compare strings with ==; use STRCMPRangi
2020-07-14Use a 'trainer' macro for trainers in scripts/Rangi
2020-07-14Clean up some data, using macros for multiline list entriesRangi
2020-07-09Use const_skip and const_next macros for brevityRangi
2020-07-09Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi
implementations
2020-07-07Identify SPRITESTATEDATA2_ORIGFACINGDIRECTIONRangi
2020-07-07Remove c1x*/c2x* comments, use struct offset constantsRangi
2020-07-07Sync coordinate macros with pokecrystalRangi
2020-07-07Use HIGH() and LOW()Rangi
2020-07-06callba/callab -> farcall/callfar; jpba/jpab -> farjp/jpfarRangi
2020-07-06Specify the ldh instruction, don't turn ld into ldhRangi
2020-07-06text_linkpromptbutton -> text_waitbuttonRangi
Fixes #260
2020-07-06Capitalize rgbds control structures (EQU/EQUS, IF/ELIF/ELSE/ENDC, REPT/ENDR, ↵Rangi
MACRO/ENDM, etc)
2020-07-05TM/HM constants named after movesRangi
2020-07-05Port pokecrystal's base data and tmhm structureRangi
To do: TM/HM constants named after moves
2020-07-05Identify wSpriteStateData1 and wSpriteStateData2 offsets, like pokeyellowRangi
2020-07-05Logical spacing in data/sgb/sgb_palettes.asmRangi
2020-07-04Port pokecrystal's formatting of text commands and special charactersRangi
2020-07-04Remove remaining raw $xxxx values, and replace "+ -1" with "- 1" (supported ↵Rangi
by rgbds 0.4.0)
2020-07-03Move more code from home.asm to home/Rangi
2020-07-03H_CONSTANTNAMES -> hConstantNamesRangi
2020-07-03Organize macros/ like pokecrystalRangi
While doing so I replaced the StopAllMusic macro with a SFX_STOP_ALL_MUSIC constant and applied it throughout the code.
2020-07-03Simplify map connectionsRangi
To do: Polished Map support for detecting the tileset
2020-07-03Reorganize constants/Rangi
To do: add comments associating constants with data and code
2019-09-03Rename dnote to drum_note and dspeed to drum_speeddannye
2019-08-25Make pitch_sweep pitch change argument consistent with the other signed ↵dannye
magnitude arguments
2019-08-18Finish cleaning up audio macro arguments and descriptionsdannye
break up arguments for stereo_panning and duty_cycle_pattern note_type fade is signed properly document arguments for vibrato, tempo, pitch_slide etc
2019-08-17Update labels to match new audio macro namesdannye
and synchronize engine_2 and engine_3 with engine_1
2019-07-28Use generic names for noise instrumentsdannye
coming up with satisfactory names is hard, besides this will improve compatibility with crystal
2019-07-27Update audio macro namesdannye
change audio channel numbers from 0-7 back to 1-8 change all note macros back to single note macro todo: fix comments with old macro names, update noise macros/instrument names
2018-07-08Avoid "Warning: Left shift of negative value" from rgbdsRangi
2018-06-22Updated the introPokeglitch
2018-03-19sfxnote parameter 1 is length, not dutydannye
also bumb submodule
2018-03-16Break up sfxnote parameters into duty, volume, volume change and pitchdannye