Pokemon Skill : Snorlax - Sleep Talk

Hi Everyone,

I am using Yanfly plugins for a project (Battle Core, Buff and State, Skill Core etc.....)

And i am wondering if its possible to have a skill that can recreate "Sleep Talk" from the Pokemon Snorlax.
From the people who don't know him, this Pokemon can cast one of his spell while he's sleeping.

If someone know a plugin or a tips for making this i will be really greatfull !

Thanks in advance for your patience 🙂
Hi there! It is possible.
I have made this, and works like a charm!

Spoiler: Image
BvJ96Cz.png

iGD69FH.png

◆If:Snorlax has learned Sleep Talk
◆If:Snorlax is affected by Sleep
◆Control Variables:#0001 % of using attack = Random 1..4
◆Text:None, Window, Bottom // Put this line only to show you the random use of an attack
: :\V[1]
◆If:% of using attack = 1
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Attack, Random
◆
:End
◆If:% of using attack = 2
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Double Attack, Random
◆
:End
◆If:% of using attack = 3
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Triple Attack, Random
◆
:End
◆If:% of using attack = 4
◆Text:None, Window, Bottom
: :Snorlax still sleeping
◆
:End
◆
:End
◆
:End
Nice, I didn't though about a conditional inside battle ^^

Thanks you for this tip 😉 it work really good.

Have a nice day !
Really is an good tip,i never woud thing on this
Hi there! It is possible.
I have made this, and works like a charm!

Spoiler: Image
BvJ96Cz.png

iGD69FH.png

◆If:Snorlax has learned Sleep Talk
◆If:Snorlax is affected by Sleep
◆Control Variables:#0001 % of using attack = Random 1..4
◆Text:None, Window, Bottom // Put this line only to show you the random use of an attack
: :\V[1]
◆If:% of using attack = 1
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Attack, Random
◆
:End
◆If:% of using attack = 2
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Double Attack, Random
◆
:End
◆If:% of using attack = 3
◆Text:None, Window, Bottom
: :Snorlax use sleep talk!
◆Force Action:Snorlax, Triple Attack, Random
◆
:End
◆If:% of using attack = 4
◆Text:None, Window, Bottom
: :Snorlax still sleeping
◆
:End
◆
:End
◆
:End
is there any way to do this with javascript and notetags?
is there any way to do this with javascript and notetags?
Sorry about late reply!
In javascript probably yes. If you use a plugin to do it in notetags too.
@ninestigmas Please start a new thread for you question. Thanks.

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/pokemon-skill-snorlax-sleep-talk.104719/