EmpFallen Posted April 29 Share Posted April 29 This is a guide on how to add custom crests. We’ll be changing the game’s text files, so I recommend having a vanilla version of Rejuvenation and another where you do all your modding in case something bad happens. You’ll need to be able to read and understand Rejuv’s code (it’s not that difficult). https://www.rebornevo.com/forums/topic/65765-modding-tutorial-rejuv-v135deso-ep6/ is good to read as well. Adding The Crest Go to itemtext.rb through Rejuvenation > Contents > Game > Scripts > Rejuv > itemtext.rb (I'm on mac so idk what it's like for windows. It should be the same though). Scroll all the way down, and the last item should be :FURRCREST. Copy it Spoiler :FURRCREST => { :ID => 1105, :name => "Furret Crest", :desc => "Upon switching in, Furret loses 25% of its Max HP to create a substitute.", :price => 0, :crest => true, :noUseInBattle => true, :noUse => true, }, and paste that below. Change the name, ID, and description to fit whatever Pokemon you want. In our case we’ll be making a crest for Crobat, so it should look something like Spoiler :CROCREST => { :ID => 1106, :name => "Crobat Crest", :desc => "Crobat Crest", :price => 0, :crest => true, :noUseInBattle => true, :noUse => true, }, Make sure there’s the } below your item. Then you can run compileItems and you should be able to get your item through Kernel.pbItemBall(:CROCREST). If it doesn’t work try quitting out and then rebooting the game. You’ll also need to go to PBStuff.rb in the Scripts folder. Control-F “crest” and you should see all the Pokemon with their crest. Make one for your Pokemon as well. Spoiler :CROBAT => :CROCREST, This “links” Crobat to the Crobat crest, so now when you go into a battle, you can see the crest symbol next to the HP bar. Making the Crest Work Go to Battle_Move.rb in the Scripts folder. We’ll be spending most of our time here. First we’ll make it so that Crobat gets Dark STAB and resistances. Control-F “Resistance-changing Crests”. You should see a bunch of entries for existing Pokemon. Dark resists Ghost, Dark, and is immune to Psychic, so it should look something like Spoiler when :CROBAT typemod /= 2 if (type == :GHOST || type == :DARK) typemod = 0 if type == :PSYCHIC Then Control-F “STAB-addition”. Add another one for your chosen Pokemon. It should look like Spoiler when :CROBAT then typecrest = true if type == :DARK If you also want to change the crit rate of your Pokemon, Control-F “RAZORCLAW”. You’ll see a bunch of “c+=1”s. Let’s increase Crobat’s crit rate by 3 when it uses a biting move. Samurott’s crest checks if the move is sharp, so if you Control-F “sharpmove” it’ll lead you to the code for the Sharpness ability. The code for Strong Jaw is also there, so copy paste that for Crobat Spoiler c+=3 if (PBStuff::BITEMOVE).include?(@move) && attacker.crested == :CROBAT Now let’s make it so that Crobat heals when using a contact move. If you Control-F “Shell Bell” in Battler.rb you’ll see the Shell Bell code. Copy it, change it a little, and add a check for contact. Spoiler if user.crested==:CROBAT && !user.isFainted? && flags[:totaldamage]>0 && @effects[:HealBlock]==0 && basemove.contactMove? hpgain = flags[:totaldamage]/8.0 hpgain=user.pbRecoverHP([hpgain.floor,1].max,true) if hpgain>0 @battle.pbDisplay(_INTL("{1} restored a little HP using its Crobat Crest!",user.pbThis)) end end Spoiler (funny thing you might see is that the Torterra Crest is just attached onto the Shell Bell code, so when you heal with the Torterra Crest it’ll say that Torterra restored HP with its Shell Bell. A (probably) unintended side effect is that it’ll heal ¼ of the HP dealt instead of ⅛ on the Beach field.) Restricting It to a Certain Form (optional) If you want to make your crest only for a certain form of your selected Pokemon, for example Alolan Marowak, you’ll need to go to Battler.rb in the Scripts folder. Control-F “hascrest”. You should see Spoiler return false if crestmon.species == :AMPHAROS && crestmon.form!=1 Copy paste that and change it. For Alolan Marowak, it should look like Spoiler return false if crestmon.species == :MAROWAK && crestmon.form!=1 This makes it so that Marowak is only crested if it is Alolan. (form 0 is normal form, form 1 is alolan/hisuian/aevian) These are all just examples of commonly seen changes that Crests can give. If you want something more game-changing and in depth than simple STAB bonuses and stat increases then you’ll have to look for other items/abilities that produce a similar effect, or you’ll have to create it entirely from scratch (I tried to make it so that Crobat switched out when it used an attacking move, but U-Turn, Flip Turn, and Volt Switch were their own class of moves, and the switching out code was really weird and I couldn’t understand it, so that didn’t end up happening). You might also need to go through multiple other text files to find the effect you’re looking for, so be prepared for that. Obviously a lot of people have ideas for crests, and I haven’t seen a custom crest guide anywhere in the forums (i didn’t search very hard though), so I thought that this would be helpful in case anyone wants to implement their own into the game. If you want to share custom crests (downloading the changed files and replacing them), I don’t expect that it’ll work with multiple mods (as each file has something different), so I think it’ll be helpful to detail the changes when sharing them to avoid problems with using multiple mods. If there's any problems with this guide then please let me know. 4 Link to comment Share on other sites More sharing options...
glitchedcat Posted April 30 Share Posted April 30 (in windows the path is Rejuvenation > Scripts > Rejuv for itemtext.rb) (nice guide :>) Link to comment Share on other sites More sharing options...
ryuflections Posted June 1 Share Posted June 1 this is cool ^_^ thanks for finding this out! Link to comment Share on other sites More sharing options...
Dypa Posted June 27 Share Posted June 27 Hi, how can I create stats boost crests like Phione's one? Vey cool idea btw, it's so funny to create crests! Link to comment Share on other sites More sharing options...
EmpFallen Posted June 29 Author Share Posted June 29 On 6/28/2024 at 2:20 AM, Dypa said: Hi, how can I create stats boost crests like Phione's one? Vey cool idea btw, it's so funny to create crests! Scripts > Rejuv > Battler_Rejuv.rb Control-F "def crestStats" All the stat changes are there Also if you want switch-in effects they are in Battle_Rejuv.rb 1 Link to comment Share on other sites More sharing options...
Dypa Posted July 2 Share Posted July 2 On 6/29/2024 at 4:23 AM, EmpFallen said: Scripts > Rejuv > Battler_Rejuv.rb Control-F "def crestStats" All the stat changes are there Also if you want switch-in effects they are in Battle_Rejuv.rb Ty <3 Link to comment Share on other sites More sharing options...
Sherlock Mei Kid Posted August 18 Share Posted August 18 Hi so i did the step where i added all the items and text to the text file But i font understand How do i compile the item and kernel it I cant find fhe option in my debug or outside thr game Link to comment Share on other sites More sharing options...
Tommyels Posted August 27 Share Posted August 27 Could someone tell/show me how to add fight stab to ledian for its crest? Not good with this kind of thing and want to have a play round with him woth fight type added thanks in advance Link to comment Share on other sites More sharing options...
wainano Posted September 1 Share Posted September 1 Is it possible to add a crest to a different form of a Pokemon that already has one? Link to comment Share on other sites More sharing options...
EmpFallen Posted September 2 Author Share Posted September 2 On 8/18/2024 at 7:10 PM, Sherlock Mei Kid said: Hi so i did the step where i added all the items and text to the text file But i font understand How do i compile the item and kernel it I cant find fhe option in my debug or outside thr game When in the game press F6. This brings up the text box that allows you to run those commands 1 Link to comment Share on other sites More sharing options...
EmpFallen Posted September 2 Author Share Posted September 2 On 8/28/2024 at 12:18 AM, Tommyels said: Could someone tell/show me how to add fight stab to ledian for its crest? Not good with this kind of thing and want to have a play round with him woth fight type added thanks in advance Scripts > Battle_Move.rb If you control-F "STAB-addition from Crests" you'll see the text where you can add the fighting STAB to Ledian Link to comment Share on other sites More sharing options...
DeathTheClover Posted October 6 Share Posted October 6 Hey great guide! I wanted to ask, I want to add a crest that gives a pokemon the secondary typing of the move it uses, while also giving it the STAB. I'm making a Dragon-type eeveelution that can use Electric, Fire, and Poison moves. How would i go about doing that exactly? I tried looking for Pokemon with similar crests like Gothitelle's Crest or any of the Pokemon with STAB crests like Samurott or Luxray, but I'm not sure how exactly to set it up. Any help would be appreciated, thanks in advance! Link to comment Share on other sites More sharing options...
Recommended Posts