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

Make item upgrades have an adaptive sprite #40

Open
Dinopony opened this issue Oct 4, 2022 · 1 comment
Open

Make item upgrades have an adaptive sprite #40

Dinopony opened this issue Oct 4, 2022 · 1 comment
Labels
feature New feature or request in-game Has to do with something in-game
Milestone

Comments

@Dinopony
Copy link
Owner

Dinopony commented Oct 4, 2022

By editing the global section from DATAS.BIN loaded on boot inside the RAM, we can dynamically change the sprite of an item. It would be interesting to incorporate inside func_alter_item_id instructions setting the sprite pointer value for that item upgrade.

It would basically do the same iterative process to find tier+2 instead of tier+1, and set the sprite for that item upgrade to this new item's sprite.

@Dinopony Dinopony added feature New feature or request in-game Has to do with something in-game labels Oct 4, 2022
@Dinopony Dinopony added this to the 1.3.0 milestone Oct 4, 2022
@Dinopony
Copy link
Owner Author

As suggested by Spiriax, it would also be cool to have the corresponding item name being displayed instead of having "X upgrade" displayed.

@Dinopony Dinopony reopened this Oct 15, 2022
@Dinopony Dinopony modified the milestones: 1.3.0, 1.4.0 Oct 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request in-game Has to do with something in-game
Projects
None yet
Development

No branches or pull requests

1 participant