Go Back   The PokéCommunity Forums > FL

Notices
For all updates, view the main page.



Conversation Between FL and Rayd12smitty
Showing Visitor Messages 1 to 5 of 5
  1. Rayd12smitty
    March 27th, 2013 05:14 PM
    Rayd12smitty
    Thanks for the help. I'll give credit
  2. FL
    March 27th, 2013 05:09 PM
    FL
    Yes, the code is 'ret.addPokemonRule(MaximumLevelRestriction.new(50))'
  3. Rayd12smitty
    March 27th, 2013 04:37 PM
    Rayd12smitty
    Thanks thats really helpful. Same for the level 50 thing?
  4. FL
    March 27th, 2013 04:11 PM
    FL
    Just Ctrl+Shift+F methods like 'addPokemonRule' and copy the occurrences to add others conditions. Example with pokémom banS: After line 'ret.addPokemonRule(AblePokemonRestriction.new) if !acceptFainted' add:

    ret.addPokemonRule(BannedSpeciesRestriction.new(
    :MEWTWO,:MEW,
    :LUGIA,:HOOH,:CELEBI,
    :KYOGRE,:GROUDON,:RAYQUAZA,:JIRACHI,:DEOXYS,
    :DIALGA,:PALKIA,:GIRATINA,:MANAPHY,:PHIONE,
    :DARKRAI,:SHAYMIN,:ARCEUS))
  5. Rayd12smitty
    March 24th, 2013 11:28 AM
    Rayd12smitty
    Hey, sorry to bug you but I have a question about your PokemonSelection Script. It works fine but in the comments you talk about adding rules and banned pokemon and I couldn't quite understand how to do this. I want to ban pokemon that would normally be banned in the real games and I want pokemon to be set to level 50. Could you tell me how to do this. I think you said I would have to edit the OrgBattleRules script and I'm not sure how or where. Thanks for reading this.

    Ray

All times are UTC -8. The time now is 05:17 AM.