summaryrefslogtreecommitdiff
path: root/audio/engine.asm
AgeCommit message (Collapse)Author
2021-03-11Verify script command table sizesRangi
2020-12-23Rename some labelsRangi
- Remove "Buffer" suffix from some byte and word quantities - Change "Ptr" to "Pointer" Fixes #789
2020-12-07Identified two magic numbers and cleaned up some comments (#783)aljohnston112
Improve the audio engine's comments and replace some magic numbers with constants
2020-10-28Replace many '; unused' with '; unreferenced'Rangi
2020-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-07-08Eliminate enum: use const instead, with case-by-case parallel const ↵Rangi
implementations
2020-06-29Identify more labels and constantsRangi
2020-06-13Label some mobile addresses, and revise some commentsRangi
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-01-06Merge branch 'master' into audio-macrosdannye
2019-11-18Make the map setup commands match the actual function names bettermid-kid
These functions used as map setup commands are used in other places, too, so I can't prefix them under the same. The names should match except I won't repeat "map" in a map setup command name.
2019-10-21Fix some mobile script and map sign thingsmid-kid
2019-09-02Update audio macros and argumentsdannye
and update related labels/constants/comments this fixes a lot of mistakes and maximizes compatibility with red
2019-04-19Identify some more WRAM labelsRangi
2018-12-09Format music macros like movement macrosRangi
2018-11-21Define first_music_cmdmid-kid
This replaces the uses of $d0 in the audio engine with proper constants.
2018-11-20Fix usage of endchannel_cmdmid-kid
2018-08-25Use labels instead of constants for HRAMRangi
Use explicit ldh instruction to access HRAM locations, don't rely on optimizing ld
2018-07-29Make reviewed fixes; standardize on " + "Rangi
2018-06-25Remove more triple newlinesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-24Remove all address commentsmid-kid
2018-06-05Fix DangetSoundHigh -> DangerSoundHighmid-kid
2018-06-04Clean up PlayDangermid-kid
2018-06-04Use structure constants for channel_structmid-kid
2018-05-20adc a, 0 → adc 0; fix commentsRangi
2018-04-05Use constants for bit/set/res moreRangi
2018-02-03Merge branch 'master' of https://github.com/pret/pokecrystalRangi
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
2018-02-02use "x + -1" not "x +- 1"Rangi
(TODO: use "x - 1" once rgbds allows it)
2018-01-23Prefix wram labels with w, part 2.luckytyphlosion
2018-01-23Prefix wram labels with w, part 1.luckytyphlosion
Handle edge cases first.
2018-01-16"CryHeader" → "Cry"; "Cry" → "MonCry"Remy Oukaour
2018-01-16Avoid "+- 1" at every maskbitsRemy Oukaour
2018-01-14Merge branch 'dev' of https://github.com/TheMostCuriousThing/pokecrystal ↵Remy Oukaour
(resolve PR #460) # Conflicts: # engine/battle/core.asm # engine/save.asm
2018-01-11Use maskbits some moreRemy Oukaour
2018-01-03WRAM1_Begin -> wd000Adelaide Walter
2017-12-29Consistently name unknown fields in macros/wram as FieldxxxCrystal
2017-12-25Resolve #428: Use `HIGH(X)` and `LOW(X)` instead of `X / $100` and `X % ↵Remy Oukaour
$100` or `X >> 8` and `X & $ff`
2017-12-16Ad some more constants for meaningful audio WRAM bitsRemy Oukaour
2017-12-15Move data/audio/ back into audio/Remy Oukaour
Keep trainer data together
2017-12-12Identify more sprite-related constantsRemy Oukaour
Start more documentation
2017-12-11More consistent data tablesRemy Oukaour
2017-12-11Move more data tables into data/ files.Remy Oukaour
2017-12-10Consistent code formatting: no redundant `a`s and spaces after commasRemy Oukaour
2017-12-09Start organizing WRAMRemy Oukaour
- Use db and dw when they're more meaningful than ds 1/2 - Use unions to group related labels
2017-12-09More constantsRemy Oukaour
2017-06-09Replace ‘jp [hl]’ with ‘jp hl’Ben10do
The former is arguably misleading (as you don’t access the memory location in hl to retrieve the jump location), and is consequently deprecated in newer versions of rgbds. This fix silences these deprecation warnings.
2016-09-27Person action and facing labels, part 1PikalaxALT
2016-07-29pitchoffset macro to replace forceoctavePikalaxALT
2016-05-11Placeholder non-generic names for engine/color functionspikalaxalt