summaryrefslogtreecommitdiff
path: root/macros
AgeCommit message (Collapse)Author
2021-01-03Merge last changes from pretklektron
2021-01-03and it's finally done :Dklektron
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
2018-03-16Break up pitchenvelope parameters into length and pitch changedannye
2018-03-16Made some changesEggy0
2018-03-16Update audio_macros.asmEggy0
2018-03-16Changing macro namesEggy0
Changing the following macro names: unknownsfx0x20 to SquareSound - This command, when used in an .asm file that defines an audio piece, generates a square tone modulated by 4 values. unknownnoise0x20 to NoiseSound - This command is similar to SquareSound, but it uses 3 values instead of 4 and generates noise instead of a square tone. unknownsfx0x10 to eSquarePitchEnvelope - This command is not an unknown sound effect, but a modifier for the above two commands which it precedes; it takes one decimal value which is translated into a hexadecimal value when used by the system, and depending on the second digit of this hex value the sounds generated by SquareSound and NoiseSound will have their frequency slide either up (1-7) or down (9-F) or not at all (0,8). E.g. typing 23 will have the system read $17, which will modulate the frequency to slide up because the second digit is 7.