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

Add topic editing and the fruits of RE labor #190

Merged
merged 12 commits into from
Jun 3, 2023

Conversation

jonko0493
Copy link
Member

@jonko0493 jonko0493 commented Jun 3, 2023

Closes #99.

The headliner of this PR is the ability to edit topics. Specifically, topic names, linked scripts, and times can now be edited.

Notably, this does not include the ability to change topic types. This is because the type of the topic is inherently tied to its ID, which is actually an internal flag. Additionally, the work here helped figure out how to associate the duplicated main topics (ID + 40), so those are combined into one item, bringing the total topic count to 511 (510 topics present in-game + 1 dummy topic).

Doing the RE work here pulled back some other layers of what other things do, and unveiled that several other unknown values were also flags. Additionally, the nature of the GLOBAL command was revealed to actually be something that modifies "friendship levels" and thus has been renamed MODIFY_FRIENDSHIP.

@jonko0493 jonko0493 requested a review from WiIIiam278 June 3, 2023 04:30
@jonko0493 jonko0493 self-assigned this Jun 3, 2023
Copy link
Member

@WiIIiam278 WiIIiam278 left a comment

Choose a reason for hiding this comment

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

Just tested -- seems to work great! Amazing stuff :)

src/SerialLoops/Editors/TopicEditor.cs Outdated Show resolved Hide resolved
@jonko0493 jonko0493 merged commit 6bdd9a7 into haroohie-club:main Jun 3, 2023
@jonko0493 jonko0493 deleted the AddTopicEditing branch June 3, 2023 21:18
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.

Add topic editing
2 participants