Merge pull request #476 from Rangi42/master

Resolve some issues; rename some maps; move more tables into data/; warp_def → warp_event (ready to merge)
This commit is contained in:
yenatch 2018-02-25 22:39:51 -05:00 committed by GitHub
commit 725148443f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1353 changed files with 25120 additions and 32593 deletions

8
FAQ.md
View File

@ -31,17 +31,17 @@ If you are using 64-bit Windows, download [**64-bit Cygwin**][cygwin] and [**64-
If you have not changed any of the asm, make sure you have the latest version of pokecrystal and the correct version of rgbds (see [INSTALL.md](INSTALL.md)). If you have not changed any of the asm, make sure you have the latest version of pokecrystal and the correct version of rgbds (see [INSTALL.md](INSTALL.md)).
If you added or changed any code, it has to fit in the **memory banks**. The 2MB ROM is divided into 128 banks of 4KB each, numbered $00 to $7F. The linkerscript **pokecrystal.link** lists which **`SECTION`**s go in which banks. Try moving some code into a new section. If you added or changed any code, it has to fit in the **memory banks**. The 2MB ROM is divided into 128 banks of 4KB each, numbered $00 to $7F. The linkerscript **pokecrystal.link** lists which `SECTION`s go in which banks. Try moving some code into a new section.
## How do I edit maps? ## How do I edit maps?
For `asm` scripts, read [docs/map_scripts.md](docs/map_scripts.md). For `blk` layouts, try [crowdmap][crowdmap] or [Polished Map][polished-map]. For `asm` scripts, read [docs/map_event_scripts.md](docs/map_event_scripts.md). For `blk` layouts, try [crowdmap][crowdmap] or [Polished Map][polished-map].
## How do I write new features? ## How do I write new features?
There are a number of special-purpose scripting languages used for different purposes, as described in [docs](docs/). For more general features, you'll need to code directly in assembly language. See [docs/assembly_programming.md](docs/assembly_programming.md). There are a number of special-purpose scripting languages, as described in [docs](docs/). For more general features, you'll need to code directly in assembly language. See [docs/assembly_programming.md](docs/assembly_programming.md).
## I need more help! ## I need more help!
@ -51,4 +51,4 @@ Try asking on IRC or Discord (see [README.md](README.md)).
[cygwin]: https://cygwin.com/install.html [cygwin]: https://cygwin.com/install.html
[rgbds]: https://github.com/rednex/rgbds/releases [rgbds]: https://github.com/rednex/rgbds/releases
[crowdmap]: https://github.com/yenatch/crowdmap/ [crowdmap]: https://github.com/yenatch/crowdmap/
[polished-map]: https://github.com/roukaour/polished-map [polished-map]: https://github.com/Rangi42/polished-map

View File

@ -9,20 +9,15 @@ RGBFIX := rgbfix
RGBGFX := rgbgfx RGBGFX := rgbgfx
RGBLINK := rgblink RGBLINK := rgblink
.SUFFIXES: roms := pokecrystal.gbc pokecrystal11.gbc
.PHONY: all clean tools compare crystal crystal11
.SECONDEXPANSION:
.PRECIOUS:
.SECONDARY:
crystal_obj := \ crystal_obj := \
audio.o \ audio.o \
home.o \ home.o \
main.o \ main.o \
wram.o \ wram.o \
data/common_text/common_text.o \ data/text/common.o \
data/maps/maps.o \ data/maps/map_data.o \
data/pokemon/dex_entries.o \ data/pokemon/dex_entries.o \
data/pokemon/egg_moves.o \ data/pokemon/egg_moves.o \
data/pokemon/evos_attacks.o \ data/pokemon/evos_attacks.o \
@ -35,7 +30,13 @@ lib/mobile/main.o
crystal11_obj := $(crystal_obj:.o=11.o) crystal11_obj := $(crystal_obj:.o=11.o)
roms := pokecrystal.gbc pokecrystal11.gbc ### Build targets
.SUFFIXES:
.PHONY: all crystal crystal11 clean compare tools
.SECONDEXPANSION:
.PRECIOUS:
.SECONDARY:
all: crystal all: crystal
crystal: pokecrystal.gbc crystal: pokecrystal.gbc
@ -75,16 +76,16 @@ $(foreach obj, $(crystal_obj), $(eval $(call DEP,$(obj),$(obj:.o=.asm))))
endif endif
pokecrystal11.gbc: $(crystal11_obj) pokecrystal.link
$(RGBLINK) -n pokecrystal11.sym -m pokecrystal11.map -l pokecrystal.link -o $@ $(crystal11_obj)
$(RGBFIX) -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -n 1 -p 0 -r 3 -t PM_CRYSTAL $@
tools/sort_symfile.sh pokecrystal11.sym
pokecrystal.gbc: $(crystal_obj) pokecrystal.link pokecrystal.gbc: $(crystal_obj) pokecrystal.link
$(RGBLINK) -n pokecrystal.sym -m pokecrystal.map -l pokecrystal.link -o $@ $(crystal_obj) $(RGBLINK) -n pokecrystal.sym -m pokecrystal.map -l pokecrystal.link -o $@ $(crystal_obj)
$(RGBFIX) -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@ $(RGBFIX) -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -p 0 -r 3 -t PM_CRYSTAL $@
tools/sort_symfile.sh pokecrystal.sym tools/sort_symfile.sh pokecrystal.sym
pokecrystal11.gbc: $(crystal11_obj) pokecrystal.link
$(RGBLINK) -n pokecrystal11.sym -m pokecrystal11.map -l pokecrystal.link -o $@ $(crystal11_obj)
$(RGBFIX) -Cjv -i BYTE -k 01 -l 0x33 -m 0x10 -n 1 -p 0 -r 3 -t PM_CRYSTAL $@
tools/sort_symfile.sh pokecrystal11.sym
# For files that the compressor can't match, there will be a .lz file suffixed with the md5 hash of the correct uncompressed file. # For files that the compressor can't match, there will be a .lz file suffixed with the md5 hash of the correct uncompressed file.
# If the hash of the uncompressed file matches, use this .lz instead. # If the hash of the uncompressed file matches, use this .lz instead.
@ -222,6 +223,8 @@ gfx/mobile/pichu_animated.2bpp: tools/gfx += --trim-whitespace
gfx/unknown/unknown_egg.2bpp: rgbgfx += -h gfx/unknown/unknown_egg.2bpp: rgbgfx += -h
### Catch-all graphics rules
%.bin: ; %.bin: ;
%.blk: ; %.blk: ;

View File

@ -2,27 +2,31 @@
This is a disassembly of Pokémon Crystal. This is a disassembly of Pokémon Crystal.
It builds the following roms: It builds the following ROMs:
* Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc `sha1: f4cd194bdee0d04ca4eac29e09b8e4e9d818c133` - Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc `sha1: f4cd194bdee0d04ca4eac29e09b8e4e9d818c133`
* Pokemon - Crystal Version (UE) (V1.1) [C][!].gbc `sha1: f2f52230b536214ef7c9924f483392993e226cfb` - Pokemon - Crystal Version (UE) (V1.1) [C][!].gbc `sha1: f2f52230b536214ef7c9924f483392993e226cfb`
To set up the repository, see [INSTALL.md](INSTALL.md). To set up the repository, see [INSTALL.md](INSTALL.md).
## See also ## See also
* [FAQ](FAQ.md) - [**FAQ**](FAQ.md)
* [Documentation](docs/) - [**Documentation**](docs/)
* Disassembly of [**Pokémon Red/Blue**][pokered] - [**Wiki**][wiki] (includes [tutorials][tutorials])
* Disassembly of [**Pokémon Yellow**][pokeyellow] - **Discord:** [pret][discord]
* Disassembly of [**Pokémon Gold**][pokegold] - **IRC:** [freenode#pret][irc]
* Disassembly of [**Pokémon Pinball**][pokepinball]
* Disassembly of [**Pokémon TCG**][poketcg] Other disassembly projects:
* Disassembly of [**Pokémon Ruby**][pokeruby]
* Disassembly of [**Pokémon Fire Red**][pokefirered] - [**Pokémon Red/Blue**][pokered]
* Disassembly of [**Pokémon Emerald**][pokeemerald] - [**Pokémon Yellow**][pokeyellow]
* Discord: [**pret**][Discord] - [**Pokémon Gold**][pokegold]
* irc: [freenode#pret][irc] - [**Pokémon Pinball**][pokepinball]
- [**Pokémon TCG**][poketcg]
- [**Pokémon Ruby**][pokeruby]
- [**Pokémon Fire Red**][pokefirered]
- [**Pokémon Emerald**][pokeemerald]
[pokered]: https://github.com/pret/pokered [pokered]: https://github.com/pret/pokered
[pokeyellow]: https://github.com/pret/pokeyellow [pokeyellow]: https://github.com/pret/pokeyellow
@ -32,7 +36,9 @@ To set up the repository, see [INSTALL.md](INSTALL.md).
[pokeruby]: https://github.com/pret/pokeruby [pokeruby]: https://github.com/pret/pokeruby
[pokefirered]: https://github.com/pret/pokefirered [pokefirered]: https://github.com/pret/pokefirered
[pokeemerald]: https://github.com/pret/pokeemerald [pokeemerald]: https://github.com/pret/pokeemerald
[Discord]: https://discord.gg/cJxDDVP [wiki]: https://github.com/pret/pokecrystal/wiki
[tutorials]: https://github.com/pret/pokecrystal/wiki/Tutorials
[discord]: https://discord.gg/cJxDDVP
[irc]: https://kiwiirc.com/client/irc.freenode.net/?#pret [irc]: https://kiwiirc.com/client/irc.freenode.net/?#pret
[travis]: https://travis-ci.org/pret/pokecrystal [travis]: https://travis-ci.org/pret/pokecrystal
[travis-badge]: https://travis-ci.org/pret/pokecrystal.svg?branch=master [travis-badge]: https://travis-ci.org/pret/pokecrystal.svg?branch=master

View File

@ -1320,7 +1320,7 @@ GetNoiseSample: ; e86c5
; load ptr to sample header in wNoiseSampleAddress ; load ptr to sample header in wNoiseSampleAddress
; are we on the last channel? ; are we on the last channel?
ld a, [wCurChannel] ld a, [wCurChannel]
and NUM_MUSIC_CHANS +- 1 and NUM_MUSIC_CHANS + -1
cp CHAN4 cp CHAN4
; ret if not ; ret if not
ret nz ret nz
@ -2102,7 +2102,7 @@ Music_Volume: ; e89d2
; e89e1 ; e89e1
Music_TempoRelative: ; e89e1 Music_TempoRelative: ; e89e1
; set global tempo to current channel tempo +- param ; set global tempo to current channel tempo +/- param
; params: 1 signed ; params: 1 signed
call GetMusicByte call GetMusicByte
ld e, a ld e, a

View File

@ -1,6 +1,6 @@
WaveSamples: ; e8db2 WaveSamples: ; e8db2
; these are streams of 32 4-bit values used as wavepatterns ; These are streams of 32 nybbles (4-bit values) used as wave patterns.
; nothing interesting here! ; Plot them as a line chart to see the wave's shape.
dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1 dn 0, 2, 4, 6, 8, 10, 12, 14, 15, 15, 15, 14, 14, 13, 13, 12, 12, 11, 10, 9, 8, 7, 6, 5, 4, 4, 3, 3, 2, 2, 1, 1
dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1 dn 0, 2, 4, 6, 8, 10, 12, 14, 14, 15, 15, 15, 15, 14, 14, 14, 13, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 2, 1, 1
dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1 dn 1, 3, 6, 9, 11, 13, 14, 14, 14, 14, 15, 15, 15, 15, 14, 13, 13, 14, 15, 15, 15, 15, 14, 14, 14, 14, 13, 11, 9, 6, 3, 1

View File

@ -86,7 +86,7 @@
charmap "▲", $61 ; gfx/font/up_arrow.png charmap "▲", $61 ; gfx/font/up_arrow.png
charmap "☎", $62 ; gfx/font/phone_icon.2bpp charmap "☎", $62 ; gfx/font/phone_icon.2bpp
; needed for Special_MagikarpHouseSign (see engine/events/magikarp.asm) ; needed for MagikarpHouseSign (see engine/events/magikarp.asm)
charmap "", $6e ; gfx/font/feet_inches.png charmap "", $6e ; gfx/font/feet_inches.png
charmap "″", $6f ; gfx/font/feet_inches.png charmap "″", $6f ; gfx/font/feet_inches.png

View File

@ -5,48 +5,50 @@ INCLUDE "macros.asm"
INCLUDE "hram.asm" INCLUDE "hram.asm"
INCLUDE "constants/hardware_constants.asm" INCLUDE "constants/hardware_constants.asm"
INCLUDE "constants/deco_constants.asm"
INCLUDE "constants/wram_constants.asm" INCLUDE "constants/wram_constants.asm"
INCLUDE "constants/pokemon_constants.asm" INCLUDE "constants/misc_constants.asm"
INCLUDE "constants/type_constants.asm" INCLUDE "constants/input_constants.asm"
INCLUDE "constants/move_constants.asm" INCLUDE "constants/gfx_constants.asm"
INCLUDE "constants/move_effect_constants.asm" INCLUDE "constants/text_constants.asm"
INCLUDE "constants/battle_constants.asm" INCLUDE "constants/audio_constants.asm"
INCLUDE "constants/battle_anim_constants.asm" INCLUDE "constants/battle_anim_constants.asm"
INCLUDE "constants/map_constants.asm" INCLUDE "constants/battle_constants.asm"
INCLUDE "constants/map_data_constants.asm" INCLUDE "constants/battle_tower_constants.asm"
INCLUDE "constants/map_setup_constants.asm" INCLUDE "constants/collision_constants.asm"
INCLUDE "constants/landmark_constants.asm" INCLUDE "constants/credits_constants.asm"
INCLUDE "constants/cry_constants.asm"
INCLUDE "constants/engine_flags.asm"
INCLUDE "constants/event_flags.asm"
INCLUDE "constants/icon_constants.asm"
INCLUDE "constants/item_constants.asm" INCLUDE "constants/item_constants.asm"
INCLUDE "constants/item_data_constants.asm" INCLUDE "constants/item_data_constants.asm"
INCLUDE "constants/trainer_constants.asm" INCLUDE "constants/landmark_constants.asm"
INCLUDE "constants/trainer_data_constants.asm" INCLUDE "constants/map_constants.asm"
INCLUDE "constants/script_constants.asm" INCLUDE "constants/map_data_constants.asm"
INCLUDE "constants/event_flags.asm" INCLUDE "constants/map_object_constants.asm"
INCLUDE "constants/engine_flags.asm" INCLUDE "constants/map_setup_constants.asm"
INCLUDE "constants/music_constants.asm" INCLUDE "constants/menu_constants.asm"
INCLUDE "constants/sfx_constants.asm"
INCLUDE "constants/phone_constants.asm"
INCLUDE "constants/credits_constants.asm"
INCLUDE "constants/gfx_constants.asm"
INCLUDE "constants/input_constants.asm"
INCLUDE "constants/pokemon_data_constants.asm"
INCLUDE "constants/icon_constants.asm"
INCLUDE "constants/serial_constants.asm"
INCLUDE "constants/mobile_constants.asm" INCLUDE "constants/mobile_constants.asm"
INCLUDE "constants/text_constants.asm" INCLUDE "constants/move_constants.asm"
INCLUDE "constants/misc_constants.asm" INCLUDE "constants/move_effect_constants.asm"
INCLUDE "constants/std_constants.asm" INCLUDE "constants/music_constants.asm"
INCLUDE "constants/deco_constants.asm" INCLUDE "constants/npc_trade_constants.asm"
INCLUDE "constants/phone_constants.asm"
INCLUDE "constants/pokemon_constants.asm"
INCLUDE "constants/pokemon_data_constants.asm"
INCLUDE "constants/printer_constants.asm"
INCLUDE "constants/radio_constants.asm" INCLUDE "constants/radio_constants.asm"
INCLUDE "constants/npctrade_constants.asm" INCLUDE "constants/scgb_constants.asm"
INCLUDE "constants/scene_constants.asm"
INCLUDE "constants/script_constants.asm"
INCLUDE "constants/serial_constants.asm"
INCLUDE "constants/sfx_constants.asm"
INCLUDE "constants/sprite_anim_constants.asm"
INCLUDE "constants/sprite_constants.asm" INCLUDE "constants/sprite_constants.asm"
INCLUDE "constants/sprite_data_constants.asm" INCLUDE "constants/sprite_data_constants.asm"
INCLUDE "constants/sprite_anim_constants.asm" INCLUDE "constants/std_constants.asm"
INCLUDE "constants/tileset_constants.asm" INCLUDE "constants/tileset_constants.asm"
INCLUDE "constants/collision_constants.asm" INCLUDE "constants/trainer_constants.asm"
INCLUDE "constants/scgb_constants.asm" INCLUDE "constants/trainer_data_constants.asm"
INCLUDE "constants/battle_tower_constants.asm" INCLUDE "constants/type_constants.asm"
INCLUDE "constants/cry_constants.asm"
INCLUDE "constants/audio_constants.asm"
INCLUDE "constants/printer_constants.asm"
INCLUDE "constants/menu_constants.asm"

View File

@ -708,7 +708,7 @@ BATTLEANIMSTRUCT_LENGTH EQU const_value
const BATTLEANIMOAMSET_D7 const BATTLEANIMOAMSET_D7
; BattleBGEffects indexes (see engine/battle_anims/bg_effects.asm) ; BattleBGEffects indexes (see engine/battle_anims/bg_effects.asm)
const_value set 1 const_def 1
const ANIM_BG_FLASH_INVERTED const ANIM_BG_FLASH_INVERTED
const ANIM_BG_FLASH_WHITE const ANIM_BG_FLASH_WHITE
const ANIM_BG_WHITE_HUES const ANIM_BG_WHITE_HUES
@ -764,7 +764,7 @@ const_value set 1
const ANIM_BG_35 const ANIM_BG_35
; AnimObjGFX indexes (see data/battle_anims/object_gfx.asm) ; AnimObjGFX indexes (see data/battle_anims/object_gfx.asm)
const_value set 1 const_def 1
const ANIM_GFX_HIT const ANIM_GFX_HIT
const ANIM_GFX_CUT const ANIM_GFX_CUT
const ANIM_GFX_FIRE const ANIM_GFX_FIRE

View File

@ -55,7 +55,7 @@ MOVE_LENGTH EQU const_value
; indexes for: ; indexes for:
; - wPlayerStats and wEnemyStats (see wram.asm) ; - wPlayerStats and wEnemyStats (see wram.asm)
; - party_struct and battle_struct members (see macros/wram.asm) ; - party_struct and battle_struct members (see macros/wram.asm)
const_value set 1 const_def 1
const STAT_HP const STAT_HP
const STAT_ATK const STAT_ATK
const STAT_DEF const STAT_DEF
@ -76,7 +76,7 @@ ATKDEFDV_SHINY EQU $EA
SPDSPCDV_SHINY EQU $AA SPDSPCDV_SHINY EQU $AA
; battle classes (wBattleMode values) ; battle classes (wBattleMode values)
const_value set 1 const_def 1
const WILD_BATTLE const WILD_BATTLE
const TRAINER_BATTLE const TRAINER_BATTLE
@ -96,7 +96,7 @@ const_value set 1
const BATTLETYPE_CELEBI const BATTLETYPE_CELEBI
const BATTLETYPE_SUICUNE const BATTLETYPE_SUICUNE
; GetBattleVar and GetBattleVarAddr arguments (see home/battle.asm) ; BattleVarPairs indexes (see home/battle.asm)
const_def const_def
const BATTLE_VARS_SUBSTATUS1 const BATTLE_VARS_SUBSTATUS1
const BATTLE_VARS_SUBSTATUS2 const BATTLE_VARS_SUBSTATUS2
@ -120,7 +120,7 @@ const_value set 1
const BATTLE_VARS_LAST_MOVE const BATTLE_VARS_LAST_MOVE
const BATTLE_VARS_LAST_MOVE_OPP const BATTLE_VARS_LAST_MOVE_OPP
; GetBattleVar and GetBattleVarAddr internal indexes (see home/battle.asm) ; BattleVarLocations indexes (see home/battle.asm)
const_def const_def
const PLAYER_SUBSTATUS_1 const PLAYER_SUBSTATUS_1
const ENEMY_SUBSTATUS_1 const ENEMY_SUBSTATUS_1
@ -151,7 +151,7 @@ const_value set 1
; status condition bit flags ; status condition bit flags
SLP EQU %111 ; 0-7 turns SLP EQU %111 ; 0-7 turns
const_value set 3 const_def 3
const PSN const PSN
const BRN const BRN
const FRZ const FRZ

View File

@ -47,7 +47,7 @@ BATTLE_TOWER_STRUCT_LENGTH EQU $e0 ; NAME_LENGTH + BATTLETOWER_PARTY_LENGTH * (P
MOBILE_EVENT_OBJECT_GS_BALL EQU $b MOBILE_EVENT_OBJECT_GS_BALL EQU $b
; BattleTowerText arguments (see engine/events/battle_tower/trainer_text.asm) ; BattleTowerText arguments (see engine/events/battle_tower/trainer_text.asm)
const_value set 1 const_def 1
const BATTLETOWERTEXT_INTRO const BATTLETOWERTEXT_INTRO
const BATTLETOWERTEXT_WIN_TEXT const BATTLETOWERTEXT_WIN_TEXT
const BATTLETOWERTEXT_LOSS_TEXT const BATTLETOWERTEXT_LOSS_TEXT

View File

@ -105,7 +105,7 @@
const PAAD_TESTING const PAAD_TESTING
; CreditsScript indexes (see data/credits_script.asm) ; CreditsScript indexes (see data/credits_script.asm)
const_value set -7 const_def -7
const CREDITS_THEEND const CREDITS_THEEND
const CREDITS_WAIT2 const CREDITS_WAIT2
const CREDITS_MUSIC const CREDITS_MUSIC

View File

@ -121,8 +121,7 @@ __enum__ = 0
deco GEODUDE_DOLL deco GEODUDE_DOLL
deco MACHOP_DOLL deco MACHOP_DOLL
deco TENTACOOL_DOLL deco TENTACOOL_DOLL
NUM_NON_TROPHY_DECOS = __enum__
deco GOLD_TROPHY_DOLL deco GOLD_TROPHY_DOLL
deco SILVER_TROPHY_DOLL deco SILVER_TROPHY_DOLL
NUM_DECOS = __enum__ NUM_DECOS = __enum__
NUM_NON_TROPHY_DECOS = NUM_DECOS +- 2

View File

@ -13,23 +13,23 @@
const ENGINE_DAY_CARE_LADY_HAS_MON const ENGINE_DAY_CARE_LADY_HAS_MON
; wMomSavingMoney ; wMomSavingMoney
const ENGINE_MOM_SAVING_MONEY const ENGINE_MOM_SAVING_MONEY
const ENGINE_DST const ENGINE_MOM_ACTIVE
; wUnusedTwoDayTimerOn ; wUnusedTwoDayTimerOn
const ENGINE_0A const ENGINE_0A
; wStatusFlags ; wStatusFlags
const ENGINE_POKEDEX const ENGINE_POKEDEX
const ENGINE_UNOWN_DEX const ENGINE_UNOWN_DEX
const ENGINE_POKERUS const ENGINE_CAUGHT_POKERUS
const ENGINE_ROCKET_SIGNAL_ON_CH20 const ENGINE_ROCKET_SIGNAL_ON_CH20
const ENGINE_CREDITS_SKIP const ENGINE_CREDITS_SKIP
const ENGINE_BUG_CONTEST_ON ; 10 const ENGINE_MAIN_MENU_MOBILE_CHOICES ; 10
; wStatusFlags2 ; wStatusFlags2
const ENGINE_BUG_CONTEST_TIMER const ENGINE_BUG_CONTEST_TIMER
const ENGINE_SAFARI_ZONE const ENGINE_SAFARI_ZONE
const ENGINE_ROCKETS_IN_RADIO_TOWER const ENGINE_ROCKETS_IN_RADIO_TOWER
const ENGINE_BIKE_SHOP_CALL_ENABLED const ENGINE_BIKE_SHOP_CALL_ENABLED
const ENGINE_GIVE_POKERUS const ENGINE_15
const ENGINE_FLORIA const ENGINE_REACHED_GOLDENROD
const ENGINE_ROCKETS_IN_MAHOGANY const ENGINE_ROCKETS_IN_MAHOGANY
; wBikeFlags ; wBikeFlags
const ENGINE_STRENGTH_ACTIVE const ENGINE_STRENGTH_ACTIVE
@ -54,16 +54,16 @@
const ENGINE_VOLCANOBADGE const ENGINE_VOLCANOBADGE
const ENGINE_EARTHBADGE const ENGINE_EARTHBADGE
; wUnlockedUnowns ; wUnlockedUnowns
const ENGINE_UNLOCKED_UNOWNS_1 const ENGINE_UNLOCKED_UNOWNS_A_TO_K
const ENGINE_UNLOCKED_UNOWNS_2 const ENGINE_UNLOCKED_UNOWNS_L_TO_R
const ENGINE_UNLOCKED_UNOWNS_3 const ENGINE_UNLOCKED_UNOWNS_S_TO_W
const ENGINE_UNLOCKED_UNOWNS_4 const ENGINE_UNLOCKED_UNOWNS_X_TO_Z
const ENGINE_UNLOCKED_UNOWNS_5 const ENGINE_UNLOCKED_UNOWNS_UNUSED_4
const ENGINE_UNLOCKED_UNOWNS_6 ; 30 const ENGINE_UNLOCKED_UNOWNS_UNUSED_5 ; 30
const ENGINE_UNLOCKED_UNOWNS_7 const ENGINE_UNLOCKED_UNOWNS_UNUSED_6
const ENGINE_UNLOCKED_UNOWNS_8 const ENGINE_UNLOCKED_UNOWNS_UNUSED_7
; wVisitedSpawns ; wVisitedSpawns
const ENGINE_FLYPOINT_KRISS_HOUSE const ENGINE_FLYPOINT_PLAYERS_HOUSE
const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER const ENGINE_FLYPOINT_VIRIDIAN_POKECENTER
const ENGINE_FLYPOINT_PALLET const ENGINE_FLYPOINT_PALLET
const ENGINE_FLYPOINT_VIRIDIAN const ENGINE_FLYPOINT_VIRIDIAN
@ -97,18 +97,18 @@
; wDailyFlags ; wDailyFlags
const ENGINE_KURT_MAKING_BALLS ; 50 const ENGINE_KURT_MAKING_BALLS ; 50
const ENGINE_DAILY_BUG_CONTEST const ENGINE_DAILY_BUG_CONTEST
const ENGINE_SPECIAL_WILDDATA const ENGINE_FISH_SWARM
const ENGINE_TIME_CAPSULE const ENGINE_TIME_CAPSULE
const ENGINE_ALL_FRUIT_TREES const ENGINE_ALL_FRUIT_TREES
const ENGINE_SHUCKLE_GIVEN const ENGINE_GOT_SHUCKIE_TODAY
const ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED const ENGINE_GOLDENROD_UNDERGROUND_MERCHANT_CLOSED
const ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY const ENGINE_FOUGHT_IN_TRAINER_HALL_TODAY
; wWeeklyFlags ; wWeeklyFlags
const ENGINE_MT_MOON_SQUARE_CLEFAIRY const ENGINE_MT_MOON_SQUARE_CLEFAIRY
const ENGINE_UNION_CAVE_LAPRAS const ENGINE_UNION_CAVE_LAPRAS
const ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT const ENGINE_GOLDENROD_UNDERGROUND_GOT_HAIRCUT
const ENGINE_GOLDENROD_MALL_5F_HAPPINESS_EVENT const ENGINE_GOLDENROD_DEPT_STORE_TM27_RETURN
const ENGINE_TEA_IN_BLUES_HOUSE const ENGINE_DAISYS_GROOMING
const ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT const ENGINE_INDIGO_PLATEAU_RIVAL_FIGHT
const ENGINE_DAILY_MOVE_TUTOR const ENGINE_DAILY_MOVE_TUTOR
const ENGINE_BUENAS_PASSWORD const ENGINE_BUENAS_PASSWORD
@ -120,7 +120,7 @@
; wPlayerGender ; wPlayerGender
const ENGINE_PLAYER_IS_FEMALE const ENGINE_PLAYER_IS_FEMALE
; wCelebiEvent ; wCelebiEvent
const ENGINE_HAVE_EXAMINED_GS_BALL const ENGINE_FOREST_IS_RESTLESS
; wDailyRematchFlags ; wDailyRematchFlags
const ENGINE_JACK const ENGINE_JACK
const ENGINE_HUEY const ENGINE_HUEY

View File

@ -1,14 +1,14 @@
; wEventFlags bit flags ; wEventFlags bit flags
const_def const_def
; The first eight flags are reset upon reloading the map ; The first eight flags are reset upon reloading the map
const EVENT_GAVE_KURT_APRICORNS ; 000 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1 ; 000
const EVENT_RECEIVED_BALLS_FROM_KURT const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
const EVENT_DRAGON_SHRINE_QUESTION_2 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_3
const EVENT_DRAGON_SHRINE_QUESTION_3 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_4
const EVENT_DRAGON_SHRINE_QUESTION_4 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_5
const EVENT_DRAGON_SHRINE_QUESTION_5 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_6
const EVENT_JUST_RECEIVED_DRATINI const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_7
const EVENT_IN_YOUR_ROOM const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8
; Johto Gym Leader TM gifts ; Johto Gym Leader TM gifts
const EVENT_GOT_TM31_MUD_SLAP const EVENT_GOT_TM31_MUD_SLAP
const EVENT_GOT_TM49_FURY_CUTTER const EVENT_GOT_TM49_FURY_CUTTER
@ -730,7 +730,7 @@
const EVENT_DECO_GEODUDE_DOLL const EVENT_DECO_GEODUDE_DOLL
const EVENT_DECO_MACHOP_DOLL const EVENT_DECO_MACHOP_DOLL
const EVENT_DECO_TENTACOOL_DOLL const EVENT_DECO_TENTACOOL_DOLL
const EVENT_KRISS_ROOM_POSTER const EVENT_PLAYERS_ROOM_POSTER
const EVENT_DECO_GOLD_TROPHY const EVENT_DECO_GOLD_TROPHY
const EVENT_DECO_SILVER_TROPHY const EVENT_DECO_SILVER_TROPHY
const EVENT_DECO_BIG_SNORLAX_DOLL const EVENT_DECO_BIG_SNORLAX_DOLL
@ -1806,8 +1806,8 @@
const EVENT_RIVAL_SPROUT_TOWER const EVENT_RIVAL_SPROUT_TOWER
const EVENT_RIVAL_BURNED_TOWER const EVENT_RIVAL_BURNED_TOWER
const EVENT_RIVAL_DRAGONS_DEN const EVENT_RIVAL_DRAGONS_DEN
const EVENT_KRISS_HOUSE_MOM_1 const EVENT_PLAYERS_HOUSE_MOM_1
const EVENT_KRISS_HOUSE_MOM_2 const EVENT_PLAYERS_HOUSE_MOM_2
const EVENT_MR_POKEMONS_HOUSE_OAK const EVENT_MR_POKEMONS_HOUSE_OAK
const EVENT_VIOLET_CITY_EARL const EVENT_VIOLET_CITY_EARL
const EVENT_EARLS_ACADEMY_EARL const EVENT_EARLS_ACADEMY_EARL
@ -1928,10 +1928,10 @@
const EVENT_KURTS_HOUSE_KURT_1 const EVENT_KURTS_HOUSE_KURT_1
const EVENT_KURTS_HOUSE_KURT_2 const EVENT_KURTS_HOUSE_KURT_2
const EVENT_SLOWPOKE_WELL_KURT ; 740 const EVENT_SLOWPOKE_WELL_KURT ; 740
const EVENT_KRISS_HOUSE_2F_CONSOLE const EVENT_PLAYERS_HOUSE_2F_CONSOLE
const EVENT_KRISS_HOUSE_2F_DOLL_1 const EVENT_PLAYERS_HOUSE_2F_DOLL_1
const EVENT_KRISS_HOUSE_2F_DOLL_2 const EVENT_PLAYERS_HOUSE_2F_DOLL_2
const EVENT_KRISS_HOUSE_2F_BIG_DOLL const EVENT_PLAYERS_HOUSE_2F_BIG_DOLL
const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY
const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY
const EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY const EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY
@ -2012,8 +2012,8 @@
const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS
const EVENT_DRAGON_SHRINE_CLAIR ; 790 const EVENT_DRAGON_SHRINE_CLAIR ; 790
const EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER const EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER
const EVENT_KRISS_HOUSE_1F_NEIGHBOR const EVENT_PLAYERS_HOUSE_1F_NEIGHBOR
const EVENT_KRISS_NEIGHBORS_HOUSE_NEIGHBOR const EVENT_PLAYERS_NEIGHBORS_HOUSE_NEIGHBOR
const EVENT_PICKED_UP_GOLD_BERRY_FROM_HO_OH_ITEM_ROOM const EVENT_PICKED_UP_GOLD_BERRY_FROM_HO_OH_ITEM_ROOM
const EVENT_PICKED_UP_MYSTERYBERRY_FROM_HO_OH_ITEM_ROOM const EVENT_PICKED_UP_MYSTERYBERRY_FROM_HO_OH_ITEM_ROOM
const EVENT_PICKED_UP_REVIVAL_HERB_FROM_HO_OH_ITEM_ROOM const EVENT_PICKED_UP_REVIVAL_HERB_FROM_HO_OH_ITEM_ROOM
@ -2043,7 +2043,7 @@
const EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY const EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY
const EVENT_SAW_SUICUNE_ON_ROUTE_42 const EVENT_SAW_SUICUNE_ON_ROUTE_42
const EVENT_SAW_SUICUNE_ON_ROUTE_36 ; 7b0 const EVENT_SAW_SUICUNE_ON_ROUTE_36 ; 7b0
const EVENT_ECRUTEAK_HOUSE_WANDERING_SAGE const EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE
const EVENT_TIN_TOWER_1F_SUICUNE const EVENT_TIN_TOWER_1F_SUICUNE
const EVENT_TIN_TOWER_1F_ENTEI const EVENT_TIN_TOWER_1F_ENTEI
const EVENT_TIN_TOWER_1F_RAIKOU const EVENT_TIN_TOWER_1F_RAIKOU

View File

@ -3,9 +3,12 @@ LEN_1BPP_TILE EQU 1 * TILE_WIDTH ; bytes
LEN_2BPP_TILE EQU 2 * TILE_WIDTH ; bytes LEN_2BPP_TILE EQU 2 * TILE_WIDTH ; bytes
NUM_PAL_COLORS EQU 4 NUM_PAL_COLORS EQU 4
PAL_COLOR_SIZE EQU 2
PALETTE_SIZE EQU NUM_PAL_COLORS * PAL_COLOR_SIZE
PALRGB_WHITE EQUS "palred 31 + palgreen 31 + palblue 31" ; $7fff PALRGB_WHITE EQUS "palred 31 + palgreen 31 + palblue 31" ; $7fff
SCREEN_WIDTH EQU 20 ; tiles SCREEN_WIDTH EQU 20 ; tiles
SCREEN_HEIGHT EQU 18 ; tiles SCREEN_HEIGHT EQU 18 ; tiles
SCREEN_WIDTH_PX EQU SCREEN_WIDTH * TILE_WIDTH ; pixels SCREEN_WIDTH_PX EQU SCREEN_WIDTH * TILE_WIDTH ; pixels
@ -16,11 +19,18 @@ BG_MAP_HEIGHT EQU 32 ; tiles
WMISC_WIDTH EQU 6 * 4 WMISC_WIDTH EQU 6 * 4
WMISC_HEIGHT EQU 5 * 4 WMISC_HEIGHT EQU 5 * 4
HP_BAR_LENGTH EQU 6 ; tiles HP_BAR_LENGTH EQU 6 ; tiles
EXP_BAR_LENGTH EQU 8 ; tiles EXP_BAR_LENGTH EQU 8 ; tiles
HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * TILE_WIDTH ; pixels HP_BAR_LENGTH_PX EQU HP_BAR_LENGTH * TILE_WIDTH ; pixels
EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels
; GetHPPal return values (see home.asm)
HP_GREEN EQU 0
HP_YELLOW EQU 1
HP_RED EQU 2
; sprite_oam_struct members (see macros/wram.asm) ; sprite_oam_struct members (see macros/wram.asm)
const_def const_def
const SPRITEOAMSTRUCT_YCOORD ; 0 const SPRITEOAMSTRUCT_YCOORD ; 0
@ -29,3 +39,16 @@ EXP_BAR_LENGTH_PX EQU EXP_BAR_LENGTH * TILE_WIDTH ; pixels
const SPRITEOAMSTRUCT_ATTRIBUTES ; 3 const SPRITEOAMSTRUCT_ATTRIBUTES ; 3
SPRITEOAMSTRUCT_LENGTH EQU const_value SPRITEOAMSTRUCT_LENGTH EQU const_value
NUM_SPRITE_OAM_STRUCTS EQU 40 ; see wVirtualOAM NUM_SPRITE_OAM_STRUCTS EQU 40 ; see wVirtualOAM
; PokeAnims indexes (see engine/pic_animation.asm)
const_def
const ANIM_MON_SLOW
const ANIM_MON_NORMAL
const ANIM_MON_MENU
const ANIM_MON_TRADE
const ANIM_MON_EVOLVE
const ANIM_MON_HATCH
const ANIM_MON_UNUSED
const ANIM_MON_EGG1
const ANIM_MON_EGG2

View File

@ -288,7 +288,7 @@ NUM_HMS = const_value - HM01
add_mt FLAMETHROWER add_mt FLAMETHROWER
add_mt THUNDERBOLT add_mt THUNDERBOLT
add_mt ICE_BEAM add_mt ICE_BEAM
NUM_TM_HM_TUTOR = __enum__ +- 1 NUM_TM_HM_TUTOR = __enum__ + -1
USE_SCRIPT_VAR EQU $00 USE_SCRIPT_VAR EQU $00
ITEM_FROM_MEM EQU $ff ITEM_FROM_MEM EQU $ff

View File

@ -10,7 +10,7 @@
ITEMATTR_STRUCT_LENGTH EQU const_value ITEMATTR_STRUCT_LENGTH EQU const_value
; item types ; item types
const_value set 1 const_def 1
const ITEM ; 1 const ITEM ; 1
const KEY_ITEM ; 2 const KEY_ITEM ; 2
const BALL ; 3 const BALL ; 3
@ -18,14 +18,18 @@ const_value set 1
; item menu types ; item menu types
; UseItem.dw indexes (see engine/pack.asm) ; UseItem.dw indexes (see engine/pack.asm)
; UseRegisteredItem.SwitchTo indexes (see engine/select_menu.asm)
ITEMMENU_NOUSE EQU 0 ITEMMENU_NOUSE EQU 0
ITEMMENU_CURRENT EQU 4 ITEMMENU_CURRENT EQU 4
ITEMMENU_PARTY EQU 5 ITEMMENU_PARTY EQU 5
ITEMMENU_CLOSE EQU 6 ITEMMENU_CLOSE EQU 6
; item actions ; item actions
CANT_SELECT EQU 1 << 6 CANT_SELECT_F EQU 6
CANT_TOSS EQU 1 << 7 CANT_TOSS_F EQU 7
CANT_SELECT EQU 1 << CANT_SELECT_F
CANT_TOSS EQU 1 << CANT_TOSS_F
; pack pockets ; pack pockets
@ -34,7 +38,7 @@ CANT_TOSS EQU 1 << 7
const BALL_POCKET ; 1 const BALL_POCKET ; 1
const KEY_ITEM_POCKET ; 2 const KEY_ITEM_POCKET ; 2
const TM_HM_POCKET ; 3 const TM_HM_POCKET ; 3
NUM_POCKETS EQU const_value +- 1 NUM_POCKETS EQU const_value
MAX_ITEMS EQU 20 MAX_ITEMS EQU 20
MAX_BALLS EQU 12 MAX_BALLS EQU 12
@ -61,7 +65,7 @@ MAIL_STRUCT_LENGTH EQU $2f ; mailmsg struct
const HELD_7 const HELD_7
const HELD_CLEANSE_TAG const HELD_CLEANSE_TAG
const_value set 10 const_def 10
const HELD_HEAL_POISON const HELD_HEAL_POISON
const HELD_HEAL_FREEZE const HELD_HEAL_FREEZE
const HELD_HEAL_BURN const HELD_HEAL_BURN
@ -70,7 +74,7 @@ const_value set 10
const HELD_HEAL_STATUS const HELD_HEAL_STATUS
const HELD_HEAL_CONFUSION const HELD_HEAL_CONFUSION
const_value set 20 const_def 20
const HELD_PREVENT_POISON const HELD_PREVENT_POISON
const HELD_PREVENT_BURN const HELD_PREVENT_BURN
const HELD_PREVENT_FREEZE const HELD_PREVENT_FREEZE
@ -78,7 +82,7 @@ const_value set 20
const HELD_PREVENT_PARALYZE const HELD_PREVENT_PARALYZE
const HELD_PREVENT_CONFUSE const HELD_PREVENT_CONFUSE
const_value set 30 const_def 30
const HELD_30 const HELD_30
const HELD_ATTACK_UP const HELD_ATTACK_UP
const HELD_DEFENSE_UP const HELD_DEFENSE_UP
@ -89,12 +93,12 @@ const_value set 30
const HELD_EVASION_UP const HELD_EVASION_UP
const HELD_38 const HELD_38
const_value set 40 const_def 40
const HELD_40 const HELD_40
const HELD_41 const HELD_41
const HELD_METAL_POWDER const HELD_METAL_POWDER
const_value set 50 const_def 50
const HELD_NORMAL_BOOST const HELD_NORMAL_BOOST
const HELD_FIGHTING_BOOST const HELD_FIGHTING_BOOST
const HELD_FLYING_BOOST const HELD_FLYING_BOOST
@ -113,7 +117,7 @@ const_value set 50
const HELD_DARK_BOOST const HELD_DARK_BOOST
const HELD_STEEL_BOOST const HELD_STEEL_BOOST
const_value set 70 const_def 70
const HELD_CATCH_CHANCE const HELD_CATCH_CHANCE
const HELD_71 const HELD_71
const HELD_ESCAPE const HELD_ESCAPE
@ -170,29 +174,3 @@ const_value set 70
const MART_MT_MOON const MART_MT_MOON
const MART_INDIGO_PLATEAU const MART_INDIGO_PLATEAU
const MART_UNDERGROUND const MART_UNDERGROUND
; PartyMenuQualityPointers indexes (see data/party_menu_qualities.asm)
const_def
const PARTYMENUACTION_CHOOSE_POKEMON
const PARTYMENUACTION_HEALING_ITEM
const PARTYMENUACTION_SWITCH
const PARTYMENUACTION_TEACH_TMHM
const PARTYMENUACTION_MOVE
const PARTYMENUACTION_EVO_STONE
const PARTYMENUACTION_GIVE_MON
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
const PARTYMENUACTION_GIVE_ITEM
const PARTYMENUACTION_MOBILE ; mobile
; PrintPartyMenuActionText arguments (see engine/party_menu.asm)
const_value set $f0
const PARTYMENUTEXT_HEAL_PSN
const PARTYMENUTEXT_HEAL_BRN
const PARTYMENUTEXT_HEAL_FRZ
const PARTYMENUTEXT_HEAL_SLP
const PARTYMENUTEXT_HEAL_PAR
const PARTYMENUTEXT_HEAL_HP
const PARTYMENUTEXT_HEAL_ALL
const PARTYMENUTEXT_REVIVE
const PARTYMENUTEXT_LEVEL_UP
const PARTYMENUTEXT_HEAL_CONFUSION

View File

@ -145,7 +145,7 @@ ENDM
newgroup ; 4 newgroup ; 4
map_const ECRUTEAK_HOUSE, 10, 9 ; 1 map_const ECRUTEAK_TIN_TOWER_ENTRANCE, 10, 9 ; 1
map_const WISE_TRIOS_ROOM, 4, 4 ; 2 map_const WISE_TRIOS_ROOM, 4, 4 ; 2
map_const ECRUTEAK_POKECENTER_1F, 5, 4 ; 3 map_const ECRUTEAK_POKECENTER_1F, 5, 4 ; 3
map_const ECRUTEAK_LUGIA_SPEECH_HOUSE, 4, 4 ; 4 map_const ECRUTEAK_LUGIA_SPEECH_HOUSE, 4, 4 ; 4
@ -245,7 +245,7 @@ ENDM
map_const GOLDENROD_GYM, 10, 9 ; 3 map_const GOLDENROD_GYM, 10, 9 ; 3
map_const GOLDENROD_BIKE_SHOP, 4, 4 ; 4 map_const GOLDENROD_BIKE_SHOP, 4, 4 ; 4
map_const GOLDENROD_HAPPINESS_RATER, 4, 4 ; 5 map_const GOLDENROD_HAPPINESS_RATER, 4, 4 ; 5
map_const GOLDENROD_BILLS_HOUSE, 4, 4 ; 6 map_const BILLS_FAMILYS_HOUSE, 4, 4 ; 6
map_const GOLDENROD_MAGNET_TRAIN_STATION, 10, 9 ; 7 map_const GOLDENROD_MAGNET_TRAIN_STATION, 10, 9 ; 7
map_const GOLDENROD_FLOWER_SHOP, 4, 4 ; 8 map_const GOLDENROD_FLOWER_SHOP, 4, 4 ; 8
map_const GOLDENROD_PP_SPEECH_HOUSE, 4, 4 ; 9 map_const GOLDENROD_PP_SPEECH_HOUSE, 4, 4 ; 9
@ -260,7 +260,7 @@ ENDM
map_const GOLDENROD_DEPT_STORE_ROOF, 8, 4 ; 18 map_const GOLDENROD_DEPT_STORE_ROOF, 8, 4 ; 18
map_const GOLDENROD_GAME_CORNER, 10, 7 ; 19 map_const GOLDENROD_GAME_CORNER, 10, 7 ; 19
map_const GOLDENROD_POKECENTER_1F, 5, 4 ; 20 map_const GOLDENROD_POKECENTER_1F, 5, 4 ; 20
map_const GOLDENROD_POKECOM_CENTER_2F_MOBILE, 16, 16 ; 21 map_const POKECOM_CENTER_ADMIN_OFFICE_MOBILE, 16, 16 ; 21
map_const ILEX_FOREST_AZALEA_GATE, 5, 4 ; 22 map_const ILEX_FOREST_AZALEA_GATE, 5, 4 ; 22
map_const ROUTE_34_ILEX_FOREST_GATE, 5, 4 ; 23 map_const ROUTE_34_ILEX_FOREST_GATE, 5, 4 ; 23
map_const DAY_CARE, 5, 4 ; 24 map_const DAY_CARE, 5, 4 ; 24
@ -270,13 +270,13 @@ ENDM
map_const ROUTE_6, 10, 9 ; 1 map_const ROUTE_6, 10, 9 ; 1
map_const ROUTE_11, 20, 9 ; 2 map_const ROUTE_11, 20, 9 ; 2
map_const VERMILION_CITY, 20, 18 ; 3 map_const VERMILION_CITY, 20, 18 ; 3
map_const VERMILION_HOUSE_FISHING_SPEECH_HOUSE, 4, 4 ; 4 map_const VERMILION_FISHING_SPEECH_HOUSE, 4, 4 ; 4
map_const VERMILION_POKECENTER_1F, 5, 4 ; 5 map_const VERMILION_POKECENTER_1F, 5, 4 ; 5
map_const VERMILION_POKECENTER_2F_BETA, 8, 4 ; 6 map_const VERMILION_POKECENTER_2F_BETA, 8, 4 ; 6
map_const POKEMON_FAN_CLUB, 5, 4 ; 7 map_const POKEMON_FAN_CLUB, 5, 4 ; 7
map_const VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 4, 4 ; 8 map_const VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, 4, 4 ; 8
map_const VERMILION_MART, 6, 4 ; 9 map_const VERMILION_MART, 6, 4 ; 9
map_const VERMILION_HOUSE_DIGLETTS_CAVE_SPEECH_HOUSE, 4, 4 ; 10 map_const VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, 4, 4 ; 10
map_const VERMILION_GYM, 5, 9 ; 11 map_const VERMILION_GYM, 5, 9 ; 11
map_const ROUTE_6_SAFFRON_GATE, 5, 4 ; 12 map_const ROUTE_6_SAFFRON_GATE, 5, 4 ; 12
map_const ROUTE_6_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13 map_const ROUTE_6_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
@ -337,7 +337,7 @@ ENDM
map_const FUCHSIA_MART, 6, 4 ; 6 map_const FUCHSIA_MART, 6, 4 ; 6
map_const SAFARI_ZONE_MAIN_OFFICE, 4, 4 ; 7 map_const SAFARI_ZONE_MAIN_OFFICE, 4, 4 ; 7
map_const FUCHSIA_GYM, 5, 9 ; 8 map_const FUCHSIA_GYM, 5, 9 ; 8
map_const FUCHSIA_BILL_SPEECH_HOUSE, 4, 4 ; 9 map_const BILLS_BROTHERS_HOUSE, 4, 4 ; 9
map_const FUCHSIA_POKECENTER_1F, 5, 4 ; 10 map_const FUCHSIA_POKECENTER_1F, 5, 4 ; 10
map_const FUCHSIA_POKECENTER_2F_BETA, 8, 4 ; 11 map_const FUCHSIA_POKECENTER_2F_BETA, 8, 4 ; 11
map_const SAFARI_ZONE_WARDENS_HOME, 5, 4 ; 12 map_const SAFARI_ZONE_WARDENS_HOME, 5, 4 ; 12
@ -365,7 +365,7 @@ ENDM
map_const ROUTE_28, 20, 9 ; 1 map_const ROUTE_28, 20, 9 ; 1
map_const SILVER_CAVE_OUTSIDE, 20, 18 ; 2 map_const SILVER_CAVE_OUTSIDE, 20, 18 ; 2
map_const SILVER_CAVE_POKECENTER_1F, 5, 4 ; 3 map_const SILVER_CAVE_POKECENTER_1F, 5, 4 ; 3
map_const ROUTE_28_FAMOUS_SPEECH_HOUSE, 4, 4 ; 4 map_const ROUTE_28_STEEL_WING_HOUSE, 4, 4 ; 4
newgroup ; 20 newgroup ; 20
@ -373,7 +373,7 @@ ENDM
map_const TRADE_CENTER, 5, 4 ; 2 map_const TRADE_CENTER, 5, 4 ; 2
map_const COLOSSEUM, 5, 4 ; 3 map_const COLOSSEUM, 5, 4 ; 3
map_const TIME_CAPSULE, 5, 4 ; 4 map_const TIME_CAPSULE, 5, 4 ; 4
map_const MOBILE_TRADE_ROOM_MOBILE, 5, 4 ; 5 map_const MOBILE_TRADE_ROOM, 5, 4 ; 5
map_const MOBILE_BATTLE_ROOM, 5, 4 ; 6 map_const MOBILE_BATTLE_ROOM, 5, 4 ; 6
newgroup ; 21 newgroup ; 21
@ -436,7 +436,7 @@ ENDM
map_const VIRIDIAN_MART, 6, 4 ; 8 map_const VIRIDIAN_MART, 6, 4 ; 8
map_const VIRIDIAN_POKECENTER_1F, 5, 4 ; 9 map_const VIRIDIAN_POKECENTER_1F, 5, 4 ; 9
map_const VIRIDIAN_POKECENTER_2F_BETA, 8, 4 ; 10 map_const VIRIDIAN_POKECENTER_2F_BETA, 8, 4 ; 10
map_const ROUTE_2_NUGGET_SPEECH_HOUSE, 4, 4 ; 11 map_const ROUTE_2_NUGGET_HOUSE, 4, 4 ; 11
map_const ROUTE_2_GATE, 5, 4 ; 12 map_const ROUTE_2_GATE, 5, 4 ; 12
map_const VICTORY_ROAD_GATE, 10, 9 ; 13 map_const VICTORY_ROAD_GATE, 10, 9 ; 13
@ -447,12 +447,12 @@ ENDM
map_const ROUTE_29, 30, 9 ; 3 map_const ROUTE_29, 30, 9 ; 3
map_const NEW_BARK_TOWN, 10, 9 ; 4 map_const NEW_BARK_TOWN, 10, 9 ; 4
map_const ELMS_LAB, 5, 6 ; 5 map_const ELMS_LAB, 5, 6 ; 5
map_const KRISS_HOUSE_1F, 5, 4 ; 6 map_const PLAYERS_HOUSE_1F, 5, 4 ; 6
map_const KRISS_HOUSE_2F, 4, 3 ; 7 map_const PLAYERS_HOUSE_2F, 4, 3 ; 7
map_const KRISS_NEIGHBORS_HOUSE, 4, 4 ; 8 map_const PLAYERS_NEIGHBORS_HOUSE, 4, 4 ; 8
map_const ELMS_HOUSE, 4, 4 ; 9 map_const ELMS_HOUSE, 4, 4 ; 9
map_const ROUTE_26_HEAL_SPEECH_HOUSE, 4, 4 ; 10 map_const ROUTE_26_HEAL_HOUSE, 4, 4 ; 10
map_const ROUTE_26_DAY_OF_WEEK_SIBLINGS_HOUSE, 4, 4 ; 11 map_const DAY_OF_WEEK_SIBLINGS_HOUSE, 4, 4 ; 11
map_const ROUTE_27_SANDSTORM_HOUSE, 4, 4 ; 12 map_const ROUTE_27_SANDSTORM_HOUSE, 4, 4 ; 12
map_const ROUTE_29_ROUTE_46_GATE, 5, 4 ; 13 map_const ROUTE_29_ROUTE_46_GATE, 5, 4 ; 13
@ -472,7 +472,7 @@ ENDM
map_const COPYCATS_HOUSE_2F, 5, 3 ; 12 map_const COPYCATS_HOUSE_2F, 5, 3 ; 12
map_const ROUTE_5_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13 map_const ROUTE_5_UNDERGROUND_PATH_ENTRANCE, 4, 4 ; 13
map_const ROUTE_5_SAFFRON_GATE, 5, 4 ; 14 map_const ROUTE_5_SAFFRON_GATE, 5, 4 ; 14
map_const ROUTE_5_CLEANSE_TAG_SPEECH_HOUSE, 4, 4 ; 15 map_const ROUTE_5_CLEANSE_TAG_HOUSE, 4, 4 ; 15
newgroup ; 26 newgroup ; 26
@ -484,6 +484,6 @@ ENDM
map_const CHERRYGROVE_GYM_SPEECH_HOUSE, 4, 4 ; 6 map_const CHERRYGROVE_GYM_SPEECH_HOUSE, 4, 4 ; 6
map_const GUIDE_GENTS_HOUSE, 4, 4 ; 7 map_const GUIDE_GENTS_HOUSE, 4, 4 ; 7
map_const CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, 4, 4 ; 8 map_const CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, 4, 4 ; 8
map_const ROUTE_30_BERRY_SPEECH_HOUSE, 4, 4 ; 9 map_const ROUTE_30_BERRY_HOUSE, 4, 4 ; 9
map_const MR_POKEMONS_HOUSE, 4, 4 ; 10 map_const MR_POKEMONS_HOUSE, 4, 4 ; 10
map_const ROUTE_31_VIOLET_GATE, 5, 4 ; 11 map_const ROUTE_31_VIOLET_GATE, 5, 4 ; 11

View File

@ -4,21 +4,20 @@ GROUP_NONE EQU 0
MAP_NONE EQU 0 MAP_NONE EQU 0
; map header struct members (see data/maps/definitions.asm) ; map struct members (see data/maps/maps.asm)
const_def const_def
const MAPDEF_MAPDATA_BANK ; 0 const MAP_MAPATTRIBUTES_BANK ; 0
const MAPDEF_TILESET ; 1 const MAP_TILESET ; 1
const MAPDEF_ENVIRONMENT ; 2 const MAP_ENVIRONMENT ; 2
const MAPDEF_MAPDATA ; 3 const MAP_MAPATTRIBUTES ; 3
const MAPDEF_MAPDATA_HI ; 4 const MAP_MAPATTRIBUTES_HI ; 4
const MAPDEF_LOCATION ; 5 const MAP_LOCATION ; 5
const MAPDEF_MUSIC ; 6 const MAP_MUSIC ; 6
const MAPDEF_PALETTE ; 7 const MAP_PALETTE ; 7
const MAPDEF_FISHGROUP ; 8 const MAP_FISHGROUP ; 8
NUM_MAPDEF_ATTRIBUTES EQU const_value
; map environments (wEnvironment) ; map environments (wEnvironment)
const_value set 1 const_def 1
const TOWN const TOWN
const ROUTE const ROUTE
const INDOOR const INDOOR
@ -35,7 +34,7 @@ const_value set 1
const PALETTE_MORN const PALETTE_MORN
const PALETTE_DARK const PALETTE_DARK
; fish groups ; FishGroups indexes (see data/wild/fish.asm)
const_def const_def
const FISHGROUP_NONE const FISHGROUP_NONE
const FISHGROUP_SHORE const FISHGROUP_SHORE
@ -97,7 +96,7 @@ const_value = -1
const SPAWN_OLIVINE const SPAWN_OLIVINE
const SPAWN_ECRUTEAK const SPAWN_ECRUTEAK
const SPAWN_MAHOGANY const SPAWN_MAHOGANY
const SPAWN_LAKE const SPAWN_LAKE_OF_RAGE
const SPAWN_BLACKTHORN const SPAWN_BLACKTHORN
const SPAWN_MT_SILVER const SPAWN_MT_SILVER
const SPAWN_FAST_SHIP const SPAWN_FAST_SHIP
@ -107,79 +106,3 @@ NUM_SPAWNS EQU const_value
; outdoor sprite limits (see engine/overworld.asm) ; outdoor sprite limits (see engine/overworld.asm)
MAX_OUTDOOR_SPRITES EQU 23 MAX_OUTDOOR_SPRITES EQU 23
SPRITE_GFX_LIST_CAPACITY EQU $20 SPRITE_GFX_LIST_CAPACITY EQU $20
; map_object struct members (see macros/wram.asm)
const_def
const MAPOBJECT_OBJECT_STRUCT_ID ; 0
const MAPOBJECT_SPRITE ; 1
const MAPOBJECT_Y_COORD ; 2
const MAPOBJECT_X_COORD ; 3
const MAPOBJECT_MOVEMENT ; 4
const MAPOBJECT_RADIUS ; 5
const MAPOBJECT_HOUR ; 6
const MAPOBJECT_TIMEOFDAY ; 7
const MAPOBJECT_COLOR ; 8
const MAPOBJECT_RANGE ; 9
const MAPOBJECT_SCRIPT_POINTER ; a
const MAPOBJECT_POINTER_HI ; b
const MAPOBJECT_EVENT_FLAG ; c
const MAPOBJECT_FLAG_HI ; d
const MAPOBJECT_E ; unused
const MAPOBJECT_F ; unused
OBJECT_LENGTH EQU const_value
MAPOBJECT_SCREEN_HEIGHT EQU 11
MAPOBJECT_SCREEN_WIDTH EQU 12
; object_struct members (see macros/wram.asm)
const_def
const OBJECT_SPRITE ; 00
const OBJECT_MAP_OBJECT_INDEX ; 01
const OBJECT_SPRITE_TILE ; 02
const OBJECT_MOVEMENTTYPE ; 03
const OBJECT_FLAGS1 ; 04
const OBJECT_FLAGS2 ; 05
const OBJECT_PALETTE ; 06
const OBJECT_DIRECTION_WALKING ; 07
const OBJECT_FACING ; 08
const OBJECT_STEP_TYPE ; 09
const OBJECT_STEP_DURATION ; 0a
const OBJECT_ACTION ; 0b
const OBJECT_STEP_FRAME ; 0c
const OBJECT_FACING_STEP ; 0d
const OBJECT_NEXT_TILE ; 0e
const OBJECT_STANDING_TILE ; 0f
const OBJECT_NEXT_MAP_X ; 10
const OBJECT_NEXT_MAP_Y ; 11
const OBJECT_MAP_X ; 12
const OBJECT_MAP_Y ; 13
const OBJECT_INIT_X ; 14
const OBJECT_INIT_Y ; 15
const OBJECT_RADIUS ; 16
const OBJECT_SPRITE_X ; 17
const OBJECT_SPRITE_Y ; 18
const OBJECT_SPRITE_X_OFFSET ; 19
const OBJECT_SPRITE_Y_OFFSET ; 1a
const OBJECT_MOVEMENT_BYTE_INDEX ; 1b
const OBJECT_1C ; 1c
const OBJECT_1D ; 1d
const OBJECT_1E ; 1e
const OBJECT_1F ; 1f
const OBJECT_RANGE ; 20
; 21-27 are not used
OBJECT_STRUCT_LENGTH EQU 40
NUM_OBJECT_STRUCTS EQU 13 ; see wObjectStructs
; object_struct OBJECT_FACING values
OW_DOWN EQU DOWN << 2
OW_UP EQU UP << 2
OW_LEFT EQU LEFT << 2
OW_RIGHT EQU RIGHT << 2
; object_struct OBJECT_FLAGS1 bit flags
INVISIBLE EQU 0
FIXED_FACING EQU 2
SLIDING EQU 3
EMOTE_OBJECT EQU 7

View File

@ -0,0 +1,249 @@
; object_struct members (see macros/wram.asm)
const_def
const OBJECT_SPRITE ; 00
const OBJECT_MAP_OBJECT_INDEX ; 01
const OBJECT_SPRITE_TILE ; 02
const OBJECT_MOVEMENTTYPE ; 03
const OBJECT_FLAGS1 ; 04
const OBJECT_FLAGS2 ; 05
const OBJECT_PALETTE ; 06
const OBJECT_DIRECTION_WALKING ; 07
const OBJECT_FACING ; 08
const OBJECT_STEP_TYPE ; 09
const OBJECT_STEP_DURATION ; 0a
const OBJECT_ACTION ; 0b
const OBJECT_STEP_FRAME ; 0c
const OBJECT_FACING_STEP ; 0d
const OBJECT_NEXT_TILE ; 0e
const OBJECT_STANDING_TILE ; 0f
const OBJECT_NEXT_MAP_X ; 10
const OBJECT_NEXT_MAP_Y ; 11
const OBJECT_MAP_X ; 12
const OBJECT_MAP_Y ; 13
const OBJECT_INIT_X ; 14
const OBJECT_INIT_Y ; 15
const OBJECT_RADIUS ; 16
const OBJECT_SPRITE_X ; 17
const OBJECT_SPRITE_Y ; 18
const OBJECT_SPRITE_X_OFFSET ; 19
const OBJECT_SPRITE_Y_OFFSET ; 1a
const OBJECT_MOVEMENT_BYTE_INDEX ; 1b
const OBJECT_1C ; 1c
const OBJECT_1D ; 1d
const OBJECT_1E ; 1e
const OBJECT_1F ; 1f
const OBJECT_RANGE ; 20
; 21-27 are not used
OBJECT_STRUCT_LENGTH EQU 40
NUM_OBJECT_STRUCTS EQU 13 ; see wObjectStructs
; object_struct OBJECT_FACING values
OW_DOWN EQU DOWN << 2
OW_UP EQU UP << 2
OW_LEFT EQU LEFT << 2
OW_RIGHT EQU RIGHT << 2
; object_struct OBJECT_FLAGS1 bit flags
INVISIBLE EQU 0
FIXED_FACING EQU 2
SLIDING EQU 3
EMOTE_OBJECT EQU 7
; object_struct OBJECT_FLAGS2 bit flags
LOW_PRIORITY EQU 0
HIGH_PRIORITY EQU 1
OVERHEAD EQU 3
; map_object struct members (see macros/wram.asm)
const_def
const MAPOBJECT_OBJECT_STRUCT_ID ; 0
const MAPOBJECT_SPRITE ; 1
const MAPOBJECT_Y_COORD ; 2
const MAPOBJECT_X_COORD ; 3
const MAPOBJECT_MOVEMENT ; 4
const MAPOBJECT_RADIUS ; 5
const MAPOBJECT_HOUR ; 6
const MAPOBJECT_TIMEOFDAY ; 7
const MAPOBJECT_COLOR ; 8
const MAPOBJECT_RANGE ; 9
const MAPOBJECT_SCRIPT_POINTER ; a
const MAPOBJECT_POINTER_HI ; b
const MAPOBJECT_EVENT_FLAG ; c
const MAPOBJECT_FLAG_HI ; d
const MAPOBJECT_E ; unused
const MAPOBJECT_F ; unused
OBJECT_LENGTH EQU const_value
MAPOBJECT_SCREEN_HEIGHT EQU 11
MAPOBJECT_SCREEN_WIDTH EQU 12
; SpriteMovementData indexes (see data/sprites/map_objects.asm)
const_def
const SPRITEMOVEDATA_00 ; 00
const SPRITEMOVEDATA_STILL ; 01
const SPRITEMOVEDATA_WANDER ; 02
const SPRITEMOVEDATA_SPINRANDOM_SLOW ; 03
const SPRITEMOVEDATA_WALK_UP_DOWN ; 04
const SPRITEMOVEDATA_WALK_LEFT_RIGHT ; 05
const SPRITEMOVEDATA_STANDING_DOWN ; 06
const SPRITEMOVEDATA_STANDING_UP ; 07
const SPRITEMOVEDATA_STANDING_LEFT ; 08
const SPRITEMOVEDATA_STANDING_RIGHT ; 09
const SPRITEMOVEDATA_SPINRANDOM_FAST ; 0a
const SPRITEMOVEDATA_PLAYER ; 0b
const SPRITEMOVEDATA_0C ; 0c
const SPRITEMOVEDATA_0D ; 0d
const SPRITEMOVEDATA_0E ; 0e
const SPRITEMOVEDATA_0F ; 0f
const SPRITEMOVEDATA_10 ; 10
const SPRITEMOVEDATA_11 ; 11
const SPRITEMOVEDATA_12 ; 12
const SPRITEMOVEDATA_FOLLOWING ; 13
const SPRITEMOVEDATA_SCRIPTED ; 14
const SPRITEMOVEDATA_BIGDOLLSYM ; 15
const SPRITEMOVEDATA_POKEMON ; 16
const SPRITEMOVEDATA_SUDOWOODO ; 17
const SPRITEMOVEDATA_SMASHABLE_ROCK ; 18
const SPRITEMOVEDATA_STRENGTH_BOULDER ; 19
const SPRITEMOVEDATA_FOLLOWNOTEXACT ; 1a
const SPRITEMOVEDATA_SHADOW ; 1b
const SPRITEMOVEDATA_EMOTE ; 1c
const SPRITEMOVEDATA_SCREENSHAKE ; 1d
const SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE ; 1e
const SPRITEMOVEDATA_SPINCLOCKWISE ; 1f
const SPRITEMOVEDATA_BIGDOLLASYM ; 20
const SPRITEMOVEDATA_BIGDOLL ; 21
const SPRITEMOVEDATA_BOULDERDUST ; 22
const SPRITEMOVEDATA_GRASS ; 23
const SPRITEMOVEDATA_SWIM_WANDER ; 24
NUM_SPRITEMOVEDATA EQU const_value
SPRITEMOVEDATA_FIELDS EQU 6
; MapObjectMovementPattern.Pointers indexes (see engine/map_objects.asm)
const_def
const SPRITEMOVEFN_00 ; 00
const SPRITEMOVEFN_RANDOM_WALK_Y ; 01
const SPRITEMOVEFN_RANDOM_WALK_X ; 02
const SPRITEMOVEFN_RANDOM_WALK_XY ; 03
const SPRITEMOVEFN_SLOW_RANDOM_SPIN ; 04
const SPRITEMOVEFN_FAST_RANDOM_SPIN ; 05
const SPRITEMOVEFN_STANDING ; 06
const SPRITEMOVEFN_OBEY_DPAD ; 07
const SPRITEMOVEFN_08 ; 08
const SPRITEMOVEFN_09 ; 09
const SPRITEMOVEFN_0A ; 0a
const SPRITEMOVEFN_0B ; 0b
const SPRITEMOVEFN_0C ; 0c
const SPRITEMOVEFN_0D ; 0d
const SPRITEMOVEFN_0E ; 0e
const SPRITEMOVEFN_FOLLOW ; 0f
const SPRITEMOVEFN_SCRIPTED ; 10
const SPRITEMOVEFN_STRENGTH ; 11
const SPRITEMOVEFN_FOLLOWNOTEXACT ; 12
const SPRITEMOVEFN_SHADOW ; 13
const SPRITEMOVEFN_EMOTE ; 14
const SPRITEMOVEFN_BIG_SNORLAX ; 15
const SPRITEMOVEFN_BOUNCE ; 16
const SPRITEMOVEFN_SCREENSHAKE ; 17
const SPRITEMOVEFN_SPIN_CLOCKWISE ; 18
const SPRITEMOVEFN_SPIN_COUNTERCLOCKWISE ; 19
const SPRITEMOVEFN_BOULDERDUST ; 1a
const SPRITEMOVEFN_GRASS ; 1b
; StepTypesJumptable indexes (see engine/map_objects.asm)
const_def
const STEP_TYPE_00 ; 00
const STEP_TYPE_SLEEP ; 01
const STEP_TYPE_NPC_WALK ; 02
const STEP_TYPE_03 ; 03
const STEP_TYPE_04 ; 04
const STEP_TYPE_05 ; 05
const STEP_TYPE_PLAYER_WALK ; 06
const STEP_TYPE_07 ; 07
const STEP_TYPE_NPC_JUMP ; 08
const STEP_TYPE_PLAYER_JUMP ; 09
const STEP_TYPE_HALF_STEP ; 0a
const STEP_TYPE_BUMP ; 0b
const STEP_TYPE_TELEPORT_FROM ; 0c
const STEP_TYPE_TELEPORT_TO ; 0d
const STEP_TYPE_SKYFALL ; 0e
const STEP_TYPE_0F ; 0f
const STEP_TYPE_GOT_BITE ; 10
const STEP_TYPE_ROCK_SMASH ; 11
const STEP_TYPE_RETURN_DIG ; 12
const STEP_TYPE_TRACKING_OBJECT ; 13
const STEP_TYPE_14 ; 14
const STEP_TYPE_15 ; 15
const STEP_TYPE_16 ; 16
const STEP_TYPE_17 ; 17
const STEP_TYPE_18 ; 18
const STEP_TYPE_SKYFALL_TOP ; 19
; ObjectActionPairPointers indexes (see engine/map_object_action.asm)
const_def
const OBJECT_ACTION_00 ; 00
const OBJECT_ACTION_STAND ; 01
const OBJECT_ACTION_STEP ; 02
const OBJECT_ACTION_BUMP ; 03
const OBJECT_ACTION_SPIN ; 04
const OBJECT_ACTION_SPIN_FLICKER ; 05
const OBJECT_ACTION_FISHING ; 06
const OBJECT_ACTION_SHADOW ; 07
const OBJECT_ACTION_EMOTE ; 08
const OBJECT_ACTION_BIG_DOLL_SYM ; 09
const OBJECT_ACTION_BOUNCE ; 0a
const OBJECT_ACTION_WEIRD_TREE ; 0b
const OBJECT_ACTION_BIG_DOLL_ASYM ; 0c
const OBJECT_ACTION_BIG_DOLL ; 0d
const OBJECT_ACTION_BOULDER_DUST ; 0e
const OBJECT_ACTION_GRASS_SHAKE ; 0f
const OBJECT_ACTION_SKYFALL ; 10
; Facings indexes (see data/sprites/facings.asm)
const_def
const FACING_STEP_DOWN_0 ; 00
const FACING_STEP_DOWN_1 ; 01
const FACING_STEP_DOWN_2 ; 02
const FACING_STEP_DOWN_3 ; 03
const FACING_STEP_UP_0 ; 04
const FACING_STEP_UP_1 ; 05
const FACING_STEP_UP_2 ; 06
const FACING_STEP_UP_3 ; 07
const FACING_STEP_LEFT_0 ; 08
const FACING_STEP_LEFT_1 ; 09
const FACING_STEP_LEFT_2 ; 0a
const FACING_STEP_LEFT_3 ; 0b
const FACING_STEP_RIGHT_0 ; 0c
const FACING_STEP_RIGHT_1 ; 0d
const FACING_STEP_RIGHT_2 ; 0e
const FACING_STEP_RIGHT_3 ; 0f
const FACING_FISH_DOWN ; 10
const FACING_FISH_UP ; 11
const FACING_FISH_LEFT ; 12
const FACING_FISH_RIGHT ; 13
const FACING_EMOTE ; 14
const FACING_SHADOW ; 15
const FACING_BIG_DOLL_ASYM ; 16
const FACING_BIG_DOLL_SYM ; 17
const FACING_WEIRD_TREE_0 ; 18
const FACING_WEIRD_TREE_1 ; 19
const FACING_WEIRD_TREE_2 ; 1a
const FACING_WEIRD_TREE_3 ; 1b
const FACING_BOULDER_DUST_1 ; 1c
const FACING_BOULDER_DUST_2 ; 1d
const FACING_GRASS_1 ; 1e
const FACING_GRASS_2 ; 1f
; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
const_def
const STEP_SLOW ; 0
const STEP_WALK ; 1
const STEP_BIKE ; 2
const STEP_LEDGE ; 3
const STEP_ICE ; 4
const STEP_TURN ; 5
const STEP_BACK_LEDGE ; 6
const STEP_WALK_IN_PLACE ; 7

View File

@ -1,6 +1,6 @@
; hMapEntryMethod values ; hMapEntryMethod values
; MapSetupScripts indexes (see data/maps/setup_scripts.asm) ; MapSetupScripts indexes (see data/maps/setup_scripts.asm)
const_value set $f1 const_def $f1
const MAPSETUP_WARP ; f1 const MAPSETUP_WARP ; f1
const MAPSETUP_CONTINUE ; f2 const MAPSETUP_CONTINUE ; f2
const MAPSETUP_RELOADMAP ; f3 const MAPSETUP_RELOADMAP ; f3
@ -44,8 +44,8 @@ const_value set $f1
const map_load_spawn ; 17 const map_load_spawn ; 17
const map_load_connection ; 18 const map_load_connection ; 18
const map_load_warp ; 19 const map_load_warp ; 19
const map_attributes ; 1a const map_load_attributes ; 1a
const map_attributes_2 ; 1b const map_load_attributes_2 ; 1b
const map_clear_bg_palettes ; 1c const map_clear_bg_palettes ; 1c
const map_fade_out_palettes ; 1d const map_fade_out_palettes ; 1d
const map_fade_in_palettes ; 1e const map_fade_in_palettes ; 1e
@ -67,7 +67,7 @@ const_value set $f1
map_end EQU -1 map_end EQU -1
; callback types ; callback types
const_value set 1 const_def 1
const MAPCALLBACK_TILES const MAPCALLBACK_TILES
const MAPCALLBACK_OBJECTS const MAPCALLBACK_OBJECTS
const MAPCALLBACK_CMDQUEUE const MAPCALLBACK_CMDQUEUE

View File

@ -1,4 +1,4 @@
; MenuDataHeader flags ; MenuHeader flags
const_def const_def
shift_const MENU_RESTORE_TILES ; Will be set if MENU_BACKUP_TILES(_2) is set. shift_const MENU_RESTORE_TILES ; Will be set if MENU_BACKUP_TILES(_2) is set.
shift_const MENU_UNUSED_1 shift_const MENU_UNUSED_1
@ -9,7 +9,7 @@
shift_const MENU_BACKUP_TILES shift_const MENU_BACKUP_TILES
shift_const MENU_BACKUP_TILES_2 shift_const MENU_BACKUP_TILES_2
; VerticalMenu/DoNthMenu/SetUpMenu/_2DMenu MenuDataHeader2 flags ; VerticalMenu/DoNthMenu/SetUpMenu/_2DMenu MenuData flags
; Per flag the comment specifies which menus actually implement it ; Per flag the comment specifies which menus actually implement it
const_def const_def
shift_const STATICMENU_DISABLE_B ; VerticalMenu/_2DMenu shift_const STATICMENU_DISABLE_B ; VerticalMenu/_2DMenu
@ -21,7 +21,7 @@
shift_const STATICMENU_NO_TOP_SPACING ; VerticalMenu/_2DMenu shift_const STATICMENU_NO_TOP_SPACING ; VerticalMenu/_2DMenu
shift_const STATICMENU_CURSOR ; VerticalMenu/_2DMenu shift_const STATICMENU_CURSOR ; VerticalMenu/_2DMenu
; ScrollingMenu MenuDataHeader2 flags ; ScrollingMenu MenuData flags
const_def const_def
shift_const SCROLLINGMENU_CALL_FUNCTION1_CANCEL shift_const SCROLLINGMENU_CALL_FUNCTION1_CANCEL
shift_const SCROLLINGMENU_CALL_FUNCTION3_NO_SWITCH shift_const SCROLLINGMENU_CALL_FUNCTION3_NO_SWITCH
@ -31,3 +31,67 @@
shift_const SCROLLINGMENU_ENABLE_FUNCTION3 shift_const SCROLLINGMENU_ENABLE_FUNCTION3
shift_const SCROLLINGMENU_ENABLE_START shift_const SCROLLINGMENU_ENABLE_START
shift_const SCROLLINGMENU_ENABLE_SELECT shift_const SCROLLINGMENU_ENABLE_SELECT
; MonMenuOptions indexes (see data/mon_menu.asm)
; used by PokemonActionSubmenu (see engine/start_menu.asm)
const_def 1
; moves
const MONMENUITEM_CUT ; 1
const MONMENUITEM_FLY ; 2
const MONMENUITEM_SURF ; 3
const MONMENUITEM_STRENGTH ; 4
const MONMENUITEM_WATERFALL ; 5
const MONMENUITEM_FLASH ; 6
const MONMENUITEM_WHIRLPOOL ; 7
const MONMENUITEM_DIG ; 8
const MONMENUITEM_TELEPORT ; 9
const MONMENUITEM_SOFTBOILED ; 10
const MONMENUITEM_HEADBUTT ; 11
const MONMENUITEM_ROCKSMASH ; 12
const MONMENUITEM_MILKDRINK ; 13
const MONMENUITEM_SWEETSCENT ; 14
; options
const MONMENUITEM_STATS ; 15
const MONMENUITEM_SWITCH ; 16
const MONMENUITEM_ITEM ; 17
const MONMENUITEM_CANCEL ; 18
const MONMENUITEM_MOVE ; 19
const MONMENUITEM_MAIL ; 20
const MONMENUITEM_ERROR ; 21
; MonMenuOptions categories
MONMENU_FIELD_MOVE EQU 0
MONMENU_MENUOPTION EQU 1
NUM_MONMENU_ITEMS EQU 8
; start/select menu return values
HMENURETURN_SCRIPT EQU %10000000
HMENURETURN_ASM EQU %11111111
; PartyMenuQualityPointers indexes (see data/party_menu_qualities.asm)
const_def
const PARTYMENUACTION_CHOOSE_POKEMON
const PARTYMENUACTION_HEALING_ITEM
const PARTYMENUACTION_SWITCH
const PARTYMENUACTION_TEACH_TMHM
const PARTYMENUACTION_MOVE
const PARTYMENUACTION_EVO_STONE
const PARTYMENUACTION_GIVE_MON
const PARTYMENUACTION_GIVE_MON_FEMALE ; unused
const PARTYMENUACTION_GIVE_ITEM
const PARTYMENUACTION_MOBILE ; mobile
; PrintPartyMenuActionText arguments (see engine/party_menu.asm)
const_def $f0
const PARTYMENUTEXT_HEAL_PSN
const PARTYMENUTEXT_HEAL_BRN
const PARTYMENUTEXT_HEAL_FRZ
const PARTYMENUTEXT_HEAL_SLP
const PARTYMENUTEXT_HEAL_PAR
const PARTYMENUTEXT_HEAL_HP
const PARTYMENUTEXT_HEAL_ALL
const PARTYMENUTEXT_REVIVE
const PARTYMENUTEXT_LEVEL_UP
const PARTYMENUTEXT_HEAL_CONFUSION

View File

@ -11,11 +11,6 @@ RESET_FLAG EQU 0
SET_FLAG EQU 1 SET_FLAG EQU 1
CHECK_FLAG EQU 2 CHECK_FLAG EQU 2
; GetHPPal return values (see home.asm)
HP_GREEN EQU 0
HP_YELLOW EQU 1
HP_RED EQU 2
; G/S version ID: 0 = Gold, 1 = Silver (used by checkver) ; G/S version ID: 0 = Gold, 1 = Silver (used by checkver)
GS_VERSION EQU 0 GS_VERSION EQU 0
@ -23,21 +18,6 @@ GS_VERSION EQU 0
SAVE_CHECK_VALUE_1 EQU 99 SAVE_CHECK_VALUE_1 EQU 99
SAVE_CHECK_VALUE_2 EQU 127 SAVE_CHECK_VALUE_2 EQU 127
; hMenuReturn
HMENURETURN_SCRIPT EQU %10000000
HMENURETURN_ASM EQU %11111111
; DoPlayerMovement.DoStep arguments (see engine/player_movement.asm)
const_def
const STEP_SLOW ; 0
const STEP_WALK ; 1
const STEP_BIKE ; 2
const STEP_LEDGE ; 3
const STEP_ICE ; 4
const STEP_TURN ; 5
const STEP_BACK_LEDGE ; 6
const STEP_WALK_IN_PLACE ; 7
; time of day boundaries ; time of day boundaries
MORN_HOUR EQU 4 ; 4 AM MORN_HOUR EQU 4 ; 4 AM
DAY_HOUR EQU 10 ; 10 AM DAY_HOUR EQU 10 ; 10 AM
@ -45,44 +25,14 @@ NITE_HOUR EQU 18 ; 6 PM
NOON_HOUR EQU 12 ; 12 PM NOON_HOUR EQU 12 ; 12 PM
MAX_HOUR EQU 24 ; 12 AM MAX_HOUR EQU 24 ; 12 AM
; boxes
MONS_PER_BOX EQU 20
NUM_BOXES EQU 14
; hall of fame
HOF_MON_LENGTH = 1 + 2 + 2 + 1 + (MON_NAME_LENGTH +- 1) ; species, id, dvs, level, nick
HOF_LENGTH = 1 + HOF_MON_LENGTH * PARTY_LENGTH + 1 ; win count, party, terminator
NUM_HOF_TEAMS = 30
MAX_LINK_RECORD EQU 9999
; significant money values ; significant money values
START_MONEY EQU 3000 START_MONEY EQU 3000
MOM_MONEY EQU 2300 MOM_MONEY EQU 2300
MAX_MONEY EQU 999999 MAX_MONEY EQU 999999
MAX_COINS EQU 9999 MAX_COINS EQU 9999
; ChangeHappiness arguments (see data/happiness_changes.asm) ; link record
const_value = 1 MAX_LINK_RECORD EQU 9999
const HAPPINESS_GAINLEVEL ; 01
const HAPPINESS_USEDITEM ; 02
const HAPPINESS_USEDXITEM ; 03
const HAPPINESS_GYMBATTLE ; 04
const HAPPINESS_LEARNMOVE ; 05
const HAPPINESS_FAINTED ; 06
const HAPPINESS_POISONFAINT ; 07
const HAPPINESS_BEATENBYSTRONGFOE ; 08
const HAPPINESS_YOUNGCUT1 ; 09
const HAPPINESS_YOUNGCUT2 ; 0a
const HAPPINESS_YOUNGCUT3 ; 0b
const HAPPINESS_OLDERCUT1 ; 0c
const HAPPINESS_OLDERCUT2 ; 0d
const HAPPINESS_OLDERCUT3 ; 0e
const HAPPINESS_BITTERPOWDER ; 0f
const HAPPINESS_ENERGYROOT ; 10
const HAPPINESS_REVIVALHERB ; 11
const HAPPINESS_MASSAGE ; 12
const HAPPINESS_GAINLEVELATHOME ; 13
; day-care ; day-care
MAX_DAY_CARE_EXP EQU $500000 MAX_DAY_CARE_EXP EQU $500000

View File

@ -0,0 +1,44 @@
; npctrade struct members (see data/events/npc_trades.asm)
NPCTRADE_DIALOG EQU 0 ; db
NPCTRADE_GIVEMON EQU 1 ; db
NPCTRADE_GETMON EQU 2 ; db
NPCTRADE_NICK EQU 3 ; ds MON_NAME_LENGTH
NPCTRADE_DVS EQU 14 ; dw
NPCTRADE_ITEM EQU 16 ; db
NPCTRADE_OT_ID EQU 17 ; dw
NPCTRADE_OT_NAME EQU 19 ; ds NAME_LENGTH
NPCTRADE_GENDER EQU 30 ; db
NPCTRADE_PADDING EQU 31 ; db
; NPCTrades indexes (see data/events/npc_trades.asm)
const_def
const NPC_TRADE_MIKE ; 0
const NPC_TRADE_KYLE ; 1
const NPC_TRADE_TIM ; 2
const NPC_TRADE_EMY ; 3
const NPC_TRADE_CHRIS ; 4
const NPC_TRADE_KIM ; 5
const NPC_TRADE_FOREST ; 6
; trade gender limits
const_def
const TRADE_GENDER_EITHER
const TRADE_GENDER_MALE
const TRADE_GENDER_FEMALE
; TradeTexts indexes (see engine/events/npc_trade.asm)
; trade dialogs
const_def
const TRADE_DIALOG_INTRO
const TRADE_DIALOG_CANCEL
const TRADE_DIALOG_WRONG
const TRADE_DIALOG_COMPLETE
const TRADE_DIALOG_AFTER
; trade dialog sets
const_def
const TRADE_DIALOGSET_COLLECTOR
const TRADE_DIALOGSET_HAPPY
const TRADE_DIALOGSET_NEWBIE
const TRADE_DIALOGSET_GIRL

View File

@ -1,43 +0,0 @@
; npctrade struct members (see data/npc_trades.asm)
TRADE_DIALOG EQU 0
TRADE_GIVEMON EQU 1
TRADE_GETMON EQU 2
TRADE_NICK EQU 3
TRADE_DVS EQU 14
TRADE_ITEM EQU 16
TRADE_OT_ID EQU 17
TRADE_OT_NAME EQU 19
TRADE_GENDER EQU 30
TRADE_PADDING EQU 31
; NPCTrades indexes (see data/npc_trades.asm)
const_def
const NPCTRADE_MIKE ; 0
const NPCTRADE_KYLE ; 1
const NPCTRADE_TIM ; 2
const NPCTRADE_EMY ; 3
const NPCTRADE_CHRIS ; 4
const NPCTRADE_KIM ; 5
const NPCTRADE_FOREST ; 6
; trade gender limits
TRADE_EITHER_GENDER EQU 0
TRADE_MALE_ONLY EQU 1
TRADE_FEMALE_ONLY EQU 2
; TradeTexts indexes (see engine/npctrade.asm)
; trade dialogs
const_def
const TRADE_INTRO
const TRADE_CANCEL
const TRADE_WRONG
const TRADE_COMPLETE
const TRADE_AFTER
; trade dialog sets
const_def
const TRADE_DIALOG_COLLECTOR
const TRADE_DIALOG_HAPPY
const TRADE_DIALOG_NEWBIE
const TRADE_DIALOG_GIRL

View File

@ -12,13 +12,13 @@
; - AlphabeticalPokedexOrder (see data/pokemon/dex_order_alpha.asm) ; - AlphabeticalPokedexOrder (see data/pokemon/dex_order_alpha.asm)
; - EZChat_SortedPokemon (see data/pokemon/ezchat_order.asm) ; - EZChat_SortedPokemon (see data/pokemon/ezchat_order.asm)
; - NewPokedexOrder (see data/pokemon/dex_order_new.asm) ; - NewPokedexOrder (see data/pokemon/dex_order_new.asm)
; - Pokered_MonIndices (see data/pokemon/rby_order.asm) ; - Pokered_MonIndices (see data/pokemon/gen1_order.asm)
; - AnimationPointers (see gfx/pokemon/anim_pointers.asm) ; - AnimationPointers (see gfx/pokemon/anim_pointers.asm)
; - AnimationIdlePointers (see gfx/pokemon/idle_pointers.asm) ; - AnimationIdlePointers (see gfx/pokemon/idle_pointers.asm)
; - BitmasksPointers (see gfx/pokemon/bitmask_pointers.asm) ; - BitmasksPointers (see gfx/pokemon/bitmask_pointers.asm)
; - FramesPointers (see gfx/pokemon/frame_pointers.asm) ; - FramesPointers (see gfx/pokemon/frame_pointers.asm)
; - Footprints (see gfx/footprints.asm) ; - Footprints (see gfx/footprints.asm)
const_value set 1 const_def 1
const BULBASAUR ; 01 const BULBASAUR ; 01
const IVYSAUR ; 02 const IVYSAUR ; 02
const VENUSAUR ; 03 const VENUSAUR ; 03
@ -271,10 +271,44 @@ JOHTO_POKEMON EQU const_value
const LUGIA ; f9 const LUGIA ; f9
const HO_OH ; fa const HO_OH ; fa
const CELEBI ; fb const CELEBI ; fb
NUM_POKEMON EQU const_value +- 1 NUM_POKEMON EQU const_value + -1
const MON_FC ; fc const MON_FC ; fc
const EGG ; fd const EGG ; fd
const MON_FE ; fe const MON_FE ; fe
; number of Unown forms ; Unown forms
NUM_UNOWN EQU 26 ; indexes for:
; - UnownWords (see data/pokemon/unown_words.asm)
; - UnownPicPointers (see data/pokemon/unown_pic_pointers.asm)
; - UnownAnimationPointers (see gfx/pokemon/unown_anim_pointers.asm)
; - UnownAnimationIdlePointers (see gfx/pokemon/unown_idle_pointers.asm)
; - UnownBitmasksPointers (see gfx/pokemon/unown_bitmask_pointers.asm)
; - UnownFramesPointers (see gfx/pokemon/unown_frame_pointers.asm)
const_def 1
const UNOWN_A ; 1
const UNOWN_B ; 2
const UNOWN_C ; 3
const UNOWN_D ; 4
const UNOWN_E ; 5
const UNOWN_F ; 6
const UNOWN_G ; 7
const UNOWN_H ; 8
const UNOWN_I ; 9
const UNOWN_J ; 10
const UNOWN_K ; 11
const UNOWN_L ; 12
const UNOWN_M ; 13
const UNOWN_N ; 14
const UNOWN_O ; 15
const UNOWN_P ; 16
const UNOWN_Q ; 17
const UNOWN_R ; 18
const UNOWN_S ; 19
const UNOWN_T ; 20
const UNOWN_U ; 21
const UNOWN_V ; 22
const UNOWN_W ; 23
const UNOWN_X ; 24
const UNOWN_Y ; 25
const UNOWN_Z ; 26
NUM_UNOWN EQU const_value + -1 ; 26

View File

@ -27,40 +27,40 @@ BASE_DATA_SIZE EQUS "(wCurBaseDataEnd - wCurBaseData)"
; gender ratio constants ; gender ratio constants
GENDER_F0 EQU 0 percent GENDER_F0 EQU 0 percent
GENDER_F12_5 EQU 31 ; 12.5 percent GENDER_F12_5 EQU 12 percent + 1
GENDER_F25 EQU 25 percent GENDER_F25 EQU 25 percent
GENDER_F50 EQU 50 percent GENDER_F50 EQU 50 percent
GENDER_F75 EQU 75 percent GENDER_F75 EQU 75 percent
GENDER_F100 EQU 254 ; 100 percent GENDER_F100 EQU 100 percent - 1
GENDERLESS EQU 255 GENDERLESS EQU -1
; wBaseGrowthRate values ; wBaseGrowthRate values
; GrowthRates indexes (see data/growth_rates.asm) ; GrowthRates indexes (see data/growth_rates.asm)
const_def const_def
const MEDIUM_FAST const GROWTH_MEDIUM_FAST
const SLIGHTLY_FAST const GROWTH_SLIGHTLY_FAST
const SLIGHTLY_SLOW const GROWTH_SLIGHTLY_SLOW
const MEDIUM_SLOW const GROWTH_MEDIUM_SLOW
const FAST const GROWTH_FAST
const SLOW const GROWTH_SLOW
; wBaseEggGroups values ; wBaseEggGroups values
const_value set 1 const_def 1
const MONSTER ; 1 const EGG_MONSTER ; 1
const AMPHIBIAN ; 2 const EGG_AMPHIBIAN ; 2 (aka Water 1 in Stadium 2)
const INSECT ; 3 const EGG_BUG ; 3
const AVIAN ; 4 const EGG_FLYING ; 4
const FIELD ; 5 const EGG_FIELD ; 5 (aka Ground in Stadium 2)
const FAIRY ; 6 const EGG_FAIRY ; 6
const PLANT ; 7 const EGG_GRASS ; 7 (aka Plant in Stadium 2)
const HUMANSHAPE ; 8 const EGG_HUMANSHAPE ; 8 (aka Human-Like)
const INVERTEBRATE ; 9 const EGG_INVERTEBRATE ; 9 (aka Water 3 in Stadium 2)
const INANIMATE ; a const EGG_MINERAL ; a
const AMORPHOUS ; b const EGG_AMORPHOUS ; b (aka Indeterminate in Stadium 2)
const FISH ; c const EGG_FISH ; c (aka Water 2 in Stadium 2)
const LADIES_MAN ; d const EGG_DITTO ; d
const REPTILE ; e const EGG_DRAGON ; e
const NO_EGGS ; f const EGG_NONE ; f (aka Undiscovered, or No Eggs in Stadium 2)
; pokedex entries (see data/pokemon/dex_entries.asm) ; pokedex entries (see data/pokemon/dex_entries.asm)
@ -120,9 +120,18 @@ CAUGHT_EGG_LEVEL EQU 1
; maximum number of party pokemon ; maximum number of party pokemon
PARTY_LENGTH EQU 6 PARTY_LENGTH EQU 6
; boxes
MONS_PER_BOX EQU 20
NUM_BOXES EQU 14
; hall of fame
HOF_MON_LENGTH = 1 + 2 + 2 + 1 + (MON_NAME_LENGTH + -1) ; species, id, dvs, level, nick
HOF_LENGTH = 1 + HOF_MON_LENGTH * PARTY_LENGTH + 1 ; win count, party, terminator
NUM_HOF_TEAMS = 30
; evolution types (used in data/pokemon/evos_attacks.asm) ; evolution types (used in data/pokemon/evos_attacks.asm)
const_value set 1 const_def 1
const EVOLVE_LEVEL const EVOLVE_LEVEL
const EVOLVE_ITEM const EVOLVE_ITEM
const EVOLVE_TRADE const EVOLVE_TRADE
@ -130,62 +139,27 @@ const_value set 1
const EVOLVE_STAT const EVOLVE_STAT
; EVOLVE_HAPPINESS triggers ; EVOLVE_HAPPINESS triggers
const_value set 1 const_def 1
const TR_ANYTIME const TR_ANYTIME
const TR_MORNDAY const TR_MORNDAY
const TR_NITE const TR_NITE
; EVOLVE_STAT triggers ; EVOLVE_STAT triggers
const_value set 1 const_def 1
const ATK_GT_DEF const ATK_GT_DEF
const ATK_LT_DEF const ATK_LT_DEF
const ATK_EQ_DEF const ATK_EQ_DEF
; PokeAnims indexes (see engine/pic_animation.asm) ; wild data
const_def
const ANIM_MON_SLOW
const ANIM_MON_NORMAL
const ANIM_MON_MENU
const ANIM_MON_TRADE
const ANIM_MON_EVOLVE
const ANIM_MON_HATCH
const ANIM_MON_UNUSED
const ANIM_MON_EGG1
const ANIM_MON_EGG2
NUM_GRASSMON EQU 7 ; data/wild/*_grass.asm table size
NUM_WATERMON EQU 3 ; data/wild/*_water.asm table size
; MonMenuOptions indexes (see engine/mon_menu.asm) GRASS_WILDDATA_LENGTH EQU (NUM_GRASSMON * 2 + 1) * 3 + 2
const_value set 1 WATER_WILDDATA_LENGTH EQU (NUM_WATERMON * 2 + 1) * 1 + 2
; moves
const MONMENU_CUT ; 1
const MONMENU_FLY ; 2
const MONMENU_SURF ; 3
const MONMENU_STRENGTH ; 4
const MONMENU_WATERFALL ; 5
const MONMENU_FLASH ; 6
const MONMENU_WHIRLPOOL ; 7
const MONMENU_DIG ; 8
const MONMENU_TELEPORT ; 9
const MONMENU_SOFTBOILED ; 10
const MONMENU_HEADBUTT ; 11
const MONMENU_ROCKSMASH ; 12
const MONMENU_MILKDRINK ; 13
const MONMENU_SWEETSCENT ; 14
; options
const MONMENU_STATS ; 15
const MONMENU_SWITCH ; 16
const MONMENU_ITEM ; 17
const MONMENU_CANCEL ; 18
const MONMENU_MOVE ; 19
const MONMENU_MAIL ; 20
const MONMENU_ERROR ; 21
; MonMenuOptions types NUM_ROAMMON_MAPS EQU 16 ; RoamMaps table size (see data/wild/roammon_maps.asm)
MONMENU_FIELD_MOVE EQU 0
MONMENU_MENUOPTION EQU 1
NUM_MONMENU_ITEMS EQU 8
; treemon sets ; treemon sets
@ -193,7 +167,7 @@ NUM_MONMENU_ITEMS EQU 8
const_def const_def
const TREEMON_SET_CITY const TREEMON_SET_CITY
const TREEMON_SET_CANYON const TREEMON_SET_CANYON
const TREEMON_SET_AZALEA const TREEMON_SET_TOWN
const TREEMON_SET_ROUTE const TREEMON_SET_ROUTE
const TREEMON_SET_KANTO const TREEMON_SET_KANTO
const TREEMON_SET_LAKE const TREEMON_SET_LAKE
@ -208,25 +182,27 @@ NUM_TREEMON_SETS EQU const_value
const TREEMON_SCORE_RARE ; 2 const TREEMON_SCORE_RARE ; 2
; wild data ; ChangeHappiness arguments (see data/happiness_changes.asm)
const_value = 1
NUM_GRASSMON EQU 7 ; data/wild/*_grass.asm table size const HAPPINESS_GAINLEVEL ; 01
NUM_WATERMON EQU 3 ; data/wild/*_water.asm table size const HAPPINESS_USEDITEM ; 02
const HAPPINESS_USEDXITEM ; 03
GRASS_WILDDATA_LENGTH EQU (NUM_GRASSMON * 2 + 1) * 3 + 2 const HAPPINESS_GYMBATTLE ; 04
WATER_WILDDATA_LENGTH EQU (NUM_WATERMON * 2 + 1) * 1 + 2 const HAPPINESS_LEARNMOVE ; 05
const HAPPINESS_FAINTED ; 06
NUM_ROAMMON_MAPS EQU 16 ; RoamMaps table size (see data/wild/roammon_maps.asm) const HAPPINESS_POISONFAINT ; 07
const HAPPINESS_BEATENBYSTRONGFOE ; 08
const HAPPINESS_YOUNGCUT1 ; 09
; swarms const HAPPINESS_YOUNGCUT2 ; 0a
const HAPPINESS_YOUNGCUT3 ; 0b
SWARM_DUNSPARCE EQU 0 const HAPPINESS_OLDERCUT1 ; 0c
SWARM_YANMA EQU 1 const HAPPINESS_OLDERCUT2 ; 0d
const HAPPINESS_OLDERCUT3 ; 0e
FISHSWARM_QWILFISH EQU 1 const HAPPINESS_BITTERPOWDER ; 0f
FISHSWARM_REMORAID EQU 2 const HAPPINESS_ENERGYROOT ; 10
const HAPPINESS_REVIVALHERB ; 11
const HAPPINESS_GROOMING ; 12
const HAPPINESS_GAINLEVELATHOME ; 13
; significant happiness values ; significant happiness values
BASE_HAPPINESS EQU 70 BASE_HAPPINESS EQU 70

View File

@ -1,5 +1,5 @@
; wPrinterStatus ; wPrinterStatus
const_value set 1 const_def 1
const PRINTER_STATUS_CHECKING const PRINTER_STATUS_CHECKING
const PRINTER_STATUS_TRANSMITTING const PRINTER_STATUS_TRANSMITTING
const PRINTER_STATUS_PRINTING const PRINTER_STATUS_PRINTING

View File

@ -0,0 +1,157 @@
; See data/maps/scenes.asm for which maps have scene variables.
; Each scene_script and coord_event is associated with a current scene ID.
; Scene variables default to 0.
SCENE_DEFAULT EQU 0
; Often a map will have a one-time default event for scene 0, and switch to a
; do-nothing scene 1 when the event finishes.
SCENE_FINISHED EQU 1
; wPokecenter2FSceneID
const_def 1
const SCENE_POKECENTER2F_LEAVE_TRADE_CENTER ; 1
const SCENE_POKECENTER2F_LEAVE_COLOSSEUM ; 2
const SCENE_POKECENTER2F_LEAVE_TIME_CAPSULE ; 3
const SCENE_POKECENTER2F_LEAVE_MOBILE_TRADE_ROOM ; 4
const SCENE_POKECENTER2F_LEAVE_MOBILE_BATTLE_ROOM ; 5
; wPowerPlantSceneID
const_def
const SCENE_POWERPLANT_NOTHING ; 0
const SCENE_POWERPLANT_GUARD_GETS_PHONE_CALL ; 1
; wCeruleanGymSceneID
const_def
const SCENE_CERULEANGYM_NOTHING ; 0
const SCENE_CERULEANGYM_GRUNT_RUNS_OUT ; 1
; wRoute25SceneID
const_def
const SCENE_ROUTE25_NOTHING ; 0
const SCENE_ROUTE25_MISTYS_DATE ; 1
; wLancesRoomSceneID
const_def 1
const SCENE_LANCESROOM_APPROACH_LANCE ; 1
; wElmsLabSceneID
const_def 1
const SCENE_ELMSLAB_CANT_LEAVE ; 1
const SCENE_ELMSLAB_NOTHING ; 2
const SCENE_ELMSLAB_MEET_OFFICER ; 3
const SCENE_ELMSLAB_UNUSED ; 4
const SCENE_ELMSLAB_AIDE_GIVES_POTION ; 5
const SCENE_ELMSLAB_AIDE_GIVES_POKE_BALLS ; 6
; wRoute29SceneID
const_def
const SCENE_ROUTE29_NOTHING ; 0
const SCENE_ROUTE29_CATCH_TUTORIAL ; 1
; wCherrygroveCitySceneID
const_def
const SCENE_CHERRYGROVECITY_NOTHING ; 0
const SCENE_CHERRYGROVECITY_MEET_RIVAL ; 1
; wRoute32SceneID
const_def 1
const SCENE_ROUTE32_OFFER_SLOWPOKETAIL ; 1
const SCENE_ROUTE32_NOTHING ; 2
; wRoute35NationalParkGateSceneID
const_def
const SCENE_ROUTE35NATIONALPARKGATE_NOTHING ; 0
const SCENE_ROUTE35NATIONALPARKGATE_UNUSED ; 1
const SCENE_ROUTE35NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
; wRoute36SceneID
const_def
const SCENE_ROUTE36_NOTHING ; 0
const SCENE_ROUTE36_SUICUNE ; 1
; wRoute36NationalParkGateSceneID
const_def
const SCENE_ROUTE36NATIONALPARKGATE_NOTHING ; 0
const SCENE_ROUTE36NATIONALPARKGATE_UNUSED ; 1
const SCENE_ROUTE36NATIONALPARKGATE_LEAVE_CONTEST_EARLY ; 2
; wAzaleaTownSceneID
const_def
const SCENE_AZALEATOWN_NOTHING ; 0
const SCENE_AZALEATOWN_RIVAL_BATTLE ; 1
const SCENE_AZALEATOWN_KURT_RETURNS_GS_BALL ; 2
; wGoldenrodGymSceneID
const_def
const SCENE_GOLDENRODGYM_NOTHING ; 0
const SCENE_GOLDENRODGYM_WHITNEY_STOPS_CRYING ; 1
; wRoute42SceneID
const_def
const SCENE_ROUTE42_NOTHING ; 0
const SCENE_ROUTE42_SUICUNE ; 1
; wCianwoodCitySceneID
const_def
const SCENE_CIANWOODCITY_NOTHING ; 0
const SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE ; 1
; wBurnedTower1FSceneID
const_def 1
const SCENE_BURNEDTOWER1F_RIVAL_BATTLE ; 1
const SCENE_BURNEDTOWER1F_NOTHING ; 2
; wRadioTower5FSceneID
const_def 1
const SCENE_RADIOTOWER5F_ROCKET_BOSS ; 1
const SCENE_RADIOTOWER5F_NOTHING ; 2
; wRuinsOfAlphOutsideSceneID
const_def
const SCENE_RUINSOFALPHOUTSIDE_NOTHING ; 0
const SCENE_RUINSOFALPHOUTSIDE_GET_UNOWN_DEX ; 1
; wRuinsOfAlphResearchCenterSceneID
const_def
const SCENE_RUINSOFALPHRESEARCHCENTER_NOTHING ; 0
const SCENE_RUINSOFALPHRESEARCHCENTER_GET_UNOWN_DEX ; 1
; wRuinsOfAlphInnerChamberSceneID
const_def
const SCENE_RUINSOFALPHINNERCHAMBER_NOTHING ; 0
const SCENE_RUINSOFALPHINNERCHAMBER_STRANGE_PRESENCE ; 1
; wMahoganyMart1FSceneID
const_def
const SCENE_MAHOGANYMART1F_NOTHING ; 0
const SCENE_MAHOGANYMART1F_LANCE_UNCOVERS_STAIRS ; 1
; wTeamRocketBaseB2FSceneID
const_def 1
const SCENE_TEAMROCKETBASEB2F_ROCKET_BOSS ; 1
const SCENE_TEAMROCKETBASEB2F_ELECTRODES ; 2
const SCENE_TEAMROCKETBASEB2F_NOTHING ; 3
; wTeamRocketBaseB3FSceneID
const_def 1
const SCENE_TEAMROCKETBASEB3F_RIVAL_ENCOUNTER ; 1
const SCENE_TEAMROCKETBASEB3F_ROCKET_BOSS ; 2
const SCENE_TEAMROCKETBASEB3F_NOTHING ; 3
; wDragonsDenB1FSceneID
const_def
const SCENE_DRAGONSDENB1F_NOTHING ; 0
const SCENE_DRAGONSDENB1F_CLAIR_GIVES_TM ; 1
; wOlivinePortSceneID
const_def 1
const SCENE_OLIVINEPORT_LEAVE_SHIP ; 1
; wVermilionPortSceneID
const_def 1
const SCENE_VERMILIONPORT_LEAVE_SHIP ; 1
; wFastShip1FSceneID
const_def 1
const SCENE_FASTSHIP1F_ENTER_SHIP ; 1
const SCENE_FASTSHIP1F_MEET_GRANDPA ; 2

View File

@ -1,4 +1,4 @@
; script vars ; person constants
PLAYER EQU 0 PLAYER EQU 0
LAST_TALKED EQU -2 LAST_TALKED EQU -2
@ -76,7 +76,7 @@ RETVAR_EXECUTE EQU (2 << 6)
; PlayerEventScriptPointers indexes (see engine/events.asm) ; PlayerEventScriptPointers indexes (see engine/events.asm)
const_value set -1 const_def -1
const PLAYEREVENT_MAPSCRIPT const PLAYEREVENT_MAPSCRIPT
const PLAYEREVENT_NONE const PLAYEREVENT_NONE
const PLAYEREVENT_SEENBYTRAINER const PLAYEREVENT_SEENBYTRAINER
@ -91,6 +91,7 @@ const_value set -1
NUM_PLAYER_EVENTS EQU const_value NUM_PLAYER_EVENTS EQU const_value
; bg_event types
; TryBGEvent arguments (see engine/events.asm) ; TryBGEvent arguments (see engine/events.asm)
const_def const_def
const BGEVENT_READ const BGEVENT_READ
@ -115,6 +116,40 @@ NUM_PLAYER_EVENTS EQU const_value
const OBJECTTYPE_6 const OBJECTTYPE_6
; command queue members
CMDQUEUE_TYPE EQU 0
CMDQUEUE_ADDR EQU 1
CMDQUEUE_03 EQU 3
CMDQUEUE_04 EQU 4
CMDQUEUE_05 EQU 5
CMDQUEUE_ENTRY_SIZE EQU 6
CMDQUEUE_CAPACITY EQU 4
; command queue types
CMDQUEUE_STONETABLE EQU 2
; elevfloor macro values
; ElevatorFloorNames indexes (see data/events/elevator_floors.asm)
const_def
const FLOOR_B4F
const FLOOR_B3F
const FLOOR_B2F
const FLOOR_B1F
const FLOOR_1F
const FLOOR_2F
const FLOOR_3F
const FLOOR_4F
const FLOOR_5F
const FLOOR_6F
const FLOOR_7F
const FLOOR_8F
const FLOOR_9F
const FLOOR_10F
const FLOOR_11F
const FLOOR_ROOF
; showemote arguments ; showemote arguments
; Emotes indexes (see data/sprites/emotes.asm) ; Emotes indexes (see data/sprites/emotes.asm)
const_def const_def
@ -132,10 +167,9 @@ NUM_PLAYER_EVENTS EQU const_value
const EMOTE_GRASS_RUSTLE ; 11 const EMOTE_GRASS_RUSTLE ; 11
EMOTE_MEM EQU -1 EMOTE_MEM EQU -1
; fruittree arguments ; fruittree arguments
; FruitTreeItems indexes (see data/items/fruit_trees.asm) ; FruitTreeItems indexes (see data/items/fruit_trees.asm)
const_value set 1 const_def 1
const FRUITTREE_ROUTE_29 ; 01 const FRUITTREE_ROUTE_29 ; 01
const FRUITTREE_ROUTE_30_1 ; 02 const FRUITTREE_ROUTE_30_1 ; 02
const FRUITTREE_ROUTE_38 ; 03 const FRUITTREE_ROUTE_38 ; 03
@ -166,8 +200,7 @@ const_value set 1
const FRUITTREE_PEWTER_CITY_1 ; 1c const FRUITTREE_PEWTER_CITY_1 ; 1c
const FRUITTREE_PEWTER_CITY_2 ; 1d const FRUITTREE_PEWTER_CITY_2 ; 1d
const FRUITTREE_FUCHSIA_CITY ; 1e const FRUITTREE_FUCHSIA_CITY ; 1e
NUM_FRUIT_TREES EQU const_value +- 1 NUM_FRUIT_TREES EQU const_value + -1
; describedecoration arguments ; describedecoration arguments
; DescribeDecoration.JumpTable indexes (see engine/decorations.asm) ; DescribeDecoration.JumpTable indexes (see engine/decorations.asm)
@ -178,40 +211,18 @@ NUM_FRUIT_TREES EQU const_value +- 1
const DECODESC_BIG_DOLL ; 3 const DECODESC_BIG_DOLL ; 3
const DECODESC_CONSOLE ; 4 const DECODESC_CONSOLE ; 4
; swarm arguments
; elevfloor macro values ; StoreSwarmMapIndices arguments
; ElevatorFloorNames indexes (see data/elevator_floors.asm)
const_def const_def
const FLOOR_B4F const SWARM_DUNSPARCE ; 0
const FLOOR_B3F const SWARM_YANMA ; 1
const FLOOR_B2F
const FLOOR_B1F
const FLOOR_1F
const FLOOR_2F
const FLOOR_3F
const FLOOR_4F
const FLOOR_5F
const FLOOR_6F
const FLOOR_7F
const FLOOR_8F
const FLOOR_9F
const FLOOR_10F
const FLOOR_11F
const FLOOR_ROOF
; command queue members ; ActivateFishingSwarm writebyte arguments
CMDQUEUE_TYPE EQU 0 const_def
CMDQUEUE_ADDR EQU 1 const FISHSWARM_NONE ; 0
CMDQUEUE_03 EQU 3 const FISHSWARM_QWILFISH ; 1
CMDQUEUE_04 EQU 4 const FISHSWARM_REMORAID ; 2
CMDQUEUE_05 EQU 5
CMDQUEUE_ENTRY_SIZE EQU 6
CMDQUEUE_CAPACITY EQU 4
; command queue types
CMDQUEUE_STONETABLE EQU 2
; SpecialGameboyCheck return values ; SpecialGameboyCheck return values
const_def const_def
@ -219,7 +230,7 @@ CMDQUEUE_STONETABLE EQU 2
const GBCHECK_SGB ; 1 const GBCHECK_SGB ; 1
const GBCHECK_CGB ; 2 const GBCHECK_CGB ; 2
; Special_CheckMagikarpLength return values ; CheckMagikarpLength return values
const_def const_def
const MAGIKARPLENGTH_NOT_MAGIKARP ; 0 const MAGIKARPLENGTH_NOT_MAGIKARP ; 0
const MAGIKARPLENGTH_REFUSED ; 1 const MAGIKARPLENGTH_REFUSED ; 1
@ -247,7 +258,7 @@ CMDQUEUE_STONETABLE EQU 2
const HEALMACHINE_ELMS_LAB ; 1 const HEALMACHINE_ELMS_LAB ; 1
const HEALMACHINE_HALL_OF_FAME ; 2 const HEALMACHINE_HALL_OF_FAME ; 2
; Special_UnownPuzzle writebyte arguments ; UnownPuzzle writebyte arguments
; LoadUnownPuzzlePiecesGFX.LZPointers indexes (see engine/unown_puzzle.asm) ; LoadUnownPuzzlePiecesGFX.LZPointers indexes (see engine/unown_puzzle.asm)
const_def const_def
const UNOWNPUZZLE_KABUTO ; 0 const UNOWNPUZZLE_KABUTO ; 0
@ -256,16 +267,16 @@ CMDQUEUE_STONETABLE EQU 2
const UNOWNPUZZLE_HO_OH ; 3 const UNOWNPUZZLE_HO_OH ; 3
NUM_UNOWN_PUZZLES EQU const_value NUM_UNOWN_PUZZLES EQU const_value
; Special_DisplayUnownWords writebyte arguments ; DisplayUnownWords writebyte arguments
; UnownWalls and MenuDataHeaders_UnownWalls indexes (see data/unown_walls.asm) ; UnownWalls and MenuHeaders_UnownWalls indexes (see data/events/unown_walls.asm)
const_def const_def
const UNOWNWORDS_ESCAPE ; 0 const UNOWNWORDS_ESCAPE ; 0
const UNOWNWORDS_LIGHT ; 1 const UNOWNWORDS_LIGHT ; 1
const UNOWNWORDS_WATER ; 2 const UNOWNWORDS_WATER ; 2
const UNOWNWORDS_HO_OH ; 3 const UNOWNWORDS_HO_OH ; 3
; Special_MoveTutor writebyte arguments ; MoveTutor writebyte arguments
const_value set 1 const_def 1
const MOVETUTOR_FLAMETHROWER ; 1 const MOVETUTOR_FLAMETHROWER ; 1
const MOVETUTOR_THUNDERBOLT ; 2 const MOVETUTOR_THUNDERBOLT ; 2
const MOVETUTOR_ICE_BEAM ; 3 const MOVETUTOR_ICE_BEAM ; 3

View File

@ -106,7 +106,7 @@
const SPRITE_STANDING_YOUNGSTER ; 66 const SPRITE_STANDING_YOUNGSTER ; 66
; SpriteMons indexes (see data/sprites/sprite_mons.asm) ; SpriteMons indexes (see data/sprites/sprite_mons.asm)
const_value set $80 const_def $80
SPRITE_POKEMON EQU const_value SPRITE_POKEMON EQU const_value
const SPRITE_UNOWN ; 80 const SPRITE_UNOWN ; 80
const SPRITE_GEODUDE ; 81 const SPRITE_GEODUDE ; 81
@ -145,12 +145,12 @@ SPRITE_POKEMON EQU const_value
const SPRITE_HO_OH ; a2 const SPRITE_HO_OH ; a2
; special GetMonSprite values (see engine/overworld.asm) ; special GetMonSprite values (see engine/overworld.asm)
const_value set $e0 const_def $e0
const SPRITE_DAY_CARE_MON_1 ; e0 const SPRITE_DAY_CARE_MON_1 ; e0
const SPRITE_DAY_CARE_MON_2 ; e1 const SPRITE_DAY_CARE_MON_2 ; e1
; wVariableSprites indexes (see wram.asm) ; wVariableSprites indexes (see wram.asm)
const_value set $f0 const_def $f0
SPRITE_VARS EQU const_value SPRITE_VARS EQU const_value
const SPRITE_CONSOLE ; f0 const SPRITE_CONSOLE ; f0
const SPRITE_DOLL_1 ; f1 const SPRITE_DOLL_1 ; f1

View File

@ -9,7 +9,7 @@
NUM_SPRITEDATA_FIELDS EQU const_value NUM_SPRITEDATA_FIELDS EQU const_value
; sprite types ; sprite types
const_value set 1 const_def 1
const WALKING_SPRITE ; 1 const WALKING_SPRITE ; 1
const STANDING_SPRITE ; 2 const STANDING_SPRITE ; 2
const STILL_SPRITE ; 3 const STILL_SPRITE ; 3
@ -27,7 +27,7 @@ const_value set 1
; object_events set bit 3 so as not to use the sprite's default palette ; object_events set bit 3 so as not to use the sprite's default palette
; MapObjectPals indexes (see gfx/overworld/npc_sprites.pal) ; MapObjectPals indexes (see gfx/overworld/npc_sprites.pal)
const_value set (1 << 3) const_def 1 << 3
const PAL_NPC_RED ; 8 const PAL_NPC_RED ; 8
const PAL_NPC_BLUE ; 9 const PAL_NPC_BLUE ; 9
const PAL_NPC_GREEN ; a const PAL_NPC_GREEN ; a
@ -36,160 +36,3 @@ const_value set (1 << 3)
const PAL_NPC_SILVER ; d const PAL_NPC_SILVER ; d
const PAL_NPC_TREE ; e const PAL_NPC_TREE ; e
const PAL_NPC_ROCK ; f const PAL_NPC_ROCK ; f
; SpriteMovementData indexes (see data/sprites/map_objects.asm)
const_def
const SPRITEMOVEDATA_00 ; 00
const SPRITEMOVEDATA_ITEM_TREE ; 01
const SPRITEMOVEDATA_WANDER ; 02
const SPRITEMOVEDATA_SPINRANDOM_SLOW ; 03
const SPRITEMOVEDATA_WALK_UP_DOWN ; 04
const SPRITEMOVEDATA_WALK_LEFT_RIGHT ; 05
const SPRITEMOVEDATA_STANDING_DOWN ; 06
const SPRITEMOVEDATA_STANDING_UP ; 07
const SPRITEMOVEDATA_STANDING_LEFT ; 08
const SPRITEMOVEDATA_STANDING_RIGHT ; 09
const SPRITEMOVEDATA_SPINRANDOM_FAST ; 0a
const SPRITEMOVEDATA_PLAYER ; 0b
const SPRITEMOVEDATA_0C ; 0c
const SPRITEMOVEDATA_0D ; 0d
const SPRITEMOVEDATA_0E ; 0e
const SPRITEMOVEDATA_0F ; 0f
const SPRITEMOVEDATA_10 ; 10
const SPRITEMOVEDATA_11 ; 11
const SPRITEMOVEDATA_12 ; 12
const SPRITEMOVEDATA_FOLLOWING ; 13
const SPRITEMOVEDATA_SCRIPTED ; 14
const SPRITEMOVEDATA_SNORLAX ; 15
const SPRITEMOVEDATA_POKEMON ; 16
const SPRITEMOVEDATA_SUDOWOODO ; 17
const SPRITEMOVEDATA_SMASHABLE_ROCK ; 18
const SPRITEMOVEDATA_STRENGTH_BOULDER ; 19
const SPRITEMOVEDATA_FOLLOWNOTEXACT ; 1a
const SPRITEMOVEDATA_SHADOW ; 1b
const SPRITEMOVEDATA_EMOTE ; 1c
const SPRITEMOVEDATA_SCREENSHAKE ; 1d
const SPRITEMOVEDATA_SPINCOUNTERCLOCKWISE ; 1e
const SPRITEMOVEDATA_SPINCLOCKWISE ; 1f
const SPRITEMOVEDATA_20 ; 20
const SPRITEMOVEDATA_BIGDOLL ; 21
const SPRITEMOVEDATA_BOULDERDUST ; 22
const SPRITEMOVEDATA_GRASS ; 23
const SPRITEMOVEDATA_LAPRAS ; 24
NUM_SPRITEMOVEDATA EQU const_value
SPRITEMOVEDATA_FIELDS EQU 6
; MapObjectMovementPattern.Pointers indexes (see engine/map_objects.asm)
const_def
const SPRITEMOVEFN_00 ; 00
const SPRITEMOVEFN_RANDOM_WALK_Y ; 01
const SPRITEMOVEFN_RANDOM_WALK_X ; 02
const SPRITEMOVEFN_RANDOM_WALK_XY ; 03
const SPRITEMOVEFN_SLOW_RANDOM_SPIN ; 04
const SPRITEMOVEFN_FAST_RANDOM_SPIN ; 05
const SPRITEMOVEFN_STANDING ; 06
const SPRITEMOVEFN_OBEY_DPAD ; 07
const SPRITEMOVEFN_08 ; 08
const SPRITEMOVEFN_09 ; 09
const SPRITEMOVEFN_0A ; 0a
const SPRITEMOVEFN_0B ; 0b
const SPRITEMOVEFN_0C ; 0c
const SPRITEMOVEFN_0D ; 0d
const SPRITEMOVEFN_0E ; 0e
const SPRITEMOVEFN_FOLLOW ; 0f
const SPRITEMOVEFN_SCRIPTED ; 10
const SPRITEMOVEFN_STRENGTH ; 11
const SPRITEMOVEFN_FOLLOWNOTEXACT ; 12
const SPRITEMOVEFN_SHADOW ; 13
const SPRITEMOVEFN_EMOTE ; 14
const SPRITEMOVEFN_BIG_SNORLAX ; 15
const SPRITEMOVEFN_BOUNCE ; 16
const SPRITEMOVEFN_SCREENSHAKE ; 17
const SPRITEMOVEFN_SPIN_CLOCKWISE ; 18
const SPRITEMOVEFN_SPIN_COUNTERCLOCKWISE ; 19
const SPRITEMOVEFN_BOULDERDUST ; 1a
const SPRITEMOVEFN_GRASS ; 1b
; StepTypesJumptable indexes (see engine/map_objects.asm)
const_def
const STEP_TYPE_00 ; 00
const STEP_TYPE_SLEEP ; 01
const STEP_TYPE_NPC_WALK ; 02
const STEP_TYPE_03 ; 03
const STEP_TYPE_04 ; 04
const STEP_TYPE_05 ; 05
const STEP_TYPE_PLAYER_WALK ; 06
const STEP_TYPE_07 ; 07
const STEP_TYPE_NPC_JUMP ; 08
const STEP_TYPE_PLAYER_JUMP ; 09
const STEP_TYPE_HALF_STEP ; 0a
const STEP_TYPE_BUMP ; 0b
const STEP_TYPE_TELEPORT_FROM ; 0c
const STEP_TYPE_TELEPORT_TO ; 0d
const STEP_TYPE_SKYFALL ; 0e
const STEP_TYPE_0F ; 0f
const STEP_TYPE_GOT_BITE ; 10
const STEP_TYPE_ROCK_SMASH ; 11
const STEP_TYPE_RETURN_DIG ; 12
const STEP_TYPE_TRACKING_OBJECT ; 13
const STEP_TYPE_14 ; 14
const STEP_TYPE_15 ; 15
const STEP_TYPE_16 ; 16
const STEP_TYPE_17 ; 17
const STEP_TYPE_18 ; 18
const STEP_TYPE_SKYFALL_TOP ; 19
; ObjectActionPairPointers indexes (see engine/map_object_action.asm)
const_def
const OBJECT_ACTION_00 ; 00
const OBJECT_ACTION_STAND ; 01
const OBJECT_ACTION_STEP ; 02
const OBJECT_ACTION_BUMP ; 03
const OBJECT_ACTION_SPIN ; 04
const OBJECT_ACTION_SPIN_FLICKER ; 05
const OBJECT_ACTION_FISHING ; 06
const OBJECT_ACTION_SHADOW ; 07
const OBJECT_ACTION_EMOTE ; 08
const OBJECT_ACTION_BIG_SNORLAX ; 09
const OBJECT_ACTION_BOUNCE ; 0a
const OBJECT_ACTION_WEIRD_TREE ; 0b
const OBJECT_ACTION_BIG_LAPRAS ; 0c
const OBJECT_ACTION_BIG_DOLL ; 0d
const OBJECT_ACTION_BOULDER_DUST ; 0e
const OBJECT_ACTION_GRASS_SHAKE ; 0f
const OBJECT_ACTION_SKYFALL ; 10
; Facings indexes (see data/sprites/facings.asm)
const_def
const FACING_STEP_DOWN_0 ; 00
const FACING_STEP_DOWN_1 ; 01
const FACING_STEP_DOWN_2 ; 02
const FACING_STEP_DOWN_3 ; 03
const FACING_STEP_UP_0 ; 04
const FACING_STEP_UP_1 ; 05
const FACING_STEP_UP_2 ; 06
const FACING_STEP_UP_3 ; 07
const FACING_STEP_LEFT_0 ; 08
const FACING_STEP_LEFT_1 ; 09
const FACING_STEP_LEFT_2 ; 0a
const FACING_STEP_LEFT_3 ; 0b
const FACING_STEP_RIGHT_0 ; 0c
const FACING_STEP_RIGHT_1 ; 0d
const FACING_STEP_RIGHT_2 ; 0e
const FACING_STEP_RIGHT_3 ; 0f
const FACING_FISH_DOWN ; 10
const FACING_FISH_UP ; 11
const FACING_FISH_LEFT ; 12
const FACING_FISH_RIGHT ; 13
const FACING_EMOTE ; 14
const FACING_SHADOW ; 15
const FACING_BIG_DOLL_ASYM ; 16
const FACING_BIG_DOLL_SYM ; 17
const FACING_WEIRD_TREE_0 ; 18
const FACING_WEIRD_TREE_1 ; 19
const FACING_WEIRD_TREE_2 ; 1a
const FACING_WEIRD_TREE_3 ; 1b
const FACING_BOULDER_DUST_1 ; 1c
const FACING_BOULDER_DUST_2 ; 1d
const FACING_GRASS_1 ; 1e
const FACING_GRASS_2 ; 1f

View File

@ -1,5 +1,5 @@
; StdScripts indexes (see engine/events/std_scripts.asm) ; StdScripts indexes (see engine/events/std_scripts.asm)
; also used in TileCollisionStdScripts (see data/collision_stdscripts.asm) ; also used in TileCollisionStdScripts (see data/events/collision_stdscripts.asm)
enum_start enum_start
enum pokecenternurse enum pokecenternurse
enum difficultbookshelf enum difficultbookshelf

View File

@ -9,7 +9,7 @@ TRAINER_CLASS_NAME_LENGTH EQU 13
NAME_LENGTH_JAPANESE EQU 6 NAME_LENGTH_JAPANESE EQU 6
; GetName types (see home/names.asm) ; GetName types (see home/names.asm)
const_value set 1 const_def 1
const MON_NAME ; 1 const MON_NAME ; 1
const MOVE_NAME ; 2 const MOVE_NAME ; 2
const DUMMY_NAME ; 3 const DUMMY_NAME ; 3
@ -31,7 +31,7 @@ TEXTBOX_Y EQU SCREEN_HEIGHT - TEXTBOX_HEIGHT
TEXTBOX_INNERY EQU TEXTBOX_Y + 2 TEXTBOX_INNERY EQU TEXTBOX_Y + 2
; PrintNum bit flags ; PrintNum bit flags
const_value set 5 const_def 5
const PRINTNUM_MONEY_F ; 5 const PRINTNUM_MONEY_F ; 5
const PRINTNUM_RIGHTALIGN_F ; 6 const PRINTNUM_RIGHTALIGN_F ; 6
const PRINTNUM_LEADINGZEROS_F ; 7 const PRINTNUM_LEADINGZEROS_F ; 7

View File

@ -1,5 +1,5 @@
; Tilesets indexes (see data/tilesets.asm) ; Tilesets indexes (see data/tilesets.asm)
const_value set 1 const_def 1
const TILESET_JOHTO ; 01 const TILESET_JOHTO ; 01
const TILESET_JOHTO_MODERN ; 02 const TILESET_JOHTO_MODERN ; 02
const TILESET_KANTO ; 03 const TILESET_KANTO ; 03

View File

@ -10,6 +10,7 @@
NUM_TRAINER_ATTRIBUTES EQU const_value NUM_TRAINER_ATTRIBUTES EQU const_value
; TRNATTR_AI_MOVE_WEIGHTS bit flags (wEnemyTrainerAIFlags) ; TRNATTR_AI_MOVE_WEIGHTS bit flags (wEnemyTrainerAIFlags)
; AIScoringPointers indexes (see engine/battle/ai/move.asm)
const_def const_def
const NO_AI const NO_AI
const_value = 0 const_value = 0

View File

@ -2,7 +2,8 @@
; also used in: ; also used in:
; - PokedexTypeSearchConversionTable (see data/types/search_types.asm) ; - PokedexTypeSearchConversionTable (see data/types/search_types.asm)
; - PokedexTypeSearchStrings (see data/types/search_strings.asm) ; - PokedexTypeSearchStrings (see data/types/search_strings.asm)
; - TypeMatchups (see data/battle/type_matchups.asm) ; - TypeMatchups (see data/types/type_matchups.asm)
; - TypeBoostItems (see data/types/type_boost_items.asm)
const_def const_def
PHYSICAL EQU const_value PHYSICAL EQU const_value

View File

@ -1,4 +1,14 @@
; wMonType: ; cf5f ; wInputType:: ; c2c7
AUTO_INPUT EQU $ff
; wCurrentDexMode:: ; c7d4
const_def
const DEXMODE_NEW
const DEXMODE_OLD
const DEXMODE_ABC
const DEXMODE_UNOWN
; wMonType:: ; cf5f
const_def const_def
const PARTYMON ; 0 const PARTYMON ; 0
const OTPARTYMON ; 1 const OTPARTYMON ; 1
@ -6,19 +16,23 @@
const TEMPMON ; 3 const TEMPMON ; 3
const WILDMON ; 4 const WILDMON ; 4
; wOptions: (bits) ; cfcc ; wGameTimerPause:: ; cfbc
const_value set 4 GAMETIMERPAUSE_TIMER_PAUSED_F EQU 0
GAMETIMERPAUSE_MOBILE_7_F EQU 7
; wOptions:: (bits 4-7) ; cfcc
const_def 4
const NO_TEXT_SCROLL ; 4 const NO_TEXT_SCROLL ; 4
const STEREO ; 5 const STEREO ; 5
const BATTLE_SHIFT ; 6 const BATTLE_SHIFT ; 6
const BATTLE_SCENE ; 7 const BATTLE_SCENE ; 7
; wOptions: (bits 0-2) ; wOptions:: (bits 0-2) ; cfcc
TEXT_DELAY_FAST EQU 1 TEXT_DELAY_FAST EQU 1
TEXT_DELAY_MED EQU 3 TEXT_DELAY_MED EQU 3
TEXT_DELAY_SLOW EQU 5 TEXT_DELAY_SLOW EQU 5
; wTextBoxFrame: ; cfce ; wTextBoxFrame:: ; cfce
const_def const_def
const FRAME_1 ; 0 const FRAME_1 ; 0
const FRAME_2 ; 1 const FRAME_2 ; 1
@ -30,24 +44,24 @@ TEXT_DELAY_SLOW EQU 5
const FRAME_8 ; 7 const FRAME_8 ; 7
NUM_FRAMES EQU const_value NUM_FRAMES EQU const_value
; wTextBoxFlags: ; wTextBoxFlags:: ; cfcf
const_def const_def
const FAST_TEXT_DELAY_F ; 0 const FAST_TEXT_DELAY_F ; 0
const NO_TEXT_DELAY_F ; 1 const NO_TEXT_DELAY_F ; 1
; wOptions2: ; wGBPrinter:: ; cfd0
const_def
const MENU_ACCOUNT ; 0
; wGBPrinter:
GBPRINTER_LIGHTEST EQU $00 GBPRINTER_LIGHTEST EQU $00
GBPRINTER_LIGHTER EQU $20 GBPRINTER_LIGHTER EQU $20
GBPRINTER_NORMAL EQU $40 GBPRINTER_NORMAL EQU $40
GBPRINTER_DARKER EQU $60 GBPRINTER_DARKER EQU $60
GBPRINTER_DARKEST EQU $7f GBPRINTER_DARKEST EQU $7f
; wWalkingDirection: ; d043 ; wOptions2:: ; cfd1
const_value set -1 const_def
const MENU_ACCOUNT ; 0
; wWalkingDirection:: ; d043
const_def -1
const STANDING ; -1 const STANDING ; -1
const DOWN ; 0 const DOWN ; 0
const UP ; 1 const UP ; 1
@ -60,14 +74,29 @@ UP_MASK EQU 1 << UP
LEFT_MASK EQU 1 << LEFT LEFT_MASK EQU 1 << LEFT
RIGHT_MASK EQU 1 << RIGHT RIGHT_MASK EQU 1 << RIGHT
; wFacingDirection: ; d044 ; wFacingDirection:: ; d044
FACE_CURRENT EQU 0 FACE_CURRENT EQU 0
FACE_DOWN EQU 8 FACE_DOWN EQU 8
FACE_UP EQU 4 FACE_UP EQU 4
FACE_LEFT EQU 2 FACE_LEFT EQU 2
FACE_RIGHT EQU 1 FACE_RIGHT EQU 1
; wTimeOfDay: ; d269 ; wPokemonWithdrawDepositParameter:: ; d10b
PC_WITHDRAW EQU 0
PC_DEPOSIT EQU 1
REMOVE_PARTY EQU 0
REMOVE_BOX EQU 1
DAY_CARE_WITHDRAW EQU 2
DAY_CARE_DEPOSIT EQU 3
; wInitListType:: ; d263
INIT_ENEMYOT_LIST EQU 1
INIT_BAG_ITEM_LIST EQU 2
INIT_OTHER_ITEM_LIST EQU 3
INIT_PLAYEROT_LIST EQU 4
INIT_MON_LIST EQU 5
; wTimeOfDay:: ; d269
const_def const_def
const MORN_F ; 0 const MORN_F ; 0
const DAY_F ; 1 const DAY_F ; 1
@ -82,16 +111,30 @@ DARKNESS EQU 1 << DARKNESS_F
ANYTIME EQU MORN | DAY | NITE ANYTIME EQU MORN | DAY | NITE
; wScriptFlags: ; d434 ; wPlayerSpriteSetupFlags:: ; d45b
PLAYERSPRITESETUP_FACING_MASK EQU %11
PLAYERSPRITESETUP_FEMALE_TO_MALE_F EQU 2
PLAYERSPRITESETUP_CUSTOM_FACING_F EQU 5
PLAYERSPRITESETUP_SKIP_RELOAD_GFX_F EQU 6
PLAYERSPRITESETUP_RESET_ACTION_F EQU 7
; wPlayerGender:: ; d472
PLAYERGENDER_FEMALE_F EQU 0
; wScriptFlags:: ; d434
SCRIPT_RUNNING EQU 2 SCRIPT_RUNNING EQU 2
; wScriptMode: ; d437 ; wScriptMode:: ; d437
SCRIPT_OFF EQU 0 SCRIPT_OFF EQU 0
SCRIPT_READ EQU 1 SCRIPT_READ EQU 1
SCRIPT_WAIT_MOVEMENT EQU 2 SCRIPT_WAIT_MOVEMENT EQU 2
SCRIPT_WAIT EQU 3 SCRIPT_WAIT EQU 3
; wCurDay: ; d4cb ; wSpawnAfterChampion:: ; d4b5
SPAWN_LANCE EQU 1
SPAWN_RED EQU 2
; wCurDay:: ; d4cb
const_def const_def
const SUNDAY ; 0 const SUNDAY ; 0
const MONDAY ; 1 const MONDAY ; 1
@ -101,46 +144,41 @@ SCRIPT_WAIT EQU 3
const FRIDAY ; 5 const FRIDAY ; 5
const SATURDAY ; 6 const SATURDAY ; 6
; wMapObjects: ; d71e ; wMapObjects:: ; d71e
PLAYER_OBJECT EQU 0 PLAYER_OBJECT EQU 0
NUM_OBJECTS EQU $10 NUM_OBJECTS EQU $10
; wInputType: ; c2c7 ; wStatusFlags:: ; d84c
AUTO_INPUT EQU $ff
; wWhichRegisteredItem: ; d95b
REGISTERED_POCKET EQU %11000000
REGISTERED_NUMBER EQU %00111111
; wPlayerState: ; d95d
PLAYER_NORMAL EQU 0
PLAYER_BIKE EQU 1
PLAYER_SKATE EQU 2
PLAYER_SURF EQU 4
PLAYER_SURF_PIKA EQU 8
; After-Champion Spawn
SPAWN_LANCE EQU 1
SPAWN_RED EQU 2
; wPokemonWithdrawDepositParameter
PC_WITHDRAW EQU 0
PC_DEPOSIT EQU 1
REMOVE_PARTY EQU 0
REMOVE_BOX EQU 1
DAY_CARE_WITHDRAW EQU 2
DAY_CARE_DEPOSIT EQU 3
; wCurrentDexMode
const_def const_def
const DEXMODE_NEW const STATUSFLAGS_POKEDEX_F ; 0
const DEXMODE_OLD const STATUSFLAGS_UNOWN_DEX_F ; 1
const DEXMODE_ABC const STATUSFLAGS_FLASH_F ; 2
const DEXMODE_UNOWN const STATUSFLAGS_CAUGHT_POKERUS_F ; 3
const STATUSFLAGS_ROCKET_SIGNAL_F ; 4
const STATUSFLAGS_NO_WILD_ENCOUNTERS_F ; 5
const STATUSFLAGS_HALL_OF_FAME_F ; 6
const STATUSFLAGS_MAIN_MENU_MOBILE_CHOICES_F ; 7
; wJohtoBadges: ; wStatusFlags2:: ; d84d
const_def
const STATUSFLAGS2_ROCKETS_IN_RADIO_TOWER_F ; 0
const STATUSFLAGS2_SAFARI_GAME_F ; 1
const STATUSFLAGS2_BUG_CONTEST_TIMER_F ; 2
const STATUSFLAGS2_UNUSED_3_F ; 3
const STATUSFLAGS2_BIKE_SHOP_CALL_F ; 4
const STATUSFLAGS2_UNUSED_5_F ; 5
const STATUSFLAGS2_REACHED_GOLDENROD_F ; 6
const STATUSFLAGS2_ROCKETS_IN_MAHOGANY_F ; 7
; wMomSavingMoney:: ; d854
MOM_SAVING_SOME_MONEY_F EQU 0
MOM_SAVING_HALF_MONEY_F EQU 1
MOM_SAVING_ALL_MONEY_F EQU 2
MOM_ACTIVE_F EQU 7
MOM_SAVING_MONEY_MASK EQU (1 << MOM_SAVING_SOME_MONEY_F) | (1 << MOM_SAVING_HALF_MONEY_F) | (1 << MOM_SAVING_ALL_MONEY_F)
; wJohtoBadges:: ; d857
const_def const_def
const ZEPHYRBADGE const ZEPHYRBADGE
const HIVEBADGE const HIVEBADGE
@ -152,7 +190,7 @@ DAY_CARE_DEPOSIT EQU 3
const RISINGBADGE const RISINGBADGE
NUM_JOHTO_BADGES EQU const_value NUM_JOHTO_BADGES EQU const_value
; wKantoBadges: ; wKantoBadges:: ; d858
const_def const_def
const BOULDERBADGE const BOULDERBADGE
const CASCADEBADGE const CASCADEBADGE
@ -165,9 +203,74 @@ NUM_JOHTO_BADGES EQU const_value
NUM_KANTO_BADGES EQU const_value NUM_KANTO_BADGES EQU const_value
NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES NUM_BADGES EQU NUM_JOHTO_BADGES + NUM_KANTO_BADGES
; wInitListType: ; wPokegearFlags:: ; d957
INIT_ENEMYOT_LIST EQU 1 const_def
INIT_BAG_ITEM_LIST EQU 2 const POKEGEAR_MAP_CARD_F ; 0
INIT_OTHER_ITEM_LIST EQU 3 const POKEGEAR_RADIO_CARD_F ; 1
INIT_PLAYEROT_LIST EQU 4 const POKEGEAR_PHONE_CARD_F ; 2
INIT_MON_LIST EQU 5 const POKEGEAR_EXPN_CARD_F ; 3
POKEGEAR_OBTAINED_F EQU 7
; wWhichRegisteredItem:: ; d95b
REGISTERED_POCKET EQU %11000000
REGISTERED_NUMBER EQU %00111111
; wPlayerState:: ; d95d
PLAYER_NORMAL EQU 0
PLAYER_BIKE EQU 1
PLAYER_SKATE EQU 2
PLAYER_SURF EQU 4
PLAYER_SURF_PIKA EQU 8
; wCelebiEvent:: ; dbf3
CELEBIEVENT_FOREST_IS_RESTLESS_F EQU 2
; wBikeFlags:: ; dbf5
const_def
const BIKEFLAGS_STRENGTH_ACTIVE_F ; 0
const BIKEFLAGS_ALWAYS_ON_BIKE_F ; 1
const BIKEFLAGS_DOWNHILL_F ; 2
; wDailyFlags:: ; dc1e
const_def
const DAILYFLAGS_KURT_MAKING_BALLS_F ; 0
const DAILYFLAGS_BUG_CONTEST_F ; 1
const DAILYFLAGS_FISH_SWARM_F ; 2
const DAILYFLAGS_TIME_CAPSULE_F ; 3
const DAILYFLAGS_ALL_FRUIT_TREES_F ; 4
const DAILYFLAGS_GOT_SHUCKIE_TODAY_F ; 5
const DAILYFLAGS_GOLDENROD_UNDERGROUND_BARGAIN_F ; 6
const DAILYFLAGS_TRAINER_HOUSE_F ; 7
; wWeeklyFlags:: ; dc1f
const_def
const WEEKLYFLAGS_MT_MOON_SQUARE_CLEFAIRY_F ; 0
const WEEKLYFLAGS_UNION_CAVE_LAPRAS_F ; 1
const WEEKLYFLAGS_GOLDENROD_UNDERGROUND_GOT_HAIRCUT_F ; 2
const WEEKLYFLAGS_GOLDENROD_DEPT_STORE_TM27_RETURN_F ; 3
const WEEKLYFLAGS_DAISYS_GROOMING_F ; 4
const WEEKLYFLAGS_INDIGO_PLATEAU_RIVAL_FIGHT_F ; 5
const WEEKLYFLAGS_DAILY_MOVE_TUTOR_F ; 6
const WEEKLYFLAGS_BUENAS_PASSWORD_F ; 7
; wSwarmFlags:: ; dc20
const_def
const SWARMFLAGS_BUENAS_PASSWORD_F ; 0
const SWARMFLAGS_GOLDENROD_DEPT_STORE_SALE_F ; 1
const SWARMFLAGS_DUNSPARCE_SWARM_F ; 2
const SWARMFLAGS_YANMA_SWARM_F ; 3
const SWARMFLAGS_MOBILE_4_F ; 4
; wLuckyNumberShowFlag:: ; dc9d
LUCKYNUMBERSHOW_GAME_OVER_F EQU 0
; wDayCareMan:: ; def5
DAYCAREMAN_HAS_MON_F EQU 0
DAYCAREMAN_MONS_COMPATIBLE_F EQU 5
DAYCAREMAN_HAS_EGG_F EQU 6
DAYCAREMAN_ACTIVE_F EQU 7
; wDayCareLady:: ; df2c
DAYCARELADY_HAS_MON_F EQU 0
DAYCARELADY_ACTIVE_F EQU 7

View File

@ -1,5 +1,5 @@
; Multiplier ratios for accuracy from modifier -6 to +6 ; Multiplier ratios for accuracy from modifier -6 to +6
; (for other stats, see data/battle/stat_multipliers.asm) ; (for other stats, see data/battle/stat_multipliers.asm).
AccuracyLevelMultipliers: AccuracyLevelMultipliers:
db 33, 100 ; -6 = 33% db 33, 100 ; -6 = 33%

View File

@ -0,0 +1,11 @@
; AIDamageCalc uses BattleCommand_ConstantDamage
; to calculate damage for these instead of
; BattleCommand_DamageCalc and BattleCommand_Stab.
ConstantDamageEffects: ; 39413
db EFFECT_SUPER_FANG
db EFFECT_STATIC_DAMAGE
db EFFECT_LEVEL_DAMAGE
db EFFECT_PSYWAVE
db -1 ; end
; 39418

View File

@ -0,0 +1,35 @@
; AI_SMART encourages these moves with Encore.
EncoreMoves: ; 38c85
db SWORDS_DANCE
db WHIRLWIND
db LEER
db ROAR
db DISABLE
db MIST
db LEECH_SEED
db GROWTH
db POISONPOWDER
db STRING_SHOT
db MEDITATE
db AGILITY
db TELEPORT
db SCREECH
db HAZE
db FOCUS_ENERGY
db DREAM_EATER
db POISON_GAS
db SPLASH
db SHARPEN
db CONVERSION
db SUPER_FANG
db SUBSTITUTE
db TRIPLE_KICK
db SPIDER_WEB
db MIND_READER
db FLAME_WHEEL
db AEROBLAST
db COTTON_SPORE
db POWDER_SNOW
db -1 ; end
; 38ca4

View File

@ -0,0 +1,16 @@
; AI_SMART prefers these moves during rain.
RainDanceMoves: ; 390e7
db WATER_GUN
db HYDRO_PUMP
db SURF
db BUBBLEBEAM
db THUNDER
db WATERFALL
db CLAMP
db BUBBLE
db CRABHAMMER
db OCTAZOOKA
db WHIRLPOOL
db -1 ; end
; 390f3

View File

@ -0,0 +1,10 @@
; AI_AGGRESSIVE does not discourage these moves
; even if a stronger one is available.
RecklessMoves: ; 393e2
db EFFECT_SELFDESTRUCT
db EFFECT_RAMPAGE
db EFFECT_MULTI_HIT
db EFFECT_DOUBLE_HIT
db -1 ; end
; 393e7

View File

@ -0,0 +1,17 @@
; AI_CAUTIOUS discourages these moves after the first turn.
ResidualMoves:
db MIST
db LEECH_SEED
db POISONPOWDER
db STUN_SPORE
db THUNDER_WAVE
db FOCUS_ENERGY
db BIDE
db POISON_GAS
db TRANSFORM
db CONVERSION
db SUBSTITUTE
db SPIKES
db -1 ; end
; 39453

View File

@ -0,0 +1,8 @@
; AI_RISKY will not use these effects at max HP
; even if they would KO the player.
RiskyEffects: ; 394ff
db EFFECT_SELFDESTRUCT
db EFFECT_OHKO
db -1 ; end
; 39502

View File

@ -0,0 +1,38 @@
; AI_OPPORTUNIST discourages these moves
; when the player's HP is low.
StallMoves: ; 39348
db SWORDS_DANCE
db TAIL_WHIP
db LEER
db GROWL
db DISABLE
db MIST
db COUNTER
db LEECH_SEED
db GROWTH
db STRING_SHOT
db MEDITATE
db AGILITY
db RAGE
db MIMIC
db SCREECH
db HARDEN
db WITHDRAW
db DEFENSE_CURL
db BARRIER
db LIGHT_SCREEN
db HAZE
db REFLECT
db FOCUS_ENERGY
db BIDE
db AMNESIA
db TRANSFORM
db SPLASH
db ACID_ARMOR
db SHARPEN
db CONVERSION
db SUBSTITUTE
db FLAME_WHEEL
db -1 ; end
; 39369

View File

@ -0,0 +1,10 @@
; AI_BASIC discourages these effects if the player
; already has a status condition.
StatusOnlyEffects: ; 385db
db EFFECT_SLEEP
db EFFECT_TOXIC
db EFFECT_POISON
db EFFECT_PARALYZE
db -1 ; end
; 385e0

View File

@ -0,0 +1,13 @@
; AI_SMART prefers these moves during harsh sunlight.
SunnyDayMoves: ; 39134
db FIRE_PUNCH
db EMBER
db FLAMETHROWER
db FIRE_SPIN
db FIRE_BLAST
db SACRED_FIRE
db MORNING_SUN
db SYNTHESIS
db -1 ; end
; 3913d

View File

@ -0,0 +1,24 @@
; AI_SMART knows these moves are usable all-around.
UsefulMoves: ; 39301
db DOUBLE_EDGE
db SING
db FLAMETHROWER
db HYDRO_PUMP
db SURF
db ICE_BEAM
db BLIZZARD
db HYPER_BEAM
db SLEEP_POWDER
db THUNDERBOLT
db THUNDER
db EARTHQUAKE
db TOXIC
db PSYCHIC_M
db HYPNOSIS
db RECOVER
db FIRE_BLAST
db SOFTBOILED
db SUPER_FANG
db -1 ; end
; 39315

View File

@ -0,0 +1,26 @@
; Held item effects that are consumed on use
ConsumableEffects: ; 271de
db HELD_BERRY
db HELD_2
db HELD_5
db HELD_HEAL_POISON
db HELD_HEAL_FREEZE
db HELD_HEAL_BURN
db HELD_HEAL_SLEEP
db HELD_HEAL_PARALYZE
db HELD_HEAL_STATUS
db HELD_30
db HELD_ATTACK_UP
db HELD_DEFENSE_UP
db HELD_SPEED_UP
db HELD_SP_ATTACK_UP
db HELD_SP_DEFENSE_UP
db HELD_ACCURACY_UP
db HELD_EVASION_UP
db HELD_38
db HELD_71
db HELD_ESCAPE
db HELD_CRITICAL_UP
db -1
; 271f4

View File

@ -0,0 +1,11 @@
; See also data/items/heal_status.asm
HeldStatusHealingEffects: ; 3de44
db HELD_HEAL_POISON, 1 << PSN
db HELD_HEAL_FREEZE, 1 << FRZ
db HELD_HEAL_BURN, 1 << BRN
db HELD_HEAL_SLEEP, SLP
db HELD_HEAL_PARALYZE, 1 << PAR
db HELD_HEAL_STATUS, ALL_STATUS
db -1 ; end
; 3de51

View File

@ -0,0 +1,10 @@
HeldStatUpItems:
dbw HELD_ATTACK_UP, BattleCommand_AttackUp
dbw HELD_DEFENSE_UP, BattleCommand_DefenseUp
dbw HELD_SPEED_UP, BattleCommand_SpeedUp
dbw HELD_SP_ATTACK_UP, BattleCommand_SpecialAttackUp
dbw HELD_SP_DEFENSE_UP, BattleCommand_SpecialDefenseUp
dbw HELD_ACCURACY_UP, BattleCommand_AccuracyUp
dbw HELD_EVASION_UP, BattleCommand_EvasionUp
db -1 ; end
; 3df12

View File

@ -0,0 +1,18 @@
; Metronome cannot turn into these moves.
MetronomeExcepts: ; 37454
db NO_MOVE
db METRONOME
db STRUGGLE
db SKETCH
db MIMIC
db COUNTER
db MIRROR_COAT
db PROTECT
db DETECT
db ENDURE
db DESTINY_BOND
db SLEEP_TALK
db THIEF
db -1
; 37462

View File

@ -1,5 +1,8 @@
; Multiplier ratios for all stats from modifier -6 to +6 ; Multiplier ratios for all stats from modifier -6 to +6
; (except accuracy, see data/battle/accuracy_multipliers.asm) ; (except accuracy, see data/battle/accuracy_multipliers.asm).
; This table is identical to data/battle/stat_multipliers_2.asm.
; This one is used by CalcStats.
StatLevelMultipliers: StatLevelMultipliers:
db 25, 100 ; -6 = 25% db 25, 100 ; -6 = 25%

View File

@ -0,0 +1,20 @@
; Multiplier ratios for all stats from modifier -6 to +6
; (except accuracy, see data/battle/accuracy_multipliers.asm).
; This table is identical to data/battle/stat_multipliers.asm.
; This one is used by ApplyStatLevelMultiplier.
StatLevelMultipliers_Applied:
db 25, 100 ; -6 = 25%
db 28, 100 ; -5 = 28%
db 33, 100 ; -4 = 33%
db 40, 100 ; -3 = 40%
db 50, 100 ; -2 = 50%
db 66, 100 ; -1 = 66%
db 1, 1 ; 0 = 100%
db 15, 10 ; +1 = 150%
db 2, 1 ; +2 = 200%
db 25, 10 ; +3 = 250%
db 3, 1 ; +4 = 300%
db 35, 10 ; +5 = 350%
db 4, 1 ; +6 = 400%

View File

@ -0,0 +1,10 @@
WeatherTypeModifiers:
db WEATHER_RAIN, WATER, MORE_EFFECTIVE
db WEATHER_RAIN, FIRE, NOT_VERY_EFFECTIVE
db WEATHER_SUN, FIRE, MORE_EFFECTIVE
db WEATHER_SUN, WATER, NOT_VERY_EFFECTIVE
db -1 ; end
WeatherMoveModifiers:
db WEATHER_RAIN, EFFECT_SOLARBEAM, NOT_VERY_EFFECTIVE
db -1 ; end

View File

@ -0,0 +1,27 @@
WobbleProbabilities:
; catch rate, chance of wobbling / 255
; nLeft/255 = (nRight/255) ** 4
db 1, 63
db 2, 75
db 3, 84
db 4, 90
db 5, 95
db 7, 103
db 10, 113
db 15, 126
db 20, 134
db 30, 149
db 40, 160
db 50, 169
db 60, 177
db 80, 191
db 100, 201
db 120, 211
db 140, 220
db 160, 227
db 180, 234
db 200, 240
db 220, 246
db 240, 251
db 254, 253
db 255, 255

View File

@ -1,16 +0,0 @@
INCLUDE "constants.asm"
SECTION "Text 1", ROMX
INCLUDE "data/common_text/common_text_1.asm"
SECTION "Text 2", ROMX
INCLUDE "data/common_text/common_text_2.asm"
SECTION "Text 3", ROMX
INCLUDE "data/common_text/common_text_3.asm"

View File

@ -7,36 +7,36 @@ ENDM
DecorationAttributes: ; 26a4f DecorationAttributes: ; 26a4f
; entries correspond to deco constants ; entries correspond to deco constants
decoration DECO_PLANT, $00, $0, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, $00, $0, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_BED, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_BED, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_BED, FEATHERY_BED, SET_UP_BED, EVENT_DECO_BED_1, $1b decoration DECO_BED, FEATHERY_BED, SET_UP_BED, EVENT_DECO_BED_1, $1b
decoration DECO_BED, PINK_BED, SET_UP_BED, EVENT_DECO_BED_2, $1c decoration DECO_BED, PINK_BED, SET_UP_BED, EVENT_DECO_BED_2, $1c
decoration DECO_BED, POLKADOT_BED, SET_UP_BED, EVENT_DECO_BED_3, $1d decoration DECO_BED, POLKADOT_BED, SET_UP_BED, EVENT_DECO_BED_3, $1d
decoration DECO_BED, PIKACHU_BED, SET_UP_BED, EVENT_DECO_BED_4, $1e decoration DECO_BED, PIKACHU_BED, SET_UP_BED, EVENT_DECO_BED_4, $1e
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_CARPET, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_CARPET, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_CARPET, RED_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_1, $08 decoration DECO_CARPET, RED_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_1, $08
decoration DECO_CARPET, BLUE_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_2, $0b decoration DECO_CARPET, BLUE_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_2, $0b
decoration DECO_CARPET, YELLOW_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_3, $0e decoration DECO_CARPET, YELLOW_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_3, $0e
decoration DECO_CARPET, GREEN_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_4, $11 decoration DECO_CARPET, GREEN_CARPET, SET_UP_CARPET, EVENT_DECO_CARPET_4, $11
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_PLANT, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_PLANT, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_PLANT, MAGNAPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_1, $20 decoration DECO_PLANT, MAGNAPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_1, $20
decoration DECO_PLANT, TROPICPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_2, $21 decoration DECO_PLANT, TROPICPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_2, $21
decoration DECO_PLANT, JUMBOPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_3, $22 decoration DECO_PLANT, JUMBOPLANT, SET_UP_PLANT, EVENT_DECO_PLANT_3, $22
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_POSTER, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_POSTER, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_PLANT, TOWN_MAP_D, SET_UP_POSTER, EVENT_DECO_PLANT_4, $1f decoration DECO_PLANT, TOWN_MAP_D, SET_UP_POSTER, EVENT_DECO_PLANT_4, $1f
decoration DECO_POSTER, PIKACHU, SET_UP_POSTER, EVENT_DECO_POSTER_1, $23 decoration DECO_POSTER, PIKACHU, SET_UP_POSTER, EVENT_DECO_POSTER_1, $23
decoration DECO_POSTER, CLEFAIRY, SET_UP_POSTER, EVENT_DECO_POSTER_2, $24 decoration DECO_POSTER, CLEFAIRY, SET_UP_POSTER, EVENT_DECO_POSTER_2, $24
decoration DECO_POSTER, JIGGLYPUFF, SET_UP_POSTER, EVENT_DECO_POSTER_3, $25 decoration DECO_POSTER, JIGGLYPUFF, SET_UP_POSTER, EVENT_DECO_POSTER_3, $25
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_CONSOLE, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_CONSOLE, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_PLANT, FAMICOM, SET_UP_CONSOLE, EVENT_DECO_FAMICOM, SPRITE_FAMICOM decoration DECO_PLANT, FAMICOM, SET_UP_CONSOLE, EVENT_DECO_FAMICOM, SPRITE_FAMICOM
decoration DECO_PLANT, SUPER_NES, SET_UP_CONSOLE, EVENT_DECO_SNES, SPRITE_SNES decoration DECO_PLANT, SUPER_NES, SET_UP_CONSOLE, EVENT_DECO_SNES, SPRITE_SNES
decoration DECO_PLANT, NINTENDO_64, SET_UP_CONSOLE, EVENT_DECO_N64, SPRITE_N64 decoration DECO_PLANT, NINTENDO_64, SET_UP_CONSOLE, EVENT_DECO_N64, SPRITE_N64
decoration DECO_PLANT, VIRTUAL_BOY, SET_UP_CONSOLE, EVENT_DECO_VIRTUAL_BOY, SPRITE_VIRTUAL_BOY decoration DECO_PLANT, VIRTUAL_BOY, SET_UP_CONSOLE, EVENT_DECO_VIRTUAL_BOY, SPRITE_VIRTUAL_BOY
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_BIG_DOLL, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_BIG_DOLL, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_BIGDOLL, SNORLAX, SET_UP_BIG_DOLL, EVENT_DECO_BIG_SNORLAX_DOLL, SPRITE_BIG_SNORLAX decoration DECO_BIGDOLL, SNORLAX, SET_UP_BIG_DOLL, EVENT_DECO_BIG_SNORLAX_DOLL, SPRITE_BIG_SNORLAX
decoration DECO_BIGDOLL, ONIX, SET_UP_BIG_DOLL, EVENT_DECO_BIG_ONIX_DOLL, SPRITE_BIG_ONIX decoration DECO_BIGDOLL, ONIX, SET_UP_BIG_DOLL, EVENT_DECO_BIG_ONIX_DOLL, SPRITE_BIG_ONIX
decoration DECO_BIGDOLL, LAPRAS, SET_UP_BIG_DOLL, EVENT_DECO_BIG_LAPRAS_DOLL, SPRITE_BIG_LAPRAS decoration DECO_BIGDOLL, LAPRAS, SET_UP_BIG_DOLL, EVENT_DECO_BIG_LAPRAS_DOLL, SPRITE_BIG_LAPRAS
decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_DOLL, EVENT_GAVE_KURT_APRICORNS, $00 decoration DECO_PLANT, PUT_IT_AWAY, PUT_AWAY_DOLL, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1, $00
decoration DECO_DOLL, PIKACHU, SET_UP_DOLL, EVENT_DECO_PIKACHU_DOLL, SPRITE_PIKACHU decoration DECO_DOLL, PIKACHU, SET_UP_DOLL, EVENT_DECO_PIKACHU_DOLL, SPRITE_PIKACHU
decoration DECO_PLANT, SURF_PIKA_DOLL, SET_UP_DOLL, EVENT_DECO_SURFING_PIKACHU_DOLL, SPRITE_SURFING_PIKACHU decoration DECO_PLANT, SURF_PIKA_DOLL, SET_UP_DOLL, EVENT_DECO_SURFING_PIKACHU_DOLL, SPRITE_SURFING_PIKACHU
decoration DECO_DOLL, CLEFAIRY, SET_UP_DOLL, EVENT_DECO_CLEFAIRY_DOLL, SPRITE_CLEFAIRY decoration DECO_DOLL, CLEFAIRY, SET_UP_DOLL, EVENT_DECO_CLEFAIRY_DOLL, SPRITE_CLEFAIRY

View File

@ -36,5 +36,5 @@ MysteryGiftDecos: ; 2c74a
db DECOFLAG_PIKACHU_BED db DECOFLAG_PIKACHU_BED
db DECOFLAG_GRIMER_DOLL db DECOFLAG_GRIMER_DOLL
db DECOFLAG_UNOWN_DOLL db DECOFLAG_UNOWN_DOLL
MysteryGiftDecosEnd .End
; 2c76f ; 2c76f

View File

@ -1,206 +1,201 @@
engine_flag: MACRO engine_flag: MACRO
dwb \1, 1 << \2 ; location, bit
; (all locations are in WRAM bank 1)
dwb \1 + (\2 / 8), 1 << (\2 % 8)
ENDM ENDM
EngineFlags: ; 80462 EngineFlags: ; 80462
; location, bit ; entries correspond to ENGINE_* constants
; (all locations are in WRAM bank 1)
; pokegear ; pokegear
engine_flag wPokegearFlags, 1 ; radio card ; $0 engine_flag wPokegearFlags, POKEGEAR_RADIO_CARD_F ; $0
engine_flag wPokegearFlags, 0 ; map card engine_flag wPokegearFlags, POKEGEAR_MAP_CARD_F
engine_flag wPokegearFlags, 2 ; phone card engine_flag wPokegearFlags, POKEGEAR_PHONE_CARD_F
engine_flag wPokegearFlags, 3 ; expn card engine_flag wPokegearFlags, POKEGEAR_EXPN_CARD_F
engine_flag wPokegearFlags, 7 ; on/off engine_flag wPokegearFlags, POKEGEAR_OBTAINED_F
; wDayCareMan, 7 ; day-care 1 on ; day-care
engine_flag wDayCareMan, 6 ; egg is ready engine_flag wDayCareMan, DAYCAREMAN_HAS_EGG_F
; wDayCareMan, 5 ; monster 1 and 2 are compatible engine_flag wDayCareMan, DAYCAREMAN_HAS_MON_F
engine_flag wDayCareMan, 0 ; monster 1 in day-care engine_flag wDayCareLady, DAYCARELADY_HAS_MON_F
; wDayCareLady, 7 = day-care 2 on engine_flag wMomSavingMoney, MOM_SAVING_SOME_MONEY_F ; $8
engine_flag wDayCareLady, 0 ; monster 2 in day-care engine_flag wMomSavingMoney, MOM_ACTIVE_F
engine_flag wMomSavingMoney, 0 ; mom saving money ; $8
engine_flag wMomSavingMoney, 7 ; dst
engine_flag wUnusedTwoDayTimerOn, 0 ; unused, possibly related to a 2-day timer engine_flag wUnusedTwoDayTimerOn, 0 ; unused, possibly related to a 2-day timer
engine_flag wStatusFlags, 0 ; pokedex engine_flag wStatusFlags, STATUSFLAGS_POKEDEX_F
engine_flag wStatusFlags, 1 ; unown dex engine_flag wStatusFlags, STATUSFLAGS_UNOWN_DEX_F
engine_flag wStatusFlags, 3 ; pokerus engine_flag wStatusFlags, STATUSFLAGS_CAUGHT_POKERUS_F
engine_flag wStatusFlags, 4 ; rocket signal on ch20 engine_flag wStatusFlags, STATUSFLAGS_ROCKET_SIGNAL_F
engine_flag wStatusFlags, 6 ; credits skip engine_flag wStatusFlags, STATUSFLAGS_HALL_OF_FAME_F
engine_flag wStatusFlags, 7 ; bug contest on ; $10 engine_flag wStatusFlags, STATUSFLAGS_MAIN_MENU_MOBILE_CHOICES_F
engine_flag wStatusFlags2, 2 ; bug contest timer
engine_flag wStatusFlags2, 1 ; safari zone?
engine_flag wStatusFlags2, 0 ; rockets in radio tower
engine_flag wStatusFlags2, 4 ; bike shop call enabled (1024 bike steps reqd)
engine_flag wStatusFlags2, 5 ; give pokerus
engine_flag wStatusFlags2, 6 ; berry -> berry juice when trading?
engine_flag wStatusFlags2, 7 ; rockets in mahogany
engine_flag wBikeFlags, 0 ; strength active ; $18 engine_flag wStatusFlags2, STATUSFLAGS2_BUG_CONTEST_TIMER_F
engine_flag wBikeFlags, 1 ; always on bike (cant surf) engine_flag wStatusFlags2, STATUSFLAGS2_SAFARI_GAME_F
engine_flag wBikeFlags, 2 ; downhill (cycling road) engine_flag wStatusFlags2, STATUSFLAGS2_ROCKETS_IN_RADIO_TOWER_F
engine_flag wStatusFlags2, STATUSFLAGS2_BIKE_SHOP_CALL_F
engine_flag wStatusFlags2, STATUSFLAGS2_UNUSED_5_F
engine_flag wStatusFlags2, STATUSFLAGS2_REACHED_GOLDENROD_F
engine_flag wStatusFlags2, STATUSFLAGS2_ROCKETS_IN_MAHOGANY_F
engine_flag wJohtoBadges, 0 ; zephyrbadge engine_flag wBikeFlags, BIKEFLAGS_STRENGTH_ACTIVE_F ; $18
engine_flag wJohtoBadges, 1 ; hivebadge engine_flag wBikeFlags, BIKEFLAGS_ALWAYS_ON_BIKE_F
engine_flag wJohtoBadges, 2 ; plainbadge engine_flag wBikeFlags, BIKEFLAGS_DOWNHILL_F
engine_flag wJohtoBadges, 3 ; fogbadge
engine_flag wJohtoBadges, 4 ; mineralbadge
engine_flag wJohtoBadges, 5 ; stormbadge ; $20
engine_flag wJohtoBadges, 6 ; glacierbadge
engine_flag wJohtoBadges, 7 ; risingbadge
engine_flag wKantoBadges, 0 ; boulderbadge engine_flag wJohtoBadges, ZEPHYRBADGE
engine_flag wKantoBadges, 1 ; cascadebadge engine_flag wJohtoBadges, HIVEBADGE
engine_flag wKantoBadges, 2 ; thunderbadge engine_flag wJohtoBadges, PLAINBADGE
engine_flag wKantoBadges, 3 ; rainbowbadge engine_flag wJohtoBadges, FOGBADGE
engine_flag wKantoBadges, 4 ; soulbadge engine_flag wJohtoBadges, MINERALBADGE
engine_flag wKantoBadges, 5 ; marshbadge ; $28 engine_flag wJohtoBadges, STORMBADGE ; $20
engine_flag wKantoBadges, 6 ; volcanobadge engine_flag wJohtoBadges, GLACIERBADGE
engine_flag wKantoBadges, 7 ; earthbadge engine_flag wJohtoBadges, RISINGBADGE
; unown sets engine_flag wKantoBadges, BOULDERBADGE
engine_flag wUnlockedUnowns, 0 ; 1 engine_flag wKantoBadges, CASCADEBADGE
engine_flag wUnlockedUnowns, 1 ; 2 engine_flag wKantoBadges, THUNDERBADGE
engine_flag wUnlockedUnowns, 2 ; 3 engine_flag wKantoBadges, RAINBOWBADGE
engine_flag wUnlockedUnowns, 3 ; 4 engine_flag wKantoBadges, SOULBADGE
engine_flag wUnlockedUnowns, 4 ; 5 engine_flag wKantoBadges, MARSHBADGE ; $28
engine_flag wUnlockedUnowns, 5 ; 6 ; $30 engine_flag wKantoBadges, VOLCANOBADGE
engine_flag wUnlockedUnowns, 6 ; 7 engine_flag wKantoBadges, EARTHBADGE
engine_flag wUnlockedUnowns, 7 ; 8
; unown sets (see data/wild/unlocked_unowns.asm)
engine_flag wUnlockedUnowns, 0 ; A-K
engine_flag wUnlockedUnowns, 1 ; L-R
engine_flag wUnlockedUnowns, 2 ; S-W
engine_flag wUnlockedUnowns, 3 ; X-Z
engine_flag wUnlockedUnowns, 4 ; unused
engine_flag wUnlockedUnowns, 5 ; unused ; $30
engine_flag wUnlockedUnowns, 6 ; unused
engine_flag wUnlockedUnowns, 7 ; unused
; fly ; fly
engine_flag wVisitedSpawns, 0 ; your house engine_flag wVisitedSpawns, SPAWN_HOME
engine_flag wVisitedSpawns, 1 ; viridian pokecenter engine_flag wVisitedSpawns, SPAWN_DEBUG
engine_flag wVisitedSpawns, 2 ; pallet engine_flag wVisitedSpawns, SPAWN_PALLET
engine_flag wVisitedSpawns, 3 ; viridian engine_flag wVisitedSpawns, SPAWN_VIRIDIAN
engine_flag wVisitedSpawns, 4 ; pewter engine_flag wVisitedSpawns, SPAWN_PEWTER
engine_flag wVisitedSpawns, 5 ; cerulean ; $38 engine_flag wVisitedSpawns, SPAWN_CERULEAN ; $38
engine_flag wVisitedSpawns, 6 ; rock tunnel engine_flag wVisitedSpawns, SPAWN_ROCK_TUNNEL
engine_flag wVisitedSpawns, 7 ; vermilion engine_flag wVisitedSpawns, SPAWN_VERMILION
engine_flag wVisitedSpawns + 1, 0 ; lavender engine_flag wVisitedSpawns, SPAWN_LAVENDER
engine_flag wVisitedSpawns + 1, 1 ; saffron engine_flag wVisitedSpawns, SPAWN_SAFFRON
engine_flag wVisitedSpawns + 1, 2 ; celadon engine_flag wVisitedSpawns, SPAWN_CELADON
engine_flag wVisitedSpawns + 1, 3 ; fuchsia engine_flag wVisitedSpawns, SPAWN_FUCHSIA
engine_flag wVisitedSpawns + 1, 4 ; cinnabar engine_flag wVisitedSpawns, SPAWN_CINNABAR
engine_flag wVisitedSpawns + 1, 5 ; indigo plateau ; $40 engine_flag wVisitedSpawns, SPAWN_INDIGO ; $40
engine_flag wVisitedSpawns + 1, 6 ; new bark engine_flag wVisitedSpawns, SPAWN_NEW_BARK
engine_flag wVisitedSpawns + 1, 7 ; cherrygrove engine_flag wVisitedSpawns, SPAWN_CHERRYGROVE
engine_flag wVisitedSpawns + 2, 0 ; violet engine_flag wVisitedSpawns, SPAWN_VIOLET
; union cave engine_flag wVisitedSpawns, SPAWN_AZALEA
engine_flag wVisitedSpawns + 2, 2 ; azalea engine_flag wVisitedSpawns, SPAWN_CIANWOOD
engine_flag wVisitedSpawns + 2, 3 ; cianwood engine_flag wVisitedSpawns, SPAWN_GOLDENROD
engine_flag wVisitedSpawns + 2, 4 ; goldenrod engine_flag wVisitedSpawns, SPAWN_OLIVINE
engine_flag wVisitedSpawns + 2, 5 ; olivine engine_flag wVisitedSpawns, SPAWN_ECRUTEAK ; $48
engine_flag wVisitedSpawns + 2, 6 ; ecruteak ; $48 engine_flag wVisitedSpawns, SPAWN_MAHOGANY
engine_flag wVisitedSpawns + 2, 7 ; mahogany engine_flag wVisitedSpawns, SPAWN_LAKE_OF_RAGE
engine_flag wVisitedSpawns + 3, 0 ; lake of rage engine_flag wVisitedSpawns, SPAWN_BLACKTHORN
engine_flag wVisitedSpawns + 3, 1 ; blackthorn engine_flag wVisitedSpawns, SPAWN_MT_SILVER
engine_flag wVisitedSpawns + 3, 2 ; silver cave engine_flag wVisitedSpawns, NUM_SPAWNS ; unused
; fast ship
engine_flag wVisitedSpawns + 3, 4 ; unused
engine_flag wLuckyNumberShowFlag, 0 ; lucky number show engine_flag wLuckyNumberShowFlag, LUCKYNUMBERSHOW_GAME_OVER_F
engine_flag wStatusFlags2, 3 ; ????
engine_flag wDailyFlags, 0 ; kurt making balls ; $50 engine_flag wStatusFlags2, STATUSFLAGS2_UNUSED_3_F
engine_flag wDailyFlags, 1 ; ????
engine_flag wDailyFlags, 2 ; special wilddata?
engine_flag wDailyFlags, 3 ; time capsule (24h wait)
engine_flag wDailyFlags, 4 ; all fruit trees
engine_flag wDailyFlags, 5 ; shuckle given
engine_flag wDailyFlags, 6 ; goldenrod underground merchant closed
engine_flag wDailyFlags, 7 ; fought in trainer hall today
engine_flag wWeeklyFlags, 0 ; mt moon square clefairy ; $58 engine_flag wDailyFlags, DAILYFLAGS_KURT_MAKING_BALLS_F ; $50
engine_flag wWeeklyFlags, 1 ; union cave lapras engine_flag wDailyFlags, DAILYFLAGS_BUG_CONTEST_F
engine_flag wWeeklyFlags, 2 ; goldenrod underground haircut used engine_flag wDailyFlags, DAILYFLAGS_FISH_SWARM_F
engine_flag wWeeklyFlags, 3 ; goldenrod mall happiness event floor05 object07 engine_flag wDailyFlags, DAILYFLAGS_TIME_CAPSULE_F
engine_flag wWeeklyFlags, 4 ; tea in blues house engine_flag wDailyFlags, DAILYFLAGS_ALL_FRUIT_TREES_F
engine_flag wWeeklyFlags, 5 ; indigo plateau rival fight engine_flag wDailyFlags, DAILYFLAGS_GOT_SHUCKIE_TODAY_F
engine_flag wWeeklyFlags, 6 ; move tutor engine_flag wDailyFlags, DAILYFLAGS_GOLDENROD_UNDERGROUND_BARGAIN_F
engine_flag wWeeklyFlags, 7 ; buenas password engine_flag wDailyFlags, DAILYFLAGS_TRAINER_HOUSE_F
engine_flag wSwarmFlags, 0 ; buenas password 2 engine_flag wWeeklyFlags, WEEKLYFLAGS_MT_MOON_SQUARE_CLEFAIRY_F ; $58
engine_flag wSwarmFlags, 1 ; goldenrod dept store sale is on engine_flag wWeeklyFlags, WEEKLYFLAGS_UNION_CAVE_LAPRAS_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_GOLDENROD_UNDERGROUND_GOT_HAIRCUT_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_GOLDENROD_DEPT_STORE_TM27_RETURN_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_DAISYS_GROOMING_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_INDIGO_PLATEAU_RIVAL_FIGHT_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_DAILY_MOVE_TUTOR_F
engine_flag wWeeklyFlags, WEEKLYFLAGS_BUENAS_PASSWORD_F
engine_flag wGameTimerPause, 7 ; $62 engine_flag wSwarmFlags, SWARMFLAGS_BUENAS_PASSWORD_F ; $60
engine_flag wSwarmFlags, SWARMFLAGS_GOLDENROD_DEPT_STORE_SALE_F
engine_flag wPlayerGender, 0 ; player is female engine_flag wGameTimerPause, GAMETIMERPAUSE_MOBILE_7_F
engine_flag wCelebiEvent, 2 ; have gs ball after kurt examined it engine_flag wPlayerGender, PLAYERGENDER_FEMALE_F
engine_flag wCelebiEvent, CELEBIEVENT_FOREST_IS_RESTLESS_F
; rematches ; rematches
engine_flag wDailyRematchFlags, 0 ; jack engine_flag wDailyRematchFlags, 0 ; jack
engine_flag wDailyRematchFlags, 1 ; huey engine_flag wDailyRematchFlags, 1 ; huey
engine_flag wDailyRematchFlags, 2 ; gaven engine_flag wDailyRematchFlags, 2 ; gaven
engine_flag wDailyRematchFlags, 3 ; beth ; $68 engine_flag wDailyRematchFlags, 3 ; beth ; $68
engine_flag wDailyRematchFlags, 4 ; jose engine_flag wDailyRematchFlags, 4 ; jose
engine_flag wDailyRematchFlags, 5 ; reena engine_flag wDailyRematchFlags, 5 ; reena
engine_flag wDailyRematchFlags, 6 ; joey engine_flag wDailyRematchFlags, 6 ; joey
engine_flag wDailyRematchFlags, 7 ; wade engine_flag wDailyRematchFlags, 7 ; wade
engine_flag wDailyRematchFlags + 1, 0 ; ralph engine_flag wDailyRematchFlags, 8 ; ralph
engine_flag wDailyRematchFlags + 1, 1 ; liz engine_flag wDailyRematchFlags, 9 ; liz
engine_flag wDailyRematchFlags + 1, 2 ; anthony engine_flag wDailyRematchFlags, 10 ; anthony
engine_flag wDailyRematchFlags + 1, 3 ; todd ; $70 engine_flag wDailyRematchFlags, 11 ; todd ; $70
engine_flag wDailyRematchFlags + 1, 4 ; gina engine_flag wDailyRematchFlags, 12 ; gina
engine_flag wDailyRematchFlags + 1, 5 ; arnie engine_flag wDailyRematchFlags, 13 ; arnie
engine_flag wDailyRematchFlags + 1, 6 ; alan engine_flag wDailyRematchFlags, 14 ; alan
engine_flag wDailyRematchFlags + 1, 7 ; dana engine_flag wDailyRematchFlags, 15 ; dana
engine_flag wDailyRematchFlags + 2, 0 ; chad engine_flag wDailyRematchFlags, 16 ; chad
engine_flag wDailyRematchFlags + 2, 1 ; tully engine_flag wDailyRematchFlags, 17 ; tully
engine_flag wDailyRematchFlags + 2, 2 ; brent engine_flag wDailyRematchFlags, 18 ; brent
engine_flag wDailyRematchFlags + 2, 3 ; tiffany ; $78 engine_flag wDailyRematchFlags, 19 ; tiffany ; $78
engine_flag wDailyRematchFlags + 2, 4 ; vance engine_flag wDailyRematchFlags, 20 ; vance
engine_flag wDailyRematchFlags + 2, 5 ; wilton engine_flag wDailyRematchFlags, 21 ; wilton
engine_flag wDailyRematchFlags + 2, 6 ; parry engine_flag wDailyRematchFlags, 22 ; parry
engine_flag wDailyRematchFlags + 2, 7 ; erin engine_flag wDailyRematchFlags, 23 ; erin
engine_flag wDailyPhoneItemFlags, 0 ; beverly has nugget engine_flag wDailyPhoneItemFlags, 0 ; beverly has nugget
engine_flag wDailyPhoneItemFlags, 1 ; jose has star piece engine_flag wDailyPhoneItemFlags, 1 ; jose has star piece
engine_flag wDailyPhoneItemFlags, 2 ; wade has item (see EVENT_WADE_HAS_*** in constants/event_flags.asm) engine_flag wDailyPhoneItemFlags, 2 ; wade has item (see EVENT_WADE_HAS_*** in constants/event_flags.asm)
engine_flag wDailyPhoneItemFlags, 3 ; gina has leaf stone ; $80 engine_flag wDailyPhoneItemFlags, 3 ; gina has leaf stone ; $80
engine_flag wDailyPhoneItemFlags, 4 ; alan has fire stone engine_flag wDailyPhoneItemFlags, 4 ; alan has fire stone
engine_flag wDailyPhoneItemFlags, 5 ; liz has thunderstone engine_flag wDailyPhoneItemFlags, 5 ; liz has thunderstone
engine_flag wDailyPhoneItemFlags, 6 ; derek has nugget engine_flag wDailyPhoneItemFlags, 6 ; derek has nugget
engine_flag wDailyPhoneItemFlags, 7 ; tully has water stone engine_flag wDailyPhoneItemFlags, 7 ; tully has water stone
engine_flag wDailyPhoneItemFlags, 8 ; tiffany has pink bow
engine_flag wDailyPhoneItemFlags, 9 ; wilton has item (see EVENT_WILTON_HAS_*** in constants/event_flags.asm)
engine_flag wDailyPhoneItemFlags + 1, 0 ; tiffany has pink bow engine_flag wDailyPhoneTimeOfDayFlags, 0 ; jack
engine_flag wDailyPhoneItemFlags + 1, 1 ; wilton has item (see EVENT_WILTON_HAS_*** in constants/event_flags.asm) engine_flag wDailyPhoneTimeOfDayFlags, 1 ; huey ; $88
engine_flag wDailyPhoneTimeOfDayFlags, 2 ; gaven
engine_flag wDailyPhoneTimeOfDayFlags, 3 ; beth
engine_flag wDailyPhoneTimeOfDayFlags, 4 ; jose
engine_flag wDailyPhoneTimeOfDayFlags, 5 ; reena
engine_flag wDailyPhoneTimeOfDayFlags, 6 ; joey
engine_flag wDailyPhoneTimeOfDayFlags, 7 ; wade
engine_flag wDailyPhoneTimeOfDayFlags, 8 ; ralph
engine_flag wDailyPhoneTimeOfDayFlags, 9 ; liz ; $90
engine_flag wDailyPhoneTimeOfDayFlags, 10 ; anthony
engine_flag wDailyPhoneTimeOfDayFlags, 11 ; todd
engine_flag wDailyPhoneTimeOfDayFlags, 12 ; gina
engine_flag wDailyPhoneTimeOfDayFlags, 13 ; arnie
engine_flag wDailyPhoneTimeOfDayFlags, 14 ; alan
engine_flag wDailyPhoneTimeOfDayFlags, 15 ; dana
engine_flag wDailyPhoneTimeOfDayFlags, 16 ; chad
engine_flag wDailyPhoneTimeOfDayFlags, 17 ; tully ; $98
engine_flag wDailyPhoneTimeOfDayFlags, 18 ; brent
engine_flag wDailyPhoneTimeOfDayFlags, 19 ; tiffany
engine_flag wDailyPhoneTimeOfDayFlags, 20 ; vance
engine_flag wDailyPhoneTimeOfDayFlags, 21 ; wilton
engine_flag wDailyPhoneTimeOfDayFlags, 22 ; parry
engine_flag wDailyPhoneTimeOfDayFlags, 23 ; erin
engine_flag wDailyPhoneTimeOfDayFlags, 0 engine_flag wPlayerSpriteSetupFlags, PLAYERSPRITESETUP_FEMALE_TO_MALE_F
engine_flag wDailyPhoneTimeOfDayFlags, 1 ; $88
engine_flag wDailyPhoneTimeOfDayFlags, 2
engine_flag wDailyPhoneTimeOfDayFlags, 3
engine_flag wDailyPhoneTimeOfDayFlags, 4
engine_flag wDailyPhoneTimeOfDayFlags, 5
engine_flag wDailyPhoneTimeOfDayFlags, 6
engine_flag wDailyPhoneTimeOfDayFlags, 7
engine_flag wDailyPhoneTimeOfDayFlags + 1, 0 engine_flag wSwarmFlags, SWARMFLAGS_DUNSPARCE_SWARM_F ; $a0
engine_flag wDailyPhoneTimeOfDayFlags + 1, 1 ; $90 engine_flag wSwarmFlags, SWARMFLAGS_YANMA_SWARM_F
engine_flag wDailyPhoneTimeOfDayFlags + 1, 2
engine_flag wDailyPhoneTimeOfDayFlags + 1, 3
engine_flag wDailyPhoneTimeOfDayFlags + 1, 4
engine_flag wDailyPhoneTimeOfDayFlags + 1, 5
engine_flag wDailyPhoneTimeOfDayFlags + 1, 6
engine_flag wDailyPhoneTimeOfDayFlags + 1, 7
engine_flag wDailyPhoneTimeOfDayFlags + 2, 0
engine_flag wDailyPhoneTimeOfDayFlags + 2, 1 ; $98
engine_flag wDailyPhoneTimeOfDayFlags + 2, 2
engine_flag wDailyPhoneTimeOfDayFlags + 2, 3
engine_flag wDailyPhoneTimeOfDayFlags + 2, 4
engine_flag wDailyPhoneTimeOfDayFlags + 2, 5
engine_flag wDailyPhoneTimeOfDayFlags + 2, 6
engine_flag wDailyPhoneTimeOfDayFlags + 2, 7
engine_flag wPlayerSpriteSetupFlags, 2 ; female player has been transformed into male
engine_flag wSwarmFlags, 2 ; dunsparce swarm ; $a0
engine_flag wSwarmFlags, 3 ; yanma swarm
; 80648 ; 80648

View File

@ -0,0 +1,12 @@
HappinessData_YoungerHaircutBrother: ; 7459
db $4c, 2, HAPPINESS_YOUNGCUT1 ; 30% chance
db $80, 3, HAPPINESS_YOUNGCUT2 ; 20% chance
db $ff, 4, HAPPINESS_YOUNGCUT3 ; 50% chance
HappinessData_OlderHaircutBrother: ; 7462
db $9a, 2, HAPPINESS_OLDERCUT1 ; 60% chance
db $4c, 3, HAPPINESS_OLDERCUT2 ; 10% chance
db $ff, 4, HAPPINESS_OLDERCUT3 ; 30% chance
HappinessData_DaisysGrooming: ; 746b
db $ff, 2, HAPPINESS_GROOMING ; 99.6% chance

View File

@ -0,0 +1,21 @@
MagikarpLengths: ; fbca8
; [wMagikarpLength] = z * 100 + (bc - x) / y
; First argument is the bc threshold as well as x.
; Second argument is y.
; In reality, due to the bug at .BCLessThanDE,
; the threshold is determined by only register b.
dwb 110, 1 ; not used unless the bug is fixed
dwb 310, 2
dwb 710, 4
dwb 2710, 20
dwb 7710, 50
dwb 17710, 100
dwb 32710, 150
dwb 47710, 150
dwb 57710, 100
dwb 62710, 50
dwb 64710, 20
dwb 65210, 5
dwb 65410, 2
dwb 65510, 1 ; not used
; fbcd2

View File

@ -0,0 +1,18 @@
npctrade: MACRO
; dialog set, requested mon, offered mon, nickname, dvs, item, OT ID, OT name, gender requested
db \1, \2, \3, \4, \5, \6, \7
shift
dw \7
db \8, \9, 0
ENDM
NPCTrades: ; fce58
; entries correspond to NPCTRADE_* constants
npctrade TRADE_DIALOGSET_COLLECTOR, ABRA, MACHOP, "MUSCLE@@@@@", $37, $66, GOLD_BERRY, 37460, "MIKE@@@@@@@", TRADE_GENDER_EITHER
npctrade TRADE_DIALOGSET_COLLECTOR, BELLSPROUT, ONIX, "ROCKY@@@@@@", $96, $66, BITTER_BERRY, 48926, "KYLE@@@@@@@", TRADE_GENDER_EITHER
npctrade TRADE_DIALOGSET_HAPPY, KRABBY, VOLTORB, "VOLTY@@@@@@", $98, $88, PRZCUREBERRY, 29189, "TIM@@@@@@@@", TRADE_GENDER_EITHER
npctrade TRADE_DIALOGSET_GIRL, DRAGONAIR, DODRIO, "DORIS@@@@@@", $77, $66, SMOKE_BALL, 00283, "EMY@@@@@@@@", TRADE_GENDER_FEMALE
npctrade TRADE_DIALOGSET_NEWBIE, HAUNTER, XATU, "PAUL@@@@@@@", $96, $86, MYSTERYBERRY, 15616, "CHRIS@@@@@@", TRADE_GENDER_EITHER
npctrade TRADE_DIALOGSET_GIRL, CHANSEY, AERODACTYL, "AEROY@@@@@@", $96, $66, GOLD_BERRY, 26491, "KIM@@@@@@@@", TRADE_GENDER_EITHER
npctrade TRADE_DIALOGSET_COLLECTOR, DUGTRIO, MAGNETON, "MAGGIE@@@@@", $96, $66, METAL_COAT, 50082, "FOREST@@@@@", TRADE_GENDER_EITHER
; fcf38

View File

@ -0,0 +1,29 @@
rating: MACRO
; count, sfx, text
dbww \1, \2, \3
ENDM
OakRatings: ; 0x2667f
; if you caught at most this many, play this sound, load this text
; (text is defined in engine/events/prof_oaks_pc.asm)
rating 9, SFX_DEX_FANFARE_LESS_THAN_20, OakRating01
rating 19, SFX_DEX_FANFARE_LESS_THAN_20, OakRating02
rating 34, SFX_DEX_FANFARE_20_49, OakRating03
rating 49, SFX_DEX_FANFARE_20_49, OakRating04
rating 64, SFX_DEX_FANFARE_50_79, OakRating05
rating 79, SFX_DEX_FANFARE_50_79, OakRating06
rating 94, SFX_DEX_FANFARE_80_109, OakRating07
rating 109, SFX_DEX_FANFARE_80_109, OakRating08
rating 124, SFX_CAUGHT_MON, OakRating09
rating 139, SFX_CAUGHT_MON, OakRating10
rating 154, SFX_DEX_FANFARE_140_169, OakRating11
rating 169, SFX_DEX_FANFARE_140_169, OakRating12
rating 184, SFX_DEX_FANFARE_170_199, OakRating13
rating 199, SFX_DEX_FANFARE_170_199, OakRating14
rating 214, SFX_DEX_FANFARE_200_229, OakRating15
rating 229, SFX_DEX_FANFARE_200_229, OakRating16
rating 239, SFX_DEX_FANFARE_230_PLUS, OakRating17
rating 248, SFX_DEX_FANFARE_230_PLUS, OakRating18
rating 255, SFX_DEX_FANFARE_230_PLUS, OakRating19
; 0x266de

View File

@ -38,7 +38,7 @@ UnownWalls: ; 8aebc
unownwall "H", "O", "-", "O", "H" unownwall "H", "O", "-", "O", "H"
; 8aed5 ; 8aed5
MenuDataHeaders_UnownWalls: ; 0x8aed5 MenuHeaders_UnownWalls: ; 0x8aed5
; UNOWNWORDS_ESCAPE ; UNOWNWORDS_ESCAPE
db MENU_BACKUP_TILES ; flags db MENU_BACKUP_TILES ; flags
menu_coords 3, 4, 16, 9 menu_coords 3, 4, 16, 9

View File

@ -10,7 +10,7 @@ growth_rate: MACRO
ENDM ENDM
GrowthRates: ; 50efa GrowthRates: ; 50efa
; entries correspond to base growth rate constants (see constants/pokemon_data_constants.asm) ; entries correspond to GROWTH_* (see constants/pokemon_data_constants.asm)
growth_rate 1, 1, 0, 0, 0 ; Medium Fast growth_rate 1, 1, 0, 0, 0 ; Medium Fast
growth_rate 3, 4, 10, 0, 30 ; Slightly Fast growth_rate 3, 4, 10, 0, 30 ; Slightly Fast
growth_rate 3, 4, 20, 0, 70 ; Slightly Slow growth_rate 3, 4, 20, 0, 70 ; Slightly Slow

View File

@ -6,7 +6,7 @@ item_attribute: MACRO
ENDM ENDM
ItemAttributes: ; 67c1 ItemAttributes: ; 67c1
; entries correspond to constants/item_constants.asm ; entries correspond to item ids
; MASTER_BALL ; MASTER_BALL
item_attribute 0, 0, 0, CANT_SELECT, BALL, ITEMMENU_NOUSE, ITEMMENU_CLOSE item_attribute 0, 0, 0, CANT_SELECT, BALL, ITEMMENU_NOUSE, ITEMMENU_CLOSE
; ULTRA_BALL ; ULTRA_BALL

View File

@ -9,5 +9,5 @@ BuenaPrizeItems: ; 8b15e
db CARBOS, 5 db CARBOS, 5
db CALCIUM, 5 db CALCIUM, 5
db HP_UP, 5 db HP_UP, 5
BuenaPrizeItemsEnd: .End
; 8b170 ; 8b170

View File

@ -1,4 +1,5 @@
ItemDescriptions: ItemDescriptions:
; entries correspond to item ids
dw MasterBallDesc dw MasterBallDesc
dw UltraBallDesc dw UltraBallDesc
dw BrightpowderDesc dw BrightpowderDesc

View File

@ -1,3 +1,5 @@
; See also data/battle/held_heal_status.asm
StatusHealingActions: ; f071 StatusHealingActions: ; f071
; item, party menu action text, status ; item, party menu action text, status
db ANTIDOTE, PARTYMENUTEXT_HEAL_PSN, 1 << PSN db ANTIDOTE, PARTYMENUTEXT_HEAL_PSN, 1 << PSN

View File

@ -34,7 +34,7 @@ Marts: ; 160a9
dw MartMtMoon dw MartMtMoon
dw MartIndigoPlateau dw MartIndigoPlateau
dw MartUnderground dw MartUnderground
MartsEnd .End
; 160ed ; 160ed

View File

@ -11,7 +11,7 @@ MomItems_1: ; fd136
momitem 0, 180, MOM_ITEM, POKE_BALL momitem 0, 180, MOM_ITEM, POKE_BALL
momitem 0, 450, MOM_ITEM, ESCAPE_ROPE momitem 0, 450, MOM_ITEM, ESCAPE_ROPE
momitem 0, 500, MOM_ITEM, GREAT_BALL momitem 0, 500, MOM_ITEM, GREAT_BALL
MomItems_1End: ; fd15e .End ; fd15e
MomItems_2: ; fd15e MomItems_2: ; fd15e
momitem 900, 600, MOM_ITEM, SUPER_POTION momitem 900, 600, MOM_ITEM, SUPER_POTION
@ -24,4 +24,4 @@ MomItems_2: ; fd15e
momitem 40000, 900, MOM_ITEM, HYPER_POTION momitem 40000, 900, MOM_ITEM, HYPER_POTION
momitem 50000, 8000, MOM_DOLL, DECO_PIKACHU_DOLL momitem 50000, 8000, MOM_DOLL, DECO_PIKACHU_DOLL
momitem 100000, 22800, MOM_DOLL, DECO_BIG_SNORLAX_DOLL momitem 100000, 22800, MOM_DOLL, DECO_BIG_SNORLAX_DOLL
MomItems_2End: ; fd1ae .End ; fd1ae

View File

@ -36,5 +36,5 @@ MysteryGiftItems: ; 2c725
db RARE_CANDY db RARE_CANDY
db BLUESKY_MAIL db BLUESKY_MAIL
db MIRAGE_MAIL db MIRAGE_MAIL
MysteryGiftItemsEnd: .End
; 2c74a ; 2c74a

View File

@ -0,0 +1,11 @@
ItemPocketNames:
; entries correspond to item type constants
dw .Item
dw .Key
dw .Ball
dw .TM
.Item: db "ITEM POCKET@"
.Key: db "KEY POCKET@"
.Ball: db "BALL POCKET@"
.TM: db "TM POCKET@"

View File

@ -1,4 +1,4 @@
RooftopSaleData1: ; 15aee RooftopSaleMart1: ; 15aee
db 5 db 5
dbw POKE_BALL, 150 dbw POKE_BALL, 150
dbw GREAT_BALL, 500 dbw GREAT_BALL, 500
@ -7,7 +7,7 @@ RooftopSaleData1: ; 15aee
dbw REVIVE, 1200 dbw REVIVE, 1200
db -1 db -1
RooftopSaleData2: ; 15aff RooftopSaleMart2: ; 15aff
db 5 db 5
dbw HYPER_POTION, 1000 dbw HYPER_POTION, 1000
dbw FULL_RESTORE, 2000 dbw FULL_RESTORE, 2000

663
data/maps/attributes.asm Normal file
View File

@ -0,0 +1,663 @@
map_attributes: MACRO
;\1: map name
;\2: map id
;\3: border block
;\4: connections: combo of NORTH, SOUTH, WEST, and/or EAST, or 0 for none
CURRENT_MAP_WIDTH = \2_WIDTH
CURRENT_MAP_HEIGHT = \2_HEIGHT
\1_MapAttributes::
db \3
db CURRENT_MAP_HEIGHT, CURRENT_MAP_WIDTH
db BANK(\1_Blocks)
dw \1_Blocks
db BANK(\1_MapScripts) ; BANK(\1_MapEvents)
dw \1_MapScripts
dw \1_MapEvents
db \4
ENDM
connection: MACRO
;\1: direction
;\2: map name
;\3: map id
;\4: x offset for east/west, y offset for north/south
;\5: distance offset?
;\6: strip length
if "\1" == "north"
map_id \3
dw \2_Blocks + \3_WIDTH * (\3_HEIGHT - 3) + \5
dw wOverworldMap + \4 + 3
db \6
db \3_WIDTH
db \3_HEIGHT * 2 - 1
db (\4 - \5) * -2
dw wOverworldMap + \3_HEIGHT * (\3_WIDTH + 6) + 1
elif "\1" == "south"
map_id \3
dw \2_Blocks + \5
dw wOverworldMap + (CURRENT_MAP_HEIGHT + 3) * (CURRENT_MAP_WIDTH + 6) + \4 + 3
db \6
db \3_WIDTH
db 0
db (\4 - \5) * -2
dw wOverworldMap + \3_WIDTH + 7
elif "\1" == "west"
map_id \3
dw \2_Blocks + (\3_WIDTH * \5) + \3_WIDTH - 3
dw wOverworldMap + (CURRENT_MAP_WIDTH + 6) * (\4 + 3)
db \6
db \3_WIDTH
db (\4 - \5) * -2
db \3_WIDTH * 2 - 1
dw wOverworldMap + \3_WIDTH * 2 + 6
elif "\1" == "east"
map_id \3
dw \2_Blocks + (\3_WIDTH * \5)
dw wOverworldMap + (CURRENT_MAP_WIDTH + 6) * (\4 + 3 + 1) - 3
db \6
db \3_WIDTH
db (\4 - \5) * -2
db 0
dw wOverworldMap + \3_WIDTH + 7
endc
ENDM
map_attributes NewBarkTown, NEW_BARK_TOWN, $05, WEST | EAST
connection west, Route29, ROUTE_29, 0, 0, 9
connection east, Route27, ROUTE_27, 0, 0, 9
map_attributes CherrygroveCity, CHERRYGROVE_CITY, $35, NORTH | EAST
connection north, Route30, ROUTE_30, 5, 0, 10
connection east, Route29, ROUTE_29, 0, 0, 9
map_attributes VioletCity, VIOLET_CITY, $05, SOUTH | WEST | EAST
connection south, Route32, ROUTE_32, 0, 0, 10
connection west, Route36, ROUTE_36, 0, 0, 9
connection east, Route31, ROUTE_31, 9, 0, 9
map_attributes AzaleaTown, AZALEA_TOWN, $05, WEST | EAST
connection west, Route34, ROUTE_34, -3, 15, 12
connection east, Route33, ROUTE_33, 0, 0, 9
map_attributes CianwoodCity, CIANWOOD_CITY, $35, EAST
connection east, Route41, ROUTE_41, 0, 0, 27
map_attributes GoldenrodCity, GOLDENROD_CITY, $35, NORTH | SOUTH
connection north, Route35, ROUTE_35, 5, 0, 10
connection south, Route34, ROUTE_34, 5, 0, 10
map_attributes OlivineCity, OLIVINE_CITY, $35, NORTH | WEST
connection north, Route39, ROUTE_39, 5, 0, 10
connection west, Route40, ROUTE_40, 9, 0, 12
map_attributes EcruteakCity, ECRUTEAK_CITY, $05, SOUTH | WEST | EAST
connection south, Route37, ROUTE_37, 5, 0, 10
connection west, Route38, ROUTE_38, 5, 0, 9
connection east, Route42, ROUTE_42, 9, 0, 9
map_attributes MahoganyTown, MAHOGANY_TOWN, $71, NORTH | WEST | EAST
connection north, Route43, ROUTE_43, 0, 0, 10
connection west, Route42, ROUTE_42, 0, 0, 9
connection east, Route44, ROUTE_44, 0, 0, 9
map_attributes LakeOfRage, LAKE_OF_RAGE, $05, SOUTH
connection south, Route43, ROUTE_43, 5, 0, 10
map_attributes BlackthornCity, BLACKTHORN_CITY, $71, SOUTH | WEST
connection south, Route45, ROUTE_45, 0, 0, 10
connection west, Route44, ROUTE_44, 9, 0, 9
map_attributes SilverCaveOutside, SILVER_CAVE_OUTSIDE, $2c, EAST
connection east, Route28, ROUTE_28, 9, 0, 9
map_attributes Route26, ROUTE_26, $05, WEST
connection west, Route27, ROUTE_27, 45, 0, 9
map_attributes Route27, ROUTE_27, $35, WEST | EAST
connection west, NewBarkTown, NEW_BARK_TOWN, 0, 0, 9
connection east, Route26, ROUTE_26, -3, 42, 12
map_attributes Route28, ROUTE_28, $2c, WEST
connection west, SilverCaveOutside, SILVER_CAVE_OUTSIDE, -3, 6, 12
map_attributes Route29, ROUTE_29, $05, NORTH | WEST | EAST
connection north, Route46, ROUTE_46, 10, 0, 10
connection west, CherrygroveCity, CHERRYGROVE_CITY, 0, 0, 9
connection east, NewBarkTown, NEW_BARK_TOWN, 0, 0, 9
map_attributes Route30, ROUTE_30, $05, NORTH | SOUTH
connection north, Route31, ROUTE_31, -3, 7, 13
connection south, CherrygroveCity, CHERRYGROVE_CITY, -3, 2, 16
map_attributes Route31, ROUTE_31, $05, SOUTH | WEST
connection south, Route30, ROUTE_30, 10, 0, 10
connection west, VioletCity, VIOLET_CITY, -3, 6, 12
map_attributes Route32, ROUTE_32, $05, NORTH | SOUTH
connection north, VioletCity, VIOLET_CITY, 0, 0, 13
connection south, Route33, ROUTE_33, 0, 0, 10
map_attributes Route33, ROUTE_33, $05, NORTH | WEST
connection north, Route32, ROUTE_32, 0, 0, 10
connection west, AzaleaTown, AZALEA_TOWN, 0, 0, 9
map_attributes Route34, ROUTE_34, $05, NORTH | EAST
connection north, GoldenrodCity, GOLDENROD_CITY, -3, 2, 16
connection east, AzaleaTown, AZALEA_TOWN, 18, 0, 9
map_attributes Route35, ROUTE_35, $05, NORTH | SOUTH
connection north, Route36, ROUTE_36, 0, 0, 13
connection south, GoldenrodCity, GOLDENROD_CITY, -3, 2, 16
map_attributes Route36, ROUTE_36, $05, NORTH | SOUTH | EAST
connection north, Route37, ROUTE_37, 10, 0, 10
connection south, Route35, ROUTE_35, 0, 0, 10
connection east, VioletCity, VIOLET_CITY, 0, 0, 12
map_attributes Route37, ROUTE_37, $05, NORTH | SOUTH
connection north, EcruteakCity, ECRUTEAK_CITY, -3, 2, 16
connection south, Route36, ROUTE_36, -3, 7, 16
map_attributes Route38, ROUTE_38, $05, WEST | EAST
connection west, Route39, ROUTE_39, 0, 0, 12
connection east, EcruteakCity, ECRUTEAK_CITY, -3, 2, 15
map_attributes Route39, ROUTE_39, $05, SOUTH | EAST
connection south, OlivineCity, OLIVINE_CITY, -3, 2, 16
connection east, Route38, ROUTE_38, 0, 0, 9
map_attributes Route40, ROUTE_40, $35, SOUTH | EAST
connection south, Route41, ROUTE_41, -3, 12, 13
connection east, OlivineCity, OLIVINE_CITY, -3, 6, 12
map_attributes Route41, ROUTE_41, $35, NORTH | WEST
connection north, Route40, ROUTE_40, 15, 0, 10
connection west, CianwoodCity, CIANWOOD_CITY, 0, 0, 27
map_attributes Route42, ROUTE_42, $05, WEST | EAST
connection west, EcruteakCity, ECRUTEAK_CITY, -3, 6, 12
connection east, MahoganyTown, MAHOGANY_TOWN, 0, 0, 9
map_attributes Route43, ROUTE_43, $05, NORTH | SOUTH
connection north, LakeOfRage, LAKE_OF_RAGE, -3, 2, 16
connection south, MahoganyTown, MAHOGANY_TOWN, 0, 0, 10
map_attributes Route44, ROUTE_44, $71, WEST | EAST
connection west, MahoganyTown, MAHOGANY_TOWN, 0, 0, 9
connection east, BlackthornCity, BLACKTHORN_CITY, -3, 6, 12
map_attributes Route45, ROUTE_45, $71, NORTH | WEST
connection north, BlackthornCity, BLACKTHORN_CITY, 0, 0, 13
connection west, Route46, ROUTE_46, 36, 0, 12
map_attributes Route46, ROUTE_46, $05, SOUTH | EAST
connection south, Route29, ROUTE_29, -3, 7, 16
connection east, Route45, ROUTE_45, -3, 33, 12
map_attributes PewterCity, PEWTER_CITY, $0f, SOUTH | EAST
connection south, Route2, ROUTE_2, 5, 0, 10
connection east, Route3, ROUTE_3, 5, 0, 9
map_attributes Route2, ROUTE_2, $0f, NORTH | SOUTH
connection north, PewterCity, PEWTER_CITY, -3, 2, 16
connection south, ViridianCity, VIRIDIAN_CITY, -3, 2, 16
map_attributes ViridianCity, VIRIDIAN_CITY, $0f, NORTH | SOUTH | WEST
connection north, Route2, ROUTE_2, 5, 0, 10
connection south, Route1, ROUTE_1, 10, 0, 10
connection west, Route22, ROUTE_22, 4, 0, 9
map_attributes Route22, ROUTE_22, $2c, EAST
connection east, ViridianCity, VIRIDIAN_CITY, -3, 1, 15
map_attributes Route1, ROUTE_1, $0f, NORTH | SOUTH
connection north, ViridianCity, VIRIDIAN_CITY, -3, 7, 13
connection south, PalletTown, PALLET_TOWN, 0, 0, 10
map_attributes PalletTown, PALLET_TOWN, $0f, NORTH | SOUTH
connection north, Route1, ROUTE_1, 0, 0, 10
connection south, Route21, ROUTE_21, 0, 0, 10
map_attributes Route21, ROUTE_21, $43, NORTH | SOUTH
connection north, PalletTown, PALLET_TOWN, 0, 0, 10
connection south, CinnabarIsland, CINNABAR_ISLAND, 0, 0, 10
map_attributes CinnabarIsland, CINNABAR_ISLAND, $43, NORTH | EAST
connection north, Route21, ROUTE_21, 0, 0, 10
connection east, Route20, ROUTE_20, 0, 0, 9
map_attributes Route20, ROUTE_20, $43, WEST | EAST
connection west, CinnabarIsland, CINNABAR_ISLAND, 0, 0, 9
connection east, Route19, ROUTE_19, -3, 6, 12
map_attributes Route19, ROUTE_19, $43, NORTH | WEST
connection north, FuchsiaCity, FUCHSIA_CITY, 0, 0, 13
connection west, Route20, ROUTE_20, 9, 0, 9
map_attributes FuchsiaCity, FUCHSIA_CITY, $0f, SOUTH | WEST | EAST
connection south, Route19, ROUTE_19, 0, 0, 10
connection west, Route18, ROUTE_18, 7, 0, 9
connection east, Route15, ROUTE_15, 9, 0, 9
map_attributes Route18, ROUTE_18, $43, WEST | EAST
connection west, Route17, ROUTE_17, -3, 35, 10
connection east, FuchsiaCity, FUCHSIA_CITY, -3, 4, 14
map_attributes Route17, ROUTE_17, $43, NORTH | EAST
connection north, Route16, ROUTE_16, 0, 0, 10
connection east, Route18, ROUTE_18, 38, 0, 9
map_attributes Route16, ROUTE_16, $0f, SOUTH | EAST
connection south, Route17, ROUTE_17, 0, 0, 10
connection east, CeladonCity, CELADON_CITY, -3, 6, 12
map_attributes CeladonCity, CELADON_CITY, $0f, WEST | EAST
connection west, Route16, ROUTE_16, 9, 0, 9
connection east, Route7, ROUTE_7, 5, 0, 9
map_attributes Route7, ROUTE_7, $0f, WEST | EAST
connection west, CeladonCity, CELADON_CITY, -3, 2, 15
connection east, SaffronCity, SAFFRON_CITY, -3, 6, 12
map_attributes Route15, ROUTE_15, $0f, WEST | EAST
connection west, FuchsiaCity, FUCHSIA_CITY, -3, 6, 12
connection east, Route14, ROUTE_14, -3, 6, 12
map_attributes Route14, ROUTE_14, $43, NORTH | WEST
connection north, Route13, ROUTE_13, 0, 0, 13
connection west, Route15, ROUTE_15, 9, 0, 9
map_attributes Route13, ROUTE_13, $43, NORTH | SOUTH
connection north, Route12, ROUTE_12, 20, 0, 10
connection south, Route14, ROUTE_14, 0, 0, 10
map_attributes Route12, ROUTE_12, $43, NORTH | SOUTH | WEST
connection north, LavenderTown, LAVENDER_TOWN, 0, 0, 10
connection south, Route13, ROUTE_13, -3, 17, 13
connection west, Route11, ROUTE_11, 9, 0, 9
map_attributes Route11, ROUTE_11, $0f, WEST | EAST
connection west, VermilionCity, VERMILION_CITY, 0, 0, 12
connection east, Route12, ROUTE_12, -3, 6, 15
map_attributes LavenderTown, LAVENDER_TOWN, $2c, NORTH | SOUTH | WEST
connection north, Route10South, ROUTE_10_SOUTH, 0, 0, 10
connection south, Route12, ROUTE_12, 0, 0, 10
connection west, Route8, ROUTE_8, 0, 0, 9
map_attributes VermilionCity, VERMILION_CITY, $43, NORTH | EAST
connection north, Route6, ROUTE_6, 5, 0, 10
connection east, Route11, ROUTE_11, 0, 0, 9
map_attributes Route6, ROUTE_6, $0f, NORTH | SOUTH
connection north, SaffronCity, SAFFRON_CITY, -3, 2, 16
connection south, VermilionCity, VERMILION_CITY, -3, 2, 16
map_attributes SaffronCity, SAFFRON_CITY, $0f, NORTH | SOUTH | WEST | EAST
connection north, Route5, ROUTE_5, 5, 0, 10
connection south, Route6, ROUTE_6, 5, 0, 10
connection west, Route7, ROUTE_7, 9, 0, 9
connection east, Route8, ROUTE_8, 9, 0, 9
map_attributes Route5, ROUTE_5, $0f, NORTH | SOUTH
connection north, CeruleanCity, CERULEAN_CITY, -3, 2, 16
connection south, SaffronCity, SAFFRON_CITY, -3, 2, 16
map_attributes CeruleanCity, CERULEAN_CITY, $0f, NORTH | SOUTH | WEST | EAST
connection north, Route24, ROUTE_24, 6, 0, 10
connection south, Route5, ROUTE_5, 5, 0, 10
connection west, Route4, ROUTE_4, 5, 0, 9
connection east, Route9, ROUTE_9, 9, 0, 9
map_attributes Route9, ROUTE_9, $2c, SOUTH | WEST
connection south, Route10North, ROUTE_10_NORTH, 20, 0, 10
connection west, CeruleanCity, CERULEAN_CITY, -3, 6, 12
map_attributes Route24, ROUTE_24, $2c, NORTH | SOUTH
connection north, Route25, ROUTE_25, 0, 0, 13
connection south, CeruleanCity, CERULEAN_CITY, -3, 3, 16
map_attributes Route25, ROUTE_25, $2c, SOUTH
connection south, Route24, ROUTE_24, 0, 0, 10
map_attributes Route3, ROUTE_3, $2c, WEST | EAST
connection west, PewterCity, PEWTER_CITY, -3, 2, 15
connection east, Route4, ROUTE_4, 0, 0, 9
map_attributes Route4, ROUTE_4, $2c, WEST | EAST
connection west, Route3, ROUTE_3, 0, 0, 9
connection east, CeruleanCity, CERULEAN_CITY, -3, 2, 15
map_attributes Route8, ROUTE_8, $2c, WEST | EAST
connection west, SaffronCity, SAFFRON_CITY, -3, 6, 12
connection east, LavenderTown, LAVENDER_TOWN, 0, 0, 9
map_attributes Route10North, ROUTE_10_NORTH, $2c, NORTH | SOUTH
connection north, Route9, ROUTE_9, -3, 17, 13
connection south, Route10South, ROUTE_10_SOUTH, 0, 0, 10
map_attributes Route10South, ROUTE_10_SOUTH, $2c, NORTH | SOUTH
connection north, Route10North, ROUTE_10_NORTH, 0, 0, 10
connection south, LavenderTown, LAVENDER_TOWN, 0, 0, 10
map_attributes Route23, ROUTE_23, $0f, 0
map_attributes SproutTower1F, SPROUT_TOWER_1F, $00, 0
map_attributes SproutTower2F, SPROUT_TOWER_2F, $00, 0
map_attributes SproutTower3F, SPROUT_TOWER_3F, $00, 0
map_attributes TinTower1F, TIN_TOWER_1F, $00, 0
map_attributes TinTower2F, TIN_TOWER_2F, $00, 0
map_attributes TinTower3F, TIN_TOWER_3F, $00, 0
map_attributes TinTower4F, TIN_TOWER_4F, $00, 0
map_attributes TinTower5F, TIN_TOWER_5F, $00, 0
map_attributes TinTower6F, TIN_TOWER_6F, $00, 0
map_attributes TinTower7F, TIN_TOWER_7F, $00, 0
map_attributes TinTower8F, TIN_TOWER_8F, $00, 0
map_attributes TinTower9F, TIN_TOWER_9F, $00, 0
map_attributes BurnedTower1F, BURNED_TOWER_1F, $00, 0
map_attributes BurnedTowerB1F, BURNED_TOWER_B1F, $09, 0
map_attributes NationalPark, NATIONAL_PARK, $00, 0
map_attributes NationalParkBugContest, NATIONAL_PARK_BUG_CONTEST, $00, 0
map_attributes RadioTower1F, RADIO_TOWER_1F, $00, 0
map_attributes RadioTower2F, RADIO_TOWER_2F, $00, 0
map_attributes RadioTower3F, RADIO_TOWER_3F, $00, 0
map_attributes RadioTower4F, RADIO_TOWER_4F, $00, 0
map_attributes RadioTower5F, RADIO_TOWER_5F, $00, 0
map_attributes RuinsOfAlphOutside, RUINS_OF_ALPH_OUTSIDE, $05, 0
map_attributes RuinsOfAlphHoOhChamber, RUINS_OF_ALPH_HO_OH_CHAMBER, $00, 0
map_attributes RuinsOfAlphKabutoChamber, RUINS_OF_ALPH_KABUTO_CHAMBER, $00, 0
map_attributes RuinsOfAlphOmanyteChamber, RUINS_OF_ALPH_OMANYTE_CHAMBER, $00, 0
map_attributes RuinsOfAlphAerodactylChamber, RUINS_OF_ALPH_AERODACTYL_CHAMBER, $00, 0
map_attributes RuinsOfAlphInnerChamber, RUINS_OF_ALPH_INNER_CHAMBER, $00, 0
map_attributes RuinsOfAlphResearchCenter, RUINS_OF_ALPH_RESEARCH_CENTER, $00, 0
map_attributes RuinsOfAlphHoOhItemRoom, RUINS_OF_ALPH_HO_OH_ITEM_ROOM, $00, 0
map_attributes RuinsOfAlphKabutoItemRoom, RUINS_OF_ALPH_KABUTO_ITEM_ROOM, $00, 0
map_attributes RuinsOfAlphOmanyteItemRoom, RUINS_OF_ALPH_OMANYTE_ITEM_ROOM, $00, 0
map_attributes RuinsOfAlphAerodactylItemRoom, RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, $00, 0
map_attributes RuinsOfAlphHoOhWordRoom, RUINS_OF_ALPH_HO_OH_WORD_ROOM, $00, 0
map_attributes RuinsOfAlphKabutoWordRoom, RUINS_OF_ALPH_KABUTO_WORD_ROOM, $00, 0
map_attributes RuinsOfAlphOmanyteWordRoom, RUINS_OF_ALPH_OMANYTE_WORD_ROOM, $00, 0
map_attributes RuinsOfAlphAerodactylWordRoom, RUINS_OF_ALPH_AERODACTYL_WORD_ROOM, $00, 0
map_attributes UnionCave1F, UNION_CAVE_1F, $09, 0
map_attributes UnionCaveB1F, UNION_CAVE_B1F, $09, 0
map_attributes UnionCaveB2F, UNION_CAVE_B2F, $09, 0
map_attributes SlowpokeWellB1F, SLOWPOKE_WELL_B1F, $09, 0
map_attributes SlowpokeWellB2F, SLOWPOKE_WELL_B2F, $09, 0
map_attributes OlivineLighthouse1F, OLIVINE_LIGHTHOUSE_1F, $00, 0
map_attributes OlivineLighthouse2F, OLIVINE_LIGHTHOUSE_2F, $00, 0
map_attributes OlivineLighthouse3F, OLIVINE_LIGHTHOUSE_3F, $00, 0
map_attributes OlivineLighthouse4F, OLIVINE_LIGHTHOUSE_4F, $00, 0
map_attributes OlivineLighthouse5F, OLIVINE_LIGHTHOUSE_5F, $00, 0
map_attributes OlivineLighthouse6F, OLIVINE_LIGHTHOUSE_6F, $00, 0
map_attributes MahoganyMart1F, MAHOGANY_MART_1F, $00, 0
map_attributes TeamRocketBaseB1F, TEAM_ROCKET_BASE_B1F, $00, 0
map_attributes TeamRocketBaseB2F, TEAM_ROCKET_BASE_B2F, $00, 0
map_attributes TeamRocketBaseB3F, TEAM_ROCKET_BASE_B3F, $00, 0
map_attributes IlexForest, ILEX_FOREST, $05, 0
map_attributes GoldenrodUnderground, GOLDENROD_UNDERGROUND, $00, 0
map_attributes GoldenrodUndergroundSwitchRoomEntrances, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, $00, 0
map_attributes GoldenrodDeptStoreB1F, GOLDENROD_DEPT_STORE_B1F, $00, 0
map_attributes GoldenrodUndergroundWarehouse, GOLDENROD_UNDERGROUND_WAREHOUSE, $00, 0
map_attributes MountMortar1FOutside, MOUNT_MORTAR_1F_OUTSIDE, $09, 0
map_attributes MountMortar1FInside, MOUNT_MORTAR_1F_INSIDE, $09, 0
map_attributes MountMortar2FInside, MOUNT_MORTAR_2F_INSIDE, $09, 0
map_attributes MountMortarB1F, MOUNT_MORTAR_B1F, $09, 0
map_attributes IcePath1F, ICE_PATH_1F, $09, 0
map_attributes IcePathB1F, ICE_PATH_B1F, $19, 0
map_attributes IcePathB2FMahoganySide, ICE_PATH_B2F_MAHOGANY_SIDE, $19, 0
map_attributes IcePathB2FBlackthornSide, ICE_PATH_B2F_BLACKTHORN_SIDE, $19, 0
map_attributes IcePathB3F, ICE_PATH_B3F, $19, 0
map_attributes WhirlIslandNW, WHIRL_ISLAND_NW, $09, 0
map_attributes WhirlIslandNE, WHIRL_ISLAND_NE, $09, 0
map_attributes WhirlIslandSW, WHIRL_ISLAND_SW, $09, 0
map_attributes WhirlIslandCave, WHIRL_ISLAND_CAVE, $09, 0
map_attributes WhirlIslandSE, WHIRL_ISLAND_SE, $0f, 0
map_attributes WhirlIslandB1F, WHIRL_ISLAND_B1F, $09, 0
map_attributes WhirlIslandB2F, WHIRL_ISLAND_B2F, $2e, 0
map_attributes WhirlIslandLugiaChamber, WHIRL_ISLAND_LUGIA_CHAMBER, $0f, 0
map_attributes SilverCaveRoom1, SILVER_CAVE_ROOM_1, $09, 0
map_attributes SilverCaveRoom2, SILVER_CAVE_ROOM_2, $09, 0
map_attributes SilverCaveRoom3, SILVER_CAVE_ROOM_3, $09, 0
map_attributes SilverCaveItemRooms, SILVER_CAVE_ITEM_ROOMS, $09, 0
map_attributes DarkCaveVioletEntrance, DARK_CAVE_VIOLET_ENTRANCE, $09, 0
map_attributes DarkCaveBlackthornEntrance, DARK_CAVE_BLACKTHORN_ENTRANCE, $09, 0
map_attributes DragonsDen1F, DRAGONS_DEN_1F, $09, 0
map_attributes DragonsDenB1F, DRAGONS_DEN_B1F, $71, 0
map_attributes DragonShrine, DRAGON_SHRINE, $00, 0
map_attributes TohjoFalls, TOHJO_FALLS, $09, 0
map_attributes OlivinePokecenter1F, OLIVINE_POKECENTER_1F, $00, 0
map_attributes OlivineGym, OLIVINE_GYM, $00, 0
map_attributes OlivineTimsHouse, OLIVINE_TIMS_HOUSE, $00, 0
map_attributes OlivineHouseBeta, OLIVINE_HOUSE_BETA, $00, 0
map_attributes OlivinePunishmentSpeechHouse, OLIVINE_PUNISHMENT_SPEECH_HOUSE, $00, 0
map_attributes OlivineGoodRodHouse, OLIVINE_GOOD_ROD_HOUSE, $00, 0
map_attributes OlivineCafe, OLIVINE_CAFE, $00, 0
map_attributes OlivineMart, OLIVINE_MART, $00, 0
map_attributes Route38EcruteakGate, ROUTE_38_ECRUTEAK_GATE, $00, 0
map_attributes Route39Barn, ROUTE_39_BARN, $00, 0
map_attributes Route39Farmhouse, ROUTE_39_FARMHOUSE, $00, 0
map_attributes MahoganyRedGyaradosSpeechHouse, MAHOGANY_RED_GYARADOS_SPEECH_HOUSE, $00, 0
map_attributes MahoganyGym, MAHOGANY_GYM, $00, 0
map_attributes MahoganyPokecenter1F, MAHOGANY_POKECENTER_1F, $00, 0
map_attributes Route42EcruteakGate, ROUTE_42_ECRUTEAK_GATE, $00, 0
map_attributes DiglettsCave, DIGLETTS_CAVE, $09, 0
map_attributes MountMoon, MOUNT_MOON, $09, 0
map_attributes UndergroundPath, UNDERGROUND_PATH, $00, 0
map_attributes RockTunnel1F, ROCK_TUNNEL_1F, $09, 0
map_attributes RockTunnelB1F, ROCK_TUNNEL_B1F, $09, 0
map_attributes SafariZoneFuchsiaGateBeta, SAFARI_ZONE_FUCHSIA_GATE_BETA, $00, 0
map_attributes SafariZoneBeta, SAFARI_ZONE_BETA, $13, 0
map_attributes VictoryRoad, VICTORY_ROAD, $1d, 0
map_attributes EcruteakTinTowerEntrance, ECRUTEAK_TIN_TOWER_ENTRANCE, $00, 0
map_attributes WiseTriosRoom, WISE_TRIOS_ROOM, $00, 0
map_attributes EcruteakPokecenter1F, ECRUTEAK_POKECENTER_1F, $00, 0
map_attributes EcruteakLugiaSpeechHouse, ECRUTEAK_LUGIA_SPEECH_HOUSE, $00, 0
map_attributes DanceTheatre, DANCE_THEATRE, $00, 0
map_attributes EcruteakMart, ECRUTEAK_MART, $00, 0
map_attributes EcruteakGym, ECRUTEAK_GYM, $00, 0
map_attributes EcruteakItemfinderHouse, ECRUTEAK_ITEMFINDER_HOUSE, $00, 0
map_attributes BlackthornGym1F, BLACKTHORN_GYM_1F, $00, 0
map_attributes BlackthornGym2F, BLACKTHORN_GYM_2F, $00, 0
map_attributes BlackthornDragonSpeechHouse, BLACKTHORN_DRAGON_SPEECH_HOUSE, $00, 0
map_attributes BlackthornEmysHouse, BLACKTHORN_EMYS_HOUSE, $00, 0
map_attributes BlackthornMart, BLACKTHORN_MART, $00, 0
map_attributes BlackthornPokecenter1F, BLACKTHORN_POKECENTER_1F, $00, 0
map_attributes MoveDeletersHouse, MOVE_DELETERS_HOUSE, $00, 0
map_attributes CinnabarPokecenter1F, CINNABAR_POKECENTER_1F, $00, 0
map_attributes CinnabarPokecenter2FBeta, CINNABAR_POKECENTER_2F_BETA, $00, 0
map_attributes Route19FuchsiaGate, ROUTE_19_FUCHSIA_GATE, $00, 0
map_attributes SeafoamGym, SEAFOAM_GYM, $09, 0
map_attributes CeruleanGymBadgeSpeechHouse, CERULEAN_GYM_BADGE_SPEECH_HOUSE, $00, 0
map_attributes CeruleanPoliceStation, CERULEAN_POLICE_STATION, $00, 0
map_attributes CeruleanTradeSpeechHouse, CERULEAN_TRADE_SPEECH_HOUSE, $00, 0
map_attributes CeruleanPokecenter1F, CERULEAN_POKECENTER_1F, $00, 0
map_attributes CeruleanPokecenter2FBeta, CERULEAN_POKECENTER_2F_BETA, $00, 0
map_attributes CeruleanGym, CERULEAN_GYM, $00, 0
map_attributes CeruleanMart, CERULEAN_MART, $00, 0
map_attributes Route10Pokecenter1F, ROUTE_10_POKECENTER_1F, $00, 0
map_attributes Route10Pokecenter2FBeta, ROUTE_10_POKECENTER_2F_BETA, $00, 0
map_attributes PowerPlant, POWER_PLANT, $00, 0
map_attributes BillsHouse, BILLS_HOUSE, $00, 0
map_attributes AzaleaPokecenter1F, AZALEA_POKECENTER_1F, $00, 0
map_attributes CharcoalKiln, CHARCOAL_KILN, $00, 0
map_attributes AzaleaMart, AZALEA_MART, $00, 0
map_attributes KurtsHouse, KURTS_HOUSE, $00, 0
map_attributes AzaleaGym, AZALEA_GYM, $00, 0
map_attributes LakeOfRageHiddenPowerHouse, LAKE_OF_RAGE_HIDDEN_POWER_HOUSE, $00, 0
map_attributes LakeOfRageMagikarpHouse, LAKE_OF_RAGE_MAGIKARP_HOUSE, $00, 0
map_attributes Route43MahoganyGate, ROUTE_43_MAHOGANY_GATE, $00, 0
map_attributes Route43Gate, ROUTE_43_GATE, $00, 0
map_attributes VioletMart, VIOLET_MART, $00, 0
map_attributes VioletGym, VIOLET_GYM, $00, 0
map_attributes EarlsPokemonAcademy, EARLS_POKEMON_ACADEMY, $00, 0
map_attributes VioletNicknameSpeechHouse, VIOLET_NICKNAME_SPEECH_HOUSE, $00, 0
map_attributes VioletPokecenter1F, VIOLET_POKECENTER_1F, $00, 0
map_attributes VioletKylesHouse, VIOLET_KYLES_HOUSE, $00, 0
map_attributes Route32RuinsOfAlphGate, ROUTE_32_RUINS_OF_ALPH_GATE, $00, 0
map_attributes Route32Pokecenter1F, ROUTE_32_POKECENTER_1F, $00, 0
map_attributes Route35GoldenrodGate, ROUTE_35_GOLDENROD_GATE, $00, 0
map_attributes Route35NationalParkGate, ROUTE_35_NATIONAL_PARK_GATE, $00, 0
map_attributes Route36RuinsOfAlphGate, ROUTE_36_RUINS_OF_ALPH_GATE, $00, 0
map_attributes Route36NationalParkGate, ROUTE_36_NATIONAL_PARK_GATE, $00, 0
map_attributes GoldenrodGym, GOLDENROD_GYM, $00, 0
map_attributes GoldenrodBikeShop, GOLDENROD_BIKE_SHOP, $00, 0
map_attributes GoldenrodHappinessRater, GOLDENROD_HAPPINESS_RATER, $00, 0
map_attributes BillsFamilysHouse, BILLS_FAMILYS_HOUSE, $00, 0
map_attributes GoldenrodMagnetTrainStation, GOLDENROD_MAGNET_TRAIN_STATION, $00, 0
map_attributes GoldenrodFlowerShop, GOLDENROD_FLOWER_SHOP, $00, 0
map_attributes GoldenrodPPSpeechHouse, GOLDENROD_PP_SPEECH_HOUSE, $00, 0
map_attributes GoldenrodNameRater, GOLDENROD_NAME_RATER, $00, 0
map_attributes GoldenrodDeptStore1F, GOLDENROD_DEPT_STORE_1F, $00, 0
map_attributes GoldenrodDeptStore2F, GOLDENROD_DEPT_STORE_2F, $00, 0
map_attributes GoldenrodDeptStore3F, GOLDENROD_DEPT_STORE_3F, $00, 0
map_attributes GoldenrodDeptStore4F, GOLDENROD_DEPT_STORE_4F, $00, 0
map_attributes GoldenrodDeptStore5F, GOLDENROD_DEPT_STORE_5F, $00, 0
map_attributes GoldenrodDeptStore6F, GOLDENROD_DEPT_STORE_6F, $00, 0
map_attributes GoldenrodDeptStoreElevator, GOLDENROD_DEPT_STORE_ELEVATOR, $00, 0
map_attributes GoldenrodDeptStoreRoof, GOLDENROD_DEPT_STORE_ROOF, $24, 0
map_attributes GoldenrodGameCorner, GOLDENROD_GAME_CORNER, $00, 0
map_attributes GoldenrodPokecenter1F, GOLDENROD_POKECENTER_1F, $00, 0
map_attributes PokecomCenterAdminOfficeMobile, POKECOM_CENTER_ADMIN_OFFICE_MOBILE, $00, 0
map_attributes IlexForestAzaleaGate, ILEX_FOREST_AZALEA_GATE, $00, 0
map_attributes Route34IlexForestGate, ROUTE_34_ILEX_FOREST_GATE, $00, 0
map_attributes DayCare, DAY_CARE, $00, 0
map_attributes VermilionFishingSpeechHouse, VERMILION_FISHING_SPEECH_HOUSE, $00, 0
map_attributes VermilionPokecenter1F, VERMILION_POKECENTER_1F, $00, 0
map_attributes VermilionPokecenter2FBeta, VERMILION_POKECENTER_2F_BETA, $00, 0
map_attributes PokemonFanClub, POKEMON_FAN_CLUB, $00, 0
map_attributes VermilionMagnetTrainSpeechHouse, VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, $00, 0
map_attributes VermilionMart, VERMILION_MART, $00, 0
map_attributes VermilionDiglettsCaveSpeechHouse, VERMILION_DIGLETTS_CAVE_SPEECH_HOUSE, $00, 0
map_attributes VermilionGym, VERMILION_GYM, $00, 0
map_attributes Route6SaffronGate, ROUTE_6_SAFFRON_GATE, $00, 0
map_attributes Route6UndergroundPathEntrance, ROUTE_6_UNDERGROUND_PATH_ENTRANCE, $00, 0
map_attributes RedsHouse1F, REDS_HOUSE_1F, $00, 0
map_attributes RedsHouse2F, REDS_HOUSE_2F, $00, 0
map_attributes BluesHouse, BLUES_HOUSE, $00, 0
map_attributes OaksLab, OAKS_LAB, $00, 0
map_attributes PewterNidoranSpeechHouse, PEWTER_NIDORAN_SPEECH_HOUSE, $00, 0
map_attributes PewterGym, PEWTER_GYM, $00, 0
map_attributes PewterMart, PEWTER_MART, $00, 0
map_attributes PewterPokecenter1F, PEWTER_POKECENTER_1F, $00, 0
map_attributes PewterPokecenter2FBeta, PEWTER_POKECENTER_2F_BETA, $00, 0
map_attributes PewterSnoozeSpeechHouse, PEWTER_SNOOZE_SPEECH_HOUSE, $00, 0
map_attributes OlivinePort, OLIVINE_PORT, $0a, 0
map_attributes VermilionPort, VERMILION_PORT, $0a, 0
map_attributes FastShip1F, FAST_SHIP_1F, $00, 0
map_attributes FastShipCabins_NNW_NNE_NE, FAST_SHIP_CABINS_NNW_NNE_NE, $00, 0
map_attributes FastShipCabins_SW_SSW_NW, FAST_SHIP_CABINS_SW_SSW_NW, $00, 0
map_attributes FastShipCabins_SE_SSE_CaptainsCabin, FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN, $00, 0
map_attributes FastShipB1F, FAST_SHIP_B1F, $00, 0
map_attributes OlivinePortPassage, OLIVINE_PORT_PASSAGE, $00, 0
map_attributes VermilionPortPassage, VERMILION_PORT_PASSAGE, $00, 0
map_attributes MountMoonSquare, MOUNT_MOON_SQUARE, $2d, 0
map_attributes MountMoonGiftShop, MOUNT_MOON_GIFT_SHOP, $00, 0
map_attributes TinTowerRoof, TIN_TOWER_ROOF, $00, 0
map_attributes IndigoPlateauPokecenter1F, INDIGO_PLATEAU_POKECENTER_1F, $00, 0
map_attributes WillsRoom, WILLS_ROOM, $00, 0
map_attributes KogasRoom, KOGAS_ROOM, $00, 0
map_attributes BrunosRoom, BRUNOS_ROOM, $00, 0
map_attributes KarensRoom, KARENS_ROOM, $00, 0
map_attributes LancesRoom, LANCES_ROOM, $00, 0
map_attributes HallOfFame, HALL_OF_FAME, $00, 0
map_attributes FuchsiaMart, FUCHSIA_MART, $00, 0
map_attributes SafariZoneMainOffice, SAFARI_ZONE_MAIN_OFFICE, $00, 0
map_attributes FuchsiaGym, FUCHSIA_GYM, $00, 0
map_attributes BillsBrothersHouse, BILLS_BROTHERS_HOUSE, $00, 0
map_attributes FuchsiaPokecenter1F, FUCHSIA_POKECENTER_1F, $00, 0
map_attributes FuchsiaPokecenter2FBeta, FUCHSIA_POKECENTER_2F_BETA, $00, 0
map_attributes SafariZoneWardensHome, SAFARI_ZONE_WARDENS_HOME, $00, 0
map_attributes Route15FuchsiaGate, ROUTE_15_FUCHSIA_GATE, $00, 0
map_attributes LavenderPokecenter1F, LAVENDER_POKECENTER_1F, $00, 0
map_attributes LavenderPokecenter2FBeta, LAVENDER_POKECENTER_2F_BETA, $00, 0
map_attributes MrFujisHouse, MR_FUJIS_HOUSE, $00, 0
map_attributes LavenderSpeechHouse, LAVENDER_SPEECH_HOUSE, $00, 0
map_attributes LavenderNameRater, LAVENDER_NAME_RATER, $00, 0
map_attributes LavenderMart, LAVENDER_MART, $00, 0
map_attributes SoulHouse, SOUL_HOUSE, $00, 0
map_attributes LavRadioTower1F, LAV_RADIO_TOWER_1F, $00, 0
map_attributes Route8SaffronGate, ROUTE_8_SAFFRON_GATE, $00, 0
map_attributes Route12SuperRodHouse, ROUTE_12_SUPER_ROD_HOUSE, $00, 0
map_attributes SilverCavePokecenter1F, SILVER_CAVE_POKECENTER_1F, $00, 0
map_attributes Route28SteelWingHouse, ROUTE_28_STEEL_WING_HOUSE, $00, 0
map_attributes Pokecenter2F, POKECENTER_2F, $00, 0
map_attributes TradeCenter, TRADE_CENTER, $00, 0
map_attributes Colosseum, COLOSSEUM, $00, 0
map_attributes TimeCapsule, TIME_CAPSULE, $00, 0
map_attributes MobileTradeRoom, MOBILE_TRADE_ROOM, $00, 0
map_attributes MobileBattleRoom, MOBILE_BATTLE_ROOM, $00, 0
map_attributes CeladonDeptStore1F, CELADON_DEPT_STORE_1F, $00, 0
map_attributes CeladonDeptStore2F, CELADON_DEPT_STORE_2F, $00, 0
map_attributes CeladonDeptStore3F, CELADON_DEPT_STORE_3F, $00, 0
map_attributes CeladonDeptStore4F, CELADON_DEPT_STORE_4F, $00, 0
map_attributes CeladonDeptStore5F, CELADON_DEPT_STORE_5F, $00, 0
map_attributes CeladonDeptStore6F, CELADON_DEPT_STORE_6F, $00, 0
map_attributes CeladonDeptStoreElevator, CELADON_DEPT_STORE_ELEVATOR, $00, 0
map_attributes CeladonMansion1F, CELADON_MANSION_1F, $00, 0
map_attributes CeladonMansion2F, CELADON_MANSION_2F, $00, 0
map_attributes CeladonMansion3F, CELADON_MANSION_3F, $00, 0
map_attributes CeladonMansionRoof, CELADON_MANSION_ROOF, $01, 0
map_attributes CeladonMansionRoofHouse, CELADON_MANSION_ROOF_HOUSE, $00, 0
map_attributes CeladonPokecenter1F, CELADON_POKECENTER_1F, $00, 0
map_attributes CeladonPokecenter2FBeta, CELADON_POKECENTER_2F_BETA, $00, 0
map_attributes CeladonGameCorner, CELADON_GAME_CORNER, $00, 0
map_attributes CeladonGameCornerPrizeRoom, CELADON_GAME_CORNER_PRIZE_ROOM, $00, 0
map_attributes CeladonGym, CELADON_GYM, $00, 0
map_attributes CeladonCafe, CELADON_CAFE, $00, 0
map_attributes Route16FuchsiaSpeechHouse, ROUTE_16_FUCHSIA_SPEECH_HOUSE, $00, 0
map_attributes Route16Gate, ROUTE_16_GATE, $00, 0
map_attributes Route7SaffronGate, ROUTE_7_SAFFRON_GATE, $00, 0
map_attributes Route17Route18Gate, ROUTE_17_ROUTE_18_GATE, $00, 0
map_attributes ManiasHouse, MANIAS_HOUSE, $00, 0
map_attributes CianwoodGym, CIANWOOD_GYM, $00, 0
map_attributes CianwoodPokecenter1F, CIANWOOD_POKECENTER_1F, $00, 0
map_attributes CianwoodPharmacy, CIANWOOD_PHARMACY, $00, 0
map_attributes CianwoodPhotoStudio, CIANWOOD_PHOTO_STUDIO, $00, 0
map_attributes CianwoodLugiaSpeechHouse, CIANWOOD_LUGIA_SPEECH_HOUSE, $00, 0
map_attributes PokeSeersHouse, POKE_SEERS_HOUSE, $00, 0
map_attributes BattleTower1F, BATTLE_TOWER_1F, $00, 0
map_attributes BattleTowerBattleRoom, BATTLE_TOWER_BATTLE_ROOM, $00, 0
map_attributes BattleTowerElevator, BATTLE_TOWER_ELEVATOR, $00, 0
map_attributes BattleTowerHallway, BATTLE_TOWER_HALLWAY, $00, 0
map_attributes Route40BattleTowerGate, ROUTE_40_BATTLE_TOWER_GATE, $00, 0
map_attributes BattleTowerOutside, BATTLE_TOWER_OUTSIDE, $05, 0
map_attributes ViridianGym, VIRIDIAN_GYM, $00, 0
map_attributes ViridianNicknameSpeechHouse, VIRIDIAN_NICKNAME_SPEECH_HOUSE, $00, 0
map_attributes TrainerHouse1F, TRAINER_HOUSE_1F, $00, 0
map_attributes TrainerHouseB1F, TRAINER_HOUSE_B1F, $00, 0
map_attributes ViridianMart, VIRIDIAN_MART, $00, 0
map_attributes ViridianPokecenter1F, VIRIDIAN_POKECENTER_1F, $00, 0
map_attributes ViridianPokecenter2FBeta, VIRIDIAN_POKECENTER_2F_BETA, $00, 0
map_attributes Route2NuggetHouse, ROUTE_2_NUGGET_HOUSE, $00, 0
map_attributes Route2Gate, ROUTE_2_GATE, $00, 0
map_attributes VictoryRoadGate, VICTORY_ROAD_GATE, $00, 0
map_attributes ElmsLab, ELMS_LAB, $00, 0
map_attributes PlayersHouse1F, PLAYERS_HOUSE_1F, $00, 0
map_attributes PlayersHouse2F, PLAYERS_HOUSE_2F, $00, 0
map_attributes PlayersNeighborsHouse, PLAYERS_NEIGHBORS_HOUSE, $00, 0
map_attributes ElmsHouse, ELMS_HOUSE, $00, 0
map_attributes Route26HealHouse, ROUTE_26_HEAL_HOUSE, $00, 0
map_attributes DayOfWeekSiblingsHouse, DAY_OF_WEEK_SIBLINGS_HOUSE, $00, 0
map_attributes Route27SandstormHouse, ROUTE_27_SANDSTORM_HOUSE, $00, 0
map_attributes Route29Route46Gate, ROUTE_29_ROUTE_46_GATE, $00, 0
map_attributes FightingDojo, FIGHTING_DOJO, $00, 0
map_attributes SaffronGym, SAFFRON_GYM, $00, 0
map_attributes SaffronMart, SAFFRON_MART, $00, 0
map_attributes SaffronPokecenter1F, SAFFRON_POKECENTER_1F, $00, 0
map_attributes SaffronPokecenter2FBeta, SAFFRON_POKECENTER_2F_BETA, $00, 0
map_attributes MrPsychicsHouse, MR_PSYCHICS_HOUSE, $00, 0
map_attributes SaffronMagnetTrainStation, SAFFRON_MAGNET_TRAIN_STATION, $00, 0
map_attributes SilphCo1F, SILPH_CO_1F, $00, 0
map_attributes CopycatsHouse1F, COPYCATS_HOUSE_1F, $00, 0
map_attributes CopycatsHouse2F, COPYCATS_HOUSE_2F, $00, 0
map_attributes Route5UndergroundPathEntrance, ROUTE_5_UNDERGROUND_PATH_ENTRANCE, $00, 0
map_attributes Route5SaffronGate, ROUTE_5_SAFFRON_GATE, $00, 0
map_attributes Route5CleanseTagHouse, ROUTE_5_CLEANSE_TAG_HOUSE, $00, 0
map_attributes CherrygroveMart, CHERRYGROVE_MART, $00, 0
map_attributes CherrygrovePokecenter1F, CHERRYGROVE_POKECENTER_1F, $00, 0
map_attributes CherrygroveGymSpeechHouse, CHERRYGROVE_GYM_SPEECH_HOUSE, $00, 0
map_attributes GuideGentsHouse, GUIDE_GENTS_HOUSE, $00, 0
map_attributes CherrygroveEvolutionSpeechHouse, CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, $00, 0
map_attributes Route30BerryHouse, ROUTE_30_BERRY_HOUSE, $00, 0
map_attributes MrPokemonsHouse, MR_POKEMONS_HOUSE, $00, 0
map_attributes Route31VioletGate, ROUTE_31_VIOLET_GATE, $00, 0

View File

@ -165,20 +165,20 @@ CharcoalKiln_Blocks:
LakeOfRageHiddenPowerHouse_Blocks: LakeOfRageHiddenPowerHouse_Blocks:
LakeOfRageMagikarpHouse_Blocks: LakeOfRageMagikarpHouse_Blocks:
GoldenrodHappinessRater_Blocks: GoldenrodHappinessRater_Blocks:
GoldenrodBillsHouse_Blocks: BillsFamilysHouse_Blocks:
GoldenrodPPSpeechHouse_Blocks: GoldenrodPPSpeechHouse_Blocks:
GoldenrodNameRater_Blocks: GoldenrodNameRater_Blocks:
VermilionHouseFishingSpeechHouse_Blocks: VermilionFishingSpeechHouse_Blocks:
VermilionMagnetTrainSpeechHouse_Blocks: VermilionMagnetTrainSpeechHouse_Blocks:
VermilionHouseDiglettsCaveSpeechHouse_Blocks: VermilionDiglettsCaveSpeechHouse_Blocks:
BluesHouse_Blocks: BluesHouse_Blocks:
PewterNidoranSpeechHouse_Blocks: PewterNidoranSpeechHouse_Blocks:
PewterSnoozeSpeechHouse_Blocks: PewterSnoozeSpeechHouse_Blocks:
FuchsiaBillSpeechHouse_Blocks: BillsBrothersHouse_Blocks:
LavenderSpeechHouse_Blocks: LavenderSpeechHouse_Blocks:
LavenderNameRater_Blocks: LavenderNameRater_Blocks:
Route12SuperRodHouse_Blocks: Route12SuperRodHouse_Blocks:
Route28FamousSpeechHouse_Blocks: Route28SteelWingHouse_Blocks:
CeladonMansionRoofHouse_Blocks: CeladonMansionRoofHouse_Blocks:
Route16FuchsiaSpeechHouse_Blocks: Route16FuchsiaSpeechHouse_Blocks:
ManiasHouse_Blocks: ManiasHouse_Blocks:
@ -187,17 +187,17 @@ CianwoodPhotoStudio_Blocks:
CianwoodLugiaSpeechHouse_Blocks: CianwoodLugiaSpeechHouse_Blocks:
PokeSeersHouse_Blocks: PokeSeersHouse_Blocks:
ViridianNicknameSpeechHouse_Blocks: ViridianNicknameSpeechHouse_Blocks:
Route2NuggetSpeechHouse_Blocks: Route2NuggetHouse_Blocks:
KrissNeighborsHouse_Blocks: PlayersNeighborsHouse_Blocks:
Route26HealSpeechHouse_Blocks: Route26HealHouse_Blocks:
Route26DayofWeekSiblingsHouse_Blocks: DayOfWeekSiblingsHouse_Blocks:
Route27SandstormHouse_Blocks: Route27SandstormHouse_Blocks:
MrPsychicsHouse_Blocks: MrPsychicsHouse_Blocks:
Route5CleanseTagSpeechHouse_Blocks: Route5CleanseTagHouse_Blocks:
CherrygroveGymSpeechHouse_Blocks: CherrygroveGymSpeechHouse_Blocks:
GuideGentsHouse_Blocks: GuideGentsHouse_Blocks:
CherrygroveEvolutionSpeechHouse_Blocks: CherrygroveEvolutionSpeechHouse_Blocks:
Route30BerrySpeechHouse_Blocks: Route30BerryHouse_Blocks:
INCBIN "maps/House1.blk" INCBIN "maps/House1.blk"
SafariZoneFuchsiaGateBeta_Blocks: SafariZoneFuchsiaGateBeta_Blocks:
@ -265,8 +265,8 @@ Route43_Blocks:
Route39_Blocks: Route39_Blocks:
INCBIN "maps/Route39.blk" INCBIN "maps/Route39.blk"
KrissHouse1F_Blocks: PlayersHouse1F_Blocks:
INCBIN "maps/KrissHouse1F.blk" INCBIN "maps/PlayersHouse1F.blk"
Route38EcruteakGate_Blocks: Route38EcruteakGate_Blocks:
Route42EcruteakGate_Blocks: Route42EcruteakGate_Blocks:
@ -806,8 +806,8 @@ GoldenrodBikeShop_Blocks:
DanceTheatre_Blocks: DanceTheatre_Blocks:
INCBIN "maps/DanceTheatre.blk" INCBIN "maps/DanceTheatre.blk"
EcruteakHouse_Blocks: EcruteakTinTowerEntrance_Blocks:
INCBIN "maps/EcruteakHouse.blk" INCBIN "maps/EcruteakTinTowerEntrance.blk"
GoldenrodGameCorner_Blocks: GoldenrodGameCorner_Blocks:
INCBIN "maps/GoldenrodGameCorner.blk" INCBIN "maps/GoldenrodGameCorner.blk"
@ -846,8 +846,8 @@ OlivineCafe_Blocks:
SafariZoneMainOffice_Blocks: SafariZoneMainOffice_Blocks:
INCBIN "maps/OlivineCafe.blk" INCBIN "maps/OlivineCafe.blk"
KrissHouse2F_Blocks: PlayersHouse2F_Blocks:
INCBIN "maps/KrissHouse2F.blk" INCBIN "maps/PlayersHouse2F.blk"
SaffronMagnetTrainStation_Blocks: SaffronMagnetTrainStation_Blocks:
INCBIN "maps/SaffronMagnetTrainStation.blk" INCBIN "maps/SaffronMagnetTrainStation.blk"
@ -1022,11 +1022,11 @@ BattleTower1F_Blocks:
BattleTowerBattleRoom_Blocks: BattleTowerBattleRoom_Blocks:
INCBIN "maps/BattleTowerBattleRoom.blk" INCBIN "maps/BattleTowerBattleRoom.blk"
GoldenrodPokeComCenter2FMobile_Blocks: PokecomCenterAdminOfficeMobile_Blocks:
INCBIN "maps/GoldenrodPokeComCenter2FMobile.blk" INCBIN "maps/PokecomCenterAdminOfficeMobile.blk"
MobileTradeRoomMobile_Blocks: MobileTradeRoom_Blocks:
INCBIN "maps/MobileTradeRoomMobile.blk" INCBIN "maps/MobileTradeRoom.blk"
MobileBattleRoom_Blocks: MobileBattleRoom_Blocks:
INCBIN "maps/MobileBattleRoom.blk" INCBIN "maps/MobileBattleRoom.blk"

View File

@ -1,685 +0,0 @@
map_data: MACRO
;\1: map name
;\2: map id
;\3: border block
;\4: connections: combo of NORTH, SOUTH, WEST, and/or EAST, or 0 for none
\1_MapData::
db \3
db \2_HEIGHT, \2_WIDTH
db BANK(\1_Blocks)
dw \1_Blocks
db BANK(\1_MapScripts)
dw \1_MapScripts
dw \1_MapEvents
db \4
ENDM
connection: MACRO
if "\1" == "north"
;\2: map id
;\3: map name (eventually will be rolled into map id)
;\4: x
;\5: offset?
;\6: strip length
;\7: this map id
map \2
dw \3_Blocks + \2_WIDTH * (\2_HEIGHT - 3) + \5
dw wOverworldMap + \4 + 3
db \6
db \2_WIDTH
db \2_HEIGHT * 2 - 1
db (\4 - \5) * -2
dw wOverworldMap + \2_HEIGHT * (\2_WIDTH + 6) + 1
endc
if "\1" == "south"
;\2: map id
;\3: map name (eventually will be rolled into map id)
;\4: x
;\5: offset?
;\6: strip length
;\7: this map id
map \2
dw \3_Blocks + \5
dw wOverworldMap + (\7_HEIGHT + 3) * (\7_WIDTH + 6) + \4 + 3
db \6
db \2_WIDTH
db 0
db (\4 - \5) * -2
dw wOverworldMap + \2_WIDTH + 7
endc
if "\1" == "west"
;\2: map id
;\3: map name (eventually will be rolled into map id)
;\4: y
;\5: offset?
;\6: strip length
;\7: this map id
map \2
dw \3_Blocks + (\2_WIDTH * \5) + \2_WIDTH - 3
dw wOverworldMap + (\7_WIDTH + 6) * (\4 + 3)
db \6
db \2_WIDTH
db (\4 - \5) * -2
db \2_WIDTH * 2 - 1
dw wOverworldMap + \2_WIDTH * 2 + 6
endc
if "\1" == "east"
;\2: map id
;\3: map name (eventually will be rolled into map id)
;\4: y
;\5: offset?
;\6: strip length
;\7: this map id
map \2
dw \3_Blocks + (\2_WIDTH * \5)
dw wOverworldMap + (\7_WIDTH + 6) * (\4 + 3 + 1) - 3
db \6
db \2_WIDTH
db (\4 - \5) * -2
db 0
dw wOverworldMap + \2_WIDTH + 7
endc
ENDM
map_data NewBarkTown, NEW_BARK_TOWN, $05, WEST | EAST
connection west, ROUTE_29, Route29, 0, 0, 9, NEW_BARK_TOWN
connection east, ROUTE_27, Route27, 0, 0, 9, NEW_BARK_TOWN
map_data CherrygroveCity, CHERRYGROVE_CITY, $35, NORTH | EAST
connection north, ROUTE_30, Route30, 5, 0, 10, CHERRYGROVE_CITY
connection east, ROUTE_29, Route29, 0, 0, 9, CHERRYGROVE_CITY
map_data VioletCity, VIOLET_CITY, $05, SOUTH | WEST | EAST
connection south, ROUTE_32, Route32, 0, 0, 10, VIOLET_CITY
connection west, ROUTE_36, Route36, 0, 0, 9, VIOLET_CITY
connection east, ROUTE_31, Route31, 9, 0, 9, VIOLET_CITY
map_data AzaleaTown, AZALEA_TOWN, $05, WEST | EAST
connection west, ROUTE_34, Route34, -3, 15, 12, AZALEA_TOWN
connection east, ROUTE_33, Route33, 0, 0, 9, AZALEA_TOWN
map_data CianwoodCity, CIANWOOD_CITY, $35, EAST
connection east, ROUTE_41, Route41, 0, 0, 27, CIANWOOD_CITY
map_data GoldenrodCity, GOLDENROD_CITY, $35, NORTH | SOUTH
connection north, ROUTE_35, Route35, 5, 0, 10, GOLDENROD_CITY
connection south, ROUTE_34, Route34, 5, 0, 10, GOLDENROD_CITY
map_data OlivineCity, OLIVINE_CITY, $35, NORTH | WEST
connection north, ROUTE_39, Route39, 5, 0, 10, OLIVINE_CITY
connection west, ROUTE_40, Route40, 9, 0, 12, OLIVINE_CITY
map_data EcruteakCity, ECRUTEAK_CITY, $05, SOUTH | WEST | EAST
connection south, ROUTE_37, Route37, 5, 0, 10, ECRUTEAK_CITY
connection west, ROUTE_38, Route38, 5, 0, 9, ECRUTEAK_CITY
connection east, ROUTE_42, Route42, 9, 0, 9, ECRUTEAK_CITY
map_data MahoganyTown, MAHOGANY_TOWN, $71, NORTH | WEST | EAST
connection north, ROUTE_43, Route43, 0, 0, 10, MAHOGANY_TOWN
connection west, ROUTE_42, Route42, 0, 0, 9, MAHOGANY_TOWN
connection east, ROUTE_44, Route44, 0, 0, 9, MAHOGANY_TOWN
map_data LakeOfRage, LAKE_OF_RAGE, $05, SOUTH
connection south, ROUTE_43, Route43, 5, 0, 10, LAKE_OF_RAGE
map_data BlackthornCity, BLACKTHORN_CITY, $71, SOUTH | WEST
connection south, ROUTE_45, Route45, 0, 0, 10, BLACKTHORN_CITY
connection west, ROUTE_44, Route44, 9, 0, 9, BLACKTHORN_CITY
map_data SilverCaveOutside, SILVER_CAVE_OUTSIDE, $2c, EAST
connection east, ROUTE_28, Route28, 9, 0, 9, SILVER_CAVE_OUTSIDE
map_data Route26, ROUTE_26, $05, WEST
connection west, ROUTE_27, Route27, 45, 0, 9, ROUTE_26
map_data Route27, ROUTE_27, $35, WEST | EAST
connection west, NEW_BARK_TOWN, NewBarkTown, 0, 0, 9, ROUTE_27
connection east, ROUTE_26, Route26, -3, 42, 12, ROUTE_27
map_data Route28, ROUTE_28, $2c, WEST
connection west, SILVER_CAVE_OUTSIDE, SilverCaveOutside, -3, 6, 12, ROUTE_28
map_data Route29, ROUTE_29, $05, NORTH | WEST | EAST
connection north, ROUTE_46, Route46, 10, 0, 10, ROUTE_29
connection west, CHERRYGROVE_CITY, CherrygroveCity, 0, 0, 9, ROUTE_29
connection east, NEW_BARK_TOWN, NewBarkTown, 0, 0, 9, ROUTE_29
map_data Route30, ROUTE_30, $05, NORTH | SOUTH
connection north, ROUTE_31, Route31, -3, 7, 13, ROUTE_30
connection south, CHERRYGROVE_CITY, CherrygroveCity, -3, 2, 16, ROUTE_30
map_data Route31, ROUTE_31, $05, SOUTH | WEST
connection south, ROUTE_30, Route30, 10, 0, 10, ROUTE_31
connection west, VIOLET_CITY, VioletCity, -3, 6, 12, ROUTE_31
map_data Route32, ROUTE_32, $05, NORTH | SOUTH
connection north, VIOLET_CITY, VioletCity, 0, 0, 13, ROUTE_32
connection south, ROUTE_33, Route33, 0, 0, 10, ROUTE_32
map_data Route33, ROUTE_33, $05, NORTH | WEST
connection north, ROUTE_32, Route32, 0, 0, 10, ROUTE_33
connection west, AZALEA_TOWN, AzaleaTown, 0, 0, 9, ROUTE_33
map_data Route34, ROUTE_34, $05, NORTH | EAST
connection north, GOLDENROD_CITY, GoldenrodCity, -3, 2, 16, ROUTE_34
connection east, AZALEA_TOWN, AzaleaTown, 18, 0, 9, ROUTE_34
map_data Route35, ROUTE_35, $05, NORTH | SOUTH
connection north, ROUTE_36, Route36, 0, 0, 13, ROUTE_35
connection south, GOLDENROD_CITY, GoldenrodCity, -3, 2, 16, ROUTE_35
map_data Route36, ROUTE_36, $05, NORTH | SOUTH | EAST
connection north, ROUTE_37, Route37, 10, 0, 10, ROUTE_36
connection south, ROUTE_35, Route35, 0, 0, 10, ROUTE_36
connection east, VIOLET_CITY, VioletCity, 0, 0, 12, ROUTE_36
map_data Route37, ROUTE_37, $05, NORTH | SOUTH
connection north, ECRUTEAK_CITY, EcruteakCity, -3, 2, 16, ROUTE_37
connection south, ROUTE_36, Route36, -3, 7, 16, ROUTE_37
map_data Route38, ROUTE_38, $05, WEST | EAST
connection west, ROUTE_39, Route39, 0, 0, 12, ROUTE_38
connection east, ECRUTEAK_CITY, EcruteakCity, -3, 2, 15, ROUTE_38
map_data Route39, ROUTE_39, $05, SOUTH | EAST
connection south, OLIVINE_CITY, OlivineCity, -3, 2, 16, ROUTE_39
connection east, ROUTE_38, Route38, 0, 0, 9, ROUTE_39
map_data Route40, ROUTE_40, $35, SOUTH | EAST
connection south, ROUTE_41, Route41, -3, 12, 13, ROUTE_40
connection east, OLIVINE_CITY, OlivineCity, -3, 6, 12, ROUTE_40
map_data Route41, ROUTE_41, $35, NORTH | WEST
connection north, ROUTE_40, Route40, 15, 0, 10, ROUTE_41
connection west, CIANWOOD_CITY, CianwoodCity, 0, 0, 27, ROUTE_41
map_data Route42, ROUTE_42, $05, WEST | EAST
connection west, ECRUTEAK_CITY, EcruteakCity, -3, 6, 12, ROUTE_42
connection east, MAHOGANY_TOWN, MahoganyTown, 0, 0, 9, ROUTE_42
map_data Route43, ROUTE_43, $05, NORTH | SOUTH
connection north, LAKE_OF_RAGE, LakeOfRage, -3, 2, 16, ROUTE_43
connection south, MAHOGANY_TOWN, MahoganyTown, 0, 0, 10, ROUTE_43
map_data Route44, ROUTE_44, $71, WEST | EAST
connection west, MAHOGANY_TOWN, MahoganyTown, 0, 0, 9, ROUTE_44
connection east, BLACKTHORN_CITY, BlackthornCity, -3, 6, 12, ROUTE_44
map_data Route45, ROUTE_45, $71, NORTH | WEST
connection north, BLACKTHORN_CITY, BlackthornCity, 0, 0, 13, ROUTE_45
connection west, ROUTE_46, Route46, 36, 0, 12, ROUTE_45
map_data Route46, ROUTE_46, $05, SOUTH | EAST
connection south, ROUTE_29, Route29, -3, 7, 16, ROUTE_46
connection east, ROUTE_45, Route45, -3, 33, 12, ROUTE_46
map_data PewterCity, PEWTER_CITY, $0f, SOUTH | EAST
connection south, ROUTE_2, Route2, 5, 0, 10, PEWTER_CITY
connection east, ROUTE_3, Route3, 5, 0, 9, PEWTER_CITY
map_data Route2, ROUTE_2, $0f, NORTH | SOUTH
connection north, PEWTER_CITY, PewterCity, -3, 2, 16, ROUTE_2
connection south, VIRIDIAN_CITY, ViridianCity, -3, 2, 16, ROUTE_2
map_data ViridianCity, VIRIDIAN_CITY, $0f, NORTH | SOUTH | WEST
connection north, ROUTE_2, Route2, 5, 0, 10, VIRIDIAN_CITY
connection south, ROUTE_1, Route1, 10, 0, 10, VIRIDIAN_CITY
connection west, ROUTE_22, Route22, 4, 0, 9, VIRIDIAN_CITY
map_data Route22, ROUTE_22, $2c, EAST
connection east, VIRIDIAN_CITY, ViridianCity, -3, 1, 15, ROUTE_22
map_data Route1, ROUTE_1, $0f, NORTH | SOUTH
connection north, VIRIDIAN_CITY, ViridianCity, -3, 7, 13, ROUTE_1
connection south, PALLET_TOWN, PalletTown, 0, 0, 10, ROUTE_1
map_data PalletTown, PALLET_TOWN, $0f, NORTH | SOUTH
connection north, ROUTE_1, Route1, 0, 0, 10, PALLET_TOWN
connection south, ROUTE_21, Route21, 0, 0, 10, PALLET_TOWN
map_data Route21, ROUTE_21, $43, NORTH | SOUTH
connection north, PALLET_TOWN, PalletTown, 0, 0, 10, ROUTE_21
connection south, CINNABAR_ISLAND, CinnabarIsland, 0, 0, 10, ROUTE_21
map_data CinnabarIsland, CINNABAR_ISLAND, $43, NORTH | EAST
connection north, ROUTE_21, Route21, 0, 0, 10, CINNABAR_ISLAND
connection east, ROUTE_20, Route20, 0, 0, 9, CINNABAR_ISLAND
map_data Route20, ROUTE_20, $43, WEST | EAST
connection west, CINNABAR_ISLAND, CinnabarIsland, 0, 0, 9, ROUTE_20
connection east, ROUTE_19, Route19, -3, 6, 12, ROUTE_20
map_data Route19, ROUTE_19, $43, NORTH | WEST
connection north, FUCHSIA_CITY, FuchsiaCity, 0, 0, 13, ROUTE_19
connection west, ROUTE_20, Route20, 9, 0, 9, ROUTE_19
map_data FuchsiaCity, FUCHSIA_CITY, $0f, SOUTH | WEST | EAST
connection south, ROUTE_19, Route19, 0, 0, 10, FUCHSIA_CITY
connection west, ROUTE_18, Route18, 7, 0, 9, FUCHSIA_CITY
connection east, ROUTE_15, Route15, 9, 0, 9, FUCHSIA_CITY
map_data Route18, ROUTE_18, $43, WEST | EAST
connection west, ROUTE_17, Route17, -3, 35, 10, ROUTE_18
connection east, FUCHSIA_CITY, FuchsiaCity, -3, 4, 14, ROUTE_18
map_data Route17, ROUTE_17, $43, NORTH | EAST
connection north, ROUTE_16, Route16, 0, 0, 10, ROUTE_17
connection east, ROUTE_18, Route18, 38, 0, 9, ROUTE_17
map_data Route16, ROUTE_16, $0f, SOUTH | EAST
connection south, ROUTE_17, Route17, 0, 0, 10, ROUTE_16
connection east, CELADON_CITY, CeladonCity, -3, 6, 12, ROUTE_16
map_data CeladonCity, CELADON_CITY, $0f, WEST | EAST
connection west, ROUTE_16, Route16, 9, 0, 9, CELADON_CITY
connection east, ROUTE_7, Route7, 5, 0, 9, CELADON_CITY
map_data Route7, ROUTE_7, $0f, WEST | EAST
connection west, CELADON_CITY, CeladonCity, -3, 2, 15, ROUTE_7
connection east, SAFFRON_CITY, SaffronCity, -3, 6, 12, ROUTE_7
map_data Route15, ROUTE_15, $0f, WEST | EAST
connection west, FUCHSIA_CITY, FuchsiaCity, -3, 6, 12, ROUTE_15
connection east, ROUTE_14, Route14, -3, 6, 12, ROUTE_15
map_data Route14, ROUTE_14, $43, NORTH | WEST
connection north, ROUTE_13, Route13, 0, 0, 13, ROUTE_14
connection west, ROUTE_15, Route15, 9, 0, 9, ROUTE_14
map_data Route13, ROUTE_13, $43, NORTH | SOUTH
connection north, ROUTE_12, Route12, 20, 0, 10, ROUTE_13
connection south, ROUTE_14, Route14, 0, 0, 10, ROUTE_13
map_data Route12, ROUTE_12, $43, NORTH | SOUTH | WEST
connection north, LAVENDER_TOWN, LavenderTown, 0, 0, 10, ROUTE_12
connection south, ROUTE_13, Route13, -3, 17, 13, ROUTE_12
connection west, ROUTE_11, Route11, 9, 0, 9, ROUTE_12
map_data Route11, ROUTE_11, $0f, WEST | EAST
connection west, VERMILION_CITY, VermilionCity, 0, 0, 12, ROUTE_11
connection east, ROUTE_12, Route12, -3, 6, 15, ROUTE_11
map_data LavenderTown, LAVENDER_TOWN, $2c, NORTH | SOUTH | WEST
connection north, ROUTE_10_SOUTH, Route10South, 0, 0, 10, LAVENDER_TOWN
connection south, ROUTE_12, Route12, 0, 0, 10, LAVENDER_TOWN
connection west, ROUTE_8, Route8, 0, 0, 9, LAVENDER_TOWN
map_data VermilionCity, VERMILION_CITY, $43, NORTH | EAST
connection north, ROUTE_6, Route6, 5, 0, 10, VERMILION_CITY
connection east, ROUTE_11, Route11, 0, 0, 9, VERMILION_CITY
map_data Route6, ROUTE_6, $0f, NORTH | SOUTH
connection north, SAFFRON_CITY, SaffronCity, -3, 2, 16, ROUTE_6
connection south, VERMILION_CITY, VermilionCity, -3, 2, 16, ROUTE_6
map_data SaffronCity, SAFFRON_CITY, $0f, NORTH | SOUTH | WEST | EAST
connection north, ROUTE_5, Route5, 5, 0, 10, SAFFRON_CITY
connection south, ROUTE_6, Route6, 5, 0, 10, SAFFRON_CITY
connection west, ROUTE_7, Route7, 9, 0, 9, SAFFRON_CITY
connection east, ROUTE_8, Route8, 9, 0, 9, SAFFRON_CITY
map_data Route5, ROUTE_5, $0f, NORTH | SOUTH
connection north, CERULEAN_CITY, CeruleanCity, -3, 2, 16, ROUTE_5
connection south, SAFFRON_CITY, SaffronCity, -3, 2, 16, ROUTE_5
map_data CeruleanCity, CERULEAN_CITY, $0f, NORTH | SOUTH | WEST | EAST
connection north, ROUTE_24, Route24, 6, 0, 10, CERULEAN_CITY
connection south, ROUTE_5, Route5, 5, 0, 10, CERULEAN_CITY
connection west, ROUTE_4, Route4, 5, 0, 9, CERULEAN_CITY
connection east, ROUTE_9, Route9, 9, 0, 9, CERULEAN_CITY
map_data Route9, ROUTE_9, $2c, SOUTH | WEST
connection south, ROUTE_10_NORTH, Route10North, 20, 0, 10, ROUTE_9
connection west, CERULEAN_CITY, CeruleanCity, -3, 6, 12, ROUTE_9
map_data Route24, ROUTE_24, $2c, NORTH | SOUTH
connection north, ROUTE_25, Route25, 0, 0, 13, ROUTE_24
connection south, CERULEAN_CITY, CeruleanCity, -3, 3, 16, ROUTE_24
map_data Route25, ROUTE_25, $2c, SOUTH
connection south, ROUTE_24, Route24, 0, 0, 10, ROUTE_25
map_data Route3, ROUTE_3, $2c, WEST | EAST
connection west, PEWTER_CITY, PewterCity, -3, 2, 15, ROUTE_3
connection east, ROUTE_4, Route4, 0, 0, 9, ROUTE_3
map_data Route4, ROUTE_4, $2c, WEST | EAST
connection west, ROUTE_3, Route3, 0, 0, 9, ROUTE_4
connection east, CERULEAN_CITY, CeruleanCity, -3, 2, 15, ROUTE_4
map_data Route8, ROUTE_8, $2c, WEST | EAST
connection west, SAFFRON_CITY, SaffronCity, -3, 6, 12, ROUTE_8
connection east, LAVENDER_TOWN, LavenderTown, 0, 0, 9, ROUTE_8
map_data Route10North, ROUTE_10_NORTH, $2c, NORTH | SOUTH
connection north, ROUTE_9, Route9, -3, 17, 13, ROUTE_10_NORTH
connection south, ROUTE_10_SOUTH, Route10South, 0, 0, 10, ROUTE_10_NORTH
map_data Route10South, ROUTE_10_SOUTH, $2c, NORTH | SOUTH
connection north, ROUTE_10_NORTH, Route10North, 0, 0, 10, ROUTE_10_SOUTH
connection south, LAVENDER_TOWN, LavenderTown, 0, 0, 10, ROUTE_10_SOUTH
map_data Route23, ROUTE_23, $0f, 0
map_data SproutTower1F, SPROUT_TOWER_1F, $00, 0
map_data SproutTower2F, SPROUT_TOWER_2F, $00, 0
map_data SproutTower3F, SPROUT_TOWER_3F, $00, 0
map_data TinTower1F, TIN_TOWER_1F, $00, 0
map_data TinTower2F, TIN_TOWER_2F, $00, 0
map_data TinTower3F, TIN_TOWER_3F, $00, 0
map_data TinTower4F, TIN_TOWER_4F, $00, 0
map_data TinTower5F, TIN_TOWER_5F, $00, 0
map_data TinTower6F, TIN_TOWER_6F, $00, 0
map_data TinTower7F, TIN_TOWER_7F, $00, 0
map_data TinTower8F, TIN_TOWER_8F, $00, 0
map_data TinTower9F, TIN_TOWER_9F, $00, 0
map_data BurnedTower1F, BURNED_TOWER_1F, $00, 0
map_data BurnedTowerB1F, BURNED_TOWER_B1F, $09, 0
map_data NationalPark, NATIONAL_PARK, $00, 0
map_data NationalParkBugContest, NATIONAL_PARK_BUG_CONTEST, $00, 0
map_data RadioTower1F, RADIO_TOWER_1F, $00, 0
map_data RadioTower2F, RADIO_TOWER_2F, $00, 0
map_data RadioTower3F, RADIO_TOWER_3F, $00, 0
map_data RadioTower4F, RADIO_TOWER_4F, $00, 0
map_data RadioTower5F, RADIO_TOWER_5F, $00, 0
map_data RuinsOfAlphOutside, RUINS_OF_ALPH_OUTSIDE, $05, 0
map_data RuinsOfAlphHoOhChamber, RUINS_OF_ALPH_HO_OH_CHAMBER, $00, 0
map_data RuinsOfAlphKabutoChamber, RUINS_OF_ALPH_KABUTO_CHAMBER, $00, 0
map_data RuinsOfAlphOmanyteChamber, RUINS_OF_ALPH_OMANYTE_CHAMBER, $00, 0
map_data RuinsOfAlphAerodactylChamber, RUINS_OF_ALPH_AERODACTYL_CHAMBER, $00, 0
map_data RuinsOfAlphInnerChamber, RUINS_OF_ALPH_INNER_CHAMBER, $00, 0
map_data RuinsOfAlphResearchCenter, RUINS_OF_ALPH_RESEARCH_CENTER, $00, 0
map_data RuinsOfAlphHoOhItemRoom, RUINS_OF_ALPH_HO_OH_ITEM_ROOM, $00, 0
map_data RuinsOfAlphKabutoItemRoom, RUINS_OF_ALPH_KABUTO_ITEM_ROOM, $00, 0
map_data RuinsOfAlphOmanyteItemRoom, RUINS_OF_ALPH_OMANYTE_ITEM_ROOM, $00, 0
map_data RuinsOfAlphAerodactylItemRoom, RUINS_OF_ALPH_AERODACTYL_ITEM_ROOM, $00, 0
map_data RuinsOfAlphHoOhWordRoom, RUINS_OF_ALPH_HO_OH_WORD_ROOM, $00, 0
map_data RuinsOfAlphKabutoWordRoom, RUINS_OF_ALPH_KABUTO_WORD_ROOM, $00, 0
map_data RuinsOfAlphOmanyteWordRoom, RUINS_OF_ALPH_OMANYTE_WORD_ROOM, $00, 0
map_data RuinsOfAlphAerodactylWordRoom, RUINS_OF_ALPH_AERODACTYL_WORD_ROOM, $00, 0
map_data UnionCave1F, UNION_CAVE_1F, $09, 0
map_data UnionCaveB1F, UNION_CAVE_B1F, $09, 0
map_data UnionCaveB2F, UNION_CAVE_B2F, $09, 0
map_data SlowpokeWellB1F, SLOWPOKE_WELL_B1F, $09, 0
map_data SlowpokeWellB2F, SLOWPOKE_WELL_B2F, $09, 0
map_data OlivineLighthouse1F, OLIVINE_LIGHTHOUSE_1F, $00, 0
map_data OlivineLighthouse2F, OLIVINE_LIGHTHOUSE_2F, $00, 0
map_data OlivineLighthouse3F, OLIVINE_LIGHTHOUSE_3F, $00, 0
map_data OlivineLighthouse4F, OLIVINE_LIGHTHOUSE_4F, $00, 0
map_data OlivineLighthouse5F, OLIVINE_LIGHTHOUSE_5F, $00, 0
map_data OlivineLighthouse6F, OLIVINE_LIGHTHOUSE_6F, $00, 0
map_data MahoganyMart1F, MAHOGANY_MART_1F, $00, 0
map_data TeamRocketBaseB1F, TEAM_ROCKET_BASE_B1F, $00, 0
map_data TeamRocketBaseB2F, TEAM_ROCKET_BASE_B2F, $00, 0
map_data TeamRocketBaseB3F, TEAM_ROCKET_BASE_B3F, $00, 0
map_data IlexForest, ILEX_FOREST, $05, 0
map_data GoldenrodUnderground, GOLDENROD_UNDERGROUND, $00, 0
map_data GoldenrodUndergroundSwitchRoomEntrances, GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, $00, 0
map_data GoldenrodDeptStoreB1F, GOLDENROD_DEPT_STORE_B1F, $00, 0
map_data GoldenrodUndergroundWarehouse, GOLDENROD_UNDERGROUND_WAREHOUSE, $00, 0
map_data MountMortar1FOutside, MOUNT_MORTAR_1F_OUTSIDE, $09, 0
map_data MountMortar1FInside, MOUNT_MORTAR_1F_INSIDE, $09, 0
map_data MountMortar2FInside, MOUNT_MORTAR_2F_INSIDE, $09, 0
map_data MountMortarB1F, MOUNT_MORTAR_B1F, $09, 0
map_data IcePath1F, ICE_PATH_1F, $09, 0
map_data IcePathB1F, ICE_PATH_B1F, $19, 0
map_data IcePathB2FMahoganySide, ICE_PATH_B2F_MAHOGANY_SIDE, $19, 0
map_data IcePathB2FBlackthornSide, ICE_PATH_B2F_BLACKTHORN_SIDE, $19, 0
map_data IcePathB3F, ICE_PATH_B3F, $19, 0
map_data WhirlIslandNW, WHIRL_ISLAND_NW, $09, 0
map_data WhirlIslandNE, WHIRL_ISLAND_NE, $09, 0
map_data WhirlIslandSW, WHIRL_ISLAND_SW, $09, 0
map_data WhirlIslandCave, WHIRL_ISLAND_CAVE, $09, 0
map_data WhirlIslandSE, WHIRL_ISLAND_SE, $0f, 0
map_data WhirlIslandB1F, WHIRL_ISLAND_B1F, $09, 0
map_data WhirlIslandB2F, WHIRL_ISLAND_B2F, $2e, 0
map_data WhirlIslandLugiaChamber, WHIRL_ISLAND_LUGIA_CHAMBER, $0f, 0
map_data SilverCaveRoom1, SILVER_CAVE_ROOM_1, $09, 0
map_data SilverCaveRoom2, SILVER_CAVE_ROOM_2, $09, 0
map_data SilverCaveRoom3, SILVER_CAVE_ROOM_3, $09, 0
map_data SilverCaveItemRooms, SILVER_CAVE_ITEM_ROOMS, $09, 0
map_data DarkCaveVioletEntrance, DARK_CAVE_VIOLET_ENTRANCE, $09, 0
map_data DarkCaveBlackthornEntrance, DARK_CAVE_BLACKTHORN_ENTRANCE, $09, 0
map_data DragonsDen1F, DRAGONS_DEN_1F, $09, 0
map_data DragonsDenB1F, DRAGONS_DEN_B1F, $71, 0
map_data DragonShrine, DRAGON_SHRINE, $00, 0
map_data TohjoFalls, TOHJO_FALLS, $09, 0
map_data OlivinePokecenter1F, OLIVINE_POKECENTER_1F, $00, 0
map_data OlivineGym, OLIVINE_GYM, $00, 0
map_data OlivineTimsHouse, OLIVINE_TIMS_HOUSE, $00, 0
map_data OlivineHouseBeta, OLIVINE_HOUSE_BETA, $00, 0
map_data OlivinePunishmentSpeechHouse, OLIVINE_PUNISHMENT_SPEECH_HOUSE, $00, 0
map_data OlivineGoodRodHouse, OLIVINE_GOOD_ROD_HOUSE, $00, 0
map_data OlivineCafe, OLIVINE_CAFE, $00, 0
map_data OlivineMart, OLIVINE_MART, $00, 0
map_data Route38EcruteakGate, ROUTE_38_ECRUTEAK_GATE, $00, 0
map_data Route39Barn, ROUTE_39_BARN, $00, 0
map_data Route39Farmhouse, ROUTE_39_FARMHOUSE, $00, 0
map_data MahoganyRedGyaradosSpeechHouse, MAHOGANY_RED_GYARADOS_SPEECH_HOUSE, $00, 0
map_data MahoganyGym, MAHOGANY_GYM, $00, 0
map_data MahoganyPokecenter1F, MAHOGANY_POKECENTER_1F, $00, 0
map_data Route42EcruteakGate, ROUTE_42_ECRUTEAK_GATE, $00, 0
map_data DiglettsCave, DIGLETTS_CAVE, $09, 0
map_data MountMoon, MOUNT_MOON, $09, 0
map_data UndergroundPath, UNDERGROUND_PATH, $00, 0
map_data RockTunnel1F, ROCK_TUNNEL_1F, $09, 0
map_data RockTunnelB1F, ROCK_TUNNEL_B1F, $09, 0
map_data SafariZoneFuchsiaGateBeta, SAFARI_ZONE_FUCHSIA_GATE_BETA, $00, 0
map_data SafariZoneBeta, SAFARI_ZONE_BETA, $13, 0
map_data VictoryRoad, VICTORY_ROAD, $1d, 0
map_data EcruteakHouse, ECRUTEAK_HOUSE, $00, 0
map_data WiseTriosRoom, WISE_TRIOS_ROOM, $00, 0
map_data EcruteakPokecenter1F, ECRUTEAK_POKECENTER_1F, $00, 0
map_data EcruteakLugiaSpeechHouse, ECRUTEAK_LUGIA_SPEECH_HOUSE, $00, 0
map_data DanceTheatre, DANCE_THEATRE, $00, 0
map_data EcruteakMart, ECRUTEAK_MART, $00, 0
map_data EcruteakGym, ECRUTEAK_GYM, $00, 0
map_data EcruteakItemfinderHouse, ECRUTEAK_ITEMFINDER_HOUSE, $00, 0
map_data BlackthornGym1F, BLACKTHORN_GYM_1F, $00, 0
map_data BlackthornGym2F, BLACKTHORN_GYM_2F, $00, 0
map_data BlackthornDragonSpeechHouse, BLACKTHORN_DRAGON_SPEECH_HOUSE, $00, 0
map_data BlackthornEmysHouse, BLACKTHORN_EMYS_HOUSE, $00, 0
map_data BlackthornMart, BLACKTHORN_MART, $00, 0
map_data BlackthornPokecenter1F, BLACKTHORN_POKECENTER_1F, $00, 0
map_data MoveDeletersHouse, MOVE_DELETERS_HOUSE, $00, 0
map_data CinnabarPokecenter1F, CINNABAR_POKECENTER_1F, $00, 0
map_data CinnabarPokecenter2FBeta, CINNABAR_POKECENTER_2F_BETA, $00, 0
map_data Route19FuchsiaGate, ROUTE_19_FUCHSIA_GATE, $00, 0
map_data SeafoamGym, SEAFOAM_GYM, $09, 0
map_data CeruleanGymBadgeSpeechHouse, CERULEAN_GYM_BADGE_SPEECH_HOUSE, $00, 0
map_data CeruleanPoliceStation, CERULEAN_POLICE_STATION, $00, 0
map_data CeruleanTradeSpeechHouse, CERULEAN_TRADE_SPEECH_HOUSE, $00, 0
map_data CeruleanPokecenter1F, CERULEAN_POKECENTER_1F, $00, 0
map_data CeruleanPokecenter2FBeta, CERULEAN_POKECENTER_2F_BETA, $00, 0
map_data CeruleanGym, CERULEAN_GYM, $00, 0
map_data CeruleanMart, CERULEAN_MART, $00, 0
map_data Route10Pokecenter1F, ROUTE_10_POKECENTER_1F, $00, 0
map_data Route10Pokecenter2FBeta, ROUTE_10_POKECENTER_2F_BETA, $00, 0
map_data PowerPlant, POWER_PLANT, $00, 0
map_data BillsHouse, BILLS_HOUSE, $00, 0
map_data AzaleaPokecenter1F, AZALEA_POKECENTER_1F, $00, 0
map_data CharcoalKiln, CHARCOAL_KILN, $00, 0
map_data AzaleaMart, AZALEA_MART, $00, 0
map_data KurtsHouse, KURTS_HOUSE, $00, 0
map_data AzaleaGym, AZALEA_GYM, $00, 0
map_data LakeOfRageHiddenPowerHouse, LAKE_OF_RAGE_HIDDEN_POWER_HOUSE, $00, 0
map_data LakeOfRageMagikarpHouse, LAKE_OF_RAGE_MAGIKARP_HOUSE, $00, 0
map_data Route43MahoganyGate, ROUTE_43_MAHOGANY_GATE, $00, 0
map_data Route43Gate, ROUTE_43_GATE, $00, 0
map_data VioletMart, VIOLET_MART, $00, 0
map_data VioletGym, VIOLET_GYM, $00, 0
map_data EarlsPokemonAcademy, EARLS_POKEMON_ACADEMY, $00, 0
map_data VioletNicknameSpeechHouse, VIOLET_NICKNAME_SPEECH_HOUSE, $00, 0
map_data VioletPokecenter1F, VIOLET_POKECENTER_1F, $00, 0
map_data VioletKylesHouse, VIOLET_KYLES_HOUSE, $00, 0
map_data Route32RuinsOfAlphGate, ROUTE_32_RUINS_OF_ALPH_GATE, $00, 0
map_data Route32Pokecenter1F, ROUTE_32_POKECENTER_1F, $00, 0
map_data Route35GoldenrodGate, ROUTE_35_GOLDENROD_GATE, $00, 0
map_data Route35NationalParkGate, ROUTE_35_NATIONAL_PARK_GATE, $00, 0
map_data Route36RuinsOfAlphGate, ROUTE_36_RUINS_OF_ALPH_GATE, $00, 0
map_data Route36NationalParkGate, ROUTE_36_NATIONAL_PARK_GATE, $00, 0
map_data GoldenrodGym, GOLDENROD_GYM, $00, 0
map_data GoldenrodBikeShop, GOLDENROD_BIKE_SHOP, $00, 0
map_data GoldenrodHappinessRater, GOLDENROD_HAPPINESS_RATER, $00, 0
map_data GoldenrodBillsHouse, GOLDENROD_BILLS_HOUSE, $00, 0
map_data GoldenrodMagnetTrainStation, GOLDENROD_MAGNET_TRAIN_STATION, $00, 0
map_data GoldenrodFlowerShop, GOLDENROD_FLOWER_SHOP, $00, 0
map_data GoldenrodPPSpeechHouse, GOLDENROD_PP_SPEECH_HOUSE, $00, 0
map_data GoldenrodNameRater, GOLDENROD_NAME_RATER, $00, 0
map_data GoldenrodDeptStore1F, GOLDENROD_DEPT_STORE_1F, $00, 0
map_data GoldenrodDeptStore2F, GOLDENROD_DEPT_STORE_2F, $00, 0
map_data GoldenrodDeptStore3F, GOLDENROD_DEPT_STORE_3F, $00, 0
map_data GoldenrodDeptStore4F, GOLDENROD_DEPT_STORE_4F, $00, 0
map_data GoldenrodDeptStore5F, GOLDENROD_DEPT_STORE_5F, $00, 0
map_data GoldenrodDeptStore6F, GOLDENROD_DEPT_STORE_6F, $00, 0
map_data GoldenrodDeptStoreElevator, GOLDENROD_DEPT_STORE_ELEVATOR, $00, 0
map_data GoldenrodDeptStoreRoof, GOLDENROD_DEPT_STORE_ROOF, $24, 0
map_data GoldenrodGameCorner, GOLDENROD_GAME_CORNER, $00, 0
map_data GoldenrodPokecenter1F, GOLDENROD_POKECENTER_1F, $00, 0
map_data GoldenrodPokeComCenter2FMobile, GOLDENROD_POKECOM_CENTER_2F_MOBILE, $00, 0
map_data IlexForestAzaleaGate, ILEX_FOREST_AZALEA_GATE, $00, 0
map_data Route34IlexForestGate, ROUTE_34_ILEX_FOREST_GATE, $00, 0
map_data DayCare, DAY_CARE, $00, 0
map_data VermilionHouseFishingSpeechHouse, VERMILION_HOUSE_FISHING_SPEECH_HOUSE, $00, 0
map_data VermilionPokecenter1F, VERMILION_POKECENTER_1F, $00, 0
map_data VermilionPokecenter2FBeta, VERMILION_POKECENTER_2F_BETA, $00, 0
map_data PokemonFanClub, POKEMON_FAN_CLUB, $00, 0
map_data VermilionMagnetTrainSpeechHouse, VERMILION_MAGNET_TRAIN_SPEECH_HOUSE, $00, 0
map_data VermilionMart, VERMILION_MART, $00, 0
map_data VermilionHouseDiglettsCaveSpeechHouse, VERMILION_HOUSE_DIGLETTS_CAVE_SPEECH_HOUSE, $00, 0
map_data VermilionGym, VERMILION_GYM, $00, 0
map_data Route6SaffronGate, ROUTE_6_SAFFRON_GATE, $00, 0
map_data Route6UndergroundPathEntrance, ROUTE_6_UNDERGROUND_PATH_ENTRANCE, $00, 0
map_data RedsHouse1F, REDS_HOUSE_1F, $00, 0
map_data RedsHouse2F, REDS_HOUSE_2F, $00, 0
map_data BluesHouse, BLUES_HOUSE, $00, 0
map_data OaksLab, OAKS_LAB, $00, 0
map_data PewterNidoranSpeechHouse, PEWTER_NIDORAN_SPEECH_HOUSE, $00, 0
map_data PewterGym, PEWTER_GYM, $00, 0
map_data PewterMart, PEWTER_MART, $00, 0
map_data PewterPokecenter1F, PEWTER_POKECENTER_1F, $00, 0
map_data PewterPokecenter2FBeta, PEWTER_POKECENTER_2F_BETA, $00, 0
map_data PewterSnoozeSpeechHouse, PEWTER_SNOOZE_SPEECH_HOUSE, $00, 0
map_data OlivinePort, OLIVINE_PORT, $0a, 0
map_data VermilionPort, VERMILION_PORT, $0a, 0
map_data FastShip1F, FAST_SHIP_1F, $00, 0
map_data FastShipCabins_NNW_NNE_NE, FAST_SHIP_CABINS_NNW_NNE_NE, $00, 0
map_data FastShipCabins_SW_SSW_NW, FAST_SHIP_CABINS_SW_SSW_NW, $00, 0
map_data FastShipCabins_SE_SSE_CaptainsCabin, FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN, $00, 0
map_data FastShipB1F, FAST_SHIP_B1F, $00, 0
map_data OlivinePortPassage, OLIVINE_PORT_PASSAGE, $00, 0
map_data VermilionPortPassage, VERMILION_PORT_PASSAGE, $00, 0
map_data MountMoonSquare, MOUNT_MOON_SQUARE, $2d, 0
map_data MountMoonGiftShop, MOUNT_MOON_GIFT_SHOP, $00, 0
map_data TinTowerRoof, TIN_TOWER_ROOF, $00, 0
map_data IndigoPlateauPokecenter1F, INDIGO_PLATEAU_POKECENTER_1F, $00, 0
map_data WillsRoom, WILLS_ROOM, $00, 0
map_data KogasRoom, KOGAS_ROOM, $00, 0
map_data BrunosRoom, BRUNOS_ROOM, $00, 0
map_data KarensRoom, KARENS_ROOM, $00, 0
map_data LancesRoom, LANCES_ROOM, $00, 0
map_data HallOfFame, HALL_OF_FAME, $00, 0
map_data FuchsiaMart, FUCHSIA_MART, $00, 0
map_data SafariZoneMainOffice, SAFARI_ZONE_MAIN_OFFICE, $00, 0
map_data FuchsiaGym, FUCHSIA_GYM, $00, 0
map_data FuchsiaBillSpeechHouse, FUCHSIA_BILL_SPEECH_HOUSE, $00, 0
map_data FuchsiaPokecenter1F, FUCHSIA_POKECENTER_1F, $00, 0
map_data FuchsiaPokecenter2FBeta, FUCHSIA_POKECENTER_2F_BETA, $00, 0
map_data SafariZoneWardensHome, SAFARI_ZONE_WARDENS_HOME, $00, 0
map_data Route15FuchsiaGate, ROUTE_15_FUCHSIA_GATE, $00, 0
map_data LavenderPokecenter1F, LAVENDER_POKECENTER_1F, $00, 0
map_data LavenderPokecenter2FBeta, LAVENDER_POKECENTER_2F_BETA, $00, 0
map_data MrFujisHouse, MR_FUJIS_HOUSE, $00, 0
map_data LavenderSpeechHouse, LAVENDER_SPEECH_HOUSE, $00, 0
map_data LavenderNameRater, LAVENDER_NAME_RATER, $00, 0
map_data LavenderMart, LAVENDER_MART, $00, 0
map_data SoulHouse, SOUL_HOUSE, $00, 0
map_data LavRadioTower1F, LAV_RADIO_TOWER_1F, $00, 0
map_data Route8SaffronGate, ROUTE_8_SAFFRON_GATE, $00, 0
map_data Route12SuperRodHouse, ROUTE_12_SUPER_ROD_HOUSE, $00, 0
map_data SilverCavePokecenter1F, SILVER_CAVE_POKECENTER_1F, $00, 0
map_data Route28FamousSpeechHouse, ROUTE_28_FAMOUS_SPEECH_HOUSE, $00, 0
map_data Pokecenter2F, POKECENTER_2F, $00, 0
map_data TradeCenter, TRADE_CENTER, $00, 0
map_data Colosseum, COLOSSEUM, $00, 0
map_data TimeCapsule, TIME_CAPSULE, $00, 0
map_data MobileTradeRoomMobile, MOBILE_TRADE_ROOM_MOBILE, $00, 0
map_data MobileBattleRoom, MOBILE_BATTLE_ROOM, $00, 0
map_data CeladonDeptStore1F, CELADON_DEPT_STORE_1F, $00, 0
map_data CeladonDeptStore2F, CELADON_DEPT_STORE_2F, $00, 0
map_data CeladonDeptStore3F, CELADON_DEPT_STORE_3F, $00, 0
map_data CeladonDeptStore4F, CELADON_DEPT_STORE_4F, $00, 0
map_data CeladonDeptStore5F, CELADON_DEPT_STORE_5F, $00, 0
map_data CeladonDeptStore6F, CELADON_DEPT_STORE_6F, $00, 0
map_data CeladonDeptStoreElevator, CELADON_DEPT_STORE_ELEVATOR, $00, 0
map_data CeladonMansion1F, CELADON_MANSION_1F, $00, 0
map_data CeladonMansion2F, CELADON_MANSION_2F, $00, 0
map_data CeladonMansion3F, CELADON_MANSION_3F, $00, 0
map_data CeladonMansionRoof, CELADON_MANSION_ROOF, $01, 0
map_data CeladonMansionRoofHouse, CELADON_MANSION_ROOF_HOUSE, $00, 0
map_data CeladonPokecenter1F, CELADON_POKECENTER_1F, $00, 0
map_data CeladonPokecenter2FBeta, CELADON_POKECENTER_2F_BETA, $00, 0
map_data CeladonGameCorner, CELADON_GAME_CORNER, $00, 0
map_data CeladonGameCornerPrizeRoom, CELADON_GAME_CORNER_PRIZE_ROOM, $00, 0
map_data CeladonGym, CELADON_GYM, $00, 0
map_data CeladonCafe, CELADON_CAFE, $00, 0
map_data Route16FuchsiaSpeechHouse, ROUTE_16_FUCHSIA_SPEECH_HOUSE, $00, 0
map_data Route16Gate, ROUTE_16_GATE, $00, 0
map_data Route7SaffronGate, ROUTE_7_SAFFRON_GATE, $00, 0
map_data Route17Route18Gate, ROUTE_17_ROUTE_18_GATE, $00, 0
map_data ManiasHouse, MANIAS_HOUSE, $00, 0
map_data CianwoodGym, CIANWOOD_GYM, $00, 0
map_data CianwoodPokecenter1F, CIANWOOD_POKECENTER_1F, $00, 0
map_data CianwoodPharmacy, CIANWOOD_PHARMACY, $00, 0
map_data CianwoodPhotoStudio, CIANWOOD_PHOTO_STUDIO, $00, 0
map_data CianwoodLugiaSpeechHouse, CIANWOOD_LUGIA_SPEECH_HOUSE, $00, 0
map_data PokeSeersHouse, POKE_SEERS_HOUSE, $00, 0
map_data BattleTower1F, BATTLE_TOWER_1F, $00, 0
map_data BattleTowerBattleRoom, BATTLE_TOWER_BATTLE_ROOM, $00, 0
map_data BattleTowerElevator, BATTLE_TOWER_ELEVATOR, $00, 0
map_data BattleTowerHallway, BATTLE_TOWER_HALLWAY, $00, 0
map_data Route40BattleTowerGate, ROUTE_40_BATTLE_TOWER_GATE, $00, 0
map_data BattleTowerOutside, BATTLE_TOWER_OUTSIDE, $05, 0
map_data ViridianGym, VIRIDIAN_GYM, $00, 0
map_data ViridianNicknameSpeechHouse, VIRIDIAN_NICKNAME_SPEECH_HOUSE, $00, 0
map_data TrainerHouse1F, TRAINER_HOUSE_1F, $00, 0
map_data TrainerHouseB1F, TRAINER_HOUSE_B1F, $00, 0
map_data ViridianMart, VIRIDIAN_MART, $00, 0
map_data ViridianPokecenter1F, VIRIDIAN_POKECENTER_1F, $00, 0
map_data ViridianPokecenter2FBeta, VIRIDIAN_POKECENTER_2F_BETA, $00, 0
map_data Route2NuggetSpeechHouse, ROUTE_2_NUGGET_SPEECH_HOUSE, $00, 0
map_data Route2Gate, ROUTE_2_GATE, $00, 0
map_data VictoryRoadGate, VICTORY_ROAD_GATE, $00, 0
map_data ElmsLab, ELMS_LAB, $00, 0
map_data KrissHouse1F, KRISS_HOUSE_1F, $00, 0
map_data KrissHouse2F, KRISS_HOUSE_2F, $00, 0
map_data KrissNeighborsHouse, KRISS_NEIGHBORS_HOUSE, $00, 0
map_data ElmsHouse, ELMS_HOUSE, $00, 0
map_data Route26HealSpeechHouse, ROUTE_26_HEAL_SPEECH_HOUSE, $00, 0
map_data Route26DayofWeekSiblingsHouse, ROUTE_26_DAY_OF_WEEK_SIBLINGS_HOUSE, $00, 0
map_data Route27SandstormHouse, ROUTE_27_SANDSTORM_HOUSE, $00, 0
map_data Route29Route46Gate, ROUTE_29_ROUTE_46_GATE, $00, 0
map_data FightingDojo, FIGHTING_DOJO, $00, 0
map_data SaffronGym, SAFFRON_GYM, $00, 0
map_data SaffronMart, SAFFRON_MART, $00, 0
map_data SaffronPokecenter1F, SAFFRON_POKECENTER_1F, $00, 0
map_data SaffronPokecenter2FBeta, SAFFRON_POKECENTER_2F_BETA, $00, 0
map_data MrPsychicsHouse, MR_PSYCHICS_HOUSE, $00, 0
map_data SaffronMagnetTrainStation, SAFFRON_MAGNET_TRAIN_STATION, $00, 0
map_data SilphCo1F, SILPH_CO_1F, $00, 0
map_data CopycatsHouse1F, COPYCATS_HOUSE_1F, $00, 0
map_data CopycatsHouse2F, COPYCATS_HOUSE_2F, $00, 0
map_data Route5UndergroundPathEntrance, ROUTE_5_UNDERGROUND_PATH_ENTRANCE, $00, 0
map_data Route5SaffronGate, ROUTE_5_SAFFRON_GATE, $00, 0
map_data Route5CleanseTagSpeechHouse, ROUTE_5_CLEANSE_TAG_SPEECH_HOUSE, $00, 0
map_data CherrygroveMart, CHERRYGROVE_MART, $00, 0
map_data CherrygrovePokecenter1F, CHERRYGROVE_POKECENTER_1F, $00, 0
map_data CherrygroveGymSpeechHouse, CHERRYGROVE_GYM_SPEECH_HOUSE, $00, 0
map_data GuideGentsHouse, GUIDE_GENTS_HOUSE, $00, 0
map_data CherrygroveEvolutionSpeechHouse, CHERRYGROVE_EVOLUTION_SPEECH_HOUSE, $00, 0
map_data Route30BerrySpeechHouse, ROUTE_30_BERRY_SPEECH_HOUSE, $00, 0
map_data MrPokemonsHouse, MR_POKEMONS_HOUSE, $00, 0
map_data Route31VioletGate, ROUTE_31_VIOLET_GATE, $00, 0

View File

@ -1,485 +0,0 @@
map_def: MACRO
;\1: map name: for the MapData pointer (see data/maps/data.asm)
;\2: tileset: a TILESET_* constant
;\3: environment: TOWN, ROUTE, INDOOR, CAVE, ENVIRONMENT_5, GATE, or DUNGEON
;\4: location: from constants/landmark_constants.asm
;\5: music: a MUSIC_* constant
;\6: phone service flag: TRUE to prevent phone calls
;\7: time of day: a PALETTE_* constant
;\8: fishing group: a FISHGROUP_* constant
db BANK(\1_MapData), \2, \3
dw \1_MapData
db \4, \5
dn \6, \7
db \8
ENDM
MapGroupPointers::
; pointers to the first map header of each map group
dw MapGroup_Olivine ; 1
dw MapGroup_Mahogany ; 2
dw MapGroup_Dungeons ; 3
dw MapGroup_Ecruteak ; 4
dw MapGroup_Blackthorn ; 5
dw MapGroup_Cinnabar ; 6
dw MapGroup_Cerulean ; 7
dw MapGroup_Azalea ; 8
dw MapGroup_LakeOfRage ; 9
dw MapGroup_Violet ; 10
dw MapGroup_Goldenrod ; 11
dw MapGroup_Vermilion ; 12
dw MapGroup_Pallet ; 13
dw MapGroup_Pewter ; 14
dw MapGroup_FastShip ; 15
dw MapGroup_Indigo ; 16
dw MapGroup_Fuchsia ; 17
dw MapGroup_Lavender ; 18
dw MapGroup_Silver ; 19
dw MapGroup_CableClub ; 20
dw MapGroup_Celadon ; 21
dw MapGroup_Cianwood ; 22
dw MapGroup_Viridian ; 23
dw MapGroup_NewBark ; 24
dw MapGroup_Saffron ; 25
dw MapGroup_Cherrygrove ; 26
MapGroup_Olivine:
map_def OlivinePokecenter1F, TILESET_POKECENTER, INDOOR, OLIVINE_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineGym, TILESET_CHAMPIONS_ROOM, INDOOR, OLIVINE_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineTimsHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineHouseBeta, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivinePunishmentSpeechHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineGoodRodHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineCafe, TILESET_GAME_CORNER, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineMart, TILESET_MART, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route38EcruteakGate, TILESET_GATE, GATE, ROUTE_38, MUSIC_ROUTE_37, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route39Barn, TILESET_TRADITIONAL_HOUSE, INDOOR, ROUTE_39, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route39Farmhouse, TILESET_HOUSE, INDOOR, ROUTE_39, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route38, TILESET_JOHTO, ROUTE, ROUTE_38, MUSIC_ROUTE_37, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route39, TILESET_JOHTO, ROUTE, ROUTE_39, MUSIC_ROUTE_37, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def OlivineCity, TILESET_JOHTO, TOWN, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Mahogany:
map_def MahoganyRedGyaradosSpeechHouse, TILESET_HOUSE, INDOOR, MAHOGANY_TOWN, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MahoganyGym, TILESET_ELITE_FOUR_ROOM, INDOOR, MAHOGANY_TOWN, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def MahoganyPokecenter1F, TILESET_POKECENTER, INDOOR, MAHOGANY_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route42EcruteakGate, TILESET_GATE, GATE, ROUTE_42, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route42, TILESET_JOHTO, ROUTE, ROUTE_42, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def Route44, TILESET_JOHTO, ROUTE, ROUTE_44, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def MahoganyTown, TILESET_JOHTO, TOWN, MAHOGANY_TOWN, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Dungeons:
map_def SproutTower1F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SproutTower2F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SproutTower3F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower1F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower2F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower3F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower4F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower5F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower6F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower7F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower8F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTower9F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BurnedTower1F, TILESET_TOWER, DUNGEON, BURNED_TOWER, MUSIC_BURNED_TOWER, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def BurnedTowerB1F, TILESET_CAVE, CAVE, BURNED_TOWER, MUSIC_BURNED_TOWER, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def NationalPark, TILESET_PARK, ROUTE, NATIONAL_PARK, MUSIC_NATIONAL_PARK, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def NationalParkBugContest, TILESET_PARK, ROUTE, NATIONAL_PARK, MUSIC_BUG_CATCHING_CONTEST, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def RadioTower1F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RadioTower2F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RadioTower3F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RadioTower4F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RadioTower5F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphOutside, TILESET_JOHTO, ROUTE, RUINS_OF_ALPH, MUSIC_UNION_CAVE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def RuinsOfAlphHoOhChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphKabutoChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphOmanyteChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphAerodactylChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphInnerChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_RUINS_OF_ALPH_INTERIOR, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphResearchCenter, TILESET_FACILITY, INDOOR, RUINS_OF_ALPH, MUSIC_UNION_CAVE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphHoOhItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphKabutoItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphOmanyteItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphAerodactylItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphHoOhWordRoom, TILESET_HO_OH_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphKabutoWordRoom, TILESET_KABUTO_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphOmanyteWordRoom, TILESET_OMANYTE_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def RuinsOfAlphAerodactylWordRoom, TILESET_AERODACTYL_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def UnionCave1F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def UnionCaveB1F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def UnionCaveB2F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def SlowpokeWellB1F, TILESET_CAVE, CAVE, SLOWPOKE_WELL, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def SlowpokeWellB2F, TILESET_CAVE, CAVE, SLOWPOKE_WELL, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def OlivineLighthouse1F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineLighthouse2F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineLighthouse3F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineLighthouse4F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineLighthouse5F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivineLighthouse6F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MahoganyMart1F, TILESET_TRADITIONAL_HOUSE, INDOOR, MAHOGANY_TOWN, MUSIC_MAHOGANY_MART, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def TeamRocketBaseB1F, TILESET_UNDERGROUND, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def TeamRocketBaseB2F, TILESET_FACILITY, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def TeamRocketBaseB3F, TILESET_FACILITY, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def IlexForest, TILESET_FOREST, CAVE, ILEX_FOREST, MUSIC_UNION_CAVE, FALSE, PALETTE_NITE, FISHGROUP_POND
map_def GoldenrodUnderground, TILESET_GATE, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodUndergroundSwitchRoomEntrances, TILESET_ELITE_FOUR_ROOM, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStoreB1F, TILESET_UNDERGROUND, DUNGEON, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodUndergroundWarehouse, TILESET_UNDERGROUND, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def MountMortar1FOutside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def MountMortar1FInside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def MountMortar2FInside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def MountMortarB1F, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def IcePath1F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def IcePathB1F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def IcePathB2FMahoganySide, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def IcePathB2FBlackthornSide, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def IcePathB3F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def WhirlIslandNW, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandNE, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandSW, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandCave, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandSE, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandB1F, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandB2F, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def WhirlIslandLugiaChamber, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map_def SilverCaveRoom1, TILESET_DARK_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map_def SilverCaveRoom2, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def SilverCaveRoom3, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_DAY, FISHGROUP_LAKE
map_def SilverCaveItemRooms, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def DarkCaveVioletEntrance, TILESET_DARK_CAVE, CAVE, DARK_CAVE, MUSIC_DARK_CAVE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map_def DarkCaveBlackthornEntrance, TILESET_DARK_CAVE, CAVE, DARK_CAVE, MUSIC_DARK_CAVE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map_def DragonsDen1F, TILESET_CAVE, CAVE, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def DragonsDenB1F, TILESET_JOHTO, CAVE, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map_def DragonShrine, TILESET_LAB, INDOOR, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def TohjoFalls, TILESET_CAVE, CAVE, TOHJO_FALLS, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map_def DiglettsCave, TILESET_CAVE, CAVE, DIGLETTS_CAVE, MUSIC_MT_MOON, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def MountMoon, TILESET_CAVE, CAVE, MT_MOON, MUSIC_MT_MOON, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map_def UndergroundPath, TILESET_UNDERGROUND, GATE, UNDERGROUND_PATH, MUSIC_MT_MOON, FALSE, PALETTE_NITE, FISHGROUP_SHORE
map_def RockTunnel1F, TILESET_DARK_CAVE, CAVE, ROCK_TUNNEL, MUSIC_MT_MOON, TRUE, PALETTE_DARK, FISHGROUP_SHORE
map_def RockTunnelB1F, TILESET_DARK_CAVE, CAVE, ROCK_TUNNEL, MUSIC_MT_MOON, TRUE, PALETTE_DARK, FISHGROUP_SHORE
map_def SafariZoneFuchsiaGateBeta, TILESET_GATE, INDOOR, FUCHSIA_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SafariZoneBeta, TILESET_PARK, CAVE, FUCHSIA_CITY, MUSIC_EVOLUTION, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def VictoryRoad, TILESET_CAVE, CAVE, VICTORY_ROAD, MUSIC_VICTORY_ROAD, TRUE, PALETTE_NITE, FISHGROUP_SHORE
MapGroup_Ecruteak:
map_def EcruteakHouse, TILESET_TOWER, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def WiseTriosRoom, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakPokecenter1F, TILESET_POKECENTER, INDOOR, ECRUTEAK_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakLugiaSpeechHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def DanceTheatre, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_DANCING_HALL, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakMart, TILESET_MART, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakGym, TILESET_TOWER, INDOOR, ECRUTEAK_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakItemfinderHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def EcruteakCity, TILESET_JOHTO, TOWN, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
MapGroup_Blackthorn:
map_def BlackthornGym1F, TILESET_ELITE_FOUR_ROOM, INDOOR, BLACKTHORN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BlackthornGym2F, TILESET_ELITE_FOUR_ROOM, INDOOR, BLACKTHORN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BlackthornDragonSpeechHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BlackthornEmysHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BlackthornMart, TILESET_MART, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BlackthornPokecenter1F, TILESET_POKECENTER, INDOOR, BLACKTHORN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MoveDeletersHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route45, TILESET_JOHTO, ROUTE, ROUTE_45, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_DRATINI_2
map_def Route46, TILESET_JOHTO, ROUTE, ROUTE_46, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def BlackthornCity, TILESET_JOHTO, TOWN, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_POND
MapGroup_Cinnabar:
map_def CinnabarPokecenter1F, TILESET_POKECENTER, INDOOR, CINNABAR_ISLAND, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CinnabarPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CINNABAR_ISLAND, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route19FuchsiaGate, TILESET_GATE, GATE, ROUTE_19, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SeafoamGym, TILESET_CAVE, INDOOR, SEAFOAM_ISLANDS, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route19, TILESET_KANTO, ROUTE, ROUTE_19, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route20, TILESET_KANTO, ROUTE, ROUTE_20, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def Route21, TILESET_KANTO, ROUTE, ROUTE_21, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def CinnabarIsland, TILESET_KANTO, TOWN, CINNABAR_ISLAND, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
MapGroup_Cerulean:
map_def CeruleanGymBadgeSpeechHouse, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeruleanPoliceStation, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeruleanTradeSpeechHouse, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeruleanPokecenter1F, TILESET_POKECENTER, INDOOR, CERULEAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeruleanPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CERULEAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeruleanGym, TILESET_PORT, INDOOR, CERULEAN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_NONE
map_def CeruleanMart, TILESET_MART, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route10Pokecenter1F, TILESET_POKECENTER, INDOOR, ROUTE_10, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route10Pokecenter2FBeta, TILESET_POKECENTER, INDOOR, ROUTE_10, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PowerPlant, TILESET_FACILITY, INDOOR, POWER_PLANT, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BillsHouse, TILESET_HOUSE, INDOOR, ROUTE_25, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route4, TILESET_KANTO, ROUTE, ROUTE_4, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map_def Route9, TILESET_KANTO, ROUTE, ROUTE_9, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def Route10North, TILESET_KANTO, ROUTE, ROUTE_10, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def Route24, TILESET_KANTO, ROUTE, ROUTE_24, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def Route25, TILESET_KANTO, ROUTE, ROUTE_25, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def CeruleanCity, TILESET_KANTO, TOWN, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_NONE
MapGroup_Azalea:
map_def AzaleaPokecenter1F, TILESET_POKECENTER, INDOOR, AZALEA_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CharcoalKiln, TILESET_HOUSE, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def AzaleaMart, TILESET_MART, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def KurtsHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def AzaleaGym, TILESET_ELITE_FOUR_ROOM, INDOOR, AZALEA_TOWN, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route33, TILESET_JOHTO_MODERN, ROUTE, ROUTE_33, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def AzaleaTown, TILESET_JOHTO_MODERN, TOWN, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_LakeOfRage:
map_def LakeOfRageHiddenPowerHouse, TILESET_HOUSE, INDOOR, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LakeOfRageMagikarpHouse, TILESET_HOUSE, INDOOR, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route43MahoganyGate, TILESET_GATE, GATE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route43Gate, TILESET_GATE, GATE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route43, TILESET_JOHTO, ROUTE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def LakeOfRage, TILESET_JOHTO, TOWN, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_GYARADOS
MapGroup_Violet:
map_def Route32, TILESET_JOHTO, ROUTE, ROUTE_32, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH
map_def Route35, TILESET_JOHTO, ROUTE, ROUTE_35, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def Route36, TILESET_JOHTO, ROUTE, ROUTE_36, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route37, TILESET_JOHTO, ROUTE, ROUTE_37, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def VioletCity, TILESET_JOHTO, TOWN, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def VioletMart, TILESET_MART, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VioletGym, TILESET_ELITE_FOUR_ROOM, INDOOR, VIOLET_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def EarlsPokemonAcademy, TILESET_LAB, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VioletNicknameSpeechHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VioletPokecenter1F, TILESET_POKECENTER, INDOOR, VIOLET_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VioletKylesHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route32RuinsOfAlphGate, TILESET_GATE, GATE, ROUTE_32, MUSIC_ROUTE_30, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route32Pokecenter1F, TILESET_POKECENTER, INDOOR, ROUTE_32, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route35GoldenrodGate, TILESET_GATE, GATE, ROUTE_35, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route35NationalParkGate, TILESET_GATE, INDOOR, ROUTE_35, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route36RuinsOfAlphGate, TILESET_GATE, GATE, ROUTE_36, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route36NationalParkGate, TILESET_GATE, INDOOR, ROUTE_36, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Goldenrod:
map_def Route34, TILESET_JOHTO_MODERN, ROUTE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def GoldenrodCity, TILESET_JOHTO_MODERN, TOWN, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def GoldenrodGym, TILESET_ELITE_FOUR_ROOM, INDOOR, GOLDENROD_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodBikeShop, TILESET_CHAMPIONS_ROOM, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodHappinessRater, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodBillsHouse, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodMagnetTrainStation, TILESET_TRAIN_STATION, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodFlowerShop, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodPPSpeechHouse, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodNameRater, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore1F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore2F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore3F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore4F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore5F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStore6F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStoreElevator, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodDeptStoreRoof, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodGameCorner, TILESET_GAME_CORNER, INDOOR, GOLDENROD_CITY, MUSIC_GAME_CORNER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodPokecenter1F, TILESET_POKECENTER, INDOOR, GOLDENROD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GoldenrodPokeComCenter2FMobile, TILESET_POKECOM_CENTER, INDOOR, GOLDENROD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def IlexForestAzaleaGate, TILESET_GATE, GATE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route34IlexForestGate, TILESET_GATE, GATE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def DayCare, TILESET_HOUSE, INDOOR, ROUTE_34, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Vermilion:
map_def Route6, TILESET_KANTO, ROUTE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def Route11, TILESET_KANTO, ROUTE, ROUTE_11, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def VermilionCity, TILESET_KANTO, TOWN, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def VermilionHouseFishingSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionPokecenter1F, TILESET_POKECENTER, INDOOR, VERMILION_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionPokecenter2FBeta, TILESET_POKECENTER, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PokemonFanClub, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionMagnetTrainSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionMart, TILESET_MART, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionHouseDiglettsCaveSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionGym, TILESET_GAME_CORNER, INDOOR, VERMILION_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route6SaffronGate, TILESET_GATE, GATE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route6UndergroundPathEntrance, TILESET_GATE, GATE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Pallet:
map_def Route1, TILESET_KANTO, ROUTE, ROUTE_1, MUSIC_ROUTE_1, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def PalletTown, TILESET_KANTO, TOWN, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def RedsHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def RedsHouse2F, TILESET_PLAYERS_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BluesHouse, TILESET_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OaksLab, TILESET_LAB, INDOOR, PALLET_TOWN, MUSIC_POKEMON_TALK, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Pewter:
map_def Route3, TILESET_KANTO, ROUTE, ROUTE_3, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def PewterCity, TILESET_KANTO, TOWN, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def PewterNidoranSpeechHouse, TILESET_HOUSE, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PewterGym, TILESET_TOWER, INDOOR, PEWTER_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def PewterMart, TILESET_MART, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PewterPokecenter1F, TILESET_POKECENTER, INDOOR, PEWTER_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PewterPokecenter2FBeta, TILESET_POKECENTER, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PewterSnoozeSpeechHouse, TILESET_HOUSE, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_FastShip:
map_def OlivinePort, TILESET_PORT, ROUTE, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def VermilionPort, TILESET_PORT, ROUTE, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def FastShip1F, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FastShipCabins_NNW_NNE_NE, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FastShipCabins_SW_SSW_NW, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FastShipCabins_SE_SSE_CaptainsCabin, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FastShipB1F, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def OlivinePortPassage, TILESET_UNDERGROUND, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VermilionPortPassage, TILESET_UNDERGROUND, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MountMoonSquare, TILESET_KANTO, ROUTE, MT_MOON, MUSIC_MT_MOON_SQUARE, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def MountMoonGiftShop, TILESET_TRADITIONAL_HOUSE, INDOOR, MT_MOON, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TinTowerRoof, TILESET_TOWER, ROUTE, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Indigo:
map_def Route23, TILESET_KANTO, TOWN, ROUTE_23, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def IndigoPlateauPokecenter1F, TILESET_POKECENTER, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def WillsRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def KogasRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BrunosRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def KarensRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def LancesRoom, TILESET_CHAMPIONS_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def HallOfFame, TILESET_ICE_PATH, INDOOR, INDIGO_PLATEAU, MUSIC_NEW_BARK_TOWN, TRUE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Fuchsia:
map_def Route13, TILESET_KANTO, ROUTE, ROUTE_13, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH_NO_SWARM
map_def Route14, TILESET_KANTO, ROUTE, ROUTE_14, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route15, TILESET_KANTO, ROUTE, ROUTE_15, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route18, TILESET_KANTO, ROUTE, ROUTE_18, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def FuchsiaCity, TILESET_KANTO, TOWN, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_AUTO, FISHGROUP_GYARADOS
map_def FuchsiaMart, TILESET_MART, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SafariZoneMainOffice, TILESET_GAME_CORNER, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FuchsiaGym, TILESET_LAB, INDOOR, FUCHSIA_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def FuchsiaBillSpeechHouse, TILESET_HOUSE, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FuchsiaPokecenter1F, TILESET_POKECENTER, INDOOR, FUCHSIA_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def FuchsiaPokecenter2FBeta, TILESET_POKECENTER, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SafariZoneWardensHome, TILESET_HOUSE, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route15FuchsiaGate, TILESET_GATE, GATE, ROUTE_15, MUSIC_ROUTE_12, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Lavender:
map_def Route8, TILESET_KANTO, ROUTE, ROUTE_8, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route12, TILESET_KANTO, ROUTE, ROUTE_12, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH_NO_SWARM
map_def Route10South, TILESET_KANTO, ROUTE, ROUTE_10, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map_def LavenderTown, TILESET_KANTO, TOWN, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def LavenderPokecenter1F, TILESET_POKECENTER, INDOOR, LAVENDER_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LavenderPokecenter2FBeta, TILESET_POKECENTER, INDOOR, LAVENDER_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MrFujisHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LavenderSpeechHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LavenderNameRater, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LavenderMart, TILESET_MART, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SoulHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def LavRadioTower1F, TILESET_RADIO_TOWER, INDOOR, LAV_RADIO_TOWER, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route8SaffronGate, TILESET_GATE, GATE, ROUTE_8, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route12SuperRodHouse, TILESET_HOUSE, INDOOR, ROUTE_12, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Silver:
map_def Route28, TILESET_KANTO, ROUTE, ROUTE_28, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def SilverCaveOutside, TILESET_KANTO, TOWN, SILVER_CAVE, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def SilverCavePokecenter1F, TILESET_POKECENTER, INDOOR, SILVER_CAVE, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route28FamousSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_28, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_CableClub:
map_def Pokecenter2F, TILESET_POKECENTER, INDOOR, SPECIAL_MAP, MUSIC_POKEMON_CENTER, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def TradeCenter, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def Colosseum, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def TimeCapsule, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def MobileTradeRoomMobile, TILESET_MANSION, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def MobileBattleRoom, TILESET_MANSION, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Celadon:
map_def Route7, TILESET_KANTO, ROUTE, ROUTE_7, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route16, TILESET_KANTO, ROUTE, ROUTE_16, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route17, TILESET_KANTO, ROUTE, ROUTE_17, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map_def CeladonCity, TILESET_KANTO, TOWN, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map_def CeladonDeptStore1F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStore2F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStore3F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStore4F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStore5F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStore6F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonDeptStoreElevator, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonMansion1F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonMansion2F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonMansion3F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonMansionRoof, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonMansionRoofHouse, TILESET_HOUSE, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonPokecenter1F, TILESET_POKECENTER, INDOOR, CELADON_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonGameCorner, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_GAME_CORNER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonGameCornerPrizeRoom, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonGym, TILESET_TRAIN_STATION, INDOOR, CELADON_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def CeladonCafe, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route16FuchsiaSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_16, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route16Gate, TILESET_GATE, GATE, ROUTE_16, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route7SaffronGate, TILESET_GATE, GATE, ROUTE_7, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route17Route18Gate, TILESET_GATE, GATE, ROUTE_17, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Cianwood:
map_def Route40, TILESET_JOHTO, ROUTE, ROUTE_40, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route41, TILESET_JOHTO, ROUTE, ROUTE_41, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def CianwoodCity, TILESET_JOHTO, TOWN, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def ManiasHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CianwoodGym, TILESET_TOWER, INDOOR, CIANWOOD_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def CianwoodPokecenter1F, TILESET_POKECENTER, INDOOR, CIANWOOD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CianwoodPharmacy, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CianwoodPhotoStudio, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CianwoodLugiaSpeechHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def PokeSeersHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BattleTower1F, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_LOBBY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BattleTowerBattleRoom, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BattleTowerElevator, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_NONE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def BattleTowerHallway, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route40BattleTowerGate, TILESET_GATE, GATE, BATTLE_TOWER, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def BattleTowerOutside, TILESET_BATTLE_TOWER_OUTSIDE, ROUTE, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Viridian:
map_def Route2, TILESET_KANTO, ROUTE, ROUTE_2, MUSIC_ROUTE_2, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def Route22, TILESET_KANTO, ROUTE, ROUTE_22, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def ViridianCity, TILESET_KANTO, TOWN, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def ViridianGym, TILESET_TRAIN_STATION, INDOOR, VIRIDIAN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def ViridianNicknameSpeechHouse, TILESET_HOUSE, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TrainerHouse1F, TILESET_HOUSE, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def TrainerHouseB1F, TILESET_FACILITY, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def ViridianMart, TILESET_MART, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def ViridianPokecenter1F, TILESET_POKECENTER, INDOOR, VIRIDIAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def ViridianPokecenter2FBeta, TILESET_POKECENTER, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route2NuggetSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_2, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route2Gate, TILESET_GATE, GATE, ROUTE_2, MUSIC_ROUTE_2, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def VictoryRoadGate, TILESET_GATE, GATE, ROUTE_26, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_NewBark:
map_def Route26, TILESET_JOHTO, ROUTE, ROUTE_26, MUSIC_ROUTE_26, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def Route27, TILESET_JOHTO, ROUTE, ROUTE_27, MUSIC_ROUTE_26, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def Route29, TILESET_JOHTO, ROUTE, ROUTE_29, MUSIC_ROUTE_29, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def NewBarkTown, TILESET_JOHTO, TOWN, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map_def ElmsLab, TILESET_LAB, INDOOR, NEW_BARK_TOWN, MUSIC_PROF_ELM, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def KrissHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def KrissHouse2F, TILESET_PLAYERS_ROOM, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def KrissNeighborsHouse, TILESET_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def ElmsHouse, TILESET_PLAYERS_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route26HealSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_26, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route26DayofWeekSiblingsHouse, TILESET_HOUSE, INDOOR, ROUTE_26, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route27SandstormHouse, TILESET_HOUSE, INDOOR, ROUTE_27, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route29Route46Gate, TILESET_GATE, GATE, ROUTE_29, MUSIC_ROUTE_29, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Saffron:
map_def Route5, TILESET_KANTO, ROUTE, ROUTE_5, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def SaffronCity, TILESET_KANTO, TOWN, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def FightingDojo, TILESET_TRAIN_STATION, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SaffronGym, TILESET_UNDERGROUND, INDOOR, SAFFRON_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map_def SaffronMart, TILESET_MART, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SaffronPokecenter1F, TILESET_POKECENTER, INDOOR, SAFFRON_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SaffronPokecenter2FBeta, TILESET_POKECENTER, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MrPsychicsHouse, TILESET_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SaffronMagnetTrainStation, TILESET_TRAIN_STATION, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def SilphCo1F, TILESET_FACILITY, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CopycatsHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CopycatsHouse2F, TILESET_PLAYERS_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route5UndergroundPathEntrance, TILESET_GATE, GATE, ROUTE_5, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route5SaffronGate, TILESET_GATE, GATE, ROUTE_5, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route5CleanseTagSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_5, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Cherrygrove:
map_def Route30, TILESET_JOHTO, ROUTE, ROUTE_30, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def Route31, TILESET_JOHTO, ROUTE, ROUTE_31, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_POND
map_def CherrygroveCity, TILESET_JOHTO, TOWN, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map_def CherrygroveMart, TILESET_MART, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CherrygrovePokecenter1F, TILESET_POKECENTER, INDOOR, CHERRYGROVE_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CherrygroveGymSpeechHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def GuideGentsHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def CherrygroveEvolutionSpeechHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route30BerrySpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_30, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def MrPokemonsHouse, TILESET_FACILITY, INDOOR, ROUTE_30, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map_def Route31VioletGate, TILESET_GATE, GATE, ROUTE_31, MUSIC_ROUTE_30, FALSE, PALETTE_DAY, FISHGROUP_SHORE

View File

@ -9,7 +9,7 @@ EnvironmentColorsPointers:
dw .IndoorColors ; GATE dw .IndoorColors ; GATE
dw .DungeonColors ; DUNGEON dw .DungeonColors ; DUNGEON
; Valid indices: $00 - $29 ; Valid indices: $00 - $29 (see gfx/tilesets/bg_tiles.pal)
.OutdoorColors: .OutdoorColors:
db $00, $01, $02, $28, $04, $05, $06, $07 ; morn db $00, $01, $02, $28, $04, $05, $06, $07 ; morn
db $08, $09, $0a, $28, $0c, $0d, $0e, $0f ; day db $08, $09, $0a, $28, $0c, $0d, $0e, $0f ; day

View File

@ -7,32 +7,32 @@ Flypoints: ; 91c5e
; landmark, spawn point ; landmark, spawn point
const_def const_def
; Johto ; Johto
flypoint NEW_BARK, NEW_BARK_TOWN flypoint NEW_BARK, NEW_BARK_TOWN
flypoint CHERRYGROVE, CHERRYGROVE_CITY flypoint CHERRYGROVE, CHERRYGROVE_CITY
flypoint VIOLET, VIOLET_CITY flypoint VIOLET, VIOLET_CITY
flypoint AZALEA, AZALEA_TOWN flypoint AZALEA, AZALEA_TOWN
flypoint GOLDENROD, GOLDENROD_CITY flypoint GOLDENROD, GOLDENROD_CITY
flypoint ECRUTEAK, ECRUTEAK_CITY flypoint ECRUTEAK, ECRUTEAK_CITY
flypoint OLIVINE, OLIVINE_CITY flypoint OLIVINE, OLIVINE_CITY
flypoint CIANWOOD, CIANWOOD_CITY flypoint CIANWOOD, CIANWOOD_CITY
flypoint MAHOGANY, MAHOGANY_TOWN flypoint MAHOGANY, MAHOGANY_TOWN
flypoint LAKE, LAKE_OF_RAGE flypoint LAKE_OF_RAGE, LAKE_OF_RAGE
flypoint BLACKTHORN, BLACKTHORN_CITY flypoint BLACKTHORN, BLACKTHORN_CITY
flypoint MT_SILVER, SILVER_CAVE flypoint MT_SILVER, SILVER_CAVE
; Kanto ; Kanto
KANTO_FLYPOINT EQU const_value KANTO_FLYPOINT EQU const_value
flypoint PALLET, PALLET_TOWN flypoint PALLET, PALLET_TOWN
flypoint VIRIDIAN, VIRIDIAN_CITY flypoint VIRIDIAN, VIRIDIAN_CITY
flypoint PEWTER, PEWTER_CITY flypoint PEWTER, PEWTER_CITY
flypoint CERULEAN, CERULEAN_CITY flypoint CERULEAN, CERULEAN_CITY
flypoint VERMILION, VERMILION_CITY flypoint VERMILION, VERMILION_CITY
flypoint ROCK_TUNNEL, ROCK_TUNNEL flypoint ROCK_TUNNEL, ROCK_TUNNEL
flypoint LAVENDER, LAVENDER_TOWN flypoint LAVENDER, LAVENDER_TOWN
flypoint CELADON, CELADON_CITY flypoint CELADON, CELADON_CITY
flypoint SAFFRON, SAFFRON_CITY flypoint SAFFRON, SAFFRON_CITY
flypoint FUCHSIA, FUCHSIA_CITY flypoint FUCHSIA, FUCHSIA_CITY
flypoint CINNABAR, CINNABAR_ISLAND flypoint CINNABAR, CINNABAR_ISLAND
flypoint INDIGO, INDIGO_PLATEAU flypoint INDIGO, INDIGO_PLATEAU
db -1 db -1
; 91c8f ; 91c8f

View File

@ -129,7 +129,7 @@ WhirlIslandsName: db "WHIRL¯ISLANDS@"
MtMortarName: db "MT.MORTAR@" MtMortarName: db "MT.MORTAR@"
DragonsDenName: db "DRAGON'S¯DEN@" DragonsDenName: db "DRAGON'S¯DEN@"
IcePathName: db "ICE PATH@" IcePathName: db "ICE PATH@"
NotApplicableName: db "N/A@" NotApplicableName: db "N/A@" ; "オバケやしき" ("HAUNTED HOUSE") in Japanese
PalletTownName: db "PALLET TOWN@" PalletTownName: db "PALLET TOWN@"
ViridianCityName: db "VIRIDIAN¯CITY@" ViridianCityName: db "VIRIDIAN¯CITY@"
PewterCityName: db "PEWTER CITY@" PewterCityName: db "PEWTER CITY@"

12
data/maps/map_data.asm Normal file
View File

@ -0,0 +1,12 @@
INCLUDE "constants.asm"
SECTION "Maps", ROMX
INCLUDE "data/maps/maps.asm"
INCLUDE "data/maps/attributes.asm"
INCLUDE "data/maps/blocks.asm"
INCLUDE "data/maps/scripts.asm"

View File

@ -1,12 +1,485 @@
INCLUDE "constants.asm" map: MACRO
;\1: map name: for the MapAttributes pointer (see data/maps/attributes.asm)
;\2: tileset: a TILESET_* constant
;\3: environment: TOWN, ROUTE, INDOOR, CAVE, ENVIRONMENT_5, GATE, or DUNGEON
;\4: location: from constants/landmark_constants.asm
;\5: music: a MUSIC_* constant
;\6: phone service flag: TRUE to prevent phone calls
;\7: time of day: a PALETTE_* constant
;\8: fishing group: a FISHGROUP_* constant
db BANK(\1_MapAttributes), \2, \3
dw \1_MapAttributes
db \4, \5
dn \6, \7
db \8
ENDM
MapGroupPointers::
; pointers to the first map of each map group
dw MapGroup_Olivine ; 1
dw MapGroup_Mahogany ; 2
dw MapGroup_Dungeons ; 3
dw MapGroup_Ecruteak ; 4
dw MapGroup_Blackthorn ; 5
dw MapGroup_Cinnabar ; 6
dw MapGroup_Cerulean ; 7
dw MapGroup_Azalea ; 8
dw MapGroup_LakeOfRage ; 9
dw MapGroup_Violet ; 10
dw MapGroup_Goldenrod ; 11
dw MapGroup_Vermilion ; 12
dw MapGroup_Pallet ; 13
dw MapGroup_Pewter ; 14
dw MapGroup_FastShip ; 15
dw MapGroup_Indigo ; 16
dw MapGroup_Fuchsia ; 17
dw MapGroup_Lavender ; 18
dw MapGroup_Silver ; 19
dw MapGroup_CableClub ; 20
dw MapGroup_Celadon ; 21
dw MapGroup_Cianwood ; 22
dw MapGroup_Viridian ; 23
dw MapGroup_NewBark ; 24
dw MapGroup_Saffron ; 25
dw MapGroup_Cherrygrove ; 26
SECTION "Maps", ROMX MapGroup_Olivine:
map OlivinePokecenter1F, TILESET_POKECENTER, INDOOR, OLIVINE_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineGym, TILESET_CHAMPIONS_ROOM, INDOOR, OLIVINE_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineTimsHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineHouseBeta, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivinePunishmentSpeechHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineGoodRodHouse, TILESET_HOUSE, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineCafe, TILESET_GAME_CORNER, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineMart, TILESET_MART, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route38EcruteakGate, TILESET_GATE, GATE, ROUTE_38, MUSIC_ROUTE_37, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route39Barn, TILESET_TRADITIONAL_HOUSE, INDOOR, ROUTE_39, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route39Farmhouse, TILESET_HOUSE, INDOOR, ROUTE_39, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route38, TILESET_JOHTO, ROUTE, ROUTE_38, MUSIC_ROUTE_37, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route39, TILESET_JOHTO, ROUTE, ROUTE_39, MUSIC_ROUTE_37, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map OlivineCity, TILESET_JOHTO, TOWN, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
INCLUDE "data/maps/definitions.asm" MapGroup_Mahogany:
INCLUDE "data/maps/data.asm" map MahoganyRedGyaradosSpeechHouse, TILESET_HOUSE, INDOOR, MAHOGANY_TOWN, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MahoganyGym, TILESET_ELITE_FOUR_ROOM, INDOOR, MAHOGANY_TOWN, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map MahoganyPokecenter1F, TILESET_POKECENTER, INDOOR, MAHOGANY_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route42EcruteakGate, TILESET_GATE, GATE, ROUTE_42, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route42, TILESET_JOHTO, ROUTE, ROUTE_42, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map Route44, TILESET_JOHTO, ROUTE, ROUTE_44, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map MahoganyTown, TILESET_JOHTO, TOWN, MAHOGANY_TOWN, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Dungeons:
map SproutTower1F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SproutTower2F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SproutTower3F, TILESET_TOWER, DUNGEON, SPROUT_TOWER, MUSIC_SPROUT_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower1F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower2F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower3F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower4F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower5F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower6F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower7F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower8F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTower9F, TILESET_TOWER, DUNGEON, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BurnedTower1F, TILESET_TOWER, DUNGEON, BURNED_TOWER, MUSIC_BURNED_TOWER, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map BurnedTowerB1F, TILESET_CAVE, CAVE, BURNED_TOWER, MUSIC_BURNED_TOWER, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map NationalPark, TILESET_PARK, ROUTE, NATIONAL_PARK, MUSIC_NATIONAL_PARK, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map NationalParkBugContest, TILESET_PARK, ROUTE, NATIONAL_PARK, MUSIC_BUG_CATCHING_CONTEST, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map RadioTower1F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RadioTower2F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RadioTower3F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RadioTower4F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RadioTower5F, TILESET_RADIO_TOWER, INDOOR, RADIO_TOWER, RADIO_TOWER_MUSIC | MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphOutside, TILESET_JOHTO, ROUTE, RUINS_OF_ALPH, MUSIC_UNION_CAVE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map RuinsOfAlphHoOhChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphKabutoChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphOmanyteChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphAerodactylChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphInnerChamber, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_RUINS_OF_ALPH_INTERIOR, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphResearchCenter, TILESET_FACILITY, INDOOR, RUINS_OF_ALPH, MUSIC_UNION_CAVE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphHoOhItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphKabutoItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphOmanyteItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphAerodactylItemRoom, TILESET_RUINS_OF_ALPH, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphHoOhWordRoom, TILESET_HO_OH_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphKabutoWordRoom, TILESET_KABUTO_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphOmanyteWordRoom, TILESET_OMANYTE_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map RuinsOfAlphAerodactylWordRoom, TILESET_AERODACTYL_WORD_ROOM, DUNGEON, RUINS_OF_ALPH, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map UnionCave1F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map UnionCaveB1F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map UnionCaveB2F, TILESET_CAVE, CAVE, UNION_CAVE, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map SlowpokeWellB1F, TILESET_CAVE, CAVE, SLOWPOKE_WELL, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map SlowpokeWellB2F, TILESET_CAVE, CAVE, SLOWPOKE_WELL, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map OlivineLighthouse1F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineLighthouse2F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineLighthouse3F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineLighthouse4F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineLighthouse5F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_LIGHTHOUSE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivineLighthouse6F, TILESET_LIGHTHOUSE, DUNGEON, LIGHTHOUSE, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MahoganyMart1F, TILESET_TRADITIONAL_HOUSE, INDOOR, MAHOGANY_TOWN, MUSIC_MAHOGANY_MART, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map TeamRocketBaseB1F, TILESET_UNDERGROUND, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map TeamRocketBaseB2F, TILESET_FACILITY, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map TeamRocketBaseB3F, TILESET_FACILITY, DUNGEON, MAHOGANY_TOWN, MUSIC_ROCKET_HIDEOUT, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map IlexForest, TILESET_FOREST, CAVE, ILEX_FOREST, MUSIC_UNION_CAVE, FALSE, PALETTE_NITE, FISHGROUP_POND
map GoldenrodUnderground, TILESET_GATE, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodUndergroundSwitchRoomEntrances, TILESET_ELITE_FOUR_ROOM, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStoreB1F, TILESET_UNDERGROUND, DUNGEON, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodUndergroundWarehouse, TILESET_UNDERGROUND, DUNGEON, GOLDENROD_CITY, MUSIC_UNION_CAVE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map MountMortar1FOutside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map MountMortar1FInside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map MountMortar2FInside, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map MountMortarB1F, TILESET_DARK_CAVE, CAVE, MT_MORTAR, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map IcePath1F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map IcePathB1F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map IcePathB2FMahoganySide, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map IcePathB2FBlackthornSide, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map IcePathB3F, TILESET_ICE_PATH, CAVE, ICE_PATH, MUSIC_DARK_CAVE, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map WhirlIslandNW, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandNE, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandSW, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandCave, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandSE, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandB1F, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandB2F, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map WhirlIslandLugiaChamber, TILESET_DARK_CAVE, CAVE, WHIRL_ISLANDS, MUSIC_UNION_CAVE, TRUE, PALETTE_DARK, FISHGROUP_WHIRL_ISLANDS
map SilverCaveRoom1, TILESET_DARK_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map SilverCaveRoom2, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map SilverCaveRoom3, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_DAY, FISHGROUP_LAKE
map SilverCaveItemRooms, TILESET_CAVE, CAVE, SILVER_CAVE, MUSIC_LIGHTHOUSE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map DarkCaveVioletEntrance, TILESET_DARK_CAVE, CAVE, DARK_CAVE, MUSIC_DARK_CAVE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map DarkCaveBlackthornEntrance, TILESET_DARK_CAVE, CAVE, DARK_CAVE, MUSIC_DARK_CAVE, TRUE, PALETTE_DARK, FISHGROUP_LAKE
map DragonsDen1F, TILESET_CAVE, CAVE, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map DragonsDenB1F, TILESET_JOHTO, CAVE, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_DRATINI
map DragonShrine, TILESET_LAB, INDOOR, DRAGONS_DEN, MUSIC_DRAGONS_DEN, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map TohjoFalls, TILESET_CAVE, CAVE, TOHJO_FALLS, MUSIC_UNION_CAVE, TRUE, PALETTE_NITE, FISHGROUP_LAKE
map DiglettsCave, TILESET_CAVE, CAVE, DIGLETTS_CAVE, MUSIC_MT_MOON, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map MountMoon, TILESET_CAVE, CAVE, MT_MOON, MUSIC_MT_MOON, TRUE, PALETTE_NITE, FISHGROUP_SHORE
map UndergroundPath, TILESET_UNDERGROUND, GATE, UNDERGROUND_PATH, MUSIC_MT_MOON, FALSE, PALETTE_NITE, FISHGROUP_SHORE
map RockTunnel1F, TILESET_DARK_CAVE, CAVE, ROCK_TUNNEL, MUSIC_MT_MOON, TRUE, PALETTE_DARK, FISHGROUP_SHORE
map RockTunnelB1F, TILESET_DARK_CAVE, CAVE, ROCK_TUNNEL, MUSIC_MT_MOON, TRUE, PALETTE_DARK, FISHGROUP_SHORE
map SafariZoneFuchsiaGateBeta, TILESET_GATE, INDOOR, FUCHSIA_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SafariZoneBeta, TILESET_PARK, CAVE, FUCHSIA_CITY, MUSIC_EVOLUTION, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map VictoryRoad, TILESET_CAVE, CAVE, VICTORY_ROAD, MUSIC_VICTORY_ROAD, TRUE, PALETTE_NITE, FISHGROUP_SHORE
INCLUDE "data/maps/blocks.asm" MapGroup_Ecruteak:
map EcruteakTinTowerEntrance, TILESET_TOWER, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map WiseTriosRoom, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakPokecenter1F, TILESET_POKECENTER, INDOOR, ECRUTEAK_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakLugiaSpeechHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map DanceTheatre, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_DANCING_HALL, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakMart, TILESET_MART, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakGym, TILESET_TOWER, INDOOR, ECRUTEAK_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakItemfinderHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map EcruteakCity, TILESET_JOHTO, TOWN, ECRUTEAK_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
INCLUDE "data/maps/scripts.asm" MapGroup_Blackthorn:
map BlackthornGym1F, TILESET_ELITE_FOUR_ROOM, INDOOR, BLACKTHORN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BlackthornGym2F, TILESET_ELITE_FOUR_ROOM, INDOOR, BLACKTHORN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BlackthornDragonSpeechHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BlackthornEmysHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BlackthornMart, TILESET_MART, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BlackthornPokecenter1F, TILESET_POKECENTER, INDOOR, BLACKTHORN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MoveDeletersHouse, TILESET_HOUSE, INDOOR, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route45, TILESET_JOHTO, ROUTE, ROUTE_45, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_DRATINI_2
map Route46, TILESET_JOHTO, ROUTE, ROUTE_46, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map BlackthornCity, TILESET_JOHTO, TOWN, BLACKTHORN_CITY, MUSIC_AZALEA_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_POND
MapGroup_Cinnabar:
map CinnabarPokecenter1F, TILESET_POKECENTER, INDOOR, CINNABAR_ISLAND, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CinnabarPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CINNABAR_ISLAND, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route19FuchsiaGate, TILESET_GATE, GATE, ROUTE_19, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SeafoamGym, TILESET_CAVE, INDOOR, SEAFOAM_ISLANDS, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map Route19, TILESET_KANTO, ROUTE, ROUTE_19, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route20, TILESET_KANTO, ROUTE, ROUTE_20, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map Route21, TILESET_KANTO, ROUTE, ROUTE_21, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map CinnabarIsland, TILESET_KANTO, TOWN, CINNABAR_ISLAND, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
MapGroup_Cerulean:
map CeruleanGymBadgeSpeechHouse, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeruleanPoliceStation, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeruleanTradeSpeechHouse, TILESET_HOUSE, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeruleanPokecenter1F, TILESET_POKECENTER, INDOOR, CERULEAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeruleanPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CERULEAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeruleanGym, TILESET_PORT, INDOOR, CERULEAN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_NONE
map CeruleanMart, TILESET_MART, INDOOR, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route10Pokecenter1F, TILESET_POKECENTER, INDOOR, ROUTE_10, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route10Pokecenter2FBeta, TILESET_POKECENTER, INDOOR, ROUTE_10, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PowerPlant, TILESET_FACILITY, INDOOR, POWER_PLANT, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BillsHouse, TILESET_HOUSE, INDOOR, ROUTE_25, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route4, TILESET_KANTO, ROUTE, ROUTE_4, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map Route9, TILESET_KANTO, ROUTE, ROUTE_9, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map Route10North, TILESET_KANTO, ROUTE, ROUTE_10, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map Route24, TILESET_KANTO, ROUTE, ROUTE_24, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map Route25, TILESET_KANTO, ROUTE, ROUTE_25, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map CeruleanCity, TILESET_KANTO, TOWN, CERULEAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_NONE
MapGroup_Azalea:
map AzaleaPokecenter1F, TILESET_POKECENTER, INDOOR, AZALEA_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CharcoalKiln, TILESET_HOUSE, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map AzaleaMart, TILESET_MART, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map KurtsHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map AzaleaGym, TILESET_ELITE_FOUR_ROOM, INDOOR, AZALEA_TOWN, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map Route33, TILESET_JOHTO_MODERN, ROUTE, ROUTE_33, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map AzaleaTown, TILESET_JOHTO_MODERN, TOWN, AZALEA_TOWN, MUSIC_AZALEA_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_LakeOfRage:
map LakeOfRageHiddenPowerHouse, TILESET_HOUSE, INDOOR, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LakeOfRageMagikarpHouse, TILESET_HOUSE, INDOOR, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route43MahoganyGate, TILESET_GATE, GATE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route43Gate, TILESET_GATE, GATE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route43, TILESET_JOHTO, ROUTE, ROUTE_43, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_POND
map LakeOfRage, TILESET_JOHTO, TOWN, LAKE_OF_RAGE, MUSIC_LAKE_OF_RAGE, FALSE, PALETTE_AUTO, FISHGROUP_GYARADOS
MapGroup_Violet:
map Route32, TILESET_JOHTO, ROUTE, ROUTE_32, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH
map Route35, TILESET_JOHTO, ROUTE, ROUTE_35, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_POND
map Route36, TILESET_JOHTO, ROUTE, ROUTE_36, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route37, TILESET_JOHTO, ROUTE, ROUTE_37, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map VioletCity, TILESET_JOHTO, TOWN, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
map VioletMart, TILESET_MART, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VioletGym, TILESET_ELITE_FOUR_ROOM, INDOOR, VIOLET_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map EarlsPokemonAcademy, TILESET_LAB, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VioletNicknameSpeechHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VioletPokecenter1F, TILESET_POKECENTER, INDOOR, VIOLET_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VioletKylesHouse, TILESET_TRADITIONAL_HOUSE, INDOOR, VIOLET_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route32RuinsOfAlphGate, TILESET_GATE, GATE, ROUTE_32, MUSIC_ROUTE_30, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route32Pokecenter1F, TILESET_POKECENTER, INDOOR, ROUTE_32, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route35GoldenrodGate, TILESET_GATE, GATE, ROUTE_35, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route35NationalParkGate, TILESET_GATE, INDOOR, ROUTE_35, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route36RuinsOfAlphGate, TILESET_GATE, GATE, ROUTE_36, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route36NationalParkGate, TILESET_GATE, INDOOR, ROUTE_36, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Goldenrod:
map Route34, TILESET_JOHTO_MODERN, ROUTE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map GoldenrodCity, TILESET_JOHTO_MODERN, TOWN, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map GoldenrodGym, TILESET_ELITE_FOUR_ROOM, INDOOR, GOLDENROD_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodBikeShop, TILESET_CHAMPIONS_ROOM, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodHappinessRater, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BillsFamilysHouse, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodMagnetTrainStation, TILESET_TRAIN_STATION, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodFlowerShop, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodPPSpeechHouse, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodNameRater, TILESET_HOUSE, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore1F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore2F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore3F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore4F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore5F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStore6F, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStoreElevator, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodDeptStoreRoof, TILESET_MART, INDOOR, GOLDENROD_CITY, MUSIC_GOLDENROD_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodGameCorner, TILESET_GAME_CORNER, INDOOR, GOLDENROD_CITY, MUSIC_GAME_CORNER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GoldenrodPokecenter1F, TILESET_POKECENTER, INDOOR, GOLDENROD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PokecomCenterAdminOfficeMobile, TILESET_POKECOM_CENTER, INDOOR, GOLDENROD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map IlexForestAzaleaGate, TILESET_GATE, GATE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route34IlexForestGate, TILESET_GATE, GATE, ROUTE_34, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map DayCare, TILESET_HOUSE, INDOOR, ROUTE_34, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Vermilion:
map Route6, TILESET_KANTO, ROUTE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_POND
map Route11, TILESET_KANTO, ROUTE, ROUTE_11, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map VermilionCity, TILESET_KANTO, TOWN, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map VermilionFishingSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionPokecenter1F, TILESET_POKECENTER, INDOOR, VERMILION_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionPokecenter2FBeta, TILESET_POKECENTER, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PokemonFanClub, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionMagnetTrainSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionMart, TILESET_MART, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionDiglettsCaveSpeechHouse, TILESET_HOUSE, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionGym, TILESET_GAME_CORNER, INDOOR, VERMILION_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map Route6SaffronGate, TILESET_GATE, GATE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route6UndergroundPathEntrance, TILESET_GATE, GATE, ROUTE_6, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Pallet:
map Route1, TILESET_KANTO, ROUTE, ROUTE_1, MUSIC_ROUTE_1, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map PalletTown, TILESET_KANTO, TOWN, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map RedsHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map RedsHouse2F, TILESET_PLAYERS_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BluesHouse, TILESET_HOUSE, INDOOR, PALLET_TOWN, MUSIC_PALLET_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OaksLab, TILESET_LAB, INDOOR, PALLET_TOWN, MUSIC_POKEMON_TALK, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Pewter:
map Route3, TILESET_KANTO, ROUTE, ROUTE_3, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map PewterCity, TILESET_KANTO, TOWN, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map PewterNidoranSpeechHouse, TILESET_HOUSE, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PewterGym, TILESET_TOWER, INDOOR, PEWTER_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map PewterMart, TILESET_MART, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PewterPokecenter1F, TILESET_POKECENTER, INDOOR, PEWTER_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PewterPokecenter2FBeta, TILESET_POKECENTER, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PewterSnoozeSpeechHouse, TILESET_HOUSE, INDOOR, PEWTER_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_FastShip:
map OlivinePort, TILESET_PORT, ROUTE, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map VermilionPort, TILESET_PORT, ROUTE, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map FastShip1F, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FastShipCabins_NNW_NNE_NE, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FastShipCabins_SW_SSW_NW, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FastShipCabins_SE_SSE_CaptainsCabin, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FastShipB1F, TILESET_LIGHTHOUSE, INDOOR, FAST_SHIP, MUSIC_SS_AQUA, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map OlivinePortPassage, TILESET_UNDERGROUND, INDOOR, OLIVINE_CITY, MUSIC_VIOLET_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VermilionPortPassage, TILESET_UNDERGROUND, INDOOR, VERMILION_CITY, MUSIC_VERMILION_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MountMoonSquare, TILESET_KANTO, ROUTE, MT_MOON, MUSIC_MT_MOON_SQUARE, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map MountMoonGiftShop, TILESET_TRADITIONAL_HOUSE, INDOOR, MT_MOON, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TinTowerRoof, TILESET_TOWER, ROUTE, TIN_TOWER, MUSIC_TIN_TOWER, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Indigo:
map Route23, TILESET_KANTO, TOWN, ROUTE_23, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map IndigoPlateauPokecenter1F, TILESET_POKECENTER, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map WillsRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map KogasRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BrunosRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map KarensRoom, TILESET_ELITE_FOUR_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map LancesRoom, TILESET_CHAMPIONS_ROOM, INDOOR, INDIGO_PLATEAU, MUSIC_INDIGO_PLATEAU, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map HallOfFame, TILESET_ICE_PATH, INDOOR, INDIGO_PLATEAU, MUSIC_NEW_BARK_TOWN, TRUE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Fuchsia:
map Route13, TILESET_KANTO, ROUTE, ROUTE_13, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH_NO_SWARM
map Route14, TILESET_KANTO, ROUTE, ROUTE_14, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route15, TILESET_KANTO, ROUTE, ROUTE_15, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route18, TILESET_KANTO, ROUTE, ROUTE_18, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map FuchsiaCity, TILESET_KANTO, TOWN, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_AUTO, FISHGROUP_GYARADOS
map FuchsiaMart, TILESET_MART, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SafariZoneMainOffice, TILESET_GAME_CORNER, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FuchsiaGym, TILESET_LAB, INDOOR, FUCHSIA_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BillsBrothersHouse, TILESET_HOUSE, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FuchsiaPokecenter1F, TILESET_POKECENTER, INDOOR, FUCHSIA_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map FuchsiaPokecenter2FBeta, TILESET_POKECENTER, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SafariZoneWardensHome, TILESET_HOUSE, INDOOR, FUCHSIA_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route15FuchsiaGate, TILESET_GATE, GATE, ROUTE_15, MUSIC_ROUTE_12, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Lavender:
map Route8, TILESET_KANTO, ROUTE, ROUTE_8, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route12, TILESET_KANTO, ROUTE, ROUTE_12, MUSIC_ROUTE_12, FALSE, PALETTE_AUTO, FISHGROUP_QWILFISH_NO_SWARM
map Route10South, TILESET_KANTO, ROUTE, ROUTE_10, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_LAKE
map LavenderTown, TILESET_KANTO, TOWN, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map LavenderPokecenter1F, TILESET_POKECENTER, INDOOR, LAVENDER_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LavenderPokecenter2FBeta, TILESET_POKECENTER, INDOOR, LAVENDER_TOWN, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MrFujisHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LavenderSpeechHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LavenderNameRater, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LavenderMart, TILESET_MART, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SoulHouse, TILESET_HOUSE, INDOOR, LAVENDER_TOWN, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map LavRadioTower1F, TILESET_RADIO_TOWER, INDOOR, LAV_RADIO_TOWER, MUSIC_LAVENDER_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route8SaffronGate, TILESET_GATE, GATE, ROUTE_8, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route12SuperRodHouse, TILESET_HOUSE, INDOOR, ROUTE_12, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Silver:
map Route28, TILESET_KANTO, ROUTE, ROUTE_28, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_POND
map SilverCaveOutside, TILESET_KANTO, TOWN, SILVER_CAVE, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_AUTO, FISHGROUP_POND
map SilverCavePokecenter1F, TILESET_POKECENTER, INDOOR, SILVER_CAVE, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route28SteelWingHouse, TILESET_HOUSE, INDOOR, ROUTE_28, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_CableClub:
map Pokecenter2F, TILESET_POKECENTER, INDOOR, SPECIAL_MAP, MUSIC_POKEMON_CENTER, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map TradeCenter, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map Colosseum, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map TimeCapsule, TILESET_GATE, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map MobileTradeRoom, TILESET_MANSION, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map MobileBattleRoom, TILESET_MANSION, INDOOR, SPECIAL_MAP, MUSIC_CHERRYGROVE_CITY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Celadon:
map Route7, TILESET_KANTO, ROUTE, ROUTE_7, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route16, TILESET_KANTO, ROUTE, ROUTE_16, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route17, TILESET_KANTO, ROUTE, ROUTE_17, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map CeladonCity, TILESET_KANTO, TOWN, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_AUTO, FISHGROUP_NONE
map CeladonDeptStore1F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStore2F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStore3F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStore4F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStore5F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStore6F, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonDeptStoreElevator, TILESET_MART, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonMansion1F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonMansion2F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonMansion3F, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonMansionRoof, TILESET_MANSION, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonMansionRoofHouse, TILESET_HOUSE, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonPokecenter1F, TILESET_POKECENTER, INDOOR, CELADON_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonPokecenter2FBeta, TILESET_POKECENTER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonGameCorner, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_GAME_CORNER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonGameCornerPrizeRoom, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonGym, TILESET_TRAIN_STATION, INDOOR, CELADON_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map CeladonCafe, TILESET_GAME_CORNER, INDOOR, CELADON_CITY, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route16FuchsiaSpeechHouse, TILESET_HOUSE, INDOOR, ROUTE_16, MUSIC_CELADON_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route16Gate, TILESET_GATE, GATE, ROUTE_16, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route7SaffronGate, TILESET_GATE, GATE, ROUTE_7, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route17Route18Gate, TILESET_GATE, GATE, ROUTE_17, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Cianwood:
map Route40, TILESET_JOHTO, ROUTE, ROUTE_40, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route41, TILESET_JOHTO, ROUTE, ROUTE_41, MUSIC_ROUTE_36, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map CianwoodCity, TILESET_JOHTO, TOWN, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map ManiasHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CianwoodGym, TILESET_TOWER, INDOOR, CIANWOOD_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map CianwoodPokecenter1F, TILESET_POKECENTER, INDOOR, CIANWOOD_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CianwoodPharmacy, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CianwoodPhotoStudio, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CianwoodLugiaSpeechHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PokeSeersHouse, TILESET_HOUSE, INDOOR, CIANWOOD_CITY, MUSIC_ECRUTEAK_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BattleTower1F, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_LOBBY, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BattleTowerBattleRoom, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BattleTowerElevator, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_NONE, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map BattleTowerHallway, TILESET_BATTLE_TOWER, INDOOR, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map Route40BattleTowerGate, TILESET_GATE, GATE, BATTLE_TOWER, MUSIC_ROUTE_36, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map BattleTowerOutside, TILESET_BATTLE_TOWER_OUTSIDE, ROUTE, BATTLE_TOWER, MUSIC_BATTLE_TOWER_THEME, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
MapGroup_Viridian:
map Route2, TILESET_KANTO, ROUTE, ROUTE_2, MUSIC_ROUTE_2, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map Route22, TILESET_KANTO, ROUTE, ROUTE_22, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_POND
map ViridianCity, TILESET_KANTO, TOWN, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_POND
map ViridianGym, TILESET_TRAIN_STATION, INDOOR, VIRIDIAN_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map ViridianNicknameSpeechHouse, TILESET_HOUSE, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TrainerHouse1F, TILESET_HOUSE, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map TrainerHouseB1F, TILESET_FACILITY, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map ViridianMart, TILESET_MART, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map ViridianPokecenter1F, TILESET_POKECENTER, INDOOR, VIRIDIAN_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map ViridianPokecenter2FBeta, TILESET_POKECENTER, INDOOR, VIRIDIAN_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route2NuggetHouse, TILESET_HOUSE, INDOOR, ROUTE_2, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route2Gate, TILESET_GATE, GATE, ROUTE_2, MUSIC_ROUTE_2, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map VictoryRoadGate, TILESET_GATE, GATE, ROUTE_26, MUSIC_INDIGO_PLATEAU, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_NewBark:
map Route26, TILESET_JOHTO, ROUTE, ROUTE_26, MUSIC_ROUTE_26, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map Route27, TILESET_JOHTO, ROUTE, ROUTE_27, MUSIC_ROUTE_26, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map Route29, TILESET_JOHTO, ROUTE, ROUTE_29, MUSIC_ROUTE_29, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map NewBarkTown, TILESET_JOHTO, TOWN, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_AUTO, FISHGROUP_OCEAN
map ElmsLab, TILESET_LAB, INDOOR, NEW_BARK_TOWN, MUSIC_PROF_ELM, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PlayersHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PlayersHouse2F, TILESET_PLAYERS_ROOM, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map PlayersNeighborsHouse, TILESET_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map ElmsHouse, TILESET_PLAYERS_HOUSE, INDOOR, NEW_BARK_TOWN, MUSIC_NEW_BARK_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route26HealHouse, TILESET_HOUSE, INDOOR, ROUTE_26, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map DayOfWeekSiblingsHouse, TILESET_HOUSE, INDOOR, ROUTE_26, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route27SandstormHouse, TILESET_HOUSE, INDOOR, ROUTE_27, MUSIC_AZALEA_TOWN, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route29Route46Gate, TILESET_GATE, GATE, ROUTE_29, MUSIC_ROUTE_29, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Saffron:
map Route5, TILESET_KANTO, ROUTE, ROUTE_5, MUSIC_ROUTE_3, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map SaffronCity, TILESET_KANTO, TOWN, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map FightingDojo, TILESET_TRAIN_STATION, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SaffronGym, TILESET_UNDERGROUND, INDOOR, SAFFRON_CITY, MUSIC_GYM, TRUE, PALETTE_DAY, FISHGROUP_SHORE
map SaffronMart, TILESET_MART, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SaffronPokecenter1F, TILESET_POKECENTER, INDOOR, SAFFRON_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SaffronPokecenter2FBeta, TILESET_POKECENTER, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MrPsychicsHouse, TILESET_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SaffronMagnetTrainStation, TILESET_TRAIN_STATION, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map SilphCo1F, TILESET_FACILITY, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CopycatsHouse1F, TILESET_PLAYERS_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CopycatsHouse2F, TILESET_PLAYERS_HOUSE, INDOOR, SAFFRON_CITY, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route5UndergroundPathEntrance, TILESET_GATE, GATE, ROUTE_5, MUSIC_ROUTE_3, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route5SaffronGate, TILESET_GATE, GATE, ROUTE_5, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route5CleanseTagHouse, TILESET_HOUSE, INDOOR, ROUTE_5, MUSIC_VIRIDIAN_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
MapGroup_Cherrygrove:
map Route30, TILESET_JOHTO, ROUTE, ROUTE_30, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_POND
map Route31, TILESET_JOHTO, ROUTE, ROUTE_31, MUSIC_ROUTE_30, FALSE, PALETTE_AUTO, FISHGROUP_POND
map CherrygroveCity, TILESET_JOHTO, TOWN, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_AUTO, FISHGROUP_SHORE
map CherrygroveMart, TILESET_MART, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CherrygrovePokecenter1F, TILESET_POKECENTER, INDOOR, CHERRYGROVE_CITY, MUSIC_POKEMON_CENTER, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CherrygroveGymSpeechHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map GuideGentsHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map CherrygroveEvolutionSpeechHouse, TILESET_HOUSE, INDOOR, CHERRYGROVE_CITY, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route30BerryHouse, TILESET_HOUSE, INDOOR, ROUTE_30, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map MrPokemonsHouse, TILESET_FACILITY, INDOOR, ROUTE_30, MUSIC_CHERRYGROVE_CITY, FALSE, PALETTE_DAY, FISHGROUP_SHORE
map Route31VioletGate, TILESET_GATE, GATE, ROUTE_31, MUSIC_ROUTE_30, FALSE, PALETTE_DAY, FISHGROUP_SHORE

View File

@ -1,36 +1,45 @@
; MapGroupRoofs values; Roofs indexes
const_def
const ROOF_NEW_BARK ; 0
const ROOF_VIOLET ; 1
const ROOF_AZALEA ; 2
const ROOF_OLIVINE ; 3
const ROOF_GOLDENROD ; 4
MapGroupRoofs: ; 1c021i MapGroupRoofs: ; 1c021i
; entries correspond to map groups ; entries correspond to map groups
; values are indexes for Roofs (see below) ; values are indexes for Roofs (see below)
db -1 ; group 0 (unused) db -1 ; 0
db 3 ; group 1 (Olivine) db ROOF_OLIVINE ; 1 (Olivine)
db 2 ; group 2 (Mahogany) db ROOF_AZALEA ; 2 (Mahogany)
db -1 ; group 3 db -1 ; 3
db 1 ; group 4 (Ecruteak) db ROOF_VIOLET ; 4 (Ecruteak)
db 2 ; group 5 (Blackthorn) db ROOF_AZALEA ; 5 (Blackthorn)
db -1 ; group 6 db -1 ; 6
db -1 ; group 7 db -1 ; 7
db 2 ; group 8 (Azalea) db ROOF_AZALEA ; 8 (Azalea)
db 2 ; group 9 (Lake of Rage) db ROOF_AZALEA ; 9 (Lake of Rage)
db 1 ; group 10 (Violet) db ROOF_VIOLET ; 10 (Violet)
db 4 ; group 11 (Goldenrod) db ROOF_GOLDENROD ; 11 (Goldenrod)
db -1 ; group 12 db -1 ; 12
db -1 ; group 13 db -1 ; 13
db -1 ; group 14 db -1 ; 14
db -1 ; group 15 db -1 ; 15
db -1 ; group 16 db -1 ; 16
db -1 ; group 17 db -1 ; 17
db -1 ; group 18 db -1 ; 18
db 0 ; group 19 (Silver Cave) db ROOF_NEW_BARK ; 19 (Silver Cave)
db -1 ; group 20 db -1 ; 20
db -1 ; group 21 db -1 ; 21
db 3 ; group 22 (Cianwood) db ROOF_OLIVINE ; 22 (Cianwood)
db -1 ; group 23 db -1 ; 23
db 0 ; group 24 (New Bark) db ROOF_NEW_BARK ; 24 (New Bark)
db -1 ; group 25 db -1 ; 25
db 0 ; group 26 (Cherrygrove) db ROOF_NEW_BARK ; 26 (Cherrygrove)
; 1c03c ; 1c03c
Roofs: ; 1c03c Roofs: ; 1c03c
; entries correspond to ROOF_* constants
INCBIN "gfx/tilesets/roofs/0.2bpp" INCBIN "gfx/tilesets/roofs/0.2bpp"
INCBIN "gfx/tilesets/roofs/1.2bpp" INCBIN "gfx/tilesets/roofs/1.2bpp"
INCBIN "gfx/tilesets/roofs/2.2bpp" INCBIN "gfx/tilesets/roofs/2.2bpp"

View File

@ -1,89 +1,88 @@
scene_def: MACRO scene_var: MACRO
; db group, map ; map, variable
; dw address map_id \1
map \1
dw \2 dw \2
ENDM ENDM
MapScenes:: ; 4d01e MapScenes:: ; 4d01e
scene_def POKECENTER_2F, wPokecenter2FSceneID scene_var POKECENTER_2F, wPokecenter2FSceneID
scene_def TRADE_CENTER, wTradeCenterSceneID scene_var TRADE_CENTER, wTradeCenterSceneID
scene_def COLOSSEUM, wColosseumSceneID scene_var COLOSSEUM, wColosseumSceneID
scene_def TIME_CAPSULE, wTimeCapsuleSceneID scene_var TIME_CAPSULE, wTimeCapsuleSceneID
scene_def POWER_PLANT, wPowerPlantSceneID scene_var POWER_PLANT, wPowerPlantSceneID
scene_def CERULEAN_GYM, wCeruleanGymSceneID scene_var CERULEAN_GYM, wCeruleanGymSceneID
scene_def ROUTE_25, wRoute25SceneID scene_var ROUTE_25, wRoute25SceneID
scene_def TRAINER_HOUSE_B1F, wTrainerHouseB1FSceneID scene_var TRAINER_HOUSE_B1F, wTrainerHouseB1FSceneID
scene_def VICTORY_ROAD_GATE, wVictoryRoadGateSceneID scene_var VICTORY_ROAD_GATE, wVictoryRoadGateSceneID
scene_def SAFFRON_MAGNET_TRAIN_STATION, wSaffronMagnetTrainStationSceneID scene_var SAFFRON_MAGNET_TRAIN_STATION, wSaffronMagnetTrainStationSceneID
scene_def ROUTE_16_GATE, wRoute16GateSceneID scene_var ROUTE_16_GATE, wRoute16GateSceneID
scene_def ROUTE_17_ROUTE_18_GATE, wRoute17Route18GateSceneID scene_var ROUTE_17_ROUTE_18_GATE, wRoute17Route18GateSceneID
scene_def INDIGO_PLATEAU_POKECENTER_1F, wIndigoPlateauPokecenter1FSceneID scene_var INDIGO_PLATEAU_POKECENTER_1F, wIndigoPlateauPokecenter1FSceneID
scene_def WILLS_ROOM, wWillsRoomSceneID scene_var WILLS_ROOM, wWillsRoomSceneID
scene_def KOGAS_ROOM, wKogasRoomSceneID scene_var KOGAS_ROOM, wKogasRoomSceneID
scene_def BRUNOS_ROOM, wBrunosRoomSceneID scene_var BRUNOS_ROOM, wBrunosRoomSceneID
scene_def KARENS_ROOM, wKarensRoomSceneID scene_var KARENS_ROOM, wKarensRoomSceneID
scene_def LANCES_ROOM, wLancesRoomSceneID scene_var LANCES_ROOM, wLancesRoomSceneID
scene_def HALL_OF_FAME, wHallOfFameSceneID scene_var HALL_OF_FAME, wHallOfFameSceneID
scene_def ROUTE_27, wRoute27SceneID scene_var ROUTE_27, wRoute27SceneID
scene_def NEW_BARK_TOWN, wNewBarkTownSceneID scene_var NEW_BARK_TOWN, wNewBarkTownSceneID
scene_def ELMS_LAB, wElmsLabSceneID scene_var ELMS_LAB, wElmsLabSceneID
scene_def KRISS_HOUSE_1F, wKrissHouse1FSceneID scene_var PLAYERS_HOUSE_1F, wPlayersHouse1FSceneID
scene_def ROUTE_29, wRoute29SceneID scene_var ROUTE_29, wRoute29SceneID
scene_def CHERRYGROVE_CITY, wCherrygroveCitySceneID scene_var CHERRYGROVE_CITY, wCherrygroveCitySceneID
scene_def MR_POKEMONS_HOUSE, wMrPokemonsHouseSceneID scene_var MR_POKEMONS_HOUSE, wMrPokemonsHouseSceneID
scene_def ROUTE_32, wRoute32SceneID scene_var ROUTE_32, wRoute32SceneID
scene_def ROUTE_35_NATIONAL_PARK_GATE, wRoute35NationalParkGateSceneID scene_var ROUTE_35_NATIONAL_PARK_GATE, wRoute35NationalParkGateSceneID
scene_def ROUTE_36, wRoute36SceneID scene_var ROUTE_36, wRoute36SceneID
scene_def ROUTE_36_NATIONAL_PARK_GATE, wRoute36NationalParkGateSceneID scene_var ROUTE_36_NATIONAL_PARK_GATE, wRoute36NationalParkGateSceneID
scene_def AZALEA_TOWN, wAzaleaTownSceneID scene_var AZALEA_TOWN, wAzaleaTownSceneID
scene_def GOLDENROD_GYM, wGoldenrodGymSceneID scene_var GOLDENROD_GYM, wGoldenrodGymSceneID
scene_def GOLDENROD_MAGNET_TRAIN_STATION, wGoldenrodMagnetTrainStationSceneID scene_var GOLDENROD_MAGNET_TRAIN_STATION, wGoldenrodMagnetTrainStationSceneID
scene_def GOLDENROD_POKECENTER_1F, wGoldenrodPokecenter1FSceneID scene_var GOLDENROD_POKECENTER_1F, wGoldenrodPokecenter1FSceneID
scene_def OLIVINE_CITY, wOlivineCitySceneID scene_var OLIVINE_CITY, wOlivineCitySceneID
scene_def ROUTE_34, wRoute34SceneID scene_var ROUTE_34, wRoute34SceneID ; unused
scene_def ROUTE_34_ILEX_FOREST_GATE, wRoute34IlexForestGateSceneID scene_var ROUTE_34_ILEX_FOREST_GATE, wRoute34IlexForestGateSceneID ; unused
scene_def ECRUTEAK_HOUSE, wEcruteakHouseSceneID scene_var ECRUTEAK_TIN_TOWER_ENTRANCE, wEcruteakTinTowerEntranceSceneID
scene_def WISE_TRIOS_ROOM, wWiseTriosRoomSceneID scene_var WISE_TRIOS_ROOM, wWiseTriosRoomSceneID
scene_def ECRUTEAK_POKECENTER_1F, wEcruteakPokecenter1FSceneID scene_var ECRUTEAK_POKECENTER_1F, wEcruteakPokecenter1FSceneID
scene_def ECRUTEAK_GYM, wEcruteakGymSceneID scene_var ECRUTEAK_GYM, wEcruteakGymSceneID
scene_def MAHOGANY_TOWN, wMahoganyTownSceneID scene_var MAHOGANY_TOWN, wMahoganyTownSceneID
scene_def ROUTE_42, wRoute42SceneID scene_var ROUTE_42, wRoute42SceneID
scene_def CIANWOOD_CITY, wCianwoodCitySceneID scene_var CIANWOOD_CITY, wCianwoodCitySceneID
scene_def BATTLE_TOWER_1F, wBattleTower1FSceneID scene_var BATTLE_TOWER_1F, wBattleTower1FSceneID
scene_def BATTLE_TOWER_BATTLE_ROOM, wBattleTowerBattleRoomSceneID scene_var BATTLE_TOWER_BATTLE_ROOM, wBattleTowerBattleRoomSceneID
scene_def BATTLE_TOWER_ELEVATOR, wBattleTowerElevatorSceneID scene_var BATTLE_TOWER_ELEVATOR, wBattleTowerElevatorSceneID
scene_def BATTLE_TOWER_HALLWAY, wBattleTowerHallwaySceneID scene_var BATTLE_TOWER_HALLWAY, wBattleTowerHallwaySceneID
scene_def BATTLE_TOWER_OUTSIDE, wBattleTowerOutsideSceneID scene_var BATTLE_TOWER_OUTSIDE, wBattleTowerOutsideSceneID ; unused
scene_def ROUTE_43_GATE, wRoute43GateSceneID scene_var ROUTE_43_GATE, wRoute43GateSceneID
scene_def MOUNT_MOON, wMountMoonSceneID scene_var MOUNT_MOON, wMountMoonSceneID
scene_def SPROUT_TOWER_3F, wSproutTower3FSceneID scene_var SPROUT_TOWER_3F, wSproutTower3FSceneID
scene_def TIN_TOWER_1F, wTinTower1FSceneID scene_var TIN_TOWER_1F, wTinTower1FSceneID
scene_def BURNED_TOWER_1F, wBurnedTower1FSceneID scene_var BURNED_TOWER_1F, wBurnedTower1FSceneID
scene_def BURNED_TOWER_B1F, wBurnedTowerB1FSceneID scene_var BURNED_TOWER_B1F, wBurnedTowerB1FSceneID
scene_def RADIO_TOWER_5F, wRadioTower5FSceneID scene_var RADIO_TOWER_5F, wRadioTower5FSceneID
scene_def RUINS_OF_ALPH_OUTSIDE, wRuinsOfAlphOutsideSceneID scene_var RUINS_OF_ALPH_OUTSIDE, wRuinsOfAlphOutsideSceneID
scene_def RUINS_OF_ALPH_RESEARCH_CENTER, wRuinsOfAlphResearchCenterSceneID scene_var RUINS_OF_ALPH_RESEARCH_CENTER, wRuinsOfAlphResearchCenterSceneID
scene_def RUINS_OF_ALPH_HO_OH_CHAMBER, wRuinsOfAlphHoOhChamberSceneID scene_var RUINS_OF_ALPH_HO_OH_CHAMBER, wRuinsOfAlphHoOhChamberSceneID
scene_def RUINS_OF_ALPH_KABUTO_CHAMBER, wRuinsOfAlphKabutoChamberSceneID scene_var RUINS_OF_ALPH_KABUTO_CHAMBER, wRuinsOfAlphKabutoChamberSceneID
scene_def RUINS_OF_ALPH_OMANYTE_CHAMBER, wRuinsOfAlphOmanyteChamberSceneID scene_var RUINS_OF_ALPH_OMANYTE_CHAMBER, wRuinsOfAlphOmanyteChamberSceneID
scene_def RUINS_OF_ALPH_AERODACTYL_CHAMBER, wRuinsOfAlphAerodactylChamberSceneID scene_var RUINS_OF_ALPH_AERODACTYL_CHAMBER, wRuinsOfAlphAerodactylChamberSceneID
scene_def RUINS_OF_ALPH_INNER_CHAMBER, wRuinsOfAlphInnerChamberSceneID scene_var RUINS_OF_ALPH_INNER_CHAMBER, wRuinsOfAlphInnerChamberSceneID
scene_def MAHOGANY_MART_1F, wMahoganyMart1FSceneID scene_var MAHOGANY_MART_1F, wMahoganyMart1FSceneID
scene_def TEAM_ROCKET_BASE_B1F, wTeamRocketBaseB1FSceneID scene_var TEAM_ROCKET_BASE_B1F, wTeamRocketBaseB1FSceneID
scene_def TEAM_ROCKET_BASE_B2F, wTeamRocketBaseB2FSceneID scene_var TEAM_ROCKET_BASE_B2F, wTeamRocketBaseB2FSceneID
scene_def TEAM_ROCKET_BASE_B3F, wTeamRocketBaseB3FSceneID scene_var TEAM_ROCKET_BASE_B3F, wTeamRocketBaseB3FSceneID
scene_def GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, wGoldenrodUndergroundSwitchRoomEntrancesSceneID scene_var GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES, wGoldenrodUndergroundSwitchRoomEntrancesSceneID
scene_def SILVER_CAVE_ROOM_3, wSilverCaveRoom3SceneID scene_var SILVER_CAVE_ROOM_3, wSilverCaveRoom3SceneID ; unused
scene_def VICTORY_ROAD, wVictoryRoadSceneID scene_var VICTORY_ROAD, wVictoryRoadSceneID
scene_def DRAGONS_DEN_B1F, wDragonsDenB1FSceneID scene_var DRAGONS_DEN_B1F, wDragonsDenB1FSceneID
scene_def DRAGON_SHRINE, wDragonShrineSceneID scene_var DRAGON_SHRINE, wDragonShrineSceneID
scene_def OLIVINE_PORT, wOlivinePortSceneID scene_var OLIVINE_PORT, wOlivinePortSceneID
scene_def VERMILION_PORT, wVermilionPortSceneID scene_var VERMILION_PORT, wVermilionPortSceneID
scene_def FAST_SHIP_1F, wFastShip1FSceneID scene_var FAST_SHIP_1F, wFastShip1FSceneID
scene_def FAST_SHIP_B1F, wFastShipB1FSceneID scene_var FAST_SHIP_B1F, wFastShipB1FSceneID
scene_def MOUNT_MOON_SQUARE, wMountMoonSquareSceneID scene_var MOUNT_MOON_SQUARE, wMountMoonSquareSceneID
scene_def MOBILE_TRADE_ROOM_MOBILE, wMobileTradeRoomMobileSceneID scene_var MOBILE_TRADE_ROOM, wMobileTradeRoomSceneID
scene_def MOBILE_BATTLE_ROOM, wMobileBattleRoomSceneID scene_var MOBILE_BATTLE_ROOM, wMobileBattleRoomSceneID
db -1 db -1
; 4d15b ; 4d15b

View File

@ -3,7 +3,7 @@ SECTION "Map Scripts 1", ROMX
INCLUDE "maps/GoldenrodGym.asm" INCLUDE "maps/GoldenrodGym.asm"
INCLUDE "maps/GoldenrodBikeShop.asm" INCLUDE "maps/GoldenrodBikeShop.asm"
INCLUDE "maps/GoldenrodHappinessRater.asm" INCLUDE "maps/GoldenrodHappinessRater.asm"
INCLUDE "maps/GoldenrodBillsHouse.asm" INCLUDE "maps/BillsFamilysHouse.asm"
INCLUDE "maps/GoldenrodMagnetTrainStation.asm" INCLUDE "maps/GoldenrodMagnetTrainStation.asm"
INCLUDE "maps/GoldenrodFlowerShop.asm" INCLUDE "maps/GoldenrodFlowerShop.asm"
INCLUDE "maps/GoldenrodPPSpeechHouse.asm" INCLUDE "maps/GoldenrodPPSpeechHouse.asm"
@ -63,7 +63,7 @@ INCLUDE "maps/RadioTower5F.asm"
INCLUDE "maps/OlivineLighthouse5F.asm" INCLUDE "maps/OlivineLighthouse5F.asm"
INCLUDE "maps/OlivineLighthouse6F.asm" INCLUDE "maps/OlivineLighthouse6F.asm"
INCLUDE "maps/GoldenrodPokecenter1F.asm" INCLUDE "maps/GoldenrodPokecenter1F.asm"
INCLUDE "maps/GoldenrodPokeComCenter2FMobile.asm" INCLUDE "maps/PokecomCenterAdminOfficeMobile.asm"
INCLUDE "maps/IlexForestAzaleaGate.asm" INCLUDE "maps/IlexForestAzaleaGate.asm"
INCLUDE "maps/Route34IlexForestGate.asm" INCLUDE "maps/Route34IlexForestGate.asm"
INCLUDE "maps/DayCare.asm" INCLUDE "maps/DayCare.asm"
@ -151,12 +151,12 @@ SECTION "Map Scripts 9", ROMX
INCLUDE "maps/Route34.asm" INCLUDE "maps/Route34.asm"
INCLUDE "maps/ElmsLab.asm" INCLUDE "maps/ElmsLab.asm"
INCLUDE "maps/KrissHouse1F.asm" INCLUDE "maps/PlayersHouse1F.asm"
INCLUDE "maps/KrissHouse2F.asm" INCLUDE "maps/PlayersHouse2F.asm"
INCLUDE "maps/KrissNeighborsHouse.asm" INCLUDE "maps/PlayersNeighborsHouse.asm"
INCLUDE "maps/ElmsHouse.asm" INCLUDE "maps/ElmsHouse.asm"
INCLUDE "maps/Route26HealSpeechHouse.asm" INCLUDE "maps/Route26HealHouse.asm"
INCLUDE "maps/Route26DayofWeekSiblingsHouse.asm" INCLUDE "maps/DayOfWeekSiblingsHouse.asm"
INCLUDE "maps/Route27SandstormHouse.asm" INCLUDE "maps/Route27SandstormHouse.asm"
INCLUDE "maps/Route29Route46Gate.asm" INCLUDE "maps/Route29Route46Gate.asm"
@ -191,7 +191,7 @@ INCLUDE "maps/Route12SuperRodHouse.asm"
SECTION "Map Scripts 11", ROMX SECTION "Map Scripts 11", ROMX
INCLUDE "maps/EcruteakHouse.asm" INCLUDE "maps/EcruteakTinTowerEntrance.asm"
INCLUDE "maps/WiseTriosRoom.asm" INCLUDE "maps/WiseTriosRoom.asm"
INCLUDE "maps/EcruteakPokecenter1F.asm" INCLUDE "maps/EcruteakPokecenter1F.asm"
INCLUDE "maps/EcruteakLugiaSpeechHouse.asm" INCLUDE "maps/EcruteakLugiaSpeechHouse.asm"
@ -206,7 +206,7 @@ INCLUDE "maps/TrainerHouseB1F.asm"
INCLUDE "maps/ViridianMart.asm" INCLUDE "maps/ViridianMart.asm"
INCLUDE "maps/ViridianPokecenter1F.asm" INCLUDE "maps/ViridianPokecenter1F.asm"
INCLUDE "maps/ViridianPokecenter2FBeta.asm" INCLUDE "maps/ViridianPokecenter2FBeta.asm"
INCLUDE "maps/Route2NuggetSpeechHouse.asm" INCLUDE "maps/Route2NuggetHouse.asm"
INCLUDE "maps/Route2Gate.asm" INCLUDE "maps/Route2Gate.asm"
INCLUDE "maps/VictoryRoadGate.asm" INCLUDE "maps/VictoryRoadGate.asm"
@ -294,7 +294,7 @@ INCLUDE "maps/CopycatsHouse1F.asm"
INCLUDE "maps/CopycatsHouse2F.asm" INCLUDE "maps/CopycatsHouse2F.asm"
INCLUDE "maps/Route5UndergroundPathEntrance.asm" INCLUDE "maps/Route5UndergroundPathEntrance.asm"
INCLUDE "maps/Route5SaffronGate.asm" INCLUDE "maps/Route5SaffronGate.asm"
INCLUDE "maps/Route5CleanseTagSpeechHouse.asm" INCLUDE "maps/Route5CleanseTagHouse.asm"
SECTION "Map Scripts 16", ROMX SECTION "Map Scripts 16", ROMX
@ -329,13 +329,13 @@ SECTION "Map Scripts 17", ROMX
INCLUDE "maps/MahoganyTown.asm" INCLUDE "maps/MahoganyTown.asm"
INCLUDE "maps/Route32.asm" INCLUDE "maps/Route32.asm"
INCLUDE "maps/VermilionHouseFishingSpeechHouse.asm" INCLUDE "maps/VermilionFishingSpeechHouse.asm"
INCLUDE "maps/VermilionPokecenter1F.asm" INCLUDE "maps/VermilionPokecenter1F.asm"
INCLUDE "maps/VermilionPokecenter2FBeta.asm" INCLUDE "maps/VermilionPokecenter2FBeta.asm"
INCLUDE "maps/PokemonFanClub.asm" INCLUDE "maps/PokemonFanClub.asm"
INCLUDE "maps/VermilionMagnetTrainSpeechHouse.asm" INCLUDE "maps/VermilionMagnetTrainSpeechHouse.asm"
INCLUDE "maps/VermilionMart.asm" INCLUDE "maps/VermilionMart.asm"
INCLUDE "maps/VermilionHouseDiglettsCaveSpeechHouse.asm" INCLUDE "maps/VermilionDiglettsCaveSpeechHouse.asm"
INCLUDE "maps/VermilionGym.asm" INCLUDE "maps/VermilionGym.asm"
INCLUDE "maps/Route6SaffronGate.asm" INCLUDE "maps/Route6SaffronGate.asm"
INCLUDE "maps/Route6UndergroundPathEntrance.asm" INCLUDE "maps/Route6UndergroundPathEntrance.asm"
@ -343,7 +343,7 @@ INCLUDE "maps/Pokecenter2F.asm"
INCLUDE "maps/TradeCenter.asm" INCLUDE "maps/TradeCenter.asm"
INCLUDE "maps/Colosseum.asm" INCLUDE "maps/Colosseum.asm"
INCLUDE "maps/TimeCapsule.asm" INCLUDE "maps/TimeCapsule.asm"
INCLUDE "maps/MobileTradeRoomMobile.asm" INCLUDE "maps/MobileTradeRoom.asm"
INCLUDE "maps/MobileBattleRoom.asm" INCLUDE "maps/MobileBattleRoom.asm"
@ -361,7 +361,7 @@ INCLUDE "maps/MoveDeletersHouse.asm"
INCLUDE "maps/FuchsiaMart.asm" INCLUDE "maps/FuchsiaMart.asm"
INCLUDE "maps/SafariZoneMainOffice.asm" INCLUDE "maps/SafariZoneMainOffice.asm"
INCLUDE "maps/FuchsiaGym.asm" INCLUDE "maps/FuchsiaGym.asm"
INCLUDE "maps/FuchsiaBillSpeechHouse.asm" INCLUDE "maps/BillsBrothersHouse.asm"
INCLUDE "maps/FuchsiaPokecenter1F.asm" INCLUDE "maps/FuchsiaPokecenter1F.asm"
INCLUDE "maps/FuchsiaPokecenter2FBeta.asm" INCLUDE "maps/FuchsiaPokecenter2FBeta.asm"
INCLUDE "maps/SafariZoneWardensHome.asm" INCLUDE "maps/SafariZoneWardensHome.asm"
@ -371,7 +371,7 @@ INCLUDE "maps/CherrygrovePokecenter1F.asm"
INCLUDE "maps/CherrygroveGymSpeechHouse.asm" INCLUDE "maps/CherrygroveGymSpeechHouse.asm"
INCLUDE "maps/GuideGentsHouse.asm" INCLUDE "maps/GuideGentsHouse.asm"
INCLUDE "maps/CherrygroveEvolutionSpeechHouse.asm" INCLUDE "maps/CherrygroveEvolutionSpeechHouse.asm"
INCLUDE "maps/Route30BerrySpeechHouse.asm" INCLUDE "maps/Route30BerryHouse.asm"
INCLUDE "maps/MrPokemonsHouse.asm" INCLUDE "maps/MrPokemonsHouse.asm"
INCLUDE "maps/Route31VioletGate.asm" INCLUDE "maps/Route31VioletGate.asm"
@ -477,7 +477,7 @@ INCLUDE "maps/Route4.asm"
INCLUDE "maps/Route10South.asm" INCLUDE "maps/Route10South.asm"
INCLUDE "maps/Route23.asm" INCLUDE "maps/Route23.asm"
INCLUDE "maps/SilverCavePokecenter1F.asm" INCLUDE "maps/SilverCavePokecenter1F.asm"
INCLUDE "maps/Route28FamousSpeechHouse.asm" INCLUDE "maps/Route28SteelWingHouse.asm"
SECTION "Map Scripts 25", ROMX SECTION "Map Scripts 25", ROMX

View File

@ -23,7 +23,7 @@ MapSetupScript_Warp: ; 15392
db map_lcd_off db map_lcd_off
db map_sound_off db map_sound_off
db map_load_spawn db map_load_spawn
db map_attributes db map_load_attributes
db map_change_callback db map_change_callback
db map_spawn_coord db map_spawn_coord
db map_player_coord db map_player_coord
@ -46,7 +46,7 @@ MapSetupScript_Warp: ; 15392
MapSetupScript_BadWarp: ; 153a9 MapSetupScript_BadWarp: ; 153a9
db map_load_spawn db map_load_spawn
db map_attributes db map_load_attributes
db map_change_callback db map_change_callback
db map_spawn_coord db map_spawn_coord
db map_player_coord db map_player_coord
@ -71,7 +71,7 @@ MapSetupScript_BadWarp: ; 153a9
MapSetupScript_Connection: ; 153bf MapSetupScript_Connection: ; 153bf
db map_animations_off db map_animations_off
db map_load_connection db map_load_connection
db map_attributes db map_load_attributes
db map_change_callback db map_change_callback
db map_player_coord db map_player_coord
db map_load_blocks db map_load_blocks
@ -93,7 +93,7 @@ MapSetupScript_Door: ; 153d1
db map_fade_out_palettes db map_fade_out_palettes
MapSetupScript_Train: ; 153d2 MapSetupScript_Train: ; 153d2
db map_load_warp db map_load_warp
db map_attributes db map_load_attributes
db map_warp_face db map_warp_face
db map_change_callback db map_change_callback
db map_player_coord db map_player_coord
@ -154,7 +154,7 @@ MapSetupScript_LinkReturn: ; 153f7
MapSetupScript_Continue: ; 15408 MapSetupScript_Continue: ; 15408
db map_lcd_off db map_lcd_off
db map_sound_off db map_sound_off
db map_attributes_2 db map_load_attributes_2
db map_anchor_screen db map_anchor_screen
db map_start_callback db map_start_callback
db map_load_blocks db map_load_blocks

View File

@ -1,13 +1,13 @@
spawn: MACRO spawn: MACRO
; map, x, y ; map, x, y
map \1 map_id \1
db \2, \3 db \2, \3
ENDM ENDM
SpawnPoints: ; 0x152ab SpawnPoints: ; 0x152ab
; entries correspond to SPAWN_* constants ; entries correspond to SPAWN_* constants
spawn KRISS_HOUSE_2F, 3, 3 spawn PLAYERS_HOUSE_2F, 3, 3
spawn VIRIDIAN_POKECENTER_1F, 5, 3 spawn VIRIDIAN_POKECENTER_1F, 5, 3
spawn PALLET_TOWN, 5, 6 spawn PALLET_TOWN, 5, 6

48
data/mon_menu.asm Normal file
View File

@ -0,0 +1,48 @@
; MonMenuOptionStrings indexes
const_def 1
const MONMENUVALUE_STATS ; 1
const MONMENUVALUE_SWITCH ; 2
const MONMENUVALUE_ITEM ; 3
const MONMENUVALUE_CANCEL ; 4
const MONMENUVALUE_MOVE ; 5
const MONMENUVALUE_MAIL ; 6
const MONMENUVALUE_ERROR ; 7
MonMenuOptionStrings: ; 24caf
; entries correspond to MONMENUVALUE_* constants
db "STATS@"
db "SWITCH@"
db "ITEM@"
db "CANCEL@"
db "MOVE@"
db "MAIL@"
db "ERROR!@"
; 24cd9
MonMenuOptions: ; 24cd9
; category, item, value; actions are in PokemonActionSubmenu (see engine/start_menu.asm)
; moves
db MONMENU_FIELD_MOVE, MONMENUITEM_CUT, CUT
db MONMENU_FIELD_MOVE, MONMENUITEM_FLY, FLY
db MONMENU_FIELD_MOVE, MONMENUITEM_SURF, SURF
db MONMENU_FIELD_MOVE, MONMENUITEM_STRENGTH, STRENGTH
db MONMENU_FIELD_MOVE, MONMENUITEM_FLASH, FLASH
db MONMENU_FIELD_MOVE, MONMENUITEM_WATERFALL, WATERFALL
db MONMENU_FIELD_MOVE, MONMENUITEM_WHIRLPOOL, WHIRLPOOL
db MONMENU_FIELD_MOVE, MONMENUITEM_DIG, DIG
db MONMENU_FIELD_MOVE, MONMENUITEM_TELEPORT, TELEPORT
db MONMENU_FIELD_MOVE, MONMENUITEM_SOFTBOILED, SOFTBOILED
db MONMENU_FIELD_MOVE, MONMENUITEM_HEADBUTT, HEADBUTT
db MONMENU_FIELD_MOVE, MONMENUITEM_ROCKSMASH, ROCK_SMASH
db MONMENU_FIELD_MOVE, MONMENUITEM_MILKDRINK, MILK_DRINK
db MONMENU_FIELD_MOVE, MONMENUITEM_SWEETSCENT, SWEET_SCENT
; options
db MONMENU_MENUOPTION, MONMENUITEM_STATS, MONMENUVALUE_STATS
db MONMENU_MENUOPTION, MONMENUITEM_SWITCH, MONMENUVALUE_SWITCH
db MONMENU_MENUOPTION, MONMENUITEM_ITEM, MONMENUVALUE_ITEM
db MONMENU_MENUOPTION, MONMENUITEM_CANCEL, MONMENUVALUE_CANCEL
db MONMENU_MENUOPTION, MONMENUITEM_MOVE, MONMENUVALUE_MOVE
db MONMENU_MENUOPTION, MONMENUITEM_MAIL, MONMENUVALUE_MAIL
db MONMENU_MENUOPTION, MONMENUITEM_ERROR, MONMENUVALUE_ERROR
db -1
; 24d19

View File

@ -0,0 +1,8 @@
FlailReversalPower:
; hp bar pixels, power
db HP_BAR_LENGTH_PX / 48, 200
db HP_BAR_LENGTH_PX / 12, 150
db HP_BAR_LENGTH_PX / 5, 100
db HP_BAR_LENGTH_PX / 3, 80
db HP_BAR_LENGTH_PX * 2 / 3, 40
db HP_BAR_LENGTH_PX, 20

View File

@ -0,0 +1,9 @@
MagnitudePower:
; chance, power, magnitude #
db 13, 10, 4
db 38, 30, 5
db 89, 50, 6
db 166, 70, 7
db 217, 90, 8
db 242, 110, 9
db 255, 150, 10

Some files were not shown because too many files have changed in this diff Show More