• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Scottie, Todd, Serena, Kris - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Game crashes when I use the greater than or equal to option in a conditional branch to check a variable.

  • 6
    Posts
    9
    Years
    • Seen Sep 4, 2016
    I'm trying to have an event have a character say a different thing with a conditional branch if a variable is set to 3, or above for example, however when I interact with the event the game crashes and I get this message:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `>=' for #<PokeBattle_Pokemon:0x81c1488>

    Interpreter:750:in `command_111'

    Interpreter:320:in `execute_command'

    Interpreter:193:in `update'

    Interpreter:106:in `loop'

    Interpreter:198:in `update'

    Scene_Map:103:in `follow_update'

    Scene_Map:101:in `loop'

    Scene_Map:114:in `follow_update'

    PokemonFollow:2141:in `update'

    Scene_Map:68:in `main'



    This exception was logged in

    C:\Users\Erick\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    So I was instead thinking of having different event pages for the variable, however whenever I load the game on the map with the event (transitioning into the map with the event seems fine), the game crashes and gives me this error:
    ---------------------------
    Pokemon Essentials
    ---------------------------
    Exception: NoMethodError

    Message: undefined method `<' for #<PokeBattle_Pokemon:0x81c6ba0>

    Game_Event:164:in `nf_particles_game_map_refresh'

    Game_Event:151:in `each'

    Game_Event:151:in `nf_particles_game_map_refresh'

    ParticleEngine:596:in `refresh'

    Game_Event: 20:in `nf_particles_game_map_initialize'

    ParticleEngine:589:in `initialize'

    Game_Map:64:in `new'

    Game_Map:64:in `setup'

    Game_Map:63:in `each'

    Game_Map:63:in `setup'



    This exception was logged in

    C:\Users\Erick\Saved Games/Pokemon Essentials/errorlog.txt.

    Press Ctrl+C to copy this message to the clipboard.
    ---------------------------
    OK
    ---------------------------

    Any idea on what to do here? I'm using essentials 16.2.
     
    Last edited:
    Back
    Top