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

Exposing/Expanding tables Relevant to Trainer Class; Editable TM palettes; Editable Hidden items #285

Open
wants to merge 26 commits into
base: move-dev
Choose a base branch
from

Conversation

Charliexox
Copy link
Contributor

@Charliexox Charliexox commented Jun 28, 2024

  • Expanded Music tables (trainerclassbattle, maintablescombo, pokemonbattle, sTrainerEncounterMusicParam)
  • Repointed Music tables, trainergenders, Prize Money
  • Added constants file for trainerclass, sndseq, trainer_data
  • Exposed Music tables, trainergenders, Prize Money
  • Appropriate credits assigned to Adastra, Bagboy, Senate, Mikelan
  • Trainerclassbattle table tested and working
  • Pokemonbattlemusic table tested and working
  • Maintablescombo table tested and working
  • Prizemoney table tested and working
  • Trainerencountermusic table tested and working
  • Trainergenders table tested and working

Issue where Will (possibly other trainerclasses?) has all pokemon stay female even when gender is changed to male. Possibly related to following compile error
image
This issue shouldn't prevent merge, compile or future trainerclass expansion. It's beyond my understanding so I will leave it there for this PR.

Future tasks: Trainerclass expansion, trainer sprite expansion


Fully iterated TM_Palettes asm implementation (with permission from and thanks to drayano)
Fully iterated Hidden_Items asm implementation (with permission from and thanks to drayano)

Add extended ranges to 
- trainer class music table
- maintable combo 
- pokemon battle music table
- sTrainersEncounterMusicParam
Prize money column 1+2
Trainer genders
sTrainerEncounterMusicParam
Trainer Class Battle Music
MainTableCombo column 1+2
PokemonBattleMusic
Trainerclass constant file: Facilitates money/music tables working
Sndseq constant file: Facilitates SEQ_EYE trainerencountermusic working
Prizemoney table (Bagboy, Senate)
Trainergenders table 
Music tables x3 (AdAstra, Senate)
Credit for the code and related repoints/bytereplacements listed in brackets
Trainerencountermusicparam
Added credits for AdAstra, Bagboy, Senate
Added relevant credits to Mikelan
Fixed Will gender to match vanilla value
Reformatted SEQ_EYE table into c code format and moved to src
Made the trainerclasses consistent with base hg-e
Moved define to a constant file
Added new define fine
Added include for new constant file
This array now contained in pokemon.c
Added sTrainerGenders array and hooked TT_TrainerTypeSexGet function
Added hook, hooked in pokemon.c
Removed linker, now hooked in pokemon.c
Copy link
Owner

@BluRosie BluRosie left a comment

Choose a reason for hiding this comment

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

just a few things. let me know if you have any questions or want me to take over from here! will also be doing the trainer sprite expansion on this before merging

Copy link
Owner

Choose a reason for hiding this comment

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

looks like this file is extraneous to the c file that defines this below (and in fact is not built by the makefile)

Copy link
Owner

Choose a reason for hiding this comment

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

are these like trainer classes and songs? what are the constants here?

src/pokemon.c Outdated Show resolved Hide resolved
Copy link
Owner

Choose a reason for hiding this comment

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

what are these combos in reference to? the other table?

Copy link
Owner

Choose a reason for hiding this comment

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

may be worth it to do constants for combos. if you're willing to take some time to explain all of these tables to me, i'd love to run through this and define everything needed

Prevents misalignment
Drayano's tm pallete expansion with iteration for all 100 TMs
Add include data for tm_palettes.s
@Charliexox Charliexox changed the title Exposing/Expanding tables Relevant to Trainer Class Exposing/Expanding tables Relevant to Trainer Class, Also editable TM palettes Sep 28, 2024
Drayano's hidden item asm editor with iteration for all hidden items and comments on their locations
Add include data for hidden_items.s
@Charliexox Charliexox changed the title Exposing/Expanding tables Relevant to Trainer Class, Also editable TM palettes Exposing/Expanding tables Relevant to Trainer Class; Editable TM palettes; Editable Hidden items Oct 20, 2024
@Aeliko Aeliko added enhancement New feature or request build system Issue with Build System code graphics Issue related to graphics/sprites labels Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build system Issue with Build System code enhancement New feature or request graphics Issue related to graphics/sprites
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants