More constants and data tables

This commit is contained in:
Remy Oukaour
2018-01-11 01:45:27 -05:00
parent cc8dac5a22
commit b45f89f80c
32 changed files with 450 additions and 430 deletions

View File

@@ -63,6 +63,7 @@ const_value set 1
const STAT_SATK
const STAT_SDEF
NUM_STATS EQU const_value
STAT_SPC EQU STAT_SATK
; stat formula constants
STAT_MIN_NORMAL EQU 5

View File

@@ -164,7 +164,7 @@ const_value set 70
; PartyMenuActionText values
; GetPartyMenuTilemapPointers arguments (see engine/party_menu.asm)
; GetPartyMenuQualityIndexes arguments (see engine/party_menu.asm)
const_def
const PARTYMENUACTION_CHOOSE_POKEMON
const PARTYMENUACTION_HEALING_ITEM

View File

@@ -244,6 +244,7 @@ NUM_TREEMON_SETS EQU const_value
EMOTE_MEM EQU -1
; FruitTreeItems indexes (see data/items/fruit_trees.asm)
; used by fruittree command
const_value set 1
const FRUITTREE_ROUTE_29 ; 01
const FRUITTREE_ROUTE_30_1 ; 02
@@ -278,8 +279,8 @@ const_value set 1
NUM_FRUIT_TREES EQU const_value +- 1
; elevator floors
; used by elevfloor
; ElevatorFloorNames indexes (see data/elevator_floors.asm)
; used by elevfloor macro
const_def
const FLOOR_B4F
const FLOOR_B3F

View File

@@ -1,7 +1,8 @@
; radio channel ids
; indexes for:
; - PlayRadioShow/RadioJumptable (see engine/radio.asm)
; - RadioChannelSongs (see data/radio/channel_music.asm)
; - PlayRadioShow/RadioJumptable (see engine/radio.asm)
; - RadioChannels (see engine/radio.asm)
const_def
const OAKS_POKEMON_TALK ; 00
const POKEDEX_SHOW ; 01

View File

@@ -1,7 +1,8 @@
; TypeNames indexes (see data/type_names.asm)
; TypeNames indexes (see data/types/names.asm)
; also used in:
; - TypeMatchups (see data/type_matchups.asm)
; - Pokedex_SearchForMons.TypeConversionTable and Pokedex_PlaceSearchScreenTypeStrings.TypeStrings (see engine/pokedex.asm)
; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
; - TypeMatchups (see data/battle/type_matchups.asm)
const_def
PHYSICAL EQU const_value
@@ -38,5 +39,6 @@ SPECIAL EQU const_value
const ICE
const DRAGON
const DARK
TYPES_END EQU const_value
NUM_TYPES EQU TYPES_END + UNUSED_TYPES - UNUSED_TYPES_END