summaryrefslogtreecommitdiff
path: root/home/audio.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-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-26Comment, remove, or revise many unreferenced labelsRangi
2020-06-22Identify some more labelsRangi
2020-06-21Comment more ROM labels as unreferencedRangi
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-21Replace "Unreferenced" labels with "; unreferenced" commentsRangi
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-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
2019-01-12Say "BANK(Foo) ; aka BANK(Bar)" to clarify that Foo and Bar share a bankRangi
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-27Use :: for all global labels, not the GLOBAL keywordRangi
2018-06-25No space between labels and bodiesRangi
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-04Use structure constants for channel_structmid-kid
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-01-30Fix wVirtualOAM labels, part 2.luckytyphlosion
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-23Cry headers and map headers were eliminatedRangi
2018-01-22wStatusFlags/2 bit constantsRangi
2018-01-16"CryHeader" → "Cry"; "Cry" → "MonCry"Remy Oukaour
2018-01-16map_header → map_def; map_header_2 → map_dataRemy Oukaour
2018-01-14Merge branch 'master' of https://github.com/xCrystal/pokecrystal (resolve PR ↵Remy Oukaour
#459) # Conflicts: # data/items/descriptions.asm # data/sprite_anims/framesets.asm # engine/crystal_colors.asm # engine/events/kurt.asm # engine/events/special.asm # engine/events/std_scripts.asm # engine/events_3.asm # engine/item_effects.asm # engine/namingscreen.asm # engine/scripting.asm # engine/stats_screen.asm # engine/trade_animation.asm # home/audio.asm # main.asm # maps/BattleTower1F.asm # maps/BattleTowerBattleRoom.asm # maps/BurnedTowerB1F.asm # maps/ElmsLab.asm # maps/GoldenrodDeptStore5F.asm # maps/GoldenrodUnderground.asm # maps/HallOfFame.asm # maps/MahoganyTown.asm # maps/ManiasHouse.asm # maps/MobileBattleRoom.asm # maps/MobileTradeRoomMobile.asm # maps/RadioTower2F.asm # maps/Route35NationalParkGate.asm # maps/Route36NationalParkGate.asm # maps/Route39Farmhouse.asm # tilesets/palette_maps.asm
2018-01-10Resolve #461Remy Oukaour
2018-01-09Do a little cleanup towards issue #465Remy Oukaour
2018-01-02More unreferenced labels cleanupxCrystal
2017-12-28Prefix engine_flags wram addresses with wxCrystal
2017-12-26Rename: emote_headers, sprite_headers, cry_headers, gfx_headers, tileset_headersRemy 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
2016-05-28Fix PlaySFX priority commentBrandon Mulcahy
2016-04-10Local labels starting with capital letters are now decorated with a trailing ↵pikalaxalt
colon; remove trailing whitespace; globally correct line endings to UNIX style
2016-01-18Prepare to mergePikalaxALT
2016-01-12More WRAM tidyingPikalaxALT
2015-12-26Move effects; no more reloadmapmusic, returnafterbattlePikalaxALT
2015-12-01Break up engine/sprites.asm; address yenatch's commentsPikalaxALT
2015-11-20bgcoordPikalaxALT
2015-11-16More specials; bank 12 mobilePikalaxALT
2015-11-11More splits; map setup labelsPikalaxALT
2015-11-05Various labelsPikalaxALT
2015-07-21Move radio code to its own filePikalaxALT
2015-07-20Reverted ld_hl_pointer macroPikalaxALT
2015-07-20More label updates, moved predefs to new filePikalaxALT
Also named most of the engine and event flag constants.
2015-02-10Blind wram labels part 4.yenatch
2014-07-18Name cry functions in home.asm.yenatch
2014-07-18Rename the internal PlayCry function to _PlayCryHeader.yenatch