HM Items

Resource HM Items

Marin

kinda done
Administrator
Posts
313
#1
Marin submitted a new resource:

HM Items - Replace HMs with Items without having to do any coding. Plug-and-play.

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...
Read more about this resource...
 

BIGFriv

People call me adorable for some reason.
Member
Posts
17
#2
I've got a question, can HM moves still be used?
If I want to have both HM items and normal HM moves.
 

Marin

kinda done
Administrator
Posts
313
#3
I've got a question, can HM moves still be used?
If I want to have both HM items and normal HM moves.
It depends on the HM. Cut, Strength, Fly and Rock Smash would probably still work if you made a small modification (see below), but Surf most likely can't be. It overrides certain mechanics and messages to work with items instead.

These types of lines are what disable HMs:
Code:
HiddenMoveHandler::CanUseMove.delete(:CUT)
HiddenMoveHandler::UseMove.delete(:CUT)
If you deleted these lines, the HM would become usable again. There's no telling if it'll actually work or not, though. I didn't make this resource with the intention of keeping HMs functional (since that's kind of not the point :P)
 

Anuran

Novice
Member
Posts
44
#4
I asked u how to change flash into an item flashlight and u made it for all and public thanks man, u r the best.
 

Marin

kinda done
Administrator
Posts
313
#6
This is a nice resource, it's quite helpful. Before you needed to define the item, define it in the script editor, it really helps the user to not have to do those things.
I just wanted to mention that Dig also has a function.
Totally forgot Dig, I’ll see what I can do for that too.
 

Atlas22b

Rookie
Member
Posts
5
#7
Works great! Only problem is that the Fly Item doesn't seem to work when registered. I press 'F', select my Fly Item, and press 'C', and nothing happens. Any idea how to fix this? Thanks! =D
 

pkthedragon

Fierce Melody Fakemon Designer
Member
Posts
5
#12
Why does it works even if the protagonist doesnt have the item yet?Did I do something wrong?
It'll work in debug mode regardless of whether you have the item, much like how hms will work in debug mode whether the player has a pokemon that can use it or not.
 

Sturdy Ghost

Novice
Member
Posts
11
#14
I am having issues with it, I can get the script to basically work as when I go up to a rock it will say I can break it with an item rather than a pokemon so its copied over and going. I also am defining the item as described and give myself said item but after I have said item it just keeps giving me the prompt of I may be able to break it with an item even though I already have it.
 
Posts
3
#15
My Fly HM isn't working. I pull up the map and click on my fly destination but then nothing happens. I tried removing the script and using the HM for fly but that didn't even work.
 
Top