- 971
- Posts
- 7
- Years
- Age 22
- Seen Nov 28, 2022
If you're getting tired of using HMs, this resource allows you to bind HM effects to items instead.
This currently has functionality for the following HMs:
Installation
First off, define the items in your items.txt PBS. They should have this format:
By default, the internal names the script uses are SURFITEM, FLYITEM, ROCKSMASHlTEM, etc. You can change this at the top of the script to whatever you'd like, as long as those items do in fact exist.
Next, put this code in a new script section above the Main script:
HM_Items
When the game starts up, make sure the game has compiled and includes your newly defined items.
That should be it. I'm planning on doing this same thing for Flash, Headbutt, Sweet Scent, and Rock Climb later on.
This currently has functionality for the following HMs:
- Rock Smash
- Cut
- Surf
- Fly
- Strength
Installation
First off, define the items in your items.txt PBS. They should have this format:
Code:
id,internalname,name,pluralname,8,0,"description",2,0,6,
By default, the internal names the script uses are SURFITEM, FLYITEM, ROCKSMASHlTEM, etc. You can change this at the top of the script to whatever you'd like, as long as those items do in fact exist.
Next, put this code in a new script section above the Main script:
HM_Items
When the game starts up, make sure the game has compiled and includes your newly defined items.
That should be it. I'm planning on doing this same thing for Flash, Headbutt, Sweet Scent, and Rock Climb later on.
Last edited: