Skip to content

Extracted gCapturePalette and gEvoItemPositions#215

Open
Bivurnum wants to merge 2 commits into
pret:masterfrom
Bivurnum:dump-batch
Open

Extracted gCapturePalette and gEvoItemPositions#215
Bivurnum wants to merge 2 commits into
pret:masterfrom
Bivurnum:dump-batch

Conversation

@Bivurnum
Copy link
Copy Markdown
Contributor

@Bivurnum Bivurnum commented May 8, 2026

Description

Extracted gCapturePalette (0x086ACF80) and gEvoItemPositions (0x086ACFA0)

Discord username

bivurnum

Comment thread data/rom_2.s

gCapturePalette:: @ 0x086ACF80
.incbin "baserom.gba", 0x6ACF80, 0x20
.byte 139, 66, 255, 127, 63, 62, 63, 62, 223, 0, 246, 122, 114, 102, 95, 123, 159, 118, 127, 117, 255, 75, 191, 11, 29, 11, 31, 0, 33, 4, 207, 61
Copy link
Copy Markdown
Member

@huderlem huderlem May 9, 2026

Choose a reason for hiding this comment

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

Palette data isn't a simple string of bytes like this. Instead, it's a sequence of u16, and each number is a RGB, where R, G, and B are each 5 bits. Ideally this would either be a .pal JASC file (see existing .pal files), or the palette would automatically be extracted from a .png graphics file, but it's unclear to me if there is a .png it could be extracted from.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Gotcha. Should I revert that one, then?

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