Skip to content

Memory consts - #268

Merged
Retnuhytnuob merged 20 commits into
pret:masterfrom
Retnuhytnuob:mem_consts
Sep 27, 2026
Merged

Retnuhytnuob merged 20 commits into
pret:masterfrom
Retnuhytnuob:mem_consts

Conversation

@Retnuhytnuob

@Retnuhytnuob Retnuhytnuob commented Sep 19, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Adds constants for the address and memory size of the VRAM data for various modes.

  • Full for: High Score, Intro, Options, Pokedex
  • Full for shared HUD/pause/debug : BG 0 layer
  • Full for all boards.

Renames:

  • BG tilemaps (and files) to match their correct layer, rather than their sequence in the board file.
  • files/variables related to the pika kickback tiles.
  • se_ruby_bumper_hit -> se_bumper_hit (used for bumpers on both boards)
  • scoreOverlayActive -> cutsceneBackdropBarActive (context correction)
  • ballLaunchSpeed -> prevScrollYTileIx (usage has been traced)
  • scrollEffectY - scrollEffectYpx (defines precision scale)
  • shopSignFrame -> sapphireShopSignFrame (narrowing scope)
  • catchHoleTileVariant -> sharpedoNextTilelIx (clarity for which catch hole)
  • bossVulnerable -> bossNextFrameId (not just vulnerability related; general animation)
  • pauseScoreOverlayActive -> pauseCutsceneBackdropBarActive. (Whether or not there is a cutscene bar active when the pause button is pressed - That bar blacks out)
  • savedScoreOverlayActive -> savedcutsceneBackdropBarActive (as with previous entry)
  • gPokemonNameDisplayGfx -> gMartEvoForegroundMenuUx_Gfx (Name does end up drawn on that display, but it has a larger context than just the name)

Discord username

retnuhytnuob

@Retnuhytnuob

Copy link
Copy Markdown
Collaborator Author

Full consts set for VRAM mem address and SizeOfTiles have been added for all boards.

@Retnuhytnuob
Retnuhytnuob marked this pull request as ready for review September 26, 2026 08:15
@Retnuhytnuob
Retnuhytnuob merged commit c181818 into pret:master Sep 27, 2026
1 check 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.

1 participant