Conversation
|
Ready for review. ID's above 0x00C7 are unused |
EvelynTSMG
left a comment
There was a problem hiding this comment.
I'm going to assume the ids are correct; they're easy to update anyway.
Thank you! I just have a few suggestions :3
Don't implement the id suffix one immediately as @fkelava might disagree; we'd have to talk it out so it's best to wait a bit.
|
As noted by Rurusachi over on Discord, these prize ids are not constant, but dynamic; the items they give differs based on the contents of For ids 0-99 (0-46): For ids 101-199:
For id 286: For ids 287-289:
In light of this, I think we should close this PR and the associated issue. Update: The focus of this PR has shifted to account for this. It is now more than welcome. |
|
Refactored to utilize defined enums for techs & limits, and provide access functions to retrieve the relevant prize index value based on a treasure index (from takara.bin), tech or limit. |
EvelynTSMG
left a comment
There was a problem hiding this comment.
I found some time to review this and Github's format helped me understand what was suggested in Discord.
I have some changes I'm suggesting, but nothing too big.
Also a question to @fkelava.
| * BlitzPrizeID 0x00 -> 0x64 == Takara.bin 220 -> 320 | ||
| * BlitzPrizeID 0x65 -> 0xA0 == Techs | ||
| * BlitzPrizeID 0xBB -> 0xBD == Wakka Overdrives |
There was a problem hiding this comment.
Doesn't 0 -> 100 look nicer? 101 -> 160 isn't too bad and Wakka's overdrives are arbitrary either way.
There was a problem hiding this comment.
If this is the case, would you prefer the enums to be changed to decimal instead of hex as well?
I used hex here because I was also using that throughout the rest of the file/s, for consistency
There was a problem hiding this comment.
Sure. I'm frankly not sure you even need to specify the values for every variant, but continue to do so
|
Review comments either resolved or replied to |
EvelynTSMG
left a comment
There was a problem hiding this comment.
Two discussions remain unresolved:
#110 (comment)
#110 (comment)
|
I was waiting for further feedback regarding decimal vs hex. |
|
Discord discussion context provided for #110 (comment) |
EvelynTSMG
left a comment
There was a problem hiding this comment.
This is fine.
Thank you for the contribution, take care 🩷
Resolves #109
Raising as draft until entire prize index is mapped