Now, the game loads up fine, combat functions fine, even the scan ability/function created by Yanfly's enemy target info operates properly. The error pops when battle ends, when no chain battle initiates. This is the error that pops up: line 761: NoMethodError
Now, the game loads up fine, combat functions fine, even the scan ability/function created by Yanfly's enemy target info operates properly.
The error pops when battle ends, when no chain battle initiates.
This is the error that pops up:
line 761: NoMethodError
undefined method 'active' for nil:NilClass
This is the section of code the error is referencing:
Code:
#--------------------------------------------------------------------------
# process_enemy_window_input
#--------------------------------------------------------------------------
def process_enemy_window_input
return unless SceneManager.scene_is?(Scene_Battle)
return unless SceneManager.scene.enemy_window.active ### This is line 761###
return if SceneManager.scene.enemy_window.select_all?
SceneManager.scene.toggle_enemy_info if Input.trigger?(@button)
return unless self.visible
SceneManager.scene.enemy_info_page_up if Input.trigger?(:L)
SceneManager.scene.enemy_info_page_down if Input.trigger?(:R)
end
And here's the github links to both scripts:
Yanfly
Kread-Ex
https://github.com/Archeia/Kread-Ex...Scripts/Gameplay Scripts/Grathnode_Install.rb
Is it possible to have a patch/fix for this conflict?
Thanks in advance!
Cheers,
~Lit