diff options
author | Vashy777 <91335761+Vashy777@users.noreply.github.com> | 2021-10-07 12:48:55 -0600 |
---|---|---|
committer | Vashy777 <91335761+Vashy777@users.noreply.github.com> | 2021-10-07 12:48:55 -0600 |
commit | acb4d4a2e4c844b1de6f66c0f2650d758f41bd99 (patch) | |
tree | 419b64527cacc1ea078392db744662c1049dccee | |
parent | 8b2c0c242f4057420d8c3aeecfcb5b7092abce72 (diff) |
Updated Add a new map and landmark (markdown)
-rw-r--r-- | Add-a-new-map-and-landmark.md | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/Add-a-new-map-and-landmark.md b/Add-a-new-map-and-landmark.md index 1c9dfe9..0071ab1 100644 --- a/Add-a-new-map-and-landmark.md +++ b/Add-a-new-map-and-landmark.md @@ -273,7 +273,7 @@ Edit [data/maps/maps.asm](../blob/master/data/maps/maps.asm): ... +MapGroup_GlobalTerminal: -+ map GlobalTerminalOutside, TILESET_JOHTO_MODERN, ROUTE, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE ++ map GlobalTerminalOutside, TILESET_JOHTO_MODERN, ROUTE, LANDMARK_GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE + map GlobalTerminal1F, TILESET_RADIO_TOWER, INDOOR, GLOBAL_TERMINAL, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE ``` @@ -289,7 +289,7 @@ The `map` macro defines these different properties: - `ENVIRONMENT_5`: Neither outdoors nor indoors. Can't use the Bicycle. - `GATE`: Indoors. Won't show pop-up location name signs. - `DUNGEON`: Indoors. Can't use the Bicycle. Can use Dig or Escape Rope just like `CAVE`. -- **location:** Which landmark corresponds to the map. This affects where you appear on the Town Map and what the pop-up location name sign will say. Note that the `GLOBAL_TERMINAL` landmark hasn't been defined yet; we'll do that later. +- **location:** Which landmark corresponds to the map. This affects where you appear on the Town Map and what the pop-up location name sign will say. Note that the `LANDMARK_GLOBAL_TERMINAL` landmark hasn't been defined yet; we'll do that later. - **music:** What music plays on the map. Some music constants can have unusual behavior; if a map plays the wrong music, you can [correct this design flaw](../blob/master/docs/design_flaws.md#music-ids-64-and-80-or-above-have-special-behavior). - **phone service flag:** `TRUE` if Pokégear phone service is disabled, otherwise `FALSE`. - **time of day:** Controls the color palette. One of `PALETTE_AUTO`, `PALETTE_MORN`, `PALETTE_DAY`, `PALETTE_NITE`, or `PALETTE_DARK`. `PALETTE_AUTO` is based on the actual time of day. `PALETTE_DARK` requires Flash. @@ -341,13 +341,12 @@ Edit [constants/landmark_constants.asm](../blob/master/constants/landmark_consta ```diff ; Landmarks indexes (see data/maps/landmarks.asm) const_def - + const LANDMARK_SPECIAL ; 00 ; Johto landmarks - const SPECIAL_MAP ; 00 ... - const RADIO_TOWER ; 11 -+ const GLOBAL_TERMINAL - const ROUTE_35 ; 12 + const LANDMARK_RADIO_TOWER ; 11 ++ const LANDMARK_GLOBAL_TERMINAL + const LANDMARK_ROUTE_35 ; 12 ... ``` |