script help

  1. L

    [Scripting Question] Evolution by defeating a Pokemon of a specific type

    I've been trying to create a new evolution method for a Fakemon in Pokémon Essentials V.21.1. The evolution method should work like this: once the Pokémon reaches a certain level and defeats a Dragon-type Pokémon (just as an example), it should evolve. However, I haven't been able to get it...
  2. Chowo

    Having problem with items

    Hi ! I wanted to start rom hacking using the pokeemerald decomp and I'm having a problem. I want to add an item in the overworld, in a pokeball like the classic ones, that gives you items when you interact then disappear. I can get it to give items correctly but it only disappears until the...
  3. Ermurgok

    [Scripting Question] Making a shiny checker

    Hey, so I'm trying to have a conditional branch for one of my NPC's were if the first pokemon in the players party is a shiny then the NPC will say an extra line of text. But I can't get it working. I've tried using the "def shiny?" script in Pokemon Essentials but I just can't get it to work...
  4. R

    [Scripting Question] Problem: Weather

    Hello, I am creating a new type of weather, a kind of ghost fog like for cemetery maps, I would like to do it without the need for fogs, but with particles like those that essentials brings by nature. I have created a copy of one of the climates and making a copy with another name to follow the...
  5. C

    Gifting pokemon help

    Hey everyone, I'm new to scripting and just completed my first script. The point of the script is to be a yes/no question followed the npc giving a caterpie. Everything works as expected, except the npc keeps moving after the "player received caterpie" part shows up and I want him stationary...
  6. DrSlice

    [Scripting Question] Converting Zero to Hero from Essentials v21 to Essentials v19

    Hello everyone! I have a bit of a question about the conversion of Palafin's ability 'Zero to Hero' from Essentials v21 to Essentials v19. Now I did actually manage to get it to work, but there are a few things that seem to be not working correctly which also bug me. So, here is the code that...
  7. AIDS mit AI ganz wichtig

    How to define more specific Battle Frontier Pokemonmovesets?

    Version 21.1 with Hotfixes + Gen 9 Pack Hi! I want to edit Pokemon movesets from the Battle Frontier to increase/maximize their potencial. I want to add ... - the ability (the ability gets chosen randomly, but there are movesets that really rely on the right ability) - the excact EV spread...
  8. X

    [Custom Feature Question] Pokemon Essentials v21.1 "Battle_Scene_Menus" and custom moves error

    Hello, I've been working on this for a little while and after spriting all the types and other shenanigans I finally went to test out the moves and ran into error after error after error, using some clever AI's (notably Claude v3 Opus) I managed to circumvent/solve the majority of them, however...
  9. X

    Pokemon Sapiientis - Scripting Help PLEASE

    Hello everyone, I´ve decided to attempt to make my pokemon fangame, since I´ve always been a fan of the franchise and enjoyed spriting. But I need particular help with the coding. I have a post about this, but I´ll summerize: Basically, I need to figure out how to display an animation (animation...
  10. H

    Adding an Ability into Reborn Scripts

    Hey all, so I've spent the last 2 days (because I'm code-illiterate) trying to mod in Radical Red's Ability "Bone Zone" into Pokèmon Reborn's script files. I half succeeded, as in; I got the script written and "working" so at least the game doesn't crash when I start it up. The issue I'm having...
  11. R

    [Scripting Question] What in the world does this stuff mean?

    Exception `SyntaxError' at -e - Section151:269: syntax error, unexpected `else', expecting `end' else ^~~~ -e:in `eval': Section151:269: syntax error, unexpected `else', expecting `end' else ^~~~ (SyntaxError)
  12. X

    [Coding Tutorial] Animation triggered by abilities or form changes

    Hello, I´ve been trying to make my own pokemon fangame with RPG Maker XP, and I´ve installed the pack that adds all pokemon from all gens attacks and abilities and so on. I realised that pokemon that change form during battle (like morpeko or terapagos) don´t display any animation nor transition...
  13. TransGirlCammy

    [Scripting Question] Gifting pokemon with passwords

    Im trying to gift the player a pokemon if they put in the correct password, I've managed to get the text box to open and i can give the player the pokemon but I'm struggling with giving the player the pokemon ONLY if they put in the right password, I would love some help also I'm pretty new to...
  14. M

    I need help !! i messed my rom hack and not sure how to fix it !

    hi everyone , i had been working on a mod of pokemon leaf green and ran into a pretty massive issue that is way beyond what i can figure out how to fix. when i started the game , i noticed that some sprites were not showing up . ( like the female nidoran in the intro with Oak). i also noticed...
  15. B

    Creating a 2nd Safari Zone in FireRed

    I am attempting to create another Safari Zone in Viridian City. How would I go about creating a variable like 0x406E that teleports you out when the time is up but to the new location? I have recreated the script except for that part. Any help is appreciated.
  16. Elfyer

    [Script] Check if a type's in the team

    Hi everyone! After many years far from pokémon hacking, I was wondering: is there a script/mod/engine that can make a npc check if a certain type or pokémon is in the player's team? I'd like to make a rom with specific trait: to become the very best you need to master every type of Pokémon, so...
  17. S

    (SOLVED) Help setting EVs through a script

    I'm trying to use this post from the simple modifications: https://www.pokecommunity.com/threads/simple-modifications-directory.416647/post-10162417 but I'm getting an error when making the ROM that says it's an undefined reference to 'SetEVs'. I'm using poryscript and doing call(SetEVs) but...
  18. R

    Gen 9 pack scripts - I need help

    [2024-03-29 03:21:25 +0000] [Pokémon Essentials version 21.1] [v21.1 Hotfixes 1.0.7] Error in Plugin: [Generation 9 Pack] Exception: SyntaxError Message: [Generation 9 Pack] [002] Battle_Battler.rb:541: class definition in method body class Battle::FakeBattler ^~~~~~~~~~~~~~~~~~~~~~~~~...
  19. C

    How to make Pokemon in Emerald gain Experience from successfully capturing Pokemon?

    There's a really old Pokemon Emerald hack(like 10+ years old) called Pokemon Rebirth that I'm trying to add some QoL features to, I've already successfully set running indoors to work, and one I'd like to implement is getting XP from successfully catching Pokemon but I can't figure it out...
  20. DrSlice

    [Scripting Question] How to check a move type to display a different message for flinching?

    Hello everyone! I never usually ask for help on this thread, but this problem has just been a wall form me. I was trying to make a flinching move for Ariados so that it can be a bit more powerful Pokémon, but I wanted to change the text it displays once the flinch occurs, so that instead of...
Back
Top