I aliased SDK::Scene_Base#Update also, When I used Trickster's No F12 script, I get the same thing and he aliased SDK::Scene_Base#main_loop. It works if I include SDK::Scene_Base in the project itself, but if it's only in the SDK.rsc, it does not work.
Here is my script with the line the error appears on red.
#-----------------------------------------------------------------------------
# * SDK::Scene Base
#-----------------------------------------------------------------------------
class SDK::Scene_Base
alias advanced_8d_movement_scene_base_update update
def update
Mouse.update
[COLOR=Red]advanced_8d_movement_scene_base_update[/COLOR]
end
end
And Trickster's script with the offending line red:
class SDK::Scene_Base
#--------------------------------------------------------------------------
# * Main Processing : Loop
#--------------------------------------------------------------------------
alias_method :trick_nof12_base_main_loop, :main_loop
def main_loop
# Begin
begin
# The Usual
[COLOR=Red] trick_nof12_base_main_loop[/COLOR]
# If F12 was pressed
rescue Reset
# Do Absolutely Nothing about it
end
end
end
It doesn't seem to matter if alias_method or alias is used. Because I thought it might be alias_method, but I changed my script to alias and I still get the error. Also, I included Selwyn's Resolution Fix script in an rsc file along with a few other modules I'm using, and I get the same error whenever I call Resolution.update.
I can try to supply a demo, if you want. All these errors go away if the scripts are included in scripts.rxdata, but if they are required via rsc, the error shows.