Looks like a bug, skill can't call two different common events

I know, I figured it wouldn't make a big difference, because I've never seen or heard of anyone overwriting Game_Temp, except for this case now.
No one really overwrites Window or Tilemap either, but I wouldn't say it's ok to do so.
I suppose not, but it's all aliased now, so it shouldn't be an issue.
Have you verified that it works?

Code:
$game_temp.reserve_common_event(1)$game_temp.reserve_common_event(1)$game_temp.reserve_common_event(1)
Will queue up 3 instances of ID 1. It should run it 3 times if it works correctly.
If no one else gets a chance to, I'll test it out tonight.
I know, I figured it wouldn't make a big difference, because I've never seen or heard of anyone overwriting Game_Temp, except for this case now.
But YOU'VE overwritten Game_Temp.initialize which means if anyone else has added anything else to Game_Temp and added stuff to that method, or if they've aliased that method, their changes will all be overwritten.


To be safe, you should ALWAYS alias existing methods when you're just adding processing. Only overwrite if you specifically want to replace the method - if you DON'T want it to do something it already does.
Shaz is completely right on that by the way. Over writing is the best way to make your script have conflicts with other scripts! (Using common class names is another).
Well, you know... Common events are always good. 
There is no reason why you need to be a dick to our moderators and staff. Just because they may be incorrect at times gives you no right to chastise them.
This isn't really on topic, but I don't think I did chastise them, I just didn't back down on my own opinion, until someone provided compelling evidence I was wrong, that being that there was a tool tip describing the behavior. In case I was being unclear, my 2nd point there was a reference to 'eating crow': http://en.wikipedia.org/wiki/Eating_crow

Basically I was admitting to being wrong.
Anyways ... I'm going to assume that since we're now starting to detour, that you've found Zalerinian's little script does the job you were aiming for, so ...


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/looks-like-a-bug-skill-cant-call-two-different-common-events.16263/