Password Protected PC
View Single Post
December 12th, 2012 (1:39 PM).
Lead Dev of Pokémon Essentials
Join Date: Jan 2008
I would say you can just event this, rather than do any scripting.
Entering free text (i.e. typing with the keyboard as opposed to the way official games let you enter words) will currently cause problems in the way hanseic describes. However, I've fixed that for v11.
Originally Posted by
Don't program in rmxp myself, but at first glance:
You use a case, followed by a when / else statement.
In most programming languages you'd use an if for the construction you ate using. Generally speaking a case only allows simple compares.
There's nothing wrong with using
here, and thor348 used it correctly. It's just a matter of preference.
If you want to offer advice on how to code in Ruby, perhaps you should learn a bit of Ruby first.
The Pokémon Essentials Wiki
All Animations Project
Follow me on Twitter:
View Public Profile
Send a private message to Maruno
Find all posts by Maruno
Find threads started by Maruno