Recent content by Luxinaj

  1. L

    [Scripting Question] Trying to learn about field effect scripting

    It worked! I am using a version of v17 patched with small additions of skills from generation VI Comparing it with your code, apart from removing pbUnVanishSprite, I think my mistake was also in defining typemod2 = nil and typemod3 = nil outside def pbTypeModMessages.
  2. L

    [Scripting Question] Trying to learn about field effect scripting

    So I've been practicing field effects using the Pokemon Reborn script as a base. My question is how to add a second type to the attack depending on the field. (E.j: Smog doing POISON and FIRE damage on Burning Field) I add this code in PokeBattle_Move, before the ´Move acurracy check´ def...
  3. L

    [PBS Question] Undefined value in PBItems

    Solved, I can't find it with ctrl + f. Thx and sorry for the mistake.
  4. L

    [PBS Question] Undefined value in PBItems

    Sometimes when i edit, it's appear this error: Exception: RuntimeError Message: Undefined value SNOWBALL in PBItems File PBS/pokemon.txt, section 810, key WildItemUncommon SNOWBALL Compiler:418:in `checkEnumField' Compiler:403:in `csvEnumField!' Compiler:1709:in `pbCompilePokemonData'...
  5. L

    Move Animations from Pokemon Reborn/Rejuvenation

    It's work, only the sound of all moves are the cry of the pokemon who use it. (I have the audios from reborn in SE)
  6. L

    [Essentials Tutorial] New Field Effects

    Still don't work. I add it to PBBattleTerrains
  7. L

    Move Animations from Pokemon Reborn/Rejuvenation

    How did you solve the problem with the wrong animation in the move? (E.J: Watrfall show pay day animation). I use Essential V18.1 and i am awful with the code adaptation.
  8. L

    [Essentials Tutorial] New Field Effects

    It's getting better, or at least didn't crash. What i did is create a new terrain to prove (AKA corrosion field) in Move_Usage_Calculations, add a poison bonus and the grass damage reduce: I tried to change the background with @scene.sprites["battlebg"].setBitmap in def...
  9. L

    [Essentials Tutorial] New Field Effects

    I found airborne, the problem now it's whit attacker I try to change it with: if @target.airborne? && isConst?(type,PBTypes,:GRASS) if pkmn.airborne? && isConst?(type,PBTypes,:GRASS) if user.airborne? && isConst?(type,PBTypes,:GRASS) But didn't work. This is how i have my script section...
  10. L

    [Essentials Tutorial] New Field Effects

    It's more like the syntaxis, it's changed in v18. For example, i try to adapt why said in step 1: def pbAnimation(move,user,targets,hitNum=0) @scene.pbAnimation(move,user,targets,hitNum) if @showAnims def pbChangeBGSprite case $fieldeffectsbg when 0 # Interior Field...
  11. L

    [Essentials Tutorial] New Field Effects

    Mm something like reborn, where the tile field define the effect. I see the tutorials, but the v18 change a lot of the script section and are parts that i cant find.
  12. L

    [Scripting Question] Level cap version 18.1

    It's work!!! thanx a lot for the help!
  13. L

    [Essentials Tutorial] New Field Effects

    Trying to adapt, i put this code on PokeBattle_Battle where it's now the weather effect maps=[5]#the maps that use the field if $game_map && maps.include?($game_map.map_id) if @environment==PBEnvironment::Grass || @environment==PBEnvironment::TallGrass ||...
  14. L

    [Scripting Question] Level cap version 18.1

    Same error: https://ibb.co/7tRVmyy I post the full code with the scrip in case it's help. Thanx for the help, really. There are a lot of stuff changed in v18 that the tutorial don't explain.
  15. L

    [Essentials Tutorial] New Field Effects

    There is a V18 script adaptation ?
Back
Top