I want to add a line to a section of another script without completely overwriting the whole script, which I believe is what alias is for, but I'm having trouble initializing it. it either errors out or overwrites it still. I've looked at other scripts, but didn't seem to help
example for one script for class Game_Battler < Game_BattlerBase
#========================================================================= #At end of Turn #========================================================================= def on_turn_end @result.clear turn_tick regenerate_all update_state_turns update_buff_turns remove_states_auto(2) end #========================================================================= #At end of Turn #========================================================================= def turn_tick Sound.play_click unless $game_party.in_battle or Deilin::CLICK == false count_time count_duration end if in another script I wanted to add the line
check_ class_effect
under on_turn_end without overwriting the whole section, how is it aliased?
example for one script for class Game_Battler < Game_BattlerBase
#========================================================================= #At end of Turn #========================================================================= def on_turn_end @result.clear turn_tick regenerate_all update_state_turns update_buff_turns remove_states_auto(2) end #========================================================================= #At end of Turn #========================================================================= def turn_tick Sound.play_click unless $game_party.in_battle or Deilin::CLICK == false count_time count_duration end if in another script I wanted to add the line
check_ class_effect
under on_turn_end without overwriting the whole section, how is it aliased?