Ihave a quick question - when it says BADGEFORDIVE can that be changed to BADGEFORDIG and have dig replace dive as an HM? It would take some scripting I'm sure so any help is appreciated.
I imagine you can, but you'd have to be really careful you make all the right changes.
Also, following playing Pokemon ranger I have been throwing an idea around and I - being a noob scripter - was wondering if it was possible: Can it be made that HMs, rather than being a physical item, are rather an ability that is permanently unlocked by a person, allowed by a badge and usable by any Pokemon who could learn the move at any time?
i.e. I beat a gym that allows SURF. An aide tells me that the professor wants me, and that the easiest way to get back is by surfing across a river, so he teaches me how to surf. From now on, provided I have a Pokemon with me that previously would have been taught the SURF HM - say Blastoise - I can now surf whenever i like. However if I was to put Blastoise into the box and my party now consisted of Pidgey and Oddish I could no longer surf until I had a Pokemon who was able.
It would remove the need for HM slaves and also free up move slots for a team. The HMs themselves could be rendered as regular moves, and the new 'abilities' could be listed in a sub window of the trainer card or something.
This is possible, yes. I've done it for Fly, but the concept can easily be expanded to the other HMs.
In
PokemonHiddenMoves, you'd need to change each instance of the line "
movefinder=Kernel.pbCheckMove(:STRENGTH)" (and similar) to a check for whether you're carrying any of the Pokémon in an array.
That takes care of how the moves actually work, but you'll also want the moves to appear in the party screen when you select a Pokémon.
In PokemonScreen, find the part that adds the hidden moves to the list of options (around line 1208). Replace this with a much larger chunk of code that contains arrays for each hidden move (like you made before), and checks to see if the selected Pokémon is mentioned in any of those arrays. If it is, add the corresponding option to the list.
This is just a brief overview of what you should do. Actually doing what I described is a lot more involved, and requires a decent amount of knowledge of scripting. The point is that it is possible.
I'm having exactly the same problem.. but I don't have access to older versions. Is there anywhere I can obtain the older versions of the Pokédex script, or can anyone help here?
Much appreciated, thanks.
Pokémon Essentials, version 3rd February 2009. However, this may be a little
too old for you, so it may not work either but in a different way.