• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
HM Items

HM Items v1.0

Pokémon Essentials Version
v17.2 ➖
This resource can be installed via the Universal Plugin Installer.

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:
  • Rock Smash
  • Cut
  • Surf
  • Fly
  • Strength


Installation
First off, define the items in your items.txt PBS. They should have this format:
Code:
Expand Collapse Copy
id,internalname,name,pluralname,8,0,"description",2,0,6,

By default, the internal names the script uses are SURFITEM, FLYITEM, ROCKSMASHITEM, 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.
Credits
  • Marin
Author
Marin
Views
6,385
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Marin

Back
Top