Jump to content

Modding Abilities?


Charon

Recommended Posts

I'm doing some personal modding for abilities/moves/Pokemon etc. in Rejuv and E19 Reborn, but I'm having trouble finding where I'm supposed to change the actual effects of abilities. The PBS file Abilities.txt is just the text description of abilities instead of the actual data, and I just can't figure out which Script/Data/PBS file would hold those, can anyone tell me?

Link to comment
Share on other sites

  • 3 weeks later...

To make Custom Abilities, you first need to give it a definition in the abiltext.rb file, and an ID in the PBAbilities.rb file - this will create the ability without any effect. To add an effect to ability, you can add it to one of the scripts file. For example, in a Move altering ability, you could add it to PokeBattler_Battler.rb or PokeBattler_Move.rb if you'd like. The Primal Dialga/Palkia mod has a good example, if you'd like to see that. To add it to a Summary display(where you would normally view the pokemon's ability, stats, etc ingame), you would need to edit PokemonSummary.rb. I may be wrong in some of these, but there are many mods that can provide a more clear example than my description. Hopefully, this helps! Good luck with your testing ^_^ 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Hm, at least for the moment probably gonna stick with modifying Pokemon and modifying/adding moves, since those files look just a bit above my hobby-coding paygrade. Gonna take me quite a while to parse out what I want to do and how to code it, even with the wiki helping me figure things out.

 

EDIT: Because it amuses me, here's the list so far of move modifications/new moves:

 

Triple Kick: BP increased to 20
Arm Thrust: BP increased to 25
Comet Punch: BP increased to 25
Power-up Punch: BP increased to 45
Mega Punch: BP increased to 90
Shadow Punch: BP increased to 75
Wild Charge: BP increased to 100
Razor Wind: Type changed to Flying, BP changed to 95, Accuracy changed to 100, now one-turn
Poison Tail: Power increased to 60
All Elemental Fangs (including Poison Fang): BP increased to 70
Water Shuriken: BP increased to 20

 

##New Moves##

 

Tyrant Fang: Basically just a Dragon-type version of Crunch (signature move of Tyrantrum). "The user clamps down with its’ fangs and savages the target. It may also lower the target's Defense stat."

Alpha Screech: 75 BP Dragon-type, Special Sound move, lowers SpAtk. "The user lets loose a deafening scream, proclaiming their superiority to the world. Also lowers target's Sp. Atk"

Divebomb: Flying, BP 90, acc 95, “The user soars high into the air and swoops down on the enemy at high speeds.”

Shocking Swipe: 80 BP clawing move, basically electric shadow claw. "The user slashes with lightning-infused claws. Critical hits land more easily. May Paralyze target."

Link to comment
Share on other sites

  • 2 weeks later...
  On 9/29/2022 at 10:32 AM, Charon said:

Hm, at least for the moment probably gonna stick with modifying Pokemon and modifying/adding moves, since those files look just a bit above my hobby-coding paygrade. Gonna take me quite a while to parse out what I want to do and how to code it, even with the wiki helping me figure things out.

 

EDIT: Because it amuses me, here's the list so far of move modifications/new moves:

 

Triple Kick: BP increased to 20
Arm Thrust: BP increased to 25
Comet Punch: BP increased to 25
Power-up Punch: BP increased to 45
Mega Punch: BP increased to 90
Shadow Punch: BP increased to 75
Wild Charge: BP increased to 100
Razor Wind: Type changed to Flying, BP changed to 95, Accuracy changed to 100, now one-turn
Poison Tail: Power increased to 60
All Elemental Fangs (including Poison Fang): BP increased to 70
Water Shuriken: BP increased to 20

 

##New Moves##

 

Tyrant Fang: Basically just a Dragon-type version of Crunch (signature move of Tyrantrum). "The user clamps down with its’ fangs and savages the target. It may also lower the target's Defense stat."

Alpha Screech: 75 BP Dragon-type, Special Sound move, lowers SpAtk. "The user lets loose a deafening scream, proclaiming their superiority to the world. Also lowers target's Sp. Atk"

Divebomb: Flying, BP 90, acc 95, “The user soars high into the air and swoops down on the enemy at high speeds.”

Shocking Swipe: 80 BP clawing move, basically electric shadow claw. "The user slashes with lightning-infused claws. Critical hits land more easily. May Paralyze target."

Expand  

 

Can you provide info on how these changes were done ?

Link to comment
Share on other sites

  On 10/13/2022 at 7:50 AM, Reflow718 said:

 

Can you provide info on how these changes were done ?

Expand  

Literally just modifying the PBS files, copying segments from other moves as needed (or just the move outright). I'll just paste the changes/moves themselves since I don't really care who uses them, just change the number at the front for the new moves as needed for whatever game you're adding them to, and be sure to add them somewhere on the movelists of the pokemon you want them to have if you're not using debug to add them.

 

I also added Meteor Blow to actually have a higher-powered physical fire move that doesn't have recoil, Black Fog purely to have a Special Dark-type attack with a BP above 80 that wasn't a signature move, and Liquid Kunai was just to add another Ninja Thing to Greninja's arsenal.

 

##Move Changes##

  Reveal hidden contents

 

##New Moves##

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 10/15/2022 at 6:03 AM, Charon said:

Literally just modifying the PBS files, copying segments from other moves as needed (or just the move outright). I'll just paste the changes/moves themselves since I don't really care who uses them, just change the number at the front for the new moves as needed for whatever game you're adding them to, and be sure to add them somewhere on the movelists of the pokemon you want them to have if you're not using debug to add them.

 

I also added Meteor Blow to actually have a higher-powered physical fire move that doesn't have recoil, Black Fog purely to have a Special Dark-type attack with a BP above 80 that wasn't a signature move, and Liquid Kunai was just to add another Ninja Thing to Greninja's arsenal.

 

##Move Changes##

  Reveal hidden contents

 

##New Moves##

  Reveal hidden contents

 

Expand  

 Thanks for this, I also got it working, and made some of my own.

 

Now going for more advance is there a way to change the default animations of the "new moves" we created ?

 

Like using animations that's already in the game

Link to comment
Share on other sites

  On 10/22/2022 at 6:10 AM, Reflow718 said:

 Thanks for this, I also got it working, and made some of my own.

 

Now going for more advance is there a way to change the default animations of the "new moves" we created ?

 

Like using animations that's already in the game

Expand  

I have no idea on modifying animations myself. I usually end up playing with them off most of the time, and I haven't really looked into guides for doing so.

Link to comment
Share on other sites

  • 1 year later...
  On 9/21/2022 at 3:00 AM, leosaurd said:

To make Custom Abilities, you first need to give it a definition in the abiltext.rb file, and an ID in the PBAbilities.rb file - this will create the ability without any effect. To add an effect to ability, you can add it to one of the scripts file. For example, in a Move altering ability, you could add it to PokeBattler_Battler.rb or PokeBattler_Move.rb if you'd like. The Primal Dialga/Palkia mod has a good example, if you'd like to see that. To add it to a Summary display(where you would normally view the pokemon's ability, stats, etc ingame), you would need to edit PokemonSummary.rb. I may be wrong in some of these, but there are many mods that can provide a more clear example than my description. Hopefully, this helps! Good luck with your testing ^_^ 

Expand  

i know i am insanely late to this conversation but do you know if something like this is possible within sword and shield using ryujinx? im working on a lot of modding content in those games and being able to make my own custom abilities would make it a thousand times better

 

Link to comment
Share on other sites

  • 8 months later...
  On 4/14/2025 at 10:15 AM, XrāzÿJãÿ said:

is there someone who does customized moves? cause I want to edit the code for mat block to increase def and spdef x2 if successful but I'm having no luck.

Expand  

 

- Go to the Scripts folder, then find and open the script named "PokeBattle_MoveEffects.rb".

- Use Ctrl+F and type the name of the move you want to alter to find the class proper to Mat Block.

- Replace the code of the class with the one below.

 

  Reveal hidden contents

 

- Try to compile your game with RPG Maker to see if something has changed.

 

Don't hesitate to tell me if it worked!

  • Thanks 1
Link to comment
Share on other sites

  On 4/15/2025 at 12:31 AM, Q-Jei said:

 

- Go to the Scripts folder, then find and open the script named "PokeBattle_MoveEffects.rb".

- Use Ctrl+F and type the name of the move you want to alter to find the class proper to Mat Block.

- Replace the code of the class with the one below.

 

  Reveal hidden contents

 

- Try to compile your game with RPG Maker to see if something has changed.

 

Don't hesitate to tell me if it worked!

Expand  

thanks man 👊🏽 will try it out when I get off work.

Quick question.. instead of rgp maker does the debug compiler work?

Link to comment
Share on other sites

  On 4/15/2025 at 10:01 AM, XrāzÿJãÿ said:

thanks man 👊🏽 will try it out when I get off work.

Quick question.. instead of rgp maker does the debug compiler work?

Expand  

Surely! I mentioned RPG Maker because I used to compile my game directly from it but you can probably use the debug compiler too!

Link to comment
Share on other sites

  Quote

[Pokemon Rejuvenation 13.5.6]
Exception: NameError
Message: uninitialized constant PokeBattle_Move_154::PBEffects
Battle_MoveEffects:9426:in `pbEffect'
Battler:5465:in `block in pbUseMove'
PBDebug:4:in `logonerr'
Battler:5464:in `pbUseMove'
Battler:5961:in `block in pbProcessTurn'
PBDebug:4:in `logonerr'
Battler:5960:in `pbProcessTurn'
Battle:3938:in `block in pbAttackPhase'
Battle:3937:in `each'
Battle:3937:in `pbAttackPhase'
Battle:3532:in `block (2 levels) in pbStartBattle'
PBDebug:4:in `logonerr'
Battle:3530:in `block in pbStartBattle'
Battle:3519:in `loop'
Battle:3519:in `pbStartBattle'
Field:1200:in `block (2 levels) in pbWildBattle'
Field:696:in `pbSceneStandby'
Field:1199:in `block in pbWildBattle'
Field:1047:in `pbBattleAnimation'
Field:1198:in `pbWildBattle'
Field:1753:in `pbBattleOnStepTaken'
Field:1774:in `pbOnStepTaken'
Game_Player:514:in `update'
Walk_Run:100:in `update'
Scene_Map:104:in `block in update'

Expand  

Okay so I tried is and this is the error message that popped up. I'm doing this to have my own customized BattleBond Greninja. So far Water Shuriken is more powerful and could hit 5 times if i want it to; and Blizzard has infinite accuracy (all i'm missing is for it to freeze more often). After I finish the gimmick for matblock which is +2DEF/SPDEF upon success i'll move on to night slash always criting. A little OP but at least i'll have my personalised Ash-Greninja 😅

Link to comment
Share on other sites

  On 4/15/2025 at 10:46 AM, XrāzÿJãÿ said:

Okay so I tried is and this is the error message that popped up. I'm doing this to have my own customized BattleBond Greninja. So far Water Shuriken is more powerful and could hit 5 times if i want it to; and Blizzard has infinite accuracy (all i'm missing is for it to freeze more often). After I finish the gimmick for matblock which is +2DEF/SPDEF upon success i'll move on to night slash always criting. A little OP but at least i'll have my personalised Ash-Greninja 😅

Expand  

No worries, can you share your script "PokeBattle_MoveEffects.rb" with me in PM?

The version of Reborn I use is pretty old (v19.6) and the code has been rewritten meanwhile, so there might be conflict with the code I gave you.

Link to comment
Share on other sites

  On 4/15/2025 at 11:35 AM, Q-Jei said:

No worries, can you share your script "PokeBattle_MoveEffects.rb" with me in PM?

The version of Reborn I use is pretty old (v19.6) and the code has been rewritten meanwhile, so there might be conflict with the code I gave you.

Expand  

It's for Rejuvenation... but I'll pm you when I get off work.

Link to comment
Share on other sites

  On 4/15/2025 at 1:16 PM, XrāzÿJãÿ said:

It's for Rejuvenation... but I'll pm you when I get off work.

Expand  

Ah, okay! So that explains why you encountered incompatibilities.

 

Nevermind, the following code should work properly if I'm not mistaken:

 

  Reveal hidden contents

 

  • Thanks 1
Link to comment
Share on other sites

  On 4/15/2025 at 1:41 PM, Q-Jei said:

Ah, okay! So that explains why you encountered incompatibilities.

 

Nevermind, the following code should work properly if I'm not mistaken:

 

  Reveal hidden contents

 

Expand  

Bro it works now.. thank you so much man 😎💯👊🏾. Now for me to figure out the rest. Thanks so much bro.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...