Essentials Docs Wiki

The Essentials wiki has moved and is now at: Essentials Engine wiki

This wiki will no longer be updated.

READ MORE

Essentials Docs Wiki
(Created it)
Tag: Visual edit
 
Maruno (talk | contribs)
No edit summary
Tag: Source edit
Line 1: Line 1:
[[File:BugCatchingContest-0.png|thumb|220x220px]]
+
[[Image:BugCatchingContest.png|right|256px|thumb|A Bug Catching Contest being judged.]]
This page describes the '''Bug Catching Contest''', an event taking place in Natural Park in which trainers catch bug-type Pokémon to compete for a prize.
+
This page describes the '''Bug Catching Contest''', an event in which trainers compete against each other by catching the best Bug-type Pokémon.
   
== pbBugContestState Methods ==
+
== pbBugContestState methods ==
  +
* pbSetJudgingPoint(M,X,Y): Where the contest's results are announced, M is the map ID, X,Y is player's location
 
  +
* <code>pbSetJudgingPoint(map_id,x,y)</code> - The map and coordinates the player is teleported to at the end of the contest, where the results are announced.
* pbSetReception(M,M2,M3): Map(s) that serve as boundary for the contest, M is the map ID(s)
 
  +
* <code>pbSetReception(map_id1,map_id2,...)</code> - Sets the IDs of any reception maps for the contest. As many maps as you like can be listed here. Reception maps are ones the player can reach just by walking from the contest map, e.g. gatehouses surrounding the park in which the contest takes place.
* pbSetContestMap(M): Map where the bug catching contents takes places, M is the map ID
 
  +
* <code>pbSetContestMap(map_id)</code> - Sets the ID of the map in which the Bug Catching Content takes place. Only one map can be designated. If the player goes to a different map (that isn't a reception map), the contest is cancelled. The Pokémon caught by the other contestants are randomly chosen from what is encounterable on the contest map.
* pbStart(X): Starts bug catching content, X is the number of balls
 
  +
* <code>pbSetPokemon(pkmn_index)</code> - Designates a single Pokémon in the player's party (at index <code>pkmn_index</code>) to be the Pokémon used by the player during the contest. This is typically `pbGet(1)`, which returns a party index number previously chosen via <code>pbChooseAblePokemon(1,2)</code>.
  +
* <code>pbStart(num_balls)</code> - Starts the Bug Catching Content. <code>num_balls</code> is the number of Sport Balls the player starts with.
   
 
== Creating a Bug Catching Contest ==
 
== Creating a Bug Catching Contest ==

Revision as of 22:06, 26 September 2020

BugCatchingContest

A Bug Catching Contest being judged.

This page describes the Bug Catching Contest, an event in which trainers compete against each other by catching the best Bug-type Pokémon.

pbBugContestState methods

  • pbSetJudgingPoint(map_id,x,y) - The map and coordinates the player is teleported to at the end of the contest, where the results are announced.
  • pbSetReception(map_id1,map_id2,...) - Sets the IDs of any reception maps for the contest. As many maps as you like can be listed here. Reception maps are ones the player can reach just by walking from the contest map, e.g. gatehouses surrounding the park in which the contest takes place.
  • pbSetContestMap(map_id) - Sets the ID of the map in which the Bug Catching Content takes place. Only one map can be designated. If the player goes to a different map (that isn't a reception map), the contest is cancelled. The Pokémon caught by the other contestants are randomly chosen from what is encounterable on the contest map.
  • pbSetPokemon(pkmn_index) - Designates a single Pokémon in the player's party (at index pkmn_index) to be the Pokémon used by the player during the contest. This is typically `pbGet(1)`, which returns a party index number previously chosen via pbChooseAblePokemon(1,2).
  • pbStart(num_balls) - Starts the Bug Catching Content. num_balls is the number of Sport Balls the player starts with.

Creating a Bug Catching Contest

Content not yet written.