From c435afb5f828445a4f0a0198caf4aa4b7e1968f6 Mon Sep 17 00:00:00 2001 From: Kavanaugh Latiolais Date: Fri, 9 Feb 2024 03:50:45 -0600 Subject: [PATCH] Adding line numbers to objects clear-oam (#77) --- src/part2/objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part2/objects.md b/src/part2/objects.md index bdf4513a..ef79450c 100644 --- a/src/part2/objects.md +++ b/src/part2/objects.md @@ -45,7 +45,7 @@ First off, when the Game Boy is powered on, OAM is filled with a bunch of semi-r Let's fix that by first clearing OAM before enabling objects for the first time. Let's add the following just after the `CopyTilemap` loop: -```rgbasm +```rgbasm,linenos,start={{#line_no_of "" ../../unbricked/objects/main.asm:clear-oam}} {{#include ../../unbricked/objects/main.asm:clear-oam}} ```