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

Added a macro to flush the text box in battles #3442

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

LOuroboros
Copy link
Collaborator

Description

I came up with the thought to replace the bunch of printstring STRINGID_EMPTYSTRING3 and waitmessage 1 commands that we're using to flush the text box in battles with a macro, so I did it.
Not only it makes the code that composes the affected battle scripts slightly more readable, it reduces the number of lines in the file. Granted, it's not a huge gain, but it's still a gain in the end.

Discord contact info

lunos4026

@LOuroboros LOuroboros marked this pull request as ready for review October 21, 2023 20:32
Copy link
Collaborator

@mrgriffin mrgriffin left a comment

Choose a reason for hiding this comment

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

Nice! These small readability wins add up! :)

@mrgriffin mrgriffin merged commit 551dc62 into rh-hideout:upcoming Oct 22, 2023
1 check passed
@LOuroboros LOuroboros deleted the flush branch October 22, 2023 21:25
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