Save-Point
Moonpearl script Animated Battlers help!! x(( - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Code Support (https://www.save-point.org/forum-20.html)
+--- Thread: Moonpearl script Animated Battlers help!! x(( (/thread-5786.html)

Pages: 1 2


RE: Moonpearl script Animated Battlers help!! x(( - kyonides - 05-21-2016

Actually I would modify that example a bit to make it more clear to newbies.

Code:
alias old_update  update
def update
  old_update
  new_code
end

This way they know where the old code will be executed, in this case it would happen right before the new code is executed. Even so it could also happen in the following order:

Code:
alias old_update  update
def update
  new_code
  old_update
end



RE: Moonpearl script Animated Battlers help!! x(( - Starmage - 05-21-2016

OH my!! these are indeed quite informative tips when it comes to the scripts and how they are being updated!! :D thanks alot guys!! xDD :D Hmm, this is indeed quite intriguing to say the least!! xD