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?
Pokemon Playfic Test 4
by
Annonymous Person
Played 1,280 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
The Test Room 1 is a room. "You have a Pikachu and a Squirtle. Your Pikachu is currently out. To send one of them out, say 'send out (pokemon).' To call a pokemon back, say 'call back (pokemon in the field).'" A fake pokemon is here. The Stock Room is a room. A pokeball is here. A pokeball1 is here. A pokeball2 is here. A pokeball3 is here. A pokeball4 is here. A pokeball5 is here. A Pikachu is a thing in the Test Room 1. The description is "'Pika Pika,' Pikachu yells happily." A Squirtle is a thing in the Test Room 1. The description is "A small squirtle. It can grow cannons on its back." Things have a number called pokemon. The pokemon of a thing is usually 0. The Pikachu has pokemon 1. The Squirtle has pokemon 1. Pokeballs is a number variable. Pokeballs is 20. Hello is a number variable. Hello is 1. Calling back is an action applying to one thing. Understand "call back [something]" as calling back. Check calling back: if the pokemon of the noun is 0, say "That's not a Pokemon." instead. Carry out calling back: say "You call back [printed name]. A pokeball sits on the floor. Take [printed name] to get him back in your inventory."; increase pokeballs by 1; change the pokemon of the noun to 1; change hello to 0. Sending out is an action applying to one thing. Understand "send out [something]" as sending out. Check sending out: if the pokemon of the noun is 0, say "That's not a pokemon" instead; if the pokemon of the noun is 1000, say "That pokemon's already out" instead; if pokeballs is less than 1, say "You have no pokeballs to throw the Pokemon in." instead; if hello is 1, say "You already have a pokemon out. Call the pokemon out to send this pokemon in" instead. Carry out sending out: say "You throw out your [printed name]'s pokeball, and it appears in front of you."; decrease pokeballs by 1; change hello to 1; change pokemon of the noun to 1000.