Recent content by lovedoctor369

  1. L

    Error with encounter modifier

    Cool thanks. Will do
  2. L

    Error with encounter modifier

    I am using v 16.2 and it is not fixed I will try and look through to see if I am doing something wrong My mistake. I thought I was using the new version but I was using 16.1. mej71 is there a way to update my current version of 16.1 to 16.2 but without losing any custom scripting I may have...
  3. L

    Error with encounter modifier

    When having one pokemon in my party and when using encounter modifiers: an error will occur if the average of my party is only the level one pokemon. The random level modifier will error out due to dropping to level 0 or below. --------------------------- Pokemon Essentials...
  4. L

    How to use a Trainer modifier

    So I figured it out. Well kind of. I deleted one portion of your code and was left with the following code that works. Events.onTrainerPartyLoad+=proc {|sender,e| if e[0] # Trainer data should exist to be loaded, but may not exist somehow trainer=e[0][0] # A PokeBattle_Trainer object...
  5. L

    How to use a Trainer modifier

    It's only that long because I added all the modifiers for each map I wanted the wild encounters to be modified. It always shows the last line of the script being in the issue. Can you test the code you gave me and see if it works for you?
  6. L

    How to use a Trainer modifier

    That random "party" was a mistake I made when I copied the code over but was not in my script when I went to upload the game. The following syntax error is what I get. I have messed around with deleting certain "ends" to see if it would make a difference but nothing. Script...
  7. L

    How to use a Trainer modifier

    I apperciate your patience with me. So I inputed your code where you told me to and now I have the following code. if e[0] # Trainer data should exist to be loaded, but may not exist somehow trainer=e[0][0] # A PokeBattle_Trainer object of the loaded trainer items=e[0][1] # An...
  8. L

    How to use a Trainer modifier

    For the code you gave me where would I put that in the scripts. I got an error when I copied and paste the script you gave to me under PField_EncounterModifiers. When I went to test it gave me this error. SCRIPT 'PField_EncounterModifiers'line 113: NameError occurred. Undefined local variable...
  9. L

    How to use a Trainer modifier

    I know that to many people it is very easy to understand the code but if you could please just leave an example of how to set up the code properly. So here is the code that it uses for wild encounters which I got down. Events.onWildPokemonCreate+=proc {|sender,e| pokemon=e[0] if...
  10. L

    How to use a Trainer modifier

    Hello! In the script for Pokemon encounter modifiers there is a way to manipulate the levels of Pokemon for wild battles. I was able to figure out how to use that pretty easy. However under that same script is a way to do the same for trainers. However I can not figure out how to make it work...
Back
Top