Skip to content

Instantly share code, notes, and snippets.

@encukou
Forked from Sanqui/0_tables
Last active August 29, 2015 14:13
Show Gist options
  • Save encukou/2edc1a7318bb41f0902c to your computer and use it in GitHub Desktop.
Save encukou/2edc1a7318bb41f0902c to your computer and use it in GitHub Desktop.
map
"A specific physical instance of a location_area"
* width
* height
location_map
"A game-specific physical instance of a location_area"
* location_area
* version
* map
map_connection
"A physical connection between two maps"
* map0
* map1
* side = enum(ns, ew, dive)
* order
map_warp
"A physical connection between two maps"
* entity0
* entity1
map_entity
"A sprite, trigger, sign, or warp somewhere on an overworld map"
* map
* x
* y
* solid (bool)
* activation (enum: walk, action)
* sprite (NULL=no sprite)
map_entity_item
"An item obtainable from a map entity"
* map_entity
* item
* amount
* method = enum(found, obtained, ?)
map_entity_battle
"A battle with a trainer, linked to a map entity"
* map_entity
* trainer_battle
map_entity_pokemon
"A Pokémon linked to a map entity, either directly fought, received, or being an in-game trade."
* map_entity
* individual_pokemon
* event_type = enum(battle, receive, trade)
* traded_pokemon_species (nullable)
map_entity_shop
"A shop linked to a map entity. Does not include item trades. Everything in a shop can be bought repeatedly."
* map_entity
map_entity_shop_slot
"A single item/tutored move/Pokémon which can be bought in a shop."
* map_entity_shop
* item (nullable)
* individual_pokemon (nullable)
* move (nullable)
* cost
* slot
* currency
map_entity_move_tutor
"An overworld move tutor"
* map_entity
* move
map_entity_special
"A special-purpose map entity, such as the name rater, or the move deleter."
* map_entity
* purpose = enum(name_rater, move_deleter, move_reminder)
trainer_class
"An in-game trainer class. This also determines the trainers' battle sprite"
* name (multilang)
* identifier
trainer
"A trainer found in the game"
* trainer_class
* name (multilang)
* trainer_id
trainer_battle
"A particular battle with a trainer"
* trainer
* battle_style = enum(single, double, triple, rotation, sky, inverse)
* payout
trainer_battle_item
"A trainer's usable item in a particular battle"
* trainer_battle
* item
* amount
trainer_battle_pokemon
"A trainer's Pokémon in a particular battle"
* trainer_battle
* individual_pokemon
* slot
individual_pokemon
"An individual Pokémon inside a game, e.g. from a trainer or given to the player"
* pokemon_species
* level (nullable for e.g. trades)
* held_item
* is_egg
* ability
* gender (nullable)
* nickname (multilang)
* original_trainer
* genes (statset)
* effort (statset)
statset
"A set of stats for a pokémon"
* id
statset_stat
"One stat in a statset"
* statset
* stat
* value
#### TODO: contest stats (defer until ripping RS/ORAS)
individual_pokemon_move
"An individual Pokémon's move. If a Pokémon has no move row, they are
supposed to simply know level-up moves at their level"
* individual_pokemon
* move
* slot
currency ; e.g. money, coins, ash, berrypowder, bp, pokemiles
* name (multilang)
* introduced_in? probably pointless
pokedex_media would gain:
- all static maps
- gen 4 and 5 maps rendered orthogonally
- all front-facing overworld sprites
- all trainer class sprites
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment