gbdev / gbdev/gb-asm-tutorial

use SIZEOF(OAM) instead of 160 in part2 oam clearing loop

Open
#194 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Assembly
Stars
179
Forks
64
Avg merge
7d 22h
Merged PRs (30d)
1

Description

in https://gbdev.io/gb-asm-tutorial/part2/objects.html the oam is cleared by storing 160 in b as a counter.
I'd suggest using SIZEOF(OAM) here to show its existence and because ENDOF(OAM) is used just one line below and its more verbose.

Just an idea, thank you for your great work!! :)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.