Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use constants for VBlank handlers #1123

Merged
merged 2 commits into from
May 23, 2024
Merged

Use constants for VBlank handlers #1123

merged 2 commits into from
May 23, 2024

Conversation

Rangi42
Copy link
Member

@Rangi42 Rangi42 commented May 22, 2024

Note that some constants would be different in G/S.

@mid-kid
Copy link
Member

mid-kid commented May 22, 2024

Looks great!

@@ -324,3 +324,16 @@ DEF DAYCARELADY_ACTIVE_F EQU 7
const UNLOCKED_UNOWNS_S_TO_W_F
const UNLOCKED_UNOWNS_X_TO_Z_F
DEF NUM_UNLOCKED_UNOWN_SETS EQU const_value

; hVBlank::
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wouldn't in this PR, but similarly how macros/wram.asm was renamed to macros/ram.asm we should probably rename this file to constants/ram_constants.asm if its going to hold constants used by hram.

Copy link
Member Author

Choose a reason for hiding this comment

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

To do in a subsequent PR!

home/vblank.asm Show resolved Hide resolved
engine/battle_anims/anim_commands.asm Show resolved Hide resolved
@Rangi42 Rangi42 merged commit de0d5c2 into pret:master May 23, 2024
1 check passed
@Rangi42 Rangi42 deleted the vblank branch May 23, 2024 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants