Khayoz Posted August 25, 2013 Posted August 25, 2013 (edited) So i was looking around the net on Pokemon Essentials stuff and I found one of Ame's old threads on Pokecommunity on DW abilities on wild pokes. I was like "meh" and used the script in a random RPG maker XP poke game as a test and it works (I was finding Lightningrod Goldeens on top of Swift Swim and Water Veil). Doesn't work on ones you get from an event though... But maybe we can get 3 abilities at last? Edited August 25, 2013 by Khayoz Quote
Administrators Amethyst Posted August 25, 2013 Administrators Posted August 25, 2013 But... that's the script I'm currently using... ...could you paste the relevant section here, just to be sure? Quote
Khayoz Posted August 25, 2013 Author Posted August 25, 2013 (edited) I didn't put it as a script...rather I put it as a parallel process in the first town Events.onWildPokemonCreate+=proc {|sender,e| pokemon=e[0] if $game_switches[140] i=rand(3) pokemon.abilityflag=0 if i==0 pokemon.abilityflag=1 if i==1 pokemon.abilityflag=2 if i==2 end } ...And I turned on switch 140 at the start of the game after you name your character It's probably the long way around, but that's how I got it to work Edited August 25, 2013 by Khayoz Quote
Magus Posted August 25, 2013 Posted August 25, 2013 Whooooooohooooo go Khaoyz, if we can finally get three abilities that would be fantastic. Quote
Administrators Amethyst Posted August 25, 2013 Administrators Posted August 25, 2013 Oh, I see, it was the old way of doing that... Hm... I believe I would still preferred if we could get the current script repaired because that would apply to all events/trades/opposing pokemon as well... But perhaps I can set this in a common event as a temporary solution Quote
Khayoz Posted August 26, 2013 Author Posted August 26, 2013 (edited) Ame, I have a temporary solution for Pokemon obtained from in-game events. If you just tweak the one above a bit and stick it in place of the normal pbAddPokemon script in the event it should work e.g. poke=PokeBattle_Pokemon.new(:GOLDEEN,10,$Trainer) pbAddPokemon(poke) i=rand(3) poke.setAbility(0) if i==0 poke.setAbility(1) if i==1 poke.setAbility(2) if i==2 I've only tried this on Pokes with 3 abilities at the moment, though. But it should work on those with 2... Edited August 26, 2013 by Khayoz Quote
Khayoz Posted August 26, 2013 Author Posted August 26, 2013 d...does this mean.... Hustle Nidorans? Hopefully! Quote
Administrators Amethyst Posted August 26, 2013 Administrators Posted August 26, 2013 d...does this mean.... Hustle Nidorans? ...Doesn't that just turn into SheerForce though? Sheer Force, like moxie, is an incomplete ability and will have no effect. That's unlikely to change until I get someone to help with scripting. Quote
DJ Mewdeon ft Dan Punk Posted August 31, 2013 Posted August 31, 2013 Ame, I have a temporary solution for Pokemon obtained from in-game events. If you just tweak the one above a bit and stick it in place of the normal pbAddPokemon script in the event it should work e.g. poke=PokeBattle_Pokemon.new(:GOLDEEN,10,$Trainer) pbAddPokemon(poke) i=rand(3) poke.setAbility(0) if i==0 poke.setAbility(1) if i==1 poke.setAbility(2) if i==2 I've only tried this on Pokes with 3 abilities at the moment, though. But it should work on those with 2... I think, in order to produce a more permanent solution to all cases of this issue, I'll have to tweak some Pokemon creation scripts.. which should be fun... d...does this mean.... Hustle Nidorans? Yes it does!~ ...Doesn't that just turn into SheerForce though? Sheer Force, like moxie, is an incomplete ability and will have no effect. That's unlikely to change until I get someone to help with scripting. I'm on the case! Though this thread is from a few days ago.... oh well. At the moment, I'm still fixing some parts of Magic Guard (Leech Seed is a rather peculiar case I wasn't prepared for), but I've been looking into this whenever I get some time anyway so I may as well fix it. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.