05-21-2016, 01:52 AM 
	
	
	
		Actually I would modify that example a bit to make it more clear to newbies.
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
  old_update
  new_code
endThis 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
"For God has not destined us for wrath, but for obtaining salvation through our Lord Jesus Christ," 1 Thessalonians 5:9
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
![[Image: SP1-Scripter.png]](https://www.save-point.org/images/userbars/SP1-Scripter.png)
![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-Poet.png]](https://www.save-point.org/images/userbars/SP1-Poet.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)
![[Image: SP1-Reporter.png]](https://i.postimg.cc/GmxWbHyL/SP1-Reporter.png)
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!
Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE
	
	
Maranatha!
The Internet might be either your friend or enemy. It just depends on whether or not she has a bad hair day.
![[Image: SP1-Scripter.png]](https://www.save-point.org/images/userbars/SP1-Scripter.png)
![[Image: SP1-Writer.png]](https://www.save-point.org/images/userbars/SP1-Writer.png)
![[Image: SP1-Poet.png]](https://www.save-point.org/images/userbars/SP1-Poet.png)
![[Image: SP1-PixelArtist.png]](https://www.save-point.org/images/userbars/SP1-PixelArtist.png)
![[Image: SP1-Reporter.png]](https://i.postimg.cc/GmxWbHyL/SP1-Reporter.png)
My Original Stories (available in English and Spanish)
List of Compiled Binary Executables I have published...
HiddenChest & Roole
Give me a free copy of your completed game if you include at least 3 of my scripts!

Just some scripts I've already published on the board...
KyoGemBoost XP VX & ACE, RandomEnkounters XP, KSkillShop XP, Kolloseum States XP, KEvents XP, KScenario XP & Gosu, KyoPrizeShop XP Mangostan, Kuests XP, KyoDiscounts XP VX, ACE & MV, KChest XP VX & ACE 2016, KTelePort XP, KSkillMax XP & VX & ACE, Gem Roulette XP VX & VX Ace, KRespawnPoint XP, VX & VX Ace, GiveAway XP VX & ACE, Klearance XP VX & ACE, KUnits XP VX, ACE & Gosu 2017, KLevel XP, KRumors XP & ACE, KMonsterPals XP VX & ACE, KStatsRefill XP VX & ACE, KLotto XP VX & ACE, KItemDesc XP & VX, KPocket XP & VX, OpenChest XP VX & ACE

 
 
 Moonpearl script Animated Battlers help!! x((
 Moonpearl script Animated Battlers help!! x((
 

 

 
![[Image: vIAsZRN.png]](https://i.imgur.com/vIAsZRN.png)
![[Image: YJChYk4.png]](https://i.imgur.com/YJChYk4.png)
![[Image: 5R68sSG.png]](https://i.imgur.com/5R68sSG.png)
![[Image: 6v23R2A.png]](https://i.imgur.com/6v23R2A.png)
![[Image: ByJm3lG.png]](https://i.imgur.com/ByJm3lG.png)
![[Image: fWpxrih.png]](https://i.imgur.com/fWpxrih.png)
![[Image: SPqbYxQ.png]](https://i.imgur.com/SPqbYxQ.png)
![[Image: epKQipL.png]](https://i.imgur.com/epKQipL.png)
![[Image: QBqEELD.png]](https://i.imgur.com/QBqEELD.png)
![[Image: igIZC2F.png]](https://i.imgur.com/igIZC2F.png)
![[Image: ZB4lZld.png]](https://i.imgur.com/ZB4lZld.png)
![[Image: XxFrsUU.png]](https://i.imgur.com/XxFrsUU.png)
![[Image: fXjRGwn.png]](https://i.imgur.com/fXjRGwn.png)
![[Image: wdY5g3K.png]](https://i.imgur.com/wdY5g3K.png)
![[Image: preqGPq.png]](https://i.imgur.com/preqGPq.png)
![[Image: qD1M7Gi.png]](https://i.imgur.com/qD1M7Gi.png)
![[Image: CaqrUfh.png]](https://i.imgur.com/CaqrUfh.png)
![[Image: 9Zp1khv.png]](https://i.imgur.com/9Zp1khv.png)
![[Image: XMPx5Bs.png]](https://i.imgur.com/XMPx5Bs.png)
![[Image: BIP5nDZ.png]](https://i.imgur.com/BIP5nDZ.png)
![[Image: Jpxyq4q.png]](https://i.imgur.com/Jpxyq4q.png)
![[Image: eizcT38.png]](https://i.imgur.com/eizcT38.png)
 
 