Skip to content

Add constants for trainer macro struct data - #598

Merged
Rangi42 merged 12 commits into
pret:masterfrom
Vortyne:patch-2
Aug 8, 2026
Merged

Rangi42 merged 12 commits into
pret:masterfrom
Vortyne:patch-2

Conversation

@Vortyne

@Vortyne Vortyne commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Easier understanding of dealing with this data struct. Also can track its size with TRAINER_STRUCT_SIZE. I was tripped up when modifying it because a magic number was used to navigate to the next trainer in the struct in home/trainers.asm.

Easier understanding of dealing with this data struct. Also can track its size with TRAINER_STRUCT_SIZE
Comment thread constants/trainer_data_constants.asm Resolved
@Vortyne

Vortyne commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Essentially when you lose it doesn't go to print any loss text ever, although it technically has an extra pointer stored. It could have been any sort of text, but based on the order could have been loss text.

Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved
@Rangi42

Rangi42 commented Aug 8, 2026

Copy link
Copy Markdown
Member

(GitHub is having issues with accepting the changes I commented...)

Comment thread home/trainers.asm Resolved
Comment thread home/trainers.asm Resolved

@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! Sorry for all the commits, batch merge wasn't working.

@Rangi42
Rangi42 merged commit ea49f47 into pret:master Aug 8, 2026
2 checks passed
github-actions Bot pushed a commit that referenced this pull request Aug 8, 2026
---------

Co-authored-by: Rangi <35663410+Rangi42@users.noreply.github.com>
@Vortyne
Vortyne deleted the patch-2 branch September 23, 2026 21:38
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