summaryrefslogtreecommitdiff
path: root/data/maps
AgeCommit message (Collapse)Author
2021-05-30Move the dbbw, dbww, and dbwww macros to legacyRangi
2021-03-16Revise some constant definitionsRangi
2021-03-10Define MAPGROUP_* constants and verify MapGroup_* table sizesRangi
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-10-26Comment, remove, or revise many unreferenced labelsRangi
2020-07-22Treat map setup commands like trade script commandsRangi
Fixes #736
2020-07-21Define NUM_FLYPOINTSRangi
2020-07-13Define map setup commands as macros like other script commandsRangi
2020-07-02Use STRCMP, not ==, to compare multi-character stringsRangi
2020-06-21Comment more ROM labels as unreferencedRangi
(Some unreferenced labels are above code which is still used via fallthrough!)
2020-06-16Harmonize some more symbols with pokegoldRangi
2020-04-30Miscellaneous updatesRangi
- `PREDEFPAL_00` -> `PREDEFPAL_ROUTES` (observed from `LoadSGBLayout.GetMapPalsIndex.route`) - `$0` -> `PLAYER` (standard person ID) - Fix some whitespace formatting
2020-03-21rgbds supports 'X - 1' instead of 'X + -1'Rangi
2020-03-15Add a `LANDMARK_` prefix to landmark constantsRangi
Resolves #697
2020-03-15Refactor flypoints to separate const definition from data usageRangi
2020-01-04Merge pull request #660 from mid-kid/masterRangi
Make the map setup commands match the actual function names better
2019-11-23Separate tilesets.o goes with pics.o and sprites.oRangi
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-11-03Rename TILESET_BATTLE_TOWER to TILESET_BATTLE_TOWER_INSIDERangi
2019-04-20Try to identify more of maps/unused/Beta*.blkRangi
2019-03-03Define constants for map event sizesRangi
2019-01-12Say "BANK(Foo) ; aka BANK(Bar)" to clarify that Foo and Bar share a bankRangi
2018-11-11Adapt macro based on suggestionsmid-kid
2018-11-10Finish new connection macromid-kid
Tried simplifying things a bit, although not nearly as much as I wanted. Ideally, we'd either have one of two situations: - A single set of calculations based on values depending on the direction of the connection - A bunch of "generic" calculations done before applying simple modifiers to them in the final `if` block Right now it's an icky mix of both and I'm not really sure what to make of it.
2018-11-06Make the `connection` macro simpler to usemid-kid
It now only takes one numerical parameter, which is the offset of the target map relative to the source map, much like in AdvancedMap. This makes it easier to make connections and avoids having to calculate these values by hand, and/or "mess with the values 'till it works", as many have been doing thus far. It's just one, easy-to-understand value. To convert from the old macro to the new macro, just take the fourth and the fifth parameter, and calculate `<4th_param> - <5th_param>`. The result is the value required for the new macro.
2018-10-31gfx/roofs/*.png filenames match ROOF_* constantsRangi
2018-07-07landmark macro includes the +8/+16 offsets for X/Y coordinatesRangi
2018-06-24Fix triple newlines left over from removing address commentsRangi
2018-06-25Remove even more address commentsmid-kid
That should be all of them this time
2018-06-24Remove all address commentsmid-kid
2018-03-19Relabel some map-related WRAMRangi
wMisc -> {wSurroundingTiles, wBoxPartialData, wLink_c608} wOverworldMap -> {wOverworldMapBlocks, wHallOfFamePokemonList}
2018-02-26Document more quirks and bugsRangi
2018-02-25Mention "HAUNTED HOUSE" (resolves #492)Rangi
2018-02-25Pokecom Center Admin Room -> OfficeRangi
2018-02-04Add ROOF_ constantsRangi
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-03map → map_id; map_def → map; map_data → map_attributesRangi
2018-02-03scene_def → scene_var (for "variable", like loadvar, copybytetovar, etc)Rangi
2018-01-31MobileTradeRoom matches MobileBattleRoomRangi
2018-01-31Add scene ID constants (TODO: meaningful names)Rangi
2018-01-30Simpler map connection macroRangi
2018-01-23Prefix wram labels with w, part 2.luckytyphlosion
2018-01-23"Speech" houses just have dialog NPCsRangi
2018-01-23Cry headers and map headers were eliminatedRangi
2018-01-23Rename some more mapsRangi
The Pokécom Center's .blk contains 1F and the Administration room, but the .asm script is just for the Admin room; 1F-related text and scripts are in GoldenrodPokecenter1F.asm. Presumably both map scripts shared the same .blk.
2018-01-23EcruteakHouse → EcruteakTinTowerEntranceRangi
2018-01-22KrissHouse → PlayersHouseRangi
2018-01-22Don't say "House" twiceRangi
2018-01-22wUnlockedUnowns engine flag constantsRangi
Use local labels for "End"ings
2018-01-18Only graphics data goes in gfx/Remy Oukaour
Introduce PALRGB_WHITE constant for $7fff