Move Recommender in Humilau
rand(5) for the recommended move. Simple.
Code:
Hey, Trainer! The move I recommend for you is none other than Roost! Roost is a move that can restore HP! Also, if a Flying-type Pokémon uses it, it won't be Flying type during the turn, which means the type matchup will change. A supereffective move will be an ordinary move, or a move that would otherwise have no effect will land on it. It's a quite tricky move.
Hey, Trainer! The move I recommend for you is none other than Synthesis! Synthesis is a move that can restore HP! When the sunlight is harsh, the Pokémon can restore a lot of HP. But in rain, hail, or a sandstorm, the Pokémon cannot restore HP very much. So, watch out for the weather!
Hey, Trainer! The move I recommend for you is none other than Heal Bell! Heal Bell can heal status conditions of allies. It's a loving move to heal status conditions of all the party Pokémon!
Hey, Trainer! The move I recommend for you is none other than Tailwind! Tailwind doubles the Speed of all party Pokémon the turn the move is used and for the next three turns. If Pokémon can act before their opponents, they can have an upper hand!
Hey, Trainer! The move I recommend for you is none other than Pain Split! Pain Split adds the user's HP to the target's HP, divides it by two, and has the Pokémon share it. Use it when the target's HP is higher than your Pokémon's HP. You can reduce the opponent's HP while recovering your Pokémon's HP.
Was just a test so I could see how the game gets random stuff by just using scripts. The game uses script command 00CB to get a random number with a certain max value (in this case, 5) and then displays an entry of text corresponding to the resultant random number. Slash and I were discussing other ways to calibrate besides catching... the TV is much more 'random' so that'd probably be a better route. That's for later :)