Skip to content

Use OAM constants#157

Merged
Rangi42 merged 2 commits into
pret:masterfrom
PokefanMarcel:patch-1
Jun 21, 2026
Merged

Use OAM constants#157
Rangi42 merged 2 commits into
pret:masterfrom
PokefanMarcel:patch-1

Conversation

@PokefanMarcel

Copy link
Copy Markdown
Contributor

No description provided.

@Rangi42 Rangi42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! While you're editing the file anyway, a couple of requests:

  • Just use 0 instead of OAM_PAL0; it's more consistent with how the GBC disassemblies use plain 0-7 for palette indexes (unless they're for specific palette tables like the overworld tiles or battle anims).
  • Please use base 10 for the X and Y coords, e.g. 4 not $04 and -4 not $fc.

@PokefanMarcel

Copy link
Copy Markdown
Contributor Author

Thanks for the feedback! I also tried some relabelling. Let me know if there's something else.

@Rangi42 Rangi42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@Rangi42 Rangi42 merged commit 7caf2e0 into pret:master Jun 21, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants