diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-18 00:06:34 -0400 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-07-18 00:06:34 -0400 |
| commit | 9768ee22296951f4b05151d6d96accb199b89ef1 (patch) | |
| tree | 3767345f854f7871284b99efbccc346fcd1a22cb | |
| parent | 817eebe12ddb905fae814a8c88ba609e480094d1 (diff) | |
New landmark macro
| -rw-r--r-- | Add-a-new-map-and-landmark.md | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Add-a-new-map-and-landmark.md b/Add-a-new-map-and-landmark.md index f6855e1..96ffa63 100644 --- a/Add-a-new-map-and-landmark.md +++ b/Add-a-new-map-and-landmark.md @@ -349,13 +349,14 @@ Now edit [data/maps/landmarks.asm](../blob/master/data/maps/landmarks.asm): ```diff Landmarks: ; entries correspond to constants/landmark_constants.asm - landmark 0, 0, SpecialMapName + dbbw 0, 0, SpecialMapName + landmark 140, 100, NewBarkTownName ... - landmark 58, 108, RadioTowerName -+ landmark 52, 108, GlobalTerminalName - landmark 60, 92, Route35Name + landmark 50, 92, RadioTowerName ++ landmark 44, 92, GlobalTerminalName + landmark 52, 76, Route35Name ... - landmark 148, 132, FastShipName + landmark 140, 116, FastShipName NewBarkTownName: db "NEW BARK¯TOWN@" ... @@ -363,7 +364,7 @@ Now edit [data/maps/landmarks.asm](../blob/master/data/maps/landmarks.asm): +GlobalTerminalName: db "GLOBAL¯TERMINAL@" ``` -The two numbers passed to the `landmark` macro are the X and Y coordinates on the Town Map. +The two numbers passed to the `landmark` macro are the X and Y coordinates on the Town Map, in pixels from the top-left corner of the screen. Note the use of "¯" in some landmark names. That character gets treated as a line break in the Town Map, but as a space in pop-up location name signs. |
