Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Battle! (Pokémon Go!)
by
Carter
Played 1,516 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."