Essentials Docs Wiki
(Created page with "This article describes the various things typically found in a '''Pokémon Center'''. == Healing your Pokémon == Page 1 of a Poké Center nurse event. [[File:Center 1.png|...")
Tag: Visual edit
 
m (Rewording Dominus' tip a bit)
Tag: Source edit
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  +
{{for|the computer which stores Pokémon, items and mail|PC}}
This article describes the various things typically found in a '''Pokémon Center'''.
 
  +
[[Image:PokeCenter.png|right|256px|thumb|"We restore your tired Pokémon to full health."]]
 
This page describes the various things typically found in a '''Pokémon Center'''.
   
 
== Healing your Pokémon ==
 
== Healing your Pokémon ==
Page 1 of a Poké Center nurse event.
+
[[Image:Nurse1.png|right|200px|thumb|Page 1 of a Poké Center nurse event.]]
[[File:Center 1.png|thumb|148x148px]]
+
[[Image:Nurse2.png|right|200px|thumb|Page 2 of a Poké Center nurse event.]]
 
Talking to the nurse in a Poké Center will let you heal your Pokémon. Once healed, if any of your Pokémon have contracted Pokérus, the nurse will tell you. Also, if you run out of usable Pokémon and [[Map transfers|black out]], you will end up in front of the nurse with your Pokémon healed
 
Page 2 of a Poké Center nurse event.
 
[[File:Center 2.png|thumb|120x120px]]
 
 
Talking to the nurse in a Poké Center will let you heal your Pokémon. Once healed, if any of your Pokémon have contracted Pokérus, the nurse will tell you. Also, if you run out of usable Pokémon and white out, you will end up in front of the nurse with your Pokémon healed.
 
   
 
The key parts to the nurse event are as follows:
 
The key parts to the nurse event are as follows:
  +
* The script <code>Kernel.pbSetPokemonCenter</code> - Sets the start-over point to the player's current position, so they will return there when they run out of usable Pokémon and black out.
+
* The script <code>Kernel.pbSetPokemonCenter</code> - Sets the start-over point to the player's current position, so they will return there when they run out of usable Pokémon and [[Map transfers|black out]].
 
* A choice to let the nurse heal the player's Pokémon.
 
* A choice to let the nurse heal the player's Pokémon.
* The event command "Recover All: Entire Party" - Fully heals all Pokémon in the player's party.
+
* The [[Events|event command]] "Recover All: Entire Party" - Fully heals all Pokémon in the player's [[party]].
* A check for whether any party Pokémon have Pokérus (<code>Kernel.pbPokerus?</code>). If so, display some messages to explain what it is.
+
* A check for whether any party Pokémon have [[Pokémon|Pokérus]] (<code>Kernel.pbPokerus?</code>). If so, display some messages to explain what it is.
  +
Pokémon Essentials contains an example map of a Poké Center, which includes a healing event. You simply need to copy the healing event in that map, nothing more. See that example map for more details, or the two screenshots on the right.
+
Essentials contains some example maps depicting Poké Centers, which include a healing event. You simply need to copy the healing event for use in your own maps, nothing more. See those example maps for more details, or the two screenshots on the right.
  +
  +
The Poké Center example maps also contain one more event, which displays Poké Balls on top of the healing machine. Simply copy this event as well to make it work properly. Note that the nurse event references the healing Balls event by ID number, and this may be different when you copy the event to a different map, so be sure to check this and update if necessary.
  +
  +
== Tips ==
   
  +
* If Pokérus is disabled in a project, the check for Pokérus can be removed from the nurse event.
The example map also contain two more events, which display Poké Balls on top of the healing machine. Note that the pages which show Poké Balls have the "Stop Animation" option ticked, which means they will cycle through their animations (which makes then flash) automatically. Simply copy these events as well to make them work properly.
 

Latest revision as of 00:25, 23 May 2021

For the computer which stores Pokémon, items and mail, see PC.

"We restore your tired Pokémon to full health."

This page describes the various things typically found in a Pokémon Center.

Healing your Pokémon

Page 1 of a Poké Center nurse event.

Page 2 of a Poké Center nurse event.

Talking to the nurse in a Poké Center will let you heal your Pokémon. Once healed, if any of your Pokémon have contracted Pokérus, the nurse will tell you. Also, if you run out of usable Pokémon and black out, you will end up in front of the nurse with your Pokémon healed

The key parts to the nurse event are as follows:

  • The script Kernel.pbSetPokemonCenter - Sets the start-over point to the player's current position, so they will return there when they run out of usable Pokémon and black out.
  • A choice to let the nurse heal the player's Pokémon.
  • The event command "Recover All: Entire Party" - Fully heals all Pokémon in the player's party.
  • A check for whether any party Pokémon have Pokérus (Kernel.pbPokerus?). If so, display some messages to explain what it is.

Essentials contains some example maps depicting Poké Centers, which include a healing event. You simply need to copy the healing event for use in your own maps, nothing more. See those example maps for more details, or the two screenshots on the right.

The Poké Center example maps also contain one more event, which displays Poké Balls on top of the healing machine. Simply copy this event as well to make it work properly. Note that the nurse event references the healing Balls event by ID number, and this may be different when you copy the event to a different map, so be sure to check this and update if necessary.

Tips

  • If Pokérus is disabled in a project, the check for Pokérus can be removed from the nurse event.