Home
Explore games
Help
Log in
Playfic is now in read-only mode.
You can still play existing games, but new signups and game editing is disabled.
Read the announcement.
Log in
Username
Password (
Forgot it?
)
Login
Battle! (Pokémon Go!)
by
Carter
Played 1,782 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
Battle Stage is a room. The description is "A wild [a random Pokemon from bulbasaur to machop] appeared!" When play begins: Now the pokeballs of the player is 10. People have a number called pokeballs. The pokeballs of a person is usually 0. The description of the player is "Pokeballs [pokeballs of player]" Capturing is an action applying to a Value. Understand "Capture [pokemon]" as capturing. Carry out capturing: Now the pokeballs of the player is pokeballs minus 1. Use undo prevention. A Pokemon is a kind of value. The Pokemon are Bulbasaur, Charmander, Squirtle, Pikachu, Rattata, Zubat, Mew, Articuno, Zapdos, Moltres, Mewtwo, Meowth, Weedle, Caterpie, and Machop. Instead of Capturing Pokemon: Let accuracy be a random number from 1 to 3; If accuracy is 1 begin; Say "Shake, Dang, it got out!"; end if; If accuracy is 2 begin; Say "Shake, Shake, ugh, it got out!"; end if; If accuracy is 3 begin; Say "Shake, Shake, Shake, Gotcha!"; end the game in victory; end if. Check Capturing: If the pokeballs of the player is 0, say "You're out of Pokeballs"; Reject the player's command. When play begins: Say "Say capture (Pokemon) to capture a Pokemon."