- 12
- Posts
- 275
- Days
- Seen today
I always think plugins will ovewrite the original code, so I do all my job through plugins, but today something odd happened, I just can't figure it out by myself.
I simply copy a .rb file into my plugin folder, but I found one method seems can't overwrite the original one.
This is the file:
This seems doesn't work: (because it doesn't print "---------------------------------")
I searched:
If I delete def pbInitPokemon in the original file, then run:
If i put "-----------------" in another place above def pbInitPokemon:
It worked:
If I move this file into Generation 9 Pack Scripts folder, it also works.
I am puzzled...
Need help...
I simply copy a .rb file into my plugin folder, but I found one method seems can't overwrite the original one.
This is the file:
This seems doesn't work: (because it doesn't print "---------------------------------")
I searched:
If I delete def pbInitPokemon in the original file, then run:
If i put "-----------------" in another place above def pbInitPokemon:
It worked:
If I move this file into Generation 9 Pack Scripts folder, it also works.
I am puzzled...
Need help...
Attachments
Last edited: