I encountered this error when entering a battle.
[Pokemon AllGen 19.5.0]
Exception: NoMethodError
Message: undefined method `isbossmon' for #<PokeBattle_Pokemon:0x000002004f9c67c8 @form=0, @species=:NIDORANmA, @moves=[#<PBMove:0x000002004f9c49a0 @move=:CUT, @ppup=3, @pp=48>, #<PBMove:0x000002004f9c4798 @move=:LEER, @ppup=3, @pp=48>], @trainerID=487371258, @personalID=4141279138, @ability=:HUSTLE, @nature=:JOLLY, @hp=19, @totalhp=19, @ev=[7, 7, 7, 7, 7, 7], @iv=[3, 3, 3, 3, 3, 3], @level=5, @exp=135, @attack=9, @defense=9, @spatk=9, @spdef=9, @speed=10, @ot="Cain", @language="zh_CN", @happiness=70, @name="Nidoran", @timeReceived=1759744067, @eggsteps=0, @status=nil, @statusCount=0, @item=nil, @mail=nil, @fused=nil, @ballused=:POKEBALL, @obtainMap=38, @obtainText=nil, @obtainLevel=5, @landcritical=0, @obtainMode=0, @hatchedMap=0, @relearner=[false, 0], @levelWalkSteps=0, @megaEvo={}, @zmoves=nil, @shinyflag=false, @natureflag=:MODEST, @itemRecycle=nil, @itemInitial=nil, @belch=false, @piece=nil>
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/Battler.rb:391:in `isbossmon'
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/Battler.rb:732:in `pbInitialize'
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/Battle.rb:3839:in `pbStartBattle'
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/AllGen Reborn.rb:1291:in `block (2 levels) in pbTrainerBattle'
Field:736:in `pbSceneStandby'
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/AllGen Reborn.rb:1290:in `block in pbTrainerBattle'
Field:1088:in `pbBattleAnimation'
D:/soft_cache/ex/PokemonReborn/Reborn-19.5.0-windows/patch/Mods/AllGen Reborn.rb:1289:in `pbTrainerBattle'
(eval):1:in `pbExecuteScript'
Interpreter:266:in `eval'
Interpreter:266:in `pbExecuteScript'
Interpreter:726:in `command_111'
Interpreter:342:in `execute_command'
Interpreter:214:in `block in update'
Interpreter:117:in `loop'
Interpreter:117:in `update'
Scene_Map:106:in `block in update'
Scene_Map:104:in `loop'
Scene_Map:104:in `update'
Scene_Map:70:in `block in main'
Scene_Map:67:in `loop'
Scene_Map:67:in `main'
Main:38:in `mainFunctionDebug'
Main:24:in `mainFunction'
Main:70:in `block (2 levels) in <main>'