mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
32ed487a47
# Conflicts: # audio/engine.asm # constants/gfx_constants.asm # constants/map_data_constants.asm # constants/pokemon_data_constants.asm # constants/sprite_constants.asm # constants/wram_constants.asm # data/maps/data.asm # engine/battle/ai/scoring.asm # engine/battle/core.asm # engine/battle/effect_commands.asm # engine/battle/misc.asm # engine/battle_anims/getpokeballwobble.asm # engine/breeding.asm # engine/buy_sell_toss.asm # engine/decorations.asm # engine/events/battle_tower/battle_tower.asm # engine/events/battle_tower/rules.asm # engine/events/buena.asm # engine/events/bug_contest/contest_2.asm # engine/events/daycare.asm # engine/events/dratini.asm # engine/events/halloffame.asm # engine/events/happiness_egg.asm # engine/events/kurt.asm # engine/events/lucky_number.asm # engine/events/magnet_train.asm # engine/events/overworld.asm # engine/events/pokerus/pokerus.asm # engine/events/print_unown.asm # engine/events/print_unown_2.asm # engine/events/unown_walls.asm # engine/item_effects.asm # engine/link.asm # engine/mon_menu.asm # engine/player_object.asm # engine/routines/playslowcry.asm # engine/scripting.asm # engine/search.asm # engine/search2.asm # engine/specials.asm # engine/start_menu.asm # engine/timeset.asm # home/battle_vars.asm # home/map.asm # maps/GoldenrodUndergroundSwitchRoomEntrances.asm # maps/IlexForest.asm # maps/KrissHouse2F.asm # maps/Route39Barn.asm # mobile/mobile_12_2.asm # mobile/mobile_40.asm # mobile/mobile_5f.asm # wram.asm
109 lines
2.2 KiB
NASM
109 lines
2.2 KiB
NASM
GROUP_N_A EQU -1
|
|
MAP_N_A EQU -1
|
|
GROUP_NONE EQU 0
|
|
MAP_NONE EQU 0
|
|
|
|
|
|
; map struct members (see data/maps/maps.asm)
|
|
const_def
|
|
const MAP_MAPATTRIBUTES_BANK ; 0
|
|
const MAP_TILESET ; 1
|
|
const MAP_ENVIRONMENT ; 2
|
|
const MAP_MAPATTRIBUTES ; 3
|
|
const MAP_MAPATTRIBUTES_HI ; 4
|
|
const MAP_LOCATION ; 5
|
|
const MAP_MUSIC ; 6
|
|
const MAP_PALETTE ; 7
|
|
const MAP_FISHGROUP ; 8
|
|
|
|
; map environments (wEnvironment)
|
|
const_def 1
|
|
const TOWN
|
|
const ROUTE
|
|
const INDOOR
|
|
const CAVE
|
|
const ENVIRONMENT_5
|
|
const GATE
|
|
const DUNGEON
|
|
|
|
; map palettes (wEnvironment)
|
|
const_def
|
|
const PALETTE_AUTO
|
|
const PALETTE_DAY
|
|
const PALETTE_NITE
|
|
const PALETTE_MORN
|
|
const PALETTE_DARK
|
|
|
|
; FishGroups indexes (see data/wild/fish.asm)
|
|
const_def
|
|
const FISHGROUP_NONE
|
|
const FISHGROUP_SHORE
|
|
const FISHGROUP_OCEAN
|
|
const FISHGROUP_LAKE
|
|
const FISHGROUP_POND
|
|
const FISHGROUP_DRATINI
|
|
const FISHGROUP_QWILFISH_SWARM
|
|
const FISHGROUP_REMORAID_SWARM
|
|
const FISHGROUP_GYARADOS
|
|
const FISHGROUP_DRATINI_2
|
|
const FISHGROUP_WHIRL_ISLANDS
|
|
const FISHGROUP_QWILFISH
|
|
const FISHGROUP_REMORAID
|
|
const FISHGROUP_QWILFISH_NO_SWARM
|
|
|
|
|
|
; connection directions (see data/maps/data.asm)
|
|
const_def
|
|
const EAST_F
|
|
const WEST_F
|
|
const SOUTH_F
|
|
const NORTH_F
|
|
|
|
; wMapConnections
|
|
const_def
|
|
shift_const EAST
|
|
shift_const WEST
|
|
shift_const SOUTH
|
|
shift_const NORTH
|
|
|
|
|
|
; SpawnPoints indexes (see data/maps/spawn_points.asm)
|
|
const_value = -1
|
|
const SPAWN_N_A
|
|
const SPAWN_HOME
|
|
const SPAWN_DEBUG
|
|
; kanto
|
|
const SPAWN_PALLET
|
|
const SPAWN_VIRIDIAN
|
|
const SPAWN_PEWTER
|
|
const SPAWN_CERULEAN
|
|
const SPAWN_ROCK_TUNNEL
|
|
const SPAWN_VERMILION
|
|
const SPAWN_LAVENDER
|
|
const SPAWN_SAFFRON
|
|
const SPAWN_CELADON
|
|
const SPAWN_FUCHSIA
|
|
const SPAWN_CINNABAR
|
|
const SPAWN_INDIGO
|
|
; johto
|
|
const SPAWN_NEW_BARK
|
|
const SPAWN_CHERRYGROVE
|
|
const SPAWN_VIOLET
|
|
const SPAWN_UNION_CAVE
|
|
const SPAWN_AZALEA
|
|
const SPAWN_CIANWOOD
|
|
const SPAWN_GOLDENROD
|
|
const SPAWN_OLIVINE
|
|
const SPAWN_ECRUTEAK
|
|
const SPAWN_MAHOGANY
|
|
const SPAWN_LAKE_OF_RAGE
|
|
const SPAWN_BLACKTHORN
|
|
const SPAWN_MT_SILVER
|
|
const SPAWN_FAST_SHIP
|
|
NUM_SPAWNS EQU const_value
|
|
|
|
|
|
; outdoor sprite limits (see engine/overworld.asm)
|
|
MAX_OUTDOOR_SPRITES EQU 23
|
|
SPRITE_GFX_LIST_CAPACITY EQU $20
|