summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md2
-rw-r--r--Makefile2
-rwxr-xr-xasm/fldeff_cut.s2
-rwxr-xr-xasm/map_name_popup.s6
-rw-r--r--data/battle_frontier_2.s161
-rw-r--r--data/contest.s54
-rw-r--r--data/contest_opponents.inc2114
-rw-r--r--data/event_scripts.s1
-rw-r--r--data/field_effect_helpers.s11
-rw-r--r--data/field_ground_effect.s3
-rw-r--r--data/field_player_avatar.s17
-rw-r--r--data/field_special_scene.s6
-rw-r--r--data/field_tasks.s88
-rw-r--r--data/fldeff_cut.s24
-rw-r--r--data/graphics/field_objects/field_object_graphics.inc18
-rw-r--r--data/item_icon.s16
-rw-r--r--data/item_menu.s23
-rw-r--r--data/librfu_rodata.s5
-rw-r--r--data/map_name_popup.s64
-rw-r--r--data/mauville_old_man.s24
-rw-r--r--data/menu_helpers.s29
-rw-r--r--data/menu_indicators.s57
-rw-r--r--data/mon_markings.s144
-rw-r--r--data/mystery_event_menu.s6
-rw-r--r--data/mystery_event_msg.s297
-rw-r--r--data/new_menu_helpers.s40
-rw-r--r--data/option_menu.s20
-rw-r--r--data/overworld.s41
-rw-r--r--data/pokemon_summary_screen.s2
-rw-r--r--data/record_mixing.s27
-rw-r--r--data/script_menu.s31
-rw-r--r--data/scripts/cable_club.inc16
-rw-r--r--data/scripts/mauville_man.inc111
-rw-r--r--data/specials.inc1
-rw-r--r--data/unk_transition.s9
-rw-r--r--data/use_pokeblock.s61
-rw-r--r--graphics/battle_transitions/frontier_transition.binbin0 -> 428 bytes
-rwxr-xr-xgraphics/battle_transitions/frontier_transition.pngbin0 -> 448 bytes
-rwxr-xr-xgraphics/battle_transitions/frontier_transition_circles.pngbin0 -> 733 bytes
-rwxr-xr-xgraphics/interface/855C604.pal19
-rw-r--r--graphics/interface/855C624.bin1
-rw-r--r--graphics/interface/85DFA60.binbin0 -> 32 bytes
-rwxr-xr-xgraphics/interface/85DFA80.pngbin0 -> 212 bytes
-rw-r--r--graphics/interface/85DFB60.binbin0 -> 172 bytes
-rw-r--r--graphics/interface/85DFC0C.binbin0 -> 164 bytes
-rwxr-xr-xgraphics/interface/860F074.pal19
-rwxr-xr-xgraphics/interface/860F0B0.pal19
-rwxr-xr-xgraphics/interface/map_popup/857F444.pal19
-rwxr-xr-xgraphics/interface/map_popup/brick.pngbin0 -> 412 bytes
-rwxr-xr-xgraphics/interface/map_popup/brick_outline.pngbin0 -> 461 bytes
-rwxr-xr-xgraphics/interface/map_popup/marble.pngbin0 -> 509 bytes
-rwxr-xr-xgraphics/interface/map_popup/marble_outline.pngbin0 -> 494 bytes
-rwxr-xr-xgraphics/interface/map_popup/stone.pngbin0 -> 201 bytes
-rwxr-xr-xgraphics/interface/map_popup/stone2.pngbin0 -> 201 bytes
-rwxr-xr-xgraphics/interface/map_popup/stone2_outline.pngbin0 -> 407 bytes
-rwxr-xr-xgraphics/interface/map_popup/stone_outline.pngbin0 -> 407 bytes
-rwxr-xr-xgraphics/interface/map_popup/underwater.pngbin0 -> 304 bytes
-rwxr-xr-xgraphics/interface/map_popup/underwater_outline.pngbin0 -> 485 bytes
-rwxr-xr-xgraphics/interface/map_popup/wood.pngbin0 -> 338 bytes
-rwxr-xr-xgraphics/interface/map_popup/wood_outline.pngbin0 -> 391 bytes
-rwxr-xr-xgraphics/interface/red_arrow.pngbin0 -> 167 bytes
-rwxr-xr-xgraphics/interface/red_arrow_other.pngbin0 -> 197 bytes
-rwxr-xr-xgraphics/interface/select_button.pngbin0 -> 135 bytes
-rwxr-xr-xgraphics/interface/selector_outline.pngbin0 -> 156 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unknown_4F6D38/0.pngbin0 -> 130 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unknown_4F7E38/0.pngbin0 -> 175 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unused_grass/0.pngbin0 -> 231 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unused_grass/1.pngbin0 -> 228 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unused_grass/2.pngbin0 -> 230 bytes
-rwxr-xr-xgraphics/map_objects/pics/effects/unused_grass/3.pngbin0 -> 232 bytes
-rwxr-xr-xgraphics/misc/mon_markings.pngbin0 -> 489 bytes
-rwxr-xr-xgraphics/slot_machine/85A8524.pal19
-rw-r--r--graphics_file_rules.mk10
-rw-r--r--src/mail.c24
74 files changed, 3496 insertions, 167 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 75adc2ea1..faffb3888 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,4 +1,4 @@
-First, you must put a Pokémon Emerald (US) ROM in the root directory of the repository and name it `baserom.gba`. It should have a SHA1 checksum of `f3ae088181bf583e55daf962a92bb46f4f1d07b7`. Then, follow the OS-specific instructions below.
+Follow the OS-specific instructions below.
# Linux
diff --git a/Makefile b/Makefile
index 8a7777270..b9e2fb289 100644
--- a/Makefile
+++ b/Makefile
@@ -168,5 +168,3 @@ $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS)
$(ROM): $(ELF)
$(OBJCOPY) -O binary --gap-fill 0xFF --pad-to 0x9000000 $< $@
-baserom.gba: ;
- $(error baserom.gba is required to build)
diff --git a/asm/fldeff_cut.s b/asm/fldeff_cut.s
index 20380e478..19a29d729 100755
--- a/asm/fldeff_cut.s
+++ b/asm/fldeff_cut.s
@@ -244,7 +244,7 @@ _080D38F8:
lsrs r4, r0, 16
movs r7, 0x1
movs r5, 0
- ldr r3, =gUnknown_0857C60A
+ ldr r3, =gUnknown_0857C608 + 2
adds r0, r2, r3
ldrb r0, [r0]
adds r6, 0x1
diff --git a/asm/map_name_popup.s b/asm/map_name_popup.s
index f10dff946..9802c3151 100755
--- a/asm/map_name_popup.s
+++ b/asm/map_name_popup.s
@@ -518,7 +518,7 @@ _080D4C0A:
lsls r1, r4, 4
subs r1, r4
lsls r1, 6
- ldr r2, =gUnknown_0857DD04
+ ldr r2, =gMapPopUp_Outline_Table
adds r1, r2
movs r2, 0x80
lsls r2, 3
@@ -541,7 +541,7 @@ _080D4C0A:
.pool
_080D4C6C:
lsls r0, r4, 5
- ldr r1, =gUnknown_0857F384
+ ldr r1, =gMapPopUp_Palette_Table
adds r0, r1
movs r1, 0xE0
movs r2, 0x20
@@ -550,7 +550,7 @@ _080D4C7A:
lsls r1, r4, 4
subs r1, r4
lsls r1, 6
- ldr r0, =gUnknown_0857C684
+ ldr r0, =gMapPopUp_Table
adds r1, r0
movs r0, 0x50
str r0, [sp]
diff --git a/data/battle_frontier_2.s b/data/battle_frontier_2.s
index c9bab5a64..8fc2939c6 100644
--- a/data/battle_frontier_2.s
+++ b/data/battle_frontier_2.s
@@ -373,7 +373,166 @@ gUnknown_08610948:: @ 8610948
.align 2 @ struct, eight bytes x6 for names in different languages, then 0x28 more bytes of data
gUnknown_08610970:: @ 8610970
- .incbin "baserom.gba", 0x610970, 0x580
+ .string "サダヒロ$", 8
+ .string "ALANN$", 8
+ .string "ALAIN$", 8
+ .string "ADELFO$", 8
+ .string "CLAUS$", 8
+ .string "TEO$", 8
+ .byte 0xC9, 0xBD
+ .2byte 0x43
+ .2byte SPECIES_BEAUTIFLY, SPECIES_DUSTOX, SPECIES_ILLUMISE, SPECIES_SHIFTRY, SPECIES_BRELOOM, SPECIES_NINJASK, SPECIES_SHEDINJA, SPECIES_PINSIR, SPECIES_HERACROSS, SPECIES_VOLBEAT, 0
+ .byte 0x1D, 8, 0x3e, 20, 0, 12, 1, 10, 0x30, 6, 0x44, 20, 0, 0
+ .string "ヒロオ$", 8
+ .string "LIONEL$", 8
+ .string "LIONEL$", 8
+ .string "CAIO$", 8
+ .string "LUDWIG$", 8
+ .string "LEO$", 8
+ .byte 0x9, 0xCF
+ .2byte 0x2B
+ .2byte SPECIES_SWELLOW, SPECIES_SWALOT, SPECIES_SHUCKLE, SPECIES_MANECTRIC, SPECIES_TORKOAL, SPECIES_HARIYAMA, SPECIES_MIGHTYENA, SPECIES_LUDICOLO, SPECIES_CRAWDAUNT, SPECIES_WHISCASH, 1
+ .byte 0x38, 12, 1, 10, 0x30, 6, 6, 10, 0x20, 0x10, 0x13, 0x22, 0, 0
+ .string "ケイジ$", 8
+ .string "SONNY$", 8
+ .string "HERVE$", 8
+ .string "FEDRO$", 8
+ .string "WENZEL$", 8
+ .string "SANTI$", 8
+ .byte 0x34, 0x2E
+ .2byte 0x26
+ .2byte SPECIES_LINOONE, SPECIES_MIGHTYENA, SPECIES_WHISCASH, SPECIES_ZANGOOSE, SPECIES_SEVIPER, SPECIES_NINETALES, SPECIES_KECLEON, SPECIES_SHUCKLE, SPECIES_MANECTRIC, SPECIES_MACHAMP, 2
+ .byte 1, 10, 10, 0x16, 0x15, 14, 0x30, 6, 0x3b, 12, 0x4, 12, 0, 0
+ .string "ユラ$", 8
+ .string "LAYLA$", 8
+ .string "LAYLA$", 8
+ .string "ASTRID$", 8
+ .string "SONJA$", 8
+ .string "LOLA$", 8
+ .byte 0xEF, 0x84
+ .2byte 0x47
+ .2byte SPECIES_SWALOT, SPECIES_XATU, SPECIES_ALTARIA, SPECIES_GOLDUCK, SPECIES_FLYGON, SPECIES_ALAKAZAM, SPECIES_GARDEVOIR, SPECIES_WAILORD, SPECIES_GRUMPIG, SPECIES_MIGHTYENA, 3
+ .byte 11, 16, 15, 0x1e, 0x39, 16, 0x21, 0x14, 0x3, 12, 0xff, 0xff, 0, 0
+ .string "ヨウカ$", 8
+ .string "MACY$", 8
+ .string "AMELIE$", 8
+ .string "CLEO$", 8
+ .string "MARIA$", 8
+ .string "ELISA$", 8
+ .byte 0x43, 0x1E
+ .2byte 0x27
+ .2byte SPECIES_WIGGLYTUFF, SPECIES_LINOONE, SPECIES_KINGDRA, SPECIES_DELCATTY, SPECIES_RAICHU, SPECIES_FEAROW, SPECIES_STARMIE, SPECIES_MEDICHAM, SPECIES_SHIFTRY, SPECIES_BEAUTIFLY, 4
+ .byte 15, 0x1e, 0x14, 16, 6, 16, 15, 0x28, 0x1c, 0x1c, 0x13, 0x1c, 0, 0
+ .string "ヤスシ$", 8
+ .string "DONTE$", 8
+ .string "BRAHIM$", 8
+ .string "GLAUCO$", 8
+ .string "JOSEF$", 8
+ .string "ROQUE$", 8
+ .byte 0x9F, 0x37
+ .2byte 0x30
+ .2byte SPECIES_STARMIE, SPECIES_DODRIO, SPECIES_AGGRON, SPECIES_MAGNETON, SPECIES_MACHAMP, SPECIES_ARMALDO, SPECIES_HERACROSS, SPECIES_NOSEPASS, SPECIES_EXPLOUD, SPECIES_MIGHTYENA, 5
+ .byte 0x29, 0x0A, 0x08, 0x14, 0x2F, 0x10, 0x38, 0x16, 0x20, 0x08, 0x00, 0x0C, 0x00, 0
+ .string "ミサオ$", 8
+ .string "AMIRA$", 8
+ .string "LAURE$", 8
+ .string "DAFNE$", 8
+ .string "AMELIE$", 8
+ .string "LARA$", 8
+ .byte 0x55, 0xF5
+ .2byte 0x31
+ .2byte SPECIES_STARMIE, SPECIES_DODRIO, SPECIES_MAGNETON, SPECIES_MEDICHAM, SPECIES_MIGHTYENA, SPECIES_GLALIE, SPECIES_GOLEM, SPECIES_ELECTRODE, SPECIES_PELIPPER, SPECIES_SHARPEDO, 6
+ .byte 0x0B, 0x0C, 0x3E, 0x12, 0x00, 0x0C, 0x31, 0x0A, 0x30, 0x14, 0x00, 0x0C, 0x00, 0x00
+ .string "カズサ$", 8
+ .string "KALI$", 8
+ .string "JODIE$", 8
+ .string "ILENIA$", 8
+ .string "KARO$", 8
+ .string "ELSA$", 8
+ .byte 0x26, 0x8D
+ .2byte 0x14
+ .2byte SPECIES_NINETALES, SPECIES_ALAKAZAM, SPECIES_SCEPTILE, SPECIES_SALAMENCE, SPECIES_GOLDUCK, SPECIES_MAWILE, SPECIES_WEEZING, SPECIES_LANTURN, SPECIES_GARDEVOIR, SPECIES_MILOTIC, 7
+ .byte 0x06, 0x0A, 0x20, 0x06, 0x1F, 0x0A, 0x02, 0x0A, 0x03, 0x0C, 0xFF, 0xFF, 0x00, 0x00
+ .string "スミレ$", 8
+ .string "ANNIE$", 8
+ .string "ANNIE$", 8
+ .string "IMELDA$", 8
+ .string "INES$", 8
+ .string "ROSA$", 8
+ .byte 0xC, 0x80
+ .2byte 0xD
+ .2byte SPECIES_SCEPTILE, SPECIES_VILEPLUME, SPECIES_BELLOSSOM, SPECIES_ROSELIA, SPECIES_CORSOLA, SPECIES_FLYGON, SPECIES_BRELOOM, SPECIES_MILOTIC, SPECIES_ALTARIA, SPECIES_CRADILY, 8
+ .byte 0x22, 0x1E, 0x33, 0x04, 0x0E, 0x02, 0x02, 0x0A, 0x1E, 0x10, 0x00, 0x0C, 0x00, 0x00
+ .string "アキノリ$", 8
+ .string "DILLEN$", 8
+ .string "RENE$", 8
+ .string "INDRO$", 8
+ .string "DETLEF$", 8
+ .string "PEDRO$", 8
+ .byte 0x9f, 0x46
+ .2byte 0
+ .2byte SPECIES_SKARMORY, SPECIES_GOLEM, SPECIES_BLAZIKEN, SPECIES_CAMERUPT, SPECIES_DONPHAN, SPECIES_MUK, SPECIES_SALAMENCE, SPECIES_TROPIUS, SPECIES_SOLROCK, SPECIES_RHYDON, 9
+ .byte 0x3D, 0x0A, 0x11, 0x10, 0x1E, 0x0E, 0x1C, 0x20, 0x04, 0x0C, 0xFF, 0xFF, 0x00, 0x00
+ .string "トウゾウ$", 8
+ .string "DALLAS$", 8
+ .string "BRUNO$", 8
+ .string "LEARCO$", 8
+ .string "ANSGAR$", 8
+ .string "MANOLO$", 8
+ .byte 0xFC, 0x71
+ .2byte 0x2D
+ .2byte SPECIES_SEAKING, SPECIES_STARMIE, SPECIES_GOLDUCK, SPECIES_TENTACRUEL, SPECIES_OCTILLERY, SPECIES_GOREBYSS, SPECIES_GLALIE, SPECIES_WAILORD, SPECIES_SHARPEDO, SPECIES_KINGDRA, 10
+ .byte 0x05, 0x0A, 0x06, 0x06, 0x0E, 0x16, 0x14, 0x0A, 0x00, 0x0C, 0xFF, 0xFF, 0x00, 0x00
+ .string "セイヤ$", 8
+ .string "FRANK$", 8
+ .string "FRANK$", 8
+ .string "OLINDO$", 8
+ .string "FRANK$", 8
+ .string "MAURO$", 8
+ .byte 0x9E, 0xA3
+ .2byte 0x3A
+ .2byte SPECIES_QUAGSIRE, SPECIES_STARMIE, SPECIES_PELIPPER, SPECIES_CRAWDAUNT, SPECIES_WAILORD, SPECIES_GYARADOS, SPECIES_SWAMPERT, SPECIES_LANTURN, SPECIES_WHISCASH, SPECIES_SHUCKLE, 11
+ .byte 0x0E, 0x28, 0x3D, 0x10, 0x0F, 0x24, 0x14, 0x0A, 0x23, 0x1E, 0x24, 0x10, 0x00, 0x00
+ .string "リュウジ$", 8
+ .string "LAMONT$", 8
+ .string "XAV$", 8
+ .string "ORFEO$", 8
+ .string "J{0xf3}RGEN$", 8 @accent?
+ .string "JORGE$", 8
+ .byte 0x90, 0xE5
+ .2byte 0x19
+ .2byte SPECIES_ABSOL, SPECIES_CROBAT, SPECIES_EXPLOUD, SPECIES_MAGNETON, SPECIES_SHARPEDO, SPECIES_MANECTRIC, SPECIES_METAGROSS, SPECIES_ELECTRODE, SPECIES_NOSEPASS, SPECIES_WEEZING, 12
+ .byte 0x20, 0x10, 0x2E, 0x06, 0x0B, 0x10, 0x22, 0x1E, 0x0F, 0x1E, 0x0B, 0x10, 0x00, 0x00
+ .string "カツアキ$", 8
+ .string "TYRESE$", 8
+ .string "ANDY$", 8
+ .string "PARIDE$", 8
+ .string "DAVID$", 8
+ .string "CHICHO$", 8
+ .byte 0x18, 0xD0
+ .2byte 10
+ .2byte SPECIES_BLAZIKEN, SPECIES_GOLEM, SPECIES_MACHAMP, SPECIES_RHYDON, SPECIES_HARIYAMA, SPECIES_AGGRON, SPECIES_MEDICHAM, SPECIES_ZANGOOSE, SPECIES_VIGOROTH, SPECIES_SLAKING, 13
+ .byte 0x29, 0x0A, 0x3A, 0x06, 0x15, 0x0E, 0x35, 0x14, 0x34, 0x10, 0x1E, 0x06, 0x00, 0x00
+ .string "トシミツ$", 8
+ .string "DANTE$", 8
+ .string "DANTE$", 8
+ .string "RAOUL$", 8
+ .string "LOTHAR$", 8
+ .string "PABLO$", 8
+ .byte 0x75, 0xBC
+ .2byte 14
+ .2byte SPECIES_SCEPTILE, SPECIES_SANDSLASH, SPECIES_FLYGON, SPECIES_CLAYDOL, SPECIES_ARMALDO, SPECIES_CROBAT, SPECIES_CRADILY, SPECIES_SOLROCK, SPECIES_LUNATONE, SPECIES_GOLEM, 14
+ .byte 0x01, 0x0A, 0x17, 0x10, 0x43, 0x12, 0x22, 0x1E, 0x0B, 0x10, 0x0F, 0x28, 0x00, 0x00
+ .string "ローウェン$", 8
+ .string "ARTURO$", 8
+ .string "ARTURO$", 8
+ .string "ROMOLO$", 8
+ .string "BRIAN$", 8
+ .string "ARTURO$", 8
+ .byte 0x2, 0xFA
+ .2byte 0x20
+ .2byte SPECIES_ABSOL, SPECIES_MIGHTYENA, SPECIES_ALAKAZAM, SPECIES_BANETTE, SPECIES_NINETALES, SPECIES_CLAYDOL, SPECIES_MUK, SPECIES_SALAMENCE, SPECIES_WALREIN, SPECIES_DUSCLOPS, 15
+ .byte 0x0F, 0x1E, 0x04, 0x14, 0x2F, 0x10, 0x06, 0x10, 0x20, 0x10, 0x03, 0x0E, 0x00, 0x00
.align 2
gUnknown_08610EF0:: @ 8610EF0
diff --git a/data/contest.s b/data/contest.s
index 53cab1935..69820f980 100644
--- a/data/contest.s
+++ b/data/contest.s
@@ -1,5 +1,7 @@
.include "asm/macros.inc"
.include "constants/constants.inc"
+ .include "constants/species_constants.inc"
+ .include "include/constants/moves.h"
.section .rodata
.align 2, 0
@@ -299,11 +301,59 @@ gUnknown_08587F44:: @ 8587F44
.align 2
gUnknown_08587FA4:: @ 8587FA4
- .incbin "baserom.gba", 0x587fa4, 0x100
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_ELECTRIKE
+ .byte 2
+ .string "ELECTER$", 11
+ .string "EZRA$", 8
+ .2byte 0
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_TROPIUS
+ .byte 0
+ .string "TROPO$", 11
+ .string "ALLAN$", 8
+ .2byte 2
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_XATU
+ .byte 1
+ .string "TUXA$", 11
+ .string "JULIET$", 8
+ .2byte 0
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_PLUSLE
+ .byte 4
+ .string "PULSE$", 11
+ .string "BAILY$", 8
+ .2byte 3
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_SHUPPET
+ .byte 3
+ .string "SHUPUP$", 11
+ .string "MELANY$", 8
+ .2byte 1
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_ZANGOOSE
+ .byte 0
+ .string "GOOZAN$", 11
+ .string "HANA$", 8
+ .2byte 2
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_LOUDRED
+ .byte 1
+ .string "LOUDED$", 11
+ .string "BRYANT$", 8
+ .2byte 2
+ .4byte NULL, 0xFFFF
+ .2byte SPECIES_DELCATTY
+ .byte 2
+ .string "KITSY$", 11
+ .string "OMAR$", 8
+ .2byte 3
+
.align 2
gUnknown_085880A4:: @ 85880A4
- .incbin "baserom.gba", 0x5880a4, 0x1800
+ .include "data/contest_opponents.inc"
gUnknown_085898A4:: @ 85898A4
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
diff --git a/data/contest_opponents.inc b/data/contest_opponents.inc
new file mode 100644
index 000000000..d8ccfbb5b
--- /dev/null
+++ b/data/contest_opponents.inc
@@ -0,0 +1,2114 @@
+@todo: cleanup
+ .2byte SPECIES_POOCHYENA
+ .string "POOCHY$ "
+ .string "JIMMY$ "
+ .byte 7
+ .2byte 0
+ .4byte 0xc000fff
+ .2byte 68
+ .2byte 46
+ .2byte 44
+ .2byte 36
+ .2byte 336
+ .byte 10
+ .byte 4
+ .byte 10
+ .byte 3
+ .byte 4
+ .byte 50
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ILLUMISE
+ .string "MUSILLE$ "
+ .string "EDITH$ "
+ .byte 8
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 16
+ .2byte 156
+ .2byte 263
+ .2byte 33
+ .2byte 343
+ .byte 10
+ .byte 10
+ .byte 6
+ .byte 1
+ .byte 2
+ .byte 60
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DUSTOX
+ .string "DUSTER$ "
+ .string "EVAN$ "
+ .byte 11
+ .2byte 0
+ .4byte 0x21000fff
+ .2byte 8
+ .2byte 318
+ .2byte 236
+ .2byte 113
+ .2byte 16
+ .byte 2
+ .byte 10
+ .byte 10
+ .byte 12
+ .byte 4
+ .byte 70
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SEEDOT
+ .string "DOTS$ "
+ .string "KELSEY$ "
+ .byte 16
+ .2byte 0
+ .4byte 0x20800fff
+ .2byte 96
+ .2byte 117
+ .2byte 235
+ .2byte 331
+ .2byte 74
+ .byte 3
+ .byte 3
+ .byte 5
+ .byte 2
+ .byte 7
+ .byte 80
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_TAILLOW
+ .string "TATAY$ "
+ .string "MADISON$"
+ .byte 18
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 4
+ .2byte 17
+ .2byte 97
+ .2byte 332
+ .2byte 45
+ .byte 1
+ .byte 3
+ .byte 3
+ .byte 5
+ .byte 4
+ .byte 90
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_NINCADA
+ .string "NINDA$ "
+ .string "RAYMOND$"
+ .byte 44
+ .2byte 0
+ .4byte 0x10200fff
+ .2byte 32
+ .2byte 141
+ .2byte 206
+ .2byte 154
+ .2byte 170
+ .byte 5
+ .byte 2
+ .byte 10
+ .byte 7
+ .byte 8
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SHROOMISH
+ .string "SMISH$ "
+ .string "GRANT$ "
+ .byte 35
+ .2byte 0
+ .4byte 0x20100fff
+ .2byte 32
+ .2byte 78
+ .2byte 73
+ .2byte 72
+ .2byte 213
+ .byte 3
+ .byte 3
+ .byte 10
+ .byte 2
+ .byte 2
+ .byte 50
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SPHEAL
+ .string "SLEAL$ "
+ .string "PAIGE$ "
+ .byte 26
+ .2byte 0
+ .4byte 0x8080fff
+ .2byte 24
+ .2byte 62
+ .2byte 55
+ .2byte 45
+ .2byte 317
+ .byte 3
+ .byte 5
+ .byte 1
+ .byte 10
+ .byte 10
+ .byte 60
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SLAKOTH
+ .string "SLOKTH$ "
+ .string "ALEC$ "
+ .byte 31
+ .2byte 0
+ .4byte 0x40040fff
+ .2byte 88
+ .2byte 70
+ .2byte 68
+ .2byte 281
+ .2byte 227
+ .byte 10
+ .byte 4
+ .byte 4
+ .byte 5
+ .byte 18
+ .byte 70
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_WHISMUR
+ .string "WHIRIS$ "
+ .string "SYDNEY$ "
+ .byte 47
+ .2byte 0
+ .4byte 0x80020fff
+ .2byte 36
+ .2byte 310
+ .2byte 103
+ .2byte 253
+ .2byte 304
+ .byte 2
+ .byte 2
+ .byte 7
+ .byte 2
+ .byte 7
+ .byte 80
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MAKUHITA
+ .string "MAHITA$ "
+ .string "MORRIS$ "
+ .byte 38
+ .2byte 0
+ .4byte 0x8010fff
+ .2byte 68
+ .2byte 69
+ .2byte 233
+ .2byte 33
+ .2byte 179
+ .byte 9
+ .byte 1
+ .byte 1
+ .byte 8
+ .byte 1
+ .byte 90
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ARON
+ .string "RONAR$ "
+ .string "MARIAH$ "
+ .byte 10
+ .2byte 0
+ .4byte 0x8008fff
+ .2byte 68
+ .2byte 232
+ .2byte 334
+ .2byte 29
+ .2byte 36
+ .byte 5
+ .byte 10
+ .byte 2
+ .byte 10
+ .byte 2
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_CROBAT
+ .string "BATRO$ "
+ .string "RUSSELL$"
+ .byte 33
+ .2byte 0
+ .4byte 0x90004fff
+ .2byte 56
+ .2byte 114
+ .2byte 212
+ .2byte 109
+ .2byte 141
+ .byte 4
+ .byte 2
+ .byte 2
+ .byte 2
+ .byte 10
+ .byte 50
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_GULPIN
+ .string "GULIN$ "
+ .string "MELANIE$"
+ .byte 6
+ .2byte 0
+ .4byte 0x40002fff
+ .2byte 16
+ .2byte 124
+ .2byte 133
+ .2byte 92
+ .2byte 281
+ .byte 1
+ .byte 10
+ .byte 1
+ .byte 10
+ .byte 5
+ .byte 60
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MANECTRIC
+ .string "RIKELEC$ "
+ .string "CHANCE$ "
+ .byte 15
+ .2byte 0
+ .4byte 0x80001fff
+ .2byte 12
+ .2byte 209
+ .2byte 86
+ .2byte 87
+ .2byte 46
+ .byte 20
+ .byte 10
+ .byte 1
+ .byte 1
+ .byte 1
+ .byte 70
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BULBASAUR
+ .string "BULBY$ "
+ .string "AGATHA$ "
+ .byte 20
+ .2byte 0
+ .4byte 0xc000fff
+ .2byte 48
+ .2byte 45
+ .2byte 73
+ .2byte 33
+ .2byte 230
+ .byte 5
+ .byte 3
+ .byte 10
+ .byte 10
+ .byte 4
+ .byte 50
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BUTTERFREE
+ .string "FUTTERBE$ "
+ .string "BEAU$ "
+ .byte 40
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 40
+ .2byte 48
+ .2byte 18
+ .2byte 318
+ .2byte 219
+ .byte 3
+ .byte 10
+ .byte 2
+ .byte 10
+ .byte 4
+ .byte 60
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_PIDGEOTTO
+ .string "PIDEOT$ "
+ .string "KAY$ "
+ .byte 34
+ .2byte 0
+ .4byte 0x21000fff
+ .2byte 12
+ .2byte 119
+ .2byte 98
+ .2byte 332
+ .2byte 297
+ .byte 10
+ .byte 8
+ .byte 4
+ .byte 2
+ .byte 3
+ .byte 70
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DIGLETT
+ .string "DIGLE$ "
+ .string "CALE$ "
+ .byte 55
+ .2byte 0
+ .4byte 0x20800fff
+ .2byte 96
+ .2byte 91
+ .2byte 89
+ .2byte 90
+ .2byte 222
+ .byte 4
+ .byte 2
+ .byte 3
+ .byte 5
+ .byte 10
+ .byte 80
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_POLIWAG
+ .string "WAGIL$ "
+ .string "CAITLIN$"
+ .byte 53
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 72
+ .2byte 56
+ .2byte 240
+ .2byte 34
+ .2byte 58
+ .byte 2
+ .byte 10
+ .byte 5
+ .byte 3
+ .byte 10
+ .byte 90
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_TOTODILE
+ .string "TOTDIL$ "
+ .string "COLBY$ "
+ .byte 5
+ .2byte 0
+ .4byte 0x10200fff
+ .2byte 12
+ .2byte 99
+ .2byte 103
+ .2byte 57
+ .2byte 59
+ .byte 6
+ .byte 10
+ .byte 2
+ .byte 1
+ .byte 5
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LEDYBA
+ .string "BALEDY$ "
+ .string "KYLIE$ "
+ .byte 45
+ .2byte 0
+ .4byte 0x20100fff
+ .2byte 20
+ .2byte 226
+ .2byte 97
+ .2byte 129
+ .2byte 213
+ .byte 8
+ .byte 6
+ .byte 8
+ .byte 6
+ .byte 2
+ .byte 90
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DELIBIRD
+ .string "BIRDLY$ "
+ .string "LIAM$ "
+ .byte 66
+ .2byte 0
+ .4byte 0x8080fff
+ .2byte 112
+ .2byte 217
+ .2byte 263
+ .2byte 264
+ .2byte 216
+ .byte 4
+ .byte 3
+ .byte 10
+ .byte 5
+ .byte 3
+ .byte 80
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LARVITAR
+ .string "TARVITAR$ "
+ .string "MILO$ "
+ .byte 39
+ .2byte 0
+ .4byte 0x40040fff
+ .2byte 64
+ .2byte 37
+ .2byte 259
+ .2byte 242
+ .2byte 91
+ .byte 8
+ .byte 5
+ .byte 5
+ .byte 8
+ .byte 10
+ .byte 70
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ROSELIA
+ .string "RELIA$ "
+ .string "KARINA$ "
+ .byte 32
+ .2byte 0
+ .4byte 0x24000fff
+ .2byte 41
+ .2byte 80
+ .2byte 345
+ .2byte 320
+ .2byte 275
+ .byte 50
+ .byte 15
+ .byte 75
+ .byte 10
+ .byte 20
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DODRIO
+ .string "DUODO$ "
+ .string "BOBBY$ "
+ .byte 51
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 125
+ .2byte 64
+ .2byte 31
+ .2byte 216
+ .2byte 45
+ .byte 15
+ .byte 21
+ .byte 15
+ .byte 85
+ .byte 35
+ .byte 110
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_TRAPINCH
+ .string "PINCHIN$ "
+ .string "CLAIRE$ "
+ .byte 8
+ .2byte 0
+ .4byte 0x81000fff
+ .2byte 113
+ .2byte 44
+ .2byte 28
+ .2byte 91
+ .2byte 185
+ .byte 75
+ .byte 25
+ .byte 25
+ .byte 10
+ .byte 25
+ .byte 120
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_CACNEA
+ .string "NACAC$ "
+ .string "WILLIE$ "
+ .byte 11
+ .2byte 0
+ .4byte 0x80800fff
+ .2byte 37
+ .2byte 191
+ .2byte 43
+ .2byte 40
+ .2byte 28
+ .byte 10
+ .byte 30
+ .byte 25
+ .byte 65
+ .byte 25
+ .byte 130
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SANDSLASH
+ .string "SHRAND$ "
+ .string "CASSIDY$"
+ .byte 18
+ .2byte 0
+ .4byte 0x10400fff
+ .2byte 69
+ .2byte 163
+ .2byte 111
+ .2byte 129
+ .2byte 154
+ .byte 30
+ .byte 90
+ .byte 30
+ .byte 10
+ .byte 100
+ .byte 140
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BALTOY
+ .string "TOYBAL$ "
+ .string "MORGAN$ "
+ .byte 44
+ .2byte 0
+ .4byte 0x8200fff
+ .2byte 41
+ .2byte 120
+ .2byte 317
+ .2byte 60
+ .2byte 93
+ .byte 50
+ .byte 40
+ .byte 10
+ .byte 35
+ .byte 35
+ .byte 150
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MEDICHAM
+ .string "CHAMCHAM$ "
+ .string "SUMMER$ "
+ .byte 26
+ .2byte 0
+ .4byte 0x10100fff
+ .2byte 77
+ .2byte 179
+ .2byte 9
+ .2byte 7
+ .2byte 8
+ .byte 40
+ .byte 20
+ .byte 40
+ .byte 40
+ .byte 40
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SPINDA
+ .string "SPININ$ "
+ .string "MILES$ "
+ .byte 31
+ .2byte 0
+ .4byte 0x80080fff
+ .2byte 49
+ .2byte 298
+ .2byte 244
+ .2byte 95
+ .2byte 253
+ .byte 25
+ .byte 75
+ .byte 25
+ .byte 10
+ .byte 25
+ .byte 110
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SWABLU
+ .string "SWABY$ "
+ .string "AUDREY$ "
+ .byte 47
+ .2byte 0
+ .4byte 0xa0040fff
+ .2byte 41
+ .2byte 119
+ .2byte 195
+ .2byte 219
+ .2byte 54
+ .byte 30
+ .byte 30
+ .byte 40
+ .byte 30
+ .byte 25
+ .byte 120
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SPOINK
+ .string "POINKER$ "
+ .string "AVERY$ "
+ .byte 38
+ .2byte 0
+ .4byte 0x80020fff
+ .2byte 49
+ .2byte 150
+ .2byte 109
+ .2byte 173
+ .2byte 156
+ .byte 40
+ .byte 10
+ .byte 30
+ .byte 40
+ .byte 30
+ .byte 130
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_KECLEON
+ .string "KECON$ "
+ .string "ARIANA$ "
+ .byte 10
+ .2byte 0
+ .4byte 0x80010fff
+ .2byte 97
+ .2byte 168
+ .2byte 103
+ .2byte 246
+ .2byte 20
+ .byte 10
+ .byte 10
+ .byte 40
+ .byte 75
+ .byte 35
+ .byte 140
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_GOLDEEN
+ .string "GOLDEN$ "
+ .string "ASHTON$ "
+ .byte 33
+ .2byte 0
+ .4byte 0x80008fff
+ .2byte 13
+ .2byte 30
+ .2byte 31
+ .2byte 32
+ .2byte 39
+ .byte 70
+ .byte 30
+ .byte 5
+ .byte 30
+ .byte 25
+ .byte 150
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BARBOACH
+ .string "BOBOACH$ "
+ .string "SANDRA$ "
+ .byte 6
+ .2byte 0
+ .4byte 0x80004fff
+ .2byte 113
+ .2byte 300
+ .2byte 346
+ .2byte 89
+ .2byte 248
+ .byte 45
+ .byte 45
+ .byte 60
+ .byte 25
+ .byte 15
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SKARMORY
+ .string "CORPY$ "
+ .string "CARSON$ "
+ .byte 35
+ .2byte 0
+ .4byte 0x8002fff
+ .2byte 77
+ .2byte 129
+ .2byte 104
+ .2byte 97
+ .2byte 15
+ .byte 40
+ .byte 30
+ .byte 25
+ .byte 60
+ .byte 20
+ .byte 110
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LOTAD
+ .string "TADO$ "
+ .string "KATRINA$"
+ .byte 16
+ .2byte 0
+ .4byte 0x8001fff
+ .2byte 57
+ .2byte 310
+ .2byte 45
+ .2byte 240
+ .2byte 352
+ .byte 15
+ .byte 15
+ .byte 30
+ .byte 15
+ .byte 75
+ .byte 120
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SLOWBRO
+ .string "BROWLO$ "
+ .string "LUKE$ "
+ .byte 17
+ .2byte 0
+ .4byte 0xc000fff
+ .2byte 49
+ .2byte 281
+ .2byte 50
+ .2byte 45
+ .2byte 93
+ .byte 20
+ .byte 40
+ .byte 40
+ .byte 30
+ .byte 20
+ .byte 100
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_FARFETCH_D
+ .string "FETCHIN$ "
+ .string "RAUL$ "
+ .byte 66
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 21
+ .2byte 263
+ .2byte 210
+ .2byte 19
+ .2byte 216
+ .byte 40
+ .byte 10
+ .byte 40
+ .byte 20
+ .byte 20
+ .byte 110
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SEEL
+ .string "SEELEY$ "
+ .string "JADA$ "
+ .byte 20
+ .2byte 0
+ .4byte 0x21000fff
+ .2byte 25
+ .2byte 213
+ .2byte 58
+ .2byte 219
+ .2byte 45
+ .byte 10
+ .byte 30
+ .byte 40
+ .byte 20
+ .byte 20
+ .byte 120
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DROWZEE
+ .string "DROWZIN$ "
+ .string "ZEEK$ "
+ .byte 37
+ .2byte 0
+ .4byte 0x20800fff
+ .2byte 121
+ .2byte 50
+ .2byte 248
+ .2byte 237
+ .2byte 216
+ .byte 10
+ .byte 40
+ .byte 50
+ .byte 30
+ .byte 45
+ .byte 130
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_HITMONCHAN
+ .string "HITEMON$ "
+ .string "DIEGO$ "
+ .byte 21
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 69
+ .2byte 327
+ .2byte 197
+ .2byte 279
+ .2byte 5
+ .byte 45
+ .byte 20
+ .byte 10
+ .byte 20
+ .byte 45
+ .byte 140
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BLISSEY
+ .string "BLISS$ "
+ .string "ALIYAH$ "
+ .byte 85
+ .2byte 0
+ .4byte 0x10200fff
+ .2byte 89
+ .2byte 47
+ .2byte 135
+ .2byte 121
+ .2byte 38
+ .byte 20
+ .byte 35
+ .byte 40
+ .byte 20
+ .byte 20
+ .byte 150
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ELEKID
+ .string "KIDLEK$ "
+ .string "NATALIA$"
+ .byte 18
+ .2byte 0
+ .4byte 0x20100fff
+ .2byte 21
+ .2byte 351
+ .2byte 98
+ .2byte 103
+ .2byte 213
+ .byte 40
+ .byte 10
+ .byte 40
+ .byte 25
+ .byte 25
+ .byte 140
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SNUBBULL
+ .string "SNUBBINS$ "
+ .string "DEVIN$ "
+ .byte 48
+ .2byte 0
+ .4byte 0x8080fff
+ .2byte 81
+ .2byte 184
+ .2byte 269
+ .2byte 39
+ .2byte 44
+ .byte 20
+ .byte 20
+ .byte 20
+ .byte 20
+ .byte 20
+ .byte 130
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MISDREAVUS
+ .string "DREAVIS$ "
+ .string "TYLOR$ "
+ .byte 40
+ .2byte 0
+ .4byte 0x40040fff
+ .2byte 41
+ .2byte 195
+ .2byte 212
+ .2byte 109
+ .2byte 220
+ .byte 10
+ .byte 35
+ .byte 10
+ .byte 45
+ .byte 20
+ .byte 120
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LAIRON
+ .string "LAIRN$ "
+ .string "RONNIE$ "
+ .byte 55
+ .2byte 0
+ .4byte 0x84000fff
+ .2byte 98
+ .2byte 319
+ .2byte 232
+ .2byte 106
+ .2byte 36
+ .byte 30
+ .byte 50
+ .byte 35
+ .byte 100
+ .byte 90
+ .byte 200
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SHIFTRY
+ .string "SHIFTY$ "
+ .string "CLAUDIA$"
+ .byte 8
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 14
+ .2byte 74
+ .2byte 13
+ .2byte 153
+ .2byte 326
+ .byte 75
+ .byte 75
+ .byte 65
+ .byte 35
+ .byte 70
+ .byte 210
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_NINJASK
+ .string "NINAS$ "
+ .string "ELIAS$ "
+ .byte 11
+ .2byte 0
+ .4byte 0x81000fff
+ .2byte 114
+ .2byte 103
+ .2byte 154
+ .2byte 28
+ .2byte 226
+ .byte 30
+ .byte 50
+ .byte 95
+ .byte 70
+ .byte 70
+ .byte 220
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SWELLOW
+ .string "WELOW$ "
+ .string "JADE$ "
+ .byte 18
+ .2byte 0
+ .4byte 0x80800fff
+ .2byte 14
+ .2byte 97
+ .2byte 332
+ .2byte 17
+ .2byte 19
+ .byte 65
+ .byte 85
+ .byte 35
+ .byte 75
+ .byte 40
+ .byte 230
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MIGHTYENA
+ .string "YENA$ "
+ .string "FRANCIS$"
+ .byte 44
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 98
+ .2byte 269
+ .2byte 168
+ .2byte 316
+ .2byte 36
+ .byte 40
+ .byte 80
+ .byte 35
+ .byte 70
+ .byte 70
+ .byte 240
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BEAUTIFLY
+ .string "TIFLY$ "
+ .string "ALISHA$ "
+ .byte 26
+ .2byte 0
+ .4byte 0x80200fff
+ .2byte 42
+ .2byte 234
+ .2byte 318
+ .2byte 78
+ .2byte 290
+ .byte 40
+ .byte 70
+ .byte 25
+ .byte 80
+ .byte 100
+ .byte 250
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SEAKING
+ .string "KINGSEA$ "
+ .string "SAUL$ "
+ .byte 31
+ .2byte 0
+ .4byte 0x80100fff
+ .2byte 118
+ .2byte 175
+ .2byte 48
+ .2byte 30
+ .2byte 31
+ .byte 80
+ .byte 60
+ .byte 30
+ .byte 70
+ .byte 90
+ .byte 200
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_CASTFORM
+ .string "CASTER$ "
+ .string "FELICIA$"
+ .byte 47
+ .2byte 0
+ .4byte 0x80080fff
+ .2byte 126
+ .2byte 241
+ .2byte 311
+ .2byte 201
+ .2byte 216
+ .byte 70
+ .byte 80
+ .byte 80
+ .byte 50
+ .byte 65
+ .byte 210
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MACHOKE
+ .string "CHOKEM$ "
+ .string "EMILIO$ "
+ .byte 38
+ .2byte 0
+ .4byte 0x80040fff
+ .2byte 70
+ .2byte 69
+ .2byte 116
+ .2byte 2
+ .2byte 184
+ .byte 70
+ .byte 85
+ .byte 25
+ .byte 60
+ .byte 50
+ .byte 220
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LOMBRE
+ .string "LOMBE$ "
+ .string "KARLA$ "
+ .byte 10
+ .2byte 0
+ .4byte 0x80020fff
+ .2byte 58
+ .2byte 213
+ .2byte 148
+ .2byte 253
+ .2byte 45
+ .byte 40
+ .byte 60
+ .byte 90
+ .byte 45
+ .byte 70
+ .byte 230
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SEVIPER
+ .string "VIPES$ "
+ .string "DARRYL$ "
+ .byte 33
+ .2byte 0
+ .4byte 0x80010fff
+ .2byte 98
+ .2byte 305
+ .2byte 137
+ .2byte 35
+ .2byte 103
+ .byte 35
+ .byte 50
+ .byte 90
+ .byte 40
+ .byte 100
+ .byte 240
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_WAILMER
+ .string "MERAIL$ "
+ .string "SELENA$ "
+ .byte 22
+ .2byte 0
+ .4byte 0x80008fff
+ .2byte 26
+ .2byte 352
+ .2byte 156
+ .2byte 323
+ .2byte 150
+ .byte 30
+ .byte 100
+ .byte 100
+ .byte 50
+ .byte 30
+ .byte 250
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MAGIKARP
+ .string "KARPAG$ "
+ .string "NOEL$ "
+ .byte 35
+ .2byte 0
+ .4byte 0x80004fff
+ .2byte 82
+ .2byte 33
+ .2byte 150
+ .2byte 175
+ .2byte 33
+ .byte 30
+ .byte 30
+ .byte 160
+ .byte 50
+ .byte 160
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LUNATONE
+ .string "LUNONE$ "
+ .string "LACEY$ "
+ .byte 16
+ .2byte 0
+ .4byte 0x80002fff
+ .2byte 42
+ .2byte 153
+ .2byte 248
+ .2byte 94
+ .2byte 93
+ .byte 50
+ .byte 70
+ .byte 60
+ .byte 70
+ .byte 50
+ .byte 210
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ABSOL
+ .string "ABSO$ "
+ .string "CORBIN$ "
+ .byte 39
+ .2byte 0
+ .4byte 0x80001fff
+ .2byte 14
+ .2byte 195
+ .2byte 258
+ .2byte 63
+ .2byte 163
+ .byte 95
+ .byte 80
+ .byte 85
+ .byte 35
+ .byte 35
+ .byte 220
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_EXEGGUTOR
+ .string "EGGSOR$ "
+ .string "GRACIE$ "
+ .byte 32
+ .2byte 0
+ .4byte 0xc000fff
+ .2byte 98
+ .2byte 23
+ .2byte 95
+ .2byte 121
+ .2byte 285
+ .byte 40
+ .byte 50
+ .byte 60
+ .byte 100
+ .byte 80
+ .byte 200
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_CUBONE
+ .string "CUBIN$ "
+ .string "COLTIN$ "
+ .byte 65
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 82
+ .2byte 125
+ .2byte 155
+ .2byte 198
+ .2byte 45
+ .byte 40
+ .byte 35
+ .byte 85
+ .byte 35
+ .byte 100
+ .byte 210
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_HITMONLEE
+ .string "HITMON$ "
+ .string "ELLIE$ "
+ .byte 22
+ .2byte 0
+ .4byte 0x21000fff
+ .2byte 70
+ .2byte 179
+ .2byte 279
+ .2byte 116
+ .2byte 25
+ .byte 85
+ .byte 30
+ .byte 25
+ .byte 50
+ .byte 100
+ .byte 220
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SQUIRTLE
+ .string "SURTLE$ "
+ .string "MARCUS$ "
+ .byte 49
+ .2byte 0
+ .4byte 0x20800fff
+ .2byte 82
+ .2byte 39
+ .2byte 145
+ .2byte 264
+ .2byte 110
+ .byte 30
+ .byte 35
+ .byte 100
+ .byte 40
+ .byte 95
+ .byte 230
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_KANGASKHAN
+ .string "KHANKAN$ "
+ .string "KIARA$ "
+ .byte 14
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 70
+ .2byte 5
+ .2byte 99
+ .2byte 264
+ .2byte 39
+ .byte 100
+ .byte 50
+ .byte 30
+ .byte 50
+ .byte 100
+ .byte 240
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_PINECO
+ .string "PINOC$ "
+ .string "BRYCE$ "
+ .byte 36
+ .2byte 0
+ .4byte 0x10200fff
+ .2byte 42
+ .2byte 153
+ .2byte 191
+ .2byte 113
+ .2byte 202
+ .byte 80
+ .byte 80
+ .byte 80
+ .byte 80
+ .byte 80
+ .byte 250
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DUNSPARCE
+ .string "DILTOT$ "
+ .string "JAMIE$ "
+ .byte 34
+ .2byte 0
+ .4byte 0x20100fff
+ .2byte 82
+ .2byte 180
+ .2byte 281
+ .2byte 111
+ .2byte 36
+ .byte 40
+ .byte 35
+ .byte 100
+ .byte 40
+ .byte 110
+ .byte 240
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_HOUNDOOM
+ .string "DOOMOND$ "
+ .string "JORGE$ "
+ .byte 48
+ .2byte 0
+ .4byte 0x8080fff
+ .2byte 14
+ .2byte 46
+ .2byte 53
+ .2byte 185
+ .2byte 241
+ .byte 100
+ .byte 100
+ .byte 30
+ .byte 25
+ .byte 80
+ .byte 230
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MILTANK
+ .string "MILKAN$ "
+ .string "DEVON$ "
+ .byte 25
+ .2byte 0
+ .4byte 0x40040fff
+ .2byte 26
+ .2byte 208
+ .2byte 215
+ .2byte 111
+ .2byte 59
+ .byte 50
+ .byte 110
+ .byte 100
+ .byte 35
+ .byte 40
+ .byte 220
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_GYARADOS
+ .string "RADOS$ "
+ .string "JUSTINA$"
+ .byte 32
+ .2byte 0
+ .4byte 0x84000fff
+ .2byte 79
+ .2byte 63
+ .2byte 56
+ .2byte 240
+ .2byte 44
+ .byte 160
+ .byte 200
+ .byte 20
+ .byte 40
+ .byte 160
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LOUDRED
+ .string "LOUDERD$ "
+ .string "RALPH$ "
+ .byte 21
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 71
+ .2byte 304
+ .2byte 23
+ .2byte 46
+ .2byte 336
+ .byte 170
+ .byte 50
+ .byte 55
+ .byte 150
+ .byte 160
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SKITTY
+ .string "SITTY$ "
+ .string "ROSA$ "
+ .byte 8
+ .2byte 0
+ .4byte 0x81000fff
+ .2byte 59
+ .2byte 213
+ .2byte 274
+ .2byte 185
+ .2byte 39
+ .byte 40
+ .byte 200
+ .byte 150
+ .byte 185
+ .byte 60
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SLAKING
+ .string "SLING$ "
+ .string "KEATON$ "
+ .byte 11
+ .2byte 0
+ .4byte 0x80800fff
+ .2byte 115
+ .2byte 343
+ .2byte 68
+ .2byte 227
+ .2byte 303
+ .byte 85
+ .byte 85
+ .byte 170
+ .byte 110
+ .byte 150
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ALTARIA
+ .string "TARIA$ "
+ .string "MAYRA$ "
+ .byte 18
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 15
+ .2byte 349
+ .2byte 63
+ .2byte 195
+ .2byte 219
+ .byte 170
+ .byte 150
+ .byte 30
+ .byte 30
+ .byte 90
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_KIRLIA
+ .string "LIRKI$ "
+ .string "LAMAR$ "
+ .byte 15
+ .2byte 0
+ .4byte 0x80200fff
+ .2byte 39
+ .2byte 351
+ .2byte 247
+ .2byte 285
+ .2byte 216
+ .byte 230
+ .byte 60
+ .byte 60
+ .byte 230
+ .byte 80
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_BELLOSSOM
+ .string "BLOSSOM$ "
+ .string "AUBREY$ "
+ .byte 26
+ .2byte 0
+ .4byte 0x80100fff
+ .2byte 59
+ .2byte 80
+ .2byte 230
+ .2byte 78
+ .2byte 148
+ .byte 35
+ .byte 200
+ .byte 150
+ .byte 130
+ .byte 40
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SABLEYE
+ .string "EYESAB$ "
+ .string "NIGEL$ "
+ .byte 31
+ .2byte 0
+ .4byte 0x80080fff
+ .2byte 115
+ .2byte 212
+ .2byte 185
+ .2byte 282
+ .2byte 109
+ .byte 25
+ .byte 35
+ .byte 230
+ .byte 150
+ .byte 160
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_NATU
+ .string "UTAN$ "
+ .string "CAMILLE$"
+ .byte 47
+ .2byte 0
+ .4byte 0x80040fff
+ .2byte 115
+ .2byte 101
+ .2byte 248
+ .2byte 109
+ .2byte 94
+ .byte 35
+ .byte 35
+ .byte 150
+ .byte 130
+ .byte 170
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SHARPEDO
+ .string "PEDOS$ "
+ .string "DEON$ "
+ .byte 38
+ .2byte 0
+ .4byte 0x80020fff
+ .2byte 87
+ .2byte 97
+ .2byte 207
+ .2byte 269
+ .2byte 36
+ .byte 140
+ .byte 70
+ .byte 140
+ .byte 75
+ .byte 100
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_LUVDISC
+ .string "LUVIS$ "
+ .string "JANELLE$"
+ .byte 10
+ .2byte 0
+ .4byte 0x80010fff
+ .2byte 83
+ .2byte 186
+ .2byte 213
+ .2byte 36
+ .2byte 204
+ .byte 50
+ .byte 100
+ .byte 220
+ .byte 40
+ .byte 190
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_HERACROSS
+ .string "HEROSS$ "
+ .string "HEATH$ "
+ .byte 33
+ .2byte 0
+ .4byte 0x80008fff
+ .2byte 71
+ .2byte 70
+ .2byte 203
+ .2byte 179
+ .2byte 317
+ .byte 170
+ .byte 70
+ .byte 110
+ .byte 240
+ .byte 140
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ELECTRODE
+ .string "RODLECT$ "
+ .string "SASHA$ "
+ .byte 6
+ .2byte 0
+ .4byte 0x80004fff
+ .2byte 15
+ .2byte 153
+ .2byte 113
+ .2byte 129
+ .2byte 148
+ .byte 200
+ .byte 200
+ .byte 30
+ .byte 35
+ .byte 50
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_PICHU
+ .string "CHUPY$ "
+ .string "FRANKIE$"
+ .byte 35
+ .2byte 0
+ .4byte 0x80002fff
+ .2byte 59
+ .2byte 186
+ .2byte 213
+ .2byte 156
+ .2byte 39
+ .byte 25
+ .byte 150
+ .byte 180
+ .byte 115
+ .byte 120
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_WOBBUFFET
+ .string "WOBET$ "
+ .string "HELEN$ "
+ .byte 16
+ .2byte 0
+ .4byte 0x80001fff
+ .2byte 111
+ .2byte 68
+ .2byte 243
+ .2byte 219
+ .2byte 194
+ .byte 60
+ .byte 230
+ .byte 50
+ .byte 220
+ .byte 210
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_GENGAR
+ .string "GAREN$ "
+ .string "CAMILE$ "
+ .byte 40
+ .2byte 0
+ .4byte 0xc000fff
+ .2byte 71
+ .2byte 194
+ .2byte 109
+ .2byte 122
+ .2byte 188
+ .byte 200
+ .byte 100
+ .byte 50
+ .byte 80
+ .byte 180
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_PORYGON
+ .string "GONPOR$ "
+ .string "MARTIN$ "
+ .byte 46
+ .2byte 0
+ .4byte 0x82000fff
+ .2byte 127
+ .2byte 176
+ .2byte 160
+ .2byte 216
+ .2byte 278
+ .byte 130
+ .byte 130
+ .byte 130
+ .byte 130
+ .byte 130
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_DRAGONITE
+ .string "DRITE$ "
+ .string "SERGIO$ "
+ .byte 7
+ .2byte 0
+ .4byte 0x21000fff
+ .2byte 71
+ .2byte 200
+ .2byte 21
+ .2byte 239
+ .2byte 89
+ .byte 150
+ .byte 140
+ .byte 50
+ .byte 120
+ .byte 150
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_MEOWTH
+ .string "MEOWY$ "
+ .string "KAILEY$ "
+ .byte 6
+ .2byte 0
+ .4byte 0x20800fff
+ .2byte 51
+ .2byte 45
+ .2byte 269
+ .2byte 6
+ .2byte 44
+ .byte 125
+ .byte 110
+ .byte 180
+ .byte 170
+ .byte 80
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_JYNX
+ .string "NYX$ "
+ .string "PERLA$ "
+ .byte 45
+ .2byte 0
+ .4byte 0x80400fff
+ .2byte 43
+ .2byte 195
+ .2byte 212
+ .2byte 142
+ .2byte 313
+ .byte 100
+ .byte 150
+ .byte 100
+ .byte 150
+ .byte 120
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_TOGEPI
+ .string "GEPITO$ "
+ .string "CLARA$ "
+ .byte 20
+ .2byte 0
+ .4byte 0x10200fff
+ .2byte 19
+ .2byte 45
+ .2byte 281
+ .2byte 227
+ .2byte 266
+ .byte 80
+ .byte 120
+ .byte 200
+ .byte 120
+ .byte 80
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_ESPEON
+ .string "SPEON$ "
+ .string "JAKOB$ "
+ .byte 37
+ .2byte 0
+ .4byte 0x20100fff
+ .2byte 15
+ .2byte 129
+ .2byte 98
+ .2byte 234
+ .2byte 39
+ .byte 180
+ .byte 150
+ .byte 100
+ .byte 80
+ .byte 150
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_SLOWKING
+ .string "SLOWGO$ "
+ .string "TREY$ "
+ .byte 49
+ .2byte 0
+ .4byte 0x8080fff
+ .2byte 83
+ .2byte 263
+ .2byte 174
+ .2byte 281
+ .2byte 264
+ .byte 100
+ .byte 80
+ .byte 200
+ .byte 110
+ .byte 170
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+ .2byte SPECIES_URSARING
+ .string "URSING$ "
+ .string "LANE$ "
+ .byte 44
+ .2byte 0
+ .4byte 0x40040fff
+ .2byte 71
+ .2byte 37
+ .2byte 332
+ .2byte 313
+ .2byte 43
+ .byte 180
+ .byte 140
+ .byte 30
+ .byte 80
+ .byte 190
+ .byte 255
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0x0
+ .4byte 0xffff
+
diff --git a/data/event_scripts.s b/data/event_scripts.s
index 839235589..f4048124d 100644
--- a/data/event_scripts.s
+++ b/data/event_scripts.s
@@ -7,6 +7,7 @@
.include "asm/macros.inc"
.include "asm/macros/event.inc"
.include "constants/constants.inc"
+
.section script_data, "aw", %progbits
diff --git a/data/field_effect_helpers.s b/data/field_effect_helpers.s
index 6d0b0b3bb..63fc1580e 100644
--- a/data/field_effect_helpers.s
+++ b/data/field_effect_helpers.s
@@ -4,7 +4,7 @@
.section .rodata
gUnknown_085CDC38:: @ 85CDC38
- .incbin "baserom.gba", 0x5cdc38, 0x6
+ .2byte 12, 28, 44
gUnknown_085CDC3E:: @ 85CDC3E
.byte 0x00, 0x01, 0x02, 0x03
@@ -22,8 +22,11 @@ gUnknown_085CDC54:: @ 85CDC54
.4byte sub_815550C
gUnknown_085CDC60:: @ 85CDC60
- .incbin "baserom.gba", 0x5cdc60, 0xa
-
+ .byte 0, 0, 1, 2, 3, 0, 0, 1, 1
+ .byte 0
+
gUnknown_085CDC6A:: @ 85CDC6A
- .incbin "baserom.gba", 0x5cdc6a, 0x96
+ .2byte 3, 7
+ @the following might be unref, not sure
+ .byte 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 0x02, 0x02, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x02, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x01, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x00, 0x00, 0xFF, 0x00, 0x00, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0x00, 0x00
diff --git a/data/field_ground_effect.s b/data/field_ground_effect.s
index 113814721..989d2add7 100644
--- a/data/field_ground_effect.s
+++ b/data/field_ground_effect.s
@@ -39,7 +39,8 @@ gUnknown_0850E654:: @ 850E654
.4byte DoTracksGroundEffect_BikeTireTracks
gUnknown_0850E660:: @ 850E660
- .incbin "baserom.gba", 0x50e660, 0x4
+ .byte 13, 0
+ .byte 24, 0
gUnknown_0850E664:: @ 850E664
.byte 0x01, 0x02, 0x07, 0x08, 0x01, 0x02, 0x06, 0x05, 0x05, 0x08, 0x03, 0x04, 0x06, 0x07, 0x03, 0x04
diff --git a/data/field_player_avatar.s b/data/field_player_avatar.s
index efb2f34cb..c2e0d729d 100644
--- a/data/field_player_avatar.s
+++ b/data/field_player_avatar.s
@@ -115,11 +115,12 @@ gUnknown_08497540:: @ 8497540
.4byte sub_808C6FC
gUnknown_08497550:: @ 8497550
- .incbin "baserom.gba", 0x497550, 0x4
+ .byte 3, 4, 2, 1
gUnknown_08497554:: @ 8497554
- .incbin "baserom.gba", 0x497554, 0x8
+ .byte 16, 16, 17, 18, 19
+ .align 2
gUnknown_0849755C:: @ 849755C
.4byte fish0
.4byte fish1
@@ -139,19 +140,21 @@ gUnknown_0849755C:: @ 849755C
.4byte fishF
gUnknown_0849759C:: @ 849759C
- .incbin "baserom.gba", 0x49759c, 0x6
+ .2byte 1, 1, 1
gUnknown_084975A2:: @ 84975A2
- .incbin "baserom.gba", 0x4975a2, 0x6
+ .2byte 1, 3, 6
gUnknown_084975A8:: @ 84975A8
- .incbin "baserom.gba", 0x4975a8, 0x2
+ .string "·$"
gUnknown_084975AA:: @ 84975AA
- .incbin "baserom.gba", 0x4975aa, 0x6
+ .2byte 36, 33, 30
gUnknown_084975B0:: @ 84975B0
- .incbin "baserom.gba", 0x4975b0, 0xc
+ .2byte 0, 0
+ .2byte 0x28, 10
+ .2byte 0x46, 30
gUnknown_084975BC:: @ 84975BC
.byte 0x01, 0x03, 0x04, 0x02, 0x01, 0x00, 0x00, 0x00
diff --git a/data/field_special_scene.s b/data/field_special_scene.s
index fe8ef1622..16e5a366d 100644
--- a/data/field_special_scene.s
+++ b/data/field_special_scene.s
@@ -6,10 +6,10 @@
.align 2, 0
gTruckCamera_HorizontalTable:: @ 858E898
- .incbin "baserom.gba", 0x58e898, 0x13
+ .byte 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, -1, -1, -1, 0
gUnknown_0858E8AB:: @ 858E8AB
- .incbin "baserom.gba", 0x58e8ab, 0x2
+ .byte 0x18, 0xFE
gUnknown_0858E8AD:: @ 858E8AD
- .incbin "baserom.gba", 0x58e8ad, 0x3
+ .byte 0x17, 0xFE
diff --git a/data/field_tasks.s b/data/field_tasks.s
index 8405c64d5..310fd0e2a 100644
--- a/data/field_tasks.s
+++ b/data/field_tasks.s
@@ -5,19 +5,95 @@
.align 2, 0
gUnknown_08510348:: @ 8510348
- .incbin "baserom.gba", 0x510348, 0x20
+ .4byte nullsub_34
+ .4byte sub_809E3B4
+ .4byte sub_809DEF0
+ .4byte sub_809DCB4
+ .4byte sub_809E224
+ .4byte EndTruckSequence
+ .4byte sub_80EA3E4
+ .4byte sub_809E4CC
gUnknown_08510368:: @ 8510368
- .incbin "baserom.gba", 0x510368, 0x20
+ .byte 0
+ .byte 0
+ .2byte 0x259
+ .byte 0
+ .byte 1
+ .2byte 0x261
+ .byte 0
+ .byte 0xFF
+ .2byte 0x259
+ .byte 0
+ .byte 0
+ .2byte 0x261
+ .byte 0
+ .byte 0
+ .2byte 0x252
+ .byte 1
+ .byte 0
+ .2byte 0x253
+ .byte 0xFF
+ .byte 0
+ .2byte 0x252
+ .byte 0
+ .byte 0
+ .2byte 0x253
gUnknown_08510388:: @ 8510388
- .incbin "baserom.gba", 0x510388, 0x20
+ .byte 0
+ .byte 0
+ .2byte 0x25A
+ .byte 0
+ .byte 1
+ .2byte 0x262
+ .byte 0
+ .byte 0xFF
+ .2byte 0x25A
+ .byte 0
+ .byte 0
+ .2byte 0x262
+ .byte 0
+ .byte 0
+ .2byte 0x254
+ .byte 1
+ .byte 0
+ .2byte 0x255
+ .byte 0xFF
+ .byte 0
+ .2byte 0x254
+ .byte 0
+ .byte 0
+ .2byte 0x255
gUnknown_085103A8:: @ 85103A8
- .incbin "baserom.gba", 0x5103a8, 0x20
+ .byte 0
+ .byte 0
+ .2byte 0x258
+ .byte 0
+ .byte 1
+ .2byte 0x260
+ .byte 0
+ .byte 0xFF
+ .2byte 0x258
+ .byte 0
+ .byte 0
+ .2byte 0x260
+ .byte 0
+ .byte 0
+ .2byte 0x250
+ .byte 1
+ .byte 0
+ .2byte 0x251
+ .byte 0xFF
+ .byte 0
+ .2byte 0x250
+ .byte 0
+ .byte 0
+ .2byte 0x251
gUnknown_085103C8:: @ 85103C8
- .incbin "baserom.gba", 0x5103c8, 0x34
+ .2byte 0, 0, 0, 0, 0, 0, 0x4001, 0x4002, 0x4003, 0x4004, 0, 0, 0x4005, 0x4006, 0x4007, 0, 0, 0x4008, 0x4009, 0x400a, 0, 0, 0, 0, 0, 0
gUnknown_085103FC:: @ 85103FC
- .incbin "baserom.gba", 0x5103fc, 0x8
+ .2byte 0xE8, 0xeb, 0xea, 0xe9
diff --git a/data/fldeff_cut.s b/data/fldeff_cut.s
index f9d72e088..9fea73f9a 100644
--- a/data/fldeff_cut.s
+++ b/data/fldeff_cut.s
@@ -5,16 +5,28 @@
.align 2, 0
gUnknown_0857C608:: @ 857C608
- .incbin "baserom.gba", 0x57c608, 0x2
+ .byte 0xfe, 0xfe, 0x01, 0x00, 0xff, 0xfe, 0x01, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x01, 0xfe, 0x03, 0x00, 0x02, 0xfe, 0x03, 0x00, 0xfe, 0xff, 0x01, 0x00, 0x02, 0xff, 0x03, 0x00, 0xfe, 0x00, 0x04, 0x00, 0x02, 0x00
+ .byte 0x06, 0x00, 0xfe, 0x01, 0x07, 0x00, 0x02, 0x01, 0x09, 0x00, 0xfe, 0x02, 0x07, 0x00, 0xff, 0x02, 0x07, 0x00, 0x00, 0x02, 0x08, 0x00, 0x01, 0x02, 0x09, 0x00, 0x02, 0x02, 0x09,
+
+gUnknown_0857C648:: @ 857C648
+ .2byte 0
+ .2byte 0
+ .2byte 0x1401
+ .2byte 0
-gUnknown_0857C60A:: @ 857C60A
- .byte 0x01, 0x00, 0xff, 0xfe, 0x01, 0x00, 0x00, 0xfe, 0x02, 0x00, 0x01, 0xfe, 0x03, 0x00, 0x02, 0xfe, 0x03, 0x00, 0xfe, 0xff, 0x01, 0x00, 0x02, 0xff, 0x03, 0x00, 0xfe, 0x00, 0x04, 0x00, 0x02, 0x00
- .byte 0x06, 0x00, 0xfe, 0x01, 0x07, 0x00, 0x02, 0x01, 0x09, 0x00, 0xfe, 0x02, 0x07, 0x00, 0xff, 0x02, 0x07, 0x00, 0x00, 0x02, 0x08, 0x00, 0x01, 0x02, 0x09, 0x00, 0x02, 0x02, 0x09, 0x00, 0x00, 0x00
- .byte 0x00, 0x00, 0x01, 0x14, 0x00, 0x00, 0x00, 0x00, 0x1e, 0x00, 0xfe, 0xff, 0x00, 0x00, 0x50, 0xc6, 0x57, 0x08, 0x58, 0x6e, 0x4f, 0x08, 0x20, 0x00, 0x00, 0x00
+gUnknown_0857C650:: @ 857C650
+ obj_image_anim_frame 0, 0x1E
+ obj_image_anim_jump 0
+
+gUnknown_0857C658:: @ 857C658
+ .4byte gUnknown_0857C650
+
+gUnknown_0857C65C:: @ 857C65C
+ obj_frame_tiles gFieldEffectObjectPic_ShadowExtraLarge + 0x520, 32
.align 2
gFieldEffectObjectPaletteInfo6:: @ 857C664
obj_pal gFieldEffectObjectPalette6, 0x1000
gUnknown_0857C66C:: @ 857C66C
- .incbin "baserom.gba", 0x57c66c, 0x18
+ spr_template -1, 0x1000, gUnknown_0857C648, gUnknown_0857C658, gUnknown_0857C65C, gDummySpriteAffineAnimTable, objc_8097BA8
diff --git a/data/graphics/field_objects/field_object_graphics.inc b/data/graphics/field_objects/field_object_graphics.inc
index 0e55eb146..59333b9a4 100644
--- a/data/graphics/field_objects/field_object_graphics.inc
+++ b/data/graphics/field_objects/field_object_graphics.inc
@@ -5386,7 +5386,8 @@ gFieldEffectObjectPic_ShadowLarge:: @ 84F68B8
gFieldEffectObjectPic_ShadowExtraLarge:: @ 84F6938
.incbin "graphics/map_objects/pics/effects/shadow_extra_large.4bpp"
- .incbin "baserom.gba", 0x4f6d38, 0x160
+gUnknown_084F6D38:: @ 84F6D38
+ .incbin "graphics/map_objects/pics/effects/unknown_4F6D38/0.4bpp"
.align 2
gFieldEffectObjectPalette6:: @ 84F6E98
@@ -5500,7 +5501,17 @@ gFieldEffectObjectPic_BikeHopTallGrass_2:: @ 84F7938
gFieldEffectObjectPic_BikeHopTallGrass_3:: @ 84F7978
.incbin "graphics/map_objects/pics/effects/bike_hop_tall_grass/3.4bpp"
- .incbin "baserom.gba", 0x4f79b8, 0x200
+gUnusedGrass_0:: @4F79B8
+ .incbin "graphics/map_objects/pics/effects/unused_grass/0.4bpp"
+
+gUnusedGrass_1:: @4F7A38
+ .incbin "graphics/map_objects/pics/effects/unused_grass/1.4bpp"
+
+gUnusedGrass_2:: @4F7AB8
+ .incbin "graphics/map_objects/pics/effects/unused_grass/2.4bpp"
+
+gUnusedGrass_3:: @4F7B38
+ .incbin "graphics/map_objects/pics/effects/unused_grass/3.4bpp"
.align 2
gFieldEffectObjectPic_Unknown16_0:: @ 84F7BB8
@@ -5522,7 +5533,8 @@ gFieldEffectObjectPic_Unknown16_3:: @ 84F7D38
gFieldEffectObjectPic_Unknown16_4:: @ 84F7DB8
.incbin "graphics/map_objects/pics/effects/unknown_16/4.4bpp"
- .incbin "baserom.gba", 0x4f7e38, 0x80
+gUnknown_084F7E38:: @ 84F7E38
+ .incbin "graphics/map_objects/pics/effects/unknown_4F7E38/0.4bpp"
.align 2
gFieldEffectObjectPic_Unknown16_5:: @ 84F7EB8
diff --git a/data/item_icon.s b/data/item_icon.s
index dac00dc6c..41fb7d9a1 100644
--- a/data/item_icon.s
+++ b/data/item_icon.s
@@ -6,8 +6,18 @@
@ 8614410
.include "data/graphics/items/item_icon_table.inc"
-@ 8614FE0
- .incbin "baserom.gba", 0x614fe0, 0x14
+gUnknown_08614FE0:: @ 8614FE0
+ .2byte 0
+ .2byte 0x8000
+ .2byte 0x2400
+ .2byte 0
+
+gUnknown_08614FE8:: @ 8614FE8
+ obj_image_anim_frame 0, 0
+ obj_image_anim_end
+
+gUnknown_08614FF0:: @ 8614FF0
+ .4byte gUnknown_08614FE8
gUnknown_08614FF4:: @ 8614FF4
- .incbin "baserom.gba", 0x614ff4, 0x18
+ spr_template 0, 0, gUnknown_08614FE0, gUnknown_08614FF0, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
diff --git a/data/item_menu.s b/data/item_menu.s
index b160200e8..1b11c5e59 100644
--- a/data/item_menu.s
+++ b/data/item_menu.s
@@ -100,13 +100,28 @@ gUnknown_08614094:: @ 8614094
.4byte 0x6F
gUnknown_086140A4:: @ 86140A4
- .incbin "baserom.gba", 0x6140a4, 0xc0
+ .incbin "graphics/interface/select_button.4bpp"
gUnknown_08614164:: @ 8614164
- .incbin "baserom.gba", 0x614164, 0x10
+ .byte 0, 1, 3, 0, 1, 4, 0, 3, 6, 2, 1, 3, 0, 14, 10, 0
gUnknown_08614174:: @ 8614174
- .incbin "baserom.gba", 0x614174, 0x38
+ window_template 0, 14, 2, 15, 16, 1, 0x27
+ window_template 0, 0, 13, 14, 6, 1, 0x117
+ window_template 0, 4, 1, 8, 2, 1, 0x1A1
+ window_template 0, 1, 13, 5, 6, 12, 0x16B
+ window_template 0, 7, 13, 4, 6, 12, 0x189
+ window_template 1, 2, 15, 27, 4, 15, 0x1B1
+ null_window_template
gUnknown_086141AC:: @ 86141AC
- .incbin "baserom.gba", 0x6141ac, 0x50
+ window_template 1, 22, 17, 7, 2, 15, 0x21D
+ window_template 1, 22, 15, 7, 4, 15, 0x21D
+ window_template 1, 15, 15, 14, 4, 15, 0x21D
+ window_template 1, 15, 13, 14, 6, 15, 0x21D
+ window_template 1, 2, 15, 27, 4, 15, 0x1B1
+ window_template 1, 24, 15, 5, 4, 15, 0x21D
+ window_template 1, 21, 9, 5, 4, 15, 0x21D
+ window_template 1, 24, 17, 5, 2, 15, 0x21D
+ window_template 1, 18, 11, 10, 2, 15, 0x245
+ window_template 1, 1, 1, 10, 2, 15, 0x231
diff --git a/data/librfu_rodata.s b/data/librfu_rodata.s
index 672053e89..aa8f5170d 100644
--- a/data/librfu_rodata.s
+++ b/data/librfu_rodata.s
@@ -1,7 +1,10 @@
.section .rodata
gUnknown_089A3220:: @ 89A3220
- .incbin "baserom.gba", 0x9a3220, 0x20
+ .byte 2, 14, 0, 10, 9, 5, 7, 2
+ .byte 0, 15, 1, 3, 3, 0, 31, 0
+ .byte 3, 22, 18, 14, 13, 9, 11, 3
+ .byte 15, 15, 1, 3, 3, 0, 0x7f, 0
.asciz "RFU_V1026"
diff --git a/data/map_name_popup.s b/data/map_name_popup.s
index f13886e1d..7dc1da808 100644
--- a/data/map_name_popup.s
+++ b/data/map_name_popup.s
@@ -4,20 +4,66 @@
.section .rodata
.align 2, 0
-gUnknown_0857C684:: @ 857C684
- .incbin "baserom.gba", 0x57c684, 0x1680
+gMapPopUp_Table:: @ 857C684
+ .incbin "graphics/interface/map_popup/wood.4bpp"
+ .incbin "graphics/interface/map_popup/marble.4bpp"
+ .incbin "graphics/interface/map_popup/stone.4bpp"
+ .incbin "graphics/interface/map_popup/brick.4bpp"
+ .incbin "graphics/interface/map_popup/underwater.4bpp"
+ .incbin "graphics/interface/map_popup/stone2.4bpp"
-gUnknown_0857DD04:: @ 857DD04
- .incbin "baserom.gba", 0x57dd04, 0x1680
+gMapPopUp_Outline_Table:: @ 857DD04
+ .incbin "graphics/interface/map_popup/wood_outline.4bpp"
+ .incbin "graphics/interface/map_popup/marble_outline.4bpp"
+ .incbin "graphics/interface/map_popup/stone_outline.4bpp"
+ .incbin "graphics/interface/map_popup/brick_outline.4bpp"
+ .incbin "graphics/interface/map_popup/underwater_outline.4bpp"
+ .incbin "graphics/interface/map_popup/stone2_outline.4bpp"
-gUnknown_0857F384:: @ 857F384
- .incbin "baserom.gba", 0x57f384, 0xc0
+gMapPopUp_Palette_Table:: @ 857F384
+ .incbin "graphics/interface/map_popup/wood.gbapal"
+ .incbin "graphics/interface/map_popup/marble.gbapal"
+ .incbin "graphics/interface/map_popup/stone.gbapal"
+ .incbin "graphics/interface/map_popup/brick.gbapal"
+ .incbin "graphics/interface/map_popup/underwater.gbapal"
+ .incbin "graphics/interface/map_popup/stone2.gbapal"
gUnknown_0857F444:: @ 857F444
- .incbin "baserom.gba", 0x57f444, 0x20
+ .incbin "graphics/interface/map_popup/857F444.gbapal"
gUnknown_0857F464:: @ 857F464
- .incbin "baserom.gba", 0x57f464, 0xe0
+ .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, 0x01, 0x01, 0x01, 0x03, 0x01, 0x03, 0x01, 0x03, 0x00, 0x00, 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05, 0x05, 0x02, 0x02, 0x00, 0x01, 0x00, 0x02, 0x00, 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x05, 0x02, 0x00, 0x02, 0x00, 0x02, 0x02, 0x00, 0x00, 0x02, 0x05, 0x02, 0x02, 0x02, 0x02, 0x00, 0x02, 0x02, 0x01, 0x02, 0x02, 0x02, 0x00, 0x00, 0x02, 0x02, 0x05, 0x02, 0x05, 0x05, 0x05, 0x02, 0x02, 0x02, 0x01
+
+gUnknown_0857F4CC:: @ 857F4CC
+ .string "PYRAMID FLOOR 1$"
+
+gUnknown_0857F4DC:: @ 857F4DC
+ .string "PYRAMID FLOOR 2$"
+
+gUnknown_0857F4EC:: @ 857F4EC
+ .string "PYRAMID FLOOR 3$"
+
+gUnknown_0857F4FC:: @ 857F4FC
+ .string "PYRAMID FLOOR 4$"
+
+gUnknown_0857F50C:: @ 857F50C
+ .string "PYRAMID FLOOR 5$"
+
+gUnknown_0857F51C:: @ 857F51C
+ .string "PYRAMID FLOOR 6$"
+
+gUnknown_0857F52C:: @ 857F52C
+ .string "PYRAMID FLOOR 7$"
+
+gUnknown_0857F53C:: @ 857F53C
+ .string "PYRAMID$"
gUnknown_0857F544:: @ 857F544
- .incbin "baserom.gba", 0x57f544, 0x20
+ .4byte gUnknown_0857F4CC
+ .4byte gUnknown_0857F4DC
+ .4byte gUnknown_0857F4EC
+ .4byte gUnknown_0857F4FC
+ .4byte gUnknown_0857F50C
+ .4byte gUnknown_0857F51C
+ .4byte gUnknown_0857F52C
+ .4byte gUnknown_0857F53C
diff --git a/data/mauville_old_man.s b/data/mauville_old_man.s
index d7832b761..c1b4dd1be 100644
--- a/data/mauville_old_man.s
+++ b/data/mauville_old_man.s
@@ -28,13 +28,31 @@ gUnknown_0859F010:: @ 859F010
.4byte gUnknown_082944D5
gUnknown_0859F030:: @ 859F030
- .incbin "baserom.gba", 0x59f030, 0x18
+ .4byte 0, 12, 13, 18, 19, 21
gUnknown_0859F048:: @ 859F048
- .incbin "baserom.gba", 0x59f048, 0x230
+ .4byte 0x00000132, MauvilleCity_PokemonCenter_1F_Text_28E930, MauvilleCity_PokemonCenter_1F_Text_28E947, MauvilleCity_PokemonCenter_1F_Text_28E956, 0x00000102, MauvilleCity_PokemonCenter_1F_Text_28E9D7, MauvilleCity_PokemonCenter_1F_Text_28E9EF, MauvilleCity_PokemonCenter_1F_Text_28E9FE
+ .4byte 0x00000103, MauvilleCity_PokemonCenter_1F_Text_28EA7D, MauvilleCity_PokemonCenter_1F_Text_28EA98, MauvilleCity_PokemonCenter_1F_Text_28EAA8, 0x00000104, MauvilleCity_PokemonCenter_1F_Text_28EB19, MauvilleCity_PokemonCenter_1F_Text_28EB31, MauvilleCity_PokemonCenter_1F_Text_28EB3E
+ .4byte 0x00000106, MauvilleCity_PokemonCenter_1F_Text_28EBB5, MauvilleCity_PokemonCenter_1F_Text_28EBCD, MauvilleCity_PokemonCenter_1F_Text_28EBDD, 0x00000109, MauvilleCity_PokemonCenter_1F_Text_28EC60, MauvilleCity_PokemonCenter_1F_Text_28EC79, MauvilleCity_PokemonCenter_1F_Text_28EC81
+ .4byte 0x0000010b, MauvilleCity_PokemonCenter_1F_Text_28ED04, MauvilleCity_PokemonCenter_1F_Text_28ED21, MauvilleCity_PokemonCenter_1F_Text_28ED30, 0x0000010c, MauvilleCity_PokemonCenter_1F_Text_28EDA1, MauvilleCity_PokemonCenter_1F_Text_28EDB5, MauvilleCity_PokemonCenter_1F_Text_28EDCF
+ .4byte 0x0000010d, MauvilleCity_PokemonCenter_1F_Text_28EE45, MauvilleCity_PokemonCenter_1F_Text_28EE5D, MauvilleCity_PokemonCenter_1F_Text_28EE6A, 0x0000010e, MauvilleCity_PokemonCenter_1F_Text_28EEDD, MauvilleCity_PokemonCenter_1F_Text_28EEF1, MauvilleCity_PokemonCenter_1F_Text_28EF01
+ .4byte 0x0000010f, MauvilleCity_PokemonCenter_1F_Text_28EF73, MauvilleCity_PokemonCenter_1F_Text_28EF95, MauvilleCity_PokemonCenter_1F_Text_28EFAA, 0x00000110, MauvilleCity_PokemonCenter_1F_Text_28F045, MauvilleCity_PokemonCenter_1F_Text_28F05A, MauvilleCity_PokemonCenter_1F_Text_28F071
+ .4byte 0x00000111, MauvilleCity_PokemonCenter_1F_Text_28F0F3, MauvilleCity_PokemonCenter_1F_Text_28F10D, MauvilleCity_PokemonCenter_1F_Text_28F125, 0x00000112, MauvilleCity_PokemonCenter_1F_Text_28F1BE, MauvilleCity_PokemonCenter_1F_Text_28F1D5, MauvilleCity_PokemonCenter_1F_Text_28F1DE
+ .4byte 0x00000113, MauvilleCity_PokemonCenter_1F_Text_28F24F, MauvilleCity_PokemonCenter_1F_Text_28F269, MauvilleCity_PokemonCenter_1F_Text_28F277, 0x00000114, MauvilleCity_PokemonCenter_1F_Text_28F2FC, MauvilleCity_PokemonCenter_1F_Text_28F314, MauvilleCity_PokemonCenter_1F_Text_28F32A
+ .4byte 0x0000011a, MauvilleCity_PokemonCenter_1F_Text_28F3AD, MauvilleCity_PokemonCenter_1F_Text_28F3C6, MauvilleCity_PokemonCenter_1F_Text_28F3D2, 0x0000011b, MauvilleCity_PokemonCenter_1F_Text_28F44B, MauvilleCity_PokemonCenter_1F_Text_28F461, MauvilleCity_PokemonCenter_1F_Text_28F47C
+ .4byte 0x0000011c, MauvilleCity_PokemonCenter_1F_Text_28F50C, MauvilleCity_PokemonCenter_1F_Text_28F51B, MauvilleCity_PokemonCenter_1F_Text_28F538, 0x0000021d, MauvilleCity_PokemonCenter_1F_Text_28F5BE, MauvilleCity_PokemonCenter_1F_Text_28F5D1, MauvilleCity_PokemonCenter_1F_Text_28F5F2
+ .4byte 0x0000011e, MauvilleCity_PokemonCenter_1F_Text_28F678, MauvilleCity_PokemonCenter_1F_Text_28F694, MauvilleCity_PokemonCenter_1F_Text_28F6B4, 0x00000121, MauvilleCity_PokemonCenter_1F_Text_28F751, MauvilleCity_PokemonCenter_1F_Text_28F76A, MauvilleCity_PokemonCenter_1F_Text_28F776
+ .4byte 0x00000124, MauvilleCity_PokemonCenter_1F_Text_28F7F6, MauvilleCity_PokemonCenter_1F_Text_28F811, MauvilleCity_PokemonCenter_1F_Text_28F822, 0x00000125, MauvilleCity_PokemonCenter_1F_Text_28F89C, MauvilleCity_PokemonCenter_1F_Text_28F8AF, MauvilleCity_PokemonCenter_1F_Text_28F8BC
+ .4byte 0x00000126, MauvilleCity_PokemonCenter_1F_Text_28F92F, MauvilleCity_PokemonCenter_1F_Text_28F941, MauvilleCity_PokemonCenter_1F_Text_28F949, 0x00000127, MauvilleCity_PokemonCenter_1F_Text_28F9D1, MauvilleCity_PokemonCenter_1F_Text_28F9EA, MauvilleCity_PokemonCenter_1F_Text_28F9FD
+ .4byte 0x00000128, MauvilleCity_PokemonCenter_1F_Text_28FA81, MauvilleCity_PokemonCenter_1F_Text_28FA99, MauvilleCity_PokemonCenter_1F_Text_28FAA7, 0x00000129, MauvilleCity_PokemonCenter_1F_Text_28FB1D, MauvilleCity_PokemonCenter_1F_Text_28FB35, MauvilleCity_PokemonCenter_1F_Text_28FB47
+ .4byte 0x0000012a, MauvilleCity_PokemonCenter_1F_Text_28FBC4, MauvilleCity_PokemonCenter_1F_Text_28FBD9, MauvilleCity_PokemonCenter_1F_Text_28FBEA, 0x0000012b, MauvilleCity_PokemonCenter_1F_Text_28FC6B, MauvilleCity_PokemonCenter_1F_Text_28FC85, MauvilleCity_PokemonCenter_1F_Text_28FC98
+ .4byte 0x0000012c, MauvilleCity_PokemonCenter_1F_Text_28FD1D, MauvilleCity_PokemonCenter_1F_Text_28FD35, MauvilleCity_PokemonCenter_1F_Text_28FD40, 0x0000012d, MauvilleCity_PokemonCenter_1F_Text_28FDA2, MauvilleCity_PokemonCenter_1F_Text_28FDBD, MauvilleCity_PokemonCenter_1F_Text_28FDCE
+ .4byte 0x0000012e, MauvilleCity_PokemonCenter_1F_Text_28FE57, MauvilleCity_PokemonCenter_1F_Text_28FE72, MauvilleCity_PokemonCenter_1F_Text_28FE88, 0x0000012f, MauvilleCity_PokemonCenter_1F_Text_28FF0C, MauvilleCity_PokemonCenter_1F_Text_28FF27, MauvilleCity_PokemonCenter_1F_Text_28FF44
+ .4byte 0x00000130, MauvilleCity_PokemonCenter_1F_Text_28FFDD, MauvilleCity_PokemonCenter_1F_Text_28FFFA, MauvilleCity_PokemonCenter_1F_Text_29000D
+
gUnknown_0859F278:: @ 859F278
- .incbin "baserom.gba", 0x59f278, 0x10
+ .4byte 0x00000131, MauvilleCity_PokemonCenter_1F_Text_290097, MauvilleCity_PokemonCenter_1F_Text_2900B5, MauvilleCity_PokemonCenter_1F_Text_2900CB
gUnknown_0859F288:: @ 859F288
.4byte 0x00000024, 0x00000008
diff --git a/data/menu_helpers.s b/data/menu_helpers.s
index 8d0e12939..25ca66485 100644
--- a/data/menu_helpers.s
+++ b/data/menu_helpers.s
@@ -4,11 +4,34 @@
.section .rodata
.align 2, 0
+gUnknown_0859F4E8:: @ 859F4E8
+ .2byte 0x00
+ .2byte 0x4000
+ .2byte 0x00
+ .2byte 0x00
+
+gUnknown_0859F4F0:: @ 859F4F0
+ obj_image_anim_frame 0x00, 0x00
+ obj_image_anim_end
+
+gUnknown_0859F4F8:: @ 859F4F8
+ obj_image_anim_frame 0x04, 0x00
+ obj_image_anim_end
+
+gUnknown_0859F500:: @ 859F500
+ obj_image_anim_frame 0x00, 0x40
+ obj_image_anim_end
+
+gUnknown_0859F508:: @ 859F508
+ .4byte gUnknown_0859F4F0
+ .4byte gUnknown_0859F4F8
+ .4byte gUnknown_0859F500
+
gUnknown_0859F514:: @ 859F514
- .incbin "baserom.gba", 0x59f514, 0x8
+ .4byte gBagSwapLineGfx, 0x6D0100
gUnknown_0859F51C:: @ 859F51C
- .incbin "baserom.gba", 0x59f51c, 0x8
+ .4byte gBagSwapLinePal, 0x6D
gUnknown_0859F524:: @ 859F524
- .incbin "baserom.gba", 0x59f524, 0x18
+ spr_template 0x6D, 0x6D, gUnknown_0859F4E8, gUnknown_0859F508, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
diff --git a/data/menu_indicators.s b/data/menu_indicators.s
index 43fc0e139..24353b157 100644
--- a/data/menu_indicators.s
+++ b/data/menu_indicators.s
@@ -4,10 +4,41 @@
.section .rodata
gUnknown_086141FC:: @ 86141FC
- .incbin "baserom.gba", 0x6141fc, 0x48
+ .byte 0, 2, 8, 0
+ .byte 1, 2, -8, -1
+ .byte 18, 2, 8, 0
+ .byte 19, 2, -8, -1
+
+gUnknown_0861420C:: @ 861420C
+ .2byte 0
+ .2byte 0x4000
+ .2byte 0
+ .2byte 0
+
+gUnknown_08614214:: @ 8614214
+ obj_image_anim_frame 0, 30
+ obj_image_anim_end
+
+gUnknown_0861421C:: @ 861421C
+ obj_image_anim_frame 0, 0x5e
+ obj_image_anim_end
+
+gUnknown_08614224:: @ 8614224
+ obj_image_anim_frame 4, 30
+ obj_image_anim_end
+
+gUnknown_0861422C:: @ 861422C
+ obj_image_anim_frame 4, 0x9e
+ obj_image_anim_end
+
+gUnknown_08614234:: @ 8614234
+ .4byte gUnknown_08614214
+ .4byte gUnknown_0861421C
+ .4byte gUnknown_08614224
+ .4byte gUnknown_0861422C
gUnknown_08614244:: @ 8614244
- .incbin "baserom.gba", 0x614244, 0x18
+ spr_template 0, 0, gUnknown_0861420C, gUnknown_08614234, NULL, gDummySpriteAffineAnimTable, sub_81AF264
gUnknown_0861425C:: @ 861425C
.4byte 0x00000000
@@ -34,19 +65,29 @@ gUnknown_08614278:: @ 8614278
.4byte 0x00700000
gUnknown_0861427C:: @ 861427C
- .incbin "baserom.gba", 0x61427C, 0x14
+ .2byte 0
+ .2byte 0x4000
+ .2byte 0
+ .2byte 0
+
+gUnknown_08614284:: @ 8614284
+ obj_image_anim_frame 0, 30
+ obj_image_anim_end
+
+gUnknown_0861428C:: @ 861428C
+ .4byte gUnknown_08614284
gUnknown_08614290:: @ 8614290
- .incbin "baserom.gba", 0x614290, 0x18
+ spr_template 0, 0, gUnknown_0861427C, gUnknown_0861428C, NULL, gDummySpriteAffineAnimTable, ObjectCB_RedArrowCursor
gUnknown_086142A8:: @ 86142A8
- .incbin "baserom.gba", 0x6142a8, 0x20
+ .incbin "graphics/interface/red_arrow.gbapal"
gUnknown_086142C8:: @ 86142C8
- .incbin "baserom.gba", 0x6142c8, 0x70
+ .incbin "graphics/interface/red_arrow_other.4bpp.lz"
gUnknown_08614338:: @ 8614338
- .incbin "baserom.gba", 0x614338, 0x40
+ .incbin "graphics/interface/selector_outline.4bpp.lz"
gUnknown_08614378:: @ 8614378
- .incbin "baserom.gba", 0x614378, 0x44
+ .incbin "graphics/interface/red_arrow.4bpp.lz"
diff --git a/data/mon_markings.s b/data/mon_markings.s
index 795b8d8a6..7d30c0012 100644
--- a/data/mon_markings.s
+++ b/data/mon_markings.s
@@ -5,25 +5,153 @@
.align 2, 0
gUnknown_0859E65C:: @ 859E65C
- .incbin "baserom.gba", 0x59e65c, 0x20
+ .incbin "graphics/misc/mon_markings.gbapal"
gUnknown_0859E67C:: @ 859E67C
- .incbin "baserom.gba", 0x59e67c, 0x800
+ .incbin "graphics/misc/mon_markings.4bpp"
gUnknown_0859EE7C:: @ 859EE7C
- .incbin "baserom.gba", 0x59ee7c, 0x8
+ .2byte 0, 0xC000, 0, 0
gUnknown_0859EE84:: @ 859EE84
- .incbin "baserom.gba", 0x59ee84, 0x58
+ .2byte 0, 0, 0, 0
+
+gUnknown_0859EE8C:: @ 859EE8C
+ .2byte 0, 5, -1, 0
+
+gUnknown_0859EE94:: @ 859EE94
+ .2byte 1, 5, -1, 0
+
+gUnknown_0859EE9C:: @ 859EE9C
+ .2byte 2, 5, -1, 0
+
+gUnknown_0859EEA4:: @ 859EEA4
+ .2byte 3, 5, -1, 0
+
+gUnknown_0859EEAC:: @ 859EEAC
+ .2byte 4, 5, -1, 0
+
+gUnknown_0859EEB4:: @ 859EEB4
+ .2byte 5, 5, -1, 0
+
+gUnknown_0859EEBC:: @ 859EEBC
+ .2byte 6, 5, -1, 0
+
+gUnknown_0859EEC4:: @ 859EEC4
+ .2byte 7, 5, -1, 0
+
+gUnknown_0859EECC:: @ 859EECC
+ .2byte 8, 5, -1, 0
+
+gUnknown_0859EED4:: @ 859EED4
+ .2byte 9, 5, -1, 0
gUnknown_0859EEDC:: @ 859EEDC
- .incbin "baserom.gba", 0x59eedc, 0x38
+ .4byte gUnknown_0859EE8C
+ .4byte gUnknown_0859EE94
+ .4byte gUnknown_0859EE9C
+ .4byte gUnknown_0859EEA4
+ .4byte gUnknown_0859EEAC
+ .4byte gUnknown_0859EEB4
+ .4byte gUnknown_0859EEBC
+ .4byte gUnknown_0859EEC4
+ .4byte gUnknown_0859EECC
+ .4byte gUnknown_0859EED4
+gUnknown_0859EF04:: @ 859EF04
+ .2byte 0, 5, -1, 0
+
+gUnknown_0859EF0C:: @ 859EF0C
+ .2byte 64, 5, -1, 0
+
gUnknown_0859EF14:: @ 859EF14
- .incbin "baserom.gba", 0x59ef14, 0x8
+ .4byte gUnknown_0859EF04
+ .4byte gUnknown_0859EF0C
gUnknown_0859EF1C:: @ 859EF1C
- .incbin "baserom.gba", 0x59ef1c, 0x88
+ .2byte 0x4000
+ .2byte 0x4000
+ .2byte 0
+ .2byte 0
+
+gUnknown_0859EF24:: @ 859EF24
+ obj_image_anim_frame 0, 5
+ obj_image_anim_end
+
+gUnknown_0859EF2C:: @ 859EF2C
+ obj_image_anim_frame 4, 5
+ obj_image_anim_end
+
+gUnknown_0859EF34:: @ 859EF34
+ obj_image_anim_frame 8, 5
+ obj_image_anim_end
+
+gUnknown_0859EF3C:: @ 859EF3C
+ obj_image_anim_frame 12, 5
+ obj_image_anim_end
+
+gUnknown_0859EF44:: @ 859EF44
+ obj_image_anim_frame 16, 5
+ obj_image_anim_end
+
+gUnknown_0859EF4C:: @ 859EF4C
+ obj_image_anim_frame 20, 5
+ obj_image_anim_end
+
+gUnknown_0859EF54:: @ 859EF54
+ obj_image_anim_frame 24, 5
+ obj_image_anim_end
+
+gUnknown_0859EF5C:: @ 859EF5C
+ obj_image_anim_frame 28, 5
+ obj_image_anim_end
+
+gUnknown_0859EF64:: @ 859EF64
+ obj_image_anim_frame 32, 5
+ obj_image_anim_end
+
+gUnknown_0859EF6C:: @ 859EF6C
+ obj_image_anim_frame 36, 5
+ obj_image_anim_end
+
+gUnknown_0859EF74:: @ 859EF74
+ obj_image_anim_frame 40, 5
+ obj_image_anim_end
+
+gUnknown_0859EF7C:: @ 859EF7C
+ obj_image_anim_frame 44, 5
+ obj_image_anim_end
+
+gUnknown_0859EF84:: @ 859EF84
+ obj_image_anim_frame 48, 5
+ obj_image_anim_end
+
+gUnknown_0859EF8C:: @ 859EF8C
+ obj_image_anim_frame 52, 5
+ obj_image_anim_end
+
+gUnknown_0859EF94:: @ 859EF94
+ obj_image_anim_frame 56, 5
+ obj_image_anim_end
+
+gUnknown_0859EF9C:: @ 859EF9C
+ obj_image_anim_frame 60, 5
+ obj_image_anim_end
gUnknown_0859EFA4:: @ 859EFA4
- .incbin "baserom.gba", 0x59efa4, 0x40
+ .4byte gUnknown_0859EF24
+ .4byte gUnknown_0859EF2C
+ .4byte gUnknown_0859EF34
+ .4byte gUnknown_0859EF3C
+ .4byte gUnknown_0859EF44
+ .4byte gUnknown_0859EF4C
+ .4byte gUnknown_0859EF54
+ .4byte gUnknown_0859EF5C
+ .4byte gUnknown_0859EF64
+ .4byte gUnknown_0859EF6C
+ .4byte gUnknown_0859EF74
+ .4byte gUnknown_0859EF7C
+ .4byte gUnknown_0859EF84
+ .4byte gUnknown_0859EF8C
+ .4byte gUnknown_0859EF94
+ .4byte gUnknown_0859EF9C
diff --git a/data/mystery_event_menu.s b/data/mystery_event_menu.s
index 1dbe2d580..bb8330497 100644
--- a/data/mystery_event_menu.s
+++ b/data/mystery_event_menu.s
@@ -4,7 +4,9 @@
.section .rodata
gUnknown_085EFD64:: @ 85EFD64
- .incbin "baserom.gba", 0x5efd64, 0x4
+ .4byte 0x1F8
gUnknown_085EFD68:: @ 85EFD68
- .incbin "baserom.gba", 0x5efd68, 0x18
+ window_template 0, 4, 15, 22, 4, 14, 20
+ window_template 0, 7, 6, 16, 4, 14, 0x6C
+ null_window_template
diff --git a/data/mystery_event_msg.s b/data/mystery_event_msg.s
index e5525477d..c89f96506 100644
--- a/data/mystery_event_msg.s
+++ b/data/mystery_event_msg.s
@@ -1,6 +1,14 @@
+#include "constants/flags.h"
+#include "constants/items.h"
+#include "constants/moves.h"
+#include "constants/songs.h"
+#include "constants/species.h"
+#include "constants/vars.h"
.include "asm/macros.inc"
+ .include "asm/macros/event.inc"
.include "constants/constants.inc"
+
.section .rodata
gText_MysteryGiftBerry:: @ 8674AE4
@@ -34,63 +42,334 @@ gText_MysteryGiftNewTrainer:: @ 8674C31
gText_MysteryGiftCantBeUsed:: @ 8674C86
.string "This data can’t be used in\nthis version.$"
-gUnknown_08674CAF:: @ 8674CAF
- .incbin "baserom.gba", 0x00674caf, 0x2e
+ .align 2
+gUnknown_08674CB0:: @ 8674CB0
+ setvaddress gUnknown_08674CB0
+ setorcopyvar 0x800D, 1
+ specialvar 0x8008, sub_813986C
+ setorcopyvar 0x800D, 0
+ specialvar 0x8009, sub_813986C
+ subvar 0x8008, 32777
+ buffernumberstring 0, 0x8008
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftStampCard
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftStampCard::
.string "Thank you for using the STAMP CARD\nSystem.\pYou have {STR_VAR_1} more to collect to\nfill your STAMP CARD.$"
gUnknown_08674D3D:: @ 8674D3D
- .incbin "baserom.gba", 0x00674d3d, 0xa1
+ setvaddress gUnknown_08674D3D
+ checkflag 0x1E4
+ vgoto_if 0, EventScript_674D4C
+ gotoram
+
+EventScript_674D4C:: @ 8674D4C
+ specialvar 0x40DD, CalculatePlayerPartyCount
+ compare_var_to_value 0x40DD, 6
+ vgoto_if 1, EventScript_674D73
+ setflag 0x1E4
+ vcall EventScript_674D7E
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftEgg
+ waitmessage
+ waitbuttonpress
+ playfanfare 370
+ waitfanfare
+ release
+ end
+
+EventScript_674D73:: @ 8674D73
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftEgg_2
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_674D7E:: @ 8674D7E
+ giveegg SPECIES_PICHU
+ setmonobedient 0x40DD
+ setmonmetlocation 0x40DD, 255
+ compare_var_to_value 0x40DD, 1
+ vgoto_if 1, EventScript_674DC0
+ compare_var_to_value 0x40DD, 2
+ vgoto_if 1, EventScript_674DC6
+ compare_var_to_value 0x40DD, 3
+ vgoto_if 1, EventScript_674DCC
+ compare_var_to_value 0x40DD, 4
+ vgoto_if 1, EventScript_674DD2
+ compare_var_to_value 0x40DD, 5
+ vgoto_if 1, EventScript_674DD8
+ return
+
+EventScript_674DC0:: @ 8674DC0
+ setmonmove 1, 2, 57
+ return
+
+EventScript_674DC6:: @ 8674DC6
+ setmonmove 2, 2, 57
+ return
+
+EventScript_674DCC:: @ 8674DCC
+ setmonmove 3, 2, 57
+ return
+
+EventScript_674DD2:: @ 8674DD2
+ setmonmove 4, 2, 57
+ return
+
+EventScript_674DD8:: @ 8674DD8
+ setmonmove 5, 2, 57
+ return
gText_MysteryGiftEgg::
.string "Thank you for using the MYSTERY\nGIFT System.\pFrom the POKéMON CENTER we\nhave a gift--a POKéMON EGG!\pPlease raise it with love and\nkindness.$"
+
+gText_MysteryGiftEgg_2::
.string "Oh, your party appears to be full.\pPlease come see me after storing\na POKéMON on a PC.$"
gUnknown_08674EC1:: @ 8674EC1
- .incbin "baserom.gba", 0x00674ec1, 0x29
+ setvaddress gUnknown_08674EC1
+ special sub_81652B4
+ compare_var_to_value 0x800D, 0
+ vgoto_if 1, EventScript_674EDF
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftVisitingTrainer
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_674EDF:: @ 8674EDF
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftVisitingTrainer_2
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftVisitingTrainer::
.string "Thank you for using the MYSTERY\nGIFT System.\pBy holding this WONDER CARD, you\nmay take part in a survey at a\lPOKéMON MART.\pUse these surveys to invite\nTRAINERS to SOOTOPOLIS CITY.\p…Let me give you a secret\npassword for a survey:\p“GIVE ME\nAWESOME TRAINER”\pWrite that in on a survey and send\nit to the WIRELESS\lCOMMUNICATION SYSTEM.$"
+
+gText_MysteryGiftVisitingTrainer_2::
.string "Thank you for using the MYSTERY\nGIFT System.\pA TRAINER has arrived in\nSOOTOPOLIS CITY looking for you.\pWe hope you will enjoy\nbattling the visiting TRAINER.\pYou may invite other TRAINERS by\nentering other passwords.\pTry looking for other passwords\nthat may work.$"
gUnknown_0867513C:: @ 867513C
- .incbin "baserom.gba", 0x0067513c, 0x48
+ setvaddress gUnknown_0867513C
+ checkflag 0x1E4
+ vgoto_if 1, EventScript_675179
+ setorcopyvar 0x800D, 2
+ specialvar 0x8008, sub_813986C
+ compare_var_to_value 0x8008, 3
+ vgoto_if 0, EventScript_675179
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftBattleCountCard_2
+ waitmessage
+ waitbuttonpress
+ giveitem_std 13
+ release
+ setflag 0x1E4
+ end
+
+EventScript_675179:: @ 8675179
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftBattleCountCard
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftBattleCountCard::
.string "Thank you for using the MYSTERY\nGIFT System.\pYour BATTLE COUNT CARD keeps\ntrack of your battle record against\lTRAINERS with the same CARD.\pLook for and battle TRAINERS who\nhave the same CARD as you.\pYou may check the overall rankings\nby reading the NEWS.\pPlease do give it a try!$"
+
+gText_MysteryGiftBattleCountCard_2::
.string "Thank you for using the MYSTERY\nGIFT System.\pCongratulations!\pYou have won a prize for winning\nthree battles!\pWe hope you will be inspired to\nbattle some more.$"
gUnknown_0867533C:: @ 867533C
- .incbin "baserom.gba", 0x0067533c, 0x6d
+ setvaddress gUnknown_0867533C
+ lock
+ faceplayer
+ checkflag 0x13A
+ vgoto_if 1, EventScript_6753A0
+ checkflag 0x1AD
+ vgoto_if 1, EventScript_6753A0
+ checkitem 371, 1
+ compare_var_to_value 0x800D, 1
+ vgoto_if 1, EventScript_6753A0
+ vmessage gText_MysteryGiftTicket1
+ waitmessage
+ waitbuttonpress
+ checkitemspace 371, 1
+ compare_var_to_value 0x800D, 0
+ vgoto_if 1, EventScript_675397
+ giveitem_std 371
+ setflag 0x8D5
+ setflag 0x13A
+ vmessage gText_MysteryGiftTicket1_1
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_675397:: @ 8675397
+ vmessage gText_MysteryGiftTicket1_3
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_6753A0:: @ 86753A0
+ vmessage gText_MysteryGiftTicket1_2
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftTicket1::
.string "Thank you for using the MYSTERY\nGIFT System.\pYou must be {PLAYER}.\nThere is a ticket here for you.$"
+
+gText_MysteryGiftTicket1_1::
.string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
+
+gText_MysteryGiftTicket1_2::
.string "Thank you for using the MYSTERY\nGIFT System.$"
+
+gText_MysteryGiftTicket1_3::
.string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$"
gUnknown_0867550B:: @ 867550B
- .incbin "baserom.gba", 0x0067550b, 0x76
+ setvaddress gUnknown_0867550B
+ lock
+ faceplayer
+ checkflag 0x13B
+ vgoto_if 1, EventScript_675578
+ checkflag 0x91
+ vgoto_if 1, EventScript_675578
+ checkflag 0x92
+ vgoto_if 1, EventScript_675578
+ checkitem 370, 1
+ compare_var_to_value 0x800D, 1
+ vgoto_if 1, EventScript_675578
+ vmessage gText_MysteryGiftTicket2
+ waitmessage
+ waitbuttonpress
+ checkitemspace 370, 1
+ compare_var_to_value 0x800D, 0
+ vgoto_if 1, EventScript_67556F
+ giveitem_std 370
+ setflag 0x8E0
+ setflag 0x13B
+ vmessage gText_MysteryGiftTicket2_1
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_67556F:: @ 867556F
+ vmessage gText_MysteryGiftTicket2_3
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_675578:: @ 8675578
+ vmessage gText_MysteryGiftTicket2_2
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftTicket2::
.string "Thank you for using the MYSTERY\nGIFT System.\pYou must be {PLAYER}.\nThere is a ticket here for you.$"
+
+gText_MysteryGiftTicket2_1::
.string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
+
+gText_MysteryGiftTicket2_2::
.string "Thank you for using the MYSTERY\nGIFT System.$"
+
+gText_MysteryGiftTicket2_3::
.string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$"
gUnknown_086756E3:: @ 86756E3
- .incbin "baserom.gba", 0x006756e3, 0x25
+ setvaddress gUnknown_086756E3
+ addvar 0x403E, 1
+ compare_var_to_value 0x403E, 10
+ vgoto_if 0, EventScript_6756FD
+ setvar 0x403E, 0
+
+EventScript_6756FD:: @ 86756FD
+ lock
+ faceplayer
+ vmessage gText_MysteryGiftAlteringCave
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftAlteringCave::
.string "Thank you for using the MYSTERY\nGIFT System.\pThere appears to be a rumor about\nrare POKéMON sightings.\pThe sightings reportedly came from\nthe ALTERING CAVE on ROUTE 103.\pPerhaps it would be worthwhile for\nyou to investigate this rumor.$"
gUnknown_086757F4:: @ 86757F4
- .incbin "baserom.gba", 0x006757f4, 0x6d
+ setvaddress gUnknown_086757F4
+ lock
+ faceplayer
+ checkflag 0x13C
+ vgoto_if 1, EventScript_675858
+ checkflag 0x1CA
+ vgoto_if 1, EventScript_675858
+ checkitem 376, 1
+ compare_var_to_value 0x800D, 1
+ vgoto_if 1, EventScript_675858
+ vmessage gText_MysteryGiftOldSeaMap
+ waitmessage
+ waitbuttonpress
+ checkitemspace 376, 1
+ compare_var_to_value 0x800D, 0
+ vgoto_if 1, EventScript_67584F
+ giveitem_std 376
+ setflag 0x8D6
+ setflag 0x13C
+ vmessage gText_MysteryGiftOldSeaMap_1
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_67584F:: @ 867584F
+ vmessage gText_MysteryGiftOldSeaMap_3
+ waitmessage
+ waitbuttonpress
+ release
+ end
+
+EventScript_675858:: @ 8675858
+ vmessage gText_MysteryGiftOldSeaMap_2
+ waitmessage
+ waitbuttonpress
+ release
+ end
gText_MysteryGiftOldSeaMap::
.string "Thank you for using the MYSTERY\nGIFT System.\pLet me confirm--you are {PLAYER}?\pWe received this OLD SEA MAP\naddressed to you.$"
+
+gText_MysteryGiftOldSeaMap_1::
.string "It appears to be for use at the\nLILYCOVE CITY port.\pWhy not give it a try and see what\nit is about?$"
+
+gText_MysteryGiftOldSeaMap_2::
.string "Thank you for using the MYSTERY\nGIFT System.$"
+
+gText_MysteryGiftOldSeaMap_3::
.string "Oh, I’m sorry, {PLAYER}.\nYour BAG’s KEY ITEMS POCKET is full.\pPlease store something on your PC,\nthen come back for this.$"
.align 2
diff --git a/data/new_menu_helpers.s b/data/new_menu_helpers.s
index 8d4e43b15..c11d73d7c 100644
--- a/data/new_menu_helpers.s
+++ b/data/new_menu_helpers.s
@@ -4,24 +4,50 @@
.section .rodata
gUnknown_0860F074:: @ 860F074
- .incbin "baserom.gba", 0x60f074, 0x20
+ .incbin "graphics/interface/860F074.gbapal"
gUnknown_0860F094:: @ 860F094
- .incbin "baserom.gba", 0x60f094, 0x4
+ .byte 8, 4, 1, 0
gUnknown_0860F098:: @ 860F098
- .incbin "baserom.gba", 0x60f098, 0x10
+ window_template 0, 2, 15, 27, 4, 15, 0x194
+ null_window_template
gUnknown_0860F0A8:: @ 860F0A8
- .incbin "baserom.gba", 0x60f0a8, 0x8
+ window_template 0, 21, 9, 5, 4, 15, 0x125
@ These are not referenced in src/new_menu_helpers.c; rather, they are in src/menu.c. Regardless, they were plopped here.
gUnknown_0860F0B0:: @ 860F0B0
- .incbin "baserom.gba", 0x60f0b0, 0x20
+ .incbin "graphics/interface/860F0B0.gbapal"
gUnknown_0860F0D0:: @ 860F0D0
- .incbin "baserom.gba", 0x60f0d0, 0x4
+ .byte 15, 1, 2, 0
gUnknown_0860F0D4:: @ 860F0D4
- .incbin "baserom.gba", 0x60f0d4, 0x68
+ .2byte 0xC0C, 0
+ .2byte 0xC20, 32
+ .2byte 0xC20, 100
+ .2byte 0xC20, 0x60
+ .2byte 0xC20, 0x80
+ .2byte 0xC20, 0x48
+ .2byte 0xC20, 0x44
+ .2byte 0xC20, 0x6C
+ .2byte 0xC20, 0x68
+ .2byte 0xC20, 0x88
+ .2byte 0xC20, 0xA4
+ .2byte 0xC20, 0x24
+ .2byte 0xC20, 0x28
+ .2byte 0xC20, 0x2C
+ .2byte 0xC20, 0x40
+ .2byte 0xC20, 0x84
+ .2byte 0xC20, 0x4C
+ .2byte 0xC20, 0xA0
+ .2byte 0xC20, 0x8C
+ .2byte 0xC2A, 0xA8
+ .2byte 0xC2A, 0xC0
+ .2byte 0xC2A, 0xC8
+ .2byte 0xC2A, 0xE0
+ .2byte 0xC2A, 0xE8
+ .2byte 0x808, 0xAE
+ .2byte 0x808, 0xAF
diff --git a/data/option_menu.s b/data/option_menu.s
index 05db7fddf..0f8608f4b 100644
--- a/data/option_menu.s
+++ b/data/option_menu.s
@@ -5,16 +5,26 @@
.align 2, 0
gUnknown_0855C604:: @ 855C604
- .incbin "baserom.gba", 0x55c604, 0x60
+ .incbin "graphics/interface/855C604.gbapal"
+ .incbin "graphics/interface/855C624.bin"
gUnknown_0855C664:: @ 855C664
- .incbin "baserom.gba", 0x55c664, 0x1c
+ .4byte gUnknown_085EE590
+ .4byte gUnknown_085EE59B
+ .4byte gUnknown_085EE5A8
+ .4byte gUnknown_085EE5B5
+ .4byte gUnknown_085EE5C8
+ .4byte gUnknown_085EE5BB
+ .4byte gUnknown_085EE5C1
gUnknown_0855C680:: @ 855C680
- .incbin "baserom.gba", 0x55c680, 0x18
+ window_template 1, 2, 1, 0x1A, 2, 1, 2
+ window_template 0, 2, 5, 0x1A, 14, 1, 0x36
+ null_window_template
gUnknown_0855C698:: @ 855C698
- .incbin "baserom.gba", 0x55c698, 0x8
+ .4byte 0x1E5
+ .4byte 0x11F4
gUnknown_0855C6A0:: @ 855C6A0
- .incbin "baserom.gba", 0x55c6a0, 0x4
+ .2byte 0x7E51, 0
diff --git a/data/overworld.s b/data/overworld.s
index 890829cd9..186af6f44 100644
--- a/data/overworld.s
+++ b/data/overworld.s
@@ -4,22 +4,49 @@
.section .rodata
.align 2, 0
gUnknown_08339D3C:: @ 8339D3C
- .incbin "baserom.gba", 0x339d3c, 0x28
+ .4byte 0xFFFFFF, 0xFFFFFFFF, 0x4B0, 0xE10, 0x4B0, 0x960, 0x32, 0x50, 0xFFFFFFD4, 0x2C
gUnknown_08339D64:: @ 8339D64
- .incbin "baserom.gba", 0x339d64, 0x48
+ .4byte 0, 0
+ .4byte 0, 1
+ .4byte 0, -1
+ .4byte -1, 0
+ .4byte 1, 0
+ .4byte -1, 1
+ .4byte 1, 1
+ .4byte -1, -1
+ .4byte 1, -1
gUnknown_08339DAC:: @ 8339DAC
- .incbin "baserom.gba", 0x339dac, 0x10
+ .4byte 0x1F8
+ .4byte 0x11D1
+ .4byte 0x21C2
+ .4byte 0x31E3
gUnknown_08339DBC:: @ 8339DBC
- .incbin "baserom.gba", 0x339dbc, 0xc
+ .4byte REG_WIN0H
+ .4byte 0xa2600001
+ .byte 1, 0
+ .align 2
gUnknown_08339DC8:: @ 8339DC8
- .incbin "baserom.gba", 0x339dc8, 0xc
+ .4byte sub_80879D8
+ .4byte sub_80879F8
+ .4byte sub_80879FC
gUnknown_08339DD4:: @ 8339DD4
- .incbin "baserom.gba", 0x339dd4, 0x2c
+ .4byte sub_8087A1C
+ .4byte sub_8087A20
+ .4byte sub_8087A20
+ .4byte sub_8087A20
+ .4byte sub_8087A20
+ .4byte sub_8087A1C
+ .4byte sub_8087A1C
+ .4byte sub_8087A88
+ .4byte sub_8087A88
+ .4byte sub_8087A88
+ .4byte sub_8087A88
gUnknown_08339E00:: @ 8339E00
- .incbin "baserom.gba", 0x339e00, 0x8
+ .4byte sub_8087AA0
+ .4byte sub_8087AA8
diff --git a/data/pokemon_summary_screen.s b/data/pokemon_summary_screen.s
index 2f5bbeb3d..85c30bc6f 100644
--- a/data/pokemon_summary_screen.s
+++ b/data/pokemon_summary_screen.s
@@ -263,7 +263,7 @@ gSpriteAnimTable_861CF60:: @ 861CF60
.align 2
gUnknown_0861CFBC:: @ 861CFBC
- obj_tiles 0x08d971b0, 0x1700, 0x7532
+ obj_tiles gMoveTypes_Gfx, 0x1700, 0x7532
.align 2
gUnknown_0861CFC4:: @ 861CFC4
diff --git a/data/record_mixing.s b/data/record_mixing.s
index 0ef0a776a..20a37145c 100644
--- a/data/record_mixing.s
+++ b/data/record_mixing.s
@@ -5,16 +5,33 @@
.align 2, 0
gUnknown_0858CF8C:: @ 858CF8C
- .incbin "baserom.gba", 0x58cf8c, 0x2
+ .byte 1, 0
gUnknown_0858CF8E:: @ 858CF8E
- .incbin "baserom.gba", 0x58cf8e, 0x6
+ .byte 1, 2, 0
+ .byte 2, 0, 1
gUnknown_0858CF94:: @ 858CF94
- .incbin "baserom.gba", 0x58cf94, 0x24
+ .byte 1, 0, 3
+ .byte 2, 3, 0
+ .byte 1, 2, 2
+ .byte 0, 3, 1
+ .byte 1, 3, 0
+ .byte 2, 2, 3
+ .byte 0, 1, 3
+ .byte 2, 0, 1
+ .byte 1, 2, 3
+ .byte 0, 2, 3
+ .byte 1, 0, 3
+ .byte 2, 1, 0
gUnknown_0858CFB8:: @ 858CFB8
- .incbin "baserom.gba", 0x58cfb8, 0x6
+ .byte 0, 1
+ .byte 1, 2
+ .byte 2, 0
gUnknown_0858CFBE:: @ 858CFBE
- .incbin "baserom.gba", 0x58cfbe, 0xe
+ .byte 0, 1, 2, 3
+ .byte 0, 2, 1, 3
+ .byte 0, 3, 2, 1
+ .byte 0, 0
diff --git a/data/script_menu.s b/data/script_menu.s
index ff9fc3871..dbfb05621 100644
--- a/data/script_menu.s
+++ b/data/script_menu.s
@@ -578,7 +578,7 @@ gUnknown_0858B758:: @ 58B758
gUnknown_0858B760:: @ 858B760
- .4byte 0x0858abd8, 3
+ .4byte gUnknown_0858ABD8, 3
.4byte gUnknown_0858B758, 1
.4byte gUnknown_0858ABF0, 3
.4byte gUnknown_0858AC08, 4
@@ -745,19 +745,36 @@ gUnknown_0858BB80:: @ 858BB80
.4byte gText_Exit
gUnknown_0858BB9C:: @ 858BB9C
- .incbin "baserom.gba", 0x58bb9c, 0x10
+ .4byte OldaleTown_PokemonCenter_2F_Text_277F1B
+ .4byte OldaleTown_PokemonCenter_2F_Text_277F5A
+ .4byte OldaleTown_PokemonCenter_2F_Text_277F96
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
gUnknown_0858BBAC:: @ 858BBAC
- .incbin "baserom.gba", 0x58bbac, 0x10
+ .4byte OldaleTown_PokemonCenter_2F_Text_27879F
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787D5
+ .4byte OldaleTown_PokemonCenter_2F_Text_278831
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
gUnknown_0858BBBC:: @ 858BBBC
- .incbin "baserom.gba", 0x58bbbc, 0x10
+ .4byte OldaleTown_PokemonCenter_2F_Text_27879F
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787D5
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787FC
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
gUnknown_0858BBCC:: @ 858BBCC
- .incbin "baserom.gba", 0x58bbcc, 0x14
+ .4byte OldaleTown_PokemonCenter_2F_Text_27879F
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787D5
+ .4byte OldaleTown_PokemonCenter_2F_Text_278831
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787FC
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
gUnknown_0858BBE0:: @ 858BBE0
- .incbin "baserom.gba", 0x58bbe0, 0xc
+ .4byte OldaleTown_PokemonCenter_2F_Text_277F1B
+ .4byte OldaleTown_PokemonCenter_2F_Text_277F5A
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
gUnknown_0858BBEC:: @ 858BBEC
- .incbin "baserom.gba", 0x58bbec, 0xc
+ .4byte OldaleTown_PokemonCenter_2F_Text_27879F
+ .4byte OldaleTown_PokemonCenter_2F_Text_2787D5
+ .4byte OldaleTown_PokemonCenter_2F_Text_27889C
diff --git a/data/scripts/cable_club.inc b/data/scripts/cable_club.inc
index 5418e6e4e..bcd92d1c2 100644
--- a/data/scripts/cable_club.inc
+++ b/data/scripts/cable_club.inc
@@ -1648,15 +1648,15 @@ OldaleTown_PokemonCenter_2F_Text_277EF1: @ 8277EF1
.string "Which of our services do you wish\n"
.string "to use?$"
-OldaleTown_PokemonCenter_2F_Text_277F1B: @ 8277F1B
+OldaleTown_PokemonCenter_2F_Text_277F1B:: @ 8277F1B
.string "Trade POKéMON with another player\n"
.string "using a GBA Game Link cable.$"
-OldaleTown_PokemonCenter_2F_Text_277F5A: @ 8277F5A
+OldaleTown_PokemonCenter_2F_Text_277F5A:: @ 8277F5A
.string "You may battle another TRAINER\n"
.string "using a GBA Game Link cable.$"
-OldaleTown_PokemonCenter_2F_Text_277F96: @ 8277F96
+OldaleTown_PokemonCenter_2F_Text_277F96:: @ 8277F96
.string "You can use the RECORD CORNER with\n"
.string "others using a GBA Game Link cable.$"
@@ -1826,19 +1826,19 @@ OldaleTown_PokemonCenter_2F_Text_27878B: @ 827878B
OldaleTown_PokemonCenter_2F_Text_278792: @ 8278792
.string "Please wait.$"
-OldaleTown_PokemonCenter_2F_Text_27879F: @ 827879F
+OldaleTown_PokemonCenter_2F_Text_27879F:: @ 827879F
.string "You may trade your POKéMON here\n"
.string "with another TRAINER.$"
-OldaleTown_PokemonCenter_2F_Text_2787D5: @ 82787D5
+OldaleTown_PokemonCenter_2F_Text_2787D5:: @ 82787D5
.string "You may battle with your friends\n"
.string "here.$"
-OldaleTown_PokemonCenter_2F_Text_2787FC: @ 82787FC
+OldaleTown_PokemonCenter_2F_Text_2787FC:: @ 82787FC
.string "Two to five TRAINERS can make\n"
.string "BERRY POWDER together.$"
-OldaleTown_PokemonCenter_2F_Text_278831: @ 8278831
+OldaleTown_PokemonCenter_2F_Text_278831:: @ 8278831
.string "The records of two to four players\n"
.string "can be mixed together.$"
@@ -1846,7 +1846,7 @@ OldaleTown_PokemonCenter_2F_Text_27886B: @ 827886B
.string "A guide to the WIRELESS CLUB’s\n"
.string "various services.$"
-OldaleTown_PokemonCenter_2F_Text_27889C: @ 827889C
+OldaleTown_PokemonCenter_2F_Text_27889C:: @ 827889C
.string "Cancels the selected MENU item.$"
OldaleTown_PokemonCenter_2F_Text_2788BC: @ 82788BC
diff --git a/data/scripts/mauville_man.inc b/data/scripts/mauville_man.inc
index 327c0cbc6..2e00ee702 100644
--- a/data/scripts/mauville_man.inc
+++ b/data/scripts/mauville_man.inc
@@ -300,10 +300,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "in hearing my epic tales of legendary\l"
.string "TRAINERS.$"
+MauvilleCity_PokemonCenter_1F_Text_28E930:: @ 828E930
.string "The Save-Happy TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28E947:: @ 828E947
.string "Saved the game$"
+MauvilleCity_PokemonCenter_1F_Text_28E956:: @ 828E956
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER saved the game\n"
@@ -311,10 +314,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "A more cautious TRAINER than\n"
.string "{STR_VAR_3} one will never find!$"
+MauvilleCity_PokemonCenter_1F_Text_28E9D7:: @ 828E9D7
.string "The Trendsetter TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28E9EF:: @ 828E9EF
.string "Started trends$"
+MauvilleCity_PokemonCenter_1F_Text_28E9FE:: @ 828E9FE
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER started new trends\n"
@@ -322,10 +328,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is setting trends for all\n"
.string "the HOENN region!$"
- .string "The BERRY-Planting TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EA7D:: @ 828EA7D
+ .string "The BERRY-Planting TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EA98:: @ 828EA98
.string "Planted BERRIES$"
+MauvilleCity_PokemonCenter_1F_Text_28EAA8:: @ 828EAA8
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER planted BERRIES\n"
@@ -333,10 +342,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a legendary lover of\n"
.string "BERRIES!$"
+MauvilleCity_PokemonCenter_1F_Text_28EB19:: @ 828EB19
.string "The BIKE-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EB31:: @ 828EB31
.string "Traded BIKES$"
+MauvilleCity_PokemonCenter_1F_Text_28EB3E:: @ 828EB3E
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER swapped BIKES\n"
@@ -344,10 +356,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must love BIKES deeply\n"
.string "and passionately!$"
+MauvilleCity_PokemonCenter_1F_Text_28EBB5:: @ 828EBB5
.string "The Interviewed TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EBCD:: @ 828EBCD
.string "Got interviewed$"
+MauvilleCity_PokemonCenter_1F_Text_28EBDD:: @ 828EBDD
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER got interviewed\n"
@@ -355,20 +370,26 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a TRAINER who’s\n"
.string "attracting much attention!$"
+MauvilleCity_PokemonCenter_1F_Text_28EC60:: @ 828EC60
.string "The Battle-Happy TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EC79:: @ 828EC79
.string "Battled$"
+MauvilleCity_PokemonCenter_1F_Text_28EC81:: @ 828EC81
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER battled {STR_VAR_1} times!\p"
.string "{STR_VAR_3} must be a TRAINER who can\n"
.string "never refuse a chance to battle!$"
+MauvilleCity_PokemonCenter_1F_Text_28ED04:: @ 828ED04
.string "The POKéMON-Catching TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28ED21:: @ 828ED21
.string "Caught POKéMON$"
+MauvilleCity_PokemonCenter_1F_Text_28ED30:: @ 828ED30
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER caught\n"
@@ -376,10 +397,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a legendary catcher of\n"
.string "wild POKéMON!$"
+MauvilleCity_PokemonCenter_1F_Text_28EDA1:: @ 828EDA1
.string "The Fishing TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EDB5:: @ 828EDB5
.string "Caught POKéMON with a ROD$"
+MauvilleCity_PokemonCenter_1F_Text_28EDCF:: @ 828EDCF
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER caught\n"
@@ -387,10 +411,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a legendary fishing\n"
.string "expert!$"
+MauvilleCity_PokemonCenter_1F_Text_28EE45:: @ 828EE45
.string "The EGG-Warming TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EE5D:: @ 828EE5D
.string "Hatched EGGS$"
+MauvilleCity_PokemonCenter_1F_Text_28EE6A:: @ 828EE6A
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER hatched {STR_VAR_1} POKéMON\n"
@@ -398,10 +425,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a legendary warmer\n"
.string "of EGGS!$"
+MauvilleCity_PokemonCenter_1F_Text_28EEDD:: @ 828EEDD
.string "The Evolver TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EEF1:: @ 828EEF1
.string "Evolved POKéMON$"
+MauvilleCity_PokemonCenter_1F_Text_28EF01:: @ 828EF01
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER made {STR_VAR_1} POKéMON\n"
@@ -409,10 +439,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is the ultimate evolver\n"
.string "of POKéMON!$"
+MauvilleCity_PokemonCenter_1F_Text_28EF73:: @ 828EF73
.string "The POKéMON CENTER-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28EF95:: @ 828EF95
.string "Used POKéMON CENTERS$"
+MauvilleCity_PokemonCenter_1F_Text_28EFAA:: @ 828EFAA
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER healed POKéMON\n"
@@ -420,10 +453,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "There could be no greater lover of\n"
.string "POKéMON CENTERS than {STR_VAR_3}!$"
+MauvilleCity_PokemonCenter_1F_Text_28F045:: @ 828F045
.string "The Homebody TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F05A:: @ 828F05A
.string "Rested POKéMON at home$"
+MauvilleCity_PokemonCenter_1F_Text_28F071:: @ 828F071
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER healed POKéMON\n"
@@ -431,10 +467,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "There could be no more of a homebody\n"
.string "than {STR_VAR_3}!$"
+MauvilleCity_PokemonCenter_1F_Text_28F0F3:: @ 828F0F3
.string "The SAFARI-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F10D:: @ 828F10D
.string "Entered the SAFARI ZONE$"
+MauvilleCity_PokemonCenter_1F_Text_28F125:: @ 828F125
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER went into the SAFARI ZONE\n"
@@ -442,10 +481,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER whose wild side\n"
.string "must come out in the SAFARI ZONE!$"
+MauvilleCity_PokemonCenter_1F_Text_28F1BE:: @ 828F1BE
.string "The CUT-Frenzy TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F1D5:: @ 828F1D5
.string "Used CUT$"
+MauvilleCity_PokemonCenter_1F_Text_28F1DE:: @ 828F1DE
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER used CUT\n"
@@ -453,10 +495,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER who just must\n"
.string "love to CUT!$"
+MauvilleCity_PokemonCenter_1F_Text_28F24F:: @ 828F24F
.string "The ROCK-SMASHING TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F269:: @ 828F269
.string "Smashed rocks$"
+MauvilleCity_PokemonCenter_1F_Text_28F277:: @ 828F277
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER used ROCK SMASH\n"
@@ -464,10 +509,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a TRAINER who\n"
.string "can’t leave a stone unsmashed!$"
+MauvilleCity_PokemonCenter_1F_Text_28F2FC:: @ 828F2FC
.string "The Move-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F314:: @ 828F314
.string "Moved the SECRET BASE$"
+MauvilleCity_PokemonCenter_1F_Text_28F32A:: @ 828F32A
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER moved the SECRET BASE\n"
@@ -475,10 +523,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER who loves\n"
.string "to move houses often!$"
+MauvilleCity_PokemonCenter_1F_Text_28F3AD:: @ 828F3AD
.string "The SPLASH-Happy TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F3C6:: @ 828F3C6
.string "Used SPLASH$"
+MauvilleCity_PokemonCenter_1F_Text_28F3D2:: @ 828F3D2
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER used SPLASH\n"
@@ -486,10 +537,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER who must love\n"
.string "SPLASHING around!$"
+MauvilleCity_PokemonCenter_1F_Text_28F44B:: @ 828F44B
.string "The Tenacious TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F461:: @ 828F461
.string "Resorted to using STRUGGLE$"
+MauvilleCity_PokemonCenter_1F_Text_28F47C:: @ 828F47C
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER had to rely on STRUGGLE\n"
@@ -497,10 +551,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a tenacious TRAINER\n"
.string "who never gives in to adversity!$"
+MauvilleCity_PokemonCenter_1F_Text_28F50C:: @ 828F50C
.string "The SLOT Champ$"
+MauvilleCity_PokemonCenter_1F_Text_28F51B:: @ 828F51B
.string "Won the jackpot on the SLOTS$"
+MauvilleCity_PokemonCenter_1F_Text_28F538:: @ 828F538
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER won the jackpot on\n"
@@ -508,10 +565,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER who was lucky\n"
.string "on the SLOTS!$"
+MauvilleCity_PokemonCenter_1F_Text_28F5BE:: @ 828F5BE
.string "The ROULETTE Champ$"
+MauvilleCity_PokemonCenter_1F_Text_28F5D1:: @ 828F5D1
.string "Had consecutive ROULETTE wins of$"
+MauvilleCity_PokemonCenter_1F_Text_28F5F2:: @ 828F5F2
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER won in ROULETTE\n"
@@ -519,10 +579,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} was lucky when the ball\n"
.string "bounced in ROULETTE!$"
+MauvilleCity_PokemonCenter_1F_Text_28F678:: @ 828F678
.string "The BATTLE TOWER Challenger$"
+MauvilleCity_PokemonCenter_1F_Text_28F694:: @ 828F694
.string "Took the BATTLE TOWER challenge$"
+MauvilleCity_PokemonCenter_1F_Text_28F6B4:: @ 828F6B4
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER took the BATTLE TOWER\n"
@@ -530,10 +593,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} is a TRAINER who aspires\n"
.string "for excellence in the BATTLE TOWER!$"
+MauvilleCity_PokemonCenter_1F_Text_28F751:: @ 828F751
.string "The Blend-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F76A:: @ 828F76A
.string "Made {POKEBLOCK}S$"
+MauvilleCity_PokemonCenter_1F_Text_28F776:: @ 828F776
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER made {POKEBLOCK}S\n"
@@ -541,10 +607,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "There is none better at using a BERRY\n"
.string "BLENDER than {STR_VAR_3}!$"
+MauvilleCity_PokemonCenter_1F_Text_28F7F6:: @ 828F7F6
.string "The CONTEST-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F811:: @ 828F811
.string "Entered CONTESTS$"
+MauvilleCity_PokemonCenter_1F_Text_28F822:: @ 828F822
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER entered CONTESTS\n"
@@ -552,10 +621,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must love showing off\n"
.string "POKéMON to others!$"
+MauvilleCity_PokemonCenter_1F_Text_28F89C:: @ 828F89C
.string "The CONTEST Master$"
+MauvilleCity_PokemonCenter_1F_Text_28F8AF:: @ 828F8AF
.string "Won CONTESTS$"
+MauvilleCity_PokemonCenter_1F_Text_28F8BC:: @ 828F8BC
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER won CONTESTS\n"
@@ -563,10 +635,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be an incredible\n"
.string "CONTEST master!$"
+MauvilleCity_PokemonCenter_1F_Text_28F92F:: @ 828F92F
.string "The Happy Shopper$"
+MauvilleCity_PokemonCenter_1F_Text_28F941:: @ 828F941
.string "Shopped$"
+MauvilleCity_PokemonCenter_1F_Text_28F949:: @ 828F949
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER bought items in shops\n"
@@ -574,10 +649,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be one of those\n"
.string "people who are born to shop.$"
+MauvilleCity_PokemonCenter_1F_Text_28F9D1:: @ 828F9D1
.string "The Item-Finding TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28F9EA:: @ 828F9EA
.string "Used an ITEMFINDER$"
+MauvilleCity_PokemonCenter_1F_Text_28F9FD:: @ 828F9FD
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER used an ITEMFINDER\n"
@@ -585,10 +663,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must enjoy scouring the\n"
.string "ground for hidden items!$"
+MauvilleCity_PokemonCenter_1F_Text_28FA81:: @ 828FA81
.string "The Rain-Soaked TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28FA99:: @ 828FA99
.string "Got rained on$"
+MauvilleCity_PokemonCenter_1F_Text_28FAA7:: @ 828FAA7
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER got soaked by rain\n"
@@ -596,10 +677,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3}’s charisma must even\n"
.string "attract rain!$"
+MauvilleCity_PokemonCenter_1F_Text_28FB1D:: @ 828FB1D
.string "The Avid POKéDEX Reader$"
+MauvilleCity_PokemonCenter_1F_Text_28FB35:: @ 828FB35
.string "Checked a POKéDEX$"
+MauvilleCity_PokemonCenter_1F_Text_28FB47:: @ 828FB47
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER checked a POKéDEX\n"
@@ -607,10 +691,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must love inspecting\n"
.string "POKéMON in a POKéDEX!$"
+MauvilleCity_PokemonCenter_1F_Text_28FBC4:: @ 828FBC4
.string "The RIBBON Collector$"
+MauvilleCity_PokemonCenter_1F_Text_28FBD9:: @ 828FBD9
.string "Received RIBBONS$"
+MauvilleCity_PokemonCenter_1F_Text_28FBEA:: @ 828FBEA
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER received RIBBONS\n"
@@ -618,10 +705,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a TRAINER who\n"
.string "loves to collect RIBBONS!$"
+MauvilleCity_PokemonCenter_1F_Text_28FC6B:: @ 828FC6B
.string "The Ledge-Jumping TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28FC85:: @ 828FC85
.string "Jumped down ledges$"
+MauvilleCity_PokemonCenter_1F_Text_28FC98:: @ 828FC98
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER jumped down ledges\n"
@@ -629,20 +719,26 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "If there’s a ledge to be jumped,\n"
.string "{STR_VAR_3} can’t ignore it!$"
+MauvilleCity_PokemonCenter_1F_Text_28FD1D:: @ 828FD1D
.string "The Legendary TV Viewer$"
+MauvilleCity_PokemonCenter_1F_Text_28FD35:: @ 828FD35
.string "Watched TV$"
+MauvilleCity_PokemonCenter_1F_Text_28FD40:: @ 828FD40
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER watched TV\n"
.string "{STR_VAR_1} times!\p"
.string "{STR_VAR_3} must love watching TV!$"
+MauvilleCity_PokemonCenter_1F_Text_28FDA2:: @ 828FDA2
.string "The Time-Conscious TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28FDBD:: @ 828FDBD
.string "Checked the time$"
+MauvilleCity_PokemonCenter_1F_Text_28FDCE:: @ 828FDCE
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER checked the time\n"
@@ -650,10 +746,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a punctual TRAINER\n"
.string "who’s conscious of the time.$"
+MauvilleCity_PokemonCenter_1F_Text_28FE57:: @ 828FE57
.string "The POKéMON LOTTERY Wizard$"
+MauvilleCity_PokemonCenter_1F_Text_28FE72:: @ 828FE72
.string "Won POKéMON LOTTERIES$"
+MauvilleCity_PokemonCenter_1F_Text_28FE88:: @ 828FE88
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER won POKéMON LOTTERIES\n"
@@ -661,10 +760,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must have many friends\n"
.string "to trade POKéMON with!$"
+MauvilleCity_PokemonCenter_1F_Text_28FF0C:: @ 828FF0C
.string "The DAY CARE-Using Trainer$"
+MauvilleCity_PokemonCenter_1F_Text_28FF27:: @ 828FF27
.string "Left POKéMON at the DAY CARE$"
+MauvilleCity_PokemonCenter_1F_Text_28FF44:: @ 828FF44
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER left POKéMON with the\n"
@@ -672,10 +774,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a real go-getter\n"
.string "who raises POKéMON aggressively!$"
+MauvilleCity_PokemonCenter_1F_Text_28FFDD:: @ 828FFDD
.string "The CABLE CAR-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_28FFFA:: @ 828FFFA
.string "Rode the CABLE CAR$"
+MauvilleCity_PokemonCenter_1F_Text_29000D:: @ 829000D
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER rode the CABLE CAR\n"
@@ -683,10 +788,13 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a busy TRAINER\n"
.string "who’s up and down all the time!$"
+MauvilleCity_PokemonCenter_1F_Text_290097:: @ 8290097
.string "The Hot Spring-Loving TRAINER$"
+MauvilleCity_PokemonCenter_1F_Text_2900B5:: @ 82900B5
.string "Bathed in hot springs$"
+MauvilleCity_PokemonCenter_1F_Text_2900CB:: @ 82900CB
.string "This is a tale of a TRAINER\n"
.string "named {STR_VAR_3}.\p"
.string "This TRAINER bathed in hot springs\n"
@@ -694,6 +802,7 @@ MauvilleCity_PokemonCenter_1F_Text_28E8D9: @ 828E8D9
.string "{STR_VAR_3} must be a TRAINER with\n"
.string "baby-smooth skin!$"
+
MauvilleCity_PokemonCenter_1F_EventScript_29014A:: @ 829014A
lock
faceplayer
diff --git a/data/specials.inc b/data/specials.inc
index f0c1fa114..a4e678a14 100644
--- a/data/specials.inc
+++ b/data/specials.inc
@@ -1,4 +1,5 @@
.macro def_special ptr
+.global SPECIAL_\ptr
.set SPECIAL_\ptr, __special__
.set __special__, __special__ + 1
.4byte \ptr
diff --git a/data/unk_transition.s b/data/unk_transition.s
index 5d0dc07af..2dc54e22d 100644
--- a/data/unk_transition.s
+++ b/data/unk_transition.s
@@ -4,13 +4,14 @@
.section .rodata
gUnknown_0862AD54:: @ 862AD54
- .incbin "baserom.gba", 0x62ad54, 0x1dc
+ .incbin "graphics/battle_transitions/frontier_transition.4bpp.lz"
gUnknown_0862AF30:: @ 862AF30
- .incbin "baserom.gba", 0x62af30, 0x1AC
+ .incbin "graphics/battle_transitions/frontier_transition.bin"
gUnknown_0862B0DC:: @ 862B0DC
- .incbin "baserom.gba", 0x62b0dc, 0x460
+ .incbin "graphics/battle_transitions/frontier_transition_circles.4bpp.lz"
gUnknown_0862B53C:: @ 862B53C
- .incbin "baserom.gba", 0x62b53c, 0x1E0
+ .incbin "graphics/battle_transitions/frontier_transition.gbapal"
+ .space 0x1c0
diff --git a/data/use_pokeblock.s b/data/use_pokeblock.s
index 0e99cf223..8497f59ad 100644
--- a/data/use_pokeblock.s
+++ b/data/use_pokeblock.s
@@ -4,19 +4,19 @@
.section .rodata
gUnknown_085DFA60:: @ 85DFA60
- .incbin "baserom.gba", 0x5dfa60, 0x20
+ .incbin "graphics/interface/85DFA60.bin"
gUnknown_085DFA80:: @ 85DFA80
- .incbin "baserom.gba", 0x5dfa80, 0xe0
+ .incbin "graphics/interface/85DFA80.4bpp"
gUnknown_085DFB60:: @ 85DFB60
- .incbin "baserom.gba", 0x5dfb60, 0xac
+ .incbin "graphics/interface/85DFB60.bin"
gUnknown_085DFC0C:: @ 85DFC0C
- .incbin "baserom.gba", 0x5dfc0c, 0xa4
+ .incbin "graphics/interface/85DFC0C.bin"
gUnknown_085DFCB0:: @ 85DFCB0
- .incbin "baserom.gba", 0x5dfcb0, 0x14
+ .4byte 22, 47, 33, 24, 23
gUnknown_085DFCC4:: @ 85DFCC4
.byte 0, 4, 3, 2, 1
@@ -53,13 +53,58 @@ gUnknown_085DFD20:: @ 85DFD20
obj_pal gUsePokeblockUpDown_Pal, 0
gUnknown_085DFD28:: @ 85DFD28
- .incbin "baserom.gba", 0x5dfd28, 0x34
+ .2byte 0x9c, 0x24
+ .2byte 0x75, 0x3b
+ .2byte 0x75, 0x76
+ .2byte 0xc5, 0x76
+ .2byte 0xc5, 0x3b
+
+gUnknown_085DFD3C:: @ 85DFD3C
+ .2byte 0x4000
+ .2byte 0x8000
+ .2byte 0x400
+ .2byte 0
+
+gUnknown_085DFD44:: @ 85DFD44
+ obj_image_anim_frame 0, 5
+ obj_image_anim_end
+
+gUnknown_085DFD4C:: @ 85DFD4C
+ obj_image_anim_frame 8, 5
+ obj_image_anim_end
+
+gUnknown_085DFD54:: @ 85DFD54
+ .4byte gUnknown_085DFD44
+ .4byte gUnknown_085DFD4C
gUnknown_085DFD5C:: @ 85DFD5C
- .incbin "baserom.gba", 0x5dfd5c, 0x44
+ spr_template 0, 0, gUnknown_085DFD3C, gUnknown_085DFD54, NULL, gDummySpriteAffineAnimTable, SpriteCallbackDummy
+
+gUnknown_085DFD74:: @ 85DFD74
+ .2byte 0x4000
+ .2byte 0xC000
+ .2byte 0x400
+ .2byte 0
+
+gUnknown_085DFD7C:: @ 85DFD7C
+ obj_image_anim_frame 0, 5
+ obj_image_anim_end
+
+gUnknown_085DFD84:: @ 85DFD84
+ obj_image_anim_frame 32, 5
+ obj_image_anim_end
+
+gUnknown_085DFD8C:: @ 85DFD8C
+ obj_image_anim_frame 64, 5
+ obj_image_anim_end
+
+gUnknown_085DFD94:: @ 85DFD94
+ .4byte gUnknown_085DFD7C
+ .4byte gUnknown_085DFD84
+ .4byte gUnknown_085DFD8C
gUnknown_085DFDA0:: @ 85DFDA0
- .incbin "baserom.gba", 0x5dfda0, 0x18
+ spr_template 1, 1, gUnknown_085DFD74, gUnknown_085DFD94, NULL, gDummySpriteAffineAnimTable, sub_8168374
gUnknown_085DFDB8:: @ 85DFDB8
.4byte gUsePokeblockCondition_Pal
diff --git a/graphics/battle_transitions/frontier_transition.bin b/graphics/battle_transitions/frontier_transition.bin
new file mode 100644
index 000000000..7b9d2af28
--- /dev/null
+++ b/graphics/battle_transitions/frontier_transition.bin
Binary files differ
diff --git a/graphics/battle_transitions/frontier_transition.png b/graphics/battle_transitions/frontier_transition.png
new file mode 100755
index 000000000..05ea84f2c
--- /dev/null
+++ b/graphics/battle_transitions/frontier_transition.png
Binary files differ
diff --git a/graphics/battle_transitions/frontier_transition_circles.png b/graphics/battle_transitions/frontier_transition_circles.png
new file mode 100755
index 000000000..50e44e40c
--- /dev/null
+++ b/graphics/battle_transitions/frontier_transition_circles.png
Binary files differ
diff --git a/graphics/interface/855C604.pal b/graphics/interface/855C604.pal
new file mode 100755
index 000000000..e7d6c330a
--- /dev/null
+++ b/graphics/interface/855C604.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 255 255
+255 180 82
+197 123 0
+255 139 131
+255 49 24
+74 74 74
+213 213 205
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/graphics/interface/855C624.bin b/graphics/interface/855C624.bin
new file mode 100644
index 000000000..6f48b39f6
--- /dev/null
+++ b/graphics/interface/855C624.bin
@@ -0,0 +1 @@
+ \ No newline at end of file
diff --git a/graphics/interface/85DFA60.bin b/graphics/interface/85DFA60.bin
new file mode 100644
index 000000000..b1a4230d4
--- /dev/null
+++ b/graphics/interface/85DFA60.bin
Binary files differ
diff --git a/graphics/interface/85DFA80.png b/graphics/interface/85DFA80.png
new file mode 100755
index 000000000..c1fde0325
--- /dev/null
+++ b/graphics/interface/85DFA80.png
Binary files differ
diff --git a/graphics/interface/85DFB60.bin b/graphics/interface/85DFB60.bin
new file mode 100644
index 000000000..4e7c2d4ad
--- /dev/null
+++ b/graphics/interface/85DFB60.bin
Binary files differ
diff --git a/graphics/interface/85DFC0C.bin b/graphics/interface/85DFC0C.bin
new file mode 100644
index 000000000..5f8f364fc
--- /dev/null
+++ b/graphics/interface/85DFC0C.bin
Binary files differ
diff --git a/graphics/interface/860F074.pal b/graphics/interface/860F074.pal
new file mode 100755
index 000000000..25a3ac1d2
--- /dev/null
+++ b/graphics/interface/860F074.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+255 255 255
+255 255 255
+98 98 98
+213 213 205
+230 8 8
+255 189 115
+32 156 8
+148 246 148
+49 82 205
+164 197 246
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/graphics/interface/860F0B0.pal b/graphics/interface/860F0B0.pal
new file mode 100755
index 000000000..61430dbb3
--- /dev/null
+++ b/graphics/interface/860F0B0.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 205 164
+255 255 255
+98 98 98
+213 213 205
+230 8 8
+255 189 115
+32 156 8
+148 246 148
+49 82 205
+164 197 246
+255 255 255
+74 205 238
+49 164 238
+0 90 131
+24 98 197
+0 139 90
diff --git a/graphics/interface/map_popup/857F444.pal b/graphics/interface/map_popup/857F444.pal
new file mode 100755
index 000000000..19b8cf9c4
--- /dev/null
+++ b/graphics/interface/map_popup/857F444.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+115 197 164
+0 0 0
+238 255 255
+65 65 123
+255 255 255
+180 222 255
+139 172 213
+98 123 172
+57 74 131
+16 24 90
+180 222 255
+139 172 213
+98 123 172
+57 74 131
+16 24 90
+255 255 255
diff --git a/graphics/interface/map_popup/brick.png b/graphics/interface/map_popup/brick.png
new file mode 100755
index 000000000..8fef0a1c2
--- /dev/null
+++ b/graphics/interface/map_popup/brick.png
Binary files differ
diff --git a/graphics/interface/map_popup/brick_outline.png b/graphics/interface/map_popup/brick_outline.png
new file mode 100755
index 000000000..be4b6f95a
--- /dev/null
+++ b/graphics/interface/map_popup/brick_outline.png
Binary files differ
diff --git a/graphics/interface/map_popup/marble.png b/graphics/interface/map_popup/marble.png
new file mode 100755
index 000000000..d79b9ec34
--- /dev/null
+++ b/graphics/interface/map_popup/marble.png
Binary files differ
diff --git a/graphics/interface/map_popup/marble_outline.png b/graphics/interface/map_popup/marble_outline.png
new file mode 100755
index 000000000..54f3021ea
--- /dev/null
+++ b/graphics/interface/map_popup/marble_outline.png
Binary files differ
diff --git a/graphics/interface/map_popup/stone.png b/graphics/interface/map_popup/stone.png
new file mode 100755
index 000000000..fe3b7e29d
--- /dev/null
+++ b/graphics/interface/map_popup/stone.png
Binary files differ
diff --git a/graphics/interface/map_popup/stone2.png b/graphics/interface/map_popup/stone2.png
new file mode 100755
index 000000000..261c3184a
--- /dev/null
+++ b/graphics/interface/map_popup/stone2.png
Binary files differ
diff --git a/graphics/interface/map_popup/stone2_outline.png b/graphics/interface/map_popup/stone2_outline.png
new file mode 100755
index 000000000..b0c0748df
--- /dev/null
+++ b/graphics/interface/map_popup/stone2_outline.png
Binary files differ
diff --git a/graphics/interface/map_popup/stone_outline.png b/graphics/interface/map_popup/stone_outline.png
new file mode 100755
index 000000000..7c014d05e
--- /dev/null
+++ b/graphics/interface/map_popup/stone_outline.png
Binary files differ
diff --git a/graphics/interface/map_popup/underwater.png b/graphics/interface/map_popup/underwater.png
new file mode 100755
index 000000000..e6cf2b6c8
--- /dev/null
+++ b/graphics/interface/map_popup/underwater.png
Binary files differ
diff --git a/graphics/interface/map_popup/underwater_outline.png b/graphics/interface/map_popup/underwater_outline.png
new file mode 100755
index 000000000..2ffe3cb75
--- /dev/null
+++ b/graphics/interface/map_popup/underwater_outline.png
Binary files differ
diff --git a/graphics/interface/map_popup/wood.png b/graphics/interface/map_popup/wood.png
new file mode 100755
index 000000000..e846a6bcd
--- /dev/null
+++ b/graphics/interface/map_popup/wood.png
Binary files differ
diff --git a/graphics/interface/map_popup/wood_outline.png b/graphics/interface/map_popup/wood_outline.png
new file mode 100755
index 000000000..d143dbc2f
--- /dev/null
+++ b/graphics/interface/map_popup/wood_outline.png
Binary files differ
diff --git a/graphics/interface/red_arrow.png b/graphics/interface/red_arrow.png
new file mode 100755
index 000000000..91c8268b7
--- /dev/null
+++ b/graphics/interface/red_arrow.png
Binary files differ
diff --git a/graphics/interface/red_arrow_other.png b/graphics/interface/red_arrow_other.png
new file mode 100755
index 000000000..33fcf44b9
--- /dev/null
+++ b/graphics/interface/red_arrow_other.png
Binary files differ
diff --git a/graphics/interface/select_button.png b/graphics/interface/select_button.png
new file mode 100755
index 000000000..bded587fd
--- /dev/null
+++ b/graphics/interface/select_button.png
Binary files differ
diff --git a/graphics/interface/selector_outline.png b/graphics/interface/selector_outline.png
new file mode 100755
index 000000000..d9f3e1b8d
--- /dev/null
+++ b/graphics/interface/selector_outline.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unknown_4F6D38/0.png b/graphics/map_objects/pics/effects/unknown_4F6D38/0.png
new file mode 100755
index 000000000..3ee87e1cd
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unknown_4F6D38/0.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unknown_4F7E38/0.png b/graphics/map_objects/pics/effects/unknown_4F7E38/0.png
new file mode 100755
index 000000000..685aee28b
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unknown_4F7E38/0.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unused_grass/0.png b/graphics/map_objects/pics/effects/unused_grass/0.png
new file mode 100755
index 000000000..2e16f15cb
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unused_grass/0.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unused_grass/1.png b/graphics/map_objects/pics/effects/unused_grass/1.png
new file mode 100755
index 000000000..dd33b0d88
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unused_grass/1.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unused_grass/2.png b/graphics/map_objects/pics/effects/unused_grass/2.png
new file mode 100755
index 000000000..345d454cd
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unused_grass/2.png
Binary files differ
diff --git a/graphics/map_objects/pics/effects/unused_grass/3.png b/graphics/map_objects/pics/effects/unused_grass/3.png
new file mode 100755
index 000000000..087676102
--- /dev/null
+++ b/graphics/map_objects/pics/effects/unused_grass/3.png
Binary files differ
diff --git a/graphics/misc/mon_markings.png b/graphics/misc/mon_markings.png
new file mode 100755
index 000000000..013173292
--- /dev/null
+++ b/graphics/misc/mon_markings.png
Binary files differ
diff --git a/graphics/slot_machine/85A8524.pal b/graphics/slot_machine/85A8524.pal
new file mode 100755
index 000000000..b93d15ddc
--- /dev/null
+++ b/graphics/slot_machine/85A8524.pal
@@ -0,0 +1,19 @@
+JASC-PAL
+0100
+16
+0 0 0
+255 255 255
+0 0 0
+65 65 65
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
+0 0 0
diff --git a/graphics_file_rules.mk b/graphics_file_rules.mk
index 47cc5ad7f..018f35490 100644
--- a/graphics_file_rules.mk
+++ b/graphics_file_rules.mk
@@ -18,6 +18,7 @@ SLOTMACHINEGFXDIR := graphics/slot_machine
PKNAVGFXDIR := graphics/pokenav
PKNAVOPTIONSGFXDIR := graphics/pokenav/options
PSSGFXDIR := graphics/pokemon_storage
+MAPOBJGFXDIR := graphics/map_objects
MISCGFXDIR := graphics/misc
types := normal fight flying poison ground rock bug ghost steel mystery fire water grass electric psychic ice dragon dark
@@ -630,6 +631,15 @@ $(PSSGFXDIR)/ludicolo.4bpp: $(PSSGFXDIR)/friends_frame2.4bpp $(PSSGFXDIR)/ludico
$(PSSGFXDIR)/whiscash.4bpp: $(PSSGFXDIR)/friends_frame2.4bpp $(PSSGFXDIR)/whiscash_bg.4bpp
@cat $^ >$@
+$(MAPOBJGFXDIR)/pics/effects/unknown_4F6D38/0.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 11
+
+$(INTERFACEGFXDIR)/selector_outline.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 8
+
+$(BATTRANSGFXDIR)/frontier_transition.4bpp: %.4bpp: %.png
+ $(GFX) $< $@ -num_tiles 43
+
$(PKNAVOPTIONSGFXDIR)/options.4bpp: $(PKNAVOPTIONSGFXDIR)/hoenn_map.4bpp \
$(PKNAVOPTIONSGFXDIR)/condition.4bpp \
$(PKNAVOPTIONSGFXDIR)/match_call.4bpp \
diff --git a/src/mail.c b/src/mail.c
index 68a55e242..ca3531786 100644
--- a/src/mail.c
+++ b/src/mail.c
@@ -240,30 +240,6 @@ static const struct MailLayout sUnknown_0859F458[] = {
{ 0x05, 0x09, 0x60, 0x05, 0x1e, Unknown_0859F444 }
};
-// What the heck are these meant to be? Call them u16 for now.
-
-static const u16 Unknown_0859F4E8[] = {
- 0x00, 0x4000, 0x00, 0x00
-};
-
-static const u16 Unknown_0859F4F0[] = {
- 0x00, 0x00, -1, 0x00
-};
-
-static const u16 Unknown_0859F4F8[] = {
- 0x04, 0x00, -1, 0x00
-};
-
-static const u16 Unknown_0859F500[] = {
- 0x00, 0x40, -1, 0x00
-};
-
-static const u16 *const sUnknown_0859F508[] = {
- Unknown_0859F4F0,
- Unknown_0859F4F8,
- Unknown_0859F500
-};
-
// .text
void ReadMail(struct MailStruct *mail, void (*callback)(void), bool8 flag)