diff options
author | mattcit <75325566+mattcit@users.noreply.github.com> | 2020-12-01 16:24:06 -0500 |
---|---|---|
committer | mattcit <75325566+mattcit@users.noreply.github.com> | 2020-12-01 16:24:06 -0500 |
commit | b8b75dbfdfa8bb51210d4dcf400919ad7ae13d71 (patch) | |
tree | cce61b3b0ecb54c3eb0fe0914877bbf90bb6366f | |
parent | ca33458b56a8517e2c8c247e2d65afe9d40ee877 (diff) |
fixing code boxes that don't show highlighting
-rw-r--r-- | Add-a-New-Map-to-the-Game.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Add-a-New-Map-to-the-Game.md b/Add-a-New-Map-to-the-Game.md index 100ce29..c12fe19 100644 --- a/Add-a-New-Map-to-the-Game.md +++ b/Add-a-New-Map-to-the-Game.md @@ -79,7 +79,7 @@ TestMap1_Object: Remember that line I told you to remember earlier? You need to find that line in this file, and then replace it: -``` +```diff - db $11 ; UNUSED_MAP_F4 + db BANK(TestMap1_h) ``` @@ -90,7 +90,7 @@ You don't have to use 'UNUSED_MAP_F4', you can replace any map including maps th Just like the last file, find the corresponding line and then replace it: -``` +```diff - dw SilphCo2F_h ; UNUSED_MAP_F4 + dw TestMap1_h ``` @@ -112,7 +112,7 @@ As far as I can tell, these two parts are required, even if you have no scripts We need to include our map's files in this list somewhere. I decided to add mine after the last map in the file, which is Agataha's Room. Look for the line *AgathasRoom_Blocks: INCBIN "maps/AgathasRoom.blk"* and add the following underneath: -``` +```diff INCLUDE "data/maps/headers/AgathasRoom.asm" INCLUDE "scripts/AgathasRoom.asm" INCLUDE "data/maps/objects/AgathasRoom.asm" @@ -132,14 +132,14 @@ You'll need to find and replace any references to the map you've been replacing. For example, I've been replacing 'UNUSED_MAP_F4', so I need to edit the following lines: -``` +```diff - dw UnusedMapF4HS + dw NoHS ``` Later in the file, delete the following lines: -``` +```diff -UnusedMapF4HS: - db UNUSED_MAP_F4, $02, SHOW ``` |