• The Eevee Expo Game Jam #10 has concluded, congratulations to all participants! Now it's time for the judges to play through the games, and you can play along to vote who deserves the community choice spotlight.
    You can check out the submitted games here!
    Play through the games and provide some feedback to the devs while you're at it!
  • Hi, Guest!
    Some images might be missing as we move away from using embedded images, sorry for the mess!
    From now on, you'll be required to use a third party to host images. You can learn how to add images here, and if your thread is missing images you can request them here.
    Do not use Discord to host any images you post, these links expire quickly!
Generation 9 Resource Pack [v21.1] (Updated with Indigo Disk contents)

Resource Generation 9 Resource Pack [v21.1] (Updated with Indigo Disk contents) 3.2.7

marugan990

Rookie
Member
Joined
Aug 12, 2024
Posts
1
Hi , i have some problems with new moves AI, to be precise Ceaseless Edge and infernal parade:


Pokémon Essentials v21.1
[Pokémon Essentials version 21.1]
[v21.1 Hotfixes 1.0.9]
Exception: NameError
Message: undefined local variable or method `b' for main:Object
Backtrace:
[Generation 9 Pack] [002] AI New Move Rankings.rb:159:in `block in <main>' Event_Handlers:139:in `trigger'
Battle Al:111:in `apply_move_effect_against_target_score'
Al_ChooseMove:305:in `pbGetMoveScoreAgainstTarget'
Al_ChooseMove:245:in `block in pbGetMoveScore'
Al_ChooseMove:242:in `each'
Al_ChooseMove:242:in `pbGetMoveScore'
Al_ChooseMove:67:in `block (3 levels) in pbGetMoveScores'
PBDebug:6:in `logonerr
Al_ChooseMove:67:in `block (2 levels) in pbGetMoveScores'

I tried this on the vanilla version just with gen 9 plugin installed, it happens when hitting a pokemon that knows any of those moves , for "fixing" Ceaseless edge you can just remove the 'b' that causes the problem (i know its not a fix but my coding knowlwdge is not that great) however for infernal parade since the code for the AI is much longer i cant do the same
the game doesnt crash it just triggers a warning is there anyway i can fix this or disable the warning?
thanks in advance

EDIT:(deleting entirely the script for AI new moves kinda works but i think that just will cause more trouble in the future)
 
Last edited:
Back
Top