From 7fa9819d9a91ea6641b966d13b5135d6a40074c9 Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Sat, 11 Nov 2023 22:51:04 +1300 Subject: [PATCH 001/278] Makefile uses make_tools, mapjson takes out dir. Removed generated files (layouts.h, map_groups.h) from git. --- Makefile | 55 ++- include/constants/.gitignore | 3 + include/constants/layouts.h | 450 ------------------------- include/constants/map_groups.h | 596 --------------------------------- make_tools.mk | 18 +- map_data_rules.mk | 30 +- tools/jsonproc/jsonproc.cpp | 2 + tools/mapjson/mapjson.cpp | 122 ++++--- 8 files changed, 131 insertions(+), 1145 deletions(-) create mode 100644 include/constants/.gitignore delete mode 100755 include/constants/layouts.h delete mode 100755 include/constants/map_groups.h diff --git a/Makefile b/Makefile index 5c073b36ca..7d92bad21c 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 endif +# Default make rule +all: rom + # don't use dkP's base_tools anymore # because the redefinition of $(CC) conflicts # with when we want to use $(CC) to preprocess files @@ -121,24 +124,21 @@ endif LDFLAGS = -Map ../../$(MAP) +AUTO_GEN_TARGETS := +include make_tools.mk SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c -GFX := tools/gbagfx/gbagfx$(EXE) -AIF := tools/aif2pcm/aif2pcm$(EXE) -MID := tools/mid2agb/mid2agb$(EXE) -SCANINC := tools/scaninc/scaninc$(EXE) -PREPROC := tools/preproc/preproc$(EXE) -RAMSCRGEN := tools/ramscrgen/ramscrgen$(EXE) -FIX := tools/gbafix/gbafix$(EXE) -MAPJSON := tools/mapjson/mapjson$(EXE) -JSONPROC := tools/jsonproc/jsonproc$(EXE) +GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) +AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) +MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) +SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) +PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) +RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) +FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) +MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) +JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) PERL := perl -# Inclusive list. If you don't want a tool to be built, don't add it here. -TOOLDIRS := tools/aif2pcm tools/bin2c tools/gbafix tools/gbagfx tools/jsonproc tools/mapjson tools/mid2agb tools/preproc tools/ramscrgen tools/rsfont tools/scaninc -TOOLBASE = $(TOOLDIRS:tools/%=%) -TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE)) - MAKEFLAGS += --no-print-directory # Clear the default suffixes @@ -151,7 +151,7 @@ MAKEFLAGS += --no-print-directory # Secondary expansion is required for dependency variables in object rules. .SECONDEXPANSION: -.PHONY: all rom clean compare tidy tools mostlyclean clean-tools $(TOOLDIRS) libagbsyscall modern tidymodern tidynonmodern +.PHONY: all rom clean compare tidy mostlyclean libagbsyscall modern tidymodern tidynonmodern infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) @@ -161,6 +161,7 @@ infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst # Since we don't need to reload most of this makefile ifeq (,$(filter-out all rom compare modern libagbsyscall syms,$(MAKECMDGOALS))) $(call infoshell, $(MAKE) -f make_tools.mk) +$(call infoshell, $(MAKE) generated) else NODEP ?= 1 endif @@ -211,17 +212,8 @@ SUBDIRS := $(sort $(dir $(OBJS))) $(shell mkdir -p $(SUBDIRS)) endif -AUTO_GEN_TARGETS := - -all: rom - -tools: $(TOOLDIRS) - syms: $(SYM) -$(TOOLDIRS): - @$(MAKE) -C $@ - rom: $(ROM) ifeq ($(COMPARE),1) @$(SHA1) rom.sha1 @@ -232,9 +224,6 @@ compare: all clean: mostlyclean clean-tools -clean-tools: - @$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);) - mostlyclean: tidynonmodern tidymodern find sound -iname '*.bin' -exec rm {} + rm -f $(MID_SUBDIR)/*.s @@ -265,6 +254,8 @@ include spritesheet_rules.mk include json_data_rules.mk include songs.mk +generated: $(AUTO_GEN_TARGETS) + %.s: ; %.png: ; %.pal: ; @@ -282,7 +273,7 @@ sound/%.bin: sound/%.aif ; $(AIF) $< $@ ifeq ($(MODERN),0) -$(C_BUILDDIR)/libc.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) +$(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/libc.o: CFLAGS := -O2 $(C_BUILDDIR)/siirtc.o: CFLAGS := -mthumb-interwork @@ -291,10 +282,10 @@ $(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork -$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) +$(C_BUILDDIR)/m4a.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding -$(C_BUILDDIR)/librfu_intr.o: CC1 := tools/agbcc/bin/agbcc_arm$(EXE) +$(C_BUILDDIR)/librfu_intr.o: CC1 := $(TOOLS_DIR)/agbcc/bin/agbcc_arm$(EXE) $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet else $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast @@ -322,7 +313,7 @@ else endif else define C_DEP -$1: $2 $$(shell $(SCANINC) -I include -I tools/agbcc/include -I gflib $2) +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) ifeq (,$$(KEEP_TEMPS)) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) $$< charmap.txt -i | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - @@ -349,7 +340,7 @@ else endif else define GFLIB_DEP -$1: $2 $$(shell $(SCANINC) -I include -I tools/agbcc/include -I gflib $2) +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) ifeq (,$$(KEEP_TEMPS)) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) $$< charmap.txt -i | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - diff --git a/include/constants/.gitignore b/include/constants/.gitignore new file mode 100644 index 0000000000..761af9db76 --- /dev/null +++ b/include/constants/.gitignore @@ -0,0 +1,3 @@ +# Will be moved to build/ eventually +map_groups.h +layouts.h \ No newline at end of file diff --git a/include/constants/layouts.h b/include/constants/layouts.h deleted file mode 100755 index db92c95942..0000000000 --- a/include/constants/layouts.h +++ /dev/null @@ -1,450 +0,0 @@ -#ifndef GUARD_CONSTANTS_LAYOUTS_H -#define GUARD_CONSTANTS_LAYOUTS_H - -// -// DO NOT MODIFY THIS FILE! It is auto-generated from data/layouts/layouts.json -// - -#define LAYOUT_PETALBURG_CITY 1 -#define LAYOUT_SLATEPORT_CITY 2 -#define LAYOUT_MAUVILLE_CITY 3 -#define LAYOUT_RUSTBORO_CITY 4 -#define LAYOUT_FORTREE_CITY 5 -#define LAYOUT_LILYCOVE_CITY 6 -#define LAYOUT_MOSSDEEP_CITY 7 -#define LAYOUT_SOOTOPOLIS_CITY 8 -#define LAYOUT_EVER_GRANDE_CITY 9 -#define LAYOUT_LITTLEROOT_TOWN 10 -#define LAYOUT_OLDALE_TOWN 11 -#define LAYOUT_DEWFORD_TOWN 12 -#define LAYOUT_LAVARIDGE_TOWN 13 -#define LAYOUT_FALLARBOR_TOWN 14 -#define LAYOUT_VERDANTURF_TOWN 15 -#define LAYOUT_PACIFIDLOG_TOWN 16 -#define LAYOUT_ROUTE101 17 -#define LAYOUT_ROUTE102 18 -#define LAYOUT_ROUTE103 19 -#define LAYOUT_ROUTE104 20 -#define LAYOUT_ROUTE105 21 -#define LAYOUT_ROUTE106 22 -#define LAYOUT_ROUTE107 23 -#define LAYOUT_ROUTE108 24 -#define LAYOUT_ROUTE109 25 -#define LAYOUT_ROUTE110 26 -#define LAYOUT_ROUTE111 27 -#define LAYOUT_ROUTE112 28 -#define LAYOUT_ROUTE113 29 -#define LAYOUT_ROUTE114 30 -#define LAYOUT_ROUTE115 31 -#define LAYOUT_ROUTE116 32 -#define LAYOUT_ROUTE117 33 -#define LAYOUT_ROUTE118 34 -#define LAYOUT_ROUTE119 35 -#define LAYOUT_ROUTE120 36 -#define LAYOUT_ROUTE121 37 -#define LAYOUT_ROUTE122 38 -#define LAYOUT_ROUTE123 39 -#define LAYOUT_ROUTE124 40 -#define LAYOUT_ROUTE125 41 -#define LAYOUT_ROUTE126 42 -#define LAYOUT_ROUTE127 43 -#define LAYOUT_ROUTE128 44 -#define LAYOUT_ROUTE129 45 -#define LAYOUT_ROUTE130_MIRAGE_ISLAND 46 -#define LAYOUT_ROUTE131 47 -#define LAYOUT_ROUTE132 48 -#define LAYOUT_ROUTE133 49 -#define LAYOUT_ROUTE134 50 -#define LAYOUT_UNDERWATER_ROUTE126 51 -#define LAYOUT_UNDERWATER_ROUTE127 52 -#define LAYOUT_UNDERWATER_ROUTE128 53 -#define LAYOUT_LITTLEROOT_TOWN_BRENDANS_HOUSE_1F 54 -#define LAYOUT_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F 55 -#define LAYOUT_LITTLEROOT_TOWN_MAYS_HOUSE_1F 56 -#define LAYOUT_LITTLEROOT_TOWN_MAYS_HOUSE_2F 57 -#define LAYOUT_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB 58 -#define LAYOUT_HOUSE1 59 -#define LAYOUT_HOUSE2 60 -#define LAYOUT_POKEMON_CENTER_1F 61 -#define LAYOUT_POKEMON_CENTER_2F 62 -#define LAYOUT_MART 63 -#define LAYOUT_HOUSE3 64 -#define LAYOUT_DEWFORD_TOWN_GYM 65 -#define LAYOUT_DEWFORD_TOWN_HALL 66 -#define LAYOUT_HOUSE4 67 -#define LAYOUT_LAVARIDGE_TOWN_HERB_SHOP 68 -#define LAYOUT_LAVARIDGE_TOWN_GYM_1F 69 -#define LAYOUT_LAVARIDGE_TOWN_GYM_B1F 70 -#define LAYOUT_LAVARIDGE_TOWN_POKEMON_CENTER_1F 71 -#define LAYOUT_FALLARBOR_TOWN_LEFTOVER_RSCONTEST_LOBBY 72 -#define LAYOUT_FALLARBOR_TOWN_LEFTOVER_RSCONTEST_HALL 73 -#define LAYOUT_LILYCOVE_CITY_HOUSE2 74 -#define LAYOUT_UNUSED_CONTEST_ROOM1 75 -#define LAYOUT_VERDANTURF_TOWN_WANDAS_HOUSE 76 -#define LAYOUT_PACIFIDLOG_TOWN_HOUSE1 77 -#define LAYOUT_PACIFIDLOG_TOWN_HOUSE2 78 -#define LAYOUT_PETALBURG_CITY_GYM 79 -#define LAYOUT_HOUSE_WITH_BED 80 -#define LAYOUT_SLATEPORT_CITY_STERNS_SHIPYARD_1F 81 -#define LAYOUT_SLATEPORT_CITY_STERNS_SHIPYARD_2F 82 -#define LAYOUT_UNUSED_CONTEST_ROOM2 83 -#define LAYOUT_UNUSED_CONTEST_ROOM3 84 -#define LAYOUT_SLATEPORT_CITY_POKEMON_FAN_CLUB 85 -#define LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_1F 86 -#define LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_2F 87 -#define LAYOUT_HARBOR 88 -#define LAYOUT_MAUVILLE_CITY_GYM 89 -#define LAYOUT_MAUVILLE_CITY_BIKE_SHOP 90 -#define LAYOUT_MAUVILLE_CITY_GAME_CORNER 91 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_1F 92 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_2F 93 -#define LAYOUT_RUSTBORO_CITY_GYM 94 -#define LAYOUT_RUSTBORO_CITY_POKEMON_SCHOOL 95 -#define LAYOUT_RUSTBORO_CITY_HOUSE 96 -#define LAYOUT_RUSTBORO_CITY_HOUSE1 97 -#define LAYOUT_RUSTBORO_CITY_CUTTERS_HOUSE 98 -#define LAYOUT_FORTREE_CITY_HOUSE1 99 -#define LAYOUT_FORTREE_CITY_GYM 100 -#define LAYOUT_FORTREE_CITY_HOUSE2 101 -#define LAYOUT_ROUTE104_MR_BRINEYS_HOUSE 102 -#define LAYOUT_LILYCOVE_CITY_LILYCOVE_MUSEUM_1F 103 -#define LAYOUT_LILYCOVE_CITY_LILYCOVE_MUSEUM_2F 104 -#define LAYOUT_LILYCOVE_CITY_CONTEST_LOBBY 105 -#define LAYOUT_LILYCOVE_CITY_CONTEST_HALL 106 -#define LAYOUT_LILYCOVE_CITY_POKEMON_TRAINER_FAN_CLUB 107 -#define LAYOUT_MOSSDEEP_CITY_GYM 108 -#define LAYOUT_SOOTOPOLIS_CITY_GYM_1F 109 -#define LAYOUT_SOOTOPOLIS_CITY_GYM_B1F 110 -#define LAYOUT_EVER_GRANDE_CITY_SIDNEYS_ROOM 111 -#define LAYOUT_EVER_GRANDE_CITY_PHOEBES_ROOM 112 -#define LAYOUT_EVER_GRANDE_CITY_GLACIAS_ROOM 113 -#define LAYOUT_EVER_GRANDE_CITY_DRAKES_ROOM 114 -#define LAYOUT_EVER_GRANDE_CITY_CHAMPIONS_ROOM 115 -#define LAYOUT_EVER_GRANDE_CITY_SHORT_HALL 116 -#define LAYOUT_ROUTE104_PRETTY_PETAL_FLOWER_SHOP 117 -#define LAYOUT_CABLE_CAR_STATION 118 -#define LAYOUT_ROUTE114_FOSSIL_MANIACS_HOUSE 119 -#define LAYOUT_ROUTE114_FOSSIL_MANIACS_TUNNEL 120 -#define LAYOUT_ROUTE114_LANETTES_HOUSE 121 -#define LAYOUT_ROUTE116_TUNNELERS_REST_HOUSE 122 -#define LAYOUT_ROUTE117_POKEMON_DAY_CARE 123 -#define LAYOUT_ROUTE121_SAFARI_ZONE_ENTRANCE 124 -#define LAYOUT_METEOR_FALLS_1F_1R 125 -#define LAYOUT_METEOR_FALLS_1F_2R 126 -#define LAYOUT_METEOR_FALLS_B1F_1R 127 -#define LAYOUT_METEOR_FALLS_B1F_2R 128 -#define LAYOUT_RUSTURF_TUNNEL 129 -#define LAYOUT_UNDERWATER_SOOTOPOLIS_CITY 130 -#define LAYOUT_DESERT_RUINS 131 -#define LAYOUT_GRANITE_CAVE_1F 132 -#define LAYOUT_GRANITE_CAVE_B1F 133 -#define LAYOUT_GRANITE_CAVE_B2F 134 -#define LAYOUT_PETALBURG_WOODS 135 -#define LAYOUT_MT_CHIMNEY 136 -#define LAYOUT_MT_PYRE_1F 137 -#define LAYOUT_MT_PYRE_2F 138 -#define LAYOUT_MT_PYRE_3F 139 -#define LAYOUT_MT_PYRE_4F 140 -#define LAYOUT_MT_PYRE_5F 141 -#define LAYOUT_MT_PYRE_6F 142 -#define LAYOUT_AQUA_HIDEOUT_1F 143 -#define LAYOUT_AQUA_HIDEOUT_B1F 144 -#define LAYOUT_AQUA_HIDEOUT_B2F 145 -#define LAYOUT_UNDERWATER_SEAFLOOR_CAVERN 146 -#define LAYOUT_SEAFLOOR_CAVERN_ENTRANCE 147 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM1 148 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM2 149 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM3 150 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM4 151 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM5 152 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM6 153 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM7 154 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM8 155 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM9 156 -#define LAYOUT_CAVE_OF_ORIGIN_ENTRANCE 157 -#define LAYOUT_CAVE_OF_ORIGIN_1F 158 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1 159 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2 160 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3 161 -#define LAYOUT_CAVE_OF_ORIGIN_B1F 162 -#define LAYOUT_VICTORY_ROAD_1F 163 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM 164 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_INNER_ROOM 165 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM 166 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_LOWER_ROOM 167 -#define LAYOUT_SHOAL_CAVE_HIGH_TIDE_ENTRANCE_ROOM 168 -#define LAYOUT_SHOAL_CAVE_HIGH_TIDE_INNER_ROOM 169 -#define LAYOUT_UNUSED_CAVE1 170 -#define LAYOUT_UNUSED_CAVE2 171 -#define LAYOUT_UNUSED_CAVE3 172 -#define LAYOUT_UNUSED_CAVE4 173 -#define LAYOUT_UNUSED_CAVE5 174 -#define LAYOUT_UNUSED_CAVE6 175 -#define LAYOUT_UNUSED_CAVE7 176 -#define LAYOUT_UNUSED_CAVE8 177 -#define LAYOUT_UNUSED_CAVE9 178 -#define LAYOUT_UNUSED_CAVE10 179 -#define LAYOUT_UNUSED_CAVE11 180 -#define LAYOUT_UNUSED_CAVE12 181 -#define LAYOUT_UNUSED_CAVE13 182 -#define LAYOUT_UNUSED_CAVE14 183 -#define LAYOUT_NEW_MAUVILLE_ENTRANCE 184 -#define LAYOUT_NEW_MAUVILLE_INSIDE 185 -#define LAYOUT_ABANDONED_SHIP_DECK 186 -#define LAYOUT_ABANDONED_SHIP_CORRIDORS_1F 187 -#define LAYOUT_ABANDONED_SHIP_ROOMS_1F 188 -#define LAYOUT_ABANDONED_SHIP_CORRIDORS_B1F 189 -#define LAYOUT_ABANDONED_SHIP_ROOMS_B1F 190 -#define LAYOUT_ABANDONED_SHIP_ROOMS2_B1F 191 -#define LAYOUT_ABANDONED_SHIP_UNDERWATER1 192 -#define LAYOUT_ABANDONED_SHIP_ROOM_B1F 193 -#define LAYOUT_ABANDONED_SHIP_ROOMS2_1F 194 -#define LAYOUT_ABANDONED_SHIP_CAPTAINS_OFFICE 195 -#define LAYOUT_ABANDONED_SHIP_UNDERWATER2 196 -#define LAYOUT_SECRET_BASE_RED_CAVE1 197 -#define LAYOUT_SECRET_BASE_BROWN_CAVE1 198 -#define LAYOUT_SECRET_BASE_BLUE_CAVE1 199 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE1 200 -#define LAYOUT_SECRET_BASE_TREE1 201 -#define LAYOUT_SECRET_BASE_SHRUB1 202 -#define LAYOUT_SECRET_BASE_RED_CAVE2 203 -#define LAYOUT_SECRET_BASE_BROWN_CAVE2 204 -#define LAYOUT_SECRET_BASE_BLUE_CAVE2 205 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE2 206 -#define LAYOUT_SECRET_BASE_TREE2 207 -#define LAYOUT_SECRET_BASE_SHRUB2 208 -#define LAYOUT_SECRET_BASE_RED_CAVE3 209 -#define LAYOUT_SECRET_BASE_BROWN_CAVE3 210 -#define LAYOUT_SECRET_BASE_BLUE_CAVE3 211 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE3 212 -#define LAYOUT_SECRET_BASE_TREE3 213 -#define LAYOUT_SECRET_BASE_SHRUB3 214 -#define LAYOUT_SECRET_BASE_RED_CAVE4 215 -#define LAYOUT_SECRET_BASE_BROWN_CAVE4 216 -#define LAYOUT_SECRET_BASE_BLUE_CAVE4 217 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE4 218 -#define LAYOUT_SECRET_BASE_TREE4 219 -#define LAYOUT_SECRET_BASE_SHRUB4 220 -#define LAYOUT_BATTLE_COLOSSEUM_2P 221 -#define LAYOUT_TRADE_CENTER 222 -#define LAYOUT_RECORD_CORNER 223 -#define LAYOUT_BATTLE_COLOSSEUM_4P 224 -#define LAYOUT_CONTEST_HALL 225 -#define LAYOUT_UNUSED_CONTEST_HALL1 226 -#define LAYOUT_UNUSED_CONTEST_HALL2 227 -#define LAYOUT_UNUSED_CONTEST_HALL3 228 -#define LAYOUT_UNUSED_CONTEST_HALL4 229 -#define LAYOUT_UNUSED_CONTEST_HALL5 230 -#define LAYOUT_UNUSED_CONTEST_HALL6 231 -#define LAYOUT_CONTEST_HALL_BEAUTY 232 -#define LAYOUT_CONTEST_HALL_TOUGH 233 -#define LAYOUT_CONTEST_HALL_COOL 234 -#define LAYOUT_CONTEST_HALL_SMART 235 -#define LAYOUT_CONTEST_HALL_CUTE 236 -#define LAYOUT_INSIDE_OF_TRUCK 237 -#define LAYOUT_SAFARI_ZONE_NORTHWEST 238 -#define LAYOUT_SAFARI_ZONE_NORTH 239 -#define LAYOUT_SAFARI_ZONE_SOUTHWEST 240 -#define LAYOUT_SAFARI_ZONE_SOUTH 241 -#define LAYOUT_UNUSED_OUTDOOR_AREA 242 -#define LAYOUT_ROUTE109_SEASHORE_HOUSE 243 -#define LAYOUT_ROUTE110_TRICK_HOUSE_ENTRANCE 244 -#define LAYOUT_ROUTE110_TRICK_HOUSE_END 245 -#define LAYOUT_ROUTE110_TRICK_HOUSE_CORRIDOR 246 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE1 247 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE2 248 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE3 249 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE4 250 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE5 251 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE6 252 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE7 253 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE8 254 -#define LAYOUT_FORTREE_CITY_DECORATION_SHOP 255 -#define LAYOUT_ROUTE110_SEASIDE_CYCLING_ROAD_ENTRANCE 256 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_1F 257 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_2F 258 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_3F 259 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_4F 260 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_5F 261 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_ROOFTOP 262 -#define LAYOUT_ROUTE130 263 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY 264 -#define LAYOUT_BATTLE_FRONTIER_OUTSIDE_WEST 265 -#define LAYOUT_BATTLE_ELEVATOR 266 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR 267 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM 268 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_3F 269 -#define LAYOUT_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F 270 -#define LAYOUT_ROUTE119_WEATHER_INSTITUTE_1F 271 -#define LAYOUT_ROUTE119_WEATHER_INSTITUTE_2F 272 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR 273 -#define LAYOUT_UNDERWATER_ROUTE124 274 -#define LAYOUT_MOSSDEEP_CITY_SPACE_CENTER_1F 275 -#define LAYOUT_MOSSDEEP_CITY_SPACE_CENTER_2F 276 -#define LAYOUT_SS_TIDAL_CORRIDOR 277 -#define LAYOUT_SS_TIDAL_LOWER_DECK 278 -#define LAYOUT_SS_TIDAL_ROOMS 279 -#define LAYOUT_ISLAND_CAVE 280 -#define LAYOUT_ANCIENT_TOMB 281 -#define LAYOUT_UNDERWATER_ROUTE134 282 -#define LAYOUT_UNDERWATER_SEALED_CHAMBER 283 -#define LAYOUT_SEALED_CHAMBER_OUTER_ROOM 284 -#define LAYOUT_VICTORY_ROAD_B1F 285 -#define LAYOUT_VICTORY_ROAD_B2F 286 -#define LAYOUT_ROUTE104_PROTOTYPE 287 -#define LAYOUT_GRANITE_CAVE_STEVENS_ROOM 288 -#define LAYOUT_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS 289 -#define LAYOUT_SOUTHERN_ISLAND_EXTERIOR 290 -#define LAYOUT_SOUTHERN_ISLAND_INTERIOR 291 -#define LAYOUT_JAGGED_PASS 292 -#define LAYOUT_FIERY_PATH 293 -#define LAYOUT_RUSTBORO_CITY_FLAT2_1F 294 -#define LAYOUT_RUSTBORO_CITY_FLAT2_2F 295 -#define LAYOUT_RUSTBORO_CITY_FLAT2_3F 296 -#define LAYOUT_SOOTOPOLIS_CITY_LOTAD_AND_SEEDOT_HOUSE 297 -#define LAYOUT_EVER_GRANDE_CITY_HALL_OF_FAME 298 -#define LAYOUT_LILYCOVE_CITY_COVE_LILY_MOTEL_1F 299 -#define LAYOUT_LILYCOVE_CITY_COVE_LILY_MOTEL_2F 300 -#define LAYOUT_ROUTE124_DIVING_TREASURE_HUNTERS_HOUSE 301 -#define LAYOUT_MT_PYRE_EXTERIOR 302 -#define LAYOUT_MT_PYRE_SUMMIT 303 -#define LAYOUT_SEALED_CHAMBER_INNER_ROOM 304 -#define LAYOUT_MOSSDEEP_CITY_GAME_CORNER_1F 305 -#define LAYOUT_MOSSDEEP_CITY_GAME_CORNER_B1F 306 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE1 307 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE2 308 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE3 309 -#define LAYOUT_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS 310 -#define LAYOUT_SCORCHED_SLAB 311 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_B4F_LAVA 312 -#define LAYOUT_RUSTBORO_CITY_FLAT1_1F 313 -#define LAYOUT_RUSTBORO_CITY_FLAT1_2F 314 -#define LAYOUT_EVER_GRANDE_CITY_HALL4 315 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP1 316 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP2 317 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP3 318 -#define LAYOUT_ROUTE131_SKY_PILLAR 319 -#define LAYOUT_SKY_PILLAR_ENTRANCE 320 -#define LAYOUT_SKY_PILLAR_OUTSIDE 321 -#define LAYOUT_SKY_PILLAR_1F 322 -#define LAYOUT_SKY_PILLAR_2F 323 -#define LAYOUT_SKY_PILLAR_3F 324 -#define LAYOUT_SKY_PILLAR_4F 325 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM9_LAVA 326 -#define LAYOUT_MOSSDEEP_CITY_STEVENS_HOUSE 327 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_ICE_ROOM 328 -#define LAYOUT_SAFARI_ZONE_REST_HOUSE 329 -#define LAYOUT_SKY_PILLAR_5F 330 -#define LAYOUT_SKY_PILLAR_TOP 331 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_LOBBY 332 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR 333 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM 334 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM 335 -#define LAYOUT_MAGMA_HIDEOUT_1F 336 -#define LAYOUT_MAGMA_HIDEOUT_2F_1R 337 -#define LAYOUT_MAGMA_HIDEOUT_2F_2R 338 -#define LAYOUT_MAGMA_HIDEOUT_3F_1R 339 -#define LAYOUT_MAGMA_HIDEOUT_3F_2R 340 -#define LAYOUT_MAGMA_HIDEOUT_4F 341 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY 342 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR 343 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM 344 -#define LAYOUT_BATTLE_FRONTIER_OUTSIDE_EAST 345 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY 346 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM 347 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM 348 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY 349 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR 350 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM 351 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL 352 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_FINAL 353 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY 354 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR 355 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM 356 -#define LAYOUT_SOOTOPOLIS_CITY_LEGENDS_BATTLE 357 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_WILD_MONS 358 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_UNUSED 359 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY 360 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR 361 -#define LAYOUT_BATTLE_PYRAMID_SQUARE01 362 -#define LAYOUT_BATTLE_PYRAMID_SQUARE02 363 -#define LAYOUT_BATTLE_PYRAMID_SQUARE03 364 -#define LAYOUT_BATTLE_PYRAMID_SQUARE04 365 -#define LAYOUT_BATTLE_PYRAMID_SQUARE05 366 -#define LAYOUT_BATTLE_PYRAMID_SQUARE06 367 -#define LAYOUT_BATTLE_PYRAMID_SQUARE07 368 -#define LAYOUT_BATTLE_PYRAMID_SQUARE08 369 -#define LAYOUT_BATTLE_PYRAMID_SQUARE09 370 -#define LAYOUT_BATTLE_PYRAMID_SQUARE10 371 -#define LAYOUT_BATTLE_PYRAMID_SQUARE11 372 -#define LAYOUT_BATTLE_PYRAMID_SQUARE12 373 -#define LAYOUT_BATTLE_PYRAMID_SQUARE13 374 -#define LAYOUT_BATTLE_PYRAMID_SQUARE14 375 -#define LAYOUT_BATTLE_PYRAMID_SQUARE15 376 -#define LAYOUT_BATTLE_PYRAMID_SQUARE16 377 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP 378 -#define LAYOUT_MAGMA_HIDEOUT_3F_3R 379 -#define LAYOUT_MAGMA_HIDEOUT_2F_3R 380 -#define LAYOUT_MIRAGE_TOWER_1F 381 -#define LAYOUT_MIRAGE_TOWER_2F 382 -#define LAYOUT_MIRAGE_TOWER_3F 383 -#define LAYOUT_BATTLE_TENT_LOBBY 384 -#define LAYOUT_BATTLE_TENT_CORRIDOR 385 -#define LAYOUT_BATTLE_TENT_BATTLE_ROOM 386 -#define LAYOUT_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM 387 -#define LAYOUT_MIRAGE_TOWER_4F 388 -#define LAYOUT_DESERT_UNDERPASS 389 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM 390 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR 391 -#define LAYOUT_ROUTE111_NO_MIRAGE_TOWER 392 -#define LAYOUT_UNION_ROOM 393 -#define LAYOUT_SAFARI_ZONE_NORTHEAST 394 -#define LAYOUT_SAFARI_ZONE_SOUTHEAST 395 -#define LAYOUT_BATTLE_FRONTIER_RANKING_HALL 396 -#define LAYOUT_BATTLE_FRONTIER_LOUNGE1 397 -#define LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER 398 -#define LAYOUT_BATTLE_FRONTIER_RECEPTION_GATE 399 -#define LAYOUT_ARTISAN_CAVE_B1F 400 -#define LAYOUT_ARTISAN_CAVE_1F 401 -#define LAYOUT_FARAWAY_ISLAND_ENTRANCE 402 -#define LAYOUT_FARAWAY_ISLAND_INTERIOR 403 -#define LAYOUT_BIRTH_ISLAND_EXTERIOR 404 -#define LAYOUT_ISLAND_HARBOR 405 -#define LAYOUT_UNDERWATER_MARINE_CAVE 406 -#define LAYOUT_MARINE_CAVE_ENTRANCE 407 -#define LAYOUT_TERRA_CAVE_ENTRANCE 408 -#define LAYOUT_TERRA_CAVE_END 409 -#define LAYOUT_UNDERWATER_ROUTE105 410 -#define LAYOUT_UNDERWATER_ROUTE125 411 -#define LAYOUT_UNDERWATER_ROUTE129 412 -#define LAYOUT_MARINE_CAVE_END 413 -#define LAYOUT_TRAINER_HILL_ENTRANCE 414 -#define LAYOUT_TRAINER_HILL_1F 415 -#define LAYOUT_TRAINER_HILL_2F 416 -#define LAYOUT_TRAINER_HILL_3F 417 -#define LAYOUT_TRAINER_HILL_4F 418 -#define LAYOUT_TRAINER_HILL_ROOF 419 -#define LAYOUT_ALTERING_CAVE 420 -#define LAYOUT_NAVEL_ROCK_EXTERIOR 421 -#define LAYOUT_NAVEL_ROCK_ENTRANCE 422 -#define LAYOUT_NAVEL_ROCK_TOP 423 -#define LAYOUT_NAVEL_ROCK_BOTTOM 424 -#define LAYOUT_NAVEL_ROCK_LADDER_ROOM1 425 -#define LAYOUT_NAVEL_ROCK_LADDER_ROOM2 426 -#define LAYOUT_NAVEL_ROCK_B1F 427 -#define LAYOUT_NAVEL_ROCK_FORK 428 -#define LAYOUT_BATTLE_FRONTIER_LOUNGE2 429 -#define LAYOUT_BATTLE_FRONTIER_SCOTTS_HOUSE 430 -#define LAYOUT_METEOR_FALLS_STEVENS_CAVE 431 -#define LAYOUT_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB_WITH_TABLE 432 -#define LAYOUT_SKY_PILLAR_1F_CLEAN 433 -#define LAYOUT_SKY_PILLAR_2F_CLEAN 434 -#define LAYOUT_SKY_PILLAR_3F_CLEAN 435 -#define LAYOUT_SKY_PILLAR_4F_CLEAN 436 -#define LAYOUT_SKY_PILLAR_5F_CLEAN 437 -#define LAYOUT_SKY_PILLAR_TOP_CLEAN 438 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F 439 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_B1F 440 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F_STAIRS_UNBLOCKED 441 - -#endif // GUARD_CONSTANTS_LAYOUTS_H diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h deleted file mode 100755 index eaf40a525d..0000000000 --- a/include/constants/map_groups.h +++ /dev/null @@ -1,596 +0,0 @@ -#ifndef GUARD_CONSTANTS_MAP_GROUPS_H -#define GUARD_CONSTANTS_MAP_GROUPS_H - -// -// DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json -// - -// gMapGroup_TownsAndRoutes -#define MAP_PETALBURG_CITY (0 | (0 << 8)) -#define MAP_SLATEPORT_CITY (1 | (0 << 8)) -#define MAP_MAUVILLE_CITY (2 | (0 << 8)) -#define MAP_RUSTBORO_CITY (3 | (0 << 8)) -#define MAP_FORTREE_CITY (4 | (0 << 8)) -#define MAP_LILYCOVE_CITY (5 | (0 << 8)) -#define MAP_MOSSDEEP_CITY (6 | (0 << 8)) -#define MAP_SOOTOPOLIS_CITY (7 | (0 << 8)) -#define MAP_EVER_GRANDE_CITY (8 | (0 << 8)) -#define MAP_LITTLEROOT_TOWN (9 | (0 << 8)) -#define MAP_OLDALE_TOWN (10 | (0 << 8)) -#define MAP_DEWFORD_TOWN (11 | (0 << 8)) -#define MAP_LAVARIDGE_TOWN (12 | (0 << 8)) -#define MAP_FALLARBOR_TOWN (13 | (0 << 8)) -#define MAP_VERDANTURF_TOWN (14 | (0 << 8)) -#define MAP_PACIFIDLOG_TOWN (15 | (0 << 8)) -#define MAP_ROUTE101 (16 | (0 << 8)) -#define MAP_ROUTE102 (17 | (0 << 8)) -#define MAP_ROUTE103 (18 | (0 << 8)) -#define MAP_ROUTE104 (19 | (0 << 8)) -#define MAP_ROUTE105 (20 | (0 << 8)) -#define MAP_ROUTE106 (21 | (0 << 8)) -#define MAP_ROUTE107 (22 | (0 << 8)) -#define MAP_ROUTE108 (23 | (0 << 8)) -#define MAP_ROUTE109 (24 | (0 << 8)) -#define MAP_ROUTE110 (25 | (0 << 8)) -#define MAP_ROUTE111 (26 | (0 << 8)) -#define MAP_ROUTE112 (27 | (0 << 8)) -#define MAP_ROUTE113 (28 | (0 << 8)) -#define MAP_ROUTE114 (29 | (0 << 8)) -#define MAP_ROUTE115 (30 | (0 << 8)) -#define MAP_ROUTE116 (31 | (0 << 8)) -#define MAP_ROUTE117 (32 | (0 << 8)) -#define MAP_ROUTE118 (33 | (0 << 8)) -#define MAP_ROUTE119 (34 | (0 << 8)) -#define MAP_ROUTE120 (35 | (0 << 8)) -#define MAP_ROUTE121 (36 | (0 << 8)) -#define MAP_ROUTE122 (37 | (0 << 8)) -#define MAP_ROUTE123 (38 | (0 << 8)) -#define MAP_ROUTE124 (39 | (0 << 8)) -#define MAP_ROUTE125 (40 | (0 << 8)) -#define MAP_ROUTE126 (41 | (0 << 8)) -#define MAP_ROUTE127 (42 | (0 << 8)) -#define MAP_ROUTE128 (43 | (0 << 8)) -#define MAP_ROUTE129 (44 | (0 << 8)) -#define MAP_ROUTE130 (45 | (0 << 8)) -#define MAP_ROUTE131 (46 | (0 << 8)) -#define MAP_ROUTE132 (47 | (0 << 8)) -#define MAP_ROUTE133 (48 | (0 << 8)) -#define MAP_ROUTE134 (49 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE124 (50 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE126 (51 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE127 (52 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE128 (53 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE129 (54 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE105 (55 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE125 (56 | (0 << 8)) - -// gMapGroup_IndoorLittleroot -#define MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_1F (0 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F (1 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_MAYS_HOUSE_1F (2 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F (3 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB (4 | (1 << 8)) - -// gMapGroup_IndoorOldale -#define MAP_OLDALE_TOWN_HOUSE1 (0 | (2 << 8)) -#define MAP_OLDALE_TOWN_HOUSE2 (1 | (2 << 8)) -#define MAP_OLDALE_TOWN_POKEMON_CENTER_1F (2 | (2 << 8)) -#define MAP_OLDALE_TOWN_POKEMON_CENTER_2F (3 | (2 << 8)) -#define MAP_OLDALE_TOWN_MART (4 | (2 << 8)) - -// gMapGroup_IndoorDewford -#define MAP_DEWFORD_TOWN_HOUSE1 (0 | (3 << 8)) -#define MAP_DEWFORD_TOWN_POKEMON_CENTER_1F (1 | (3 << 8)) -#define MAP_DEWFORD_TOWN_POKEMON_CENTER_2F (2 | (3 << 8)) -#define MAP_DEWFORD_TOWN_GYM (3 | (3 << 8)) -#define MAP_DEWFORD_TOWN_HALL (4 | (3 << 8)) -#define MAP_DEWFORD_TOWN_HOUSE2 (5 | (3 << 8)) - -// gMapGroup_IndoorLavaridge -#define MAP_LAVARIDGE_TOWN_HERB_SHOP (0 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_GYM_1F (1 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_GYM_B1F (2 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_HOUSE (3 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_MART (4 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_POKEMON_CENTER_1F (5 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_POKEMON_CENTER_2F (6 | (4 << 8)) - -// gMapGroup_IndoorFallarbor -#define MAP_FALLARBOR_TOWN_MART (0 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_LOBBY (1 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_CORRIDOR (2 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM (3 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_POKEMON_CENTER_1F (4 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_POKEMON_CENTER_2F (5 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_COZMOS_HOUSE (6 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_MOVE_RELEARNERS_HOUSE (7 | (5 << 8)) - -// gMapGroup_IndoorVerdanturf -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_LOBBY (0 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_CORRIDOR (1 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM (2 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_MART (3 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_POKEMON_CENTER_1F (4 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_POKEMON_CENTER_2F (5 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_WANDAS_HOUSE (6 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_FRIENDSHIP_RATERS_HOUSE (7 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_HOUSE (8 | (6 << 8)) - -// gMapGroup_IndoorPacifidlog -#define MAP_PACIFIDLOG_TOWN_POKEMON_CENTER_1F (0 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_POKEMON_CENTER_2F (1 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE1 (2 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE2 (3 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE3 (4 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE4 (5 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE5 (6 | (7 << 8)) - -// gMapGroup_IndoorPetalburg -#define MAP_PETALBURG_CITY_WALLYS_HOUSE (0 | (8 << 8)) -#define MAP_PETALBURG_CITY_GYM (1 | (8 << 8)) -#define MAP_PETALBURG_CITY_HOUSE1 (2 | (8 << 8)) -#define MAP_PETALBURG_CITY_HOUSE2 (3 | (8 << 8)) -#define MAP_PETALBURG_CITY_POKEMON_CENTER_1F (4 | (8 << 8)) -#define MAP_PETALBURG_CITY_POKEMON_CENTER_2F (5 | (8 << 8)) -#define MAP_PETALBURG_CITY_MART (6 | (8 << 8)) - -// gMapGroup_IndoorSlateport -#define MAP_SLATEPORT_CITY_STERNS_SHIPYARD_1F (0 | (9 << 8)) -#define MAP_SLATEPORT_CITY_STERNS_SHIPYARD_2F (1 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY (2 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR (3 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_BATTLE_ROOM (4 | (9 << 8)) -#define MAP_SLATEPORT_CITY_NAME_RATERS_HOUSE (5 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_FAN_CLUB (6 | (9 << 8)) -#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F (7 | (9 << 8)) -#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_2F (8 | (9 << 8)) -#define MAP_SLATEPORT_CITY_HARBOR (9 | (9 << 8)) -#define MAP_SLATEPORT_CITY_HOUSE (10 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_CENTER_1F (11 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_CENTER_2F (12 | (9 << 8)) -#define MAP_SLATEPORT_CITY_MART (13 | (9 << 8)) - -// gMapGroup_IndoorMauville -#define MAP_MAUVILLE_CITY_GYM (0 | (10 << 8)) -#define MAP_MAUVILLE_CITY_BIKE_SHOP (1 | (10 << 8)) -#define MAP_MAUVILLE_CITY_HOUSE1 (2 | (10 << 8)) -#define MAP_MAUVILLE_CITY_GAME_CORNER (3 | (10 << 8)) -#define MAP_MAUVILLE_CITY_HOUSE2 (4 | (10 << 8)) -#define MAP_MAUVILLE_CITY_POKEMON_CENTER_1F (5 | (10 << 8)) -#define MAP_MAUVILLE_CITY_POKEMON_CENTER_2F (6 | (10 << 8)) -#define MAP_MAUVILLE_CITY_MART (7 | (10 << 8)) - -// gMapGroup_IndoorRustboro -#define MAP_RUSTBORO_CITY_DEVON_CORP_1F (0 | (11 << 8)) -#define MAP_RUSTBORO_CITY_DEVON_CORP_2F (1 | (11 << 8)) -#define MAP_RUSTBORO_CITY_DEVON_CORP_3F (2 | (11 << 8)) -#define MAP_RUSTBORO_CITY_GYM (3 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_SCHOOL (4 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_CENTER_1F (5 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_CENTER_2F (6 | (11 << 8)) -#define MAP_RUSTBORO_CITY_MART (7 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT1_1F (8 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT1_2F (9 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE1 (10 | (11 << 8)) -#define MAP_RUSTBORO_CITY_CUTTERS_HOUSE (11 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE2 (12 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_1F (13 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_2F (14 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_3F (15 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE3 (16 | (11 << 8)) - -// gMapGroup_IndoorFortree -#define MAP_FORTREE_CITY_HOUSE1 (0 | (12 << 8)) -#define MAP_FORTREE_CITY_GYM (1 | (12 << 8)) -#define MAP_FORTREE_CITY_POKEMON_CENTER_1F (2 | (12 << 8)) -#define MAP_FORTREE_CITY_POKEMON_CENTER_2F (3 | (12 << 8)) -#define MAP_FORTREE_CITY_MART (4 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE2 (5 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE3 (6 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE4 (7 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE5 (8 | (12 << 8)) -#define MAP_FORTREE_CITY_DECORATION_SHOP (9 | (12 << 8)) - -// gMapGroup_IndoorLilycove -#define MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_1F (0 | (13 << 8)) -#define MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_2F (1 | (13 << 8)) -#define MAP_LILYCOVE_CITY_LILYCOVE_MUSEUM_1F (2 | (13 << 8)) -#define MAP_LILYCOVE_CITY_LILYCOVE_MUSEUM_2F (3 | (13 << 8)) -#define MAP_LILYCOVE_CITY_CONTEST_LOBBY (4 | (13 << 8)) -#define MAP_LILYCOVE_CITY_CONTEST_HALL (5 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_CENTER_1F (6 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_CENTER_2F (7 | (13 << 8)) -#define MAP_LILYCOVE_CITY_UNUSED_MART (8 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_TRAINER_FAN_CLUB (9 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HARBOR (10 | (13 << 8)) -#define MAP_LILYCOVE_CITY_MOVE_DELETERS_HOUSE (11 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE1 (12 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE2 (13 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE3 (14 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE4 (15 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F (16 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F (17 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F (18 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F (19 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F (20 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ROOFTOP (21 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR (22 | (13 << 8)) - -// gMapGroup_IndoorMossdeep -#define MAP_MOSSDEEP_CITY_GYM (0 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE1 (1 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE2 (2 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_POKEMON_CENTER_1F (3 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_POKEMON_CENTER_2F (4 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_MART (5 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE3 (6 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_STEVENS_HOUSE (7 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE4 (8 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_SPACE_CENTER_1F (9 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_SPACE_CENTER_2F (10 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_GAME_CORNER_1F (11 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_GAME_CORNER_B1F (12 | (14 << 8)) - -// gMapGroup_IndoorSootopolis -#define MAP_SOOTOPOLIS_CITY_GYM_1F (0 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_GYM_B1F (1 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_1F (2 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_2F (3 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MART (4 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE1 (5 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE2 (6 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE3 (7 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE4 (8 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE5 (9 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE6 (10 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE7 (11 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_LOTAD_AND_SEEDOT_HOUSE (12 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F (13 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_B1F (14 | (15 << 8)) - -// gMapGroup_IndoorEverGrande -#define MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM (0 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_PHOEBES_ROOM (1 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_GLACIAS_ROOM (2 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_DRAKES_ROOM (3 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM (4 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL1 (5 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL2 (6 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL3 (7 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL4 (8 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL5 (9 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F (10 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL_OF_FAME (11 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F (12 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_CENTER_2F (13 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_2F (14 | (16 << 8)) - -// gMapGroup_IndoorRoute104 -#define MAP_ROUTE104_MR_BRINEYS_HOUSE (0 | (17 << 8)) -#define MAP_ROUTE104_PRETTY_PETAL_FLOWER_SHOP (1 | (17 << 8)) - -// gMapGroup_IndoorRoute111 -#define MAP_ROUTE111_WINSTRATE_FAMILYS_HOUSE (0 | (18 << 8)) -#define MAP_ROUTE111_OLD_LADYS_REST_STOP (1 | (18 << 8)) - -// gMapGroup_IndoorRoute112 -#define MAP_ROUTE112_CABLE_CAR_STATION (0 | (19 << 8)) -#define MAP_MT_CHIMNEY_CABLE_CAR_STATION (1 | (19 << 8)) - -// gMapGroup_IndoorRoute114 -#define MAP_ROUTE114_FOSSIL_MANIACS_HOUSE (0 | (20 << 8)) -#define MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL (1 | (20 << 8)) -#define MAP_ROUTE114_LANETTES_HOUSE (2 | (20 << 8)) - -// gMapGroup_IndoorRoute116 -#define MAP_ROUTE116_TUNNELERS_REST_HOUSE (0 | (21 << 8)) - -// gMapGroup_IndoorRoute117 -#define MAP_ROUTE117_POKEMON_DAY_CARE (0 | (22 << 8)) - -// gMapGroup_IndoorRoute121 -#define MAP_ROUTE121_SAFARI_ZONE_ENTRANCE (0 | (23 << 8)) - -// gMapGroup_Dungeons -#define MAP_METEOR_FALLS_1F_1R (0 | (24 << 8)) -#define MAP_METEOR_FALLS_1F_2R (1 | (24 << 8)) -#define MAP_METEOR_FALLS_B1F_1R (2 | (24 << 8)) -#define MAP_METEOR_FALLS_B1F_2R (3 | (24 << 8)) -#define MAP_RUSTURF_TUNNEL (4 | (24 << 8)) -#define MAP_UNDERWATER_SOOTOPOLIS_CITY (5 | (24 << 8)) -#define MAP_DESERT_RUINS (6 | (24 << 8)) -#define MAP_GRANITE_CAVE_1F (7 | (24 << 8)) -#define MAP_GRANITE_CAVE_B1F (8 | (24 << 8)) -#define MAP_GRANITE_CAVE_B2F (9 | (24 << 8)) -#define MAP_GRANITE_CAVE_STEVENS_ROOM (10 | (24 << 8)) -#define MAP_PETALBURG_WOODS (11 | (24 << 8)) -#define MAP_MT_CHIMNEY (12 | (24 << 8)) -#define MAP_JAGGED_PASS (13 | (24 << 8)) -#define MAP_FIERY_PATH (14 | (24 << 8)) -#define MAP_MT_PYRE_1F (15 | (24 << 8)) -#define MAP_MT_PYRE_2F (16 | (24 << 8)) -#define MAP_MT_PYRE_3F (17 | (24 << 8)) -#define MAP_MT_PYRE_4F (18 | (24 << 8)) -#define MAP_MT_PYRE_5F (19 | (24 << 8)) -#define MAP_MT_PYRE_6F (20 | (24 << 8)) -#define MAP_MT_PYRE_EXTERIOR (21 | (24 << 8)) -#define MAP_MT_PYRE_SUMMIT (22 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_1F (23 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_B1F (24 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_B2F (25 | (24 << 8)) -#define MAP_UNDERWATER_SEAFLOOR_CAVERN (26 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ENTRANCE (27 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM1 (28 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM2 (29 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM3 (30 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM4 (31 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM5 (32 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM6 (33 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM7 (34 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM8 (35 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM9 (36 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_ENTRANCE (37 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_1F (38 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1 (39 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2 (40 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3 (41 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_B1F (42 | (24 << 8)) -#define MAP_VICTORY_ROAD_1F (43 | (24 << 8)) -#define MAP_VICTORY_ROAD_B1F (44 | (24 << 8)) -#define MAP_VICTORY_ROAD_B2F (45 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM (46 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM (47 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM (48 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_LOWER_ROOM (49 | (24 << 8)) -#define MAP_SHOAL_CAVE_HIGH_TIDE_ENTRANCE_ROOM (50 | (24 << 8)) -#define MAP_SHOAL_CAVE_HIGH_TIDE_INNER_ROOM (51 | (24 << 8)) -#define MAP_NEW_MAUVILLE_ENTRANCE (52 | (24 << 8)) -#define MAP_NEW_MAUVILLE_INSIDE (53 | (24 << 8)) -#define MAP_ABANDONED_SHIP_DECK (54 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CORRIDORS_1F (55 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS_1F (56 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CORRIDORS_B1F (57 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS_B1F (58 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS2_B1F (59 | (24 << 8)) -#define MAP_ABANDONED_SHIP_UNDERWATER1 (60 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOM_B1F (61 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS2_1F (62 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CAPTAINS_OFFICE (63 | (24 << 8)) -#define MAP_ABANDONED_SHIP_UNDERWATER2 (64 | (24 << 8)) -#define MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS (65 | (24 << 8)) -#define MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS (66 | (24 << 8)) -#define MAP_ISLAND_CAVE (67 | (24 << 8)) -#define MAP_ANCIENT_TOMB (68 | (24 << 8)) -#define MAP_UNDERWATER_ROUTE134 (69 | (24 << 8)) -#define MAP_UNDERWATER_SEALED_CHAMBER (70 | (24 << 8)) -#define MAP_SEALED_CHAMBER_OUTER_ROOM (71 | (24 << 8)) -#define MAP_SEALED_CHAMBER_INNER_ROOM (72 | (24 << 8)) -#define MAP_SCORCHED_SLAB (73 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP1 (74 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP2 (75 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP3 (76 | (24 << 8)) -#define MAP_SKY_PILLAR_ENTRANCE (77 | (24 << 8)) -#define MAP_SKY_PILLAR_OUTSIDE (78 | (24 << 8)) -#define MAP_SKY_PILLAR_1F (79 | (24 << 8)) -#define MAP_SKY_PILLAR_2F (80 | (24 << 8)) -#define MAP_SKY_PILLAR_3F (81 | (24 << 8)) -#define MAP_SKY_PILLAR_4F (82 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_ICE_ROOM (83 | (24 << 8)) -#define MAP_SKY_PILLAR_5F (84 | (24 << 8)) -#define MAP_SKY_PILLAR_TOP (85 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_1F (86 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_1R (87 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_2R (88 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_1R (89 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_2R (90 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_4F (91 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_3R (92 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_3R (93 | (24 << 8)) -#define MAP_MIRAGE_TOWER_1F (94 | (24 << 8)) -#define MAP_MIRAGE_TOWER_2F (95 | (24 << 8)) -#define MAP_MIRAGE_TOWER_3F (96 | (24 << 8)) -#define MAP_MIRAGE_TOWER_4F (97 | (24 << 8)) -#define MAP_DESERT_UNDERPASS (98 | (24 << 8)) -#define MAP_ARTISAN_CAVE_B1F (99 | (24 << 8)) -#define MAP_ARTISAN_CAVE_1F (100 | (24 << 8)) -#define MAP_UNDERWATER_MARINE_CAVE (101 | (24 << 8)) -#define MAP_MARINE_CAVE_ENTRANCE (102 | (24 << 8)) -#define MAP_MARINE_CAVE_END (103 | (24 << 8)) -#define MAP_TERRA_CAVE_ENTRANCE (104 | (24 << 8)) -#define MAP_TERRA_CAVE_END (105 | (24 << 8)) -#define MAP_ALTERING_CAVE (106 | (24 << 8)) -#define MAP_METEOR_FALLS_STEVENS_CAVE (107 | (24 << 8)) - -// gMapGroup_IndoorDynamic -#define MAP_SECRET_BASE_RED_CAVE1 (0 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE1 (1 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE1 (2 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE1 (3 | (25 << 8)) -#define MAP_SECRET_BASE_TREE1 (4 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB1 (5 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE2 (6 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE2 (7 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE2 (8 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE2 (9 | (25 << 8)) -#define MAP_SECRET_BASE_TREE2 (10 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB2 (11 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE3 (12 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE3 (13 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE3 (14 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE3 (15 | (25 << 8)) -#define MAP_SECRET_BASE_TREE3 (16 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB3 (17 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE4 (18 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE4 (19 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE4 (20 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE4 (21 | (25 << 8)) -#define MAP_SECRET_BASE_TREE4 (22 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB4 (23 | (25 << 8)) -#define MAP_BATTLE_COLOSSEUM_2P (24 | (25 << 8)) -#define MAP_TRADE_CENTER (25 | (25 << 8)) -#define MAP_RECORD_CORNER (26 | (25 << 8)) -#define MAP_BATTLE_COLOSSEUM_4P (27 | (25 << 8)) -#define MAP_CONTEST_HALL (28 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL1 (29 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL2 (30 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL3 (31 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL4 (32 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL5 (33 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL6 (34 | (25 << 8)) -#define MAP_CONTEST_HALL_BEAUTY (35 | (25 << 8)) -#define MAP_CONTEST_HALL_TOUGH (36 | (25 << 8)) -#define MAP_CONTEST_HALL_COOL (37 | (25 << 8)) -#define MAP_CONTEST_HALL_SMART (38 | (25 << 8)) -#define MAP_CONTEST_HALL_CUTE (39 | (25 << 8)) -#define MAP_INSIDE_OF_TRUCK (40 | (25 << 8)) -#define MAP_SS_TIDAL_CORRIDOR (41 | (25 << 8)) -#define MAP_SS_TIDAL_LOWER_DECK (42 | (25 << 8)) -#define MAP_SS_TIDAL_ROOMS (43 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE01 (44 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE02 (45 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE03 (46 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE04 (47 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE05 (48 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE06 (49 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE07 (50 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE08 (51 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE09 (52 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE10 (53 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE11 (54 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE12 (55 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE13 (56 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE14 (57 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE15 (58 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE16 (59 | (25 << 8)) -#define MAP_UNION_ROOM (60 | (25 << 8)) - -// gMapGroup_SpecialArea -#define MAP_SAFARI_ZONE_NORTHWEST (0 | (26 << 8)) -#define MAP_SAFARI_ZONE_NORTH (1 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTHWEST (2 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTH (3 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_OUTSIDE_WEST (4 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY (5 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR (6 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR (7 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM (8 | (26 << 8)) -#define MAP_SOUTHERN_ISLAND_EXTERIOR (9 | (26 << 8)) -#define MAP_SOUTHERN_ISLAND_INTERIOR (10 | (26 << 8)) -#define MAP_SAFARI_ZONE_REST_HOUSE (11 | (26 << 8)) -#define MAP_SAFARI_ZONE_NORTHEAST (12 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTHEAST (13 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_OUTSIDE_EAST (14 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM (15 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR (16 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM (17 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY (18 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR (19 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM (20 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM (21 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY (22 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR (23 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM (24 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY (25 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR (26 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP (27 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY (28 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR (29 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM (30 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY (31 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM (32 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM (33 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY (34 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR (35 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM (36 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL (37 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_FINAL (38 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_WILD_MONS (39 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_RANKING_HALL (40 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE1 (41 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER (42 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE2 (43 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE3 (44 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE4 (45 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_SCOTTS_HOUSE (46 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE5 (47 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE6 (48 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE7 (49 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_RECEPTION_GATE (50 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE8 (51 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE9 (52 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F (53 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F (54 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_MART (55 | (26 << 8)) -#define MAP_FARAWAY_ISLAND_ENTRANCE (56 | (26 << 8)) -#define MAP_FARAWAY_ISLAND_INTERIOR (57 | (26 << 8)) -#define MAP_BIRTH_ISLAND_EXTERIOR (58 | (26 << 8)) -#define MAP_BIRTH_ISLAND_HARBOR (59 | (26 << 8)) -#define MAP_TRAINER_HILL_ENTRANCE (60 | (26 << 8)) -#define MAP_TRAINER_HILL_1F (61 | (26 << 8)) -#define MAP_TRAINER_HILL_2F (62 | (26 << 8)) -#define MAP_TRAINER_HILL_3F (63 | (26 << 8)) -#define MAP_TRAINER_HILL_4F (64 | (26 << 8)) -#define MAP_TRAINER_HILL_ROOF (65 | (26 << 8)) -#define MAP_NAVEL_ROCK_EXTERIOR (66 | (26 << 8)) -#define MAP_NAVEL_ROCK_HARBOR (67 | (26 << 8)) -#define MAP_NAVEL_ROCK_ENTRANCE (68 | (26 << 8)) -#define MAP_NAVEL_ROCK_B1F (69 | (26 << 8)) -#define MAP_NAVEL_ROCK_FORK (70 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP1 (71 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP2 (72 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP3 (73 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP4 (74 | (26 << 8)) -#define MAP_NAVEL_ROCK_TOP (75 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN01 (76 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN02 (77 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN03 (78 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN04 (79 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN05 (80 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN06 (81 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN07 (82 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN08 (83 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN09 (84 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN10 (85 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN11 (86 | (26 << 8)) -#define MAP_NAVEL_ROCK_BOTTOM (87 | (26 << 8)) -#define MAP_TRAINER_HILL_ELEVATOR (88 | (26 << 8)) - -// gMapGroup_IndoorRoute104Prototype -#define MAP_ROUTE104_PROTOTYPE (0 | (27 << 8)) -#define MAP_ROUTE104_PROTOTYPE_PRETTY_PETAL_FLOWER_SHOP (1 | (27 << 8)) - -// gMapGroup_IndoorRoute109 -#define MAP_ROUTE109_SEASHORE_HOUSE (0 | (28 << 8)) - -// gMapGroup_IndoorRoute110 -#define MAP_ROUTE110_TRICK_HOUSE_ENTRANCE (0 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_END (1 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_CORRIDOR (2 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE1 (3 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE2 (4 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE3 (5 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE4 (6 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE5 (7 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE6 (8 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE7 (9 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE8 (10 | (29 << 8)) -#define MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE (11 | (29 << 8)) -#define MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE (12 | (29 << 8)) - -// gMapGroup_IndoorRoute113 -#define MAP_ROUTE113_GLASS_WORKSHOP (0 | (30 << 8)) - -// gMapGroup_IndoorRoute123 -#define MAP_ROUTE123_BERRY_MASTERS_HOUSE (0 | (31 << 8)) - -// gMapGroup_IndoorRoute119 -#define MAP_ROUTE119_WEATHER_INSTITUTE_1F (0 | (32 << 8)) -#define MAP_ROUTE119_WEATHER_INSTITUTE_2F (1 | (32 << 8)) -#define MAP_ROUTE119_HOUSE (2 | (32 << 8)) - -// gMapGroup_IndoorRoute124 -#define MAP_ROUTE124_DIVING_TREASURE_HUNTERS_HOUSE (0 | (33 << 8)) - -#define MAP_GROUPS_COUNT 34 - -#endif // GUARD_CONSTANTS_MAP_GROUPS_H diff --git a/make_tools.mk b/make_tools.mk index 7e0baf8900..00824adda6 100644 --- a/make_tools.mk +++ b/make_tools.mk @@ -1,12 +1,24 @@ +# This controls building executables in the `tools` folder. +# Can be invoked through the `Makefile` or standalone. MAKEFLAGS += --no-print-directory # Inclusive list. If you don't want a tool to be built, don't add it here. -TOOLDIRS := tools/aif2pcm tools/bin2c tools/gbafix tools/gbagfx tools/jsonproc tools/mapjson tools/mid2agb tools/preproc tools/ramscrgen tools/rsfont tools/scaninc +TOOLS_DIR := tools +TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc -.PHONY: all $(TOOLDIRS) +TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%) -all: $(TOOLDIRS) +.PHONY: tools check-tools clean-tools $(TOOLDIRS) $(CHECKTOOLDIRS) + +tools: $(TOOLDIRS) +check-tools: $(CHECKTOOLDIRS) $(TOOLDIRS): @$(MAKE) -C $@ + +$(CHECKTOOLDIRS): + @$(MAKE) -C $@ + +clean-tools: + @$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);) diff --git a/map_data_rules.mk b/map_data_rules.mk index 626cd47240..974a82f14a 100755 --- a/map_data_rules.mk +++ b/map_data_rules.mk @@ -1,8 +1,17 @@ # Map JSON data +# Inputs MAPS_DIR = $(DATA_ASM_SUBDIR)/maps LAYOUTS_DIR = $(DATA_ASM_SUBDIR)/layouts +# Outputs +MAPS_OUTDIR := $(MAPS_DIR) +LAYOUTS_OUTDIR := $(LAYOUTS_DIR) +INCLUDECONSTS_OUTDIR := include/constants + +AUTO_GEN_TARGETS += $(INCLUDECONSTS_OUTDIR)/map_groups.h +AUTO_GEN_TARGETS += $(INCLUDECONSTS_OUTDIR)/layouts.h + MAP_DIRS := $(dir $(wildcard $(MAPS_DIR)/*/map.json)) MAP_CONNECTIONS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/connections.inc,$(MAP_DIRS)) MAP_EVENTS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/events.inc,$(MAP_DIRS)) @@ -13,19 +22,12 @@ $(DATA_ASM_BUILDDIR)/maps.o: $(DATA_ASM_SUBDIR)/maps.s $(LAYOUTS_DIR)/layouts.in $(DATA_ASM_BUILDDIR)/map_events.o: $(DATA_ASM_SUBDIR)/map_events.s $(MAPS_DIR)/events.inc $(MAP_EVENTS) $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@ -$(MAPS_DIR)/%/header.inc: $(MAPS_DIR)/%/map.json - $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json -$(MAPS_DIR)/%/events.inc: $(MAPS_DIR)/%/header.inc ; -$(MAPS_DIR)/%/connections.inc: $(MAPS_DIR)/%/events.inc ; -$(MAPS_DIR)/groups.inc: $(MAPS_DIR)/map_groups.json - $(MAPJSON) groups emerald $< -$(MAPS_DIR)/connections.inc: $(MAPS_DIR)/groups.inc ; -$(MAPS_DIR)/events.inc: $(MAPS_DIR)/connections.inc ; -$(MAPS_DIR)/headers.inc: $(MAPS_DIR)/events.inc ; -include/constants/map_groups.h: $(MAPS_DIR)/headers.inc ; +$(MAPS_OUTDIR)/%/header.inc $(MAPS_OUTDIR)/%/events.inc $(MAPS_OUTDIR)/%/connections.inc: $(MAPS_DIR)/%/map.json + $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json $(@D) -$(LAYOUTS_DIR)/layouts.inc: $(LAYOUTS_DIR)/layouts.json - $(MAPJSON) layouts emerald $< -$(LAYOUTS_DIR)/layouts_table.inc: $(LAYOUTS_DIR)/layouts.inc ; -include/constants/layouts.h: $(LAYOUTS_DIR)/layouts_table.inc ; +$(MAPS_OUTDIR)/connections.inc $(MAPS_OUTDIR)/groups.inc $(MAPS_OUTDIR)/events.inc $(MAPS_OUTDIR)/headers.inc $(INCLUDECONSTS_OUTDIR)/map_groups.h: $(MAPS_DIR)/map_groups.json + $(MAPJSON) groups emerald $< $(MAPS_OUTDIR) $(INCLUDECONSTS_OUTDIR) + +$(LAYOUTS_OUTDIR)/layouts.inc $(LAYOUTS_OUTDIR)/layouts_table.inc $(INCLUDECONSTS_OUTDIR)/layouts.h: $(LAYOUTS_DIR)/layouts.json + $(MAPJSON) layouts emerald $< $(LAYOUTS_OUTDIR) $(INCLUDECONSTS_OUTDIR) \ No newline at end of file diff --git a/tools/jsonproc/jsonproc.cpp b/tools/jsonproc/jsonproc.cpp index 23056a5ff3..a43c5b7624 100755 --- a/tools/jsonproc/jsonproc.cpp +++ b/tools/jsonproc/jsonproc.cpp @@ -1,4 +1,6 @@ // jsonproc.cpp +// jsonproc converts JSON data to an output file based on an Inja template. +// https://github.com/pantor/inja #include "jsonproc.h" diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index e53ac7924d..1632b56be6 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -30,6 +30,8 @@ using json11::Json; #include "mapjson.h" string version; +// System directory separator +string sep; string read_text_file(string filepath) { ifstream in_file(filepath); @@ -330,13 +332,22 @@ string generate_map_events_text(Json map_data) { return text.str(); } -string get_directory_name(string filename) { - size_t dir_pos = filename.find_last_of("/\\"); +string strip_trailing_separator(string filename) { + if(filename.back() == '/' || filename.back() == '\\') + filename.pop_back(); + return filename; +} +void infer_separator(string filename) { + size_t dir_pos = filename.find_last_of("/\\"); + sep = filename[dir_pos]; +} +string file_parent(string filename){ + size_t dir_pos = filename.find_last_of("/\\"); return filename.substr(0, dir_pos + 1); } -void process_map(string map_filepath, string layouts_filepath) { +void process_map(string map_filepath, string layouts_filepath, string output_dir) { string mapdata_err, layouts_err; string mapdata_json_text = read_text_file(map_filepath); @@ -354,16 +365,16 @@ void process_map(string map_filepath, string layouts_filepath) { string events_text = generate_map_events_text(map_data); string connections_text = generate_map_connections_text(map_data); - string files_dir = get_directory_name(map_filepath); - write_text_file(files_dir + "header.inc", header_text); - write_text_file(files_dir + "events.inc", events_text); - write_text_file(files_dir + "connections.inc", connections_text); + string out_dir = strip_trailing_separator(output_dir).append(sep); + write_text_file(out_dir + "header.inc", header_text); + write_text_file(out_dir + "events.inc", events_text); + write_text_file(out_dir + "connections.inc", connections_text); } string generate_groups_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; for (auto &key : groups_data["group_order"].array_items()) { string group = json_to_string(key); @@ -382,7 +393,7 @@ string generate_groups_text(Json groups_data) { return text.str(); } -string generate_connections_text(Json groups_data) { +string generate_connections_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -404,15 +415,15 @@ string generate_connections_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; for (Json map_name : map_names) - text << "\t.include \"data/maps/" << json_to_string(map_name) << "/connections.inc\"\n"; + text << "\t.include \"" << include_path << "/" << json_to_string(map_name) << "/connections.inc\"\n"; return text.str(); } -string generate_headers_text(Json groups_data) { +string generate_headers_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -421,15 +432,15 @@ string generate_headers_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; for (string map_name : map_names) - text << "\t.include \"data/maps/" << map_name << "/header.inc\"\n"; + text << "\t.include \"" << include_path << "/" << map_name << "/header.inc\"\n"; return text.str(); } -string generate_events_text(Json groups_data) { +string generate_events_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -438,24 +449,23 @@ string generate_events_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from " << include_path << "/map_groups.json\n@\n\n"; for (string map_name : map_names) - text << "\t.include \"data/maps/" << map_name << "/events.inc\"\n"; + text << "\t.include \"" << include_path << "/" << map_name << "/events.inc\"\n"; return text.str(); } string generate_map_constants_text(string groups_filepath, Json groups_data) { - string file_dir = get_directory_name(groups_filepath); - char dir_separator = file_dir.back(); + string file_dir = file_parent(groups_filepath) + sep; ostringstream text; text << "#ifndef GUARD_CONSTANTS_MAP_GROUPS_H\n" << "#define GUARD_CONSTANTS_MAP_GROUPS_H\n\n"; - text << "//\n// DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n//\n\n"; + text << "//\n// DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n//\n\n"; int group_num = 0; @@ -466,7 +476,7 @@ string generate_map_constants_text(string groups_filepath, Json groups_data) { size_t max_length = 0; for (auto &map_name : groups_data[groupName].array_items()) { - string map_filepath = file_dir + json_to_string(map_name) + dir_separator + "map.json"; + string map_filepath = file_dir + json_to_string(map_name) + sep + "map.json"; string err_str; Json map_data = Json::parse(read_text_file(map_filepath), err_str); if (map_data == Json()) @@ -493,7 +503,11 @@ string generate_map_constants_text(string groups_filepath, Json groups_data) { return text.str(); } -void process_groups(string groups_filepath) { +// Output paths are directories with trailing path separators +void process_groups(string groups_filepath, string output_asm, string output_c) { + output_asm = strip_trailing_separator(output_asm); // Remove separator if existing. + output_c = strip_trailing_separator(output_c); + string err; Json groups_data = Json::parse(read_text_file(groups_filepath), err); @@ -501,25 +515,22 @@ void process_groups(string groups_filepath) { FATAL_ERROR("%s\n", err.c_str()); string groups_text = generate_groups_text(groups_data); - string connections_text = generate_connections_text(groups_data); - string headers_text = generate_headers_text(groups_data); - string events_text = generate_events_text(groups_data); + string connections_text = generate_connections_text(groups_data, output_asm); + string headers_text = generate_headers_text(groups_data, output_asm); + string events_text = generate_events_text(groups_data, output_asm); string map_header_text = generate_map_constants_text(groups_filepath, groups_data); - string file_dir = get_directory_name(groups_filepath); - char s = file_dir.back(); - - write_text_file(file_dir + "groups.inc", groups_text); - write_text_file(file_dir + "connections.inc", connections_text); - write_text_file(file_dir + "headers.inc", headers_text); - write_text_file(file_dir + "events.inc", events_text); - write_text_file(file_dir + ".." + s + ".." + s + "include" + s + "constants" + s + "map_groups.h", map_header_text); + write_text_file(output_asm + sep + "groups.inc", groups_text); + write_text_file(output_asm + sep + "connections.inc", connections_text); + write_text_file(output_asm + sep + "headers.inc", headers_text); + write_text_file(output_asm + sep + "events.inc", events_text); + write_text_file(output_c + sep + "map_groups.h", map_header_text); } string generate_layout_headers_text(Json layouts_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/layouts/layouts.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from layouts.json\n@\n\n"; for (auto &layout : layouts_data["layouts"].array_items()) { if (layout == Json::object()) continue; @@ -586,7 +597,10 @@ string generate_layouts_constants_text(Json layouts_data) { return text.str(); } -void process_layouts(string layouts_filepath) { +void process_layouts(string layouts_filepath, string output_asm, string output_c) { + output_asm = strip_trailing_separator(output_asm).append(sep); + output_c = strip_trailing_separator(output_c).append(sep); + string err; Json layouts_data = Json::parse(read_text_file(layouts_filepath), err); @@ -597,12 +611,9 @@ void process_layouts(string layouts_filepath) { string layouts_table_text = generate_layouts_table_text(layouts_data); string layouts_constants_text = generate_layouts_constants_text(layouts_data); - string file_dir = get_directory_name(layouts_filepath); - char s = file_dir.back(); - - write_text_file(file_dir + "layouts.inc", layout_headers_text); - write_text_file(file_dir + "layouts_table.inc", layouts_table_text); - write_text_file(file_dir + ".." + s + ".." + s + "include" + s + "constants" + s + "layouts.h", layouts_constants_text); + write_text_file(output_asm + "layouts.inc", layout_headers_text); + write_text_file(output_asm + "layouts_table.inc", layouts_table_text); + write_text_file(output_c + "layouts.h", layouts_constants_text); } int main(int argc, char *argv[]) { @@ -620,29 +631,40 @@ int main(int argc, char *argv[]) { FATAL_ERROR("ERROR: must be 'layouts', 'map', or 'groups'.\n"); if (mode == "map") { - if (argc != 5) - FATAL_ERROR("USAGE: mapjson map \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson map \n"); + infer_separator(argv[3]); string filepath(argv[3]); string layouts_filepath(argv[4]); + string output_dir(argv[5]); - process_map(filepath, layouts_filepath); + process_map(filepath, layouts_filepath, output_dir); } else if (mode == "groups") { - if (argc != 4) - FATAL_ERROR("USAGE: mapjson groups \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson groups \n"); + infer_separator(argv[3]); string filepath(argv[3]); + string output_asm(argv[4]); + string output_c(argv[5]); - process_groups(filepath); + process_groups(filepath, output_asm, output_c); } else if (mode == "layouts") { - if (argc != 4) - FATAL_ERROR("USAGE: mapjson layouts \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson layouts \n"); + infer_separator(argv[3]); string filepath(argv[3]); + string output_asm(argv[4]); + string output_c(argv[5]); - process_layouts(filepath); + process_layouts(filepath, output_asm, output_c); + } + else { + FATAL_ERROR("ERROR: must be 'layouts', 'map', or 'groups'.\n"); } return 0; From 2198ca31c7a5239176b92bc577408bc1e7715cd4 Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Sun, 12 Nov 2023 13:20:09 +1300 Subject: [PATCH 002/278] Reordered makefile. Added some documentation and simplified dependency scanning. --- Makefile | 359 ++++++++++++++++++++++++-------------------------- make_tools.mk | 4 +- 2 files changed, 178 insertions(+), 185 deletions(-) diff --git a/Makefile b/Makefile index 7d92bad21c..1eb4b8b55a 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,22 @@ -TOOLCHAIN := $(DEVKITARM) -COMPARE ?= 0 +# GBA rom header +TITLE := POKEMON EMER +GAME_CODE := BPEE +MAKER_CODE := 01 +REVISION := 0 +MODERN ?= 0 +# `File name`.gba ('_modern' will be appended to the modern builds) +FILE_NAME := pokeemerald +BUILD_DIR := build + +# Builds the ROM using a modern compiler +MODERN ?= 0 +# Compares the ROM to a checksum of the original - only makes sense using when non-modern +COMPARE ?= 0 + +ifeq (modern,$(MAKECMDGOALS)) + MODERN := 1 +endif ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 endif @@ -8,45 +24,29 @@ endif # Default make rule all: rom +# Toolchain selection +TOOLCHAIN := $(DEVKITARM) # don't use dkP's base_tools anymore # because the redefinition of $(CC) conflicts # with when we want to use $(CC) to preprocess files # thus, manually create the variables for the bin # files, or use arm-none-eabi binaries on the system # if dkP is not installed on this system - ifneq (,$(TOOLCHAIN)) -ifneq ($(wildcard $(TOOLCHAIN)/bin),) -export PATH := $(TOOLCHAIN)/bin:$(PATH) -endif + ifneq ($(wildcard $(TOOLCHAIN)/bin),) + export PATH := $(TOOLCHAIN)/bin:$(PATH) + endif endif PREFIX := arm-none-eabi- OBJCOPY := $(PREFIX)objcopy OBJDUMP := $(PREFIX)objdump AS := $(PREFIX)as - LD := $(PREFIX)ld -# note: the makefile must be set up so MODERNCC is never called -# if MODERN=0 -MODERNCC := $(PREFIX)gcc -PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC) - -ifeq ($(OS),Windows_NT) -EXE := .exe -else EXE := -endif - -TITLE := POKEMON EMER -GAME_CODE := BPEE -MAKER_CODE := 01 -REVISION := 0 -MODERN ?= 0 - -ifeq (modern,$(MAKECMDGOALS)) - MODERN := 1 +ifeq ($(OS),Windows_NT) + EXE := .exe endif # use arm-none-eabi-cpp for macOS @@ -66,22 +66,29 @@ else CPP := $(PREFIX)cpp endif -ROM_NAME := pokeemerald.gba +ROM_NAME := $(FILE_NAME).gba +OBJ_DIR_NAME := $(BUILD_DIR)/emerald +MODERN_ROM_NAME := $(FILE_NAME)_modern.gba +MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern + ELF_NAME := $(ROM_NAME:.gba=.elf) MAP_NAME := $(ROM_NAME:.gba=.map) -OBJ_DIR_NAME := build/emerald - -MODERN_ROM_NAME := pokeemerald_modern.gba MODERN_ELF_NAME := $(MODERN_ROM_NAME:.gba=.elf) MODERN_MAP_NAME := $(MODERN_ROM_NAME:.gba=.map) -MODERN_OBJ_DIR_NAME := build/modern -SHELL := /bin/bash -o pipefail - -ELF = $(ROM:.gba=.elf) -MAP = $(ROM:.gba=.map) -SYM = $(ROM:.gba=.sym) +# Pick our active variables +ifeq ($(MODERN),0) + ROM := $(ROM_NAME) + OBJ_DIR := $(OBJ_DIR_NAME) +else + ROM := $(MODERN_ROM_NAME) + OBJ_DIR := $(MODERN_OBJ_DIR_NAME) +endif +ELF := $(ROM:.gba=.elf) +MAP := $(ROM:.gba=.map) +SYM := $(ROM:.gba=.sym) +# Commonly used directories C_SUBDIR = src GFLIB_SUBDIR = gflib ASM_SUBDIR = asm @@ -99,34 +106,43 @@ DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR) SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR) MID_BUILDDIR = $(OBJ_DIR)/$(MID_SUBDIR) +SHELL := /bin/bash -o pipefail + +# Set flags for tools ASFLAGS := -mcpu=arm7tdmi --defsym MODERN=$(MODERN) -ifeq ($(MODERN),0) -CC1 := tools/agbcc/bin/agbcc$(EXE) -override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O2 -fhex-asm -g -ROM := $(ROM_NAME) -OBJ_DIR := $(OBJ_DIR_NAME) -LIBPATH := -L ../../tools/agbcc/lib -LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall -else -CC1 = $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet -override CFLAGS += -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -ROM := $(MODERN_ROM_NAME) -OBJ_DIR := $(MODERN_OBJ_DIR_NAME) -LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))" -LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall -endif +INCLUDE_DIRS := include +INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %) +INCLUDE_SCANINC_ARGS := $(INCLUDE_DIRS:%=-I %) -CPPFLAGS := -iquote include -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN) -ifneq ($(MODERN),1) -CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef +O_LEVEL ?= 2 +CPPFLAGS := $(INCLUDE_CPP_ARGS) -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN) +ifeq ($(MODERN),0) + CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef + CC1 := tools/agbcc/bin/agbcc$(EXE) + override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O$(O_LEVEL) -fhex-asm -g + LIBPATH := -L ../../tools/agbcc/lib + LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall +else + # Note: The makefile must be set up to not call these if modern == 0 + MODERNCC := $(PREFIX)gcc + PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC) + CC1 := $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet + override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast + LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))" + LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall +endif +# Enable debug info if set +ifeq ($(DINFO),1) + override CFLAGS += -g endif LDFLAGS = -Map ../../$(MAP) +# Variable filled out in other make files AUTO_GEN_TARGETS := include make_tools.mk -SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c +# Tool executables GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) @@ -138,6 +154,7 @@ MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) PERL := perl +SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c MAKEFLAGS += --no-print-directory @@ -147,39 +164,36 @@ MAKEFLAGS += --no-print-directory .SECONDARY: # Delete files that weren't built properly .DELETE_ON_ERROR: - # Secondary expansion is required for dependency variables in object rules. .SECONDEXPANSION: -.PHONY: all rom clean compare tidy mostlyclean libagbsyscall modern tidymodern tidynonmodern +RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern generated clean-generated +.PHONY: all rom modern compare +.PHONY: $(RULES_NO_SCAN) infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) -# Build tools when building the rom -# Disable dependency scanning for clean/tidy/tools -# Use a separate minimal makefile for speed -# Since we don't need to reload most of this makefile -ifeq (,$(filter-out all rom compare modern libagbsyscall syms,$(MAKECMDGOALS))) -$(call infoshell, $(MAKE) -f make_tools.mk) -$(call infoshell, $(MAKE) generated) -else -NODEP ?= 1 -endif - -# check if we need to scan dependencies based on the rule -ifeq (,$(MAKECMDGOALS)) - SCAN_DEPS ?= 1 -else - # clean, tidy, tools, mostlyclean, clean-tools, $(TOOLDIRS), tidymodern, tidynonmodern don't even build the ROM - # libagbsyscall does its own thing - ifeq (,$(filter-out clean tidy tools mostlyclean clean-tools $(TOOLDIRS) tidymodern tidynonmodern libagbsyscall,$(MAKECMDGOALS))) - SCAN_DEPS ?= 0 - else - SCAN_DEPS ?= 1 +# Check if we need to scan dependencies based on the chosen rule OR user preference +NODEP ?= 0 +# Check if we need to pre-build tools and generate assets based on the chosen rule. +SETUP_PREREQS ?= 1 +# Disable dependency scanning for rules that don't need it. +ifneq (,$(MAKECMDGOALS)) + ifeq (,$(filter-out $(RULES_NO_SCAN),$(MAKECMDGOALS))) + NODEP := 1 + SETUP_PREREQS := 0 endif endif -ifeq ($(SCAN_DEPS),1) +ifeq ($(SETUP_PREREQS),1) + # If set on: Default target or a rule requiring a scan + # Forcibly execute `make tools` since we need them for what we are doing. + $(call infoshell, $(MAKE) -f make_tools.mk) + # Oh and also generate mapjson sources before we use `SCANINC`. + $(call infoshell, $(MAKE) generated) +endif + +# Collect sources C_SRCS_IN := $(wildcard $(C_SUBDIR)/*.c $(C_SUBDIR)/*/*.c $(C_SUBDIR)/*/*/*.c) C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src))) C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) @@ -187,7 +201,7 @@ C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) GFLIB_SRCS := $(wildcard $(GFLIB_SUBDIR)/*.c) GFLIB_OBJS := $(patsubst $(GFLIB_SUBDIR)/%.c,$(GFLIB_BUILDDIR)/%.o,$(GFLIB_SRCS)) -C_ASM_SRCS += $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s) +C_ASM_SRCS := $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s) C_ASM_OBJS := $(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o,$(C_ASM_SRCS)) ASM_SRCS := $(wildcard $(ASM_SUBDIR)/*.s) @@ -210,29 +224,29 @@ OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS)) SUBDIRS := $(sort $(dir $(OBJS))) $(shell mkdir -p $(SUBDIRS)) -endif -syms: $(SYM) +# Pretend rules that are actually flags defer to `make all` +modern: all +compare: all +# Other rules rom: $(ROM) ifeq ($(COMPARE),1) @$(SHA1) rom.sha1 endif -# For contributors to make sure a change didn't affect the contents of the ROM. -compare: all +syms: $(SYM) -clean: mostlyclean clean-tools +clean: tidy clean-tools clean-generated clean-assets + @$(MAKE) clean -C libagbsyscall -mostlyclean: tidynonmodern tidymodern - find sound -iname '*.bin' -exec rm {} + +clean-assets: rm -f $(MID_SUBDIR)/*.s - find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + rm -f $(DATA_ASM_SUBDIR)/layouts/layouts.inc $(DATA_ASM_SUBDIR)/layouts/layouts_table.inc rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc + find sound -iname '*.bin' -exec rm {} + + find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} + - rm -f $(AUTO_GEN_TARGETS) - @$(MAKE) clean -C libagbsyscall tidy: tidynonmodern tidymodern @@ -244,18 +258,13 @@ tidymodern: rm -f $(MODERN_ROM_NAME) $(MODERN_ELF_NAME) $(MODERN_MAP_NAME) rm -rf $(MODERN_OBJ_DIR_NAME) -ifneq ($(MODERN),0) -$(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member -endif - +# Other rules include graphics_file_rules.mk include map_data_rules.mk include spritesheet_rules.mk include json_data_rules.mk include songs.mk -generated: $(AUTO_GEN_TARGETS) - %.s: ; %.png: ; %.pal: ; @@ -271,119 +280,101 @@ generated: $(AUTO_GEN_TARGETS) $(CRY_SUBDIR)/%.bin: $(CRY_SUBDIR)/%.aif ; $(AIF) $< $@ --compress sound/%.bin: sound/%.aif ; $(AIF) $< $@ +# NOTE: Tools must have been built prior (FIXME) +generated: tools $(AUTO_GEN_TARGETS) +clean-generated: + -rm -f $(AUTO_GEN_TARGETS) ifeq ($(MODERN),0) -$(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) +$(C_BUILDDIR)/libc.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/libc.o: CFLAGS := -O2 - $(C_BUILDDIR)/siirtc.o: CFLAGS := -mthumb-interwork - $(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork - -$(C_BUILDDIR)/m4a.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) - +$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding -$(C_BUILDDIR)/librfu_intr.o: CC1 := $(TOOLS_DIR)/agbcc/bin/agbcc_arm$(EXE) +$(C_BUILDDIR)/librfu_intr.o: CC1 := tools/agbcc/bin/agbcc_arm$(EXE) $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet else $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast +$(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member endif -ifeq ($(DINFO),1) -override CFLAGS += -g -endif +# Dependency rules (for the *.c & *.s sources to .o files) +# Have to be explicit or else missing files won't be reported. -# The dep rules have to be explicit or else missing files won't be reported. # As a side effect, they're evaluated immediately instead of when the rule is invoked. -# It doesn't look like $(shell) can be deferred so there might not be a better way. +# It doesn't look like $(shell) can be deferred so there might not be a better way (Icedude_907: there is soon). -ifeq ($(SCAN_DEPS),1) -ifeq ($(NODEP),1) -$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.c -ifeq (,$(KEEP_TEMPS)) - @echo "$(CC1) -o $@ $<" - @$(CPP) $(CPPFLAGS) $< | $(PREPROC) $< charmap.txt -i | $(CC1) $(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $(AS) $(ASFLAGS) -o $@ - -else - @$(CPP) $(CPPFLAGS) $< -o $(C_BUILDDIR)/$*.i - @$(PREPROC) $(C_BUILDDIR)/$*.i charmap.txt | $(CC1) $(CFLAGS) -o $(C_BUILDDIR)/$*.s - @echo -e ".text\n\t.align\t2, 0\n" >> $(C_BUILDDIR)/$*.s - $(AS) $(ASFLAGS) -o $@ $(C_BUILDDIR)/$*.s -endif -else +# For C dependencies. +# Args: $1 = Output file without extension (build/assets/src/data), $2 = Input file (src/data.c) define C_DEP -$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) -ifeq (,$$(KEEP_TEMPS)) - @echo "$$(CC1) -o $$@ $$<" - @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) $$< charmap.txt -i | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - -else - @$$(CPP) $$(CPPFLAGS) $$< -o $$(C_BUILDDIR)/$3.i - @$$(PREPROC) $$(C_BUILDDIR)/$3.i charmap.txt | $$(CC1) $$(CFLAGS) -o $$(C_BUILDDIR)/$3.s - @echo -e ".text\n\t.align\t2, 0\n" >> $$(C_BUILDDIR)/$3.s - $$(AS) $$(ASFLAGS) -o $$@ $$(C_BUILDDIR)/$3.s -endif +$(call C_DEP_IMPL,$1,$2,$1) endef -$(foreach src, $(C_SRCS), $(eval $(call C_DEP,$(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(src)),$(src),$(patsubst $(C_SUBDIR)/%.c,%,$(src))))) -endif - -ifeq ($(NODEP),1) -$(GFLIB_BUILDDIR)/%.o: $(GFLIB_SUBDIR)/%.c $$(c_dep) +# Internal implementation details. +# $1: Output file without extension, $2 input file, $3 temp path (if keeping) +define C_DEP_IMPL +$1.o: $2 ifeq (,$(KEEP_TEMPS)) - @echo "$(CC1) -o $@ $<" - @$(CPP) $(CPPFLAGS) $< | $(PREPROC) $< charmap.txt -i | $(CC1) $(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $(AS) $(ASFLAGS) -o $@ - -else - @$(CPP) $(CPPFLAGS) $< -o $(GFLIB_BUILDDIR)/$*.i - @$(PREPROC) $(GFLIB_BUILDDIR)/$*.i charmap.txt | $(CC1) $(CFLAGS) -o $(GFLIB_BUILDDIR)/$*.s - @echo -e ".text\n\t.align\t2, 0\n" >> $(GFLIB_BUILDDIR)/$*.s - $(AS) $(ASFLAGS) -o $@ $(GFLIB_BUILDDIR)/$*.s -endif -else -define GFLIB_DEP -$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) -ifeq (,$$(KEEP_TEMPS)) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) $$< charmap.txt -i | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - else - @$$(CPP) $$(CPPFLAGS) $$< -o $$(GFLIB_BUILDDIR)/$3.i - @$$(PREPROC) $$(GFLIB_BUILDDIR)/$3.i charmap.txt | $$(CC1) $$(CFLAGS) -o $$(GFLIB_BUILDDIR)/$3.s - @echo -e ".text\n\t.align\t2, 0\n" >> $$(GFLIB_BUILDDIR)/$3.s - $$(AS) $$(ASFLAGS) -o $$@ $$(GFLIB_BUILDDIR)/$3.s + @$$(CPP) $$(CPPFLAGS) $$< -o $3.i + @$$(PREPROC) $3.i charmap.txt | $$(CC1) $$(CFLAGS) -o $3.s + @echo -e ".text\n\t.align\t2, 0\n" >> $3.s + $$(AS) $$(ASFLAGS) -o $$@ $3.s +endif +$(call C_SCANINC,$1,$2) +endef +# Calls SCANINC to find dependencies +define C_SCANINC +ifneq ($(NODEP),1) +$1.o: $2 $$(shell $(SCANINC) $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include -I gflib $2) endif endef -$(foreach src, $(GFLIB_SRCS), $(eval $(call GFLIB_DEP,$(patsubst $(GFLIB_SUBDIR)/%.c,$(GFLIB_BUILDDIR)/%.o, $(src)),$(src),$(patsubst $(GFLIB_SUBDIR)/%.c,%, $(src))))) + +# Create generic rules if no dependency scanning, else create the real rules +ifeq ($(NODEP),1) +$(eval $(call C_DEP,$(C_BUILDDIR)/%,$(C_SUBDIR)/%.c)) +$(eval $(call C_DEP,$(GFLIB_BUILDDIR)/%,$(GFLIB_SUBDIR)/%.c)) +else +$(foreach src,$(C_SRCS),$(eval $(call C_DEP,$(OBJ_DIR)/$(basename $(src)),$(src)))) +$(foreach src,$(GFLIB_SRCS),$(eval $(call C_DEP,$(OBJ_DIR)/$(basename $(src)),$(src)))) endif -ifeq ($(NODEP),1) -$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.s - $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@ -else -define SRC_ASM_DATA_DEP -$1: $2 $$(shell $(SCANINC) -I include -I "" $2) - $$(PREPROC) $$< charmap.txt | $$(CPP) -I include - | $$(AS) $$(ASFLAGS) -o $$@ -endef -$(foreach src, $(C_ASM_SRCS), $(eval $(call SRC_ASM_DATA_DEP,$(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o, $(src)),$(src)))) -endif - -ifeq ($(NODEP),1) -$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s - $(AS) $(ASFLAGS) -o $@ $< -else +# Similar methodology for Assembly files +# $1: Output path without extension, $2: Input file (`*.s`) define ASM_DEP -$1: $2 $$(shell $(SCANINC) -I include -I "" $2) +$1.o: $2 $$(AS) $$(ASFLAGS) -o $$@ $$< +$(call ASM_SCANINC,$1,$2) +endef +# As above but first doing a preprocessor pass +define ASM_DEP_PREPROC +$1.o: $2 + $$(PREPROC) $$< charmap.txt | $$(CPP) $(INCLUDE_SCANINC_ARGS) - | $$(AS) $$(ASFLAGS) -o $$@ +$(call ASM_SCANINC,$1,$2) endef -$(foreach src, $(ASM_SRCS), $(eval $(call ASM_DEP,$(patsubst $(ASM_SUBDIR)/%.s,$(ASM_BUILDDIR)/%.o, $(src)),$(src)))) -endif +define ASM_SCANINC +ifneq ($(NODEP),1) +$1.o: $2 $$(shell $(SCANINC) $(INCLUDE_SCANINC_ARGS) -I "" $2) +endif +endef + +# Dummy rules or real rules ifeq ($(NODEP),1) -$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s - $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@ +$(eval $(call ASM_DEP,$(ASM_BUILDDIR)/%,$(ASM_SUBDIR)/%.s)) +$(eval $(call ASM_DEP_PREPROC,$(C_BUILDDIR)/%,$(C_SUBDIR)/%.s)) +$(eval $(call ASM_DEP_PREPROC,$(DATA_ASM_BUILDDIR)/%,$(DATA_ASM_SUBDIR)/%.s)) else -$(foreach src, $(REGULAR_DATA_ASM_SRCS), $(eval $(call SRC_ASM_DATA_DEP,$(patsubst $(DATA_ASM_SUBDIR)/%.s,$(DATA_ASM_BUILDDIR)/%.o, $(src)),$(src)))) -endif +$(foreach src, $(ASM_SRCS), $(eval $(call ASM_DEP,$(src:%.s=$(OBJ_DIR)/%),$(src)))) +$(foreach src, $(C_ASM_SRCS), $(eval $(call ASM_DEP_PREPROC,$(src:%.s=$(OBJ_DIR)/%),$(src)))) +$(foreach src, $(REGULAR_DATA_ASM_SRCS), $(eval $(call ASM_DEP_PREPROC,$(src:%.s=$(OBJ_DIR)/%),$(src)))) endif +# Additional rules $(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s $(AS) $(ASFLAGS) -I sound -o $@ $< @@ -396,6 +387,7 @@ $(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt) $(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt $(RAMSCRGEN) ewram_data $< ENGLISH > $@ +# Linker script ifeq ($(MODERN),0) LD_SCRIPT := ld_script.txt LD_SCRIPT_DEPS := $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_common.ld $(OBJ_DIR)/sym_ewram.ld @@ -405,25 +397,24 @@ LD_SCRIPT_DEPS := endif $(OBJ_DIR)/ld_script.ld: $(LD_SCRIPT) $(LD_SCRIPT_DEPS) - cd $(OBJ_DIR) && sed "s#tools/#../../tools/#g" ../../$(LD_SCRIPT) > ld_script.ld + sed "s#tools/#tools/#g" $(LD_SCRIPT) > $(OBJ_DIR)/ld_script.ld +# Final rules + +libagbsyscall: + @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN) + +# Elf from object files $(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS) libagbsyscall @echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ " @cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ $(OBJS_REL) $(LIB) $(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent +# Builds the rom from the elf file $(ROM): $(ELF) $(OBJCOPY) -O binary $< $@ $(FIX) $@ -p --silent -modern: all - -libagbsyscall: - @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN) - -################### -### Symbol file ### -################### - +# Symbol file (`make syms`) $(SYM): $(ELF) $(OBJDUMP) -t $< | sort -u | grep -E "^0[2389]" | $(PERL) -p -e 's/^(\w{8}) (\w).{6} \S+\t(\w{8}) (\S+)$$/\1 \2 \3 \4/g' > $@ diff --git a/make_tools.mk b/make_tools.mk index 00824adda6..78ff1beeb0 100644 --- a/make_tools.mk +++ b/make_tools.mk @@ -9,7 +9,9 @@ TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramsc TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%) -.PHONY: tools check-tools clean-tools $(TOOLDIRS) $(CHECKTOOLDIRS) +# Tool making doesnt require a pokeemerald dependency scan. +RULES_NO_SCAN += tools check-tools clean-tools $(TOOLDIRS) $(CHECKTOOLDIRS) +.PHONY: $(RULES_NO_SCAN) tools: $(TOOLDIRS) check-tools: $(CHECKTOOLDIRS) From 4b2054c3ea1f0240ba6bed903f4e960da2d3716e Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Sun, 12 Nov 2023 16:38:32 +1300 Subject: [PATCH 003/278] Parallel SCANINC via `.d` generation. Secondary expansion is redundant. --- Makefile | 12 ++++++---- tools/scaninc/scaninc.cpp | 49 ++++++++++++++++++++++++++++++++++++--- 2 files changed, 54 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 1eb4b8b55a..56d1e3812f 100644 --- a/Makefile +++ b/Makefile @@ -164,8 +164,6 @@ MAKEFLAGS += --no-print-directory .SECONDARY: # Delete files that weren't built properly .DELETE_ON_ERROR: -# Secondary expansion is required for dependency variables in object rules. -.SECONDEXPANSION: RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern generated clean-generated .PHONY: all rom modern compare @@ -330,7 +328,10 @@ endef # Calls SCANINC to find dependencies define C_SCANINC ifneq ($(NODEP),1) -$1.o: $2 $$(shell $(SCANINC) $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include -I gflib $2) +$1.o: $1.d +$1.d: $2 + $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include -I gflib $2 +include $1.d endif endef @@ -359,7 +360,10 @@ endef define ASM_SCANINC ifneq ($(NODEP),1) -$1.o: $2 $$(shell $(SCANINC) $(INCLUDE_SCANINC_ARGS) -I "" $2) +$1.o: $1.d +$1.d: $2 + $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I "" $2 +include $1.d endif endef diff --git a/tools/scaninc/scaninc.cpp b/tools/scaninc/scaninc.cpp index dcb16c0e79..f5ee7ad6de 100644 --- a/tools/scaninc/scaninc.cpp +++ b/tools/scaninc/scaninc.cpp @@ -24,6 +24,9 @@ #include #include #include +#include +#include +#include #include "scaninc.h" #include "source_file.h" @@ -38,15 +41,19 @@ bool CanOpenFile(std::string path) return true; } -const char *const USAGE = "Usage: scaninc [-I INCLUDE_PATH] FILE_PATH\n"; +const char *const USAGE = "Usage: scaninc [-I INCLUDE_PATH] [-M DEPENDENCY_OUT_PATH] FILE_PATH\n"; int main(int argc, char **argv) { std::queue filesToProcess; std::set dependencies; + std::set dependencies_includes; std::vector includeDirs; + bool makeformat = false; + std::string make_outfile; + argc--; argv++; @@ -68,6 +75,13 @@ int main(int argc, char **argv) } includeDirs.push_back(includeDir); } + else if(arg.substr(0, 2) == "-M") + { + makeformat = true; + argc--; + argv++; + make_outfile = std::string(argv[0]); + } else { FATAL_ERROR(USAGE); @@ -112,6 +126,7 @@ int main(int argc, char **argv) { path = include; } + dependencies_includes.insert(path); bool inserted = dependencies.insert(path).second; if (inserted && exists) { @@ -121,8 +136,36 @@ int main(int argc, char **argv) includeDirs.pop_back(); } - for (const std::string &path : dependencies) + if(!makeformat) { - std::printf("%s\n", path.c_str()); + for (const std::string &path : dependencies) + { + std::printf("%s\n", path.c_str()); + } + std::cout << std::endl; + } + else + { + // Write out make rules to a file + std::ofstream output(make_outfile); + + // Print a make rule for the object file + size_t ext_pos = make_outfile.find_last_of("."); + auto object_file = make_outfile.substr(0, ext_pos + 1) + "o"; + output << object_file.c_str() << ": "; + for (const std::string &path : dependencies) + { + output << path << " "; + } + + // Dependency list rule. + // Although these rules are identical, they need to be separate, else make will trigger the rule again after the file is created for the first time. + output << "\n" << make_outfile.c_str() << ": "; + for (const std::string &path : dependencies_includes) + { + output << path << " "; + } + output.flush(); + output.close(); } } From 85f4ca69434a9bfe05fe8e0f3c16efe953eded2a Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Wed, 15 Nov 2023 13:26:49 +1300 Subject: [PATCH 004/278] All `mid2agb` songs are controlled by a `midi.cfg` file --- songs.mk | 1277 +------------------------------------ sound/songs/midi/midi.cfg | 420 ++++++++++++ 2 files changed, 438 insertions(+), 1259 deletions(-) create mode 100644 sound/songs/midi/midi.cfg diff --git a/songs.mk b/songs.mk index 698f983ceb..feef64cf5b 100644 --- a/songs.mk +++ b/songs.mk @@ -1,1264 +1,23 @@ -STD_REVERB = 50 +# This file contains rules for making assemblies for most music in the game. -$(MID_BUILDDIR)/%.o: $(MID_SUBDIR)/%.s - $(AS) $(ASFLAGS) -I sound -o $@ $< +MID_ASM_DIR = $(MID_SUBDIR) -$(MID_SUBDIR)/mus_aqua_magma_hideout.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G076 -V084 +# For each line in midi.cfg, we do some trickery to convert it into a make rule for the `.mid` file described on the line +# Data following the colon in said file corresponds to arguments passed into mid2agb +MID_CFG_PATH := $(MID_SUBDIR)/midi.cfg -$(MID_SUBDIR)/mus_encounter_aqua.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G065 -V086 +# $1: Source path no extension, $2 Options +define MID_RULE +$(MID_ASM_DIR)/$1.s: $(MID_SUBDIR)/$1.mid + $(MID) $$< $$@ $2 +endef +# source path, remaining text (options) +define MID_EXPANSION + $(eval $(call MID_RULE,$(basename $(patsubst %:,%,$(word 1,$1))),$(wordlist 2,999,$1))) +endef -$(MID_SUBDIR)/mus_route111.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G055 -V076 +$(foreach line,$(shell cat $(MID_CFG_PATH) | sed "s/ /__SPACE__/g"),$(call MID_EXPANSION,$(subst __SPACE__, ,$(line)))) -$(MID_SUBDIR)/mus_encounter_suspicious.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G069 -V078 - -$(MID_SUBDIR)/mus_b_arena.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G104 -V090 - -$(MID_SUBDIR)/mus_b_dome.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G111 -V090 - -$(MID_SUBDIR)/mus_b_dome_lobby.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G111 -V056 - -$(MID_SUBDIR)/mus_b_factory.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G113 -V100 - -$(MID_SUBDIR)/mus_b_frontier.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G103 -V094 - -$(MID_SUBDIR)/mus_b_palace.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G108 -V105 - -$(MID_SUBDIR)/mus_b_tower_rs.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G035 -V080 - -$(MID_SUBDIR)/mus_b_pike.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G112 -V092 - -$(MID_SUBDIR)/mus_vs_trainer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G119 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_wild.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G117 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_aqua_magma_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G126 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_aqua_magma.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G118 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_gym_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G120 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_champion.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G121 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_kyogre_groudon.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G123 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_rival.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G124 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_regi.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G122 -V080 -P1 - -$(MID_SUBDIR)/mus_vs_elite_four.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G125 -V080 -P1 - -$(MID_SUBDIR)/mus_roulette.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G038 -V080 - -$(MID_SUBDIR)/mus_lilycove_museum.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G020 -V080 - -$(MID_SUBDIR)/mus_encounter_brendan.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G067 -V078 - -$(MID_SUBDIR)/mus_encounter_male.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G028 -V080 - -$(MID_SUBDIR)/mus_victory_road.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G075 -V076 - -$(MID_SUBDIR)/mus_game_corner.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G072 -V072 - -$(MID_SUBDIR)/mus_contest_winner.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G085 -V100 - -$(MID_SUBDIR)/mus_contest_results.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G092 -V080 - -$(MID_SUBDIR)/mus_contest_lobby.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G098 -V060 - -$(MID_SUBDIR)/mus_contest.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G086 -V088 - -$(MID_SUBDIR)/mus_cycling.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G049 -V083 - -$(MID_SUBDIR)/mus_encounter_champion.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G100 -V076 - -$(MID_SUBDIR)/mus_petalburg_woods.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G018 -V080 - -$(MID_SUBDIR)/mus_abandoned_ship.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G030 -V080 - -$(MID_SUBDIR)/mus_cave_of_origin.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G037 -V080 - -$(MID_SUBDIR)/mus_underwater.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G057 -V094 - -$(MID_SUBDIR)/mus_intro.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G060 -V090 - -$(MID_SUBDIR)/mus_hall_of_fame.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G082 -V078 - -$(MID_SUBDIR)/mus_route110.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G010 -V080 - -$(MID_SUBDIR)/mus_route120.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G014 -V080 - -$(MID_SUBDIR)/mus_route122.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G021 -V080 - -$(MID_SUBDIR)/mus_route101.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G011 -V080 - -$(MID_SUBDIR)/mus_dummy.s: %.s: %.mid - $(MID) $< $@ -E -R40 - -$(MID_SUBDIR)/mus_hall_of_fame_room.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G093 -V080 - -$(MID_SUBDIR)/mus_end.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G102 -V036 - -$(MID_SUBDIR)/mus_help.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G056 -V078 - -$(MID_SUBDIR)/mus_level_up.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_obtain_item.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_evolved.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_gsc_route38.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -V080 - -$(MID_SUBDIR)/mus_slateport.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G079 -V070 - -$(MID_SUBDIR)/mus_poke_mart.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G050 -V085 - -$(MID_SUBDIR)/mus_oceanic_museum.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G023 -V080 - -$(MID_SUBDIR)/mus_gym.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G013 -V080 - -$(MID_SUBDIR)/mus_encounter_may.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G061 -V078 - -$(MID_SUBDIR)/mus_encounter_female.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G053 -V072 - -$(MID_SUBDIR)/mus_verdanturf.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G044 -V090 - -$(MID_SUBDIR)/mus_rustboro.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G045 -V085 - -$(MID_SUBDIR)/mus_route119.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G048 -V096 - -$(MID_SUBDIR)/mus_encounter_intense.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G062 -V078 - -$(MID_SUBDIR)/mus_weather_groudon.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G090 -V050 - -$(MID_SUBDIR)/mus_dewford.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G073 -V078 - -$(MID_SUBDIR)/mus_encounter_twins.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G095 -V075 - -$(MID_SUBDIR)/mus_encounter_interviewer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G099 -V062 - -$(MID_SUBDIR)/mus_victory_trainer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G058 -V091 - -$(MID_SUBDIR)/mus_victory_wild.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G025 -V080 - -$(MID_SUBDIR)/mus_victory_gym_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G024 -V080 - -$(MID_SUBDIR)/mus_victory_aqua_magma.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G070 -V088 - -$(MID_SUBDIR)/mus_victory_league.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G029 -V080 - -$(MID_SUBDIR)/mus_caught.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G025 -V080 - -$(MID_SUBDIR)/mus_encounter_cool.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G063 -V086 - -$(MID_SUBDIR)/mus_trick_house.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G094 -V070 - -$(MID_SUBDIR)/mus_route113.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G064 -V084 - -$(MID_SUBDIR)/mus_sailing.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G077 -V086 - -$(MID_SUBDIR)/mus_mt_pyre.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G078 -V088 - -$(MID_SUBDIR)/mus_sealed_chamber.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G084 -V100 - -$(MID_SUBDIR)/mus_petalburg.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G015 -V080 - -$(MID_SUBDIR)/mus_fortree.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G032 -V080 - -$(MID_SUBDIR)/mus_oldale.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G019 -V080 - -$(MID_SUBDIR)/mus_mt_pyre_exterior.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G080 -V080 - -$(MID_SUBDIR)/mus_heal.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_slots_jackpot.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_slots_win.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_obtain_badge.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_obtain_berry.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_obtain_b_points.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G103 -V090 -P5 - -$(MID_SUBDIR)/mus_rg_photo.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G180 -V100 -P5 - -$(MID_SUBDIR)/mus_evolution_intro.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G026 -V080 - -$(MID_SUBDIR)/mus_obtain_symbol.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G103 -V100 -P5 - -$(MID_SUBDIR)/mus_awaken_legend.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_register_match_call.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G105 -V090 -P5 - -$(MID_SUBDIR)/mus_move_deleted.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_obtain_tmhm.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_too_bad.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G012 -V090 -P5 - -$(MID_SUBDIR)/mus_encounter_magma.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G087 -V072 - -$(MID_SUBDIR)/mus_lilycove.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G054 -V085 - -$(MID_SUBDIR)/mus_littleroot.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G051 -V100 - -$(MID_SUBDIR)/mus_surf.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G017 -V080 - -$(MID_SUBDIR)/mus_route104.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G047 -V097 - -$(MID_SUBDIR)/mus_gsc_pewter.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -V080 - -$(MID_SUBDIR)/mus_birch_lab.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G033 -V080 - -$(MID_SUBDIR)/mus_abnormal_weather.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G089 -V080 - -$(MID_SUBDIR)/mus_school.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G081 -V100 - -$(MID_SUBDIR)/mus_c_comm_center.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -V080 - -$(MID_SUBDIR)/mus_poke_center.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G046 -V092 - -$(MID_SUBDIR)/mus_b_pyramid.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G106 -V079 - -$(MID_SUBDIR)/mus_b_pyramid_top.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G107 -V077 - -$(MID_SUBDIR)/mus_ever_grande.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G068 -V086 - -$(MID_SUBDIR)/mus_rayquaza_appears.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G109 -V090 - -$(MID_SUBDIR)/mus_rg_rocket_hideout.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G133 -V090 - -$(MID_SUBDIR)/mus_rg_follow_me.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G131 -V068 - -$(MID_SUBDIR)/mus_rg_victory_road.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G154 -V090 - -$(MID_SUBDIR)/mus_rg_cycling.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G141 -V090 - -$(MID_SUBDIR)/mus_rg_intro_fight.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G136 -V090 - -$(MID_SUBDIR)/mus_rg_hall_of_fame.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G145 -V079 - -$(MID_SUBDIR)/mus_rg_encounter_deoxys.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G184 -V079 - -$(MID_SUBDIR)/mus_rg_credits.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G149 -V090 - -$(MID_SUBDIR)/mus_rg_encounter_gym_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G144 -V090 - -$(MID_SUBDIR)/mus_rg_dex_rating.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G175 -V070 -P5 - -$(MID_SUBDIR)/mus_rg_obtain_key_item.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G178 -V077 -P5 - -$(MID_SUBDIR)/mus_rg_caught_intro.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G179 -V094 -P5 - -$(MID_SUBDIR)/mus_rg_caught.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G170 -V100 - -$(MID_SUBDIR)/mus_rg_cinnabar.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G138 -V090 - -$(MID_SUBDIR)/mus_rg_gym.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G134 -V090 - -$(MID_SUBDIR)/mus_rg_fuchsia.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G167 -V090 - -$(MID_SUBDIR)/mus_rg_poke_jump.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G132 -V090 - -$(MID_SUBDIR)/mus_rg_heal.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G140 -V090 - -$(MID_SUBDIR)/mus_rg_oak_lab.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G160 -V075 - -$(MID_SUBDIR)/mus_rg_berry_pick.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G132 -V090 - -$(MID_SUBDIR)/mus_rg_vermillion.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G172 -V090 - -$(MID_SUBDIR)/mus_rg_route1.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G150 -V079 - -$(MID_SUBDIR)/mus_rg_route3.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G152 -V083 - -$(MID_SUBDIR)/mus_rg_route11.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G153 -V090 - -$(MID_SUBDIR)/mus_rg_pallet.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G159 -V100 - -$(MID_SUBDIR)/mus_rg_surf.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G164 -V071 - -$(MID_SUBDIR)/mus_rg_sevii_45.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G188 -V084 - -$(MID_SUBDIR)/mus_rg_sevii_67.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G189 -V084 - -$(MID_SUBDIR)/mus_rg_sevii_123.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G173 -V084 - -$(MID_SUBDIR)/mus_rg_sevii_cave.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G147 -V090 - -$(MID_SUBDIR)/mus_rg_sevii_dungeon.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G146 -V090 - -$(MID_SUBDIR)/mus_rg_sevii_route.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G187 -V080 - -$(MID_SUBDIR)/mus_rg_net_center.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G162 -V096 - -$(MID_SUBDIR)/mus_rg_pewter.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G173 -V084 - -$(MID_SUBDIR)/mus_rg_oak.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G161 -V086 - -$(MID_SUBDIR)/mus_rg_mystery_gift.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G183 -V100 - -$(MID_SUBDIR)/mus_rg_route24.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G151 -V086 - -$(MID_SUBDIR)/mus_rg_teachy_tv_show.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G131 -V068 - -$(MID_SUBDIR)/mus_rg_mt_moon.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G147 -V090 - -$(MID_SUBDIR)/mus_rg_poke_tower.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G165 -V090 - -$(MID_SUBDIR)/mus_rg_poke_center.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G162 -V096 - -$(MID_SUBDIR)/mus_rg_poke_flute.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G165 -V048 -P5 - -$(MID_SUBDIR)/mus_rg_poke_mansion.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G148 -V090 - -$(MID_SUBDIR)/mus_rg_jigglypuff.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G135 -V068 -P5 - -$(MID_SUBDIR)/mus_rg_encounter_rival.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G174 -V079 - -$(MID_SUBDIR)/mus_rg_rival_exit.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G174 -V079 - -$(MID_SUBDIR)/mus_rg_encounter_rocket.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G142 -V096 - -$(MID_SUBDIR)/mus_rg_ss_anne.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G163 -V090 - -$(MID_SUBDIR)/mus_rg_new_game_exit.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G182 -V088 - -$(MID_SUBDIR)/mus_rg_new_game_intro.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G182 -V088 - -$(MID_SUBDIR)/mus_rg_lavender.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G139 -V090 - -$(MID_SUBDIR)/mus_rg_silph.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G166 -V076 - -$(MID_SUBDIR)/mus_rg_encounter_girl.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G143 -V051 - -$(MID_SUBDIR)/mus_rg_encounter_boy.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G144 -V090 - -$(MID_SUBDIR)/mus_rg_game_corner.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G132 -V090 - -$(MID_SUBDIR)/mus_rg_slow_pallet.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G159 -V092 - -$(MID_SUBDIR)/mus_rg_new_game_instruct.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G182 -V085 - -$(MID_SUBDIR)/mus_rg_viridian_forest.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G146 -V090 - -$(MID_SUBDIR)/mus_rg_trainer_tower.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G134 -V090 - -$(MID_SUBDIR)/mus_rg_celadon.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G168 -V070 - -$(MID_SUBDIR)/mus_rg_title.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G137 -V090 - -$(MID_SUBDIR)/mus_rg_game_freak.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G181 -V075 - -$(MID_SUBDIR)/mus_rg_teachy_tv_menu.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G186 -V059 - -$(MID_SUBDIR)/mus_rg_union_room.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G132 -V090 - -$(MID_SUBDIR)/mus_rg_vs_legend.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G157 -V090 - -$(MID_SUBDIR)/mus_rg_vs_deoxys.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G185 -V080 - -$(MID_SUBDIR)/mus_rg_vs_gym_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G155 -V090 - -$(MID_SUBDIR)/mus_rg_vs_champion.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G158 -V090 - -$(MID_SUBDIR)/mus_rg_vs_mewtwo.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G157 -V090 - -$(MID_SUBDIR)/mus_rg_vs_trainer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G156 -V090 - -$(MID_SUBDIR)/mus_rg_vs_wild.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G157 -V090 - -$(MID_SUBDIR)/mus_rg_victory_gym_leader.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G171 -V090 - -$(MID_SUBDIR)/mus_rg_victory_trainer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G169 -V089 - -$(MID_SUBDIR)/mus_rg_victory_wild.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G170 -V090 - -$(MID_SUBDIR)/mus_cable_car.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G071 -V078 - -$(MID_SUBDIR)/mus_sootopolis.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G091 -V062 - -$(MID_SUBDIR)/mus_safari_zone.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G074 -V082 - -$(MID_SUBDIR)/mus_b_tower.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G110 -V100 - -$(MID_SUBDIR)/mus_evolution.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G026 -V080 - -$(MID_SUBDIR)/mus_encounter_elite_four.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G096 -V078 - -$(MID_SUBDIR)/mus_c_vs_legend_beast.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -V080 - -$(MID_SUBDIR)/mus_encounter_swimmer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G036 -V080 - -$(MID_SUBDIR)/mus_encounter_girl.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G027 -V080 - -$(MID_SUBDIR)/mus_intro_battle.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G088 -V088 - -$(MID_SUBDIR)/mus_encounter_rich.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G043 -V094 - -$(MID_SUBDIR)/mus_link_contest_p1.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G039 -V079 - -$(MID_SUBDIR)/mus_link_contest_p2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G040 -V090 - -$(MID_SUBDIR)/mus_link_contest_p3.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G041 -V075 - -$(MID_SUBDIR)/mus_link_contest_p4.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G042 -V090 - -$(MID_SUBDIR)/mus_littleroot_test.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G034 -V099 - -$(MID_SUBDIR)/mus_credits.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G101 -V100 - -$(MID_SUBDIR)/mus_title.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G059 -V090 - -$(MID_SUBDIR)/mus_fallarbor.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G083 -V100 - -$(MID_SUBDIR)/mus_mt_chimney.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G052 -V078 - -$(MID_SUBDIR)/mus_follow_me.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G066 -V074 - -$(MID_SUBDIR)/mus_vs_frontier_brain.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G115 -V090 -P1 - -$(MID_SUBDIR)/mus_vs_mew.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G116 -V090 - -$(MID_SUBDIR)/mus_vs_rayquaza.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G114 -V080 -P1 - -$(MID_SUBDIR)/mus_encounter_hiker.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G097 -V076 - -$(MID_SUBDIR)/ph_choice_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_choice_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_choice_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cloth_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cloth_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cloth_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cure_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cure_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_cure_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_dress_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_dress_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_dress_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_face_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_face_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_face_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_fleece_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_fleece_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_fleece_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_foot_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_foot_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_foot_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goat_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goat_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goat_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goose_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goose_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_goose_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_kit_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_kit_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_kit_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_lot_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_lot_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_lot_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_mouth_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_mouth_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_mouth_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_nurse_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_nurse_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_nurse_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_price_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_price_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_price_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_strut_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_strut_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_strut_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_thought_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_thought_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_thought_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_trap_blend.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_trap_held.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/ph_trap_solo.s: %.s: %.mid - $(MID) $< $@ -E -G130 -P4 - -$(MID_SUBDIR)/se_a.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P4 - -$(MID_SUBDIR)/se_bang.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_taillow_wing_flap.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P5 - -$(MID_SUBDIR)/se_glass_flute.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P5 - -$(MID_SUBDIR)/se_boo.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P4 - -$(MID_SUBDIR)/se_ball.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V070 -P4 - -$(MID_SUBDIR)/se_ball_open.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_mugshot.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P5 - -$(MID_SUBDIR)/se_contest_heart.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P5 - -$(MID_SUBDIR)/se_contest_curtain_fall.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V070 -P5 - -$(MID_SUBDIR)/se_contest_curtain_rise.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V070 -P5 - -$(MID_SUBDIR)/se_contest_icon_change.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5 - -$(MID_SUBDIR)/se_contest_mons_turn.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P5 - -$(MID_SUBDIR)/se_contest_icon_clear.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P5 - -$(MID_SUBDIR)/se_card.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P4 - -$(MID_SUBDIR)/se_pike_curtain_close.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_pike_curtain_open.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_ledge.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P4 - -$(MID_SUBDIR)/se_itemfinder.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P5 - -$(MID_SUBDIR)/se_applause.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P5 - -$(MID_SUBDIR)/se_field_poison.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P5 - -$(MID_SUBDIR)/se_door.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V080 -P5 - -$(MID_SUBDIR)/se_e.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4 - -$(MID_SUBDIR)/se_elevator.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_escalator.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_exp.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V080 -P5 - -$(MID_SUBDIR)/se_exp_max.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V094 -P5 - -$(MID_SUBDIR)/se_fu_zaku.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V120 -P4 - -$(MID_SUBDIR)/se_contest_condition_lose.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P4 - -$(MID_SUBDIR)/se_lavaridge_fall_warp.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -P4 - -$(MID_SUBDIR)/se_balloon_red.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4 - -$(MID_SUBDIR)/se_balloon_blue.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4 - -$(MID_SUBDIR)/se_balloon_yellow.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4 - -$(MID_SUBDIR)/se_arena_timeup1.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_arena_timeup2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_bridge_walk.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P4 - -$(MID_SUBDIR)/se_failure.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V120 -P4 - -$(MID_SUBDIR)/se_rotating_gate.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_low_health.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P3 - -$(MID_SUBDIR)/se_i.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4 - -$(MID_SUBDIR)/se_sliding_door.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P4 - -$(MID_SUBDIR)/se_vend.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_bike_hop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4 - -$(MID_SUBDIR)/se_bike_bell.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_contest_place.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P4 - -$(MID_SUBDIR)/se_exit.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V120 -P5 - -$(MID_SUBDIR)/se_use_item.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_unlock.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_ball_bounce_1.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_ball_bounce_2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_ball_bounce_3.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_ball_bounce_4.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_super_effective.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P5 - -$(MID_SUBDIR)/se_not_effective.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P5 - -$(MID_SUBDIR)/se_effective.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P5 - -$(MID_SUBDIR)/se_puddle.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V020 -P4 - -$(MID_SUBDIR)/se_berry_blender.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_switch.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P4 - -$(MID_SUBDIR)/se_n.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4 - -$(MID_SUBDIR)/se_ball_throw.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P5 - -$(MID_SUBDIR)/se_ship.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V075 -P4 - -$(MID_SUBDIR)/se_flee.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P5 - -$(MID_SUBDIR)/se_o.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4 - -$(MID_SUBDIR)/se_intro_blast.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_pc_login.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_pc_off.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_pc_on.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_pin.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V060 -P4 - -$(MID_SUBDIR)/se_ding_dong.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P5 - -$(MID_SUBDIR)/se_pokenav_off.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_pokenav_on.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_faint.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P5 - -$(MID_SUBDIR)/se_shiny.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P5 - -$(MID_SUBDIR)/se_shop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P5 - -$(MID_SUBDIR)/se_rg_bag_cursor.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_rg_bag_pocket.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_rg_card_flip.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_rg_card_flipping.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -P5 - -$(MID_SUBDIR)/se_rg_card_open.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V112 -P5 - -$(MID_SUBDIR)/se_rg_deoxys_move.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V080 -P5 - -$(MID_SUBDIR)/se_rg_poke_jump_success.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5 - -$(MID_SUBDIR)/se_rg_ball_click.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V100 -P5 - -$(MID_SUBDIR)/se_rg_help_close.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V095 -P5 - -$(MID_SUBDIR)/se_rg_help_error.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V125 -P5 - -$(MID_SUBDIR)/se_rg_help_open.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V096 -P5 - -$(MID_SUBDIR)/se_rg_ss_anne_horn.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V096 -P5 - -$(MID_SUBDIR)/se_rg_poke_jump_failure.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -P5 - -$(MID_SUBDIR)/se_rg_shop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V080 -P5 - -$(MID_SUBDIR)/se_rg_door.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V100 -P5 - -$(MID_SUBDIR)/se_ice_crack.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P4 - -$(MID_SUBDIR)/se_ice_stairs.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_ice_break.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_fall.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_save.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V080 -P5 - -$(MID_SUBDIR)/se_success.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V080 -P4 - -$(MID_SUBDIR)/se_select.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V080 -P5 - -$(MID_SUBDIR)/se_ball_trade.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_thunderstorm.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V080 -P2 - -$(MID_SUBDIR)/se_thunderstorm_stop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V080 -P2 - -$(MID_SUBDIR)/se_thunder.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P3 - -$(MID_SUBDIR)/se_thunder2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P3 - -$(MID_SUBDIR)/se_rain.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V080 -P2 - -$(MID_SUBDIR)/se_rain_stop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V080 -P2 - -$(MID_SUBDIR)/se_downpour.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P2 - -$(MID_SUBDIR)/se_downpour_stop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P2 - -$(MID_SUBDIR)/se_orb.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P5 - -$(MID_SUBDIR)/se_egg_hatch.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P5 - -$(MID_SUBDIR)/se_roulette_ball.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P2 - -$(MID_SUBDIR)/se_roulette_ball2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P2 - -$(MID_SUBDIR)/se_ball_tray_exit.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V100 -P5 - -$(MID_SUBDIR)/se_ball_tray_ball.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5 - -$(MID_SUBDIR)/se_ball_tray_enter.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P5 - -$(MID_SUBDIR)/se_click.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V110 -P4 - -$(MID_SUBDIR)/se_warp_in.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4 - -$(MID_SUBDIR)/se_warp_out.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4 - -$(MID_SUBDIR)/se_pokenav_call.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V120 -P5 - -$(MID_SUBDIR)/se_pokenav_hang_up.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V110 -P5 - -$(MID_SUBDIR)/se_note_a.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_b.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_c.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_c_high.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_d.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_mud_ball.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_e.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_f.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_note_g.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_breakable_door.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_truck_door.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_truck_unload.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -P4 - -$(MID_SUBDIR)/se_truck_move.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4 - -$(MID_SUBDIR)/se_truck_stop.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4 - -$(MID_SUBDIR)/se_repel.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -V090 -P4 - -$(MID_SUBDIR)/se_u.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -P4 - -$(MID_SUBDIR)/se_sudowoodo_shake.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G129 -V077 -P5 - -$(MID_SUBDIR)/se_m_double_slap.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_comet_punch.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4 - -$(MID_SUBDIR)/se_m_pay_day.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V095 -P4 - -$(MID_SUBDIR)/se_m_fire_punch.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_scratch.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_vicegrip.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_razor_wind.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_razor_wind2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_m_swords_dance.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_m_cut.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V120 -P4 - -$(MID_SUBDIR)/se_m_gust.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_gust2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_wing_attack.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4 - -$(MID_SUBDIR)/se_m_fly.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_bind.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V100 -P4 - -$(MID_SUBDIR)/se_m_mega_kick.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V090 -P4 - -$(MID_SUBDIR)/se_m_mega_kick2.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_jump_kick.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_sand_attack.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_headbutt.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_horn_attack.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_take_down.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V105 -P4 - -$(MID_SUBDIR)/se_m_tail_whip.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_m_leer.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G128 -V110 -P4 - -$(MID_SUBDIR)/se_dex_search.s: %.s: %.mid - $(MID) $< $@ -E -R$(STD_REVERB) -G127 -v100 -P5 +# Warn users building without a .cfg - build will fail at link time +$(MID_ASM_DIR)/%.s: $(MID_SUBDIR)/%.mid + $(warning $< does not have an associated entry in midi.cfg! It cannot be built) \ No newline at end of file diff --git a/sound/songs/midi/midi.cfg b/sound/songs/midi/midi.cfg new file mode 100644 index 0000000000..439778e9bd --- /dev/null +++ b/sound/songs/midi/midi.cfg @@ -0,0 +1,420 @@ +mus_abandoned_ship.mid: -E -R50 -G030 -V080 +mus_abnormal_weather.mid: -E -R50 -G089 -V080 +mus_aqua_magma_hideout.mid: -E -R50 -G076 -V084 +mus_awaken_legend.mid: -E -R50 -G012 -V090 -P5 +mus_b_arena.mid: -E -R50 -G104 -V090 +mus_b_dome_lobby.mid: -E -R50 -G111 -V056 +mus_b_dome.mid: -E -R50 -G111 -V090 +mus_b_factory.mid: -E -R50 -G113 -V100 +mus_b_frontier.mid: -E -R50 -G103 -V094 +mus_b_palace.mid: -E -R50 -G108 -V105 +mus_b_pike.mid: -E -R50 -G112 -V092 +mus_b_pyramid_top.mid: -E -R50 -G107 -V077 +mus_b_pyramid.mid: -E -R50 -G106 -V079 +mus_b_tower_rs.mid: -E -R50 -G035 -V080 +mus_b_tower.mid: -E -R50 -G110 -V100 +mus_birch_lab.mid: -E -R50 -G033 -V080 +mus_c_comm_center.mid: -E -R50 -V080 +mus_c_vs_legend_beast.mid: -E -R50 -V080 +mus_cable_car.mid: -E -R50 -G071 -V078 +mus_caught.mid: -E -R50 -G025 -V080 +mus_cave_of_origin.mid: -E -R50 -G037 -V080 +mus_contest_lobby.mid: -E -R50 -G098 -V060 +mus_contest_results.mid: -E -R50 -G092 -V080 +mus_contest_winner.mid: -E -R50 -G085 -V100 +mus_contest.mid: -E -R50 -G086 -V088 +mus_credits.mid: -E -R50 -G101 -V100 +mus_cycling.mid: -E -R50 -G049 -V083 +mus_dewford.mid: -E -R50 -G073 -V078 +mus_dummy.mid: -E -R40 +mus_encounter_aqua.mid: -E -R50 -G065 -V086 +mus_encounter_brendan.mid: -E -R50 -G067 -V078 +mus_encounter_champion.mid: -E -R50 -G100 -V076 +mus_encounter_cool.mid: -E -R50 -G063 -V086 +mus_encounter_elite_four.mid: -E -R50 -G096 -V078 +mus_encounter_female.mid: -E -R50 -G053 -V072 +mus_encounter_girl.mid: -E -R50 -G027 -V080 +mus_encounter_hiker.mid: -E -R50 -G097 -V076 +mus_encounter_intense.mid: -E -R50 -G062 -V078 +mus_encounter_interviewer.mid: -E -R50 -G099 -V062 +mus_encounter_magma.mid: -E -R50 -G087 -V072 +mus_encounter_male.mid: -E -R50 -G028 -V080 +mus_encounter_may.mid: -E -R50 -G061 -V078 +mus_encounter_rich.mid: -E -R50 -G043 -V094 +mus_encounter_suspicious.mid: -E -R50 -G069 -V078 +mus_encounter_swimmer.mid: -E -R50 -G036 -V080 +mus_encounter_twins.mid: -E -R50 -G095 -V075 +mus_end.mid: -E -R50 -G102 -V036 +mus_ever_grande.mid: -E -R50 -G068 -V086 +mus_evolution_intro.mid: -E -R50 -G026 -V080 +mus_evolution.mid: -E -R50 -G026 -V080 +mus_evolved.mid: -E -R50 -G012 -V090 -P5 +mus_fallarbor.mid: -E -R50 -G083 -V100 +mus_follow_me.mid: -E -R50 -G066 -V074 +mus_fortree.mid: -E -R50 -G032 -V080 +mus_game_corner.mid: -E -R50 -G072 -V072 +mus_gsc_pewter.mid: -E -R50 -V080 +mus_gsc_route38.mid: -E -R50 -V080 +mus_gym.mid: -E -R50 -G013 -V080 +mus_hall_of_fame_room.mid: -E -R50 -G093 -V080 +mus_hall_of_fame.mid: -E -R50 -G082 -V078 +mus_heal.mid: -E -R50 -G012 -V090 -P5 +mus_help.mid: -E -R50 -G056 -V078 +mus_intro_battle.mid: -E -R50 -G088 -V088 +mus_intro.mid: -E -R50 -G060 -V090 +mus_level_up.mid: -E -R50 -G012 -V090 -P5 +mus_lilycove_museum.mid: -E -R50 -G020 -V080 +mus_lilycove.mid: -E -R50 -G054 -V085 +mus_link_contest_p1.mid: -E -R50 -G039 -V079 +mus_link_contest_p2.mid: -E -R50 -G040 -V090 +mus_link_contest_p3.mid: -E -R50 -G041 -V075 +mus_link_contest_p4.mid: -E -R50 -G042 -V090 +mus_littleroot_test.mid: -E -R50 -G034 -V099 +mus_littleroot.mid: -E -R50 -G051 -V100 +mus_move_deleted.mid: -E -R50 -G012 -V090 -P5 +mus_mt_chimney.mid: -E -R50 -G052 -V078 +mus_mt_pyre_exterior.mid: -E -R50 -G080 -V080 +mus_mt_pyre.mid: -E -R50 -G078 -V088 +mus_obtain_b_points.mid: -E -R50 -G103 -V090 -P5 +mus_obtain_badge.mid: -E -R50 -G012 -V090 -P5 +mus_obtain_berry.mid: -E -R50 -G012 -V090 -P5 +mus_obtain_item.mid: -E -R50 -G012 -V090 -P5 +mus_obtain_symbol.mid: -E -R50 -G103 -V100 -P5 +mus_obtain_tmhm.mid: -E -R50 -G012 -V090 -P5 +mus_oceanic_museum.mid: -E -R50 -G023 -V080 +mus_oldale.mid: -E -R50 -G019 -V080 +mus_petalburg_woods.mid: -E -R50 -G018 -V080 +mus_petalburg.mid: -E -R50 -G015 -V080 +mus_poke_center.mid: -E -R50 -G046 -V092 +mus_poke_mart.mid: -E -R50 -G050 -V085 +mus_rayquaza_appears.mid: -E -R50 -G109 -V090 +mus_register_match_call.mid: -E -R50 -G105 -V090 -P5 +mus_rg_berry_pick.mid: -E -R50 -G132 -V090 +mus_rg_caught_intro.mid: -E -R50 -G179 -V094 -P5 +mus_rg_caught.mid: -E -R50 -G170 -V100 +mus_rg_celadon.mid: -E -R50 -G168 -V070 +mus_rg_cinnabar.mid: -E -R50 -G138 -V090 +mus_rg_credits.mid: -E -R50 -G149 -V090 +mus_rg_cycling.mid: -E -R50 -G141 -V090 +mus_rg_dex_rating.mid: -E -R50 -G175 -V070 -P5 +mus_rg_encounter_boy.mid: -E -R50 -G144 -V090 +mus_rg_encounter_deoxys.mid: -E -R50 -G184 -V079 +mus_rg_encounter_girl.mid: -E -R50 -G143 -V051 +mus_rg_encounter_gym_leader: -E -R50 -G144 -V090 +mus_rg_encounter_rival.mid: -E -R50 -G174 -V079 +mus_rg_encounter_rocket.mid: -E -R50 -G142 -V096 +mus_rg_follow_me.mid: -E -R50 -G131 -V068 +mus_rg_fuchsia.mid: -E -R50 -G167 -V090 +mus_rg_game_corner.mid: -E -R50 -G132 -V090 +mus_rg_game_freak.mid: -E -R50 -G181 -V075 +mus_rg_gym.mid: -E -R50 -G134 -V090 +mus_rg_hall_of_fame.mid: -E -R50 -G145 -V079 +mus_rg_heal.mid: -E -R50 -G140 -V090 +mus_rg_intro_fight.mid: -E -R50 -G136 -V090 +mus_rg_jigglypuff.mid: -E -R50 -G135 -V068 -P5 +mus_rg_lavender.mid: -E -R50 -G139 -V090 +mus_rg_mt_moon.mid: -E -R50 -G147 -V090 +mus_rg_mystery_gift.mid: -E -R50 -G183 -V100 +mus_rg_net_center.mid: -E -R50 -G162 -V096 +mus_rg_new_game_exit.mid: -E -R50 -G182 -V088 +mus_rg_new_game_instruct.mid: -E -R50 -G182 -V085 +mus_rg_new_game_intro.mid: -E -R50 -G182 -V088 +mus_rg_oak_lab.mid: -E -R50 -G160 -V075 +mus_rg_oak.mid: -E -R50 -G161 -V086 +mus_rg_obtain_key_item.mid: -E -R50 -G178 -V077 -P5 +mus_rg_pallet.mid: -E -R50 -G159 -V100 +mus_rg_pewter.mid: -E -R50 -G173 -V084 +mus_rg_photo.mid: -E -R50 -G180 -V100 -P5 +mus_rg_poke_center.mid: -E -R50 -G162 -V096 +mus_rg_poke_flute.mid: -E -R50 -G165 -V048 -P5 +mus_rg_poke_jump.mid: -E -R50 -G132 -V090 +mus_rg_poke_mansion.mid: -E -R50 -G148 -V090 +mus_rg_poke_tower.mid: -E -R50 -G165 -V090 +mus_rg_rival_exit.mid: -E -R50 -G174 -V079 +mus_rg_rocket_hideout.mid: -E -R50 -G133 -V090 +mus_rg_route1.mid: -E -R50 -G150 -V079 +mus_rg_route3.mid: -E -R50 -G152 -V083 +mus_rg_route11.mid: -E -R50 -G153 -V090 +mus_rg_route24.mid: -E -R50 -G151 -V086 +mus_rg_sevii_45.mid: -E -R50 -G188 -V084 +mus_rg_sevii_67.mid: -E -R50 -G189 -V084 +mus_rg_sevii_123.mid: -E -R50 -G173 -V084 +mus_rg_sevii_cave.mid: -E -R50 -G147 -V090 +mus_rg_sevii_dungeon.mid: -E -R50 -G146 -V090 +mus_rg_sevii_route.mid: -E -R50 -G187 -V080 +mus_rg_silph.mid: -E -R50 -G166 -V076 +mus_rg_slow_pallet.mid: -E -R50 -G159 -V092 +mus_rg_ss_anne.mid: -E -R50 -G163 -V090 +mus_rg_surf.mid: -E -R50 -G164 -V071 +mus_rg_teachy_tv_menu.mid: -E -R50 -G186 -V059 +mus_rg_teachy_tv_show.mid: -E -R50 -G131 -V068 +mus_rg_title.mid: -E -R50 -G137 -V090 +mus_rg_trainer_tower.mid: -E -R50 -G134 -V090 +mus_rg_union_room.mid: -E -R50 -G132 -V090 +mus_rg_vermillion.mid: -E -R50 -G172 -V090 +mus_rg_victory_gym_leader.mid: -E -R50 -G171 -V090 +mus_rg_victory_road.mid: -E -R50 -G154 -V090 +mus_rg_victory_trainer.mid: -E -R50 -G169 -V089 +mus_rg_victory_wild.mid: -E -R50 -G170 -V090 +mus_rg_viridian_forest.mid: -E -R50 -G146 -V090 +mus_rg_vs_champion.mid: -E -R50 -G158 -V090 +mus_rg_vs_deoxys.mid: -E -R50 -G185 -V080 +mus_rg_vs_gym_leader.mid: -E -R50 -G155 -V090 +mus_rg_vs_legend.mid: -E -R50 -G157 -V090 +mus_rg_vs_mewtwo.mid: -E -R50 -G157 -V090 +mus_rg_vs_trainer.mid: -E -R50 -G156 -V090 +mus_rg_vs_wild.mid: -E -R50 -G157 -V090 +mus_roulette.mid: -E -R50 -G038 -V080 +mus_route101.mid: -E -R50 -G011 -V080 +mus_route104.mid: -E -R50 -G047 -V097 +mus_route110.mid: -E -R50 -G010 -V080 +mus_route111.mid: -E -R50 -G055 -V076 +mus_route113.mid: -E -R50 -G064 -V084 +mus_route119.mid: -E -R50 -G048 -V096 +mus_route120.mid: -E -R50 -G014 -V080 +mus_route122.mid: -E -R50 -G021 -V080 +mus_rustboro.mid: -E -R50 -G045 -V085 +mus_safari_zone.mid: -E -R50 -G074 -V082 +mus_sailing.mid: -E -R50 -G077 -V086 +mus_school.mid: -E -R50 -G081 -V100 +mus_sealed_chamber.mid: -E -R50 -G084 -V100 +mus_slateport.mid: -E -R50 -G079 -V070 +mus_slots_jackpot.mid: -E -R50 -G012 -V090 -P5 +mus_slots_win.mid: -E -R50 -G012 -V090 -P5 +mus_sootopolis.mid: -E -R50 -G091 -V062 +mus_surf.mid: -E -R50 -G017 -V080 +mus_title.mid: -E -R50 -G059 -V090 +mus_too_bad.mid: -E -R50 -G012 -V090 -P5 +mus_trick_house.mid: -E -R50 -G094 -V070 +mus_underwater.mid: -E -R50 -G057 -V094 +mus_verdanturf.mid: -E -R50 -G044 -V090 +mus_victory_aqua_magma.mid: -E -R50 -G070 -V088 +mus_victory_gym_leader.mid: -E -R50 -G024 -V080 +mus_victory_league.mid: -E -R50 -G029 -V080 +mus_victory_road.mid: -E -R50 -G075 -V076 +mus_victory_trainer.mid: -E -R50 -G058 -V091 +mus_victory_wild.mid: -E -R50 -G025 -V080 +mus_vs_aqua_magma_leader.mid: -E -R50 -G126 -V080 -P1 +mus_vs_aqua_magma.mid: -E -R50 -G118 -V080 -P1 +mus_vs_champion.mid: -E -R50 -G121 -V080 -P1 +mus_vs_elite_four.mid: -E -R50 -G125 -V080 -P1 +mus_vs_frontier_brain.mid: -E -R50 -G115 -V090 -P1 +mus_vs_gym_leader.mid: -E -R50 -G120 -V080 -P1 +mus_vs_kyogre_groudon.mid: -E -R50 -G123 -V080 -P1 +mus_vs_mew.mid: -E -R50 -G116 -V090 +mus_vs_rayquaza.mid: -E -R50 -G114 -V080 -P1 +mus_vs_regi.mid: -E -R50 -G122 -V080 -P1 +mus_vs_rival.mid: -E -R50 -G124 -V080 -P1 +mus_vs_trainer.mid: -E -R50 -G119 -V080 -P1 +mus_vs_wild.mid: -E -R50 -G117 -V080 -P1 +mus_weather_groudon.mid: -E -R50 -G090 -V050 +ph_choice_blend.mid: -E -G130 -P4 +ph_choice_held.mid: -E -G130 -P4 +ph_choice_solo.mid: -E -G130 -P4 +ph_cloth_blend.mid: -E -G130 -P4 +ph_cloth_held.mid: -E -G130 -P4 +ph_cloth_solo.mid: -E -G130 -P4 +ph_cure_blend.mid: -E -G130 -P4 +ph_cure_held.mid: -E -G130 -P4 +ph_cure_solo.mid: -E -G130 -P4 +ph_dress_blend.mid: -E -G130 -P4 +ph_dress_held.mid: -E -G130 -P4 +ph_dress_solo.mid: -E -G130 -P4 +ph_face_blend.mid: -E -G130 -P4 +ph_face_held.mid: -E -G130 -P4 +ph_face_solo.mid: -E -G130 -P4 +ph_fleece_blend.mid: -E -G130 -P4 +ph_fleece_held.mid: -E -G130 -P4 +ph_fleece_solo.mid: -E -G130 -P4 +ph_foot_blend.mid: -E -G130 -P4 +ph_foot_held.mid: -E -G130 -P4 +ph_foot_solo.mid: -E -G130 -P4 +ph_goat_blend.mid: -E -G130 -P4 +ph_goat_held.mid: -E -G130 -P4 +ph_goat_solo.mid: -E -G130 -P4 +ph_goose_blend.mid: -E -G130 -P4 +ph_goose_held.mid: -E -G130 -P4 +ph_goose_solo.mid: -E -G130 -P4 +ph_kit_blend.mid: -E -G130 -P4 +ph_kit_held.mid: -E -G130 -P4 +ph_kit_solo.mid: -E -G130 -P4 +ph_lot_blend.mid: -E -G130 -P4 +ph_lot_held.mid: -E -G130 -P4 +ph_lot_solo.mid: -E -G130 -P4 +ph_mouth_blend.mid: -E -G130 -P4 +ph_mouth_held.mid: -E -G130 -P4 +ph_mouth_solo.mid: -E -G130 -P4 +ph_nurse_blend.mid: -E -G130 -P4 +ph_nurse_held.mid: -E -G130 -P4 +ph_nurse_solo.mid: -E -G130 -P4 +ph_price_blend.mid: -E -G130 -P4 +ph_price_held.mid: -E -G130 -P4 +ph_price_solo.mid: -E -G130 -P4 +ph_strut_blend.mid: -E -G130 -P4 +ph_strut_held.mid: -E -G130 -P4 +ph_strut_solo.mid: -E -G130 -P4 +ph_thought_blend.mid: -E -G130 -P4 +ph_thought_held.mid: -E -G130 -P4 +ph_thought_solo.mid: -E -G130 -P4 +ph_trap_blend.mid: -E -G130 -P4 +ph_trap_held.mid: -E -G130 -P4 +ph_trap_solo.mid: -E -G130 -P4 +se_a.mid: -E -R50 -G128 -V095 -P4 +se_applause.mid: -E -R50 -G128 -V100 -P5 +se_arena_timeup1.mid: -E -R50 -G129 -P5 +se_arena_timeup2.mid: -E -R50 -G129 -P5 +se_ball_bounce_1.mid: -E -R50 -G128 -V100 -P4 +se_ball_bounce_2.mid: -E -R50 -G128 -V100 -P4 +se_ball_bounce_3.mid: -E -R50 -G128 -V100 -P4 +se_ball_bounce_4.mid: -E -R50 -G128 -V100 -P4 +se_ball_open.mid: -E -R50 -G127 -V100 -P5 +se_ball_throw.mid: -E -R50 -G128 -V120 -P5 +se_ball_trade.mid: -E -R50 -G127 -V100 -P5 +se_ball_tray_ball.mid: -E -R50 -G128 -V110 -P5 +se_ball_tray_enter.mid: -E -R50 -G128 -V110 -P5 +se_ball_tray_exit.mid: -E -R50 -G127 -V100 -P5 +se_ball.mid: -E -R50 -G127 -V070 -P4 +se_balloon_blue.mid: -E -R50 -G128 -V105 -P4 +se_balloon_red.mid: -E -R50 -G128 -V105 -P4 +se_balloon_yellow.mid: -E -R50 -G128 -V105 -P4 +se_bang.mid: -E -R50 -G128 -V110 -P4 +se_berry_blender.mid: -E -R50 -G128 -V090 -P4 +se_bike_bell.mid: -E -R50 -G128 -V090 -P4 +se_bike_hop.mid: -E -R50 -G127 -V090 -P4 +se_boo.mid: -E -R50 -G127 -V110 -P4 +se_breakable_door.mid: -E -R50 -G128 -V110 -P4 +se_bridge_walk.mid: -E -R50 -G128 -V095 -P4 +se_card.mid: -E -R50 -G127 -V100 -P4 +se_click.mid: -E -R50 -G127 -V110 -P4 +se_contest_condition_lose.mid: -E -R50 -G127 -V110 -P4 +se_contest_curtain_fall.mid: -E -R50 -G128 -V070 -P5 +se_contest_curtain_rise.mid: -E -R50 -G128 -V070 -P5 +se_contest_heart.mid: -E -R50 -G128 -V090 -P5 +se_contest_icon_change.mid: -E -R50 -G128 -V110 -P5 +se_contest_icon_clear.mid: -E -R50 -G128 -V090 -P5 +se_contest_mons_turn.mid: -E -R50 -G128 -V090 -P5 +se_contest_place.mid: -E -R50 -G127 -V110 -P4 +se_dex_search.mid: -E -R50 -G127 -v100 -P5 +se_ding_dong.mid: -E -R50 -G127 -V090 -P5 +se_door.mid: -E -R50 -G127 -V080 -P5 +se_downpour_stop.mid: -E -R50 -G128 -V100 -P2 +se_downpour.mid: -E -R50 -G128 -V100 -P2 +se_e.mid: -E -R50 -G128 -V120 -P4 +se_effective.mid: -E -R50 -G127 -V110 -P5 +se_egg_hatch.mid: -E -R50 -G128 -V120 -P5 +se_elevator.mid: -E -R50 -G128 -V100 -P4 +se_escalator.mid: -E -R50 -G128 -V100 -P4 +se_exit.mid: -E -R50 -G127 -V120 -P5 +se_exp_max.mid: -E -R50 -G128 -V094 -P5 +se_exp.mid: -E -R50 -G127 -V080 -P5 +se_failure.mid: -E -R50 -G127 -V120 -P4 +se_faint.mid: -E -R50 -G127 -V110 -P5 +se_fall.mid: -E -R50 -G128 -V110 -P4 +se_field_poison.mid: -E -R50 -G127 -V110 -P5 +se_flee.mid: -E -R50 -G127 -V090 -P5 +se_fu_zaku.mid: -E -R50 -G127 -V120 -P4 +se_glass_flute.mid: -E -R50 -G128 -V105 -P5 +se_i.mid: -E -R50 -G128 -V120 -P4 +se_ice_break.mid: -E -R50 -G128 -V100 -P4 +se_ice_crack.mid: -E -R50 -G127 -V100 -P4 +se_ice_stairs.mid: -E -R50 -G128 -V090 -P4 +se_intro_blast.mid: -E -R50 -G127 -V100 -P5 +se_itemfinder.mid: -E -R50 -G127 -V090 -P5 +se_lavaridge_fall_warp.mid: -E -R50 -G127 -P4 +se_ledge.mid: -E -R50 -G127 -V100 -P4 +se_low_health.mid: -E -R50 -G127 -V100 -P3 +se_m_bind.mid: -E -R50 -G128 -V100 -P4 +se_m_comet_punch.mid: -E -R50 -G128 -V120 -P4 +se_m_cut.mid: -E -R50 -G128 -V120 -P4 +se_m_double_slap.mid: -E -R50 -G128 -V110 -P4 +se_m_fire_punch.mid: -E -R50 -G128 -V110 -P4 +se_m_fly.mid: -E -R50 -G128 -V110 -P4 +se_m_gust.mid: -E -R50 -G128 -V110 -P4 +se_m_gust2.mid: -E -R50 -G128 -V110 -P4 +se_m_headbutt.mid: -E -R50 -G128 -V110 -P4 +se_m_horn_attack.mid: -E -R50 -G128 -V110 -P4 +se_m_jump_kick.mid: -E -R50 -G128 -V110 -P4 +se_m_leer.mid: -E -R50 -G128 -V110 -P4 +se_m_mega_kick.mid: -E -R50 -G128 -V090 -P4 +se_m_mega_kick2.mid: -E -R50 -G128 -V110 -P4 +se_m_pay_day.mid: -E -R50 -G128 -V095 -P4 +se_m_razor_wind.mid: -E -R50 -G128 -V110 -P4 +se_m_razor_wind2.mid: -E -R50 -G128 -V090 -P4 +se_m_sand_attack.mid: -E -R50 -G128 -V110 -P4 +se_m_scratch.mid: -E -R50 -G128 -V110 -P4 +se_m_swords_dance.mid: -E -R50 -G128 -V100 -P4 +se_m_tail_whip.mid: -E -R50 -G128 -V110 -P4 +se_m_take_down.mid: -E -R50 -G128 -V105 -P4 +se_m_vicegrip.mid: -E -R50 -G128 -V110 -P4 +se_m_wing_attack.mid: -E -R50 -G128 -V105 -P4 +se_mud_ball.mid: -E -R50 -G128 -V110 -P4 +se_mugshot.mid: -E -R50 -G128 -V090 -P5 +se_n.mid: -E -R50 -G128 -P4 +se_not_effective.mid: -E -R50 -G127 -V110 -P5 +se_note_a.mid: -E -R50 -G128 -V110 -P4 +se_note_b.mid: -E -R50 -G128 -V110 -P4 +se_note_c_high.mid: -E -R50 -G128 -V110 -P4 +se_note_c.mid: -E -R50 -G128 -V110 -P4 +se_note_d.mid: -E -R50 -G128 -V110 -P4 +se_note_e.mid: -E -R50 -G128 -V110 -P4 +se_note_f.mid: -E -R50 -G128 -V110 -P4 +se_note_g.mid: -E -R50 -G128 -V110 -P4 +se_o.mid: -E -R50 -G128 -V120 -P4 +se_orb.mid: -E -R50 -G128 -V100 -P5 +se_pc_login.mid: -E -R50 -G127 -V100 -P5 +se_pc_off.mid: -E -R50 -G127 -V100 -P5 +se_pc_on.mid: -E -R50 -G127 -V100 -P5 +se_pike_curtain_close.mid: -E -R50 -G129 -P5 +se_pike_curtain_open.mid: -E -R50 -G129 -P5 +se_pin.mid: -E -R50 -G127 -V060 -P4 +se_pokenav_call.mid: -E -R50 -G129 -V120 -P5 +se_pokenav_hang_up.mid: -E -R50 -G129 -V110 -P5 +se_pokenav_off.mid: -E -R50 -G127 -V100 -P5 +se_pokenav_on.mid: -E -R50 -G127 -V100 -P5 +se_puddle.mid: -E -R50 -G128 -V020 -P4 +se_rain_stop.mid: -E -R50 -G128 -V080 -P2 +se_rain.mid: -E -R50 -G128 -V080 -P2 +se_repel.mid: -E -R50 -G127 -V090 -P4 +se_rg_bag_cursor.mid: -E -R50 -G129 -P5 +se_rg_bag_pocket.mid: -E -R50 -G129 -P5 +se_rg_ball_click.mid: -E -R50 -G129 -V100 -P5 +se_rg_card_flip.mid: -E -R50 -G129 -P5 +se_rg_card_flipping.mid: -E -R50 -G129 -P5 +se_rg_card_open.mid: -E -R50 -G129 -V112 -P5 +se_rg_deoxys_move.mid: -E -R50 -G129 -V080 -P5 +se_rg_door.mid: -E -R50 -G129 -V100 -P5 +se_rg_help_close.mid: -E -R50 -G129 -V095 -P5 +se_rg_help_error.mid: -E -R50 -G129 -V125 -P5 +se_rg_help_open.mid: -E -R50 -G129 -V096 -P5 +se_rg_poke_jump_failure.mid: -E -R50 -G127 -P5 +se_rg_poke_jump_success.mid: -E -R50 -G128 -V110 -P5 +se_rg_shop.mid: -E -R50 -G129 -V080 -P5 +se_rg_ss_anne_horn.mid: -E -R50 -G129 -V096 -P5 +se_rotating_gate.mid: -E -R50 -G128 -V090 -P4 +se_roulette_ball.mid: -E -R50 -G128 -V110 -P2 +se_roulette_ball2.mid: -E -R50 -G128 -V110 -P2 +se_save.mid: -E -R50 -G128 -V080 -P5 +se_select.mid: -E -R50 -G127 -V080 -P5 +se_shiny.mid: -E -R50 -G128 -V095 -P5 +se_ship.mid: -E -R50 -G127 -V075 -P4 +se_shop.mid: -E -R50 -G127 -V090 -P5 +se_sliding_door.mid: -E -R50 -G128 -V095 -P4 +se_success.mid: -E -R50 -G127 -V080 -P4 +se_sudowoodo_shake.mid: -E -R50 -G129 -V077 -P5 +se_super_effective.mid: -E -R50 -G127 -V110 -P5 +se_switch.mid: -E -R50 -G127 -V100 -P4 +se_taillow_wing_flap.mid: -E -R50 -G128 -V105 -P5 +se_thunder.mid: -E -R50 -G128 -V110 -P3 +se_thunder2.mid: -E -R50 -G128 -V110 -P3 +se_thunderstorm_stop.mid: -E -R50 -G128 -V080 -P2 +se_thunderstorm.mid: -E -R50 -G128 -V080 -P2 +se_truck_door.mid: -E -R50 -G128 -V110 -P4 +se_truck_move.mid: -E -R50 -G128 -P4 +se_truck_stop.mid: -E -R50 -G128 -P4 +se_truck_unload.mid: -E -R50 -G127 -P4 +se_u.mid: -E -R50 -G128 -P4 +se_unlock.mid: -E -R50 -G128 -V100 -P4 +se_use_item.mid: -E -R50 -G127 -V100 -P5 +se_vend.mid: -E -R50 -G128 -V110 -P4 +se_warp_in.mid: -E -R50 -G127 -V090 -P4 +se_warp_out.mid: -E -R50 -G127 -V090 -P4 \ No newline at end of file From cf1eaea7f7dbe438ab28a7949e94e9b0c453be74 Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Wed, 15 Nov 2023 13:36:35 +1300 Subject: [PATCH 005/278] Coalesced audio rules into `audio.mk` --- Makefile | 9 +-------- songs.mk => audio_rules.mk | 24 +++++++++++++++++++++++- 2 files changed, 24 insertions(+), 9 deletions(-) rename songs.mk => audio_rules.mk (58%) diff --git a/Makefile b/Makefile index 5c073b36ca..df574e4545 100644 --- a/Makefile +++ b/Makefile @@ -86,8 +86,6 @@ DATA_SRC_SUBDIR = src/data DATA_ASM_SUBDIR = data SONG_SUBDIR = sound/songs MID_SUBDIR = sound/songs/midi -SAMPLE_SUBDIR = sound/direct_sound_samples -CRY_SUBDIR = sound/direct_sound_samples/cries C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR) GFLIB_BUILDDIR = $(OBJ_DIR)/$(GFLIB_SUBDIR) @@ -263,7 +261,7 @@ include graphics_file_rules.mk include map_data_rules.mk include spritesheet_rules.mk include json_data_rules.mk -include songs.mk +include audio_rules.mk %.s: ; %.png: ; @@ -277,8 +275,6 @@ include songs.mk %.gbapal: %.png ; $(GFX) $< $@ %.lz: % ; $(GFX) $< $@ %.rl: % ; $(GFX) $< $@ -$(CRY_SUBDIR)/%.bin: $(CRY_SUBDIR)/%.aif ; $(AIF) $< $@ --compress -sound/%.bin: sound/%.aif ; $(AIF) $< $@ ifeq ($(MODERN),0) @@ -393,9 +389,6 @@ $(foreach src, $(REGULAR_DATA_ASM_SRCS), $(eval $(call SRC_ASM_DATA_DEP,$(patsub endif endif -$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s - $(AS) $(ASFLAGS) -I sound -o $@ $< - $(OBJ_DIR)/sym_bss.ld: sym_bss.txt $(RAMSCRGEN) .bss $< ENGLISH > $@ diff --git a/songs.mk b/audio_rules.mk similarity index 58% rename from songs.mk rename to audio_rules.mk index feef64cf5b..69d482fdfa 100644 --- a/songs.mk +++ b/audio_rules.mk @@ -1,6 +1,28 @@ # This file contains rules for making assemblies for most music in the game. -MID_ASM_DIR = $(MID_SUBDIR) +CRY_SUBDIR := sound/direct_sound_samples/cries + +MID_ASM_DIR := $(MID_SUBDIR) +CRY_BIN_DIR := $(CRY_SUBDIR) +SOUND_BIN_DIR := sound + +SPECIAL_OUTDIRS := $(MID_ASM_DIR) $(CRY_BIN_DIR) +SPECIAL_OUTDIRS += $(SOUND_BIN_DIR) $(SOUND_BIN_DIR)/direct_sound_samples/phonemes $(SOUND_BIN_DIR)/direct_sound_samples/cries +$(shell mkdir -p $(SPECIAL_OUTDIRS) ) + +# Assembly song compilation +$(SONG_BUILDDIR)/%.o: $(SONG_SUBDIR)/%.s + $(AS) $(ASFLAGS) -I sound -o $@ $< +$(MID_BUILDDIR)/%.o: $(MID_ASM_DIR)/%.s + $(AS) $(ASFLAGS) -I sound -o $@ $< + +# Compressed cries +$(CRY_BIN_DIR)/%.bin: $(CRY_SUBDIR)/%.aif + $(AIF) $< $@ --compress + +# Uncompressed sounds +$(SOUND_BIN_DIR)/%.bin: sound/%.aif + $(AIF) $< $@ # For each line in midi.cfg, we do some trickery to convert it into a make rule for the `.mid` file described on the line # Data following the colon in said file corresponds to arguments passed into mid2agb From 5e4e522d9264cd6c6c139293887acda3cf5e0909 Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Wed, 15 Nov 2023 17:33:25 +1300 Subject: [PATCH 006/278] `.cfg` edits now rebuild `.mid` --- audio_rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio_rules.mk b/audio_rules.mk index 69d482fdfa..fccb9fc548 100644 --- a/audio_rules.mk +++ b/audio_rules.mk @@ -30,7 +30,7 @@ MID_CFG_PATH := $(MID_SUBDIR)/midi.cfg # $1: Source path no extension, $2 Options define MID_RULE -$(MID_ASM_DIR)/$1.s: $(MID_SUBDIR)/$1.mid +$(MID_ASM_DIR)/$1.s: $(MID_SUBDIR)/$1.mid $(MID_CFG_PATH) $(MID) $$< $$@ $2 endef # source path, remaining text (options) From 5eea3d39cd50955e62904d146f67f65dc001b735 Mon Sep 17 00:00:00 2001 From: cawtds <38510667+cawtds@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:53:05 +0200 Subject: [PATCH 007/278] UB fix ClockwiseWipe_TopRight --- src/battle_transition.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/battle_transition.c b/src/battle_transition.c index 11f9cddf4b..c23578e608 100644 --- a/src/battle_transition.c +++ b/src/battle_transition.c @@ -1907,7 +1907,11 @@ static bool8 ClockwiseWipe_TopRight(struct Task *task) { sTransitionData->VBlank_DMA = FALSE; +#ifdef UBFIX + InitBlackWipe(sTransitionData->data, DISPLAY_WIDTH / 2, DISPLAY_HEIGHT / 2, sTransitionData->tWipeEndX, 0, 1, 1); +#else InitBlackWipe(sTransitionData->data, DISPLAY_WIDTH / 2, DISPLAY_HEIGHT / 2, sTransitionData->tWipeEndX, -1, 1, 1); +#endif do { gScanlineEffectRegBuffers[0][sTransitionData->tWipeCurrY] = (sTransitionData->tWipeCurrX + 1) | ((DISPLAY_WIDTH / 2) << 8); From 73953b3e39353687b757fb760765cc3b66fef59e Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 10 Aug 2024 14:43:50 -0700 Subject: [PATCH 008/278] Added removeallitem --- asm/macros/event.inc | 6 ++++++ src/scrcmd.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 891c7fd4ed..f5abad6f29 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2321,3 +2321,9 @@ .macro togglefakertc callnative Script_ToggleFakeRtc .endm + + @ Remove all of specified item from the player's bag + .macro removeallitem itemId:req + callnative RemoveAllItem + .2byte \itemId + .endm diff --git a/src/scrcmd.c b/src/scrcmd.c index 319e667566..955b5e00dd 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2473,3 +2473,9 @@ void ScriptSetDoubleBattleFlag(struct ScriptContext *ctx) { sIsScriptedWildDouble = TRUE; } + +void RemoveAllItem(struct ScriptContext *ctx) +{ + u16 itemId = VarGet(ScriptReadHalfword(ctx)); + RemoveBagItem(itemId, CountTotalItemQuantityInBag(itemId)); +} From 811b5d286e02ec7f433cd3f11692c2a56370b9f4 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 10 Aug 2024 21:17:50 -0700 Subject: [PATCH 009/278] Added getobjectposition --- asm/macros/event.inc | 7 +++++++ data/specials.inc | 1 + include/event_object_movement.h | 2 ++ src/event_object_movement.c | 16 +++++++--------- src/field_specials.c | 28 ++++++++++++++++++++++++++++ 5 files changed, 45 insertions(+), 9 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index f5abad6f29..c6e6e8847a 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2327,3 +2327,10 @@ callnative RemoveAllItem .2byte \itemId .endm + + @ return current (posType = 0) or map (posType = 1) position of object to VAR_0x8007 (x), VAR_0x8008 (y) + .macro getobjectxy localId:req, posType:req + setvar VAR_0x8000, \localId + setvar VAR_0x8001, \posType + special GetObjectPosition + .endm diff --git a/data/specials.inc b/data/specials.inc index f02497d603..32f2f63308 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,3 +554,4 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs + def_special GetObjectPosition diff --git a/include/event_object_movement.h b/include/event_object_movement.h index 2906789b37..92675f01f7 100644 --- a/include/event_object_movement.h +++ b/include/event_object_movement.h @@ -126,6 +126,7 @@ bool8 TryGetObjectEventIdByLocalIdAndMap(u8 localId, u8 mapNum, u8 mapGroupId, u u8 GetObjectEventIdByXY(s16 x, s16 y); void SetObjectEventDirection(struct ObjectEvent *objectEvent, u8 direction); u8 GetFirstInactiveObjectEventId(void); +u8 GetObjectEventIdByLocalId(u8); void RemoveObjectEventByLocalIdAndMap(u8 localId, u8 mapNum, u8 mapGroup); void LoadSpecialObjectReflectionPalette(u16 tag, u8 slot); void TryMoveObjectEventToMapCoords(u8 localId, u8 mapNum, u8 mapGroup, s16 x, s16 y); @@ -210,6 +211,7 @@ void ObjectEventForceSetHeldMovement(struct ObjectEvent *objectEvent, u8 movemen bool8 ObjectEventIsMovementOverridden(struct ObjectEvent *objectEvent); u8 ObjectEventCheckHeldMovementStatus(struct ObjectEvent *objectEvent); u8 ObjectEventGetHeldMovementActionId(struct ObjectEvent *objectEvent); +const struct ObjectEventTemplate *FindObjectEventTemplateByLocalId(u8, const struct ObjectEventTemplate *, u8); void TryOverrideTemplateCoordsForObjectEvent(const struct ObjectEvent *objectEvent, u8 movementType); void OverrideTemplateCoordsForObjectEvent(const struct ObjectEvent *objectEvent); void ShiftStillObjectEventCoords(struct ObjectEvent *objEvent); diff --git a/src/event_object_movement.c b/src/event_object_movement.c index 5a6eb28fc3..e4732cac96 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -157,7 +157,6 @@ static void ApplyLevitateMovement(u8); static bool8 MovementType_Disguise_Callback(struct ObjectEvent *, struct Sprite *); static bool8 MovementType_Buried_Callback(struct ObjectEvent *, struct Sprite *); static void CreateReflectionEffectSprites(void); -static u8 GetObjectEventIdByLocalId(u8); static u8 GetObjectEventIdByLocalIdAndMapInternal(u8, u8, u8); static bool8 GetAvailableObjectEventId(u16, u8, u8, u8 *); static void SetObjectEventDynamicGraphicsId(struct ObjectEvent *); @@ -179,7 +178,6 @@ static void SpriteCB_CameraObject(struct Sprite *); static void CameraObject_Init(struct Sprite *); static void CameraObject_UpdateMove(struct Sprite *); static void CameraObject_UpdateFrozen(struct Sprite *); -static const struct ObjectEventTemplate *FindObjectEventTemplateByLocalId(u8, const struct ObjectEventTemplate *, u8); static void ObjectEventSetSingleMovement(struct ObjectEvent *, struct Sprite *, u8); static void SetSpriteDataForNormalStep(struct Sprite *, u8, u8); static void InitSpriteForFigure8Anim(struct Sprite *); @@ -1298,7 +1296,7 @@ static u8 GetObjectEventIdByLocalIdAndMapInternal(u8 localId, u8 mapNum, u8 mapG return OBJECT_EVENTS_COUNT; } -static u8 GetObjectEventIdByLocalId(u8 localId) +u8 GetObjectEventIdByLocalId(u8 localId) { u8 i; for (i = 0; i < OBJECT_EVENTS_COUNT; i++) @@ -1493,7 +1491,7 @@ static s16 ReallocSpriteTiles(struct Sprite *sprite, u32 byteSize) { i = -1; } - + sprite->invisible = wasVisible; return i; } @@ -1510,7 +1508,7 @@ u16 LoadSheetGraphicsInfo(const struct ObjectEventGraphicsInfo *info, u16 uuid, bool32 oldInvisible; if (tag == TAG_NONE) tag = COMP_OW_TILE_TAG_BASE + uuid; - + if (sprite) { oldInvisible = sprite->invisible; @@ -1547,7 +1545,7 @@ u16 LoadSheetGraphicsInfo(const struct ObjectEventGraphicsInfo *info, u16 uuid, { FieldEffectFreeTilesIfUnused(oldTiles); } - + if (sprite) { sprite->sheetTileStart = tileStart; @@ -1566,7 +1564,7 @@ u16 LoadSheetGraphicsInfo(const struct ObjectEventGraphicsInfo *info, u16 uuid, { sprite->oam.tileNum = sprite->sheetTileStart; sprite->usingSheet = FALSE; - + } else if (sprite && !sprite->sheetTileStart && sprite->oam.size != info->oam->size) { @@ -1925,7 +1923,7 @@ static u8 LoadDynamicFollowerPalette(u16 species, u8 form, bool32 shiny) spritePalette.data = gSpeciesInfo[species].overworldShinyPalette; else spritePalette.data = gSpeciesInfo[species].overworldPalette; - + // Check if pal data must be decompressed if (IsLZ77Data(spritePalette.data, PLTT_SIZE_4BPP, PLTT_SIZE_4BPP)) { @@ -3306,7 +3304,7 @@ static const struct ObjectEventTemplate *GetObjectEventTemplateByLocalIdAndMap(u return FindObjectEventTemplateByLocalId(localId, templates, count); } -static const struct ObjectEventTemplate *FindObjectEventTemplateByLocalId(u8 localId, const struct ObjectEventTemplate *templates, u8 count) +const struct ObjectEventTemplate *FindObjectEventTemplateByLocalId(u8 localId, const struct ObjectEventTemplate *templates, u8 count) { u8 i; diff --git a/src/field_specials.c b/src/field_specials.c index b44c8327aa..471d88132c 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4266,3 +4266,31 @@ void PreparePartyForSkyBattle(void) VarSet(B_VAR_SKY_BATTLE,participatingPokemonSlot); CompactPartySlots(); } + +// get position (0 for current, 1 for map) of object event, return to VAR_0x8007, VAR_0x8008 +void GetObjectPosition(void) +{ + u16 localId = gSpecialVar_0x8000; + u16 useTemplate = gSpecialVar_0x8001; + + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; + + if (!useTemplate) + { + /* current position */ + const u16 objId = GetObjectEventIdByLocalId(localId); + const struct ObjectEvent *objEvent = &gObjectEvents[objId]; + *x = objEvent->currentCoords.x - 7; // subtract out camera size + *y = objEvent->currentCoords.y - 7; + } + else + { + const struct ObjectEventTemplate *objTemplate = + FindObjectEventTemplateByLocalId(localId, + gSaveBlock1Ptr->objectEventTemplates, + gMapHeader.events->objectEventCount); + *x = objTemplate->x; + *y = objTemplate->y; + } +} From 0784f9fa740f697ecf1ef32c809014304603a8a4 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 10 Aug 2024 21:40:57 -0700 Subject: [PATCH 010/278] Added checkobjectat --- asm/macros/event.inc | 7 +++++++ data/specials.inc | 1 + src/field_specials.c | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index c6e6e8847a..0fb6414f61 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2334,3 +2334,10 @@ setvar VAR_0x8001, \posType special GetObjectPosition .endm + + @ checks if there is any object at a given position + .macro checkobjectat x:req, y:req + setorcopyvar VAR_0x8005, \x + setorcopyvar VAR_0x8006, \y + specialvar VAR_RESULT, CheckObjectAtXY + .endm diff --git a/data/specials.inc b/data/specials.inc index 32f2f63308..aa994a31f6 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -555,3 +555,4 @@ gSpecials:: def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs def_special GetObjectPosition + def_special CheckObjectAtXY diff --git a/src/field_specials.c b/src/field_specials.c index 471d88132c..3014d48407 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4294,3 +4294,19 @@ void GetObjectPosition(void) *y = objTemplate->y; } } + +// special to check if there is any object at a given position +u16 CheckObjectAtXY(void) +{ + u16 x = gSpecialVar_0x8005 + 7; + u16 y = gSpecialVar_0x8006 + 7; + u32 i; + + for (i = 0; i < OBJECT_EVENTS_COUNT; i++) + { + if (gObjectEvents[i].active && gObjectEvents[i].currentCoords.x == x && gObjectEvents[i].currentCoords.y == y) + return TRUE; + } + return FALSE; +} + From fba1452c3b7169a4ea54fba3956299392c4a0d76 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 18:49:42 -0700 Subject: [PATCH 011/278] Added Seen/CaughtMon macros --- asm/macros/event.inc | 26 ++++++++++++++++++++++++++ data/specials.inc | 4 ++++ src/field_specials.c | 22 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 0fb6414f61..e3c47c04ea 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2341,3 +2341,29 @@ setorcopyvar VAR_0x8006, \y specialvar VAR_RESULT, CheckObjectAtXY .endm + + @ Checks the state of the Pokédex Seen flag of the specified Pokemon + @ The result is stored in VAR_RESULT + .macro getseenmon species:req + setvar VAR_TEMP_1, \species + specialvar VAR_RESULT, GetSeenMon + .endm + + @ Checks the state of the Pokédex Caught flag of the specified Pokemon + @ The result is stored in VAR_RESULT + .macro getcaughtmon species:req + setvar VAR_TEMP_1, \species + specialvar VAR_RESULT, GetCaughtMon + .endm + + @ Sets the Pokédex Seen flag of the specified Pokemon + .macro setseenmon species:req + setvar VAR_TEMP_1, \species + special SetSeenMon + .endm + + @ Sets the Pokédex Caught flag of the specified Pokemon + .macro setcaughtmon species:req + setvar VAR_TEMP_1, \species + special SetCaughtMon + .endm diff --git a/data/specials.inc b/data/specials.inc index aa994a31f6..8f17fd8e55 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -556,3 +556,7 @@ gSpecials:: def_special Script_GetChosenMonDefensiveIVs def_special GetObjectPosition def_special CheckObjectAtXY + def_special GetSeenMon + def_special GetCaughtMon + def_special SetSeenMon + def_special SetCaughtMon diff --git a/src/field_specials.c b/src/field_specials.c index 3014d48407..64330d2e6d 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -68,6 +68,7 @@ #include "constants/metatile_labels.h" #include "palette.h" #include "battle_util.h" +#include "pokedex.h" #define TAG_ITEM_ICON 5500 @@ -4310,3 +4311,24 @@ u16 CheckObjectAtXY(void) return FALSE; } +bool8 GetSeenMon(void) +{ + return GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_GET_SEEN); +} + +bool8 GetCaughtMon(void) +{ + return GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_GET_CAUGHT); +} + +void SetSeenMon(void) +{ + GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_SEEN); +} + +void SetCaughtMon(void) +{ + GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_SEEN); + GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_CAUGHT); +} + From e746334e1e664f6e5eaa8defa6b3a4d73b5a9283 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 18:53:39 -0700 Subject: [PATCH 012/278] Added setmonball --- asm/macros/event.inc | 8 ++++++++ data/specials.inc | 1 + src/field_specials.c | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index e3c47c04ea..7529edc55a 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2367,3 +2367,11 @@ setvar VAR_TEMP_1, \species special SetCaughtMon .endm + + @ Changes the caught ball of a selected Pokémon + .macro setmonball ballId:req + special ChoosePartyMon + waitstate + setvar VAR_TEMP_1, \ballId + special SetMonBall + .endm diff --git a/data/specials.inc b/data/specials.inc index 8f17fd8e55..67e82c0e18 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -560,3 +560,4 @@ gSpecials:: def_special GetCaughtMon def_special SetSeenMon def_special SetCaughtMon + def_special SetMonBall diff --git a/src/field_specials.c b/src/field_specials.c index 64330d2e6d..a574083ae4 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4332,3 +4332,8 @@ void SetCaughtMon(void) GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_CAUGHT); } +void SetMonBall(void) +{ + u16 ballId = VarGet(VAR_TEMP_1); + SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_POKEBALL, &ballId); +} From 262505589a69a71cf7995624ff67a00b0d2a6fb3 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 19:19:15 -0700 Subject: [PATCH 013/278] checkforspecies --- asm/macros/event.inc | 17 +++++++++++++++++ data/specials.inc | 1 + src/field_specials.c | 12 ++++++++++++ 3 files changed, 30 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 7529edc55a..da6935ed3c 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2375,3 +2375,20 @@ setvar VAR_TEMP_1, \ballId special SetMonBall .endm + + OPEN_PARTY_SCREEN = FALSE + NO_PARTY_SCREEN = TRUE + + @ Check if the Player has \speciesId in their party. + .macro checkforspecies speciesId:req, silent:req, script:req + .if \silent == OPEN_PARTY_SCREEN + special ChoosePartyMon + waitstate + specialvar VAR_RESULT, ScriptGetPartyMonSpecies + goto_if_eq VAR_RESULT, \speciesId, \script + .else + setvar VAR_TEMP_1, \speciesId + specialvar VAR_RESULT, CheckPartyForMon + goto_if_eq VAR_RESULT, TRUE, \script + .endif + .endm diff --git a/data/specials.inc b/data/specials.inc index 67e82c0e18..00a8c54029 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -561,3 +561,4 @@ gSpecials:: def_special SetSeenMon def_special SetCaughtMon def_special SetMonBall + def_special CheckPartyForMon diff --git a/src/field_specials.c b/src/field_specials.c index a574083ae4..78ac17678b 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4337,3 +4337,15 @@ void SetMonBall(void) u16 ballId = VarGet(VAR_TEMP_1); SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_POKEBALL, &ballId); } + +bool8 CheckPartyForMon(void) +{ + int i; + for (i = 0; i < CalculatePlayerPartyCount(); i++) + { + if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == VarGet(VAR_TEMP_1)) + return TRUE; + } + return FALSE; +} + From 7f5ecd8d0f5f95d284241d83b04a33df2b02322d Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 19:27:18 -0700 Subject: [PATCH 014/278] getobjectfacingdirection --- asm/macros/event.inc | 6 ++++++ data/specials.inc | 1 + src/event_object_movement.c | 7 +++++++ 3 files changed, 14 insertions(+) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index da6935ed3c..f29a2dfb06 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2392,3 +2392,9 @@ goto_if_eq VAR_RESULT, TRUE, \script .endif .endm + + @ Gets the facing direction of a given event object and stores it in the variable \dest. + .macro getobjectfacingdirection evObjId:req, dest:req + setvar VAR_TEMP_1, \evObjId + specialvar \dest, Script_GetObjectFacingDirection + .endm diff --git a/data/specials.inc b/data/specials.inc index 00a8c54029..5b0aa23ddd 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -562,3 +562,4 @@ gSpecials:: def_special SetCaughtMon def_special SetMonBall def_special CheckPartyForMon + def_special Script_GetObjectFacingDirection diff --git a/src/event_object_movement.c b/src/event_object_movement.c index e4732cac96..7facbab5c9 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -10632,3 +10632,10 @@ void GetDaycareGraphics(struct ScriptContext *ctx) } gSpecialVar_Result = i; } + +u8 Script_GetObjectFacingDirection(void) +{ + u8 objId = GetObjectEventIdByLocalId(VarGet(VAR_TEMP_1)); + return gObjectEvents[objId].facingDirection; +} + From 7869cb4137fcc48a4725110dd5767265aa812a42 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 19:31:52 -0700 Subject: [PATCH 015/278] Improved RemoveAllItem --- src/scrcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scrcmd.c b/src/scrcmd.c index 955b5e00dd..12ec041895 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2476,6 +2476,6 @@ void ScriptSetDoubleBattleFlag(struct ScriptContext *ctx) void RemoveAllItem(struct ScriptContext *ctx) { - u16 itemId = VarGet(ScriptReadHalfword(ctx)); + u32 itemId = VarGet(ScriptReadHalfword(ctx)); RemoveBagItem(itemId, CountTotalItemQuantityInBag(itemId)); } From ebae09f0a6b9132ad53c925d9717dcb4b07247f3 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 20:16:27 -0700 Subject: [PATCH 016/278] Improved checkobjectat --- asm/macros/event.inc | 5 +++- src/field_specials.c | 67 ++++++++++++++++++++++---------------------- 2 files changed, 38 insertions(+), 34 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index f29a2dfb06..9375b7be9a 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2328,7 +2328,10 @@ .2byte \itemId .endm - @ return current (posType = 0) or map (posType = 1) position of object to VAR_0x8007 (x), VAR_0x8008 (y) + CURRENT_POSITION = FALSE + TEMPLATE_POSITION = TRUE + + @ Stores the CURRENT / TEMPLATE position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y) .macro getobjectxy localId:req, posType:req setvar VAR_0x8000, \localId setvar VAR_0x8001, \posType diff --git a/src/field_specials.c b/src/field_specials.c index 78ac17678b..98a909d725 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4268,47 +4268,48 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -// get position (0 for current, 1 for map) of object event, return to VAR_0x8007, VAR_0x8008 void GetObjectPosition(void) { - u16 localId = gSpecialVar_0x8000; - u16 useTemplate = gSpecialVar_0x8001; + u32 localId = gSpecialVar_0x8000; + u32 useTemplate = gSpecialVar_0x8001; + u32 objectId; + struct ObjectEvent* objEvent; - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; - if (!useTemplate) - { - /* current position */ - const u16 objId = GetObjectEventIdByLocalId(localId); - const struct ObjectEvent *objEvent = &gObjectEvents[objId]; - *x = objEvent->currentCoords.x - 7; // subtract out camera size - *y = objEvent->currentCoords.y - 7; - } - else - { - const struct ObjectEventTemplate *objTemplate = - FindObjectEventTemplateByLocalId(localId, - gSaveBlock1Ptr->objectEventTemplates, - gMapHeader.events->objectEventCount); - *x = objTemplate->x; - *y = objTemplate->y; - } + if (useTemplate) + { + const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); + *x = objTemplate->x; + *y = objTemplate->y; + return; + } + + objectId = GetObjectEventIdByLocalId(localId); + objEvent = &gObjectEvents[objectId]; + *x = objEvent->currentCoords.x - 7; + *y = objEvent->currentCoords.y - 7; } -// special to check if there is any object at a given position -u16 CheckObjectAtXY(void) +bool32 CheckObjectAtXY(void) { - u16 x = gSpecialVar_0x8005 + 7; - u16 y = gSpecialVar_0x8006 + 7; - u32 i; + u32 x = gSpecialVar_0x8005 + 7; + u32 y = gSpecialVar_0x8006 + 7; + u32 i; - for (i = 0; i < OBJECT_EVENTS_COUNT; i++) - { - if (gObjectEvents[i].active && gObjectEvents[i].currentCoords.x == x && gObjectEvents[i].currentCoords.y == y) - return TRUE; - } - return FALSE; + for (i = 0; i < OBJECT_EVENTS_COUNT; i++) + { + if (!gObjectEvents[i].active) + return FALSE; + + if (gObjectEvents[i].currentCoords.x != x) + return FALSE; + + if (gObjectEvents[i].currentCoords.y != y) + return FALSE; + } + return TRUE; } bool8 GetSeenMon(void) From abb17ea88b19579b66804408801cc433462bfc39 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 21:01:31 -0700 Subject: [PATCH 017/278] Improved dex flags functions --- asm/macros/event.inc | 20 ++++++++++++-------- data/specials.inc | 5 +---- src/field_specials.c | 22 ++++++---------------- 3 files changed, 19 insertions(+), 28 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 9375b7be9a..c4bbda645f 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2348,27 +2348,31 @@ @ Checks the state of the Pokédex Seen flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getseenmon species:req - setvar VAR_TEMP_1, \species - specialvar VAR_RESULT, GetSeenMon + setvar VAR_0x8005, \species + setvar VAR_0x8006, 0 + specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Checks the state of the Pokédex Caught flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getcaughtmon species:req - setvar VAR_TEMP_1, \species - specialvar VAR_RESULT, GetCaughtMon + setvar VAR_0x8005, \species + setvar VAR_0x8006, 1 + specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Sets the Pokédex Seen flag of the specified Pokemon .macro setseenmon species:req - setvar VAR_TEMP_1, \species - special SetSeenMon + setvar VAR_0x8005, \species + setvar VAR_0x8006, 2 + specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Sets the Pokédex Caught flag of the specified Pokemon .macro setcaughtmon species:req - setvar VAR_TEMP_1, \species - special SetCaughtMon + setvar VAR_0x8005, \species + setvar VAR_0x8006, 3 + specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Changes the caught ball of a selected Pokémon diff --git a/data/specials.inc b/data/specials.inc index 5b0aa23ddd..7b391cc968 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -556,10 +556,7 @@ gSpecials:: def_special Script_GetChosenMonDefensiveIVs def_special GetObjectPosition def_special CheckObjectAtXY - def_special GetSeenMon - def_special GetCaughtMon - def_special SetSeenMon - def_special SetCaughtMon + def_special Script_GetSetPokedexFlag def_special SetMonBall def_special CheckPartyForMon def_special Script_GetObjectFacingDirection diff --git a/src/field_specials.c b/src/field_specials.c index 98a909d725..a161ba3c44 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4312,25 +4312,15 @@ bool32 CheckObjectAtXY(void) return TRUE; } -bool8 GetSeenMon(void) +bool32 Script_GetSetPokedexFlag(void) { - return GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_GET_SEEN); -} + u32 speciesId = SpeciesToNationalPokedexNum(gSpecialVar_0x8005); + bool32 desiredFlag = gSpecialVar_0x8006; -bool8 GetCaughtMon(void) -{ - return GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_GET_CAUGHT); -} + if (desiredFlag == FLAG_SET_CAUGHT) + GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); -void SetSeenMon(void) -{ - GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_SEEN); -} - -void SetCaughtMon(void) -{ - GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_SEEN); - GetSetPokedexFlag(SpeciesToNationalPokedexNum(VarGet(VAR_TEMP_1)), FLAG_SET_CAUGHT); + return GetSetPokedexFlag(speciesId,desiredFlag); } void SetMonBall(void) From f0d5b68f70aabdc41af0f56f4fc6e29b25b37596 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sun, 11 Aug 2024 22:10:04 -0700 Subject: [PATCH 018/278] Improved checkspecies functions --- asm/macros/event.inc | 22 ++++++++++++++-------- data/specials.inc | 3 ++- src/field_specials.c | 19 ++++++++++++------- 3 files changed, 28 insertions(+), 16 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index c4bbda645f..399ad6104f 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2379,7 +2379,7 @@ .macro setmonball ballId:req special ChoosePartyMon waitstate - setvar VAR_TEMP_1, \ballId + setvar VAR_0x8005, \ballId special SetMonBall .endm @@ -2387,19 +2387,25 @@ NO_PARTY_SCREEN = TRUE @ Check if the Player has \speciesId in their party. - .macro checkforspecies speciesId:req, silent:req, script:req - .if \silent == OPEN_PARTY_SCREEN + .macro checkspecies speciesId:req, mode:req + setvar VAR_0x8005, \speciesId + .if \mode == OPEN_PARTY_SCREEN special ChoosePartyMon waitstate - specialvar VAR_RESULT, ScriptGetPartyMonSpecies - goto_if_eq VAR_RESULT, \speciesId, \script + specialvar VAR_RESULT, CheckChosenMonMatchDesiredSpecie .else - setvar VAR_TEMP_1, \speciesId - specialvar VAR_RESULT, CheckPartyForMon - goto_if_eq VAR_RESULT, TRUE, \script + specialvar VAR_RESULT, CheckPartyHasSpecie .endif .endm + .macro checkspecies_choose speciesId:req + checkspecies \speciesId, OPEN_PARTY_SCREEN + .endm + + .macro checkspecies_auto speciesId:req + checkspecies \speciesId, NO_PARTY_SCREEN + .endm + @ Gets the facing direction of a given event object and stores it in the variable \dest. .macro getobjectfacingdirection evObjId:req, dest:req setvar VAR_TEMP_1, \evObjId diff --git a/data/specials.inc b/data/specials.inc index 7b391cc968..ed88d42eae 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -558,5 +558,6 @@ gSpecials:: def_special CheckObjectAtXY def_special Script_GetSetPokedexFlag def_special SetMonBall - def_special CheckPartyForMon + def_special CheckPartyHasSpecie + def_special CheckChosenMonMatchDesiredSpecie def_special Script_GetObjectFacingDirection diff --git a/src/field_specials.c b/src/field_specials.c index a161ba3c44..e58d861f54 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4325,18 +4325,23 @@ bool32 Script_GetSetPokedexFlag(void) void SetMonBall(void) { - u16 ballId = VarGet(VAR_TEMP_1); + u32 ballId = gSpecialVar_0x8005; SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_POKEBALL, &ballId); } -bool8 CheckPartyForMon(void) +bool32 CheckPartyHasSpecie(void) { - int i; - for (i = 0; i < CalculatePlayerPartyCount(); i++) - { - if (GetMonData(&gPlayerParty[i], MON_DATA_SPECIES) == VarGet(VAR_TEMP_1)) + u32 partyIndex; + + for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) + if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == gSpecialVar_0x8005) return TRUE; - } + return FALSE; } +bool32 CheckChosenMonMatchDesiredSpecie(void) +{ + return (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == gSpecialVar_0x8005); +} + From 881e54a52b965c87359774f80a516358f2001ecc Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Mon, 12 Aug 2024 06:51:09 -0700 Subject: [PATCH 019/278] Incremental improvement of getobjectfacing --- asm/macros/event.inc | 3 ++- src/event_object_movement.c | 5 ++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 399ad6104f..9321f5b8c5 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2408,6 +2408,7 @@ @ Gets the facing direction of a given event object and stores it in the variable \dest. .macro getobjectfacingdirection evObjId:req, dest:req - setvar VAR_TEMP_1, \evObjId + setvar VAR_0x8005, \evObjId specialvar \dest, Script_GetObjectFacingDirection .endm + diff --git a/src/event_object_movement.c b/src/event_object_movement.c index 7facbab5c9..4105aa42a5 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -10633,9 +10633,8 @@ void GetDaycareGraphics(struct ScriptContext *ctx) gSpecialVar_Result = i; } -u8 Script_GetObjectFacingDirection(void) +u32 Script_GetObjectFacingDirection(void) { - u8 objId = GetObjectEventIdByLocalId(VarGet(VAR_TEMP_1)); - return gObjectEvents[objId].facingDirection; + return gObjectEvents[GetObjectEventIdByLocalId(gSpecialVar_0x8005)].facingDirection; } From 7d921fa89b877ec0a76d6441453c005fa516590d Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Wed, 14 Aug 2024 18:27:44 -0400 Subject: [PATCH 020/278] Slight storage system documentation --- src/pokemon_storage_system.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pokemon_storage_system.c b/src/pokemon_storage_system.c index b398b88752..48eefd66fd 100644 --- a/src/pokemon_storage_system.c +++ b/src/pokemon_storage_system.c @@ -4824,7 +4824,7 @@ static void MovePartySpriteToNextSlot(struct Sprite *sprite, u16 partyId) sprite->sMonY = (u16)(sprite->y) * 8; sprite->sSpeedX = ((x * 8) - sprite->sMonX) / 8; sprite->sSpeedY = ((y * 8) - sprite->sMonY) / 8; - sprite->data[6] = 8; + sprite->sMoveSteps = 8; sprite->callback = SpriteCB_MovePartyMonToNextSlot; } @@ -8258,7 +8258,7 @@ static bool8 MultiMove_GrabSelection(void) if (!DoMonPlaceChange()) { StartCursorAnim(CURSOR_ANIM_FIST); - MultiMove_InitMove(0, 256, 8); + MultiMove_InitMove(0, Q_8_8(1), 8); InitMultiMonPlaceChange(TRUE); sMultiMove->state++; } @@ -8291,7 +8291,7 @@ static bool8 MultiMove_PlaceMons(void) { case 0: MultiMove_SetPlacedMonData(); - MultiMove_InitMove(0, -256, 8); + MultiMove_InitMove(0, Q_8_8(-1), 8); InitMultiMonPlaceChange(FALSE); sMultiMove->state++; break; @@ -8335,25 +8335,25 @@ static bool8 MultiMove_TryMoveGroup(u8 dir) if (sMultiMove->minRow == 0) return FALSE; sMultiMove->minRow--; - MultiMove_InitMove(0, 1024, 6); + MultiMove_InitMove(0, Q_8_8(4), 6); break; case 1: // Down if (sMultiMove->minRow + sMultiMove->rowsTotal >= IN_BOX_ROWS) return FALSE; sMultiMove->minRow++; - MultiMove_InitMove(0, -1024, 6); + MultiMove_InitMove(0, Q_8_8(-4), 6); break; case 2: // Left if (sMultiMove->minColumn == 0) return FALSE; sMultiMove->minColumn--; - MultiMove_InitMove(1024, 0, 6); + MultiMove_InitMove(Q_8_8(4), 0, 6); break; case 3: // Right if (sMultiMove->minColumn + sMultiMove->columnsTotal >= IN_BOX_COLUMNS) return FALSE; sMultiMove->minColumn++; - MultiMove_InitMove(-1024, 0, 6); + MultiMove_InitMove(Q_8_8(-4), 0, 6); break; } return TRUE; From bdeedaa9499e8866251242b48d5959ac7ce72c76 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 19:05:30 -0700 Subject: [PATCH 021/278] Renamed evObjId to localId --- asm/macros/event.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 9321f5b8c5..7407774578 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2407,8 +2407,8 @@ .endm @ Gets the facing direction of a given event object and stores it in the variable \dest. - .macro getobjectfacingdirection evObjId:req, dest:req - setvar VAR_0x8005, \evObjId + .macro getobjectfacingdirection localId:req, dest:req + setvar VAR_0x8005, \localId specialvar \dest, Script_GetObjectFacingDirection .endm From 458340e0439104da1310d675255837f68cb75896 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 19:09:56 -0700 Subject: [PATCH 022/278] Moved pokedex special constants to header --- asm/macros/event.inc | 5 +---- include/constants/field_specials.h | 5 +++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 7407774578..1c5b004bbb 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2383,10 +2383,7 @@ special SetMonBall .endm - OPEN_PARTY_SCREEN = FALSE - NO_PARTY_SCREEN = TRUE - - @ Check if the Player has \speciesId in their party. + @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. .macro checkspecies speciesId:req, mode:req setvar VAR_0x8005, \speciesId .if \mode == OPEN_PARTY_SCREEN diff --git a/include/constants/field_specials.h b/include/constants/field_specials.h index 1e08a47f95..35769ba3b1 100644 --- a/include/constants/field_specials.h +++ b/include/constants/field_specials.h @@ -86,4 +86,9 @@ #define DEOXYS_ROCK_SOLVED 2 #define DEOXYS_ROCK_COMPLETE 3 +enum { + OPEN_PARTY_SCREEN, + NO_PARTY_SCREEN +}; + #endif // GUARD_CONSTANTS_FIELD_SPECIALS_H From dc06321054d6f1fca891d26a2cb736241ac9caaf Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 19:24:55 -0700 Subject: [PATCH 023/278] Moved pokedex flags to constants files andadded constants to header of event_scripts --- asm/macros/event.inc | 8 ++++---- data/event_scripts.s | 1 + include/constants/pokedex.h | 14 ++++++++++++++ include/pokedex.h | 14 -------------- src/field_specials.c | 2 +- 5 files changed, 20 insertions(+), 19 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 1c5b004bbb..ac008119ef 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2349,7 +2349,7 @@ @ The result is stored in VAR_RESULT .macro getseenmon species:req setvar VAR_0x8005, \species - setvar VAR_0x8006, 0 + setvar VAR_0x8006, FLAG_GET_SEEN specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @@ -2357,21 +2357,21 @@ @ The result is stored in VAR_RESULT .macro getcaughtmon species:req setvar VAR_0x8005, \species - setvar VAR_0x8006, 1 + setvar VAR_0x8006, FLAG_GET_CAUGHT specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Sets the Pokédex Seen flag of the specified Pokemon .macro setseenmon species:req setvar VAR_0x8005, \species - setvar VAR_0x8006, 2 + setvar VAR_0x8006, FLAG_SET_SEEN specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm @ Sets the Pokédex Caught flag of the specified Pokemon .macro setcaughtmon species:req setvar VAR_0x8005, \species - setvar VAR_0x8006, 3 + setvar VAR_0x8006, FLAG_SET_CAUGHT specialvar VAR_RESULT, Script_GetSetPokedexFlag .endm diff --git a/data/event_scripts.s b/data/event_scripts.s index d4393ac9d4..8ff14199f6 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -42,6 +42,7 @@ #include "constants/metatile_labels.h" #include "constants/moves.h" #include "constants/party_menu.h" +#include "constants/pokedex.h" #include "constants/pokemon.h" #include "constants/roulette.h" #include "constants/script_menu.h" diff --git a/include/constants/pokedex.h b/include/constants/pokedex.h index 8058f01e5c..241198e178 100644 --- a/include/constants/pokedex.h +++ b/include/constants/pokedex.h @@ -1327,4 +1327,18 @@ enum { #define DEX_HGSS_Y_BOTTOM_PADDING 4 #define DEX_HGSS_MEASUREMENT_X_PADDING 51 +enum +{ + DEX_MODE_HOENN, + DEX_MODE_NATIONAL +}; + +enum +{ + FLAG_GET_SEEN, + FLAG_GET_CAUGHT, + FLAG_SET_SEEN, + FLAG_SET_CAUGHT +}; + #endif // GUARD_CONSTANTS_POKEDEX_H diff --git a/include/pokedex.h b/include/pokedex.h index be861fe682..0bd91449c3 100644 --- a/include/pokedex.h +++ b/include/pokedex.h @@ -4,20 +4,6 @@ extern u8 gUnusedPokedexU8; extern void (*gPokedexVBlankCB)(void); -enum -{ - DEX_MODE_HOENN, - DEX_MODE_NATIONAL -}; - -enum -{ - FLAG_GET_SEEN, - FLAG_GET_CAUGHT, - FLAG_SET_SEEN, - FLAG_SET_CAUGHT -}; - void ResetPokedex(void); u16 GetNationalPokedexCount(u8); u16 GetHoennPokedexCount(u8); diff --git a/src/field_specials.c b/src/field_specials.c index e58d861f54..a99a21f6b7 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -30,6 +30,7 @@ #include "overworld.h" #include "party_menu.h" #include "pokeblock.h" +#include "pokedex.h" #include "pokemon.h" #include "pokemon_storage_system.h" #include "random.h" @@ -68,7 +69,6 @@ #include "constants/metatile_labels.h" #include "palette.h" #include "battle_util.h" -#include "pokedex.h" #define TAG_ITEM_ICON 5500 From 67f8a61eef101d197c1f95524f4f8682a7258d0c Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 19:44:18 -0700 Subject: [PATCH 024/278] Moved current and template positions to headers --- asm/macros/event.inc | 17 +++++++++++++---- include/constants/field_specials.h | 5 +++++ 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index ac008119ef..7b4bca1170 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2328,16 +2328,25 @@ .2byte \itemId .endm - CURRENT_POSITION = FALSE - TEMPLATE_POSITION = TRUE - - @ Stores the CURRENT / TEMPLATE position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y) + @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will takje the object's template position. .macro getobjectxy localId:req, posType:req setvar VAR_0x8000, \localId setvar VAR_0x8001, \posType special GetObjectPosition .endm + .macro getobjecttemplatexy localId:req + setvar VAR_0x8000, \localId + setvar VAR_0x8001, TEMPLATE_POSITION + special GetObjectPosition + .endm + + .macro getobjectcurrentxy localId:req + setvar VAR_0x8000, \localId + setvar VAR_0x8001, CURRENT_POSITION + special GetObjectPosition + .endm + @ checks if there is any object at a given position .macro checkobjectat x:req, y:req setorcopyvar VAR_0x8005, \x diff --git a/include/constants/field_specials.h b/include/constants/field_specials.h index 35769ba3b1..64a105a5fd 100644 --- a/include/constants/field_specials.h +++ b/include/constants/field_specials.h @@ -91,4 +91,9 @@ enum { NO_PARTY_SCREEN }; +enum { + CURRENT_POSITION, + TEMPLATE_POSITION +}; + #endif // GUARD_CONSTANTS_FIELD_SPECIALS_H From fed7fc4f0a6b871adef04c18411633e44a6ae1b0 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 21:35:03 -0700 Subject: [PATCH 025/278] Fixed bug with checkobjectat --- src/field_specials.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/field_specials.c b/src/field_specials.c index a99a21f6b7..38e4fa4fde 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4301,15 +4301,16 @@ bool32 CheckObjectAtXY(void) for (i = 0; i < OBJECT_EVENTS_COUNT; i++) { if (!gObjectEvents[i].active) - return FALSE; + continue; if (gObjectEvents[i].currentCoords.x != x) - return FALSE; + continue; if (gObjectEvents[i].currentCoords.y != y) - return FALSE; + continue; + return TRUE; } - return TRUE; + return FALSE; } bool32 Script_GetSetPokedexFlag(void) From 287f6baaa965ae9ec4ba66bdf162ba8a731d2014 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Wed, 14 Aug 2024 22:14:48 -0700 Subject: [PATCH 026/278] spaces over tabs please don't eat my ass --- include/constants/field_specials.h | 8 +-- src/event_object_movement.c | 44 ++++++++--------- src/field_specials.c | 78 +++++++++++++++--------------- 3 files changed, 65 insertions(+), 65 deletions(-) diff --git a/include/constants/field_specials.h b/include/constants/field_specials.h index 64a105a5fd..72966adeb8 100644 --- a/include/constants/field_specials.h +++ b/include/constants/field_specials.h @@ -87,13 +87,13 @@ #define DEOXYS_ROCK_COMPLETE 3 enum { - OPEN_PARTY_SCREEN, - NO_PARTY_SCREEN + OPEN_PARTY_SCREEN, + NO_PARTY_SCREEN }; enum { - CURRENT_POSITION, - TEMPLATE_POSITION + CURRENT_POSITION, + TEMPLATE_POSITION }; #endif // GUARD_CONSTANTS_FIELD_SPECIALS_H diff --git a/src/event_object_movement.c b/src/event_object_movement.c index 4105aa42a5..8c069a895b 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -9494,30 +9494,30 @@ static void DoTracksGroundEffect_BikeTireTracks(struct ObjectEvent *objEvent, st static void DoTracksGroundEffect_SlitherTracks(struct ObjectEvent *objEvent, struct Sprite *sprite, u8 a) { - // Specifies which bike track shape to show next. - // For example, when the bike turns from up to right, it will show - // a track that curves to the right. - // Each 4-byte row corresponds to the initial direction of the bike, and - // each byte in that row is for the next direction of the bike in the order - // of down, up, left, right. - static const u8 slitherTracks_Transitions[4][4] = { - {1, 2, 7, 8}, - {1, 2, 6, 5}, - {5, 8, 3, 4}, - {6, 7, 3, 4}, - }; + // Specifies which bike track shape to show next. + // For example, when the bike turns from up to right, it will show + // a track that curves to the right. + // Each 4-byte row corresponds to the initial direction of the bike, and + // each byte in that row is for the next direction of the bike in the order + // of down, up, left, right. + static const u8 slitherTracks_Transitions[4][4] = { + {1, 2, 7, 8}, + {1, 2, 6, 5}, + {5, 8, 3, 4}, + {6, 7, 3, 4}, + }; - if (objEvent->currentCoords.x != objEvent->previousCoords.x || objEvent->currentCoords.y != objEvent->previousCoords.y) - { - gFieldEffectArguments[0] = objEvent->previousCoords.x; - gFieldEffectArguments[1] = objEvent->previousCoords.y; - gFieldEffectArguments[2] = 149; - gFieldEffectArguments[3] = 2; - gFieldEffectArguments[4] = - slitherTracks_Transitions[objEvent->previousMovementDirection][objEvent->facingDirection - 5]; + if (objEvent->currentCoords.x != objEvent->previousCoords.x || objEvent->currentCoords.y != objEvent->previousCoords.y) + { + gFieldEffectArguments[0] = objEvent->previousCoords.x; + gFieldEffectArguments[1] = objEvent->previousCoords.y; + gFieldEffectArguments[2] = 149; + gFieldEffectArguments[3] = 2; + gFieldEffectArguments[4] = + slitherTracks_Transitions[objEvent->previousMovementDirection][objEvent->facingDirection - 5]; gFieldEffectArguments[5] = objEvent->previousMetatileBehavior; - FieldEffectStart(FLDEFF_TRACKS_SLITHER); - } + FieldEffectStart(FLDEFF_TRACKS_SLITHER); + } } void GroundEffect_Ripple(struct ObjectEvent *objEvent, struct Sprite *sprite) diff --git a/src/field_specials.c b/src/field_specials.c index 38e4fa4fde..d0d370c566 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4270,58 +4270,58 @@ void PreparePartyForSkyBattle(void) void GetObjectPosition(void) { - u32 localId = gSpecialVar_0x8000; - u32 useTemplate = gSpecialVar_0x8001; - u32 objectId; - struct ObjectEvent* objEvent; + u32 localId = gSpecialVar_0x8000; + u32 useTemplate = gSpecialVar_0x8001; + u32 objectId; + struct ObjectEvent* objEvent; - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; - if (useTemplate) - { - const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); - *x = objTemplate->x; - *y = objTemplate->y; - return; - } + if (useTemplate) + { + const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); + *x = objTemplate->x; + *y = objTemplate->y; + return; + } - objectId = GetObjectEventIdByLocalId(localId); - objEvent = &gObjectEvents[objectId]; - *x = objEvent->currentCoords.x - 7; - *y = objEvent->currentCoords.y - 7; + objectId = GetObjectEventIdByLocalId(localId); + objEvent = &gObjectEvents[objectId]; + *x = objEvent->currentCoords.x - 7; + *y = objEvent->currentCoords.y - 7; } bool32 CheckObjectAtXY(void) { - u32 x = gSpecialVar_0x8005 + 7; - u32 y = gSpecialVar_0x8006 + 7; - u32 i; + u32 x = gSpecialVar_0x8005 + 7; + u32 y = gSpecialVar_0x8006 + 7; + u32 i; - for (i = 0; i < OBJECT_EVENTS_COUNT; i++) - { - if (!gObjectEvents[i].active) - continue; + for (i = 0; i < OBJECT_EVENTS_COUNT; i++) + { + if (!gObjectEvents[i].active) + continue; - if (gObjectEvents[i].currentCoords.x != x) - continue; + if (gObjectEvents[i].currentCoords.x != x) + continue; - if (gObjectEvents[i].currentCoords.y != y) - continue; - return TRUE; - } - return FALSE; + if (gObjectEvents[i].currentCoords.y != y) + continue; + return TRUE; + } + return FALSE; } bool32 Script_GetSetPokedexFlag(void) { - u32 speciesId = SpeciesToNationalPokedexNum(gSpecialVar_0x8005); - bool32 desiredFlag = gSpecialVar_0x8006; + u32 speciesId = SpeciesToNationalPokedexNum(gSpecialVar_0x8005); + bool32 desiredFlag = gSpecialVar_0x8006; - if (desiredFlag == FLAG_SET_CAUGHT) - GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); + if (desiredFlag == FLAG_SET_CAUGHT) + GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); - return GetSetPokedexFlag(speciesId,desiredFlag); + return GetSetPokedexFlag(speciesId,desiredFlag); } void SetMonBall(void) @@ -4332,9 +4332,9 @@ void SetMonBall(void) bool32 CheckPartyHasSpecie(void) { - u32 partyIndex; + u32 partyIndex; - for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) + for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == gSpecialVar_0x8005) return TRUE; @@ -4343,6 +4343,6 @@ bool32 CheckPartyHasSpecie(void) bool32 CheckChosenMonMatchDesiredSpecie(void) { - return (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == gSpecialVar_0x8005); + return (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == gSpecialVar_0x8005); } From c1ee43254e7f9e5032fd61eac65e090c3a80049f Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Thu, 15 Aug 2024 19:34:56 +0200 Subject: [PATCH 027/278] Clean up defines lacking spaces --- include/battle.h | 16 ++++++++-------- include/battle_main.h | 6 +++--- include/battle_util.h | 6 +++--- include/constants/items.h | 4 ++-- include/data.h | 8 ++++---- include/gba/defines.h | 2 +- include/global.h | 4 ++-- include/mail.h | 2 +- include/menu_specialized.h | 2 +- include/random.h | 4 ++-- src/battle_setup.c | 2 +- src/data/decoration/tilemaps.h | 2 +- src/data/pokemon/experience_tables.h | 12 ++++++------ src/data/union_room.h | 8 ++++---- src/field_specials.c | 14 +++++++------- src/fieldmap.c | 2 +- src/frontier_pass.c | 2 +- src/link_rfu_2.c | 2 +- src/menu_specialized.c | 2 +- src/pokemon_jump.c | 2 +- src/pokenav_ribbons_summary.c | 2 +- src/region_map.c | 2 +- src/roulette.c | 10 +++++----- src/union_room_player_avatar.c | 2 +- 24 files changed, 59 insertions(+), 59 deletions(-) diff --git a/include/battle.h b/include/battle.h index eb25b96550..1edd784030 100644 --- a/include/battle.h +++ b/include/battle.h @@ -460,26 +460,26 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER typeArg = gBattleMoves[move].type; \ } -#define IS_TYPE_PHYSICAL(moveType)(moveType < TYPE_MYSTERY) -#define IS_TYPE_SPECIAL(moveType)(moveType > TYPE_MYSTERY) +#define IS_TYPE_PHYSICAL(moveType) (moveType < TYPE_MYSTERY) +#define IS_TYPE_SPECIAL(moveType) (moveType > TYPE_MYSTERY) #define TARGET_TURN_DAMAGED ((gSpecialStatuses[gBattlerTarget].physicalDmg != 0 || gSpecialStatuses[gBattlerTarget].specialDmg != 0)) -#define IS_BATTLER_OF_TYPE(battlerId, type)((gBattleMons[battlerId].types[0] == type || gBattleMons[battlerId].types[1] == type)) +#define IS_BATTLER_OF_TYPE(battlerId, type) ((gBattleMons[battlerId].types[0] == type || gBattleMons[battlerId].types[1] == type)) #define SET_BATTLER_TYPE(battlerId, type) \ { \ gBattleMons[battlerId].types[0] = type; \ gBattleMons[battlerId].types[1] = type; \ } -#define GET_STAT_BUFF_ID(n)((n & 0xF)) // first four bits 0x1, 0x2, 0x4, 0x8 -#define GET_STAT_BUFF_VALUE2(n)((n & 0xF0)) -#define GET_STAT_BUFF_VALUE(n)(((n >> 4) & 7)) // 0x10, 0x20, 0x40 +#define GET_STAT_BUFF_ID(n) ((n & 0xF)) // first four bits 0x1, 0x2, 0x4, 0x8 +#define GET_STAT_BUFF_VALUE2(n) ((n & 0xF0)) +#define GET_STAT_BUFF_VALUE(n) (((n >> 4) & 7)) // 0x10, 0x20, 0x40 #define STAT_BUFF_NEGATIVE 0x80 // 0x80, the sign bit -#define SET_STAT_BUFF_VALUE(n)((((n) << 4) & 0xF0)) +#define SET_STAT_BUFF_VALUE(n) ((((n) << 4) & 0xF0)) -#define SET_STATCHANGER(statId, stage, goesDown)(gBattleScripting.statChanger = (statId) + (stage << 4) + (goesDown << 7)) +#define SET_STATCHANGER(statId, stage, goesDown) (gBattleScripting.statChanger = (statId) + (stage << 4) + (goesDown << 7)) // NOTE: The members of this struct have hard-coded offsets // in include/constants/battle_script_commands.h diff --git a/include/battle_main.h b/include/battle_main.h index e3e0cb7ea4..ae970286ca 100644 --- a/include/battle_main.h +++ b/include/battle_main.h @@ -23,9 +23,9 @@ struct MultiPartnerMenuPokemon }; // defines for the u8 array gTypeEffectiveness -#define TYPE_EFFECT_ATK_TYPE(i)((gTypeEffectiveness[i + 0])) -#define TYPE_EFFECT_DEF_TYPE(i)((gTypeEffectiveness[i + 1])) -#define TYPE_EFFECT_MULTIPLIER(i)((gTypeEffectiveness[i + 2])) +#define TYPE_EFFECT_ATK_TYPE(i) ((gTypeEffectiveness[i + 0])) +#define TYPE_EFFECT_DEF_TYPE(i) ((gTypeEffectiveness[i + 1])) +#define TYPE_EFFECT_MULTIPLIER(i) ((gTypeEffectiveness[i + 2])) // defines for the gTypeEffectiveness multipliers #define TYPE_MUL_NO_EFFECT 0 diff --git a/include/battle_util.h b/include/battle_util.h index c7de9aae86..870990e9f5 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -33,9 +33,9 @@ #define ABILITYEFFECT_WATER_SPORT 254 #define ABILITYEFFECT_SWITCH_IN_WEATHER 255 -#define ABILITY_ON_OPPOSING_FIELD(battlerId, abilityId)(AbilityBattleEffects(ABILITYEFFECT_CHECK_OTHER_SIDE, battlerId, abilityId, 0, 0)) -#define ABILITY_ON_FIELD(abilityId)(AbilityBattleEffects(ABILITYEFFECT_CHECK_ON_FIELD, 0, abilityId, 0, 0)) -#define ABILITY_ON_FIELD2(abilityId)(AbilityBattleEffects(ABILITYEFFECT_FIELD_SPORT, 0, abilityId, 0, 0)) +#define ABILITY_ON_OPPOSING_FIELD(battlerId, abilityId) (AbilityBattleEffects(ABILITYEFFECT_CHECK_OTHER_SIDE, battlerId, abilityId, 0, 0)) +#define ABILITY_ON_FIELD(abilityId) (AbilityBattleEffects(ABILITYEFFECT_CHECK_ON_FIELD, 0, abilityId, 0, 0)) +#define ABILITY_ON_FIELD2(abilityId) (AbilityBattleEffects(ABILITYEFFECT_FIELD_SPORT, 0, abilityId, 0, 0)) // For the first argument of ItemBattleEffects, to deteremine which block of item effects to try #define ITEMEFFECT_ON_SWITCH_IN 0 diff --git a/include/constants/items.h b/include/constants/items.h index ed9bfb5ec8..9e6fecf014 100644 --- a/include/constants/items.h +++ b/include/constants/items.h @@ -441,8 +441,8 @@ #define NUM_ROUTE_114_MAN_BERRIES (LAST_ROUTE_114_MAN_BERRY - FIRST_ROUTE_114_MAN_BERRY + 1) #define NUM_ROUTE_114_MAN_BERRIES_SKIPPED (FIRST_ROUTE_114_MAN_BERRY - FIRST_BERRY_INDEX) -#define ITEM_TO_BERRY(itemId)(((itemId) - FIRST_BERRY_INDEX) + 1) -#define ITEM_TO_MAIL(itemId)((itemId) - FIRST_MAIL_INDEX) +#define ITEM_TO_BERRY(itemId) (((itemId) - FIRST_BERRY_INDEX) + 1) +#define ITEM_TO_MAIL(itemId) ((itemId) - FIRST_MAIL_INDEX) #define MAIL_NONE 0xFF #define NUM_TECHNICAL_MACHINES 50 diff --git a/include/data.h b/include/data.h index 41b34d73e2..558b1dfff3 100644 --- a/include/data.h +++ b/include/data.h @@ -28,9 +28,9 @@ struct MonCoords u8 y_offset; }; -#define MON_COORDS_SIZE(width, height)(DIV_ROUND_UP(width, 8) << 4 | DIV_ROUND_UP(height, 8)) -#define GET_MON_COORDS_WIDTH(size)((size >> 4) * 8) -#define GET_MON_COORDS_HEIGHT(size)((size & 0xF) * 8) +#define MON_COORDS_SIZE(width, height) (DIV_ROUND_UP(width, 8) << 4 | DIV_ROUND_UP(height, 8)) +#define GET_MON_COORDS_WIDTH(size) ((size >> 4) * 8) +#define GET_MON_COORDS_HEIGHT(size) ((size & 0xF) * 8) struct TrainerMonNoItemDefaultMoves { @@ -91,7 +91,7 @@ struct Trainer /*0x24*/ union TrainerMonPtr party; }; -#define TRAINER_ENCOUNTER_MUSIC(trainer)((gTrainers[trainer].encounterMusic_gender & 0x7F)) +#define TRAINER_ENCOUNTER_MUSIC(trainer) ((gTrainers[trainer].encounterMusic_gender & 0x7F)) extern const u16 gMinigameDigits_Pal[]; extern const u32 gMinigameDigits_Gfx[]; diff --git a/include/gba/defines.h b/include/gba/defines.h index fa3a30fd6e..febe6882cf 100644 --- a/include/gba/defines.h +++ b/include/gba/defines.h @@ -75,7 +75,7 @@ #define DISPLAY_TILE_HEIGHT (DISPLAY_HEIGHT / TILE_HEIGHT) // Size of different tile formats in bytes -#define TILE_SIZE(bpp)((bpp) * TILE_WIDTH * TILE_HEIGHT / 8) +#define TILE_SIZE(bpp) ((bpp) * TILE_WIDTH * TILE_HEIGHT / 8) #define TILE_SIZE_1BPP TILE_SIZE(1) // 8 #define TILE_SIZE_4BPP TILE_SIZE(4) // 32 #define TILE_SIZE_8BPP TILE_SIZE(8) // 64 diff --git a/include/global.h b/include/global.h index 658af43da7..00d608e672 100644 --- a/include/global.h +++ b/include/global.h @@ -89,7 +89,7 @@ // There are cases where GF does a&(n-1) where we would really like to have a%n, because // if n is changed to a value that isn't a power of 2 then a&(n-1) is unlikely to work as // intended, and a%n for powers of 2 isn't always optimized to use &. -#define MOD(a, n)(((n) & ((n)-1)) ? ((a) % (n)) : ((a) & ((n)-1))) +#define MOD(a, n) (((n) & ((n)-1)) ? ((a) % (n)) : ((a) & ((n)-1))) // Extracts the upper 16 bits of a 32-bit number #define HIHALF(n) (((n) & 0xFFFF0000) >> 16) @@ -130,7 +130,7 @@ f; \ }) -#define DIV_ROUND_UP(val, roundBy)(((val) / (roundBy)) + (((val) % (roundBy)) ? 1 : 0)) +#define DIV_ROUND_UP(val, roundBy) (((val) / (roundBy)) + (((val) % (roundBy)) ? 1 : 0)) #define ROUND_BITS_TO_BYTES(numBits) DIV_ROUND_UP(numBits, 8) diff --git a/include/mail.h b/include/mail.h index f4590a70ec..403078f097 100644 --- a/include/mail.h +++ b/include/mail.h @@ -1,7 +1,7 @@ #ifndef GUARD_MAIL_H #define GUARD_MAIL_H -#define IS_ITEM_MAIL(itemId)((itemId == ITEM_ORANGE_MAIL \ +#define IS_ITEM_MAIL(itemId) ((itemId == ITEM_ORANGE_MAIL \ || itemId == ITEM_HARBOR_MAIL \ || itemId == ITEM_GLITTER_MAIL \ || itemId == ITEM_MECH_MAIL \ diff --git a/include/menu_specialized.h b/include/menu_specialized.h index 06a188b8a0..152afb59ac 100644 --- a/include/menu_specialized.h +++ b/include/menu_specialized.h @@ -44,7 +44,7 @@ enum { // The number of extra sparkles shown on a Pokémon's condition screen. // All Pokémon start with 1, so the max here is MAX_CONDITION_SPARKLES - 1 -#define GET_NUM_CONDITION_SPARKLES(sheen)((sheen) != MAX_SHEEN) ? (sheen) / ((u32)MAX_SHEEN / (MAX_CONDITION_SPARKLES - 1) + 1) : MAX_CONDITION_SPARKLES - 1; +#define GET_NUM_CONDITION_SPARKLES(sheen) ((sheen) != MAX_SHEEN) ? (sheen) / ((u32)MAX_SHEEN / (MAX_CONDITION_SPARKLES - 1) + 1) : MAX_CONDITION_SPARKLES - 1; #define CONDITION_GRAPH_TOP_Y 56 #define CONDITION_GRAPH_BOTTOM_Y 121 diff --git a/include/random.h b/include/random.h index 6bf61de6c6..ba7aeccc1a 100644 --- a/include/random.h +++ b/include/random.h @@ -13,8 +13,8 @@ u16 Random2(void); // The number 1103515245 comes from the example implementation of rand and srand // in the ISO C standard. -#define ISO_RANDOMIZE1(val)(1103515245 * (val) + 24691) -#define ISO_RANDOMIZE2(val)(1103515245 * (val) + 12345) +#define ISO_RANDOMIZE1(val) (1103515245 * (val) + 24691) +#define ISO_RANDOMIZE2(val) (1103515245 * (val) + 12345) //Sets the initial seed value of the pseudorandom number generator void SeedRng(u16 seed); diff --git a/src/battle_setup.c b/src/battle_setup.c index e87ce6dd27..be5b09e5e5 100644 --- a/src/battle_setup.c +++ b/src/battle_setup.c @@ -859,7 +859,7 @@ static u8 GetTrainerBattleTransition(void) return sBattleTransitionTable_Trainer[transitionType][1]; } -#define RANDOM_TRANSITION(table)(table[Random() % ARRAY_COUNT(table)]) +#define RANDOM_TRANSITION(table) (table[Random() % ARRAY_COUNT(table)]) u8 GetSpecialBattleTransition(s32 id) { u16 var; diff --git a/src/data/decoration/tilemaps.h b/src/data/decoration/tilemaps.h index eebb3acb25..d6c351ae85 100644 --- a/src/data/decoration/tilemaps.h +++ b/src/data/decoration/tilemaps.h @@ -171,7 +171,7 @@ static const u8 sDecorTilemap_3x2_X[] = { 0x06, 0x07, 0x06, 0x07, 0x06, 0x07 }; -#define DECORSIZE(width, height)((width) * (height) * 4) +#define DECORSIZE(width, height) ((width) * (height) * 4) static const struct { const u8 *tiles; diff --git a/src/data/pokemon/experience_tables.h b/src/data/pokemon/experience_tables.h index 8f50e10918..848d5c5016 100644 --- a/src/data/pokemon/experience_tables.h +++ b/src/data/pokemon/experience_tables.h @@ -1,10 +1,10 @@ -#define SQUARE(n)((n) * (n)) -#define CUBE(n)((n) * (n) * (n)) +#define SQUARE(n) ((n) * (n)) +#define CUBE(n) ((n) * (n) * (n)) -#define EXP_SLOW(n)((5 * CUBE(n)) / 4) // (5 * (n)^3) / 4 -#define EXP_FAST(n)((4 * CUBE(n)) / 5) // (4 * (n)^3) / 5 -#define EXP_MEDIUM_FAST(n)(CUBE(n)) // (n)^3 -#define EXP_MEDIUM_SLOW(n)((6 * CUBE(n)) / 5 - (15 * SQUARE(n)) + (100 * n) - 140) // (6 * (n)^3) / 5 - (15 * (n)^2) + (100 * n) - 140 +#define EXP_SLOW(n) ((5 * CUBE(n)) / 4) // (5 * (n)^3) / 4 +#define EXP_FAST(n) ((4 * CUBE(n)) / 5) // (4 * (n)^3) / 5 +#define EXP_MEDIUM_FAST(n) (CUBE(n)) // (n)^3 +#define EXP_MEDIUM_SLOW(n) ((6 * CUBE(n)) / 5 - (15 * SQUARE(n)) + (100 * n) - 140) // (6 * (n)^3) / 5 - (15 * (n)^2) + (100 * n) - 140 #define EXP_ERRATIC(n) \ (n <= 50) ? ((100 - n) * CUBE(n) / 50) \ :(n <= 68) ? ((150 - n) * CUBE(n) / 100) \ diff --git a/src/data/union_room.h b/src/data/union_room.h index 129c629941..c4bd984736 100644 --- a/src/data/union_room.h +++ b/src/data/union_room.h @@ -633,10 +633,10 @@ static const struct WindowTemplate sWindowTemplate_BButtonCancel = { // Minimum and maximum number of players for a link group // A minimum of 0 means the min and max are equal -#define LINK_GROUP_CAPACITY(min, max)(((min) << 12) | ((max) << 8)) -#define GROUP_MAX(capacity)(capacity & 0x0F) -#define GROUP_MIN(capacity)(capacity >> 4) -#define GROUP_MIN2(capacity)(capacity & 0xF0) // Unnecessary to have both, but needed to match +#define LINK_GROUP_CAPACITY(min, max) (((min) << 12) | ((max) << 8)) +#define GROUP_MAX(capacity) (capacity & 0x0F) +#define GROUP_MIN(capacity) (capacity >> 4) +#define GROUP_MIN2(capacity) (capacity & 0xF0) // Unnecessary to have both, but needed to match static const u32 sLinkGroupToActivityAndCapacity[NUM_LINK_GROUP_TYPES] = { [LINK_GROUP_SINGLE_BATTLE] = ACTIVITY_BATTLE_SINGLE | LINK_GROUP_CAPACITY(0, 2), diff --git a/src/field_specials.c b/src/field_specials.c index 7d20d3571d..d8fc96c49d 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -3957,14 +3957,14 @@ bool8 InPokemonCenter(void) #define FANCLUB_BITFIELD (gSaveBlock1Ptr->vars[VAR_FANCLUB_FAN_COUNTER - VARS_START]) #define FANCLUB_COUNTER 0x007F -#define GET_TRAINER_FAN_CLUB_FLAG(flag) (FANCLUB_BITFIELD >> (flag) & 1) -#define SET_TRAINER_FAN_CLUB_FLAG(flag) (FANCLUB_BITFIELD |= 1 << (flag)) -#define FLIP_TRAINER_FAN_CLUB_FLAG(flag)(FANCLUB_BITFIELD ^= 1 << (flag)) +#define GET_TRAINER_FAN_CLUB_FLAG(flag) (FANCLUB_BITFIELD >> (flag) & 1) +#define SET_TRAINER_FAN_CLUB_FLAG(flag) (FANCLUB_BITFIELD |= 1 << (flag)) +#define FLIP_TRAINER_FAN_CLUB_FLAG(flag) (FANCLUB_BITFIELD ^= 1 << (flag)) -#define GET_TRAINER_FAN_CLUB_COUNTER (FANCLUB_BITFIELD & FANCLUB_COUNTER) -#define SET_TRAINER_FAN_CLUB_COUNTER(count) (FANCLUB_BITFIELD = (FANCLUB_BITFIELD & ~FANCLUB_COUNTER) | (count)) -#define INCR_TRAINER_FAN_CLUB_COUNTER(count)(FANCLUB_BITFIELD += (count)) -#define CLEAR_TRAINER_FAN_CLUB_COUNTER (FANCLUB_BITFIELD &= ~FANCLUB_COUNTER) +#define GET_TRAINER_FAN_CLUB_COUNTER (FANCLUB_BITFIELD & FANCLUB_COUNTER) +#define SET_TRAINER_FAN_CLUB_COUNTER(count) (FANCLUB_BITFIELD = (FANCLUB_BITFIELD & ~FANCLUB_COUNTER) | (count)) +#define INCR_TRAINER_FAN_CLUB_COUNTER(count) (FANCLUB_BITFIELD += (count)) +#define CLEAR_TRAINER_FAN_CLUB_COUNTER (FANCLUB_BITFIELD &= ~FANCLUB_COUNTER) void ResetFanClub(void) { diff --git a/src/fieldmap.c b/src/fieldmap.c index 5fdc4cbfb7..e4dc0026a3 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -48,7 +48,7 @@ static const struct MapConnection *GetIncomingConnection(u8 direction, int x, in static bool8 IsPosInIncomingConnectingMap(u8 direction, int x, int y, const struct MapConnection *connection); static bool8 IsCoordInIncomingConnectingMap(int coord, int srcMax, int destMax, int offset); -#define GetBorderBlockAt(x, y)({ \ +#define GetBorderBlockAt(x, y) ({ \ u16 block; \ int i; \ const u16 *border = gMapHeader.mapLayout->border; /* Unused, they read it again below */ \ diff --git a/src/frontier_pass.c b/src/frontier_pass.c index 07e06ad3b9..a351d81ce9 100644 --- a/src/frontier_pass.c +++ b/src/frontier_pass.c @@ -1241,7 +1241,7 @@ static void ShowHideZoomingArea(bool8 show, bool8 zoomedIn) static void UpdateAreaHighlight(u8 cursorArea, u8 previousCursorArea) { - #define NON_HIGHLIGHT_AREA(area)((area) == CURSOR_AREA_NOTHING || (area) > CURSOR_AREA_CANCEL) + #define NON_HIGHLIGHT_AREA(area) ((area) == CURSOR_AREA_NOTHING || (area) > CURSOR_AREA_CANCEL) // If moving off highlightable area, unhighlight it switch (previousCursorArea) diff --git a/src/link_rfu_2.c b/src/link_rfu_2.c index 9979097a49..b34c7184cf 100644 --- a/src/link_rfu_2.c +++ b/src/link_rfu_2.c @@ -138,7 +138,7 @@ static const u8 sAvailSlots[] = { [4] = AVAIL_SLOT4 }; -#define BLOCK_MASK(bitNum)((1 << (bitNum)) - 1) +#define BLOCK_MASK(bitNum) ((1 << (bitNum)) - 1) static const u32 sAllBlocksReceived[] = { BLOCK_MASK(0), BLOCK_MASK(1), diff --git a/src/menu_specialized.c b/src/menu_specialized.c index 20ddce1f44..1272277aa5 100644 --- a/src/menu_specialized.c +++ b/src/menu_specialized.c @@ -317,7 +317,7 @@ void MailboxMenu_Free(void) // filled with the graph color. //--------------------------------------- -#define SHIFT_RIGHT_ADJUSTED(n, s)(((n) >> (s)) + (((n) >> ((s) - 1)) & 1)) +#define SHIFT_RIGHT_ADJUSTED(n, s) (((n) >> (s)) + (((n) >> ((s) - 1)) & 1)) void ConditionGraph_Init(struct ConditionGraph *graph) { diff --git a/src/pokemon_jump.c b/src/pokemon_jump.c index d744ff6650..a1c401c6df 100755 --- a/src/pokemon_jump.c +++ b/src/pokemon_jump.c @@ -108,7 +108,7 @@ enum { // the lower 8 bits are a timer to the next state. // When the timer is incremented above 255, it increments // the vine state and the timer is reset. -#define VINE_STATE_TIMER(vineState)(((vineState) << 8) | 0xFF) +#define VINE_STATE_TIMER(vineState) (((vineState) << 8) | 0xFF) enum { MONSTATE_NORMAL, // Pokémon is either on the ground or in the middle of a jump diff --git a/src/pokenav_ribbons_summary.c b/src/pokenav_ribbons_summary.c index e77f839a80..c799daf57b 100644 --- a/src/pokenav_ribbons_summary.c +++ b/src/pokenav_ribbons_summary.c @@ -1080,7 +1080,7 @@ enum { RIBBONGFX_GIFT_3, }; -#define TO_PAL_OFFSET(palNum)((palNum) - PALTAG_RIBBON_ICONS_1) +#define TO_PAL_OFFSET(palNum) ((palNum) - PALTAG_RIBBON_ICONS_1) struct { diff --git a/src/region_map.c b/src/region_map.c index 21c6314d30..8fa53a0e7b 100644 --- a/src/region_map.c +++ b/src/region_map.c @@ -189,7 +189,7 @@ static const u16 sTerraOrMarineCaveMapSecIds[ABNORMAL_WEATHER_LOCATIONS] = [ABNORMAL_WEATHER_ROUTE_129_EAST - 1] = MAPSEC_ROUTE_129 }; -#define MARINE_CAVE_COORD(location)(ABNORMAL_WEATHER_##location - MARINE_CAVE_LOCATIONS_START) +#define MARINE_CAVE_COORD(location) (ABNORMAL_WEATHER_##location - MARINE_CAVE_LOCATIONS_START) static const struct UCoords16 sMarineCaveLocationCoords[MARINE_CAVE_LOCATIONS] = { diff --git a/src/roulette.c b/src/roulette.c index ec4c8cfcfe..f4e6012a8d 100644 --- a/src/roulette.c +++ b/src/roulette.c @@ -70,13 +70,13 @@ // Get the id of the col/row from the selection ID // e.g. GET_ROW(SQU_PURPLE_SKITTY) is ROW_PURPLE -#define GET_COL(selectionId)((selectionId) % (NUM_BOARD_POKES + 1)) -#define GET_ROW(selectionId)((selectionId) / (NUM_BOARD_POKES + 1) * (NUM_BOARD_POKES + 1)) +#define GET_COL(selectionId) ((selectionId) % (NUM_BOARD_POKES + 1)) +#define GET_ROW(selectionId) ((selectionId) / (NUM_BOARD_POKES + 1) * (NUM_BOARD_POKES + 1)) // Get the col/row index from the selection ID // e.g. GET_ROW_IDX(SQU_PURPLE_SKITTY) is 2 (purple being the 3rd row) -#define GET_COL_IDX(selectionId)(selectionId - 1) -#define GET_ROW_IDX(selectionId)(selectionId / 5 - 1) +#define GET_COL_IDX(selectionId) (selectionId - 1) +#define GET_ROW_IDX(selectionId) (selectionId / 5 - 1) // Flags for the above selections, used to set which spaces have been hit or bet on #define F_WYNAUT_COL (1 << COL_WYNAUT) @@ -149,7 +149,7 @@ // 2 different Roulette tables with 2 different rates (normal vs service day special) // & 1 gets which table, >> 7 gets if ROULETTE_SPECIAL_RATE is set -#define GET_MIN_BET_ID(var)(((var) & 1) + (((var) >> 7) * 2)) +#define GET_MIN_BET_ID(var) (((var) & 1) + (((var) >> 7) * 2)) // Having Shroomish or Taillow in the party can make rolls more consistent in length // It also increases the likelihood that, if they appear to unstick a ball, they'll move it to a slot the player bet on diff --git a/src/union_room_player_avatar.c b/src/union_room_player_avatar.c index a7d5045b38..1bb7968359 100644 --- a/src/union_room_player_avatar.c +++ b/src/union_room_player_avatar.c @@ -14,7 +14,7 @@ // Each parent player can lead a group of up to MAX_RFU_PLAYERS (including themselves). // Multiply the leader's id by MAX_RFU_PLAYERS and add the member's id (0 if the leader) to // get the sprite index of that player. -#define UR_PLAYER_SPRITE_ID(leaderId, memberId)(MAX_RFU_PLAYERS * leaderId + memberId) +#define UR_PLAYER_SPRITE_ID(leaderId, memberId) (MAX_RFU_PLAYERS * leaderId + memberId) static EWRAM_DATA struct UnionRoomObject * sUnionObjWork = NULL; static EWRAM_DATA u32 sUnionObjRefreshTimer = 0; From 3f49c5cbaf5bd8bdb02cb54d0a44e61faba114f4 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 7 Aug 2024 16:24:30 -0400 Subject: [PATCH 028/278] Fix trainer match call flags --- include/constants/flags.h | 164 +++++++++++++++++----------------- include/constants/rematches.h | 89 ++++++++++++++++++ include/gym_leader_rematch.h | 85 +----------------- map_data_rules.mk | 4 +- src/battle_setup.c | 4 +- src/field_specials.c | 2 +- src/match_call.c | 11 +-- src/pokenav_match_call_data.c | 16 ++-- src/pokenav_match_call_list.c | 2 +- 9 files changed, 194 insertions(+), 183 deletions(-) create mode 100644 include/constants/rematches.h diff --git a/include/constants/flags.h b/include/constants/flags.h index 8d98e3aa04..5b1b5efd19 100644 --- a/include/constants/flags.h +++ b/include/constants/flags.h @@ -2,6 +2,7 @@ #define GUARD_CONSTANTS_FLAGS_H #include "constants/opponents.h" +#include "constants/rematches.h" // Temporary Flags // These temporary flags are are cleared every time a map is loaded. They are used @@ -375,86 +376,89 @@ #define FLAG_MET_FRONTIER_BEAUTY_MOVE_TUTOR 0x15A #define FLAG_MET_FRONTIER_SWIMMER_MOVE_TUTOR 0x15B -// Trainer Rematch Flags -#define FLAG_MATCH_CALL_REGISTERED 0x15C -#define FLAG_REMATCH_ROSE 0x15D -#define FLAG_REMATCH_ANDRES 0x15E -#define FLAG_REMATCH_DUSTY 0x15F -#define FLAG_REMATCH_LOLA 0x160 -#define FLAG_REMATCH_RICKY 0x161 -#define FLAG_REMATCH_LILA_AND_ROY 0x162 -#define FLAG_REMATCH_CRISTIN 0x163 -#define FLAG_REMATCH_BROOKE 0x164 -#define FLAG_REMATCH_WILTON 0x165 -#define FLAG_REMATCH_VALERIE 0x166 -#define FLAG_REMATCH_CINDY 0x167 -#define FLAG_REMATCH_THALIA 0x168 -#define FLAG_REMATCH_JESSICA 0x169 -#define FLAG_REMATCH_WINSTON 0x16A -#define FLAG_REMATCH_STEVE 0x16B -#define FLAG_REMATCH_TONY 0x16C -#define FLAG_REMATCH_NOB 0x16D -#define FLAG_REMATCH_KOJI 0x16E -#define FLAG_REMATCH_FERNANDO 0x16F -#define FLAG_REMATCH_DALTON 0x170 -#define FLAG_REMATCH_BERNIE 0x171 -#define FLAG_REMATCH_ETHAN 0x172 -#define FLAG_REMATCH_JOHN_AND_JAY 0x173 -#define FLAG_REMATCH_JEFFREY 0x174 -#define FLAG_REMATCH_CAMERON 0x175 -#define FLAG_REMATCH_JACKI 0x176 -#define FLAG_REMATCH_WALTER 0x177 -#define FLAG_REMATCH_KAREN 0x178 -#define FLAG_REMATCH_JERRY 0x179 -#define FLAG_REMATCH_ANNA_AND_MEG 0x17A -#define FLAG_REMATCH_ISABEL 0x17B -#define FLAG_REMATCH_MIGUEL 0x17C -#define FLAG_REMATCH_TIMOTHY 0x17D -#define FLAG_REMATCH_SHELBY 0x17E -#define FLAG_REMATCH_CALVIN 0x17F -#define FLAG_REMATCH_ELLIOT 0x180 -#define FLAG_REMATCH_ISAIAH 0x181 -#define FLAG_REMATCH_MARIA 0x182 -#define FLAG_REMATCH_ABIGAIL 0x183 -#define FLAG_REMATCH_DYLAN 0x184 -#define FLAG_REMATCH_KATELYN 0x185 -#define FLAG_REMATCH_BENJAMIN 0x186 -#define FLAG_REMATCH_PABLO 0x187 -#define FLAG_REMATCH_NICOLAS 0x188 -#define FLAG_REMATCH_ROBERT 0x189 -#define FLAG_REMATCH_LAO 0x18A -#define FLAG_REMATCH_CYNDY 0x18B -#define FLAG_REMATCH_MADELINE 0x18C -#define FLAG_REMATCH_JENNY 0x18D -#define FLAG_REMATCH_DIANA 0x18E -#define FLAG_REMATCH_AMY_AND_LIV 0x18F -#define FLAG_REMATCH_ERNEST 0x190 -#define FLAG_REMATCH_CORY 0x191 -#define FLAG_REMATCH_EDWIN 0x192 -#define FLAG_REMATCH_LYDIA 0x193 -#define FLAG_REMATCH_ISAAC 0x194 -#define FLAG_REMATCH_GABRIELLE 0x195 -#define FLAG_REMATCH_CATHERINE 0x196 -#define FLAG_REMATCH_JACKSON 0x197 -#define FLAG_REMATCH_HALEY 0x198 -#define FLAG_REMATCH_JAMES 0x199 -#define FLAG_REMATCH_TRENT 0x19A -#define FLAG_REMATCH_SAWYER 0x19B -#define FLAG_REMATCH_KIRA_AND_DAN 0x19C -#define FLAG_REMATCH_WALLY 0x19D -#define FLAG_REMATCH_ROXANNE 0x19E -#define FLAG_REMATCH_BRAWLY 0x19F -#define FLAG_REMATCH_WATTSON 0x1A0 -#define FLAG_REMATCH_FLANNERY 0x1A1 -#define FLAG_REMATCH_NORMAN 0x1A2 -#define FLAG_REMATCH_WINONA 0x1A3 -#define FLAG_REMATCH_TATE_AND_LIZA 0x1A4 -// Note: FLAG_REMATCH_JUAN is handled by FLAG_ENABLE_JUAN_MATCH_CALL instead. -#define FLAG_REMATCH_SIDNEY 0x1A5 -#define FLAG_REMATCH_PHOEBE 0x1A6 -#define FLAG_REMATCH_GLACIA 0x1A7 -#define FLAG_REMATCH_DRAKE 0x1A8 -#define FLAG_REMATCH_WALLACE 0x1A9 +// Flags for whether a rematchable trainer has been registered in the player's Match Call. +// Most are used implicitly by adding their REMATCH_* id to TRAINER_REGISTERED_FLAGS_START. +// Some Match Call entries (like those for gym leaders, Wally, and all non-trainer NPCs like Prof. Birch) +// have their own separate flag that needs to be set to be enabled; see src/pokenav_match_call_data.c +#define TRAINER_REGISTERED_FLAGS_START 0x15C +#define FLAG_REGISTERED_ROSE (TRAINER_REGISTERED_FLAGS_START + REMATCH_ROSE) +#define FLAG_REGISTERED_ANDRES (TRAINER_REGISTERED_FLAGS_START + REMATCH_ANDRES) +#define FLAG_REGISTERED_DUSTY (TRAINER_REGISTERED_FLAGS_START + REMATCH_DUSTY) +#define FLAG_REGISTERED_LOLA (TRAINER_REGISTERED_FLAGS_START + REMATCH_LOLA) +#define FLAG_REGISTERED_RICKY (TRAINER_REGISTERED_FLAGS_START + REMATCH_RICKY) +#define FLAG_REGISTERED_LILA_AND_ROY (TRAINER_REGISTERED_FLAGS_START + REMATCH_LILA_AND_ROY) +#define FLAG_REGISTERED_CRISTIN (TRAINER_REGISTERED_FLAGS_START + REMATCH_CRISTIN) +#define FLAG_REGISTERED_BROOKE (TRAINER_REGISTERED_FLAGS_START + REMATCH_BROOKE) +#define FLAG_REGISTERED_WILTON (TRAINER_REGISTERED_FLAGS_START + REMATCH_WILTON) +#define FLAG_REGISTERED_VALERIE (TRAINER_REGISTERED_FLAGS_START + REMATCH_VALERIE) +#define FLAG_REGISTERED_CINDY (TRAINER_REGISTERED_FLAGS_START + REMATCH_CINDY) +#define FLAG_REGISTERED_THALIA (TRAINER_REGISTERED_FLAGS_START + REMATCH_THALIA) +#define FLAG_REGISTERED_JESSICA (TRAINER_REGISTERED_FLAGS_START + REMATCH_JESSICA) +#define FLAG_REGISTERED_WINSTON (TRAINER_REGISTERED_FLAGS_START + REMATCH_WINSTON) +#define FLAG_REGISTERED_STEVE (TRAINER_REGISTERED_FLAGS_START + REMATCH_STEVE) +#define FLAG_REGISTERED_TONY (TRAINER_REGISTERED_FLAGS_START + REMATCH_TONY) +#define FLAG_REGISTERED_NOB (TRAINER_REGISTERED_FLAGS_START + REMATCH_NOB) +#define FLAG_REGISTERED_KOJI (TRAINER_REGISTERED_FLAGS_START + REMATCH_KOJI) +#define FLAG_REGISTERED_FERNANDO (TRAINER_REGISTERED_FLAGS_START + REMATCH_FERNANDO) +#define FLAG_REGISTERED_DALTON (TRAINER_REGISTERED_FLAGS_START + REMATCH_DALTON) +#define FLAG_REGISTERED_BERNIE (TRAINER_REGISTERED_FLAGS_START + REMATCH_BERNIE) +#define FLAG_REGISTERED_ETHAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_ETHAN) +#define FLAG_REGISTERED_JOHN_AND_JAY (TRAINER_REGISTERED_FLAGS_START + REMATCH_JOHN_AND_JAY) +#define FLAG_REGISTERED_JEFFREY (TRAINER_REGISTERED_FLAGS_START + REMATCH_JEFFREY) +#define FLAG_REGISTERED_CAMERON (TRAINER_REGISTERED_FLAGS_START + REMATCH_CAMERON) +#define FLAG_REGISTERED_JACKI (TRAINER_REGISTERED_FLAGS_START + REMATCH_JACKI) +#define FLAG_REGISTERED_WALTER (TRAINER_REGISTERED_FLAGS_START + REMATCH_WALTER) +#define FLAG_REGISTERED_KAREN (TRAINER_REGISTERED_FLAGS_START + REMATCH_KAREN) +#define FLAG_REGISTERED_JERRY (TRAINER_REGISTERED_FLAGS_START + REMATCH_JERRY) +#define FLAG_REGISTERED_ANNA_AND_MEG (TRAINER_REGISTERED_FLAGS_START + REMATCH_ANNA_AND_MEG) +#define FLAG_REGISTERED_ISABEL (TRAINER_REGISTERED_FLAGS_START + REMATCH_ISABEL) +#define FLAG_REGISTERED_MIGUEL (TRAINER_REGISTERED_FLAGS_START + REMATCH_MIGUEL) +#define FLAG_REGISTERED_TIMOTHY (TRAINER_REGISTERED_FLAGS_START + REMATCH_TIMOTHY) +#define FLAG_REGISTERED_SHELBY (TRAINER_REGISTERED_FLAGS_START + REMATCH_SHELBY) +#define FLAG_REGISTERED_CALVIN (TRAINER_REGISTERED_FLAGS_START + REMATCH_CALVIN) +#define FLAG_REGISTERED_ELLIOT (TRAINER_REGISTERED_FLAGS_START + REMATCH_ELLIOT) +#define FLAG_REGISTERED_ISAIAH (TRAINER_REGISTERED_FLAGS_START + REMATCH_ISAIAH) +#define FLAG_REGISTERED_MARIA (TRAINER_REGISTERED_FLAGS_START + REMATCH_MARIA) +#define FLAG_REGISTERED_ABIGAIL (TRAINER_REGISTERED_FLAGS_START + REMATCH_ABIGAIL) +#define FLAG_REGISTERED_DYLAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_DYLAN) +#define FLAG_REGISTERED_KATELYN (TRAINER_REGISTERED_FLAGS_START + REMATCH_KATELYN) +#define FLAG_REGISTERED_BENJAMIN (TRAINER_REGISTERED_FLAGS_START + REMATCH_BENJAMIN) +#define FLAG_REGISTERED_PABLO (TRAINER_REGISTERED_FLAGS_START + REMATCH_PABLO) +#define FLAG_REGISTERED_NICOLAS (TRAINER_REGISTERED_FLAGS_START + REMATCH_NICOLAS) +#define FLAG_REGISTERED_ROBERT (TRAINER_REGISTERED_FLAGS_START + REMATCH_ROBERT) +#define FLAG_REGISTERED_LAO (TRAINER_REGISTERED_FLAGS_START + REMATCH_LAO) +#define FLAG_REGISTERED_CYNDY (TRAINER_REGISTERED_FLAGS_START + REMATCH_CYNDY) +#define FLAG_REGISTERED_MADELINE (TRAINER_REGISTERED_FLAGS_START + REMATCH_MADELINE) +#define FLAG_REGISTERED_JENNY (TRAINER_REGISTERED_FLAGS_START + REMATCH_JENNY) +#define FLAG_REGISTERED_DIANA (TRAINER_REGISTERED_FLAGS_START + REMATCH_DIANA) +#define FLAG_REGISTERED_AMY_AND_LIV (TRAINER_REGISTERED_FLAGS_START + REMATCH_AMY_AND_LIV) +#define FLAG_REGISTERED_ERNEST (TRAINER_REGISTERED_FLAGS_START + REMATCH_ERNEST) +#define FLAG_REGISTERED_CORY (TRAINER_REGISTERED_FLAGS_START + REMATCH_CORY) +#define FLAG_REGISTERED_EDWIN (TRAINER_REGISTERED_FLAGS_START + REMATCH_EDWIN) +#define FLAG_REGISTERED_LYDIA (TRAINER_REGISTERED_FLAGS_START + REMATCH_LYDIA) +#define FLAG_REGISTERED_ISAAC (TRAINER_REGISTERED_FLAGS_START + REMATCH_ISAAC) +#define FLAG_REGISTERED_GABRIELLE (TRAINER_REGISTERED_FLAGS_START + REMATCH_GABRIELLE) +#define FLAG_REGISTERED_CATHERINE (TRAINER_REGISTERED_FLAGS_START + REMATCH_CATHERINE) +#define FLAG_REGISTERED_JACKSON (TRAINER_REGISTERED_FLAGS_START + REMATCH_JACKSON) +#define FLAG_REGISTERED_HALEY (TRAINER_REGISTERED_FLAGS_START + REMATCH_HALEY) +#define FLAG_REGISTERED_JAMES (TRAINER_REGISTERED_FLAGS_START + REMATCH_JAMES) +#define FLAG_REGISTERED_TRENT (TRAINER_REGISTERED_FLAGS_START + REMATCH_TRENT) +#define FLAG_REGISTERED_SAWYER (TRAINER_REGISTERED_FLAGS_START + REMATCH_SAWYER) +#define FLAG_REGISTERED_KIRA_AND_DAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_KIRA_AND_DAN) +#define FLAG_REGISTERED_WALLY (TRAINER_REGISTERED_FLAGS_START + REMATCH_WALLY) +#define FLAG_REGISTERED_ROXANNE (TRAINER_REGISTERED_FLAGS_START + REMATCH_ROXANNE) +#define FLAG_REGISTERED_BRAWLY (TRAINER_REGISTERED_FLAGS_START + REMATCH_BRAWLY) +#define FLAG_REGISTERED_WATTSON (TRAINER_REGISTERED_FLAGS_START + REMATCH_WATTSON) +#define FLAG_REGISTERED_FLANNERY (TRAINER_REGISTERED_FLAGS_START + REMATCH_FLANNERY) +#define FLAG_REGISTERED_NORMAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_NORMAN) +#define FLAG_REGISTERED_WINONA (TRAINER_REGISTERED_FLAGS_START + REMATCH_WINONA) +#define FLAG_REGISTERED_TATE_AND_LIZA (TRAINER_REGISTERED_FLAGS_START + REMATCH_TATE_AND_LIZA) +#define FLAG_REGISTERED_JUAN (TRAINER_REGISTERED_FLAGS_START + REMATCH_JUAN) +#define FLAG_REGISTERED_SIDNEY (TRAINER_REGISTERED_FLAGS_START + REMATCH_SIDNEY) +#define FLAG_REGISTERED_PHOEBE (TRAINER_REGISTERED_FLAGS_START + REMATCH_PHOEBE) +#define FLAG_REGISTERED_GLACIA (TRAINER_REGISTERED_FLAGS_START + REMATCH_GLACIA) +#define FLAG_REGISTERED_DRAKE (TRAINER_REGISTERED_FLAGS_START + REMATCH_DRAKE) +#define FLAG_REGISTERED_WALLACE (TRAINER_REGISTERED_FLAGS_START + REMATCH_WALLACE) #define FLAG_UNUSED_0x1AA 0x1AA // Unused Flag #define FLAG_UNUSED_0x1AB 0x1AB // Unused Flag diff --git a/include/constants/rematches.h b/include/constants/rematches.h new file mode 100644 index 0000000000..2ddefcc578 --- /dev/null +++ b/include/constants/rematches.h @@ -0,0 +1,89 @@ +#ifndef GUARD_REMATCHES_H +#define GUARD_REMATCHES_H + +enum { + REMATCH_ROSE, + REMATCH_ANDRES, + REMATCH_DUSTY, + REMATCH_LOLA, + REMATCH_RICKY, + REMATCH_LILA_AND_ROY, + REMATCH_CRISTIN, + REMATCH_BROOKE, + REMATCH_WILTON, + REMATCH_VALERIE, + REMATCH_CINDY, + REMATCH_THALIA, + REMATCH_JESSICA, + REMATCH_WINSTON, + REMATCH_STEVE, + REMATCH_TONY, + REMATCH_NOB, + REMATCH_KOJI, + REMATCH_FERNANDO, + REMATCH_DALTON, + REMATCH_BERNIE, + REMATCH_ETHAN, + REMATCH_JOHN_AND_JAY, + REMATCH_JEFFREY, + REMATCH_CAMERON, + REMATCH_JACKI, + REMATCH_WALTER, + REMATCH_KAREN, + REMATCH_JERRY, + REMATCH_ANNA_AND_MEG, + REMATCH_ISABEL, + REMATCH_MIGUEL, + REMATCH_TIMOTHY, + REMATCH_SHELBY, + REMATCH_CALVIN, + REMATCH_ELLIOT, + REMATCH_ISAIAH, + REMATCH_MARIA, + REMATCH_ABIGAIL, + REMATCH_DYLAN, + REMATCH_KATELYN, + REMATCH_BENJAMIN, + REMATCH_PABLO, + REMATCH_NICOLAS, + REMATCH_ROBERT, + REMATCH_LAO, + REMATCH_CYNDY, + REMATCH_MADELINE, + REMATCH_JENNY, + REMATCH_DIANA, + REMATCH_AMY_AND_LIV, + REMATCH_ERNEST, + REMATCH_CORY, + REMATCH_EDWIN, + REMATCH_LYDIA, + REMATCH_ISAAC, + REMATCH_GABRIELLE, + REMATCH_CATHERINE, + REMATCH_JACKSON, + REMATCH_HALEY, + REMATCH_JAMES, + REMATCH_TRENT, + REMATCH_SAWYER, + REMATCH_KIRA_AND_DAN, + REMATCH_WALLY_VR, // Entries above WALLY are considered normal trainers, from Wally below are special trainers + REMATCH_ROXANNE, + REMATCH_BRAWLY, + REMATCH_WATTSON, + REMATCH_FLANNERY, + REMATCH_NORMAN, + REMATCH_WINONA, + REMATCH_TATE_AND_LIZA, + REMATCH_JUAN, + REMATCH_SIDNEY, // Entries from SIDNEY below are considered part of REMATCH_ELITE_FOUR_ENTRIES. + REMATCH_PHOEBE, + REMATCH_GLACIA, + REMATCH_DRAKE, + REMATCH_WALLACE, + REMATCH_TABLE_ENTRIES // The total number of rematch entries. Must be last in enum +}; + +#define REMATCH_SPECIAL_TRAINER_START REMATCH_WALLY_VR +#define REMATCH_ELITE_FOUR_ENTRIES REMATCH_SIDNEY + +#endif // GUARD_REMATCHES_H diff --git a/include/gym_leader_rematch.h b/include/gym_leader_rematch.h index b31fb5e228..622d2db1bc 100644 --- a/include/gym_leader_rematch.h +++ b/include/gym_leader_rematch.h @@ -1,90 +1,7 @@ #ifndef GUARD_TRAINER_REMATCH_H #define GUARD_TRAINER_REMATCH_H -enum { - REMATCH_ROSE, - REMATCH_ANDRES, - REMATCH_DUSTY, - REMATCH_LOLA, - REMATCH_RICKY, - REMATCH_LILA_AND_ROY, - REMATCH_CRISTIN, - REMATCH_BROOKE, - REMATCH_WILTON, - REMATCH_VALERIE, - REMATCH_CINDY, - REMATCH_THALIA, - REMATCH_JESSICA, - REMATCH_WINSTON, - REMATCH_STEVE, - REMATCH_TONY, - REMATCH_NOB, - REMATCH_KOJI, - REMATCH_FERNANDO, - REMATCH_DALTON, - REMATCH_BERNIE, - REMATCH_ETHAN, - REMATCH_JOHN_AND_JAY, - REMATCH_JEFFREY, - REMATCH_CAMERON, - REMATCH_JACKI, - REMATCH_WALTER, - REMATCH_KAREN, - REMATCH_JERRY, - REMATCH_ANNA_AND_MEG, - REMATCH_ISABEL, - REMATCH_MIGUEL, - REMATCH_TIMOTHY, - REMATCH_SHELBY, - REMATCH_CALVIN, - REMATCH_ELLIOT, - REMATCH_ISAIAH, - REMATCH_MARIA, - REMATCH_ABIGAIL, - REMATCH_DYLAN, - REMATCH_KATELYN, - REMATCH_BENJAMIN, - REMATCH_PABLO, - REMATCH_NICOLAS, - REMATCH_ROBERT, - REMATCH_LAO, - REMATCH_CYNDY, - REMATCH_MADELINE, - REMATCH_JENNY, - REMATCH_DIANA, - REMATCH_AMY_AND_LIV, - REMATCH_ERNEST, - REMATCH_CORY, - REMATCH_EDWIN, - REMATCH_LYDIA, - REMATCH_ISAAC, - REMATCH_GABRIELLE, - REMATCH_CATHERINE, - REMATCH_JACKSON, - REMATCH_HALEY, - REMATCH_JAMES, - REMATCH_TRENT, - REMATCH_SAWYER, - REMATCH_KIRA_AND_DAN, - REMATCH_WALLY_VR, // Entries above WALLY are considered normal trainers, from Wally below are special trainers - REMATCH_ROXANNE, - REMATCH_BRAWLY, - REMATCH_WATTSON, - REMATCH_FLANNERY, - REMATCH_NORMAN, - REMATCH_WINONA, - REMATCH_TATE_AND_LIZA, - REMATCH_JUAN, - REMATCH_SIDNEY, // Entries from SIDNEY below are considered part of REMATCH_ELITE_FOUR_ENTRIES. - REMATCH_PHOEBE, - REMATCH_GLACIA, - REMATCH_DRAKE, - REMATCH_WALLACE, - REMATCH_TABLE_ENTRIES // The total number of rematch entries. Must be last in enum -}; - -#define REMATCH_SPECIAL_TRAINER_START REMATCH_WALLY_VR -#define REMATCH_ELITE_FOUR_ENTRIES REMATCH_SIDNEY +#include "constants/rematches.h" void UpdateGymLeaderRematch(void); diff --git a/map_data_rules.mk b/map_data_rules.mk index 626cd47240..d3f47a352e 100755 --- a/map_data_rules.mk +++ b/map_data_rules.mk @@ -9,9 +9,9 @@ MAP_EVENTS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/events.inc,$(MAP_DIRS)) MAP_HEADERS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/header.inc,$(MAP_DIRS)) $(DATA_ASM_BUILDDIR)/maps.o: $(DATA_ASM_SUBDIR)/maps.s $(LAYOUTS_DIR)/layouts.inc $(LAYOUTS_DIR)/layouts_table.inc $(MAPS_DIR)/headers.inc $(MAPS_DIR)/groups.inc $(MAPS_DIR)/connections.inc $(MAP_CONNECTIONS) $(MAP_HEADERS) - $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@ + $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ $(DATA_ASM_BUILDDIR)/map_events.o: $(DATA_ASM_SUBDIR)/map_events.s $(MAPS_DIR)/events.inc $(MAP_EVENTS) - $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(AS) $(ASFLAGS) -o $@ + $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ $(MAPS_DIR)/%/header.inc: $(MAPS_DIR)/%/map.json $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json diff --git a/src/battle_setup.c b/src/battle_setup.c index e87ce6dd27..435ba4b8a3 100644 --- a/src/battle_setup.c +++ b/src/battle_setup.c @@ -1615,7 +1615,7 @@ static bool32 UpdateRandomTrainerRematches(const struct RematchTrainer *table, u // Trainer already wants a rematch. Don't bother updating it. ret = TRUE; } - else if (FlagGet(FLAG_MATCH_CALL_REGISTERED + i) + else if (FlagGet(TRAINER_REGISTERED_FLAGS_START + i) && (Random() % 100) <= 30) // 31% chance of getting a rematch. { SetRematchIdForTrainer(table, i); @@ -1744,7 +1744,7 @@ static u32 GetTrainerMatchCallFlag(u32 trainerId) for (i = 0; i < REMATCH_TABLE_ENTRIES; i++) { if (gRematchTable[i].trainerIds[0] == trainerId) - return FLAG_MATCH_CALL_REGISTERED + i; + return TRAINER_REGISTERED_FLAGS_START + i; } return 0xFFFF; diff --git a/src/field_specials.c b/src/field_specials.c index 7d20d3571d..1bbbbf4e17 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -3620,7 +3620,7 @@ bool32 IsTrainerRegistered(void) int index = GetRematchIdxByTrainerIdx(gSpecialVar_0x8004); if (index >= 0) { - if (FlagGet(FLAG_MATCH_CALL_REGISTERED + index) == TRUE) + if (FlagGet(TRAINER_REGISTERED_FLAGS_START + index) == TRUE) return TRUE; } return FALSE; diff --git a/src/match_call.c b/src/match_call.c index a9d18b3477..2c1ad924a5 100644 --- a/src/match_call.c +++ b/src/match_call.c @@ -131,7 +131,7 @@ static EWRAM_DATA struct MatchCallState sMatchCallState = {0}; static EWRAM_DATA struct BattleFrontierStreakInfo sBattleFrontierStreakInfo = {0}; static u32 GetCurrentTotalMinutes(struct Time *); -static u32 GetNumRegisteredNPCs(void); +static u32 GetNumRegisteredTrainers(void); static u32 GetActiveMatchCallTrainerId(u32); static int GetTrainerMatchCallId(int); static u16 GetRematchTrainerLocation(int); @@ -1098,7 +1098,7 @@ static bool32 UpdateMatchCallStepCounter(void) static bool32 SelectMatchCallTrainer(void) { u32 matchCallId; - u32 numRegistered = GetNumRegisteredNPCs(); + u32 numRegistered = GetNumRegisteredTrainers(); if (numRegistered == 0) return FALSE; @@ -1114,12 +1114,13 @@ static bool32 SelectMatchCallTrainer(void) return TRUE; } -static u32 GetNumRegisteredNPCs(void) +// Ignores registrable non-trainer NPCs, and special trainers like Wally and the gym leaders. +static u32 GetNumRegisteredTrainers(void) { u32 i, count; for (i = 0, count = 0; i < REMATCH_SPECIAL_TRAINER_START; i++) { - if (FlagGet(FLAG_MATCH_CALL_REGISTERED + i)) + if (FlagGet(TRAINER_REGISTERED_FLAGS_START + i)) count++; } @@ -1131,7 +1132,7 @@ static u32 GetActiveMatchCallTrainerId(u32 activeMatchCallId) u32 i; for (i = 0; i < REMATCH_SPECIAL_TRAINER_START; i++) { - if (FlagGet(FLAG_MATCH_CALL_REGISTERED + i)) + if (FlagGet(TRAINER_REGISTERED_FLAGS_START + i)) { if (!activeMatchCallId) return gRematchTable[i].trainerIds[0]; diff --git a/src/pokenav_match_call_data.c b/src/pokenav_match_call_data.c index f6d71009bb..1c3cf9aeeb 100644 --- a/src/pokenav_match_call_data.c +++ b/src/pokenav_match_call_data.c @@ -506,7 +506,7 @@ static const struct MatchCallStructTrainer sSidneyMatchCallHeader = { .type = MC_TYPE_LEADER, .mapSec = MAPSEC_EVER_GRANDE_CITY, - .flag = FLAG_REMATCH_SIDNEY, + .flag = FLAG_REGISTERED_SIDNEY, .rematchTableIdx = REMATCH_SIDNEY, .desc = gText_EliteFourMatchCallDesc, .name = NULL, @@ -522,7 +522,7 @@ static const struct MatchCallStructTrainer sPhoebeMatchCallHeader = { .type = MC_TYPE_LEADER, .mapSec = MAPSEC_EVER_GRANDE_CITY, - .flag = FLAG_REMATCH_PHOEBE, + .flag = FLAG_REGISTERED_PHOEBE, .rematchTableIdx = REMATCH_PHOEBE, .desc = gText_EliteFourMatchCallDesc, .name = NULL, @@ -538,7 +538,7 @@ static const struct MatchCallStructTrainer sGlaciaMatchCallHeader = { .type = MC_TYPE_LEADER, .mapSec = MAPSEC_EVER_GRANDE_CITY, - .flag = FLAG_REMATCH_GLACIA, + .flag = FLAG_REGISTERED_GLACIA, .rematchTableIdx = REMATCH_GLACIA, .desc = gText_EliteFourMatchCallDesc, .name = NULL, @@ -554,7 +554,7 @@ static const struct MatchCallStructTrainer sDrakeMatchCallHeader = { .type = MC_TYPE_LEADER, .mapSec = MAPSEC_EVER_GRANDE_CITY, - .flag = FLAG_REMATCH_DRAKE, + .flag = FLAG_REGISTERED_DRAKE, .rematchTableIdx = REMATCH_DRAKE, .desc = gText_EliteFourMatchCallDesc, .name = NULL, @@ -570,7 +570,7 @@ static const struct MatchCallStructTrainer sWallaceMatchCallHeader = { .type = MC_TYPE_LEADER, .mapSec = MAPSEC_EVER_GRANDE_CITY, - .flag = FLAG_REMATCH_WALLACE, + .flag = FLAG_REGISTERED_WALLACE, .rematchTableIdx = REMATCH_WALLACE, .desc = gText_ChampionMatchCallDesc, .name = NULL, @@ -1136,7 +1136,7 @@ bool32 MatchCall_HasRematchId(u32 idx) void SetMatchCallRegisteredFlag(void) { - int r0 = GetRematchIdxByTrainerIdx(gSpecialVar_0x8004); - if (r0 >= 0) - FlagSet(FLAG_MATCH_CALL_REGISTERED + r0); + int index = GetRematchIdxByTrainerIdx(gSpecialVar_0x8004); + if (index >= 0) + FlagSet(TRAINER_REGISTERED_FLAGS_START + index); } diff --git a/src/pokenav_match_call_list.c b/src/pokenav_match_call_list.c index 8d1a73f557..fb89e33e0b 100755 --- a/src/pokenav_match_call_list.c +++ b/src/pokenav_match_call_list.c @@ -261,7 +261,7 @@ static u32 LoopedTask_BuildMatchCallList(s32 taskState) bool32 IsRematchEntryRegistered(int rematchIndex) { if (rematchIndex < REMATCH_TABLE_ENTRIES) - return FlagGet(FLAG_MATCH_CALL_REGISTERED + rematchIndex); + return FlagGet(TRAINER_REGISTERED_FLAGS_START + rematchIndex); return FALSE; } From 5c55cc374815fb99ef43f55b8d2332d3798efc59 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Wed, 21 Aug 2024 07:50:41 +0100 Subject: [PATCH 029/278] [preproc] support arbitrary expressions in enums --- tools/preproc/asm_file.cpp | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp index ca8b8cc4ae..36b6c7ed06 100644 --- a/tools/preproc/asm_file.cpp +++ b/tools/preproc/asm_file.cpp @@ -520,6 +520,7 @@ bool AsmFile::ParseEnum() long currentHeaderLine = SkipWhitespaceAndEol(); std::string enumName = ReadIdentifier(); currentHeaderLine += SkipWhitespaceAndEol(); + std::string enumBase = "0"; long enumCounter = 0; long symbolCount = 0; @@ -542,11 +543,28 @@ bool AsmFile::ParseEnum() if (m_buffer[m_pos] == '=') { m_pos++; - currentHeaderLine += SkipWhitespaceAndEol(); - enumCounter = ReadInteger(headerFilename, currentHeaderLine); - currentHeaderLine += SkipWhitespaceAndEol(); + SkipWhitespace(); + enumBase.clear(); + for (;;) + { + if (m_pos == m_size) + RaiseError("unexpected EOF"); + if (m_buffer[m_pos] == ',') + break; + if (m_buffer[m_pos] == '\n') + { + currentHeaderLine++; + enumBase.push_back(' '); + } + else + { + enumBase.push_back(m_buffer[m_pos]); + } + m_pos++; + } + enumCounter = 0; } - std::printf(".equiv %s, %ld\n", currentIdentName.c_str(), enumCounter); + std::printf(".equiv %s, (%s) + %ld\n", currentIdentName.c_str(), enumBase.c_str(), enumCounter); enumCounter++; symbolCount++; } From 625a006cabbf44734be2d0324264d86c3edba51b Mon Sep 17 00:00:00 2001 From: Icedude907 <34080011+Icedude907@users.noreply.github.com> Date: Fri, 30 Aug 2024 06:01:01 +1200 Subject: [PATCH 030/278] [Build System Rewrite] `mapjson` now takes output directory parameters. (#1949) --- Makefile | 57 ++-- include/constants/.gitignore | 3 + include/constants/layouts.h | 450 ------------------------- include/constants/map_groups.h | 596 --------------------------------- make_tools.mk | 14 +- map_data_rules.mk | 30 +- tools/jsonproc/jsonproc.cpp | 2 + tools/mapjson/mapjson.cpp | 112 ++++--- 8 files changed, 124 insertions(+), 1140 deletions(-) create mode 100644 include/constants/.gitignore delete mode 100755 include/constants/layouts.h delete mode 100755 include/constants/map_groups.h diff --git a/Makefile b/Makefile index bf74e0331a..15cbd709e4 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,9 @@ ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 endif +# Default make rule +all: rom + # don't use dkP's base_tools anymore # because the redefinition of $(CC) conflicts # with when we want to use $(CC) to preprocess files @@ -119,24 +122,23 @@ ifneq ($(MODERN),1) CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef endif +# Variable filled out in other make files +AUTO_GEN_TARGETS := +include make_tools.mk + SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c -GFX := tools/gbagfx/gbagfx$(EXE) -AIF := tools/aif2pcm/aif2pcm$(EXE) -MID := tools/mid2agb/mid2agb$(EXE) -SCANINC := tools/scaninc/scaninc$(EXE) -PREPROC := tools/preproc/preproc$(EXE) -RAMSCRGEN := tools/ramscrgen/ramscrgen$(EXE) -FIX := tools/gbafix/gbafix$(EXE) -MAPJSON := tools/mapjson/mapjson$(EXE) -JSONPROC := tools/jsonproc/jsonproc$(EXE) +GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) +AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) +MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) +SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) +PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) +RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) +FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) +MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) +JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) PERL := perl -# Inclusive list. If you don't want a tool to be built, don't add it here. -TOOLDIRS := tools/aif2pcm tools/bin2c tools/gbafix tools/gbagfx tools/jsonproc tools/mapjson tools/mid2agb tools/preproc tools/ramscrgen tools/rsfont tools/scaninc -TOOLBASE = $(TOOLDIRS:tools/%=%) -TOOLS = $(foreach tool,$(TOOLBASE),tools/$(tool)/$(tool)$(EXE)) - MAKEFLAGS += --no-print-directory # Clear the default suffixes @@ -149,7 +151,7 @@ MAKEFLAGS += --no-print-directory # Secondary expansion is required for dependency variables in object rules. .SECONDEXPANSION: -.PHONY: all rom clean compare tidy tools mostlyclean clean-tools $(TOOLDIRS) libagbsyscall modern tidymodern tidynonmodern +.PHONY: all rom clean compare tidy mostlyclean libagbsyscall modern tidymodern tidynonmodern infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) @@ -159,6 +161,7 @@ infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst # Since we don't need to reload most of this makefile ifeq (,$(filter-out all rom compare modern libagbsyscall syms,$(MAKECMDGOALS))) $(call infoshell, $(MAKE) -f make_tools.mk) +$(call infoshell, $(MAKE) generated) else NODEP ?= 1 endif @@ -209,17 +212,8 @@ SUBDIRS := $(sort $(dir $(OBJS))) $(shell mkdir -p $(SUBDIRS)) endif -AUTO_GEN_TARGETS := - -all: rom - -tools: $(TOOLDIRS) - syms: $(SYM) -$(TOOLDIRS): - @$(MAKE) -C $@ - rom: $(ROM) ifeq ($(COMPARE),1) @$(SHA1) rom.sha1 @@ -230,9 +224,6 @@ compare: all clean: mostlyclean clean-tools -clean-tools: - @$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);) - mostlyclean: tidynonmodern tidymodern find sound -iname '*.bin' -exec rm {} + rm -f $(MID_SUBDIR)/*.s @@ -263,6 +254,8 @@ include spritesheet_rules.mk include json_data_rules.mk include songs.mk +generated: $(AUTO_GEN_TARGETS) + %.s: ; %.png: ; %.pal: ; @@ -280,7 +273,7 @@ sound/%.bin: sound/%.aif ; $(AIF) $< $@ ifeq ($(MODERN),0) -$(C_BUILDDIR)/libc.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) +$(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/libc.o: CFLAGS := -O2 $(C_BUILDDIR)/siirtc.o: CFLAGS := -mthumb-interwork @@ -289,10 +282,10 @@ $(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork $(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork -$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) +$(C_BUILDDIR)/m4a.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding -$(C_BUILDDIR)/librfu_intr.o: CC1 := tools/agbcc/bin/agbcc_arm$(EXE) +$(C_BUILDDIR)/librfu_intr.o: CC1 := $(TOOLS_DIR)/agbcc/bin/agbcc_arm$(EXE) $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet else $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast @@ -320,7 +313,7 @@ else endif else define C_DEP -$1: $2 $$(shell $(SCANINC) -I include -I tools/agbcc/include -I gflib $2) +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) ifeq (,$$(KEEP_TEMPS)) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - @@ -347,7 +340,7 @@ else endif else define GFLIB_DEP -$1: $2 $$(shell $(SCANINC) -I include -I tools/agbcc/include -I gflib $2) +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) ifeq (,$$(KEEP_TEMPS)) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - diff --git a/include/constants/.gitignore b/include/constants/.gitignore new file mode 100644 index 0000000000..761af9db76 --- /dev/null +++ b/include/constants/.gitignore @@ -0,0 +1,3 @@ +# Will be moved to build/ eventually +map_groups.h +layouts.h \ No newline at end of file diff --git a/include/constants/layouts.h b/include/constants/layouts.h deleted file mode 100755 index db92c95942..0000000000 --- a/include/constants/layouts.h +++ /dev/null @@ -1,450 +0,0 @@ -#ifndef GUARD_CONSTANTS_LAYOUTS_H -#define GUARD_CONSTANTS_LAYOUTS_H - -// -// DO NOT MODIFY THIS FILE! It is auto-generated from data/layouts/layouts.json -// - -#define LAYOUT_PETALBURG_CITY 1 -#define LAYOUT_SLATEPORT_CITY 2 -#define LAYOUT_MAUVILLE_CITY 3 -#define LAYOUT_RUSTBORO_CITY 4 -#define LAYOUT_FORTREE_CITY 5 -#define LAYOUT_LILYCOVE_CITY 6 -#define LAYOUT_MOSSDEEP_CITY 7 -#define LAYOUT_SOOTOPOLIS_CITY 8 -#define LAYOUT_EVER_GRANDE_CITY 9 -#define LAYOUT_LITTLEROOT_TOWN 10 -#define LAYOUT_OLDALE_TOWN 11 -#define LAYOUT_DEWFORD_TOWN 12 -#define LAYOUT_LAVARIDGE_TOWN 13 -#define LAYOUT_FALLARBOR_TOWN 14 -#define LAYOUT_VERDANTURF_TOWN 15 -#define LAYOUT_PACIFIDLOG_TOWN 16 -#define LAYOUT_ROUTE101 17 -#define LAYOUT_ROUTE102 18 -#define LAYOUT_ROUTE103 19 -#define LAYOUT_ROUTE104 20 -#define LAYOUT_ROUTE105 21 -#define LAYOUT_ROUTE106 22 -#define LAYOUT_ROUTE107 23 -#define LAYOUT_ROUTE108 24 -#define LAYOUT_ROUTE109 25 -#define LAYOUT_ROUTE110 26 -#define LAYOUT_ROUTE111 27 -#define LAYOUT_ROUTE112 28 -#define LAYOUT_ROUTE113 29 -#define LAYOUT_ROUTE114 30 -#define LAYOUT_ROUTE115 31 -#define LAYOUT_ROUTE116 32 -#define LAYOUT_ROUTE117 33 -#define LAYOUT_ROUTE118 34 -#define LAYOUT_ROUTE119 35 -#define LAYOUT_ROUTE120 36 -#define LAYOUT_ROUTE121 37 -#define LAYOUT_ROUTE122 38 -#define LAYOUT_ROUTE123 39 -#define LAYOUT_ROUTE124 40 -#define LAYOUT_ROUTE125 41 -#define LAYOUT_ROUTE126 42 -#define LAYOUT_ROUTE127 43 -#define LAYOUT_ROUTE128 44 -#define LAYOUT_ROUTE129 45 -#define LAYOUT_ROUTE130_MIRAGE_ISLAND 46 -#define LAYOUT_ROUTE131 47 -#define LAYOUT_ROUTE132 48 -#define LAYOUT_ROUTE133 49 -#define LAYOUT_ROUTE134 50 -#define LAYOUT_UNDERWATER_ROUTE126 51 -#define LAYOUT_UNDERWATER_ROUTE127 52 -#define LAYOUT_UNDERWATER_ROUTE128 53 -#define LAYOUT_LITTLEROOT_TOWN_BRENDANS_HOUSE_1F 54 -#define LAYOUT_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F 55 -#define LAYOUT_LITTLEROOT_TOWN_MAYS_HOUSE_1F 56 -#define LAYOUT_LITTLEROOT_TOWN_MAYS_HOUSE_2F 57 -#define LAYOUT_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB 58 -#define LAYOUT_HOUSE1 59 -#define LAYOUT_HOUSE2 60 -#define LAYOUT_POKEMON_CENTER_1F 61 -#define LAYOUT_POKEMON_CENTER_2F 62 -#define LAYOUT_MART 63 -#define LAYOUT_HOUSE3 64 -#define LAYOUT_DEWFORD_TOWN_GYM 65 -#define LAYOUT_DEWFORD_TOWN_HALL 66 -#define LAYOUT_HOUSE4 67 -#define LAYOUT_LAVARIDGE_TOWN_HERB_SHOP 68 -#define LAYOUT_LAVARIDGE_TOWN_GYM_1F 69 -#define LAYOUT_LAVARIDGE_TOWN_GYM_B1F 70 -#define LAYOUT_LAVARIDGE_TOWN_POKEMON_CENTER_1F 71 -#define LAYOUT_FALLARBOR_TOWN_LEFTOVER_RSCONTEST_LOBBY 72 -#define LAYOUT_FALLARBOR_TOWN_LEFTOVER_RSCONTEST_HALL 73 -#define LAYOUT_LILYCOVE_CITY_HOUSE2 74 -#define LAYOUT_UNUSED_CONTEST_ROOM1 75 -#define LAYOUT_VERDANTURF_TOWN_WANDAS_HOUSE 76 -#define LAYOUT_PACIFIDLOG_TOWN_HOUSE1 77 -#define LAYOUT_PACIFIDLOG_TOWN_HOUSE2 78 -#define LAYOUT_PETALBURG_CITY_GYM 79 -#define LAYOUT_HOUSE_WITH_BED 80 -#define LAYOUT_SLATEPORT_CITY_STERNS_SHIPYARD_1F 81 -#define LAYOUT_SLATEPORT_CITY_STERNS_SHIPYARD_2F 82 -#define LAYOUT_UNUSED_CONTEST_ROOM2 83 -#define LAYOUT_UNUSED_CONTEST_ROOM3 84 -#define LAYOUT_SLATEPORT_CITY_POKEMON_FAN_CLUB 85 -#define LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_1F 86 -#define LAYOUT_SLATEPORT_CITY_OCEANIC_MUSEUM_2F 87 -#define LAYOUT_HARBOR 88 -#define LAYOUT_MAUVILLE_CITY_GYM 89 -#define LAYOUT_MAUVILLE_CITY_BIKE_SHOP 90 -#define LAYOUT_MAUVILLE_CITY_GAME_CORNER 91 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_1F 92 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_2F 93 -#define LAYOUT_RUSTBORO_CITY_GYM 94 -#define LAYOUT_RUSTBORO_CITY_POKEMON_SCHOOL 95 -#define LAYOUT_RUSTBORO_CITY_HOUSE 96 -#define LAYOUT_RUSTBORO_CITY_HOUSE1 97 -#define LAYOUT_RUSTBORO_CITY_CUTTERS_HOUSE 98 -#define LAYOUT_FORTREE_CITY_HOUSE1 99 -#define LAYOUT_FORTREE_CITY_GYM 100 -#define LAYOUT_FORTREE_CITY_HOUSE2 101 -#define LAYOUT_ROUTE104_MR_BRINEYS_HOUSE 102 -#define LAYOUT_LILYCOVE_CITY_LILYCOVE_MUSEUM_1F 103 -#define LAYOUT_LILYCOVE_CITY_LILYCOVE_MUSEUM_2F 104 -#define LAYOUT_LILYCOVE_CITY_CONTEST_LOBBY 105 -#define LAYOUT_LILYCOVE_CITY_CONTEST_HALL 106 -#define LAYOUT_LILYCOVE_CITY_POKEMON_TRAINER_FAN_CLUB 107 -#define LAYOUT_MOSSDEEP_CITY_GYM 108 -#define LAYOUT_SOOTOPOLIS_CITY_GYM_1F 109 -#define LAYOUT_SOOTOPOLIS_CITY_GYM_B1F 110 -#define LAYOUT_EVER_GRANDE_CITY_SIDNEYS_ROOM 111 -#define LAYOUT_EVER_GRANDE_CITY_PHOEBES_ROOM 112 -#define LAYOUT_EVER_GRANDE_CITY_GLACIAS_ROOM 113 -#define LAYOUT_EVER_GRANDE_CITY_DRAKES_ROOM 114 -#define LAYOUT_EVER_GRANDE_CITY_CHAMPIONS_ROOM 115 -#define LAYOUT_EVER_GRANDE_CITY_SHORT_HALL 116 -#define LAYOUT_ROUTE104_PRETTY_PETAL_FLOWER_SHOP 117 -#define LAYOUT_CABLE_CAR_STATION 118 -#define LAYOUT_ROUTE114_FOSSIL_MANIACS_HOUSE 119 -#define LAYOUT_ROUTE114_FOSSIL_MANIACS_TUNNEL 120 -#define LAYOUT_ROUTE114_LANETTES_HOUSE 121 -#define LAYOUT_ROUTE116_TUNNELERS_REST_HOUSE 122 -#define LAYOUT_ROUTE117_POKEMON_DAY_CARE 123 -#define LAYOUT_ROUTE121_SAFARI_ZONE_ENTRANCE 124 -#define LAYOUT_METEOR_FALLS_1F_1R 125 -#define LAYOUT_METEOR_FALLS_1F_2R 126 -#define LAYOUT_METEOR_FALLS_B1F_1R 127 -#define LAYOUT_METEOR_FALLS_B1F_2R 128 -#define LAYOUT_RUSTURF_TUNNEL 129 -#define LAYOUT_UNDERWATER_SOOTOPOLIS_CITY 130 -#define LAYOUT_DESERT_RUINS 131 -#define LAYOUT_GRANITE_CAVE_1F 132 -#define LAYOUT_GRANITE_CAVE_B1F 133 -#define LAYOUT_GRANITE_CAVE_B2F 134 -#define LAYOUT_PETALBURG_WOODS 135 -#define LAYOUT_MT_CHIMNEY 136 -#define LAYOUT_MT_PYRE_1F 137 -#define LAYOUT_MT_PYRE_2F 138 -#define LAYOUT_MT_PYRE_3F 139 -#define LAYOUT_MT_PYRE_4F 140 -#define LAYOUT_MT_PYRE_5F 141 -#define LAYOUT_MT_PYRE_6F 142 -#define LAYOUT_AQUA_HIDEOUT_1F 143 -#define LAYOUT_AQUA_HIDEOUT_B1F 144 -#define LAYOUT_AQUA_HIDEOUT_B2F 145 -#define LAYOUT_UNDERWATER_SEAFLOOR_CAVERN 146 -#define LAYOUT_SEAFLOOR_CAVERN_ENTRANCE 147 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM1 148 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM2 149 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM3 150 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM4 151 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM5 152 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM6 153 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM7 154 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM8 155 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM9 156 -#define LAYOUT_CAVE_OF_ORIGIN_ENTRANCE 157 -#define LAYOUT_CAVE_OF_ORIGIN_1F 158 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1 159 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2 160 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3 161 -#define LAYOUT_CAVE_OF_ORIGIN_B1F 162 -#define LAYOUT_VICTORY_ROAD_1F 163 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM 164 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_INNER_ROOM 165 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM 166 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_LOWER_ROOM 167 -#define LAYOUT_SHOAL_CAVE_HIGH_TIDE_ENTRANCE_ROOM 168 -#define LAYOUT_SHOAL_CAVE_HIGH_TIDE_INNER_ROOM 169 -#define LAYOUT_UNUSED_CAVE1 170 -#define LAYOUT_UNUSED_CAVE2 171 -#define LAYOUT_UNUSED_CAVE3 172 -#define LAYOUT_UNUSED_CAVE4 173 -#define LAYOUT_UNUSED_CAVE5 174 -#define LAYOUT_UNUSED_CAVE6 175 -#define LAYOUT_UNUSED_CAVE7 176 -#define LAYOUT_UNUSED_CAVE8 177 -#define LAYOUT_UNUSED_CAVE9 178 -#define LAYOUT_UNUSED_CAVE10 179 -#define LAYOUT_UNUSED_CAVE11 180 -#define LAYOUT_UNUSED_CAVE12 181 -#define LAYOUT_UNUSED_CAVE13 182 -#define LAYOUT_UNUSED_CAVE14 183 -#define LAYOUT_NEW_MAUVILLE_ENTRANCE 184 -#define LAYOUT_NEW_MAUVILLE_INSIDE 185 -#define LAYOUT_ABANDONED_SHIP_DECK 186 -#define LAYOUT_ABANDONED_SHIP_CORRIDORS_1F 187 -#define LAYOUT_ABANDONED_SHIP_ROOMS_1F 188 -#define LAYOUT_ABANDONED_SHIP_CORRIDORS_B1F 189 -#define LAYOUT_ABANDONED_SHIP_ROOMS_B1F 190 -#define LAYOUT_ABANDONED_SHIP_ROOMS2_B1F 191 -#define LAYOUT_ABANDONED_SHIP_UNDERWATER1 192 -#define LAYOUT_ABANDONED_SHIP_ROOM_B1F 193 -#define LAYOUT_ABANDONED_SHIP_ROOMS2_1F 194 -#define LAYOUT_ABANDONED_SHIP_CAPTAINS_OFFICE 195 -#define LAYOUT_ABANDONED_SHIP_UNDERWATER2 196 -#define LAYOUT_SECRET_BASE_RED_CAVE1 197 -#define LAYOUT_SECRET_BASE_BROWN_CAVE1 198 -#define LAYOUT_SECRET_BASE_BLUE_CAVE1 199 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE1 200 -#define LAYOUT_SECRET_BASE_TREE1 201 -#define LAYOUT_SECRET_BASE_SHRUB1 202 -#define LAYOUT_SECRET_BASE_RED_CAVE2 203 -#define LAYOUT_SECRET_BASE_BROWN_CAVE2 204 -#define LAYOUT_SECRET_BASE_BLUE_CAVE2 205 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE2 206 -#define LAYOUT_SECRET_BASE_TREE2 207 -#define LAYOUT_SECRET_BASE_SHRUB2 208 -#define LAYOUT_SECRET_BASE_RED_CAVE3 209 -#define LAYOUT_SECRET_BASE_BROWN_CAVE3 210 -#define LAYOUT_SECRET_BASE_BLUE_CAVE3 211 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE3 212 -#define LAYOUT_SECRET_BASE_TREE3 213 -#define LAYOUT_SECRET_BASE_SHRUB3 214 -#define LAYOUT_SECRET_BASE_RED_CAVE4 215 -#define LAYOUT_SECRET_BASE_BROWN_CAVE4 216 -#define LAYOUT_SECRET_BASE_BLUE_CAVE4 217 -#define LAYOUT_SECRET_BASE_YELLOW_CAVE4 218 -#define LAYOUT_SECRET_BASE_TREE4 219 -#define LAYOUT_SECRET_BASE_SHRUB4 220 -#define LAYOUT_BATTLE_COLOSSEUM_2P 221 -#define LAYOUT_TRADE_CENTER 222 -#define LAYOUT_RECORD_CORNER 223 -#define LAYOUT_BATTLE_COLOSSEUM_4P 224 -#define LAYOUT_CONTEST_HALL 225 -#define LAYOUT_UNUSED_CONTEST_HALL1 226 -#define LAYOUT_UNUSED_CONTEST_HALL2 227 -#define LAYOUT_UNUSED_CONTEST_HALL3 228 -#define LAYOUT_UNUSED_CONTEST_HALL4 229 -#define LAYOUT_UNUSED_CONTEST_HALL5 230 -#define LAYOUT_UNUSED_CONTEST_HALL6 231 -#define LAYOUT_CONTEST_HALL_BEAUTY 232 -#define LAYOUT_CONTEST_HALL_TOUGH 233 -#define LAYOUT_CONTEST_HALL_COOL 234 -#define LAYOUT_CONTEST_HALL_SMART 235 -#define LAYOUT_CONTEST_HALL_CUTE 236 -#define LAYOUT_INSIDE_OF_TRUCK 237 -#define LAYOUT_SAFARI_ZONE_NORTHWEST 238 -#define LAYOUT_SAFARI_ZONE_NORTH 239 -#define LAYOUT_SAFARI_ZONE_SOUTHWEST 240 -#define LAYOUT_SAFARI_ZONE_SOUTH 241 -#define LAYOUT_UNUSED_OUTDOOR_AREA 242 -#define LAYOUT_ROUTE109_SEASHORE_HOUSE 243 -#define LAYOUT_ROUTE110_TRICK_HOUSE_ENTRANCE 244 -#define LAYOUT_ROUTE110_TRICK_HOUSE_END 245 -#define LAYOUT_ROUTE110_TRICK_HOUSE_CORRIDOR 246 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE1 247 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE2 248 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE3 249 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE4 250 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE5 251 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE6 252 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE7 253 -#define LAYOUT_ROUTE110_TRICK_HOUSE_PUZZLE8 254 -#define LAYOUT_FORTREE_CITY_DECORATION_SHOP 255 -#define LAYOUT_ROUTE110_SEASIDE_CYCLING_ROAD_ENTRANCE 256 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_1F 257 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_2F 258 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_3F 259 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_4F 260 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_5F 261 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_ROOFTOP 262 -#define LAYOUT_ROUTE130 263 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY 264 -#define LAYOUT_BATTLE_FRONTIER_OUTSIDE_WEST 265 -#define LAYOUT_BATTLE_ELEVATOR 266 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR 267 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM 268 -#define LAYOUT_RUSTBORO_CITY_DEVON_CORP_3F 269 -#define LAYOUT_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F 270 -#define LAYOUT_ROUTE119_WEATHER_INSTITUTE_1F 271 -#define LAYOUT_ROUTE119_WEATHER_INSTITUTE_2F 272 -#define LAYOUT_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR 273 -#define LAYOUT_UNDERWATER_ROUTE124 274 -#define LAYOUT_MOSSDEEP_CITY_SPACE_CENTER_1F 275 -#define LAYOUT_MOSSDEEP_CITY_SPACE_CENTER_2F 276 -#define LAYOUT_SS_TIDAL_CORRIDOR 277 -#define LAYOUT_SS_TIDAL_LOWER_DECK 278 -#define LAYOUT_SS_TIDAL_ROOMS 279 -#define LAYOUT_ISLAND_CAVE 280 -#define LAYOUT_ANCIENT_TOMB 281 -#define LAYOUT_UNDERWATER_ROUTE134 282 -#define LAYOUT_UNDERWATER_SEALED_CHAMBER 283 -#define LAYOUT_SEALED_CHAMBER_OUTER_ROOM 284 -#define LAYOUT_VICTORY_ROAD_B1F 285 -#define LAYOUT_VICTORY_ROAD_B2F 286 -#define LAYOUT_ROUTE104_PROTOTYPE 287 -#define LAYOUT_GRANITE_CAVE_STEVENS_ROOM 288 -#define LAYOUT_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS 289 -#define LAYOUT_SOUTHERN_ISLAND_EXTERIOR 290 -#define LAYOUT_SOUTHERN_ISLAND_INTERIOR 291 -#define LAYOUT_JAGGED_PASS 292 -#define LAYOUT_FIERY_PATH 293 -#define LAYOUT_RUSTBORO_CITY_FLAT2_1F 294 -#define LAYOUT_RUSTBORO_CITY_FLAT2_2F 295 -#define LAYOUT_RUSTBORO_CITY_FLAT2_3F 296 -#define LAYOUT_SOOTOPOLIS_CITY_LOTAD_AND_SEEDOT_HOUSE 297 -#define LAYOUT_EVER_GRANDE_CITY_HALL_OF_FAME 298 -#define LAYOUT_LILYCOVE_CITY_COVE_LILY_MOTEL_1F 299 -#define LAYOUT_LILYCOVE_CITY_COVE_LILY_MOTEL_2F 300 -#define LAYOUT_ROUTE124_DIVING_TREASURE_HUNTERS_HOUSE 301 -#define LAYOUT_MT_PYRE_EXTERIOR 302 -#define LAYOUT_MT_PYRE_SUMMIT 303 -#define LAYOUT_SEALED_CHAMBER_INNER_ROOM 304 -#define LAYOUT_MOSSDEEP_CITY_GAME_CORNER_1F 305 -#define LAYOUT_MOSSDEEP_CITY_GAME_CORNER_B1F 306 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE1 307 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE2 308 -#define LAYOUT_SOOTOPOLIS_CITY_HOUSE3 309 -#define LAYOUT_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS 310 -#define LAYOUT_SCORCHED_SLAB 311 -#define LAYOUT_CAVE_OF_ORIGIN_UNUSED_B4F_LAVA 312 -#define LAYOUT_RUSTBORO_CITY_FLAT1_1F 313 -#define LAYOUT_RUSTBORO_CITY_FLAT1_2F 314 -#define LAYOUT_EVER_GRANDE_CITY_HALL4 315 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP1 316 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP2 317 -#define LAYOUT_AQUA_HIDEOUT_UNUSED_RUBY_MAP3 318 -#define LAYOUT_ROUTE131_SKY_PILLAR 319 -#define LAYOUT_SKY_PILLAR_ENTRANCE 320 -#define LAYOUT_SKY_PILLAR_OUTSIDE 321 -#define LAYOUT_SKY_PILLAR_1F 322 -#define LAYOUT_SKY_PILLAR_2F 323 -#define LAYOUT_SKY_PILLAR_3F 324 -#define LAYOUT_SKY_PILLAR_4F 325 -#define LAYOUT_SEAFLOOR_CAVERN_ROOM9_LAVA 326 -#define LAYOUT_MOSSDEEP_CITY_STEVENS_HOUSE 327 -#define LAYOUT_SHOAL_CAVE_LOW_TIDE_ICE_ROOM 328 -#define LAYOUT_SAFARI_ZONE_REST_HOUSE 329 -#define LAYOUT_SKY_PILLAR_5F 330 -#define LAYOUT_SKY_PILLAR_TOP 331 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_LOBBY 332 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR 333 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM 334 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM 335 -#define LAYOUT_MAGMA_HIDEOUT_1F 336 -#define LAYOUT_MAGMA_HIDEOUT_2F_1R 337 -#define LAYOUT_MAGMA_HIDEOUT_2F_2R 338 -#define LAYOUT_MAGMA_HIDEOUT_3F_1R 339 -#define LAYOUT_MAGMA_HIDEOUT_3F_2R 340 -#define LAYOUT_MAGMA_HIDEOUT_4F 341 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY 342 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR 343 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM 344 -#define LAYOUT_BATTLE_FRONTIER_OUTSIDE_EAST 345 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY 346 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM 347 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM 348 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY 349 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR 350 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM 351 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL 352 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_FINAL 353 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY 354 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR 355 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM 356 -#define LAYOUT_SOOTOPOLIS_CITY_LEGENDS_BATTLE 357 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_WILD_MONS 358 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_UNUSED 359 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY 360 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR 361 -#define LAYOUT_BATTLE_PYRAMID_SQUARE01 362 -#define LAYOUT_BATTLE_PYRAMID_SQUARE02 363 -#define LAYOUT_BATTLE_PYRAMID_SQUARE03 364 -#define LAYOUT_BATTLE_PYRAMID_SQUARE04 365 -#define LAYOUT_BATTLE_PYRAMID_SQUARE05 366 -#define LAYOUT_BATTLE_PYRAMID_SQUARE06 367 -#define LAYOUT_BATTLE_PYRAMID_SQUARE07 368 -#define LAYOUT_BATTLE_PYRAMID_SQUARE08 369 -#define LAYOUT_BATTLE_PYRAMID_SQUARE09 370 -#define LAYOUT_BATTLE_PYRAMID_SQUARE10 371 -#define LAYOUT_BATTLE_PYRAMID_SQUARE11 372 -#define LAYOUT_BATTLE_PYRAMID_SQUARE12 373 -#define LAYOUT_BATTLE_PYRAMID_SQUARE13 374 -#define LAYOUT_BATTLE_PYRAMID_SQUARE14 375 -#define LAYOUT_BATTLE_PYRAMID_SQUARE15 376 -#define LAYOUT_BATTLE_PYRAMID_SQUARE16 377 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP 378 -#define LAYOUT_MAGMA_HIDEOUT_3F_3R 379 -#define LAYOUT_MAGMA_HIDEOUT_2F_3R 380 -#define LAYOUT_MIRAGE_TOWER_1F 381 -#define LAYOUT_MIRAGE_TOWER_2F 382 -#define LAYOUT_MIRAGE_TOWER_3F 383 -#define LAYOUT_BATTLE_TENT_LOBBY 384 -#define LAYOUT_BATTLE_TENT_CORRIDOR 385 -#define LAYOUT_BATTLE_TENT_BATTLE_ROOM 386 -#define LAYOUT_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM 387 -#define LAYOUT_MIRAGE_TOWER_4F 388 -#define LAYOUT_DESERT_UNDERPASS 389 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM 390 -#define LAYOUT_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR 391 -#define LAYOUT_ROUTE111_NO_MIRAGE_TOWER 392 -#define LAYOUT_UNION_ROOM 393 -#define LAYOUT_SAFARI_ZONE_NORTHEAST 394 -#define LAYOUT_SAFARI_ZONE_SOUTHEAST 395 -#define LAYOUT_BATTLE_FRONTIER_RANKING_HALL 396 -#define LAYOUT_BATTLE_FRONTIER_LOUNGE1 397 -#define LAYOUT_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER 398 -#define LAYOUT_BATTLE_FRONTIER_RECEPTION_GATE 399 -#define LAYOUT_ARTISAN_CAVE_B1F 400 -#define LAYOUT_ARTISAN_CAVE_1F 401 -#define LAYOUT_FARAWAY_ISLAND_ENTRANCE 402 -#define LAYOUT_FARAWAY_ISLAND_INTERIOR 403 -#define LAYOUT_BIRTH_ISLAND_EXTERIOR 404 -#define LAYOUT_ISLAND_HARBOR 405 -#define LAYOUT_UNDERWATER_MARINE_CAVE 406 -#define LAYOUT_MARINE_CAVE_ENTRANCE 407 -#define LAYOUT_TERRA_CAVE_ENTRANCE 408 -#define LAYOUT_TERRA_CAVE_END 409 -#define LAYOUT_UNDERWATER_ROUTE105 410 -#define LAYOUT_UNDERWATER_ROUTE125 411 -#define LAYOUT_UNDERWATER_ROUTE129 412 -#define LAYOUT_MARINE_CAVE_END 413 -#define LAYOUT_TRAINER_HILL_ENTRANCE 414 -#define LAYOUT_TRAINER_HILL_1F 415 -#define LAYOUT_TRAINER_HILL_2F 416 -#define LAYOUT_TRAINER_HILL_3F 417 -#define LAYOUT_TRAINER_HILL_4F 418 -#define LAYOUT_TRAINER_HILL_ROOF 419 -#define LAYOUT_ALTERING_CAVE 420 -#define LAYOUT_NAVEL_ROCK_EXTERIOR 421 -#define LAYOUT_NAVEL_ROCK_ENTRANCE 422 -#define LAYOUT_NAVEL_ROCK_TOP 423 -#define LAYOUT_NAVEL_ROCK_BOTTOM 424 -#define LAYOUT_NAVEL_ROCK_LADDER_ROOM1 425 -#define LAYOUT_NAVEL_ROCK_LADDER_ROOM2 426 -#define LAYOUT_NAVEL_ROCK_B1F 427 -#define LAYOUT_NAVEL_ROCK_FORK 428 -#define LAYOUT_BATTLE_FRONTIER_LOUNGE2 429 -#define LAYOUT_BATTLE_FRONTIER_SCOTTS_HOUSE 430 -#define LAYOUT_METEOR_FALLS_STEVENS_CAVE 431 -#define LAYOUT_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB_WITH_TABLE 432 -#define LAYOUT_SKY_PILLAR_1F_CLEAN 433 -#define LAYOUT_SKY_PILLAR_2F_CLEAN 434 -#define LAYOUT_SKY_PILLAR_3F_CLEAN 435 -#define LAYOUT_SKY_PILLAR_4F_CLEAN 436 -#define LAYOUT_SKY_PILLAR_5F_CLEAN 437 -#define LAYOUT_SKY_PILLAR_TOP_CLEAN 438 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F 439 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_B1F 440 -#define LAYOUT_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F_STAIRS_UNBLOCKED 441 - -#endif // GUARD_CONSTANTS_LAYOUTS_H diff --git a/include/constants/map_groups.h b/include/constants/map_groups.h deleted file mode 100755 index eaf40a525d..0000000000 --- a/include/constants/map_groups.h +++ /dev/null @@ -1,596 +0,0 @@ -#ifndef GUARD_CONSTANTS_MAP_GROUPS_H -#define GUARD_CONSTANTS_MAP_GROUPS_H - -// -// DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json -// - -// gMapGroup_TownsAndRoutes -#define MAP_PETALBURG_CITY (0 | (0 << 8)) -#define MAP_SLATEPORT_CITY (1 | (0 << 8)) -#define MAP_MAUVILLE_CITY (2 | (0 << 8)) -#define MAP_RUSTBORO_CITY (3 | (0 << 8)) -#define MAP_FORTREE_CITY (4 | (0 << 8)) -#define MAP_LILYCOVE_CITY (5 | (0 << 8)) -#define MAP_MOSSDEEP_CITY (6 | (0 << 8)) -#define MAP_SOOTOPOLIS_CITY (7 | (0 << 8)) -#define MAP_EVER_GRANDE_CITY (8 | (0 << 8)) -#define MAP_LITTLEROOT_TOWN (9 | (0 << 8)) -#define MAP_OLDALE_TOWN (10 | (0 << 8)) -#define MAP_DEWFORD_TOWN (11 | (0 << 8)) -#define MAP_LAVARIDGE_TOWN (12 | (0 << 8)) -#define MAP_FALLARBOR_TOWN (13 | (0 << 8)) -#define MAP_VERDANTURF_TOWN (14 | (0 << 8)) -#define MAP_PACIFIDLOG_TOWN (15 | (0 << 8)) -#define MAP_ROUTE101 (16 | (0 << 8)) -#define MAP_ROUTE102 (17 | (0 << 8)) -#define MAP_ROUTE103 (18 | (0 << 8)) -#define MAP_ROUTE104 (19 | (0 << 8)) -#define MAP_ROUTE105 (20 | (0 << 8)) -#define MAP_ROUTE106 (21 | (0 << 8)) -#define MAP_ROUTE107 (22 | (0 << 8)) -#define MAP_ROUTE108 (23 | (0 << 8)) -#define MAP_ROUTE109 (24 | (0 << 8)) -#define MAP_ROUTE110 (25 | (0 << 8)) -#define MAP_ROUTE111 (26 | (0 << 8)) -#define MAP_ROUTE112 (27 | (0 << 8)) -#define MAP_ROUTE113 (28 | (0 << 8)) -#define MAP_ROUTE114 (29 | (0 << 8)) -#define MAP_ROUTE115 (30 | (0 << 8)) -#define MAP_ROUTE116 (31 | (0 << 8)) -#define MAP_ROUTE117 (32 | (0 << 8)) -#define MAP_ROUTE118 (33 | (0 << 8)) -#define MAP_ROUTE119 (34 | (0 << 8)) -#define MAP_ROUTE120 (35 | (0 << 8)) -#define MAP_ROUTE121 (36 | (0 << 8)) -#define MAP_ROUTE122 (37 | (0 << 8)) -#define MAP_ROUTE123 (38 | (0 << 8)) -#define MAP_ROUTE124 (39 | (0 << 8)) -#define MAP_ROUTE125 (40 | (0 << 8)) -#define MAP_ROUTE126 (41 | (0 << 8)) -#define MAP_ROUTE127 (42 | (0 << 8)) -#define MAP_ROUTE128 (43 | (0 << 8)) -#define MAP_ROUTE129 (44 | (0 << 8)) -#define MAP_ROUTE130 (45 | (0 << 8)) -#define MAP_ROUTE131 (46 | (0 << 8)) -#define MAP_ROUTE132 (47 | (0 << 8)) -#define MAP_ROUTE133 (48 | (0 << 8)) -#define MAP_ROUTE134 (49 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE124 (50 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE126 (51 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE127 (52 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE128 (53 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE129 (54 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE105 (55 | (0 << 8)) -#define MAP_UNDERWATER_ROUTE125 (56 | (0 << 8)) - -// gMapGroup_IndoorLittleroot -#define MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_1F (0 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_BRENDANS_HOUSE_2F (1 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_MAYS_HOUSE_1F (2 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_MAYS_HOUSE_2F (3 | (1 << 8)) -#define MAP_LITTLEROOT_TOWN_PROFESSOR_BIRCHS_LAB (4 | (1 << 8)) - -// gMapGroup_IndoorOldale -#define MAP_OLDALE_TOWN_HOUSE1 (0 | (2 << 8)) -#define MAP_OLDALE_TOWN_HOUSE2 (1 | (2 << 8)) -#define MAP_OLDALE_TOWN_POKEMON_CENTER_1F (2 | (2 << 8)) -#define MAP_OLDALE_TOWN_POKEMON_CENTER_2F (3 | (2 << 8)) -#define MAP_OLDALE_TOWN_MART (4 | (2 << 8)) - -// gMapGroup_IndoorDewford -#define MAP_DEWFORD_TOWN_HOUSE1 (0 | (3 << 8)) -#define MAP_DEWFORD_TOWN_POKEMON_CENTER_1F (1 | (3 << 8)) -#define MAP_DEWFORD_TOWN_POKEMON_CENTER_2F (2 | (3 << 8)) -#define MAP_DEWFORD_TOWN_GYM (3 | (3 << 8)) -#define MAP_DEWFORD_TOWN_HALL (4 | (3 << 8)) -#define MAP_DEWFORD_TOWN_HOUSE2 (5 | (3 << 8)) - -// gMapGroup_IndoorLavaridge -#define MAP_LAVARIDGE_TOWN_HERB_SHOP (0 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_GYM_1F (1 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_GYM_B1F (2 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_HOUSE (3 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_MART (4 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_POKEMON_CENTER_1F (5 | (4 << 8)) -#define MAP_LAVARIDGE_TOWN_POKEMON_CENTER_2F (6 | (4 << 8)) - -// gMapGroup_IndoorFallarbor -#define MAP_FALLARBOR_TOWN_MART (0 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_LOBBY (1 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_CORRIDOR (2 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_BATTLE_TENT_BATTLE_ROOM (3 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_POKEMON_CENTER_1F (4 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_POKEMON_CENTER_2F (5 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_COZMOS_HOUSE (6 | (5 << 8)) -#define MAP_FALLARBOR_TOWN_MOVE_RELEARNERS_HOUSE (7 | (5 << 8)) - -// gMapGroup_IndoorVerdanturf -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_LOBBY (0 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_CORRIDOR (1 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_BATTLE_TENT_BATTLE_ROOM (2 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_MART (3 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_POKEMON_CENTER_1F (4 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_POKEMON_CENTER_2F (5 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_WANDAS_HOUSE (6 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_FRIENDSHIP_RATERS_HOUSE (7 | (6 << 8)) -#define MAP_VERDANTURF_TOWN_HOUSE (8 | (6 << 8)) - -// gMapGroup_IndoorPacifidlog -#define MAP_PACIFIDLOG_TOWN_POKEMON_CENTER_1F (0 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_POKEMON_CENTER_2F (1 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE1 (2 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE2 (3 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE3 (4 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE4 (5 | (7 << 8)) -#define MAP_PACIFIDLOG_TOWN_HOUSE5 (6 | (7 << 8)) - -// gMapGroup_IndoorPetalburg -#define MAP_PETALBURG_CITY_WALLYS_HOUSE (0 | (8 << 8)) -#define MAP_PETALBURG_CITY_GYM (1 | (8 << 8)) -#define MAP_PETALBURG_CITY_HOUSE1 (2 | (8 << 8)) -#define MAP_PETALBURG_CITY_HOUSE2 (3 | (8 << 8)) -#define MAP_PETALBURG_CITY_POKEMON_CENTER_1F (4 | (8 << 8)) -#define MAP_PETALBURG_CITY_POKEMON_CENTER_2F (5 | (8 << 8)) -#define MAP_PETALBURG_CITY_MART (6 | (8 << 8)) - -// gMapGroup_IndoorSlateport -#define MAP_SLATEPORT_CITY_STERNS_SHIPYARD_1F (0 | (9 << 8)) -#define MAP_SLATEPORT_CITY_STERNS_SHIPYARD_2F (1 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_LOBBY (2 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_CORRIDOR (3 | (9 << 8)) -#define MAP_SLATEPORT_CITY_BATTLE_TENT_BATTLE_ROOM (4 | (9 << 8)) -#define MAP_SLATEPORT_CITY_NAME_RATERS_HOUSE (5 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_FAN_CLUB (6 | (9 << 8)) -#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_1F (7 | (9 << 8)) -#define MAP_SLATEPORT_CITY_OCEANIC_MUSEUM_2F (8 | (9 << 8)) -#define MAP_SLATEPORT_CITY_HARBOR (9 | (9 << 8)) -#define MAP_SLATEPORT_CITY_HOUSE (10 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_CENTER_1F (11 | (9 << 8)) -#define MAP_SLATEPORT_CITY_POKEMON_CENTER_2F (12 | (9 << 8)) -#define MAP_SLATEPORT_CITY_MART (13 | (9 << 8)) - -// gMapGroup_IndoorMauville -#define MAP_MAUVILLE_CITY_GYM (0 | (10 << 8)) -#define MAP_MAUVILLE_CITY_BIKE_SHOP (1 | (10 << 8)) -#define MAP_MAUVILLE_CITY_HOUSE1 (2 | (10 << 8)) -#define MAP_MAUVILLE_CITY_GAME_CORNER (3 | (10 << 8)) -#define MAP_MAUVILLE_CITY_HOUSE2 (4 | (10 << 8)) -#define MAP_MAUVILLE_CITY_POKEMON_CENTER_1F (5 | (10 << 8)) -#define MAP_MAUVILLE_CITY_POKEMON_CENTER_2F (6 | (10 << 8)) -#define MAP_MAUVILLE_CITY_MART (7 | (10 << 8)) - -// gMapGroup_IndoorRustboro -#define MAP_RUSTBORO_CITY_DEVON_CORP_1F (0 | (11 << 8)) -#define MAP_RUSTBORO_CITY_DEVON_CORP_2F (1 | (11 << 8)) -#define MAP_RUSTBORO_CITY_DEVON_CORP_3F (2 | (11 << 8)) -#define MAP_RUSTBORO_CITY_GYM (3 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_SCHOOL (4 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_CENTER_1F (5 | (11 << 8)) -#define MAP_RUSTBORO_CITY_POKEMON_CENTER_2F (6 | (11 << 8)) -#define MAP_RUSTBORO_CITY_MART (7 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT1_1F (8 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT1_2F (9 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE1 (10 | (11 << 8)) -#define MAP_RUSTBORO_CITY_CUTTERS_HOUSE (11 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE2 (12 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_1F (13 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_2F (14 | (11 << 8)) -#define MAP_RUSTBORO_CITY_FLAT2_3F (15 | (11 << 8)) -#define MAP_RUSTBORO_CITY_HOUSE3 (16 | (11 << 8)) - -// gMapGroup_IndoorFortree -#define MAP_FORTREE_CITY_HOUSE1 (0 | (12 << 8)) -#define MAP_FORTREE_CITY_GYM (1 | (12 << 8)) -#define MAP_FORTREE_CITY_POKEMON_CENTER_1F (2 | (12 << 8)) -#define MAP_FORTREE_CITY_POKEMON_CENTER_2F (3 | (12 << 8)) -#define MAP_FORTREE_CITY_MART (4 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE2 (5 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE3 (6 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE4 (7 | (12 << 8)) -#define MAP_FORTREE_CITY_HOUSE5 (8 | (12 << 8)) -#define MAP_FORTREE_CITY_DECORATION_SHOP (9 | (12 << 8)) - -// gMapGroup_IndoorLilycove -#define MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_1F (0 | (13 << 8)) -#define MAP_LILYCOVE_CITY_COVE_LILY_MOTEL_2F (1 | (13 << 8)) -#define MAP_LILYCOVE_CITY_LILYCOVE_MUSEUM_1F (2 | (13 << 8)) -#define MAP_LILYCOVE_CITY_LILYCOVE_MUSEUM_2F (3 | (13 << 8)) -#define MAP_LILYCOVE_CITY_CONTEST_LOBBY (4 | (13 << 8)) -#define MAP_LILYCOVE_CITY_CONTEST_HALL (5 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_CENTER_1F (6 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_CENTER_2F (7 | (13 << 8)) -#define MAP_LILYCOVE_CITY_UNUSED_MART (8 | (13 << 8)) -#define MAP_LILYCOVE_CITY_POKEMON_TRAINER_FAN_CLUB (9 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HARBOR (10 | (13 << 8)) -#define MAP_LILYCOVE_CITY_MOVE_DELETERS_HOUSE (11 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE1 (12 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE2 (13 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE3 (14 | (13 << 8)) -#define MAP_LILYCOVE_CITY_HOUSE4 (15 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_1F (16 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_2F (17 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_3F (18 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_4F (19 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_5F (20 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ROOFTOP (21 | (13 << 8)) -#define MAP_LILYCOVE_CITY_DEPARTMENT_STORE_ELEVATOR (22 | (13 << 8)) - -// gMapGroup_IndoorMossdeep -#define MAP_MOSSDEEP_CITY_GYM (0 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE1 (1 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE2 (2 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_POKEMON_CENTER_1F (3 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_POKEMON_CENTER_2F (4 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_MART (5 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE3 (6 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_STEVENS_HOUSE (7 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_HOUSE4 (8 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_SPACE_CENTER_1F (9 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_SPACE_CENTER_2F (10 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_GAME_CORNER_1F (11 | (14 << 8)) -#define MAP_MOSSDEEP_CITY_GAME_CORNER_B1F (12 | (14 << 8)) - -// gMapGroup_IndoorSootopolis -#define MAP_SOOTOPOLIS_CITY_GYM_1F (0 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_GYM_B1F (1 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_1F (2 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_POKEMON_CENTER_2F (3 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MART (4 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE1 (5 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE2 (6 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE3 (7 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE4 (8 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE5 (9 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE6 (10 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_HOUSE7 (11 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_LOTAD_AND_SEEDOT_HOUSE (12 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_1F (13 | (15 << 8)) -#define MAP_SOOTOPOLIS_CITY_MYSTERY_EVENTS_HOUSE_B1F (14 | (15 << 8)) - -// gMapGroup_IndoorEverGrande -#define MAP_EVER_GRANDE_CITY_SIDNEYS_ROOM (0 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_PHOEBES_ROOM (1 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_GLACIAS_ROOM (2 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_DRAKES_ROOM (3 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_CHAMPIONS_ROOM (4 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL1 (5 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL2 (6 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL3 (7 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL4 (8 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL5 (9 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_1F (10 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_HALL_OF_FAME (11 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_CENTER_1F (12 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_CENTER_2F (13 | (16 << 8)) -#define MAP_EVER_GRANDE_CITY_POKEMON_LEAGUE_2F (14 | (16 << 8)) - -// gMapGroup_IndoorRoute104 -#define MAP_ROUTE104_MR_BRINEYS_HOUSE (0 | (17 << 8)) -#define MAP_ROUTE104_PRETTY_PETAL_FLOWER_SHOP (1 | (17 << 8)) - -// gMapGroup_IndoorRoute111 -#define MAP_ROUTE111_WINSTRATE_FAMILYS_HOUSE (0 | (18 << 8)) -#define MAP_ROUTE111_OLD_LADYS_REST_STOP (1 | (18 << 8)) - -// gMapGroup_IndoorRoute112 -#define MAP_ROUTE112_CABLE_CAR_STATION (0 | (19 << 8)) -#define MAP_MT_CHIMNEY_CABLE_CAR_STATION (1 | (19 << 8)) - -// gMapGroup_IndoorRoute114 -#define MAP_ROUTE114_FOSSIL_MANIACS_HOUSE (0 | (20 << 8)) -#define MAP_ROUTE114_FOSSIL_MANIACS_TUNNEL (1 | (20 << 8)) -#define MAP_ROUTE114_LANETTES_HOUSE (2 | (20 << 8)) - -// gMapGroup_IndoorRoute116 -#define MAP_ROUTE116_TUNNELERS_REST_HOUSE (0 | (21 << 8)) - -// gMapGroup_IndoorRoute117 -#define MAP_ROUTE117_POKEMON_DAY_CARE (0 | (22 << 8)) - -// gMapGroup_IndoorRoute121 -#define MAP_ROUTE121_SAFARI_ZONE_ENTRANCE (0 | (23 << 8)) - -// gMapGroup_Dungeons -#define MAP_METEOR_FALLS_1F_1R (0 | (24 << 8)) -#define MAP_METEOR_FALLS_1F_2R (1 | (24 << 8)) -#define MAP_METEOR_FALLS_B1F_1R (2 | (24 << 8)) -#define MAP_METEOR_FALLS_B1F_2R (3 | (24 << 8)) -#define MAP_RUSTURF_TUNNEL (4 | (24 << 8)) -#define MAP_UNDERWATER_SOOTOPOLIS_CITY (5 | (24 << 8)) -#define MAP_DESERT_RUINS (6 | (24 << 8)) -#define MAP_GRANITE_CAVE_1F (7 | (24 << 8)) -#define MAP_GRANITE_CAVE_B1F (8 | (24 << 8)) -#define MAP_GRANITE_CAVE_B2F (9 | (24 << 8)) -#define MAP_GRANITE_CAVE_STEVENS_ROOM (10 | (24 << 8)) -#define MAP_PETALBURG_WOODS (11 | (24 << 8)) -#define MAP_MT_CHIMNEY (12 | (24 << 8)) -#define MAP_JAGGED_PASS (13 | (24 << 8)) -#define MAP_FIERY_PATH (14 | (24 << 8)) -#define MAP_MT_PYRE_1F (15 | (24 << 8)) -#define MAP_MT_PYRE_2F (16 | (24 << 8)) -#define MAP_MT_PYRE_3F (17 | (24 << 8)) -#define MAP_MT_PYRE_4F (18 | (24 << 8)) -#define MAP_MT_PYRE_5F (19 | (24 << 8)) -#define MAP_MT_PYRE_6F (20 | (24 << 8)) -#define MAP_MT_PYRE_EXTERIOR (21 | (24 << 8)) -#define MAP_MT_PYRE_SUMMIT (22 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_1F (23 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_B1F (24 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_B2F (25 | (24 << 8)) -#define MAP_UNDERWATER_SEAFLOOR_CAVERN (26 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ENTRANCE (27 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM1 (28 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM2 (29 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM3 (30 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM4 (31 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM5 (32 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM6 (33 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM7 (34 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM8 (35 | (24 << 8)) -#define MAP_SEAFLOOR_CAVERN_ROOM9 (36 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_ENTRANCE (37 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_1F (38 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP1 (39 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP2 (40 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_UNUSED_RUBY_SAPPHIRE_MAP3 (41 | (24 << 8)) -#define MAP_CAVE_OF_ORIGIN_B1F (42 | (24 << 8)) -#define MAP_VICTORY_ROAD_1F (43 | (24 << 8)) -#define MAP_VICTORY_ROAD_B1F (44 | (24 << 8)) -#define MAP_VICTORY_ROAD_B2F (45 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_ENTRANCE_ROOM (46 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_INNER_ROOM (47 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_STAIRS_ROOM (48 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_LOWER_ROOM (49 | (24 << 8)) -#define MAP_SHOAL_CAVE_HIGH_TIDE_ENTRANCE_ROOM (50 | (24 << 8)) -#define MAP_SHOAL_CAVE_HIGH_TIDE_INNER_ROOM (51 | (24 << 8)) -#define MAP_NEW_MAUVILLE_ENTRANCE (52 | (24 << 8)) -#define MAP_NEW_MAUVILLE_INSIDE (53 | (24 << 8)) -#define MAP_ABANDONED_SHIP_DECK (54 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CORRIDORS_1F (55 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS_1F (56 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CORRIDORS_B1F (57 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS_B1F (58 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS2_B1F (59 | (24 << 8)) -#define MAP_ABANDONED_SHIP_UNDERWATER1 (60 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOM_B1F (61 | (24 << 8)) -#define MAP_ABANDONED_SHIP_ROOMS2_1F (62 | (24 << 8)) -#define MAP_ABANDONED_SHIP_CAPTAINS_OFFICE (63 | (24 << 8)) -#define MAP_ABANDONED_SHIP_UNDERWATER2 (64 | (24 << 8)) -#define MAP_ABANDONED_SHIP_HIDDEN_FLOOR_CORRIDORS (65 | (24 << 8)) -#define MAP_ABANDONED_SHIP_HIDDEN_FLOOR_ROOMS (66 | (24 << 8)) -#define MAP_ISLAND_CAVE (67 | (24 << 8)) -#define MAP_ANCIENT_TOMB (68 | (24 << 8)) -#define MAP_UNDERWATER_ROUTE134 (69 | (24 << 8)) -#define MAP_UNDERWATER_SEALED_CHAMBER (70 | (24 << 8)) -#define MAP_SEALED_CHAMBER_OUTER_ROOM (71 | (24 << 8)) -#define MAP_SEALED_CHAMBER_INNER_ROOM (72 | (24 << 8)) -#define MAP_SCORCHED_SLAB (73 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP1 (74 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP2 (75 | (24 << 8)) -#define MAP_AQUA_HIDEOUT_UNUSED_RUBY_MAP3 (76 | (24 << 8)) -#define MAP_SKY_PILLAR_ENTRANCE (77 | (24 << 8)) -#define MAP_SKY_PILLAR_OUTSIDE (78 | (24 << 8)) -#define MAP_SKY_PILLAR_1F (79 | (24 << 8)) -#define MAP_SKY_PILLAR_2F (80 | (24 << 8)) -#define MAP_SKY_PILLAR_3F (81 | (24 << 8)) -#define MAP_SKY_PILLAR_4F (82 | (24 << 8)) -#define MAP_SHOAL_CAVE_LOW_TIDE_ICE_ROOM (83 | (24 << 8)) -#define MAP_SKY_PILLAR_5F (84 | (24 << 8)) -#define MAP_SKY_PILLAR_TOP (85 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_1F (86 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_1R (87 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_2R (88 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_1R (89 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_2R (90 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_4F (91 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_3F_3R (92 | (24 << 8)) -#define MAP_MAGMA_HIDEOUT_2F_3R (93 | (24 << 8)) -#define MAP_MIRAGE_TOWER_1F (94 | (24 << 8)) -#define MAP_MIRAGE_TOWER_2F (95 | (24 << 8)) -#define MAP_MIRAGE_TOWER_3F (96 | (24 << 8)) -#define MAP_MIRAGE_TOWER_4F (97 | (24 << 8)) -#define MAP_DESERT_UNDERPASS (98 | (24 << 8)) -#define MAP_ARTISAN_CAVE_B1F (99 | (24 << 8)) -#define MAP_ARTISAN_CAVE_1F (100 | (24 << 8)) -#define MAP_UNDERWATER_MARINE_CAVE (101 | (24 << 8)) -#define MAP_MARINE_CAVE_ENTRANCE (102 | (24 << 8)) -#define MAP_MARINE_CAVE_END (103 | (24 << 8)) -#define MAP_TERRA_CAVE_ENTRANCE (104 | (24 << 8)) -#define MAP_TERRA_CAVE_END (105 | (24 << 8)) -#define MAP_ALTERING_CAVE (106 | (24 << 8)) -#define MAP_METEOR_FALLS_STEVENS_CAVE (107 | (24 << 8)) - -// gMapGroup_IndoorDynamic -#define MAP_SECRET_BASE_RED_CAVE1 (0 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE1 (1 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE1 (2 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE1 (3 | (25 << 8)) -#define MAP_SECRET_BASE_TREE1 (4 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB1 (5 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE2 (6 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE2 (7 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE2 (8 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE2 (9 | (25 << 8)) -#define MAP_SECRET_BASE_TREE2 (10 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB2 (11 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE3 (12 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE3 (13 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE3 (14 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE3 (15 | (25 << 8)) -#define MAP_SECRET_BASE_TREE3 (16 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB3 (17 | (25 << 8)) -#define MAP_SECRET_BASE_RED_CAVE4 (18 | (25 << 8)) -#define MAP_SECRET_BASE_BROWN_CAVE4 (19 | (25 << 8)) -#define MAP_SECRET_BASE_BLUE_CAVE4 (20 | (25 << 8)) -#define MAP_SECRET_BASE_YELLOW_CAVE4 (21 | (25 << 8)) -#define MAP_SECRET_BASE_TREE4 (22 | (25 << 8)) -#define MAP_SECRET_BASE_SHRUB4 (23 | (25 << 8)) -#define MAP_BATTLE_COLOSSEUM_2P (24 | (25 << 8)) -#define MAP_TRADE_CENTER (25 | (25 << 8)) -#define MAP_RECORD_CORNER (26 | (25 << 8)) -#define MAP_BATTLE_COLOSSEUM_4P (27 | (25 << 8)) -#define MAP_CONTEST_HALL (28 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL1 (29 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL2 (30 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL3 (31 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL4 (32 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL5 (33 | (25 << 8)) -#define MAP_UNUSED_CONTEST_HALL6 (34 | (25 << 8)) -#define MAP_CONTEST_HALL_BEAUTY (35 | (25 << 8)) -#define MAP_CONTEST_HALL_TOUGH (36 | (25 << 8)) -#define MAP_CONTEST_HALL_COOL (37 | (25 << 8)) -#define MAP_CONTEST_HALL_SMART (38 | (25 << 8)) -#define MAP_CONTEST_HALL_CUTE (39 | (25 << 8)) -#define MAP_INSIDE_OF_TRUCK (40 | (25 << 8)) -#define MAP_SS_TIDAL_CORRIDOR (41 | (25 << 8)) -#define MAP_SS_TIDAL_LOWER_DECK (42 | (25 << 8)) -#define MAP_SS_TIDAL_ROOMS (43 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE01 (44 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE02 (45 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE03 (46 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE04 (47 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE05 (48 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE06 (49 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE07 (50 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE08 (51 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE09 (52 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE10 (53 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE11 (54 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE12 (55 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE13 (56 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE14 (57 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE15 (58 | (25 << 8)) -#define MAP_BATTLE_PYRAMID_SQUARE16 (59 | (25 << 8)) -#define MAP_UNION_ROOM (60 | (25 << 8)) - -// gMapGroup_SpecialArea -#define MAP_SAFARI_ZONE_NORTHWEST (0 | (26 << 8)) -#define MAP_SAFARI_ZONE_NORTH (1 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTHWEST (2 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTH (3 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_OUTSIDE_WEST (4 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_LOBBY (5 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_ELEVATOR (6 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_CORRIDOR (7 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_BATTLE_ROOM (8 | (26 << 8)) -#define MAP_SOUTHERN_ISLAND_EXTERIOR (9 | (26 << 8)) -#define MAP_SOUTHERN_ISLAND_INTERIOR (10 | (26 << 8)) -#define MAP_SAFARI_ZONE_REST_HOUSE (11 | (26 << 8)) -#define MAP_SAFARI_ZONE_NORTHEAST (12 | (26 << 8)) -#define MAP_SAFARI_ZONE_SOUTHEAST (13 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_OUTSIDE_EAST (14 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_PARTNER_ROOM (15 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_CORRIDOR (16 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_TOWER_MULTI_BATTLE_ROOM (17 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_LOBBY (18 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_CORRIDOR (19 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_PRE_BATTLE_ROOM (20 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_DOME_BATTLE_ROOM (21 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_LOBBY (22 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_CORRIDOR (23 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PALACE_BATTLE_ROOM (24 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_LOBBY (25 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_FLOOR (26 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PYRAMID_TOP (27 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_LOBBY (28 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_CORRIDOR (29 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_ARENA_BATTLE_ROOM (30 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_LOBBY (31 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_PRE_BATTLE_ROOM (32 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_FACTORY_BATTLE_ROOM (33 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_LOBBY (34 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_CORRIDOR (35 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_THREE_PATH_ROOM (36 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_NORMAL (37 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_FINAL (38 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_BATTLE_PIKE_ROOM_WILD_MONS (39 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_RANKING_HALL (40 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE1 (41 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_EXCHANGE_SERVICE_CORNER (42 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE2 (43 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE3 (44 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE4 (45 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_SCOTTS_HOUSE (46 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE5 (47 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE6 (48 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE7 (49 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_RECEPTION_GATE (50 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE8 (51 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_LOUNGE9 (52 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_1F (53 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_POKEMON_CENTER_2F (54 | (26 << 8)) -#define MAP_BATTLE_FRONTIER_MART (55 | (26 << 8)) -#define MAP_FARAWAY_ISLAND_ENTRANCE (56 | (26 << 8)) -#define MAP_FARAWAY_ISLAND_INTERIOR (57 | (26 << 8)) -#define MAP_BIRTH_ISLAND_EXTERIOR (58 | (26 << 8)) -#define MAP_BIRTH_ISLAND_HARBOR (59 | (26 << 8)) -#define MAP_TRAINER_HILL_ENTRANCE (60 | (26 << 8)) -#define MAP_TRAINER_HILL_1F (61 | (26 << 8)) -#define MAP_TRAINER_HILL_2F (62 | (26 << 8)) -#define MAP_TRAINER_HILL_3F (63 | (26 << 8)) -#define MAP_TRAINER_HILL_4F (64 | (26 << 8)) -#define MAP_TRAINER_HILL_ROOF (65 | (26 << 8)) -#define MAP_NAVEL_ROCK_EXTERIOR (66 | (26 << 8)) -#define MAP_NAVEL_ROCK_HARBOR (67 | (26 << 8)) -#define MAP_NAVEL_ROCK_ENTRANCE (68 | (26 << 8)) -#define MAP_NAVEL_ROCK_B1F (69 | (26 << 8)) -#define MAP_NAVEL_ROCK_FORK (70 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP1 (71 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP2 (72 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP3 (73 | (26 << 8)) -#define MAP_NAVEL_ROCK_UP4 (74 | (26 << 8)) -#define MAP_NAVEL_ROCK_TOP (75 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN01 (76 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN02 (77 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN03 (78 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN04 (79 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN05 (80 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN06 (81 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN07 (82 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN08 (83 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN09 (84 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN10 (85 | (26 << 8)) -#define MAP_NAVEL_ROCK_DOWN11 (86 | (26 << 8)) -#define MAP_NAVEL_ROCK_BOTTOM (87 | (26 << 8)) -#define MAP_TRAINER_HILL_ELEVATOR (88 | (26 << 8)) - -// gMapGroup_IndoorRoute104Prototype -#define MAP_ROUTE104_PROTOTYPE (0 | (27 << 8)) -#define MAP_ROUTE104_PROTOTYPE_PRETTY_PETAL_FLOWER_SHOP (1 | (27 << 8)) - -// gMapGroup_IndoorRoute109 -#define MAP_ROUTE109_SEASHORE_HOUSE (0 | (28 << 8)) - -// gMapGroup_IndoorRoute110 -#define MAP_ROUTE110_TRICK_HOUSE_ENTRANCE (0 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_END (1 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_CORRIDOR (2 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE1 (3 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE2 (4 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE3 (5 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE4 (6 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE5 (7 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE6 (8 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE7 (9 | (29 << 8)) -#define MAP_ROUTE110_TRICK_HOUSE_PUZZLE8 (10 | (29 << 8)) -#define MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE (11 | (29 << 8)) -#define MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE (12 | (29 << 8)) - -// gMapGroup_IndoorRoute113 -#define MAP_ROUTE113_GLASS_WORKSHOP (0 | (30 << 8)) - -// gMapGroup_IndoorRoute123 -#define MAP_ROUTE123_BERRY_MASTERS_HOUSE (0 | (31 << 8)) - -// gMapGroup_IndoorRoute119 -#define MAP_ROUTE119_WEATHER_INSTITUTE_1F (0 | (32 << 8)) -#define MAP_ROUTE119_WEATHER_INSTITUTE_2F (1 | (32 << 8)) -#define MAP_ROUTE119_HOUSE (2 | (32 << 8)) - -// gMapGroup_IndoorRoute124 -#define MAP_ROUTE124_DIVING_TREASURE_HUNTERS_HOUSE (0 | (33 << 8)) - -#define MAP_GROUPS_COUNT 34 - -#endif // GUARD_CONSTANTS_MAP_GROUPS_H diff --git a/make_tools.mk b/make_tools.mk index 7e0baf8900..7adf510319 100644 --- a/make_tools.mk +++ b/make_tools.mk @@ -1,12 +1,20 @@ +# This controls building executables in the `tools` folder. +# Can be invoked through the `Makefile` or standalone. MAKEFLAGS += --no-print-directory # Inclusive list. If you don't want a tool to be built, don't add it here. -TOOLDIRS := tools/aif2pcm tools/bin2c tools/gbafix tools/gbagfx tools/jsonproc tools/mapjson tools/mid2agb tools/preproc tools/ramscrgen tools/rsfont tools/scaninc +TOOLS_DIR := tools +TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc -.PHONY: all $(TOOLDIRS) +TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%) -all: $(TOOLDIRS) +.PHONY: tools check-tools clean-tools $(TOOLDIRS) + +tools: $(TOOLDIRS) $(TOOLDIRS): @$(MAKE) -C $@ + +clean-tools: + @$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);) diff --git a/map_data_rules.mk b/map_data_rules.mk index d3f47a352e..ed7c08edea 100755 --- a/map_data_rules.mk +++ b/map_data_rules.mk @@ -1,8 +1,17 @@ # Map JSON data +# Inputs MAPS_DIR = $(DATA_ASM_SUBDIR)/maps LAYOUTS_DIR = $(DATA_ASM_SUBDIR)/layouts +# Outputs +MAPS_OUTDIR := $(MAPS_DIR) +LAYOUTS_OUTDIR := $(LAYOUTS_DIR) +INCLUDECONSTS_OUTDIR := include/constants + +AUTO_GEN_TARGETS += $(INCLUDECONSTS_OUTDIR)/map_groups.h +AUTO_GEN_TARGETS += $(INCLUDECONSTS_OUTDIR)/layouts.h + MAP_DIRS := $(dir $(wildcard $(MAPS_DIR)/*/map.json)) MAP_CONNECTIONS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/connections.inc,$(MAP_DIRS)) MAP_EVENTS := $(patsubst $(MAPS_DIR)/%/,$(MAPS_DIR)/%/events.inc,$(MAP_DIRS)) @@ -13,19 +22,12 @@ $(DATA_ASM_BUILDDIR)/maps.o: $(DATA_ASM_SUBDIR)/maps.s $(LAYOUTS_DIR)/layouts.in $(DATA_ASM_BUILDDIR)/map_events.o: $(DATA_ASM_SUBDIR)/map_events.s $(MAPS_DIR)/events.inc $(MAP_EVENTS) $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ -$(MAPS_DIR)/%/header.inc: $(MAPS_DIR)/%/map.json - $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json -$(MAPS_DIR)/%/events.inc: $(MAPS_DIR)/%/header.inc ; -$(MAPS_DIR)/%/connections.inc: $(MAPS_DIR)/%/events.inc ; -$(MAPS_DIR)/groups.inc: $(MAPS_DIR)/map_groups.json - $(MAPJSON) groups emerald $< -$(MAPS_DIR)/connections.inc: $(MAPS_DIR)/groups.inc ; -$(MAPS_DIR)/events.inc: $(MAPS_DIR)/connections.inc ; -$(MAPS_DIR)/headers.inc: $(MAPS_DIR)/events.inc ; -include/constants/map_groups.h: $(MAPS_DIR)/headers.inc ; +$(MAPS_OUTDIR)/%/header.inc $(MAPS_OUTDIR)/%/events.inc $(MAPS_OUTDIR)/%/connections.inc: $(MAPS_DIR)/%/map.json + $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json $(@D) -$(LAYOUTS_DIR)/layouts.inc: $(LAYOUTS_DIR)/layouts.json - $(MAPJSON) layouts emerald $< -$(LAYOUTS_DIR)/layouts_table.inc: $(LAYOUTS_DIR)/layouts.inc ; -include/constants/layouts.h: $(LAYOUTS_DIR)/layouts_table.inc ; +$(MAPS_OUTDIR)/connections.inc $(MAPS_OUTDIR)/groups.inc $(MAPS_OUTDIR)/events.inc $(MAPS_OUTDIR)/headers.inc $(INCLUDECONSTS_OUTDIR)/map_groups.h: $(MAPS_DIR)/map_groups.json + $(MAPJSON) groups emerald $< $(MAPS_OUTDIR) $(INCLUDECONSTS_OUTDIR) + +$(LAYOUTS_OUTDIR)/layouts.inc $(LAYOUTS_OUTDIR)/layouts_table.inc $(INCLUDECONSTS_OUTDIR)/layouts.h: $(LAYOUTS_DIR)/layouts.json + $(MAPJSON) layouts emerald $< $(LAYOUTS_OUTDIR) $(INCLUDECONSTS_OUTDIR) diff --git a/tools/jsonproc/jsonproc.cpp b/tools/jsonproc/jsonproc.cpp index 9ef23cd43e..03e51b765a 100755 --- a/tools/jsonproc/jsonproc.cpp +++ b/tools/jsonproc/jsonproc.cpp @@ -1,4 +1,6 @@ // jsonproc.cpp +// jsonproc converts JSON data to an output file based on an Inja template. +// https://github.com/pantor/inja #include "jsonproc.h" diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index e53ac7924d..1a10c9dab8 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -30,6 +30,8 @@ using json11::Json; #include "mapjson.h" string version; +// System directory separator +string sep; string read_text_file(string filepath) { ifstream in_file(filepath); @@ -330,13 +332,22 @@ string generate_map_events_text(Json map_data) { return text.str(); } -string get_directory_name(string filename) { - size_t dir_pos = filename.find_last_of("/\\"); +string strip_trailing_separator(string filename) { + if(filename.back() == '/' || filename.back() == '\\') + filename.pop_back(); + return filename; +} +void infer_separator(string filename) { + size_t dir_pos = filename.find_last_of("/\\"); + sep = filename[dir_pos]; +} +string file_parent(string filename){ + size_t dir_pos = filename.find_last_of("/\\"); return filename.substr(0, dir_pos + 1); } -void process_map(string map_filepath, string layouts_filepath) { +void process_map(string map_filepath, string layouts_filepath, string output_dir) { string mapdata_err, layouts_err; string mapdata_json_text = read_text_file(map_filepath); @@ -354,10 +365,10 @@ void process_map(string map_filepath, string layouts_filepath) { string events_text = generate_map_events_text(map_data); string connections_text = generate_map_connections_text(map_data); - string files_dir = get_directory_name(map_filepath); - write_text_file(files_dir + "header.inc", header_text); - write_text_file(files_dir + "events.inc", events_text); - write_text_file(files_dir + "connections.inc", connections_text); + string out_dir = strip_trailing_separator(output_dir).append(sep); + write_text_file(out_dir + "header.inc", header_text); + write_text_file(out_dir + "events.inc", events_text); + write_text_file(out_dir + "connections.inc", connections_text); } string generate_groups_text(Json groups_data) { @@ -382,7 +393,7 @@ string generate_groups_text(Json groups_data) { return text.str(); } -string generate_connections_text(Json groups_data) { +string generate_connections_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -407,12 +418,12 @@ string generate_connections_text(Json groups_data) { text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; for (Json map_name : map_names) - text << "\t.include \"data/maps/" << json_to_string(map_name) << "/connections.inc\"\n"; + text << "\t.include \"" << include_path << "/" << json_to_string(map_name) << "/connections.inc\"\n"; return text.str(); } -string generate_headers_text(Json groups_data) { +string generate_headers_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -424,12 +435,12 @@ string generate_headers_text(Json groups_data) { text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; for (string map_name : map_names) - text << "\t.include \"data/maps/" << map_name << "/header.inc\"\n"; + text << "\t.include \"" << include_path << "/" << map_name << "/header.inc\"\n"; return text.str(); } -string generate_events_text(Json groups_data) { +string generate_events_text(Json groups_data, string include_path) { vector map_names; for (auto &group : groups_data["group_order"].array_items()) @@ -438,17 +449,16 @@ string generate_events_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from " << include_path << "/map_groups.json\n@\n\n"; for (string map_name : map_names) - text << "\t.include \"data/maps/" << map_name << "/events.inc\"\n"; + text << "\t.include \"" << include_path << "/" << map_name << "/events.inc\"\n"; return text.str(); } string generate_map_constants_text(string groups_filepath, Json groups_data) { - string file_dir = get_directory_name(groups_filepath); - char dir_separator = file_dir.back(); + string file_dir = file_parent(groups_filepath) + sep; ostringstream text; @@ -466,7 +476,7 @@ string generate_map_constants_text(string groups_filepath, Json groups_data) { size_t max_length = 0; for (auto &map_name : groups_data[groupName].array_items()) { - string map_filepath = file_dir + json_to_string(map_name) + dir_separator + "map.json"; + string map_filepath = file_dir + json_to_string(map_name) + sep + "map.json"; string err_str; Json map_data = Json::parse(read_text_file(map_filepath), err_str); if (map_data == Json()) @@ -493,7 +503,11 @@ string generate_map_constants_text(string groups_filepath, Json groups_data) { return text.str(); } -void process_groups(string groups_filepath) { +// Output paths are directories with trailing path separators +void process_groups(string groups_filepath, string output_asm, string output_c) { + output_asm = strip_trailing_separator(output_asm); // Remove separator if existing. + output_c = strip_trailing_separator(output_c); + string err; Json groups_data = Json::parse(read_text_file(groups_filepath), err); @@ -501,19 +515,16 @@ void process_groups(string groups_filepath) { FATAL_ERROR("%s\n", err.c_str()); string groups_text = generate_groups_text(groups_data); - string connections_text = generate_connections_text(groups_data); - string headers_text = generate_headers_text(groups_data); - string events_text = generate_events_text(groups_data); + string connections_text = generate_connections_text(groups_data, output_asm); + string headers_text = generate_headers_text(groups_data, output_asm); + string events_text = generate_events_text(groups_data, output_asm); string map_header_text = generate_map_constants_text(groups_filepath, groups_data); - string file_dir = get_directory_name(groups_filepath); - char s = file_dir.back(); - - write_text_file(file_dir + "groups.inc", groups_text); - write_text_file(file_dir + "connections.inc", connections_text); - write_text_file(file_dir + "headers.inc", headers_text); - write_text_file(file_dir + "events.inc", events_text); - write_text_file(file_dir + ".." + s + ".." + s + "include" + s + "constants" + s + "map_groups.h", map_header_text); + write_text_file(output_asm + sep + "groups.inc", groups_text); + write_text_file(output_asm + sep + "connections.inc", connections_text); + write_text_file(output_asm + sep + "headers.inc", headers_text); + write_text_file(output_asm + sep + "events.inc", events_text); + write_text_file(output_c + sep + "map_groups.h", map_header_text); } string generate_layout_headers_text(Json layouts_data) { @@ -586,7 +597,10 @@ string generate_layouts_constants_text(Json layouts_data) { return text.str(); } -void process_layouts(string layouts_filepath) { +void process_layouts(string layouts_filepath, string output_asm, string output_c) { + output_asm = strip_trailing_separator(output_asm).append(sep); + output_c = strip_trailing_separator(output_c).append(sep); + string err; Json layouts_data = Json::parse(read_text_file(layouts_filepath), err); @@ -597,12 +611,9 @@ void process_layouts(string layouts_filepath) { string layouts_table_text = generate_layouts_table_text(layouts_data); string layouts_constants_text = generate_layouts_constants_text(layouts_data); - string file_dir = get_directory_name(layouts_filepath); - char s = file_dir.back(); - - write_text_file(file_dir + "layouts.inc", layout_headers_text); - write_text_file(file_dir + "layouts_table.inc", layouts_table_text); - write_text_file(file_dir + ".." + s + ".." + s + "include" + s + "constants" + s + "layouts.h", layouts_constants_text); + write_text_file(output_asm + "layouts.inc", layout_headers_text); + write_text_file(output_asm + "layouts_table.inc", layouts_table_text); + write_text_file(output_c + "layouts.h", layouts_constants_text); } int main(int argc, char *argv[]) { @@ -620,29 +631,40 @@ int main(int argc, char *argv[]) { FATAL_ERROR("ERROR: must be 'layouts', 'map', or 'groups'.\n"); if (mode == "map") { - if (argc != 5) - FATAL_ERROR("USAGE: mapjson map \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson map \n"); + infer_separator(argv[3]); string filepath(argv[3]); string layouts_filepath(argv[4]); + string output_dir(argv[5]); - process_map(filepath, layouts_filepath); + process_map(filepath, layouts_filepath, output_dir); } else if (mode == "groups") { - if (argc != 4) - FATAL_ERROR("USAGE: mapjson groups \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson groups \n"); + infer_separator(argv[3]); string filepath(argv[3]); + string output_asm(argv[4]); + string output_c(argv[5]); - process_groups(filepath); + process_groups(filepath, output_asm, output_c); } else if (mode == "layouts") { - if (argc != 4) - FATAL_ERROR("USAGE: mapjson layouts \n"); + if (argc != 6) + FATAL_ERROR("USAGE: mapjson layouts \n"); + infer_separator(argv[3]); string filepath(argv[3]); + string output_asm(argv[4]); + string output_c(argv[5]); - process_layouts(filepath); + process_layouts(filepath, output_asm, output_c); + } + else { + FATAL_ERROR("ERROR: must be 'layouts', 'map', or 'groups'.\n"); } return 0; From a4dd8216587f73841ba9016678c1af88cb78b62c Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 31 Aug 2024 00:32:43 -0400 Subject: [PATCH 031/278] Restore review changes from dependent PR --- map_data_rules.mk | 1 + tools/mapjson/mapjson.cpp | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/map_data_rules.mk b/map_data_rules.mk index 3ec86da7dd..ed7c08edea 100755 --- a/map_data_rules.mk +++ b/map_data_rules.mk @@ -22,6 +22,7 @@ $(DATA_ASM_BUILDDIR)/maps.o: $(DATA_ASM_SUBDIR)/maps.s $(LAYOUTS_DIR)/layouts.in $(DATA_ASM_BUILDDIR)/map_events.o: $(DATA_ASM_SUBDIR)/map_events.s $(MAPS_DIR)/events.inc $(MAP_EVENTS) $(PREPROC) $< charmap.txt | $(CPP) -I include - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ + $(MAPS_OUTDIR)/%/header.inc $(MAPS_OUTDIR)/%/events.inc $(MAPS_OUTDIR)/%/connections.inc: $(MAPS_DIR)/%/map.json $(MAPJSON) map emerald $< $(LAYOUTS_DIR)/layouts.json $(@D) diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index 1632b56be6..1a10c9dab8 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -374,7 +374,7 @@ void process_map(string map_filepath, string layouts_filepath, string output_dir string generate_groups_text(Json groups_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; for (auto &key : groups_data["group_order"].array_items()) { string group = json_to_string(key); @@ -415,7 +415,7 @@ string generate_connections_text(Json groups_data, string include_path) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; for (Json map_name : map_names) text << "\t.include \"" << include_path << "/" << json_to_string(map_name) << "/connections.inc\"\n"; @@ -432,7 +432,7 @@ string generate_headers_text(Json groups_data, string include_path) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n@\n\n"; for (string map_name : map_names) text << "\t.include \"" << include_path << "/" << map_name << "/header.inc\"\n"; @@ -465,7 +465,7 @@ string generate_map_constants_text(string groups_filepath, Json groups_data) { text << "#ifndef GUARD_CONSTANTS_MAP_GROUPS_H\n" << "#define GUARD_CONSTANTS_MAP_GROUPS_H\n\n"; - text << "//\n// DO NOT MODIFY THIS FILE! It is auto-generated from /map_groups.json\n//\n\n"; + text << "//\n// DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/map_groups.json\n//\n\n"; int group_num = 0; @@ -530,7 +530,7 @@ void process_groups(string groups_filepath, string output_asm, string output_c) string generate_layout_headers_text(Json layouts_data) { ostringstream text; - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from layouts.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/layouts/layouts.json\n@\n\n"; for (auto &layout : layouts_data["layouts"].array_items()) { if (layout == Json::object()) continue; From 32f05269a3c96b45464ca0e1f5c4090c2f37d75f Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 31 Aug 2024 00:53:23 -0400 Subject: [PATCH 032/278] Add missing terminal newlines --- audio_rules.mk | 2 +- sound/songs/midi/midi.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio_rules.mk b/audio_rules.mk index fccb9fc548..0acbccec07 100644 --- a/audio_rules.mk +++ b/audio_rules.mk @@ -42,4 +42,4 @@ $(foreach line,$(shell cat $(MID_CFG_PATH) | sed "s/ /__SPACE__/g"),$(call MID_E # Warn users building without a .cfg - build will fail at link time $(MID_ASM_DIR)/%.s: $(MID_SUBDIR)/%.mid - $(warning $< does not have an associated entry in midi.cfg! It cannot be built) \ No newline at end of file + $(warning $< does not have an associated entry in midi.cfg! It cannot be built) diff --git a/sound/songs/midi/midi.cfg b/sound/songs/midi/midi.cfg index 439778e9bd..5802904b41 100644 --- a/sound/songs/midi/midi.cfg +++ b/sound/songs/midi/midi.cfg @@ -417,4 +417,4 @@ se_unlock.mid: -E -R50 -G128 -V100 -P4 se_use_item.mid: -E -R50 -G127 -V100 -P5 se_vend.mid: -E -R50 -G128 -V110 -P4 se_warp_in.mid: -E -R50 -G127 -V090 -P4 -se_warp_out.mid: -E -R50 -G127 -V090 -P4 \ No newline at end of file +se_warp_out.mid: -E -R50 -G127 -V090 -P4 From 04197b49126604a310fae1d314709334f6d2460d Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 31 Aug 2024 01:54:25 -0400 Subject: [PATCH 033/278] Fix swapped cycling road entrances --- data/event_scripts.s | 2 +- data/maps/Route110/map.json | 8 ++++---- .../map.json | 8 ++++---- .../scripts.inc | 16 ++++++++++++++++ .../map.json | 8 ++++---- .../scripts.inc | 16 ---------------- data/maps/map_groups.json | 4 ++-- src/field_specials.c | 2 +- 8 files changed, 32 insertions(+), 32 deletions(-) diff --git a/data/event_scripts.s b/data/event_scripts.s index e8fb9dcbd1..55720a6add 100644 --- a/data/event_scripts.s +++ b/data/event_scripts.s @@ -563,8 +563,8 @@ gStdScripts_End:: .include "data/maps/Route110_TrickHousePuzzle6/scripts.inc" .include "data/maps/Route110_TrickHousePuzzle7/scripts.inc" .include "data/maps/Route110_TrickHousePuzzle8/scripts.inc" - .include "data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc" .include "data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc" + .include "data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc" .include "data/maps/Route113_GlassWorkshop/scripts.inc" .include "data/maps/Route123_BerryMastersHouse/scripts.inc" .include "data/maps/Route119_WeatherInstitute_1F/scripts.inc" diff --git a/data/maps/Route110/map.json b/data/maps/Route110/map.json index 2b52164113..6e4982fa22 100644 --- a/data/maps/Route110/map.json +++ b/data/maps/Route110/map.json @@ -518,28 +518,28 @@ "x": 15, "y": 16, "elevation": 0, - "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE", + "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE", "dest_warp_id": "0" }, { "x": 18, "y": 16, "elevation": 0, - "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE", + "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE", "dest_warp_id": "2" }, { "x": 16, "y": 88, "elevation": 0, - "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE", + "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE", "dest_warp_id": "0" }, { "x": 19, "y": 88, "elevation": 0, - "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE", + "dest_map": "MAP_ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE", "dest_warp_id": "2" } ], diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json index 6f3c6c75c5..88cbf1cc88 100644 --- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json +++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/map.json @@ -34,28 +34,28 @@ "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "4" + "dest_warp_id": "2" }, { "x": 2, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "4" + "dest_warp_id": "2" }, { "x": 12, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "5" + "dest_warp_id": "3" }, { "x": 13, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "5" + "dest_warp_id": "3" } ], "coord_events": [ diff --git a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc index 5eb1f3dea2..fb1cdc5c71 100644 --- a/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc +++ b/data/maps/Route110_SeasideCyclingRoadNorthEntrance/scripts.inc @@ -1,6 +1,16 @@ Route110_SeasideCyclingRoadNorthEntrance_MapScripts:: + map_script MAP_SCRIPT_ON_TRANSITION, Route110_SeasideCyclingRoadNorthEntrance_OnTransition .byte 0 +Route110_SeasideCyclingRoadNorthEntrance_OnTransition: + call_if_eq VAR_CYCLING_CHALLENGE_STATE, 3, Route110_SeasideCyclingRoadNorthEntrance_EventScript_RestartChallenge + call_if_eq VAR_CYCLING_CHALLENGE_STATE, 2, Route110_SeasideCyclingRoadNorthEntrance_EventScript_RestartChallenge + end + +Route110_SeasideCyclingRoadNorthEntrance_EventScript_RestartChallenge:: + setvar VAR_CYCLING_CHALLENGE_STATE, 1 + return + Route110_SeasideCyclingRoadNorthEntrance_EventScript_Clerk:: lock faceplayer @@ -11,12 +21,17 @@ Route110_SeasideCyclingRoadNorthEntrance_EventScript_Clerk:: Route110_SeasideCyclingRoadNorthEntrance_EventScript_BikeCheck:: lockall specialvar VAR_RESULT, GetPlayerAvatarBike + call_if_eq VAR_RESULT, 2, Route110_SeasideCyclingRoadNorthEntrance_EventScript_OnMachBike goto_if_eq VAR_RESULT, 0, Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike setflag FLAG_SYS_CYCLING_ROAD setvar VAR_TEMP_1, 1 releaseall end +Route110_SeasideCyclingRoadNorthEntrance_EventScript_OnMachBike:: + setvar VAR_CYCLING_CHALLENGE_STATE, 1 + return + Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike:: msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT closemessage @@ -31,6 +46,7 @@ Route110_SeasideCyclingRoadNorthEntrance_Movement_PushPlayerBackFromCounter: Route110_SeasideCyclingRoadNorthEntrance_EventScript_ClearCyclingRoad:: lockall + setvar VAR_CYCLING_CHALLENGE_STATE, 0 clearflag FLAG_SYS_CYCLING_ROAD setvar VAR_TEMP_1, 0 releaseall diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json index 59e3e5be65..943984075d 100644 --- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json +++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/map.json @@ -34,28 +34,28 @@ "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "2" + "dest_warp_id": "4" }, { "x": 2, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "2" + "dest_warp_id": "4" }, { "x": 12, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "3" + "dest_warp_id": "5" }, { "x": 13, "y": 5, "elevation": 0, "dest_map": "MAP_ROUTE110", - "dest_warp_id": "3" + "dest_warp_id": "5" } ], "coord_events": [ diff --git a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc index df53f55ccf..5c4dcfa219 100644 --- a/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc +++ b/data/maps/Route110_SeasideCyclingRoadSouthEntrance/scripts.inc @@ -1,16 +1,6 @@ Route110_SeasideCyclingRoadSouthEntrance_MapScripts:: - map_script MAP_SCRIPT_ON_TRANSITION, Route110_SeasideCyclingRoadSouthEntrance_OnTransition .byte 0 -Route110_SeasideCyclingRoadSouthEntrance_OnTransition: - call_if_eq VAR_CYCLING_CHALLENGE_STATE, 3, Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge - call_if_eq VAR_CYCLING_CHALLENGE_STATE, 2, Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge - end - -Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge:: - setvar VAR_CYCLING_CHALLENGE_STATE, 1 - return - Route110_SeasideCyclingRoadSouthEntrance_EventScript_Clerk:: lock faceplayer @@ -21,17 +11,12 @@ Route110_SeasideCyclingRoadSouthEntrance_EventScript_Clerk:: Route110_SeasideCyclingRoadSouthEntrance_EventScript_BikeCheck:: lockall specialvar VAR_RESULT, GetPlayerAvatarBike - call_if_eq VAR_RESULT, 2, Route110_SeasideCyclingRoadSouthEntrance_EventScript_OnMachBike goto_if_eq VAR_RESULT, 0, Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike setflag FLAG_SYS_CYCLING_ROAD setvar VAR_TEMP_1, 1 releaseall end -Route110_SeasideCyclingRoadSouthEntrance_EventScript_OnMachBike:: - setvar VAR_CYCLING_CHALLENGE_STATE, 1 - return - Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike:: msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT closemessage @@ -46,7 +31,6 @@ Route110_SeasideCyclingRoadSouthEntrance_Movement_PushPlayerBackFromCounter: Route110_SeasideCyclingRoadSouthEntrance_EventScript_ClearCyclingRoad:: lockall - setvar VAR_CYCLING_CHALLENGE_STATE, 0 clearflag FLAG_SYS_CYCLING_ROAD setvar VAR_TEMP_1, 0 releaseall diff --git a/data/maps/map_groups.json b/data/maps/map_groups.json index ebef431b30..8a90679c8d 100644 --- a/data/maps/map_groups.json +++ b/data/maps/map_groups.json @@ -604,8 +604,8 @@ "Route110_TrickHousePuzzle6", "Route110_TrickHousePuzzle7", "Route110_TrickHousePuzzle8", - "Route110_SeasideCyclingRoadNorthEntrance", - "Route110_SeasideCyclingRoadSouthEntrance" + "Route110_SeasideCyclingRoadSouthEntrance", + "Route110_SeasideCyclingRoadNorthEntrance" ], "gMapGroup_IndoorRoute113": [ "Route113_GlassWorkshop" diff --git a/src/field_specials.c b/src/field_specials.c index f1e5d7bb2d..f8d493493c 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -263,7 +263,7 @@ u16 GetRecordedCyclingRoadResults(void) void UpdateCyclingRoadState(void) { - if (gLastUsedWarp.mapNum == MAP_NUM(ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE) && gLastUsedWarp.mapGroup == MAP_GROUP(ROUTE110_SEASIDE_CYCLING_ROAD_SOUTH_ENTRANCE)) + if (gLastUsedWarp.mapNum == MAP_NUM(ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE) && gLastUsedWarp.mapGroup == MAP_GROUP(ROUTE110_SEASIDE_CYCLING_ROAD_NORTH_ENTRANCE)) return; if (VarGet(VAR_CYCLING_CHALLENGE_STATE) == 2 || VarGet(VAR_CYCLING_CHALLENGE_STATE) == 3) From 71fcb2e7b5b24d5bd64717d2ca7d9d760b55722c Mon Sep 17 00:00:00 2001 From: NT_x86 Date: Sun, 8 Sep 2024 12:50:35 +0300 Subject: [PATCH 034/278] Fix incorrect point macros in contest_ai_script.inc --- asm/macros/contest_ai_script.inc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/asm/macros/contest_ai_script.inc b/asm/macros/contest_ai_script.inc index 9ab7184c3c..d66d9a8ffd 100644 --- a/asm/macros/contest_ai_script.inc +++ b/asm/macros/contest_ai_script.inc @@ -141,25 +141,25 @@ .macro if_points_less_than num:req, destination:req .byte 0x16 - .byte \num + .2byte \num .4byte \destination .endm .macro if_points_more_than num:req, destination:req .byte 0x17 - .byte \num + .2byte \num .4byte \destination .endm .macro if_points_eq num:req, destination:req .byte 0x18 - .byte \num + .2byte \num .4byte \destination .endm .macro if_points_not_eq num:req, destination:req .byte 0x19 - .byte \num + .2byte \num .4byte \destination .endm @@ -171,25 +171,25 @@ .macro if_preliminary_points_less_than num:req, destination:req .byte 0x1B - .byte \num + .2byte \num .4byte \destination .endm .macro if_preliminary_points_more_than num:req, destination:req .byte 0x1C - .byte \num + .2byte \num .4byte \destination .endm .macro if_preliminary_points_eq num:req, destination:req .byte 0x1D - .byte \num + .2byte \num .4byte \destination .endm .macro if_preliminary_points_not_eq num:req, destination:req .byte 0x1E - .byte \num + .2byte \num .4byte \destination .endm From 28786b42a6cf2f31333d9bc618ef63eae1553d0b Mon Sep 17 00:00:00 2001 From: Skye Chappelle Date: Tue, 10 Sep 2024 23:36:13 -0400 Subject: [PATCH 035/278] Update INSTALL.md to state that Windows 8 is no longer supported by Microsoft --- INSTALL.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALL.md b/INSTALL.md index 7ffcdee07b..03b28ba464 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -24,7 +24,7 @@ Unscientific benchmarks suggest **msys2 is 2x slower** than WSL1, and **Cygwin i All of the Windows instructions assume that the default drive is C:\\. If this differs to your actual drive letter, then replace C with the correct drive letter when reading the instructions. -**A note of caution**: As Windows 7 is officially unsupported by Microsoft and Windows 8 has very little usage, some maintainers are unwilling to maintain the Windows 7/8 instructions. Thus, these instructions may break in the future with fixes taking longer than fixes to the Windows 10 instructions. +**A note of caution**: As Windows 7 and Windows 8 are officially unsupported by Microsoft, some maintainers are unwilling to maintain the Windows 7/8 instructions. Thus, these instructions may break in the future with fixes taking longer than fixes to the Windows 10/11 instructions. ## Windows 10/11 (WSL1) WSL1 is the preferred terminal to build **pokeemerald**. The following instructions will explain how to install WSL1 (referred to interchangeably as WSL). From a75be4124d9d06524ef42c9eb670f3bb93c5749b Mon Sep 17 00:00:00 2001 From: Skye Chappelle Date: Tue, 10 Sep 2024 23:39:41 -0400 Subject: [PATCH 036/278] Update pull_request_template.md to include Discord username update --- .github/pull_request_template.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index c381b50f1b..6bf2034006 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,5 +4,5 @@ ## **Discord contact info** - - \ No newline at end of file + + From 20e937a7241b86766657a6c5bf2cde05a164ee9e Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 11 Sep 2024 16:33:11 -0300 Subject: [PATCH 037/278] Rebuild of makefile 1: Modern as default --- Makefile | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index bb0e3e7064..fde014f815 100644 --- a/Makefile +++ b/Makefile @@ -3,19 +3,20 @@ TITLE := POKEMON EMER GAME_CODE := BPEE MAKER_CODE := 01 REVISION := 0 -MODERN ?= 0 -# `File name`.gba ('_modern' will be appended to the modern builds) +# `File name`.gba ('_agbcc' will be appended to the non-modern builds) FILE_NAME := pokeemerald BUILD_DIR := build # Builds the ROM using a modern compiler -MODERN ?= 0 +MODERN ?= 1 # Compares the ROM to a checksum of the original - only makes sense using when non-modern COMPARE ?= 0 +# Executes the Test Runner System that checks that all mechanics work as expected +TEST ?= 0 -ifeq (modern,$(MAKECMDGOALS)) - MODERN := 1 +ifeq (agbcc,$(MAKECMDGOALS)) + MODERN := 0 endif ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 @@ -66,9 +67,9 @@ else CPP := $(PREFIX)cpp endif -ROM_NAME := $(FILE_NAME).gba +ROM_NAME := $(FILE_NAME)_agbcc.gba OBJ_DIR_NAME := $(BUILD_DIR)/emerald -MODERN_ROM_NAME := $(FILE_NAME)_modern.gba +MODERN_ROM_NAME := $(FILE_NAME).gba MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern ELF_NAME := $(ROM_NAME:.gba=.elf) @@ -116,7 +117,7 @@ INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %) INCLUDE_SCANINC_ARGS := $(INCLUDE_DIRS:%=-I %) O_LEVEL ?= 2 -CPPFLAGS := $(INCLUDE_CPP_ARGS) -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN) +CPPFLAGS := $(INCLUDE_CPP_ARGS) -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN) -DTESTING=$(TEST) ifeq ($(MODERN),0) CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef CC1 := tools/agbcc/bin/agbcc$(EXE) @@ -166,7 +167,7 @@ MAKEFLAGS += --no-print-directory .SECONDEXPANSION: RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern generated clean-generated -.PHONY: all rom modern compare +.PHONY: all rom agbcc modern compare .PHONY: $(RULES_NO_SCAN) infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) @@ -226,6 +227,12 @@ $(shell mkdir -p $(SUBDIRS)) # Pretend rules that are actually flags defer to `make all` modern: all compare: all +# Uncomment the next line, and then comment the 4 lines after it to reenable agbcc. +#agbcc: all +agbcc: + @echo "'make agbcc' is deprecated as of pokeemerald-expansion 1.9 and will be removed in 1.10." + @echo "Search for 'agbcc: all' in Makefile to reenable agbcc." + @exit 1 # Other rules rom: $(ROM) From 83872ab89fb9e92f7fc9976fe0c8af6254d1082e Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 11 Sep 2024 19:31:40 -0300 Subject: [PATCH 038/278] Rebuild of makefile 2: -Wall and UNUSED_ERROR --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fde014f815..2611eed2ef 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ MODERN ?= 1 COMPARE ?= 0 # Executes the Test Runner System that checks that all mechanics work as expected TEST ?= 0 +# Count unused warnings as errors. Used by RH-Hideout's repo +UNUSED_ERROR ?= 0 ifeq (agbcc,$(MAKECMDGOALS)) MODERN := 0 @@ -129,7 +131,13 @@ else MODERNCC := $(PREFIX)gcc PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC) CC1 := $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet - override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast + override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init + # Only throw an error for unused elements if its RH-Hideout's repo + ifeq ($(UNUSED_ERROR),0) + ifneq ($(GITHUB_REPOSITORY_OWNER),rh-hideout) + override CFLAGS += -Wno-error=unused-variable -Wno-error=unused-const-variable -Wno-error=unused-parameter -Wno-error=unused-function -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=unused-local-typedefs + endif + endif LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))" LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall endif From 5f8c9158267b83482e538e224abfd4d35fce7d0a Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 11 Sep 2024 19:40:52 -0300 Subject: [PATCH 039/278] Rebuild of makefile 3: ANALYZE --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 2611eed2ef..6f87e1aa74 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,8 @@ MODERN ?= 1 COMPARE ?= 0 # Executes the Test Runner System that checks that all mechanics work as expected TEST ?= 0 +# Enables -fanalyzer C flag to analyze in depth potential UBs +ANALYZE ?= 0 # Count unused warnings as errors. Used by RH-Hideout's repo UNUSED_ERROR ?= 0 @@ -132,6 +134,9 @@ else PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC) CC1 := $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init + ifeq ($(ANALYZE),1) + override CFLAGS += -fanalyzer + endif # Only throw an error for unused elements if its RH-Hideout's repo ifeq ($(UNUSED_ERROR),0) ifneq ($(GITHUB_REPOSITORY_OWNER),rh-hideout) From 5790200e2d602b1b9eb40b7ea7b25ec2b6ff0b20 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 11 Sep 2024 20:05:18 -0300 Subject: [PATCH 040/278] Rebuild of makefile 4: Teachable learnset helper --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 6f87e1aa74..2b87d61e08 100644 --- a/Makefile +++ b/Makefile @@ -407,6 +407,10 @@ $(OBJ_DIR)/sym_common.ld: sym_common.txt $(C_OBJS) $(wildcard common_syms/*.txt) $(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt $(RAMSCRGEN) ewram_data $< ENGLISH > $@ +# NOTE: Depending on event_scripts.o is hacky, but we want to depend on everything event_scripts.s depends on without having to alter scaninc +$(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(DATA_ASM_BUILDDIR)/event_scripts.o + python3 $(TOOLS_DIR)/learnset_helpers/teachable.py + # Linker script ifeq ($(MODERN),0) LD_SCRIPT := ld_script.ld From f87440a25a518b1eb54df0b46b7350aa5832416f Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 05:43:55 -0700 Subject: [PATCH 041/278] Removed setmonball per https://github.com/rh-hideout/pokeemerald-expansion/pull/5177\#issuecomment-2294980531 --- .swo | Bin 0 -> 4096 bytes asm/macros/event.inc | 8 -------- data/specials.inc | 1 - src/field_specials.c | 6 ------ 4 files changed, 15 deletions(-) create mode 100644 .swo diff --git a/.swo b/.swo new file mode 100644 index 0000000000000000000000000000000000000000..dac352690102655cc3a6e5f5a7fee17b83ce8ed2 GIT binary patch literal 4096 zcmYc?2=nw+u+%eP00IFJ0RcOh7#IqQ(_mb@w2N!7cZh$0uBAm-n5(H7UbUl=qaiRF z0s|ESoT0`>hTyEOtfZ(QEEGCW4jHv~Gz3ONU^E0qLtr!nMnhmU1V%$(Gz3ONU;sh@ E055zBfdBvi literal 0 HcmV?d00001 diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 986ed8305f..a4057b22db 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2399,14 +2399,6 @@ setvar VAR_0x8005, \species setvar VAR_0x8006, FLAG_SET_CAUGHT specialvar VAR_RESULT, Script_GetSetPokedexFlag - .endm - - @ Changes the caught ball of a selected Pokémon - .macro setmonball ballId:req - special ChoosePartyMon - waitstate - setvar VAR_0x8005, \ballId - special SetMonBall .endm @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. diff --git a/data/specials.inc b/data/specials.inc index ed88d42eae..54a5218c37 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -557,7 +557,6 @@ gSpecials:: def_special GetObjectPosition def_special CheckObjectAtXY def_special Script_GetSetPokedexFlag - def_special SetMonBall def_special CheckPartyHasSpecie def_special CheckChosenMonMatchDesiredSpecie def_special Script_GetObjectFacingDirection diff --git a/src/field_specials.c b/src/field_specials.c index 4081e83757..d26f9219cf 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4334,12 +4334,6 @@ bool32 Script_GetSetPokedexFlag(void) return GetSetPokedexFlag(speciesId,desiredFlag); } -void SetMonBall(void) -{ - u32 ballId = gSpecialVar_0x8005; - SetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_POKEBALL, &ballId); -} - bool32 CheckPartyHasSpecie(void) { u32 partyIndex; From 979c9994f76c0823b3d221e4c94d67c87a07ee74 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 05:47:12 -0700 Subject: [PATCH 042/278] Set VAR_RESULT to the number of removed items from removeallitem per https://github.com/rh-hideout/pokeemerald-expansion/pull/5177\#issuecomment-2294980531 --- .swo | Bin 4096 -> 0 bytes asm/macros/event.inc | 2 +- src/scrcmd.c | 4 +++- 3 files changed, 4 insertions(+), 2 deletions(-) delete mode 100644 .swo diff --git a/.swo b/.swo deleted file mode 100644 index dac352690102655cc3a6e5f5a7fee17b83ce8ed2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+u+%eP00IFJ0RcOh7#IqQ(_mb@w2N!7cZh$0uBAm-n5(H7UbUl=qaiRF z0s|ESoT0`>hTyEOtfZ(QEEGCW4jHv~Gz3ONU^E0qLtr!nMnhmU1V%$(Gz3ONU;sh@ E055zBfdBvi diff --git a/asm/macros/event.inc b/asm/macros/event.inc index a4057b22db..dff3faf83a 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2339,7 +2339,7 @@ callnative ScriptHideItemDescription .endm - @ Remove all of specified item from the player's bag + @ Remove all of specified item from the player's bag and return the number of removed items to VAR_RESULT .macro removeallitem itemId:req callnative RemoveAllItem .2byte \itemId diff --git a/src/scrcmd.c b/src/scrcmd.c index 12ec041895..7062721a94 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2477,5 +2477,7 @@ void ScriptSetDoubleBattleFlag(struct ScriptContext *ctx) void RemoveAllItem(struct ScriptContext *ctx) { u32 itemId = VarGet(ScriptReadHalfword(ctx)); - RemoveBagItem(itemId, CountTotalItemQuantityInBag(itemId)); + u32 count = CountTotalItemQuantityInBag(itemId); + gSpecialVar_Result = count; + RemoveBagItem(itemId, count); } From d9b824db3f6ede8007be70b58c03874451f9d046 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 12 Sep 2024 12:27:31 -0400 Subject: [PATCH 043/278] Sync missing alignment from pokefirered --- tools/mapjson/mapjson.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mapjson/mapjson.cpp b/tools/mapjson/mapjson.cpp index 1a10c9dab8..94328b4857 100644 --- a/tools/mapjson/mapjson.cpp +++ b/tools/mapjson/mapjson.cpp @@ -197,7 +197,7 @@ string generate_map_events_text(Json map_data) { string mapName = json_to_string(map_data, "name"); - text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/" << mapName << "/map.json\n@\n\n"; + text << "@\n@ DO NOT MODIFY THIS FILE! It is auto-generated from data/maps/" << mapName << "/map.json\n@\n\n\t.align 2\n\n"; string objects_label, warps_label, coords_label, bgs_label; From 7007439be899cd0901c2145f5eb219c9d7776a51 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Thu, 12 Sep 2024 13:50:47 -0400 Subject: [PATCH 044/278] Remove old ld_script processing --- Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 7e5e14cd61..ce868f06bd 100644 --- a/Makefile +++ b/Makefile @@ -392,18 +392,14 @@ LD_SCRIPT := ld_script_modern.ld LD_SCRIPT_DEPS := endif -$(OBJ_DIR)/ld_script.ld: $(LD_SCRIPT) $(LD_SCRIPT_DEPS) - sed "s#tools/#tools/#g" $(LD_SCRIPT) > $(OBJ_DIR)/ld_script.ld - # Final rules libagbsyscall: @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN) # Elf from object files -$(ELF): $(OBJ_DIR)/ld_script.ld $(OBJS) libagbsyscall - @echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld -o ../../$@ " - @cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ld_script.ld --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat +$(ELF): $(LD_SCRIPT) $(LD_SCRIPT_DEPS) $(OBJS) libagbsyscall + @cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat $(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent # Builds the rom from the elf file From 22b0fdf5c3cd5cb68f4f23a75b4d917e391e77ac Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 18:18:41 -0700 Subject: [PATCH 045/278] Removed checkspecies_auto and made that the default behavior --- asm/macros/event.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index dff3faf83a..f3fa3a4027 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2402,7 +2402,7 @@ .endm @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. - .macro checkspecies speciesId:req, mode:req + .macro checkspecies speciesId:req, mode=NO_PARTY_SCREEN setvar VAR_0x8005, \speciesId .if \mode == OPEN_PARTY_SCREEN special ChoosePartyMon @@ -2417,10 +2417,6 @@ checkspecies \speciesId, OPEN_PARTY_SCREEN .endm - .macro checkspecies_auto speciesId:req - checkspecies \speciesId, NO_PARTY_SCREEN - .endm - @ Gets the facing direction of a given event object and stores it in the variable \dest. .macro getobjectfacingdirection localId:req, dest:req setvar VAR_0x8005, \localId From 10bb349b8cc2b46ffd22cd9e36ce0c18a032d281 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 18:41:42 -0700 Subject: [PATCH 046/278] Changed GetObjectPosition to callnative --- asm/macros/event.inc | 22 +++++++++++----------- data/specials.inc | 1 - src/field_specials.c | 24 ------------------------ src/scrcmd.c | 25 +++++++++++++++++++++++++ 4 files changed, 36 insertions(+), 36 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index f3fa3a4027..b2a2d46159 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2347,21 +2347,21 @@ @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will takje the object's template position. .macro getobjectxy localId:req, posType:req - setvar VAR_0x8000, \localId - setvar VAR_0x8001, \posType - special GetObjectPosition + callnative GetObjectPosition + .2byte \localId + .2byte \posType .endm - .macro getobjecttemplatexy localId:req - setvar VAR_0x8000, \localId - setvar VAR_0x8001, TEMPLATE_POSITION - special GetObjectPosition + .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION + callnative GetObjectPosition + .2byte \localId + .2byte \posType .endm - .macro getobjectcurrentxy localId:req - setvar VAR_0x8000, \localId - setvar VAR_0x8001, CURRENT_POSITION - special GetObjectPosition + .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION + callnative GetObjectPosition + .2byte \localId + .2byte \posType .endm @ checks if there is any object at a given position diff --git a/data/specials.inc b/data/specials.inc index 54a5218c37..3232dca7af 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,7 +554,6 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs - def_special GetObjectPosition def_special CheckObjectAtXY def_special Script_GetSetPokedexFlag def_special CheckPartyHasSpecie diff --git a/src/field_specials.c b/src/field_specials.c index d26f9219cf..3c27ade570 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,30 +4278,6 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -void GetObjectPosition(void) -{ - u32 localId = gSpecialVar_0x8000; - u32 useTemplate = gSpecialVar_0x8001; - u32 objectId; - struct ObjectEvent* objEvent; - - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; - - if (useTemplate) - { - const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); - *x = objTemplate->x; - *y = objTemplate->y; - return; - } - - objectId = GetObjectEventIdByLocalId(localId); - objEvent = &gObjectEvents[objectId]; - *x = objEvent->currentCoords.x - 7; - *y = objEvent->currentCoords.y - 7; -} - bool32 CheckObjectAtXY(void) { u32 x = gSpecialVar_0x8005 + 7; diff --git a/src/scrcmd.c b/src/scrcmd.c index 7062721a94..7bcedb89bb 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2481,3 +2481,28 @@ void RemoveAllItem(struct ScriptContext *ctx) gSpecialVar_Result = count; RemoveBagItem(itemId, count); } + +void GetObjectPosition(struct ScriptContext *ctx) +{ + u32 localId = VarGet(ScriptReadHalfword(ctx)); + u32 useTemplate = gSpecialVar_0x8001; + u32 objectId; + struct ObjectEvent* objEvent; + + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; + + if (useTemplate) + { + const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); + *x = objTemplate->x; + *y = objTemplate->y; + return; + } + + objectId = GetObjectEventIdByLocalId(localId); + objEvent = &gObjectEvents[objectId]; + *x = objEvent->currentCoords.x - 7; + *y = objEvent->currentCoords.y - 7; +} + From be7938f32221247547b4da30eb396fc999e1a69b Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 18:55:11 -0700 Subject: [PATCH 047/278] Changed CheckObjectAtXY to callnative --- asm/macros/event.inc | 9 +++++---- data/specials.inc | 1 - src/field_specials.c | 21 --------------------- src/scrcmd.c | 27 ++++++++++++++++++++++++--- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index b2a2d46159..a4f22f817a 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2365,10 +2365,11 @@ .endm @ checks if there is any object at a given position - .macro checkobjectat x:req, y:req - setorcopyvar VAR_0x8005, \x - setorcopyvar VAR_0x8006, \y - specialvar VAR_RESULT, CheckObjectAtXY + .macro checkobjectat x:req, y:req, dest = VAR_RESULT + callnative CheckObjectAtXY + .2byte \x + .2byte \y + .2byte \dest .endm @ Checks the state of the Pokédex Seen flag of the specified Pokemon diff --git a/data/specials.inc b/data/specials.inc index 3232dca7af..91fed72d78 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,7 +554,6 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs - def_special CheckObjectAtXY def_special Script_GetSetPokedexFlag def_special CheckPartyHasSpecie def_special CheckChosenMonMatchDesiredSpecie diff --git a/src/field_specials.c b/src/field_specials.c index 3c27ade570..0f1854b3b5 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,27 +4278,6 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -bool32 CheckObjectAtXY(void) -{ - u32 x = gSpecialVar_0x8005 + 7; - u32 y = gSpecialVar_0x8006 + 7; - u32 i; - - for (i = 0; i < OBJECT_EVENTS_COUNT; i++) - { - if (!gObjectEvents[i].active) - continue; - - if (gObjectEvents[i].currentCoords.x != x) - continue; - - if (gObjectEvents[i].currentCoords.y != y) - continue; - return TRUE; - } - return FALSE; -} - bool32 Script_GetSetPokedexFlag(void) { u32 speciesId = SpeciesToNationalPokedexNum(gSpecialVar_0x8005); diff --git a/src/scrcmd.c b/src/scrcmd.c index 7bcedb89bb..d68e2dbd86 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2485,12 +2485,12 @@ void RemoveAllItem(struct ScriptContext *ctx) void GetObjectPosition(struct ScriptContext *ctx) { u32 localId = VarGet(ScriptReadHalfword(ctx)); - u32 useTemplate = gSpecialVar_0x8001; + u32 useTemplate = VarGet(ScriptReadHalfword(ctx)); + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; u32 objectId; struct ObjectEvent* objEvent; - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; if (useTemplate) { @@ -2506,3 +2506,24 @@ void GetObjectPosition(struct ScriptContext *ctx) *y = objEvent->currentCoords.y - 7; } +bool32 CheckObjectAtXY(struct ScriptContext *ctx) +{ + u32 x = VarGet(ScriptReadHalfword(ctx)) + 7; + u32 y = VarGet(ScriptReadHalfword(ctx)) + 7; + u32 i; + + for (i = 0; i < OBJECT_EVENTS_COUNT; i++) + { + if (!gObjectEvents[i].active) + continue; + + if (gObjectEvents[i].currentCoords.x != x) + continue; + + if (gObjectEvents[i].currentCoords.y != y) + continue; + return TRUE; + } + return FALSE; +} + From c2db77c4f603f4053c4b08606c32b6a03203dba6 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 20:15:55 -0700 Subject: [PATCH 048/278] Changed Script_GetSetPokedexFlag to callnative --- asm/macros/event.inc | 24 ++++++++++++------------ data/specials.inc | 1 - src/field_specials.c | 11 ----------- src/scrcmd.c | 12 ++++++++++++ 4 files changed, 24 insertions(+), 24 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index a4f22f817a..b826b4c556 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2375,31 +2375,31 @@ @ Checks the state of the Pokédex Seen flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getseenmon species:req - setvar VAR_0x8005, \species - setvar VAR_0x8006, FLAG_GET_SEEN - specialvar VAR_RESULT, Script_GetSetPokedexFlag + callnative Script_GetSetPokedexFlag + .2byte \species + .2byte FLAG_GET_SEEN .endm @ Checks the state of the Pokédex Caught flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getcaughtmon species:req - setvar VAR_0x8005, \species - setvar VAR_0x8006, FLAG_GET_CAUGHT - specialvar VAR_RESULT, Script_GetSetPokedexFlag + callnative Script_GetSetPokedexFlag + .2byte \species + .2byte FLAG_GET_CAUGHT .endm @ Sets the Pokédex Seen flag of the specified Pokemon .macro setseenmon species:req - setvar VAR_0x8005, \species - setvar VAR_0x8006, FLAG_SET_SEEN - specialvar VAR_RESULT, Script_GetSetPokedexFlag + callnative Script_GetSetPokedexFlag + .2byte \species + .2byte FLAG_SET_SEEN .endm @ Sets the Pokédex Caught flag of the specified Pokemon .macro setcaughtmon species:req - setvar VAR_0x8005, \species - setvar VAR_0x8006, FLAG_SET_CAUGHT - specialvar VAR_RESULT, Script_GetSetPokedexFlag + callnative Script_GetSetPokedexFlag + .2byte \species + .2byte FLAG_SET_CAUGHT .endm @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. diff --git a/data/specials.inc b/data/specials.inc index 91fed72d78..e6a8860096 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,7 +554,6 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs - def_special Script_GetSetPokedexFlag def_special CheckPartyHasSpecie def_special CheckChosenMonMatchDesiredSpecie def_special Script_GetObjectFacingDirection diff --git a/src/field_specials.c b/src/field_specials.c index 0f1854b3b5..57bd0158a6 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,17 +4278,6 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -bool32 Script_GetSetPokedexFlag(void) -{ - u32 speciesId = SpeciesToNationalPokedexNum(gSpecialVar_0x8005); - bool32 desiredFlag = gSpecialVar_0x8006; - - if (desiredFlag == FLAG_SET_CAUGHT) - GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); - - return GetSetPokedexFlag(speciesId,desiredFlag); -} - bool32 CheckPartyHasSpecie(void) { u32 partyIndex; diff --git a/src/scrcmd.c b/src/scrcmd.c index d68e2dbd86..f087d2d290 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -53,6 +53,7 @@ #include "list_menu.h" #include "malloc.h" #include "constants/event_objects.h" +#include "pokedex.h" typedef u16 (*SpecialFunc)(void); typedef void (*NativeFunc)(struct ScriptContext *ctx); @@ -2527,3 +2528,14 @@ bool32 CheckObjectAtXY(struct ScriptContext *ctx) return FALSE; } +void Script_GetSetPokedexFlag(struct ScriptContext *ctx) +{ + u32 speciesId = SpeciesToNationalPokedexNum(VarGet(ScriptReadHalfword(ctx))); + bool32 desiredFlag = VarGet(ScriptReadHalfword(ctx)); + + if (desiredFlag == FLAG_SET_CAUGHT) + GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); + + gSpecialVar_Result = GetSetPokedexFlag(speciesId,desiredFlag); +} + From ecd435cd84be9b986f60d00655b96b2b2c2d93bc Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 20:45:14 -0700 Subject: [PATCH 049/278] Changed CheckChosenMOnMatchDesiredSpecies and CheckPartyHasSpecies to callnative --- asm/macros/event.inc | 7 ++++--- data/specials.inc | 2 -- src/field_specials.c | 16 ---------------- src/scrcmd.c | 21 +++++++++++++++++++++ 4 files changed, 25 insertions(+), 21 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index b826b4c556..67b5e9b634 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2404,13 +2404,14 @@ @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. .macro checkspecies speciesId:req, mode=NO_PARTY_SCREEN - setvar VAR_0x8005, \speciesId .if \mode == OPEN_PARTY_SCREEN special ChoosePartyMon waitstate - specialvar VAR_RESULT, CheckChosenMonMatchDesiredSpecie + callnative CheckChosenMonMatchDesiredSpecie + .2byte \speciesId .else - specialvar VAR_RESULT, CheckPartyHasSpecie + callnative CheckPartyHasSpecie + .2byte \speciesId .endif .endm diff --git a/data/specials.inc b/data/specials.inc index e6a8860096..8233deda59 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,6 +554,4 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs - def_special CheckPartyHasSpecie - def_special CheckChosenMonMatchDesiredSpecie def_special Script_GetObjectFacingDirection diff --git a/src/field_specials.c b/src/field_specials.c index 57bd0158a6..982d7a2924 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,19 +4278,3 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -bool32 CheckPartyHasSpecie(void) -{ - u32 partyIndex; - - for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) - if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == gSpecialVar_0x8005) - return TRUE; - - return FALSE; -} - -bool32 CheckChosenMonMatchDesiredSpecie(void) -{ - return (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == gSpecialVar_0x8005); -} - diff --git a/src/scrcmd.c b/src/scrcmd.c index f087d2d290..345d3b8bef 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2539,3 +2539,24 @@ void Script_GetSetPokedexFlag(struct ScriptContext *ctx) gSpecialVar_Result = GetSetPokedexFlag(speciesId,desiredFlag); } +void CheckPartyHasSpecie(struct ScriptContext *ctx) +{ + u32 partyIndex; + u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); + u32 hasSpecies = FALSE; + + for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) + if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == givenSpecies) + hasSpecies = TRUE; + + gSpecialVar_Result = hasSpecies; +} + +void CheckChosenMonMatchDesiredSpecie(struct ScriptContext *ctx) +{ + u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); + + gSpecialVar_Result = (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == givenSpecies); +} + + From 510af1bee6746ddf99bafa732b61da7193ec23a2 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 12 Sep 2024 20:55:37 -0700 Subject: [PATCH 050/278] Restored original functions and made script versions --- asm/macros/event.inc | 20 +++++++-------- include/field_specials.h | 3 +++ src/field_specials.c | 52 +++++++++++++++++++++++++++++++++++++ src/scrcmd.c | 55 ++++++---------------------------------- 4 files changed, 73 insertions(+), 57 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 67b5e9b634..73d0d07526 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2347,26 +2347,26 @@ @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will takje the object's template position. .macro getobjectxy localId:req, posType:req - callnative GetObjectPosition + callnative Script_GetObjectPosition .2byte \localId .2byte \posType .endm .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION - callnative GetObjectPosition + callnative Script_GetObjectPosition .2byte \localId .2byte \posType .endm .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION - callnative GetObjectPosition + callnative Script_GetObjectPosition .2byte \localId .2byte \posType .endm @ checks if there is any object at a given position .macro checkobjectat x:req, y:req, dest = VAR_RESULT - callnative CheckObjectAtXY + callnative Script_CheckObjectAtXY .2byte \x .2byte \y .2byte \dest @@ -2375,7 +2375,7 @@ @ Checks the state of the Pokédex Seen flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getseenmon species:req - callnative Script_GetSetPokedexFlag + callnative Script_Script_GetSetPokedexFlag .2byte \species .2byte FLAG_GET_SEEN .endm @@ -2383,21 +2383,21 @@ @ Checks the state of the Pokédex Caught flag of the specified Pokemon @ The result is stored in VAR_RESULT .macro getcaughtmon species:req - callnative Script_GetSetPokedexFlag + callnative Script_Script_GetSetPokedexFlag .2byte \species .2byte FLAG_GET_CAUGHT .endm @ Sets the Pokédex Seen flag of the specified Pokemon .macro setseenmon species:req - callnative Script_GetSetPokedexFlag + callnative Script_Script_GetSetPokedexFlag .2byte \species .2byte FLAG_SET_SEEN .endm @ Sets the Pokédex Caught flag of the specified Pokemon .macro setcaughtmon species:req - callnative Script_GetSetPokedexFlag + callnative Script_Script_GetSetPokedexFlag .2byte \species .2byte FLAG_SET_CAUGHT .endm @@ -2407,10 +2407,10 @@ .if \mode == OPEN_PARTY_SCREEN special ChoosePartyMon waitstate - callnative CheckChosenMonMatchDesiredSpecie + callnative Script_CheckChosenMonMatchDesiredSpecie .2byte \speciesId .else - callnative CheckPartyHasSpecie + callnative Script_CheckPartyHasSpecie .2byte \speciesId .endif .endm diff --git a/include/field_specials.h b/include/field_specials.h index 95a91d543f..85db5ba40f 100644 --- a/include/field_specials.h +++ b/include/field_specials.h @@ -33,5 +33,8 @@ void ResetFanClub(void); bool8 ShouldShowBoxWasFullMessage(void); void SetPCBoxToSendMon(u8 boxId); void PreparePartyForSkyBattle(void); +void GetObjectPosition(u32, u32); +bool32 CheckObjectAtXY(u32, u32); +bool32 CheckPartyHasSpecie(u32); #endif // GUARD_FIELD_SPECIALS_H diff --git a/src/field_specials.c b/src/field_specials.c index 982d7a2924..94a98812b1 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,3 +4278,55 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } +void GetObjectPosition(u32 localId, u32 useTemplate) +{ + u32 objectId; + struct ObjectEvent* objEvent; + + u16 *x = &gSpecialVar_0x8007; + u16 *y = &gSpecialVar_0x8008; + + if (useTemplate) + { + const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); + *x = objTemplate->x; + *y = objTemplate->y; + return; + } + + objectId = GetObjectEventIdByLocalId(localId); + objEvent = &gObjectEvents[objectId]; + *x = objEvent->currentCoords.x - 7; + *y = objEvent->currentCoords.y - 7; +} + +bool32 CheckObjectAtXY(u32 x, u32 y) +{ + u32 i; + + for (i = 0; i < OBJECT_EVENTS_COUNT; i++) + { + if (!gObjectEvents[i].active) + continue; + + if (gObjectEvents[i].currentCoords.x != x) + continue; + + if (gObjectEvents[i].currentCoords.y != y) + continue; + return TRUE; + } + return FALSE; +} + +bool32 CheckPartyHasSpecie(u32 givenSpecies) +{ + u32 partyIndex; + + for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) + if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == givenSpecies) + return TRUE; + + return FALSE; +} + diff --git a/src/scrcmd.c b/src/scrcmd.c index 345d3b8bef..974b223f26 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2483,79 +2483,40 @@ void RemoveAllItem(struct ScriptContext *ctx) RemoveBagItem(itemId, count); } -void GetObjectPosition(struct ScriptContext *ctx) +void Script_GetObjectPosition(struct ScriptContext *ctx) { u32 localId = VarGet(ScriptReadHalfword(ctx)); u32 useTemplate = VarGet(ScriptReadHalfword(ctx)); - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; - u32 objectId; - struct ObjectEvent* objEvent; - - if (useTemplate) - { - const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); - *x = objTemplate->x; - *y = objTemplate->y; - return; - } - - objectId = GetObjectEventIdByLocalId(localId); - objEvent = &gObjectEvents[objectId]; - *x = objEvent->currentCoords.x - 7; - *y = objEvent->currentCoords.y - 7; + GetObjectPosition(localId,useTemplate); } -bool32 CheckObjectAtXY(struct ScriptContext *ctx) +void Script_CheckObjectAtXY(struct ScriptContext *ctx) { u32 x = VarGet(ScriptReadHalfword(ctx)) + 7; u32 y = VarGet(ScriptReadHalfword(ctx)) + 7; - u32 i; - - for (i = 0; i < OBJECT_EVENTS_COUNT; i++) - { - if (!gObjectEvents[i].active) - continue; - - if (gObjectEvents[i].currentCoords.x != x) - continue; - - if (gObjectEvents[i].currentCoords.y != y) - continue; - return TRUE; - } - return FALSE; + gSpecialVar_Result = CheckObjectAtXY(x,y); } void Script_GetSetPokedexFlag(struct ScriptContext *ctx) { u32 speciesId = SpeciesToNationalPokedexNum(VarGet(ScriptReadHalfword(ctx))); bool32 desiredFlag = VarGet(ScriptReadHalfword(ctx)); + gSpecialVar_Result = GetSetPokedexFlag(speciesId,desiredFlag); if (desiredFlag == FLAG_SET_CAUGHT) GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); - - gSpecialVar_Result = GetSetPokedexFlag(speciesId,desiredFlag); } -void CheckPartyHasSpecie(struct ScriptContext *ctx) +void Script_CheckPartyHasSpecie(struct ScriptContext *ctx) { - u32 partyIndex; u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); - u32 hasSpecies = FALSE; - - for (partyIndex = 0; partyIndex < CalculatePlayerPartyCount(); partyIndex++) - if (GetMonData(&gPlayerParty[partyIndex], MON_DATA_SPECIES) == givenSpecies) - hasSpecies = TRUE; - - gSpecialVar_Result = hasSpecies; + gSpecialVar_Result = CheckPartyHasSpecie(givenSpecies); } -void CheckChosenMonMatchDesiredSpecie(struct ScriptContext *ctx) +void Script_CheckChosenMonMatchDesiredSpecie(struct ScriptContext *ctx) { u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == givenSpecies); } From 5ea1f39a9dde753c5787d211c97963037daadfa5 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 13 Sep 2024 14:27:40 -0300 Subject: [PATCH 051/278] Rebuild of makefile 5: trainerproc --- Makefile | 24 +++++++++++++++--------- make_tools.mk | 2 +- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 2b87d61e08..dde15c644a 100644 --- a/Makefile +++ b/Makefile @@ -155,15 +155,16 @@ endif AUTO_GEN_TARGETS := include make_tools.mk # Tool executables -GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) -AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) -MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) -SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) -PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) -RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) -FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) -MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) -JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) +GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) +AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) +MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) +SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) +PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) +RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) +FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) +MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) +JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) +TRAINERPROC := $(TOOLS_DIR)/trainerproc/trainerproc$(EXE) PERL := perl SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c @@ -305,6 +306,11 @@ generated: tools $(AUTO_GEN_TARGETS) clean-generated: -rm -f $(AUTO_GEN_TARGETS) +COMPETITIVE_PARTY_SYNTAX := $(shell PATH="$(PATH)"; echo 'COMPETITIVE_PARTY_SYNTAX' | $(CPP) $(CPPFLAGS) -imacros include/gba/defines.h -imacros include/config/general.h | tail -n1) +ifeq ($(COMPETITIVE_PARTY_SYNTAX),1) +%.h: %.party tools ; $(CPP) $(CPPFLAGS) -traditional-cpp - < $< | $(TRAINERPROC) -o $@ -i $< - +endif + ifeq ($(MODERN),0) $(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) $(C_BUILDDIR)/libc.o: CFLAGS := -O2 diff --git a/make_tools.mk b/make_tools.mk index 4a6a929a86..df9696f518 100644 --- a/make_tools.mk +++ b/make_tools.mk @@ -5,7 +5,7 @@ MAKEFLAGS += --no-print-directory # Inclusive list. If you don't want a tool to be built, don't add it here. TOOLS_DIR := tools -TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc +TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc trainerproc TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%) From bee1452c8e7d8b23667b4bc06a8200277ec6817d Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 13 Sep 2024 14:38:43 -0300 Subject: [PATCH 052/278] Rebuild of makefile 6: File-specific stuff --- Makefile | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index dde15c644a..6db6c62428 100644 --- a/Makefile +++ b/Makefile @@ -262,7 +262,7 @@ clean: tidy clean-tools clean-generated clean-assets clean-assets: rm -f $(MID_SUBDIR)/*.s rm -f $(DATA_ASM_SUBDIR)/layouts/layouts.inc $(DATA_ASM_SUBDIR)/layouts/layouts_table.inc - rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc + rm -f $(DATA_ASM_SUBDIR)/maps/connections.inc $(DATA_ASM_SUBDIR)/maps/events.inc $(DATA_ASM_SUBDIR)/maps/groups.inc $(DATA_ASM_SUBDIR)/maps/headers.inc $(DATA_SRC_SUBDIR)/map_group_count.h find sound -iname '*.bin' -exec rm {} + find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} + @@ -298,6 +298,7 @@ generated: $(AUTO_GEN_TARGETS) %.gbapal: %.png ; $(GFX) $< $@ %.lz: % ; $(GFX) $< $@ %.rl: % ; $(GFX) $< $@ +$(CRY_SUBDIR)/uncomp_%.bin: $(CRY_SUBDIR)/uncomp_%.aif ; $(AIF) $< $@ $(CRY_SUBDIR)/%.bin: $(CRY_SUBDIR)/%.aif ; $(AIF) $< $@ --compress sound/%.bin: sound/%.aif ; $(AIF) $< $@ @@ -325,6 +326,9 @@ $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet else $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast $(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member +$(C_BUILDDIR)/pokedex_plus_hgss.o: CFLAGS := -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init +# Annoyingly we can't turn this on just for src/data/trainers.h +$(C_BUILDDIR)/data.o: CFLAGS += -fno-show-column -fno-diagnostics-show-caret endif # Dependency rules (for the *.c & *.s sources to .o files) @@ -417,6 +421,14 @@ $(OBJ_DIR)/sym_ewram.ld: sym_ewram.txt $(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(DATA_ASM_BUILDDIR)/event_scripts.o python3 $(TOOLS_DIR)/learnset_helpers/teachable.py +# NOTE: Based on C_DEP above, but without NODEP and KEEP_TEMPS handling. +define TEST_DEP +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) + @echo "$$(CC1) -o $$@ $$<" + @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - +endef +$(foreach src, $(TEST_SRCS), $(eval $(call TEST_DEP,$(patsubst $(TEST_SUBDIR)/%.c,$(TEST_BUILDDIR)/%.o,$(src)),$(src),$(patsubst $(TEST_SUBDIR)/%.c,%,$(src))))) + # Linker script ifeq ($(MODERN),0) LD_SCRIPT := ld_script.ld From 5954d662a5762d73b073731aa1d46feab2481c5c Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 13 Sep 2024 15:26:42 -0300 Subject: [PATCH 053/278] Rebuild of makefile 7: Test Runner --- Makefile | 89 +++++++++++++++++++++++++++++++++++++++++---------- make_tools.mk | 12 ++++++- 2 files changed, 83 insertions(+), 18 deletions(-) diff --git a/Makefile b/Makefile index 6db6c62428..71b98016a3 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,9 @@ endif ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 endif +ifeq (check,$(MAKECMDGOALS)) + TEST := 1 +endif # Default make rule all: rom @@ -73,21 +76,36 @@ endif ROM_NAME := $(FILE_NAME)_agbcc.gba OBJ_DIR_NAME := $(BUILD_DIR)/emerald +OBJ_DIR_NAME_TEST := $(BUILD_DIR)/test MODERN_ROM_NAME := $(FILE_NAME).gba MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern +MODERN_OBJ_DIR_NAME_TEST := $(BUILD_DIR)/modern-test ELF_NAME := $(ROM_NAME:.gba=.elf) MAP_NAME := $(ROM_NAME:.gba=.map) MODERN_ELF_NAME := $(MODERN_ROM_NAME:.gba=.elf) MODERN_MAP_NAME := $(MODERN_ROM_NAME:.gba=.map) +TESTELF = $(ROM_NAME:.gba=-test.elf) +HEADLESSELF = $(ROM_NAME:.gba=-test-headless.elf) # Pick our active variables ifeq ($(MODERN),0) ROM := $(ROM_NAME) - OBJ_DIR := $(OBJ_DIR_NAME) + ifeq ($(TEST), 0) + OBJ_DIR := $(OBJ_DIR_NAME) + else + OBJ_DIR := $(OBJ_DIR_NAME_TEST) + endif else ROM := $(MODERN_ROM_NAME) - OBJ_DIR := $(MODERN_OBJ_DIR_NAME) + ifeq ($(TEST), 0) + OBJ_DIR := $(MODERN_OBJ_DIR_NAME) + else + OBJ_DIR := $(MODERN_OBJ_DIR_NAME_TEST) + endif +endif +ifeq ($(TESTELF),$(MAKECMDGOALS)) + TEST := 1 endif ELF := $(ROM:.gba=.elf) MAP := $(ROM:.gba=.map) @@ -103,6 +121,7 @@ SONG_SUBDIR = sound/songs MID_SUBDIR = sound/songs/midi SAMPLE_SUBDIR = sound/direct_sound_samples CRY_SUBDIR = sound/direct_sound_samples/cries +TEST_SUBDIR = test C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR) GFLIB_BUILDDIR = $(OBJ_DIR)/$(GFLIB_SUBDIR) @@ -110,6 +129,7 @@ ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR) DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR) SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR) MID_BUILDDIR = $(OBJ_DIR)/$(MID_SUBDIR) +TEST_BUILDDIR = $(OBJ_DIR)/$(TEST_SUBDIR) SHELL := bash -o pipefail @@ -155,16 +175,19 @@ endif AUTO_GEN_TARGETS := include make_tools.mk # Tool executables -GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) -AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) -MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) -SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) -PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) -RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) -FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) -MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) -JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) -TRAINERPROC := $(TOOLS_DIR)/trainerproc/trainerproc$(EXE) +GFX := $(TOOLS_DIR)/gbagfx/gbagfx$(EXE) +AIF := $(TOOLS_DIR)/aif2pcm/aif2pcm$(EXE) +MID := $(TOOLS_DIR)/mid2agb/mid2agb$(EXE) +SCANINC := $(TOOLS_DIR)/scaninc/scaninc$(EXE) +PREPROC := $(TOOLS_DIR)/preproc/preproc$(EXE) +RAMSCRGEN := $(TOOLS_DIR)/ramscrgen/ramscrgen$(EXE) +FIX := $(TOOLS_DIR)/gbafix/gbafix$(EXE) +MAPJSON := $(TOOLS_DIR)/mapjson/mapjson$(EXE) +JSONPROC := $(TOOLS_DIR)/jsonproc/jsonproc$(EXE) +TRAINERPROC := $(TOOLS_DIR)/trainerproc/trainerproc$(EXE) +PATCHELF := $(TOOLS_DIR)/patchelf/patchelf$(EXE) +ROMTEST ?= $(shell { command -v mgba-rom-test || command -v $(TOOLS_DIR)/mgba/mgba-rom-test$(EXE); } 2>/dev/null) +ROMTESTHYDRA := $(TOOLS_DIR)/mgba-rom-test-hydra/mgba-rom-test-hydra$(EXE) PERL := perl SHA1 := $(shell { command -v sha1sum || command -v shasum; } 2>/dev/null) -c @@ -180,8 +203,8 @@ MAKEFLAGS += --no-print-directory # Secondary expansion is required for dependency variables in object rules. .SECONDEXPANSION: -RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern generated clean-generated -.PHONY: all rom agbcc modern compare +RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern tidycheck generated clean-generated $(TESTELF) +.PHONY: all rom agbcc modern compare check .PHONY: $(RULES_NO_SCAN) infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) @@ -211,6 +234,11 @@ C_SRCS_IN := $(wildcard $(C_SUBDIR)/*.c $(C_SUBDIR)/*/*.c $(C_SUBDIR)/*/*/*.c) C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src))) C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) +TEST_SRCS_IN := $(wildcard $(TEST_SUBDIR)/*.c $(TEST_SUBDIR)/*/*.c $(TEST_SUBDIR)/*/*/*.c) +TEST_SRCS := $(foreach src,$(TEST_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src))) +TEST_OBJS := $(patsubst $(TEST_SUBDIR)/%.c,$(TEST_BUILDDIR)/%.o,$(TEST_SRCS)) +TEST_OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(TEST_OBJS)) + GFLIB_SRCS := $(wildcard $(GFLIB_SUBDIR)/*.c) GFLIB_OBJS := $(patsubst $(GFLIB_SUBDIR)/%.c,$(GFLIB_BUILDDIR)/%.o,$(GFLIB_SRCS)) @@ -235,7 +263,7 @@ MID_OBJS := $(patsubst $(MID_SUBDIR)/%.mid,$(MID_BUILDDIR)/%.o,$(MID_SRCS)) OBJS := $(C_OBJS) $(GFLIB_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS) OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS)) -SUBDIRS := $(sort $(dir $(OBJS))) +SUBDIRS := $(sort $(dir $(OBJS) $(dir $(TEST_OBJS)))) $(shell mkdir -p $(SUBDIRS)) # Pretend rules that are actually flags defer to `make all` @@ -248,6 +276,28 @@ agbcc: @echo "Search for 'agbcc: all' in Makefile to reenable agbcc." @exit 1 +LD_SCRIPT_TEST := ld_script_test.ld + +$(OBJ_DIR)/ld_script_test.ld: $(LD_SCRIPT_TEST) $(LD_SCRIPT_DEPS) + cd $(OBJ_DIR) && sed "s#tools/#../../tools/#g" ../../$(LD_SCRIPT_TEST) > ld_script_test.ld + +$(TESTELF): $(OBJ_DIR)/ld_script_test.ld $(OBJS) $(TEST_OBJS) libagbsyscall tools check-tools + @echo "cd $(OBJ_DIR) && $(LD) -T ld_script_test.ld -o ../../$@ " + @cd $(OBJ_DIR) && $(LD) $(TESTLDFLAGS) -T ld_script_test.ld -o ../../$@ $(OBJS_REL) $(TEST_OBJS_REL) $(LIB) + $(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) -d0 --silent + $(PATCHELF) $(TESTELF) gTestRunnerArgv "$(TESTS)\0" + +ifeq ($(GITHUB_REPOSITORY_OWNER),rh-hideout) +TEST_SKIP_IS_FAIL := \x01 +else +TEST_SKIP_IS_FAIL := \x00 +endif + +check: $(TESTELF) + @cp $< $(HEADLESSELF) + $(PATCHELF) $(HEADLESSELF) gTestRunnerHeadless '\x01' gTestRunnerSkipIsFail "$(TEST_SKIP_IS_FAIL)" + $(ROMTESTHYDRA) $(ROMTEST) $(OBJCOPY) $(HEADLESSELF) + # Other rules rom: $(ROM) ifeq ($(COMPARE),1) @@ -256,7 +306,7 @@ endif syms: $(SYM) -clean: tidy clean-tools clean-generated clean-assets +clean: tidy clean-tools clean-check-tools clean-generated clean-assets @$(MAKE) clean -C libagbsyscall clean-assets: @@ -267,7 +317,7 @@ clean-assets: find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} + -tidy: tidynonmodern tidymodern +tidy: tidynonmodern tidymodern tidycheck tidynonmodern: rm -f $(ROM_NAME) $(ELF_NAME) $(MAP_NAME) @@ -277,6 +327,11 @@ tidymodern: rm -f $(MODERN_ROM_NAME) $(MODERN_ELF_NAME) $(MODERN_MAP_NAME) rm -rf $(MODERN_OBJ_DIR_NAME) +tidycheck: + rm -f $(TESTELF) $(HEADLESSELF) + rm -rf $(MODERN_OBJ_DIR_NAME_TEST) + rm -rf $(OBJ_DIR_NAME_TEST) + # Other rules include graphics_file_rules.mk include map_data_rules.mk diff --git a/make_tools.mk b/make_tools.mk index df9696f518..75ebc05c96 100644 --- a/make_tools.mk +++ b/make_tools.mk @@ -6,17 +6,27 @@ MAKEFLAGS += --no-print-directory # Inclusive list. If you don't want a tool to be built, don't add it here. TOOLS_DIR := tools TOOL_NAMES := aif2pcm bin2c gbafix gbagfx jsonproc mapjson mid2agb preproc ramscrgen rsfont scaninc trainerproc +CHECK_TOOL_NAMES = patchelf mgba-rom-test-hydra TOOLDIRS := $(TOOL_NAMES:%=$(TOOLS_DIR)/%) +CHECKTOOLDIRS := $(CHECK_TOOL_NAMES:%=$(TOOLS_DIR)/%) # Tool making doesnt require a pokeemerald dependency scan. -RULES_NO_SCAN += tools check-tools clean-tools $(TOOLDIRS) +RULES_NO_SCAN += tools check-tools clean-tools clean-check-tools $(TOOLDIRS) $(CHECKTOOLDIRS) .PHONY: $(RULES_NO_SCAN) tools: $(TOOLDIRS) +check-tools: $(CHECKTOOLDIRS) + $(TOOLDIRS): @$(MAKE) -C $@ +$(CHECKTOOLDIRS): + @$(MAKE) -C $@ + clean-tools: @$(foreach tooldir,$(TOOLDIRS),$(MAKE) clean -C $(tooldir);) + +clean-check-tools: + @$(foreach tooldir,$(CHECKTOOLDIRS),$(MAKE) clean -C $(tooldir);) From b8c71fa84d7d590006b94b0b5b46aa9a74cf2f41 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 13 Sep 2024 23:38:50 -0400 Subject: [PATCH 054/278] Fix .d files not updating if .o fails, fix clean rule, remove some unnecessary warnings --- Makefile | 31 ++++++++++++++----------------- tools/mapjson/json11.cpp | 17 ++++++++--------- 2 files changed, 22 insertions(+), 26 deletions(-) diff --git a/Makefile b/Makefile index ce868f06bd..48350147a4 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ GAME_CODE := BPEE MAKER_CODE := 01 REVISION := 0 MODERN ?= 0 +KEEP_TEMPS ?= 0 # `File name`.gba ('_modern' will be appended to the modern builds) FILE_NAME := pokeemerald @@ -261,18 +262,18 @@ include audio_rules.mk generated: $(AUTO_GEN_TARGETS) -%.s: ; +%.s: ; %.png: ; %.pal: ; %.aif: ; -%.1bpp: %.png ; $(GFX) $< $@ -%.4bpp: %.png ; $(GFX) $< $@ -%.8bpp: %.png ; $(GFX) $< $@ -%.gbapal: %.pal ; $(GFX) $< $@ -%.gbapal: %.png ; $(GFX) $< $@ -%.lz: % ; $(GFX) $< $@ -%.rl: % ; $(GFX) $< $@ +%.1bpp: %.png ; $(GFX) $< $@ +%.4bpp: %.png ; $(GFX) $< $@ +%.8bpp: %.png ; $(GFX) $< $@ +%.gbapal: %.pal ; $(GFX) $< $@ +%.gbapal: %.png ; $(GFX) $< $@ +%.lz: % ; $(GFX) $< $@ +%.rl: % ; $(GFX) $< $@ # NOTE: Tools must have been built prior (FIXME) generated: tools $(AUTO_GEN_TARGETS) @@ -310,7 +311,7 @@ endef # $1: Output file without extension, $2 input file, $3 temp path (if keeping) define C_DEP_IMPL $1.o: $2 -ifeq (,$(KEEP_TEMPS)) +ifneq ($(KEEP_TEMPS),1) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - else @@ -319,15 +320,11 @@ else @echo -e ".text\n\t.align\t2, 0\n" >> $3.s $$(AS) $$(ASFLAGS) -o $$@ $3.s endif -$(call C_SCANINC,$1,$2) -endef -# Calls SCANINC to find dependencies -define C_SCANINC -ifneq ($(NODEP),1) -$1.o: $1.d $1.d: $2 $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include -I gflib $2 -include $1.d +ifneq ($(NODEP),1) +$1.o: $1.d +-include $1.d endif endef @@ -359,7 +356,7 @@ ifneq ($(NODEP),1) $1.o: $1.d $1.d: $2 $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I "" $2 -include $1.d +-include $1.d endif endef diff --git a/tools/mapjson/json11.cpp b/tools/mapjson/json11.cpp index 1da530206b..3ac5f392a0 100644 --- a/tools/mapjson/json11.cpp +++ b/tools/mapjson/json11.cpp @@ -33,7 +33,6 @@ using std::vector; using std::map; using std::make_shared; using std::initializer_list; -using std::move; /* Helper for representing null - just a do-nothing struct, plus comparison * operators so the helpers in JsonValue work. We can't use nullptr_t because @@ -149,7 +148,7 @@ protected: // Constructors explicit Value(const T &value) : m_value(value) {} - explicit Value(T &&value) : m_value(move(value)) {} + explicit Value(T &&value) : m_value(std::move(value)) {} // Get type tag Json::Type type() const override { @@ -196,7 +195,7 @@ class JsonString final : public Value { const string &string_value() const override { return m_value; } public: explicit JsonString(const string &value) : Value(value) {} - explicit JsonString(string &&value) : Value(move(value)) {} + explicit JsonString(string &&value) : Value(std::move(value)) {} }; class JsonArray final : public Value { @@ -204,7 +203,7 @@ class JsonArray final : public Value { const Json & operator[](size_t i) const override; public: explicit JsonArray(const Json::array &value) : Value(value) {} - explicit JsonArray(Json::array &&value) : Value(move(value)) {} + explicit JsonArray(Json::array &&value) : Value(std::move(value)) {} }; class JsonObject final : public Value { @@ -212,7 +211,7 @@ class JsonObject final : public Value { const Json & operator[](const string &key) const override; public: explicit JsonObject(const Json::object &value) : Value(value) {} - explicit JsonObject(Json::object &&value) : Value(move(value)) {} + explicit JsonObject(Json::object &&value) : Value(std::move(value)) {} }; class JsonNull final : public Value { @@ -254,12 +253,12 @@ Json::Json(double value) : m_ptr(make_shared(value)) { Json::Json(int value) : m_ptr(make_shared(value)) {} Json::Json(bool value) : m_ptr(value ? statics().t : statics().f) {} Json::Json(const string &value) : m_ptr(make_shared(value)) {} -Json::Json(string &&value) : m_ptr(make_shared(move(value))) {} +Json::Json(string &&value) : m_ptr(make_shared(std::move(value))) {} Json::Json(const char * value) : m_ptr(make_shared(value)) {} Json::Json(const Json::array &values) : m_ptr(make_shared(values)) {} -Json::Json(Json::array &&values) : m_ptr(make_shared(move(values))) {} +Json::Json(Json::array &&values) : m_ptr(make_shared(std::move(values))) {} Json::Json(const Json::object &values) : m_ptr(make_shared(values)) {} -Json::Json(Json::object &&values) : m_ptr(make_shared(move(values))) {} +Json::Json(Json::object &&values) : m_ptr(make_shared(std::move(values))) {} /* * * * * * * * * * * * * * * * * * * * * Accessors @@ -357,7 +356,7 @@ struct JsonParser final { * Mark this parse as failed. */ Json fail(string &&msg) { - return fail(move(msg), Json()); + return fail(std::move(msg), Json()); } template From 302193a814ffcf12fa2a5c394ce2ce85e6c49250 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 13 Sep 2024 23:40:00 -0400 Subject: [PATCH 055/278] Have scaninc ignore non-existing files --- tools/scaninc/scaninc.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/scaninc/scaninc.cpp b/tools/scaninc/scaninc.cpp index f5ee7ad6de..c1b7987a5a 100644 --- a/tools/scaninc/scaninc.cpp +++ b/tools/scaninc/scaninc.cpp @@ -125,7 +125,12 @@ int main(int argc, char **argv) if (!exists && (file.FileType() == SourceFileType::Asm || file.FileType() == SourceFileType::Inc)) { path = include; + if (CanOpenFile(path)) + exists = true; } + if (!exists) + continue; + dependencies_includes.insert(path); bool inserted = dependencies.insert(path).second; if (inserted && exists) From a509f28038663b63eaaec88ba665695833db54e9 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 14 Sep 2024 06:32:47 -0700 Subject: [PATCH 056/278] Changed Scripot_GetObjectFacingDirection to callnative --- asm/macros/event.inc | 11 +++++++++-- data/specials.inc | 1 - src/event_object_movement.c | 5 ----- src/scrcmd.c | 6 ++++++ 4 files changed, 15 insertions(+), 8 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 73d0d07526..9a99ae3756 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2421,6 +2421,13 @@ @ Gets the facing direction of a given event object and stores it in the variable \dest. .macro getobjectfacingdirection localId:req, dest:req - setvar VAR_0x8005, \localId - specialvar \dest, Script_GetObjectFacingDirection + callnative Script_GetObjectFacingDirection + .2byte \localId + .byte \dest .endm + + @ .macro checkobjectat x:req, y:req, dest = VAR_RESULT + @ callnative Script_CheckObjectAtXY + @ .2byte \x + @ .2byte \y + @ .2byte \dest diff --git a/data/specials.inc b/data/specials.inc index 8233deda59..f02497d603 100644 --- a/data/specials.inc +++ b/data/specials.inc @@ -554,4 +554,3 @@ gSpecials:: def_special Script_GetChosenMonDefensiveEVs def_special Script_GetChosenMonOffensiveIVs def_special Script_GetChosenMonDefensiveIVs - def_special Script_GetObjectFacingDirection diff --git a/src/event_object_movement.c b/src/event_object_movement.c index 646d2323fb..8fa688fdf6 100644 --- a/src/event_object_movement.c +++ b/src/event_object_movement.c @@ -10633,8 +10633,3 @@ void GetDaycareGraphics(struct ScriptContext *ctx) gSpecialVar_Result = i; } -u32 Script_GetObjectFacingDirection(void) -{ - return gObjectEvents[GetObjectEventIdByLocalId(gSpecialVar_0x8005)].facingDirection; -} - diff --git a/src/scrcmd.c b/src/scrcmd.c index 974b223f26..fc34720683 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2520,4 +2520,10 @@ void Script_CheckChosenMonMatchDesiredSpecie(struct ScriptContext *ctx) gSpecialVar_Result = (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == givenSpecies); } +void Script_GetObjectFacingDirection(struct ScriptContext *ctx) +{ + u32 objectId = VarGet(ScriptReadHalfword(ctx)); + u16 *varPointer = GetVarPointer(ScriptReadHalfword(ctx)); + *varPointer = gObjectEvents[GetObjectEventIdByLocalId(objectId)].facingDirection; +} From 1665423e5214bc834c5f4cf8acc5c82bf3570347 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 14 Sep 2024 07:11:04 -0700 Subject: [PATCH 057/278] Renamed scripts to match vanilla Cleaned up descriptions --- asm/macros/event.inc | 49 +++++++++++++++++++------------------------- src/scrcmd.c | 34 ++++++++++++++++++++++-------- 2 files changed, 46 insertions(+), 37 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 9a99ae3756..985ced862f 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2341,76 +2341,74 @@ @ Remove all of specified item from the player's bag and return the number of removed items to VAR_RESULT .macro removeallitem itemId:req - callnative RemoveAllItem + callnative ScrCmd_removeallitem .2byte \itemId .endm - @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will takje the object's template position. + @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will take the object's template position. .macro getobjectxy localId:req, posType:req - callnative Script_GetObjectPosition + callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType .endm .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION - callnative Script_GetObjectPosition + callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType .endm .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION - callnative Script_GetObjectPosition + callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType .endm - @ checks if there is any object at a given position + @ Return TRUE to dest if there is an object at the position x and y. .macro checkobjectat x:req, y:req, dest = VAR_RESULT - callnative Script_CheckObjectAtXY + callnative ScrCmd_checkobjectat .2byte \x .2byte \y .2byte \dest .endm - @ Checks the state of the Pokédex Seen flag of the specified Pokemon - @ The result is stored in VAR_RESULT + @ Returns the state of the Pokedex Seen Flag to VAR_RESULT for the Pokemon with speciesId .macro getseenmon species:req - callnative Script_Script_GetSetPokedexFlag + callnative Scrcmd_getsetpokedexflag .2byte \species .2byte FLAG_GET_SEEN .endm - @ Checks the state of the Pokédex Caught flag of the specified Pokemon - @ The result is stored in VAR_RESULT + @ Returns the state of the Pokedex Caught Flag to VAR_RESULT for the Pokemon with speciesId .macro getcaughtmon species:req - callnative Script_Script_GetSetPokedexFlag + callnative Scrcmd_getsetpokedexflag .2byte \species .2byte FLAG_GET_CAUGHT .endm - @ Sets the Pokédex Seen flag of the specified Pokemon + @ Sets the Pokedex Seen Flag for the Pokemon with speciesId .macro setseenmon species:req - callnative Script_Script_GetSetPokedexFlag + callnative Scrcmd_getsetpokedexflag .2byte \species .2byte FLAG_SET_SEEN .endm - @ Sets the Pokédex Caught flag of the specified Pokemon + @ Sets the Pokedex Caught Flag for the Pokemon with speciesId .macro setcaughtmon species:req - callnative Script_Script_GetSetPokedexFlag + callnative Scrcmd_getsetpokedexflag .2byte \species .2byte FLAG_SET_CAUGHT .endm - @ Check if the Player has \speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. + @ Check if the Player has speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. .macro checkspecies speciesId:req, mode=NO_PARTY_SCREEN .if \mode == OPEN_PARTY_SCREEN special ChoosePartyMon waitstate - callnative Script_CheckChosenMonMatchDesiredSpecie + callnative Scrcmd_checkspecies_choose .2byte \speciesId .else - callnative Script_CheckPartyHasSpecie + callnative Scrcmd_checkspecies .2byte \speciesId .endif .endm @@ -2419,15 +2417,10 @@ checkspecies \speciesId, OPEN_PARTY_SCREEN .endm - @ Gets the facing direction of a given event object and stores it in the variable \dest. + @ Gets the facing direction of a given event object and stores it in the variable dest. .macro getobjectfacingdirection localId:req, dest:req - callnative Script_GetObjectFacingDirection + callnative Scrcmd_getobjectfacingdirection .2byte \localId - .byte \dest + .2byte \dest .endm - @ .macro checkobjectat x:req, y:req, dest = VAR_RESULT - @ callnative Script_CheckObjectAtXY - @ .2byte \x - @ .2byte \y - @ .2byte \dest diff --git a/src/scrcmd.c b/src/scrcmd.c index fc34720683..be5c3c9346 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -32,6 +32,7 @@ #include "mystery_event_script.h" #include "palette.h" #include "party_menu.h" +#include "pokedex.h" #include "pokemon_storage_system.h" #include "random.h" #include "overworld.h" @@ -53,7 +54,6 @@ #include "list_menu.h" #include "malloc.h" #include "constants/event_objects.h" -#include "pokedex.h" typedef u16 (*SpecialFunc)(void); typedef void (*NativeFunc)(struct ScriptContext *ctx); @@ -2475,30 +2475,38 @@ void ScriptSetDoubleBattleFlag(struct ScriptContext *ctx) sIsScriptedWildDouble = TRUE; } -void RemoveAllItem(struct ScriptContext *ctx) +bool8 ScrCmd_removeallitem(struct ScriptContext *ctx) { u32 itemId = VarGet(ScriptReadHalfword(ctx)); u32 count = CountTotalItemQuantityInBag(itemId); gSpecialVar_Result = count; RemoveBagItem(itemId, count); + + return FALSE; } -void Script_GetObjectPosition(struct ScriptContext *ctx) +bool8 ScrCmd_getobjectxy(struct ScriptContext *ctx) { u32 localId = VarGet(ScriptReadHalfword(ctx)); u32 useTemplate = VarGet(ScriptReadHalfword(ctx)); GetObjectPosition(localId,useTemplate); + + return FALSE; } -void Script_CheckObjectAtXY(struct ScriptContext *ctx) +bool8 ScrCmd_checkobjectat(struct ScriptContext *ctx) { u32 x = VarGet(ScriptReadHalfword(ctx)) + 7; u32 y = VarGet(ScriptReadHalfword(ctx)) + 7; - gSpecialVar_Result = CheckObjectAtXY(x,y); + u16 *varPointer = GetVarPointer(ScriptReadHalfword(ctx)); + + *varPointer = CheckObjectAtXY(x,y); + + return FALSE; } -void Script_GetSetPokedexFlag(struct ScriptContext *ctx) +bool8 Scrcmd_getsetpokedexflag(struct ScriptContext *ctx) { u32 speciesId = SpeciesToNationalPokedexNum(VarGet(ScriptReadHalfword(ctx))); bool32 desiredFlag = VarGet(ScriptReadHalfword(ctx)); @@ -2506,24 +2514,32 @@ void Script_GetSetPokedexFlag(struct ScriptContext *ctx) if (desiredFlag == FLAG_SET_CAUGHT) GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); + + return FALSE; } -void Script_CheckPartyHasSpecie(struct ScriptContext *ctx) +bool8 Scrcmd_checkspecies(struct ScriptContext *ctx) { u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); gSpecialVar_Result = CheckPartyHasSpecie(givenSpecies); + + return FALSE; } -void Script_CheckChosenMonMatchDesiredSpecie(struct ScriptContext *ctx) +bool8 Scrcmd_checkspecies_choose(struct ScriptContext *ctx) { u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); gSpecialVar_Result = (GetMonData(&gPlayerParty[gSpecialVar_0x8004], MON_DATA_SPECIES) == givenSpecies); + + return FALSE; } -void Script_GetObjectFacingDirection(struct ScriptContext *ctx) +bool8 Scrcmd_getobjectfacingdirection(struct ScriptContext *ctx) { u32 objectId = VarGet(ScriptReadHalfword(ctx)); u16 *varPointer = GetVarPointer(ScriptReadHalfword(ctx)); *varPointer = gObjectEvents[GetObjectEventIdByLocalId(objectId)].facingDirection; + + return FALSE; } From 60fb0b34fddf3f9bf4d010f29348f7b9c57cafa4 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 14 Sep 2024 07:48:24 -0700 Subject: [PATCH 058/278] Modified getobjectxy to allow for custom destinations --- asm/macros/event.inc | 14 ++++++++++---- include/field_specials.h | 2 +- src/field_specials.c | 13 +++++-------- src/scrcmd.c | 5 +++-- 4 files changed, 19 insertions(+), 15 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 985ced862f..710514cda1 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2345,23 +2345,29 @@ .2byte \itemId .endm - @ Stores the position of the given object in VAR_0x8007 (x) and VAR_0x8008 (y). Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will take the object's template position. - .macro getobjectxy localId:req, posType:req + @ Stores the position of the given object in destX and destY. Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will take the object's template position. + .macro getobjectxy localId:req, posType:req, destX:req, destY:req callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType + .2byte \destX + .2byte \destY .endm - .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION + .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION, destX:req, destY:req callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType + .2byte \destX + .2byte \destY .endm - .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION + .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION, destX:req, destY:req callnative ScrCmd_getobjectxy .2byte \localId .2byte \posType + .2byte \destX + .2byte \destY .endm @ Return TRUE to dest if there is an object at the position x and y. diff --git a/include/field_specials.h b/include/field_specials.h index 85db5ba40f..f391a46ba5 100644 --- a/include/field_specials.h +++ b/include/field_specials.h @@ -33,7 +33,7 @@ void ResetFanClub(void); bool8 ShouldShowBoxWasFullMessage(void); void SetPCBoxToSendMon(u8 boxId); void PreparePartyForSkyBattle(void); -void GetObjectPosition(u32, u32); +void GetObjectPosition(u16*, u16*, u32, u32); bool32 CheckObjectAtXY(u32, u32); bool32 CheckPartyHasSpecie(u32); diff --git a/src/field_specials.c b/src/field_specials.c index 94a98812b1..8b2ac8de8d 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4278,26 +4278,23 @@ void PreparePartyForSkyBattle(void) CompactPartySlots(); } -void GetObjectPosition(u32 localId, u32 useTemplate) +void GetObjectPosition(u16* xPointer, u16* yPointer, u32 localId, u32 useTemplate) { u32 objectId; struct ObjectEvent* objEvent; - u16 *x = &gSpecialVar_0x8007; - u16 *y = &gSpecialVar_0x8008; - if (useTemplate) { const struct ObjectEventTemplate *objTemplate = FindObjectEventTemplateByLocalId(localId, gSaveBlock1Ptr->objectEventTemplates, gMapHeader.events->objectEventCount); - *x = objTemplate->x; - *y = objTemplate->y; + *xPointer = objTemplate->x; + *yPointer = objTemplate->y; return; } objectId = GetObjectEventIdByLocalId(localId); objEvent = &gObjectEvents[objectId]; - *x = objEvent->currentCoords.x - 7; - *y = objEvent->currentCoords.y - 7; + *xPointer = objEvent->currentCoords.x - 7; + *yPointer = objEvent->currentCoords.y - 7; } bool32 CheckObjectAtXY(u32 x, u32 y) diff --git a/src/scrcmd.c b/src/scrcmd.c index be5c3c9346..542f3d1dfc 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2489,8 +2489,9 @@ bool8 ScrCmd_getobjectxy(struct ScriptContext *ctx) { u32 localId = VarGet(ScriptReadHalfword(ctx)); u32 useTemplate = VarGet(ScriptReadHalfword(ctx)); - - GetObjectPosition(localId,useTemplate); + u16 *pX = GetVarPointer(ScriptReadHalfword(ctx)); + u16 *pY = GetVarPointer(ScriptReadHalfword(ctx)); + GetObjectPosition(pX,pY,localId,useTemplate); return FALSE; } From 3b226fc2e240ef6a0967e1238a34ca07a4edea54 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 14 Sep 2024 09:01:53 -0700 Subject: [PATCH 059/278] Removed swp --- .swp | Bin 4096 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .swp diff --git a/.swp b/.swp deleted file mode 100644 index 099c8db49858ca8579ae6d0417da70c45e4b4c51..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmYc?2=nw+u+%eP00IFJ0RfJ6Obi9ZX)rEc+Ql{4JH$Ug*U};^%+=Hkui8<`(GVC7 zfq@DE&QN0`LvU7CR#H?D7786Ghm6`g8UmvsFd71*Aut*OqaiRF0;3@?8UmvsFaRL{ E0G?C|hyVZp From d76ccddad3908789a1a611d057ec8be897900571 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Sat, 14 Sep 2024 09:03:49 -0700 Subject: [PATCH 060/278] spaces to tabs in inc files --- asm/macros/event.inc | 122 +++++++++++++++++++++---------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/asm/macros/event.inc b/asm/macros/event.inc index 710514cda1..a67d5a751c 100644 --- a/asm/macros/event.inc +++ b/asm/macros/event.inc @@ -2341,92 +2341,92 @@ @ Remove all of specified item from the player's bag and return the number of removed items to VAR_RESULT .macro removeallitem itemId:req - callnative ScrCmd_removeallitem + callnative ScrCmd_removeallitem .2byte \itemId .endm @ Stores the position of the given object in destX and destY. Mode CURRENT_POSITION will take the object's current position. Mode TEMPLATE_POSITION will take the object's template position. .macro getobjectxy localId:req, posType:req, destX:req, destY:req callnative ScrCmd_getobjectxy - .2byte \localId - .2byte \posType - .2byte \destX - .2byte \destY + .2byte \localId + .2byte \posType + .2byte \destX + .2byte \destY .endm .macro getobjecttemplatexy localId:req, posType = TEMPLATE_POSITION, destX:req, destY:req callnative ScrCmd_getobjectxy - .2byte \localId - .2byte \posType - .2byte \destX - .2byte \destY + .2byte \localId + .2byte \posType + .2byte \destX + .2byte \destY .endm .macro getobjectcurrentxy localId:req, posType = CURRENT_POSITION, destX:req, destY:req callnative ScrCmd_getobjectxy - .2byte \localId - .2byte \posType - .2byte \destX - .2byte \destY + .2byte \localId + .2byte \posType + .2byte \destX + .2byte \destY .endm - @ Return TRUE to dest if there is an object at the position x and y. + @ Return TRUE to dest if there is an object at the position x and y. .macro checkobjectat x:req, y:req, dest = VAR_RESULT - callnative ScrCmd_checkobjectat - .2byte \x - .2byte \y - .2byte \dest + callnative ScrCmd_checkobjectat + .2byte \x + .2byte \y + .2byte \dest .endm - @ Returns the state of the Pokedex Seen Flag to VAR_RESULT for the Pokemon with speciesId - .macro getseenmon species:req - callnative Scrcmd_getsetpokedexflag - .2byte \species - .2byte FLAG_GET_SEEN - .endm + @ Returns the state of the Pokedex Seen Flag to VAR_RESULT for the Pokemon with speciesId + .macro getseenmon species:req + callnative Scrcmd_getsetpokedexflag + .2byte \species + .2byte FLAG_GET_SEEN + .endm - @ Returns the state of the Pokedex Caught Flag to VAR_RESULT for the Pokemon with speciesId - .macro getcaughtmon species:req - callnative Scrcmd_getsetpokedexflag - .2byte \species - .2byte FLAG_GET_CAUGHT - .endm + @ Returns the state of the Pokedex Caught Flag to VAR_RESULT for the Pokemon with speciesId + .macro getcaughtmon species:req + callnative Scrcmd_getsetpokedexflag + .2byte \species + .2byte FLAG_GET_CAUGHT + .endm - @ Sets the Pokedex Seen Flag for the Pokemon with speciesId - .macro setseenmon species:req - callnative Scrcmd_getsetpokedexflag - .2byte \species - .2byte FLAG_SET_SEEN - .endm + @ Sets the Pokedex Seen Flag for the Pokemon with speciesId + .macro setseenmon species:req + callnative Scrcmd_getsetpokedexflag + .2byte \species + .2byte FLAG_SET_SEEN + .endm - @ Sets the Pokedex Caught Flag for the Pokemon with speciesId - .macro setcaughtmon species:req - callnative Scrcmd_getsetpokedexflag - .2byte \species - .2byte FLAG_SET_CAUGHT - .endm + @ Sets the Pokedex Caught Flag for the Pokemon with speciesId + .macro setcaughtmon species:req + callnative Scrcmd_getsetpokedexflag + .2byte \species + .2byte FLAG_SET_CAUGHT + .endm - @ Check if the Player has speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. - .macro checkspecies speciesId:req, mode=NO_PARTY_SCREEN - .if \mode == OPEN_PARTY_SCREEN - special ChoosePartyMon - waitstate - callnative Scrcmd_checkspecies_choose - .2byte \speciesId - .else - callnative Scrcmd_checkspecies - .2byte \speciesId - .endif - .endm + @ Check if the Player has speciesId in their party. OPEN_PARTY_SCREEN will have the player select a mon from their party. NO_PARTY_SCREEN will automatically check every mon in the player's party. + .macro checkspecies speciesId:req, mode=NO_PARTY_SCREEN + .if \mode == OPEN_PARTY_SCREEN + special ChoosePartyMon + waitstate + callnative Scrcmd_checkspecies_choose + .2byte \speciesId + .else + callnative Scrcmd_checkspecies + .2byte \speciesId + .endif + .endm - .macro checkspecies_choose speciesId:req + .macro checkspecies_choose speciesId:req checkspecies \speciesId, OPEN_PARTY_SCREEN - .endm + .endm @ Gets the facing direction of a given event object and stores it in the variable dest. - .macro getobjectfacingdirection localId:req, dest:req - callnative Scrcmd_getobjectfacingdirection - .2byte \localId - .2byte \dest - .endm + .macro getobjectfacingdirection localId:req, dest:req + callnative Scrcmd_getobjectfacingdirection + .2byte \localId + .2byte \dest + .endm From c4b5818d986b6c4525ee78a360342ec2cb534e68 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 14 Sep 2024 19:13:02 +0200 Subject: [PATCH 061/278] remove ScriptContext_Enable from secret_base.h --- include/secret_base.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/secret_base.h b/include/secret_base.h index cb3b95ee78..567316cf9c 100644 --- a/include/secret_base.h +++ b/include/secret_base.h @@ -24,7 +24,6 @@ void SetCurSecretBaseIdFromPosition(const struct MapPosition *position, const st void TrySetCurSecretBaseIndex(void); void CheckPlayerHasSecretBase(void); void ToggleSecretBaseEntranceMetatile(void); -void ScriptContext_Enable(void); void ReceiveSecretBasesData(void *records, size_t recordSize, u8 linkIdx); #endif //GUARD_SECRET_BASE_H From f7209166338cf881490519e8334882d740875f51 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 15 Sep 2024 02:25:12 -0300 Subject: [PATCH 062/278] CI fix attempt --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0322cbe11f..0cd9583984 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -59,5 +59,4 @@ jobs: MODERN: 1 TEST: 1 run: | - make -j${nproc} -O pokeemerald-test.elf make -j${nproc} check From 52c2728ff6d07a5d8d420cbe39c08365aa1ca01e Mon Sep 17 00:00:00 2001 From: Kurausukun Date: Wed, 18 Sep 2024 10:37:34 -0400 Subject: [PATCH 063/278] remove gflib --- Makefile | 13 ++------- {gflib => include}/bg.h | 0 {gflib => include}/blit.h | 0 {gflib => include/constants}/characters.h | 0 {gflib => include}/dma3.h | 0 {gflib => include}/gpu_regs.h | 0 {gflib => include}/io_reg.h | 0 {gflib => include}/malloc.h | 0 {gflib => include}/sprite.h | 0 {gflib => include}/string_util.h | 0 {gflib => include}/text.h | 2 +- {gflib => include}/window.h | 0 ld_script.ld | 34 ++++++++++------------- ld_script_modern.ld | 5 ---- {gflib => src}/bg.c | 0 {gflib => src}/blit.c | 0 {gflib => src}/dma3_manager.c | 0 {gflib => src}/gpu_regs.c | 0 {gflib => src}/io_reg.c | 0 {gflib => src}/malloc.c | 0 src/mini_printf.c | 2 +- {gflib => src}/sprite.c | 0 {gflib => src}/string_util.c | 0 {gflib => src}/text.c | 0 {gflib => src}/window.c | 0 sym_bss.txt | 12 ++++---- sym_common.txt | 8 +++--- sym_ewram.txt | 10 +++---- tools/preproc/asm_file.cpp | 2 +- 29 files changed, 36 insertions(+), 52 deletions(-) rename {gflib => include}/bg.h (100%) rename {gflib => include}/blit.h (100%) rename {gflib => include/constants}/characters.h (100%) rename {gflib => include}/dma3.h (100%) rename {gflib => include}/gpu_regs.h (100%) rename {gflib => include}/io_reg.h (100%) rename {gflib => include}/malloc.h (100%) rename {gflib => include}/sprite.h (100%) rename {gflib => include}/string_util.h (100%) rename {gflib => include}/text.h (99%) rename {gflib => include}/window.h (100%) rename {gflib => src}/bg.c (100%) rename {gflib => src}/blit.c (100%) rename {gflib => src}/dma3_manager.c (100%) rename {gflib => src}/gpu_regs.c (100%) rename {gflib => src}/io_reg.c (100%) rename {gflib => src}/malloc.c (100%) rename {gflib => src}/sprite.c (100%) rename {gflib => src}/string_util.c (100%) rename {gflib => src}/text.c (100%) rename {gflib => src}/window.c (100%) diff --git a/Makefile b/Makefile index ce868f06bd..9082680c8c 100644 --- a/Makefile +++ b/Makefile @@ -90,7 +90,6 @@ SYM := $(ROM:.gba=.sym) # Commonly used directories C_SUBDIR = src -GFLIB_SUBDIR = gflib ASM_SUBDIR = asm DATA_SRC_SUBDIR = src/data DATA_ASM_SUBDIR = data @@ -98,7 +97,6 @@ SONG_SUBDIR = sound/songs MID_SUBDIR = sound/songs/midi C_BUILDDIR = $(OBJ_DIR)/$(C_SUBDIR) -GFLIB_BUILDDIR = $(OBJ_DIR)/$(GFLIB_SUBDIR) ASM_BUILDDIR = $(OBJ_DIR)/$(ASM_SUBDIR) DATA_ASM_BUILDDIR = $(OBJ_DIR)/$(DATA_ASM_SUBDIR) SONG_BUILDDIR = $(OBJ_DIR)/$(SONG_SUBDIR) @@ -114,7 +112,7 @@ INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %) INCLUDE_SCANINC_ARGS := $(INCLUDE_DIRS:%=-I %) O_LEVEL ?= 2 -CPPFLAGS := $(INCLUDE_CPP_ARGS) -iquote $(GFLIB_SUBDIR) -Wno-trigraphs -DMODERN=$(MODERN) +CPPFLAGS := $(INCLUDE_CPP_ARGS) -Wno-trigraphs -DMODERN=$(MODERN) ifeq ($(MODERN),0) CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef CC1 := tools/agbcc/bin/agbcc$(EXE) @@ -192,9 +190,6 @@ C_SRCS_IN := $(wildcard $(C_SUBDIR)/*.c $(C_SUBDIR)/*/*.c $(C_SUBDIR)/*/*/*.c) C_SRCS := $(foreach src,$(C_SRCS_IN),$(if $(findstring .inc.c,$(src)),,$(src))) C_OBJS := $(patsubst $(C_SUBDIR)/%.c,$(C_BUILDDIR)/%.o,$(C_SRCS)) -GFLIB_SRCS := $(wildcard $(GFLIB_SUBDIR)/*.c) -GFLIB_OBJS := $(patsubst $(GFLIB_SUBDIR)/%.c,$(GFLIB_BUILDDIR)/%.o,$(GFLIB_SRCS)) - C_ASM_SRCS := $(wildcard $(C_SUBDIR)/*.s $(C_SUBDIR)/*/*.s $(C_SUBDIR)/*/*/*.s) C_ASM_OBJS := $(patsubst $(C_SUBDIR)/%.s,$(C_BUILDDIR)/%.o,$(C_ASM_SRCS)) @@ -213,7 +208,7 @@ SONG_OBJS := $(patsubst $(SONG_SUBDIR)/%.s,$(SONG_BUILDDIR)/%.o,$(SONG_SRCS)) MID_SRCS := $(wildcard $(MID_SUBDIR)/*.mid) MID_OBJS := $(patsubst $(MID_SUBDIR)/%.mid,$(MID_BUILDDIR)/%.o,$(MID_SRCS)) -OBJS := $(C_OBJS) $(GFLIB_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS) +OBJS := $(C_OBJS) $(C_ASM_OBJS) $(ASM_OBJS) $(DATA_ASM_OBJS) $(SONG_OBJS) $(MID_OBJS) OBJS_REL := $(patsubst $(OBJ_DIR)/%,%,$(OBJS)) SUBDIRS := $(sort $(dir $(OBJS))) @@ -326,7 +321,7 @@ define C_SCANINC ifneq ($(NODEP),1) $1.o: $1.d $1.d: $2 - $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include -I gflib $2 + $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $2 include $1.d endif endef @@ -334,10 +329,8 @@ endef # Create generic rules if no dependency scanning, else create the real rules ifeq ($(NODEP),1) $(eval $(call C_DEP,$(C_BUILDDIR)/%,$(C_SUBDIR)/%.c)) -$(eval $(call C_DEP,$(GFLIB_BUILDDIR)/%,$(GFLIB_SUBDIR)/%.c)) else $(foreach src,$(C_SRCS),$(eval $(call C_DEP,$(OBJ_DIR)/$(basename $(src)),$(src)))) -$(foreach src,$(GFLIB_SRCS),$(eval $(call C_DEP,$(OBJ_DIR)/$(basename $(src)),$(src)))) endif # Similar methodology for Assembly files diff --git a/gflib/bg.h b/include/bg.h similarity index 100% rename from gflib/bg.h rename to include/bg.h diff --git a/gflib/blit.h b/include/blit.h similarity index 100% rename from gflib/blit.h rename to include/blit.h diff --git a/gflib/characters.h b/include/constants/characters.h similarity index 100% rename from gflib/characters.h rename to include/constants/characters.h diff --git a/gflib/dma3.h b/include/dma3.h similarity index 100% rename from gflib/dma3.h rename to include/dma3.h diff --git a/gflib/gpu_regs.h b/include/gpu_regs.h similarity index 100% rename from gflib/gpu_regs.h rename to include/gpu_regs.h diff --git a/gflib/io_reg.h b/include/io_reg.h similarity index 100% rename from gflib/io_reg.h rename to include/io_reg.h diff --git a/gflib/malloc.h b/include/malloc.h similarity index 100% rename from gflib/malloc.h rename to include/malloc.h diff --git a/gflib/sprite.h b/include/sprite.h similarity index 100% rename from gflib/sprite.h rename to include/sprite.h diff --git a/gflib/string_util.h b/include/string_util.h similarity index 100% rename from gflib/string_util.h rename to include/string_util.h diff --git a/gflib/text.h b/include/text.h similarity index 99% rename from gflib/text.h rename to include/text.h index ff13efa9a8..db9f4db873 100644 --- a/gflib/text.h +++ b/include/text.h @@ -1,7 +1,7 @@ #ifndef GUARD_TEXT_H #define GUARD_TEXT_H -#include "characters.h" +#include "constants/characters.h" // Given as a text speed when all the text should be // loaded at once but not copied to vram yet. diff --git a/gflib/window.h b/include/window.h similarity index 100% rename from gflib/window.h rename to include/window.h diff --git a/ld_script.ld b/ld_script.ld index c4abf075f8..1e08a8d61c 100644 --- a/ld_script.ld +++ b/ld_script.ld @@ -23,7 +23,6 @@ SECTIONS { { INCLUDE "sym_ewram.ld" src/*.o(ewram_data); - gflib/*.o(ewram_data); *libc.a:impure.o(.data); *libc.a:locale.o(.data); @@ -36,7 +35,6 @@ SECTIONS { /* .bss starts at 0x3000000 */ INCLUDE "sym_bss.ld" src/*.o(.bss); - gflib/*.o(.bss); data/*.o(.bss); /* .bss.code starts at 0x3001AA8 */ @@ -57,15 +55,15 @@ SECTIONS { src/rom_header_gf.o(.text.*); src/crt0.o(.text); src/main.o(.text); - gflib/malloc.o(.text); - gflib/dma3_manager.o(.text); - gflib/gpu_regs.o(.text); - gflib/bg.o(.text); - gflib/blit.o(.text); - gflib/window.o(.text); - gflib/text.o(.text); - gflib/sprite.o(.text); - gflib/string_util.o(.text); + src/malloc.o(.text); + src/dma3_manager.o(.text); + src/gpu_regs.o(.text); + src/bg.o(.text); + src/blit.o(.text); + src/window.o(.text); + src/text.o(.text); + src/sprite.o(.text); + src/string_util.o(.text); src/link.o(.text); src/AgbRfu_LinkManager.o(.text); src/link_rfu_3.o(.text); @@ -446,12 +444,12 @@ SECTIONS { src/rom_header.o(.rodata); src/rom_header_gf.o(.rodata); src/main.o(.rodata); - gflib/bg.o(.rodata); - gflib/window.o(.rodata); - gflib/text.o(.rodata); - gflib/sprite.o(.rodata); - gflib/io_reg.o(.rodata); - gflib/string_util.o(.rodata); + src/bg.o(.rodata); + src/window.o(.rodata); + src/text.o(.rodata); + src/sprite.o(.rodata); + src/io_reg.o(.rodata); + src/string_util.o(.rodata); src/link.o(.rodata); src/link.o(.rodata.str1.4); src/AgbRfu_LinkManager.o(.rodata); @@ -1317,9 +1315,7 @@ SECTIONS { ALIGN(4) { src/*.o(.text); - gflib/*.o(.text); src/*.o(.rodata); - gflib/*.o(.rodata); data/*.o(.rodata); } > ROM = 0 diff --git a/ld_script_modern.ld b/ld_script_modern.ld index 4ccbfbaa0f..fac4a134c3 100644 --- a/ld_script_modern.ld +++ b/ld_script_modern.ld @@ -16,14 +16,12 @@ SECTIONS { ALIGN(4) { src/*.o(ewram_data); - gflib/*.o(ewram_data); } > EWRAM iwram 0x3000000 (NOLOAD) : ALIGN(4) { src/*.o(.bss); - gflib/*.o(.bss); data/*.o(.bss); *libc.a:*.o(.bss*); *libnosys.a:*.o(.bss*); @@ -31,7 +29,6 @@ SECTIONS { src/m4a.o(.bss.code); src/*.o(COMMON); - gflib/*.o(COMMON); *libc.a:*.o(COMMON); *libnosys.a:*.o(COMMON); } > IWRAM @@ -46,7 +43,6 @@ SECTIONS { src/rom_header_gf.o(.text.*); src/crt0.o(.text); src/main.o(.text); - gflib/*.o(.text*); src/*.o(.text*); asm/*.o(.text*); } > ROM =0 @@ -82,7 +78,6 @@ SECTIONS { ALIGN(4) { src/*.o(.rodata*); - gflib/*.o(.rodata*); data/*.o(.rodata*); } > ROM =0 diff --git a/gflib/bg.c b/src/bg.c similarity index 100% rename from gflib/bg.c rename to src/bg.c diff --git a/gflib/blit.c b/src/blit.c similarity index 100% rename from gflib/blit.c rename to src/blit.c diff --git a/gflib/dma3_manager.c b/src/dma3_manager.c similarity index 100% rename from gflib/dma3_manager.c rename to src/dma3_manager.c diff --git a/gflib/gpu_regs.c b/src/gpu_regs.c similarity index 100% rename from gflib/gpu_regs.c rename to src/gpu_regs.c diff --git a/gflib/io_reg.c b/src/io_reg.c similarity index 100% rename from gflib/io_reg.c rename to src/io_reg.c diff --git a/gflib/malloc.c b/src/malloc.c similarity index 100% rename from gflib/malloc.c rename to src/malloc.c diff --git a/src/mini_printf.c b/src/mini_printf.c index cab78d7611..ac8a0ef127 100644 --- a/src/mini_printf.c +++ b/src/mini_printf.c @@ -36,7 +36,7 @@ #include "gba/types.h" #include "gba/defines.h" #include "config.h" -#include "characters.h" +#include "constants/characters.h" #include "string_util.h" #ifndef NDEBUG diff --git a/gflib/sprite.c b/src/sprite.c similarity index 100% rename from gflib/sprite.c rename to src/sprite.c diff --git a/gflib/string_util.c b/src/string_util.c similarity index 100% rename from gflib/string_util.c rename to src/string_util.c diff --git a/gflib/text.c b/src/text.c similarity index 100% rename from gflib/text.c rename to src/text.c diff --git a/gflib/window.c b/src/window.c similarity index 100% rename from gflib/window.c rename to src/window.c diff --git a/sym_bss.txt b/sym_bss.txt index 3a23e74789..0520e0b5b0 100644 --- a/sym_bss.txt +++ b/sym_bss.txt @@ -1,10 +1,10 @@ .include "src/main.o" - .include "gflib/malloc.o" - .include "gflib/dma3_manager.o" - .include "gflib/gpu_regs.o" - .include "gflib/bg.o" - .include "gflib/text.o" - .include "gflib/sprite.o" + .include "src/malloc.o" + .include "src/dma3_manager.o" + .include "src/gpu_regs.o" + .include "src/bg.o" + .include "src/text.o" + .include "src/sprite.o" .include "src/link.o" .include "src/AgbRfu_LinkManager.o" .include "src/link_rfu_3.o" diff --git a/sym_common.txt b/sym_common.txt index 7eebcac74e..bffabfbdf3 100644 --- a/sym_common.txt +++ b/sym_common.txt @@ -1,17 +1,17 @@ .space 0x8 .include "main.o" - @ ../gflib/bg.o + @ ../src/bg.o .align 2 gWindowTileAutoAllocEnabled: .space 4 - @ ../gflib/window.o + @ ../src/window.o .align 4 gTransparentTileNumber: .space 1 .align 4 gWindowBgTilemapBuffers: .space 16 - @ ../gflib/text.o + @ ../src/text.o .align 4 gFonts: .space 4 @@ -24,7 +24,7 @@ gCurGlyph: .align 2 gTextFlags: .space 4 - @ ../gflib/sprite.o + @ ../src/sprite.o .align 2 gOamMatrixAllocBitmap: .space 4 diff --git a/sym_ewram.txt b/sym_ewram.txt index 31c507ee9b..92a69cc4c9 100644 --- a/sym_ewram.txt +++ b/sym_ewram.txt @@ -1,10 +1,10 @@ - .include "gflib/malloc.o" + .include "src/malloc.o" .include "src/decompress.o" .include "src/main.o" - .include "gflib/window.o" - .include "gflib/text.o" - .include "gflib/sprite.o" - .include "gflib/string_util.o" + .include "src/window.o" + .include "src/text.o" + .include "src/sprite.o" + .include "src/string_util.o" .include "src/link.o" .include "src/AgbRfu_LinkManager.o" .include "src/link_rfu_3.o" diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp index 36b6c7ed06..4eda54a3aa 100644 --- a/tools/preproc/asm_file.cpp +++ b/tools/preproc/asm_file.cpp @@ -26,7 +26,7 @@ #include "char_util.h" #include "utf8.h" #include "string_parser.h" -#include "../../gflib/characters.h" +#include "../../include/constants/characters.h" #include "io.h" AsmFile::AsmFile(std::string filename, bool isStdin, bool doEnum) : m_filename(filename) From 9cb353179ba77e9d1247e003d018d5f005df8861 Mon Sep 17 00:00:00 2001 From: Kurausukun Date: Wed, 18 Sep 2024 10:42:28 -0400 Subject: [PATCH 064/278] fix indentation --- sym_common.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sym_common.txt b/sym_common.txt index bffabfbdf3..335af85a30 100644 --- a/sym_common.txt +++ b/sym_common.txt @@ -4,14 +4,14 @@ .align 2 gWindowTileAutoAllocEnabled: .space 4 - @ ../src/window.o + @ ../src/window.o .align 4 gTransparentTileNumber: .space 1 .align 4 gWindowBgTilemapBuffers: .space 16 - @ ../src/text.o + @ ../src/text.o .align 4 gFonts: .space 4 @@ -24,7 +24,7 @@ gCurGlyph: .align 2 gTextFlags: .space 4 - @ ../src/sprite.o + @ ../src/sprite.o .align 2 gOamMatrixAllocBitmap: .space 4 From 80a37c16beb71698903836e7bf583a03ea78c112 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Wed, 25 Sep 2024 13:35:52 -0400 Subject: [PATCH 065/278] Remove explicit symbol sizes in sym_common.txt --- common_syms/ereader_screen.txt | 1 + src/ereader_screen.c | 3 +++ sym_common.txt | 48 +++++----------------------------- 3 files changed, 11 insertions(+), 41 deletions(-) diff --git a/common_syms/ereader_screen.txt b/common_syms/ereader_screen.txt index 2189eedbc9..26b01f678d 100644 --- a/common_syms/ereader_screen.txt +++ b/common_syms/ereader_screen.txt @@ -1 +1,2 @@ +gUnknownSpace gEReaderData diff --git a/src/ereader_screen.c b/src/ereader_screen.c index c625c78a9e..cb048d2ae3 100755 --- a/src/ereader_screen.c +++ b/src/ereader_screen.c @@ -40,6 +40,9 @@ struct EReaderData static void Task_EReader(u8); +// This belongs in COMMON somewhere between party_menu and ereader_screen, but it's unused so it's unclear where. +UNUSED u8 gUnknownSpace[64]; + struct EReaderData gEReaderData; extern const u8 gMultiBootProgram_EReader_Start[]; diff --git a/sym_common.txt b/sym_common.txt index 335af85a30..e001c2ca59 100644 --- a/sym_common.txt +++ b/sym_common.txt @@ -1,37 +1,10 @@ - .space 0x8 + .align 4 .include "main.o" - @ ../src/bg.o - .align 2 -gWindowTileAutoAllocEnabled: - .space 4 - @ ../src/window.o - .align 4 -gTransparentTileNumber: - .space 1 - .align 4 -gWindowBgTilemapBuffers: - .space 16 - @ ../src/text.o - .align 4 -gFonts: - .space 4 - .align 2 -gDisableTextPrinters: - .space 1 - .align 4 -gCurGlyph: - .space 132 - .align 2 -gTextFlags: - .space 4 - @ ../src/sprite.o - .align 2 -gOamMatrixAllocBitmap: - .space 4 - .align 2 -gReservedSpritePaletteCount: - .space 1 + .include "bg.o" .align 4 + .include "window.o" + .include "text.o" + .include "sprite.o" .include "link.o" .include "AgbRfu_LinkManager.o" .include "link_rfu_2.o" @@ -53,9 +26,7 @@ gReservedSpritePaletteCount: .include "tv.o" .include "mauville_old_man.o" .include "image_processing_effects.o" - - .space 0x4 - + .align 4 .include "contest_painting.o" .include "field_specials.o" .include "evolution_scene.o" @@ -66,14 +37,9 @@ gReservedSpritePaletteCount: .include "battle_anim_throw.o" .include "battle_factory_screen.o" .include "apprentice.o" - - .space 0x8 - + .align 4 .include "list_menu.o" .include "party_menu.o" - - .space 0x44 - .include "ereader_screen.o" .include "m4a.o" .include "agb_flash.o" From 8e2c3ca3f2238765e993d005a00dbe4a6abf4a83 Mon Sep 17 00:00:00 2001 From: Scyrous <74797764+Scyrous@users.noreply.github.com> Date: Sun, 29 Sep 2024 14:13:50 +0200 Subject: [PATCH 066/278] Bugfix for cable car sprite array count --- src/cable_car.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cable_car.c b/src/cable_car.c index 8a666a536e..9a6166b599 100644 --- a/src/cable_car.c +++ b/src/cable_car.c @@ -880,8 +880,12 @@ static void CreateCableCarSprites(void) // 1/64 chance for an NPC to appear hiking on the ground below the Cable Car if ((rval % 64) == 0) { - // Unclear if this was intentional, but the - 1 in the below ARRAY_COUNT means the Zigzagoon is never used + // BUGFIX: The - 1 in the below ARRAY_COUNT means the Zigzagoon is never used +#ifdef #BUGFIX + spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % ARRAY_COUNT(hikerGraphicsIds)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106); +#else spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % (ARRAY_COUNT(hikerGraphicsIds) - 1)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106); +#endif if (spriteId != MAX_SPRITES) { gSprites[spriteId].oam.priority = 2; From 1dc85df1f0ab617dc402ee2da1f37097e3758461 Mon Sep 17 00:00:00 2001 From: Scyrous <74797764+Scyrous@users.noreply.github.com> Date: Sun, 29 Sep 2024 14:38:08 +0200 Subject: [PATCH 067/278] Update cable_car.c --- src/cable_car.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cable_car.c b/src/cable_car.c index 9a6166b599..522ea01a97 100644 --- a/src/cable_car.c +++ b/src/cable_car.c @@ -881,7 +881,7 @@ static void CreateCableCarSprites(void) if ((rval % 64) == 0) { // BUGFIX: The - 1 in the below ARRAY_COUNT means the Zigzagoon is never used -#ifdef #BUGFIX +#ifdef BUGFIX spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % ARRAY_COUNT(hikerGraphicsIds)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106); #else spriteId = CreateObjectGraphicsSprite(hikerGraphicsIds[rval % (ARRAY_COUNT(hikerGraphicsIds) - 1)], hikerCallbacks[GOING_DOWN], hikerCoords[GOING_DOWN][0], hikerCoords[GOING_DOWN][1], 106); From c8cc0fa5a34f15b2ff1841dc380f215da677ff1f Mon Sep 17 00:00:00 2001 From: Jaizu Date: Tue, 1 Oct 2024 10:07:45 +0200 Subject: [PATCH 068/278] Ignore mGBA screenshots Everytime I make a new project I suffer, please merge. --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 9fa431e143..f940d26b21 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,5 @@ prefabs.json *.diff *.sym *.js +/pokeemerald-*.png +/pokeemerald_modern-*.png From 9a24c031bb21e5f9d198a93ef7b8acb66bbcdec7 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:48:54 -0700 Subject: [PATCH 069/278] Replaced copyright magic numbers in intro.c with constants (#2035) --- src/intro.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/intro.c b/src/intro.c index 195374bba0..02c3a1f948 100644 --- a/src/intro.c +++ b/src/intro.c @@ -112,6 +112,12 @@ extern const struct CompressedSpriteSheet gBattleAnimPicTable[]; extern const struct CompressedSpritePalette gBattleAnimPaletteTable[]; extern const struct SpriteTemplate gAncientPowerRockSpriteTemplate[]; +enum { + COPYRIGHT_INITIALIZE, + COPYRIGHT_START_FADE = 140, + COPYRIGHT_START_INTRO, +}; + #define TAG_VOLBEAT 1500 #define TAG_TORCHIC 1501 #define TAG_MANECTRIC 1502 @@ -1067,7 +1073,7 @@ static u8 SetUpCopyrightScreen(void) { switch (gMain.state) { - case 0: + case COPYRIGHT_INITIALIZE: SetVBlankCallback(NULL); SetGpuReg(REG_OFFSET_BLDCNT, 0); SetGpuReg(REG_OFFSET_BLDALPHA, 0); @@ -1101,7 +1107,7 @@ static u8 SetUpCopyrightScreen(void) gMain.state++; GameCubeMultiBoot_Main(&gMultibootProgramStruct); break; - case 140: + case COPYRIGHT_START_FADE: GameCubeMultiBoot_Main(&gMultibootProgramStruct); if (gMultibootProgramStruct.gcmb_field_2 != 1) { @@ -1109,7 +1115,7 @@ static u8 SetUpCopyrightScreen(void) gMain.state++; } break; - case 141: + case COPYRIGHT_START_INTRO: if (UpdatePaletteFade()) break; CreateTask(Task_Scene1_Load, 0); From feeccb9198c8396c64c4b75f55c136169824df83 Mon Sep 17 00:00:00 2001 From: ghoulslash <41651341+ghoulslash@users.noreply.github.com> Date: Wed, 9 Oct 2024 03:38:21 -0400 Subject: [PATCH 070/278] Simplify BS_FAINTED_MULTIPLE_1 double battle logic in openpartyscreen (#5435) * simplify BS_FAINTED_MULTIPLE_1 doubles logic * simplify openpartyscreen BS_FAINTED_MULTIPLE_2 checks, too * Update src/battle_script_commands.c Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> * Update src/battle_script_commands.c Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> * Update src/battle_script_commands.c Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> * more readable OpponentHandleChoosePokemon * Update src/battle_controller_opponent.c * Update src/battle_controller_opponent.c --------- Co-authored-by: ghoulslash Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> --- src/battle_controller_opponent.c | 30 ++--- src/battle_script_commands.c | 194 +++++++++---------------------- 2 files changed, 69 insertions(+), 155 deletions(-) diff --git a/src/battle_controller_opponent.c b/src/battle_controller_opponent.c index 57ebccf7fa..01ec74f9c2 100644 --- a/src/battle_controller_opponent.c +++ b/src/battle_controller_opponent.c @@ -661,7 +661,7 @@ static void OpponentHandleChoosePokemon(u32 battler) chosenMonId = gSelectedMonPartyId = GetFirstFaintedPartyIndex(battler); } // Switching out - else if (*(gBattleStruct->AI_monToSwitchIntoId + battler) == PARTY_SIZE) + else if (gBattleStruct->AI_monToSwitchIntoId[battler] == PARTY_SIZE) { chosenMonId = GetMostSuitableMonToSwitchInto(battler, TRUE); if (chosenMonId == PARTY_SIZE) @@ -680,27 +680,27 @@ static void OpponentHandleChoosePokemon(u32 battler) } GetAIPartyIndexes(battler, &firstId, &lastId); - for (chosenMonId = (lastId-1); chosenMonId >= firstId; chosenMonId--) { - if (IsValidForBattle(&gEnemyParty[chosenMonId]) - && chosenMonId != gBattlerPartyIndexes[battler1] - && chosenMonId != gBattlerPartyIndexes[battler2] - && (!(AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_ACE_POKEMON) - || chosenMonId != CalculateEnemyPartyCount() - 1 - || CountAIAliveNonEggMonsExcept(PARTY_SIZE) == pokemonInBattle)) - { - break; - } + if (!IsValidForBattle(&gEnemyParty[chosenMonId])) + continue; + if (chosenMonId == gBattlerPartyIndexes[battler1] + || chosenMonId == gBattlerPartyIndexes[battler2]) + continue; + if ((AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_ACE_POKEMON) + && ((chosenMonId != CalculateEnemyPartyCount() - 1) || CountAIAliveNonEggMonsExcept(PARTY_SIZE) == pokemonInBattle)) + continue; + // mon is valid + break; } } - *(gBattleStruct->monToSwitchIntoId + battler) = chosenMonId; + gBattleStruct->monToSwitchIntoId[battler] = chosenMonId; } else { - chosenMonId = *(gBattleStruct->AI_monToSwitchIntoId + battler); - *(gBattleStruct->AI_monToSwitchIntoId + battler) = PARTY_SIZE; - *(gBattleStruct->monToSwitchIntoId + battler) = chosenMonId; + chosenMonId = gBattleStruct->AI_monToSwitchIntoId[battler]; + gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; + gBattleStruct->monToSwitchIntoId[battler] = chosenMonId; } #if TESTING TestRunner_Battle_CheckSwitch(battler, chosenMonId); diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 5c7be23e7d..da1a8754e1 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -6997,126 +6997,53 @@ static void Cmd_openpartyscreen(void) } else if (IsDoubleBattle()) { - bool8 hasReplacement_0, hasReplacement_1, hasReplacement_2, hasReplacement_3; - + bool32 hasReplacement; + hitmarkerFaintBits = gHitMarker >> 28; - - if (1u & hitmarkerFaintBits) + for (i = 0; i < gBattlersCount; i++) { - battler = 0; - if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) + if (((1u << i) & hitmarkerFaintBits)) { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[2]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; - } - else - { - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); - flags |= 1; + if (i > 1 && ((1u << BATTLE_PARTNER(i)) & hitmarkerFaintBits)) + continue; + + battler = i; + if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) + { + gAbsentBattlerFlags |= 1u << battler; + gHitMarker &= ~HITMARKER_FAINTED(battler); + BtlController_EmitCantSwitch(battler, BUFFER_A); + MarkBattlerForControllerExec(battler); + } + else if (!gSpecialStatuses[battler].faintedHasReplacement) + { + ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[BATTLE_PARTNER(battler)]); + gSpecialStatuses[battler].faintedHasReplacement = TRUE; + } + else if (battler < 2 || (battler > 1 && !(flags & BATTLE_PARTNER(battler)))) + { + BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); + MarkBattlerForControllerExec(battler); + flags |= battler; + } } } - if (4u & hitmarkerFaintBits && !(1u & hitmarkerFaintBits)) + + for (i = 0; i < NUM_BATTLE_SIDES; i++) { - battler = 2; - if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) + if (!(gSpecialStatuses[i].faintedHasReplacement)) { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[0]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; - } - else if (!(flags & 1)) - { - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); - } - } - if (2 & hitmarkerFaintBits) - { - battler = 1; - if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) - { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[3]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; - } - else - { - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); - flags |= 2; - } - } - if (8 & hitmarkerFaintBits && !(2 & hitmarkerFaintBits)) - { - battler = 3; - if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) - { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[1]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; - } - else if (!(flags & 2)) - { - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); - } - } + hasReplacement = gSpecialStatuses[BATTLE_PARTNER(i)].faintedHasReplacement; + if (!hasReplacement && hitmarkerFaintBits != 0) + { + if (gAbsentBattlerFlags & (1 << i)) + battler = BATTLE_PARTNER(i); + else + battler = i; - hasReplacement_0 = gSpecialStatuses[0].faintedHasReplacement; - if (!hasReplacement_0) - { - hasReplacement_2 = gSpecialStatuses[2].faintedHasReplacement; - if (!hasReplacement_2 && hitmarkerFaintBits != 0) - { - if (gAbsentBattlerFlags & 1) - battler = 2; - else - battler = 0; - - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); - } - - } - hasReplacement_1 = gSpecialStatuses[1].faintedHasReplacement; - if (!hasReplacement_1) - { - hasReplacement_3 = gSpecialStatuses[3].faintedHasReplacement; - if (!hasReplacement_3 && hitmarkerFaintBits != 0) - { - if (gAbsentBattlerFlags & 2) - battler = 3; - else - battler = 1; - - BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); - MarkBattlerForControllerExec(battler); + BtlController_EmitLinkStandbyMsg(battler, BUFFER_A, LINK_STANDBY_MSG_ONLY, FALSE); + MarkBattlerForControllerExec(battler); + } } } } @@ -7129,36 +7056,23 @@ static void Cmd_openpartyscreen(void) if (IsDoubleBattle()) { hitmarkerFaintBits = gHitMarker >> 28; - if (4 & hitmarkerFaintBits && 1 & hitmarkerFaintBits) + for (i = 0; i < NUM_BATTLE_SIDES; i++) { - battler = 2; - if (HasNoMonsToSwitch(battler, gBattleResources->bufferB[0][1], PARTY_SIZE)) + if ((1 << BATTLE_PARTNER(i)) & hitmarkerFaintBits && (1 << i) & hitmarkerFaintBits) { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[0]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; - } - } - if (8u & hitmarkerFaintBits && hitmarkerFaintBits & 2u) - { - battler = 3; - if (HasNoMonsToSwitch(battler, gBattleResources->bufferB[1][1], PARTY_SIZE)) - { - gAbsentBattlerFlags |= 1u << battler; - gHitMarker &= ~HITMARKER_FAINTED(battler); - BtlController_EmitCantSwitch(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - } - else if (!gSpecialStatuses[battler].faintedHasReplacement) - { - ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[1]); - gSpecialStatuses[battler].faintedHasReplacement = TRUE; + battler = BATTLE_PARTNER(i); + if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) + { + gAbsentBattlerFlags |= (1u << battler); + gHitMarker &= ~(HITMARKER_FAINTED(battler)); + BtlController_EmitCantSwitch(battler, BUFFER_A); + MarkBattlerForControllerExec(battler); + } + else if (!gSpecialStatuses[battler].faintedHasReplacement) + { + ChooseMonToSendOut(battler, gBattleStruct->monToSwitchIntoId[i]); + gSpecialStatuses[battler].faintedHasReplacement = TRUE; + } } } gBattlescriptCurrInstr = cmd->nextInstr; From 7fc5502afd583c3ce404d281413b303dfef72e88 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Wed, 9 Oct 2024 03:38:49 -0400 Subject: [PATCH 071/278] Don't clear move data on turn end (#5488) --- src/battle_util.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/battle_util.c b/src/battle_util.c index 2e463eaf58..b572acc7c1 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -738,8 +738,6 @@ void HandleAction_ActionFinished(void) gMoveResultFlags = 0; gBattleScripting.animTurn = 0; gBattleScripting.animTargetsHit = 0; - gLastLandedMoves[gBattlerAttacker] = 0; - gLastHitByType[gBattlerAttacker] = 0; gBattleStruct->dynamicMoveType = 0; gBattleScripting.moveendState = 0; gBattleCommunication[3] = 0; From 708f64247f8abbe22d5cc6f44ede30b333dd030c Mon Sep 17 00:00:00 2001 From: SonikkuA-DatH <58025603+SonikkuA-DatH@users.noreply.github.com> Date: Wed, 9 Oct 2024 01:43:04 -0700 Subject: [PATCH 072/278] Heart Swap Move Animation (#5460) --- data/battle_anim_scripts.s | 38 +++++++ graphics/battle_anims/sprites/pinkvio_orb.png | Bin 0 -> 5019 bytes include/constants/battle_anim.h | 1 + include/graphics.h | 2 + src/battle_anim_effects_2.c | 12 +++ src/battle_anim_psychic.c | 100 +++++++++++++++++- src/data/battle_anim.h | 2 + src/graphics.c | 3 + 8 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 graphics/battle_anims/sprites/pinkvio_orb.png diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index 98ac1bfda7..c16a5c7859 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -934,6 +934,44 @@ gBattleAnimMove_ToxicSpikes:: end gBattleAnimMove_HeartSwap:: + loadspritegfx ANIM_TAG_RED_HEART + loadspritegfx ANIM_TAG_PINKVIO_ORB + loadspritegfx ANIM_TAG_SPARKLE_2 + createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 0, 8, RGB(31, 24, 26) + createvisualtask AnimTask_HeartSwap, 3, ANIM_TARGET + createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB_WHITE, 12, 3, 1 + loopsewithpan SE_M_TAIL_WHIP, SOUND_PAN_ATTACKER, 10, 8 + delay 16 + createvisualtask AnimTask_HeartSwap, 3, ANIM_ATTACKER + createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB_WHITE, 12, 3, 1 + waitforvisualfinish + createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, -15, 0, 0, 0, 32, 60 + createsprite gGrantingStarsSpriteTemplate, ANIM_TARGET, 2, -15, 0, 0, 0, 32, 60 + delay 8 + createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 2, 12, -5, 0, 0, 32, 60 + createsprite gGrantingStarsSpriteTemplate, ANIM_TARGET, 2, 12, -5, 0, 0, 32, 60 + delay 4 + playsewithpan SE_SHINY, SOUND_PAN_ATTACKER + createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_ATTACKER, RGB(31, 25, 27), 12, 3, 1 + createvisualtask AnimTask_ScaleMonAndRestore, 5, -3, -3, 16, ANIM_ATTACKER, 0 + createvisualtask AnimTask_BlendMonInAndOut, 5, ANIM_TARGET, RGB(31, 25, 27), 12, 3, 1 + createvisualtask AnimTask_ScaleMonAndRestore, 5, -3, -3, 16, ANIM_TARGET, 0 + createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 160, -32 + createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, -256, -40 + createsprite gRedHeartBurstSpriteTemplate, ANIM_TARGET, 3, 128, -16 + createvisualtask AnimTask_BlendBattleAnimPal, 10, F_PAL_BG, 3, 8, 0, RGB(31, 24, 26) + createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, 0, 20 + playsewithpan SE_M_MORNING_SUN, SOUND_PAN_ATTACKER + delay 15 + createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, -20, 20 + playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER + delay 15 + createsprite gRedHeartCharmSpriteTemplate, ANIM_ATTACKER, 3, 20, 20 + playsewithpan SE_M_CHARM, SOUND_PAN_ATTACKER + waitforvisualfinish + clearmonbg ANIM_ATTACKER + clearmonbg ANIM_TARGET + blendoff end gBattleAnimMove_AquaRing:: diff --git a/graphics/battle_anims/sprites/pinkvio_orb.png b/graphics/battle_anims/sprites/pinkvio_orb.png new file mode 100644 index 0000000000000000000000000000000000000000..d0d7c927549bb8590999f1f5184bc587c67501f8 GIT binary patch literal 5019 zcmeHKdsGu=7M}nT5=3YL6}BxQNCj(>$@^g4#Fq%fJ8K!iL<0tCCDE7V6p z3a;1|aVcUcsIUcE5mZ_gs@7s36j2aV>{=0p^#O&V(n&zYvpsu`=WPEoCzH(F@7~|N z_jm7ilW)5+e5o7Jmk0oWn_MP|z`i|fmy;v*d8fM<6F81+P_3~o}cf2yQWl->OdH%;RBiHuZ*>t z;?K_c{PGTeikWo9U9#X#|5*=1;dDt^%%`P1H-f=Y<16c`o$1HEO!cp?svcWrIjR*N z>N%BZb&va(VC0n>Z-&kkO5X&0>I3C4@Ex77sio=;ddIzOwo5~A-x0FM5U&00@W#l0 zCw$bODL9CxhZlIBeOy5sJA0&U(`%U{7wXzC^^Rr6fAE>VpeAIX=iqQk>l$h88>+E} zij3ey*ZYih(>s=Jx&gHXZ1EZjdPVw5`?ON!2ers9^**TL#~tkUIc^`d9&ytQicucoFg)eh6THBPf+a~gnQ~-7&E@C6^-qjGkJu%y((jy2bcy$}o3p}4ZO?H_4MrV+F$H<%yQ|2uQ z<(B&G@!4hU4P3M*h@f8E?-6oho;rx1e1ZQJwI{%K}!;4;#`EkKVu8LiJ z)v|f(+bcUhKJeGbpMx&4Vjj>XJLu(3C4}9cP2nHrN8FfyNwf6QFZt}##l(}JUhI93 zR+_LqaAkEw%|=zMxZO8#eYyXxB3cWbte15J*7V3uq1R9&soN09n=IlPt!4P zH(vT8pvUX=Zyqh<5{JXNk5zo%ACFgFF4M0*(4IWKaAgg}6`O=#_h4jJ)co%6w$pZ_HS;v(Sw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Target, BATTLER_COORD_ATTR_LEFT) + 8; @@ -1023,6 +1036,55 @@ void AnimTask_SkillSwap(u8 taskId) task->func = AnimTask_SkillSwap_Step; } +// Copy of Skill Swap's function to get position of the user and target +// arg 0: move target +void AnimTask_HeartSwap(u8 taskId) +{ + struct Task *task = &gTasks[taskId]; + + if (IsContest()) + { + if (gBattleAnimArgs[0] == ANIM_TARGET) + { + task->data[10] = -10; + task->data[11] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_RIGHT) - 8; + task->data[12] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_TOP) + 8; + task->data[13] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_RIGHT) - 8; + task->data[14] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_TOP) + 8; + } + else + { + task->data[10] = 10; + task->data[11] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_LEFT) + 8; + task->data[12] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_BOTTOM) - 8; + task->data[13] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_LEFT) + 8; + task->data[14] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_BOTTOM) - 8; + } + } + else + { + if (gBattleAnimArgs[0] == ANIM_TARGET) + { + task->data[10] = -10; + task->data[11] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_LEFT) + 8; + task->data[12] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_TOP) + 8; + task->data[13] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_LEFT) + 8; + task->data[14] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_TOP) + 8; + } + else + { + task->data[10] = 10; + task->data[11] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_RIGHT) - 8; + task->data[12] = GetBattlerSpriteCoordAttr(gBattleAnimAttacker, BATTLER_COORD_ATTR_BOTTOM) - 8; + task->data[13] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_RIGHT) - 8; + task->data[14] = GetBattlerSpriteCoordAttr(gBattleAnimTarget, BATTLER_COORD_ATTR_BOTTOM) - 8; + } + } + + task->data[1] = 6; + task->func = AnimTask_HeartSwap_Step; +} + static void AnimTask_SkillSwap_Step(u8 taskId) { u8 spriteId; @@ -1057,6 +1119,42 @@ static void AnimTask_SkillSwap_Step(u8 taskId) } } +// Copy of Skill Swap's function to vault the series of orbs between the user and target +// CreateSprite modified so it uses the pink orbs instead of the blue/green ones +static void AnimTask_HeartSwap_Step(u8 taskId) +{ + u8 spriteId; + struct Task *task = &gTasks[taskId]; + + switch (task->data[0]) + { + case 0: + if (++task->data[1] > 6) + { + task->data[1] = 0; + spriteId = CreateSprite(&gHeartSwapOrbSpriteTemplate, task->data[11], task->data[12], 0); + if (spriteId != MAX_SPRITES) + { + gSprites[spriteId].data[0] = 16; + gSprites[spriteId].data[2] = task->data[13]; + gSprites[spriteId].data[4] = task->data[14]; + gSprites[spriteId].data[5] = task->data[10]; + + InitAnimArcTranslation(&gSprites[spriteId]); + StartSpriteAffineAnim(&gSprites[spriteId], task->data[2] & 3); + } + + if (++task->data[2] == 12) + task->data[0]++; + } + break; + case 1: + if (++task->data[1] > 17) + DestroyAnimVisualTask(taskId); + break; + } +} + static void AnimSkillSwapOrb(struct Sprite *sprite) { if (TranslateAnimHorizontalArc(sprite)) diff --git a/src/data/battle_anim.h b/src/data/battle_anim.h index 2ab982d2d7..a09c8d72c8 100644 --- a/src/data/battle_anim.h +++ b/src/data/battle_anim.h @@ -1465,6 +1465,7 @@ const struct CompressedSpriteSheet gBattleAnimPicTable[] = {gBattleAnimSpriteGfx_RedExplosion, 0x0800, ANIM_TAG_RED_EXPLOSION}, {gBattleAnimSpriteGfx_Beam, 0x0800, ANIM_TAG_BEAM}, {gBattleAnimSpriteGfx_PurpleChain, 0x1000, ANIM_TAG_PURPLE_CHAIN}, + {gBattleAnimSpriteGfx_PinkVioletOrb, 0x0080, ANIM_TAG_PINKVIO_ORB}, }; const struct CompressedSpritePalette gBattleAnimPaletteTable[] = @@ -1931,6 +1932,7 @@ const struct CompressedSpritePalette gBattleAnimPaletteTable[] = {gBattleAnimSpritePal_RedExplosion, ANIM_TAG_RED_EXPLOSION}, {gBattleAnimSpritePal_Beam, ANIM_TAG_BEAM}, {gBattleAnimSpritePal_PurpleChain, ANIM_TAG_PURPLE_CHAIN}, + {gBattleAnimSpritePal_PinkVioletOrb, ANIM_TAG_PINKVIO_ORB}, }; const struct BattleAnimBackground gBattleAnimBackgroundTable[] = diff --git a/src/graphics.c b/src/graphics.c index 231aec4158..5aafa8ae45 100644 --- a/src/graphics.c +++ b/src/graphics.c @@ -1263,6 +1263,9 @@ const u32 gBattleAnimSpriteGfx_XSign[] = INCBIN_U32("graphics/battle_anims/sprit const u32 gBattleAnimSpriteGfx_BluegreenOrb[] = INCBIN_U32("graphics/battle_anims/sprites/bluegreen_orb.4bpp.lz"); const u32 gBattleAnimSpritePal_BluegreenOrb[] = INCBIN_U32("graphics/battle_anims/sprites/bluegreen_orb.gbapal.lz"); +const u32 gBattleAnimSpriteGfx_PinkVioletOrb[] = INCBIN_U32("graphics/battle_anims/sprites/pinkvio_orb.4bpp.lz"); +const u32 gBattleAnimSpritePal_PinkVioletOrb[] = INCBIN_U32("graphics/battle_anims/sprites/pinkvio_orb.gbapal.lz"); + const u32 gBattleAnimSpriteGfx_PawPrint[] = INCBIN_U32("graphics/battle_anims/sprites/paw_print.4bpp.lz"); const u32 gBattleAnimSpritePal_PawPrint[] = INCBIN_U32("graphics/battle_anims/sprites/paw_print.gbapal.lz"); From 14546443768cb457a8e548e3f43a7d613ebb7bfd Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 9 Oct 2024 15:50:59 +0200 Subject: [PATCH 073/278] Removes duplicate code in AI functions (#5457) * Make functions CanAbilityAbsorbMove and CanAbilityBlockMove * clean up * Replace ai code with CanAbilityBlockMove / CanAbilityAbsorbMove * Adds CanPartnerAbilityBlockMove * Use switches instead of if-blocks * solve potential bug in singles with spread attacks * fix test * revert other fix * flash fire does not increase a stat * left a comment for a future test and addition * remove more checks * comment was incorrect. it only applies to storm drain and lightning rod * revert ndebug * revert minor change * Update src/battle_util.c --- include/battle.h | 2 +- include/battle_util.h | 20 +++ src/battle_ai_main.c | 47 ++----- src/battle_ai_util.c | 61 +++----- src/battle_main.c | 1 + src/battle_util.c | 318 ++++++++++++++++++++++++------------------ 6 files changed, 230 insertions(+), 219 deletions(-) diff --git a/include/battle.h b/include/battle.h index 2d1d658419..894b74ffde 100644 --- a/include/battle.h +++ b/include/battle.h @@ -378,6 +378,7 @@ struct AiLogicData u8 ejectPackSwitch:1; // Tracks whether current switch out was from Eject Pack u8 padding:5; u8 shouldSwitch; // Stores result of ShouldSwitch, which decides whether a mon should be switched out + u8 aiCalcInProgress:1; }; struct AI_ThinkingStruct @@ -716,7 +717,6 @@ struct BattleStruct } multiBuffer; u8 wishPerishSongState; u8 wishPerishSongBattlerId; - u8 aiCalcInProgress:1; u8 overworldWeatherDone:1; u8 startingStatusDone:1; u8 isAtkCancelerForCalledMove:1; // Certain cases in atk canceler should only be checked once, when the original move is called, however others need to be checked the twice. diff --git a/include/battle_util.h b/include/battle_util.h index c4727d8a12..504c3be3ad 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -20,6 +20,23 @@ #define MOVE_LIMITATION_PLACEHOLDER (1 << 15) #define MOVE_LIMITATIONS_ALL 0xFFFF +enum MoveBlocked +{ + MOVE_BLOCKED_BY_NO_ABILITY, + MOVE_BLOCKED_BY_SOUNDPROOF_OR_BULLETPROOF, + MOVE_BLOCKED_BY_DAZZLING, + MOVE_BLOCKED_BY_PARTNER_DAZZLING, + MOVE_BLOCKED_BY_GOOD_AS_GOLD, +}; + +enum MoveAbsorbed +{ + MOVE_ABSORBED_BY_NO_ABILITY, + MOVE_ABSORBED_BY_DRAIN_HP_ABILITY, + MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY, + MOVE_ABSORBED_BY_BOOST_FLASH_FIRE, +}; + enum { ABILITYEFFECT_ON_SWITCHIN, ABILITYEFFECT_ENDTURN, @@ -161,6 +178,9 @@ void SetAtkCancellerForCalledMove(void); u8 AtkCanceller_UnableToUseMove2(void); bool32 HasNoMonsToSwitch(u32 battler, u8 r1, u8 r2); bool32 TryChangeBattleWeather(u32 battler, u32 weatherEnumId, bool32 viaAbility); +u32 CanAbilityBlockMove(u32 battlerAtk, u32 battlerDef, u32 move, u32 abilityDef); +u32 CanPartnerAbilityBlockMove(u32 battlerAtk, u32 battlerDef, u32 move, u32 abilityDef); +u32 CanAbilityAbsorbMove(u32 battlerAtk, u32 battlerDef, u32 abilityDef, u32 move, u32 moveType); u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 moveArg); bool32 TryPrimalReversion(u32 battler); bool32 IsNeutralizingGasOnField(void); diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 5ab8e652c6..a08ca0f71f 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -873,6 +873,12 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) // target ability checks if (!DoesBattlerIgnoreAbilityChecks(aiData->abilities[battlerAtk], move)) { + if (CanAbilityBlockMove(battlerAtk, battlerDef, move, aiData->abilities[battlerDef])) + RETURN_SCORE_MINUS(20); + + if (CanAbilityAbsorbMove(battlerAtk, battlerDef, aiData->abilities[battlerDef], move, moveType)) + RETURN_SCORE_MINUS(20); + switch (aiData->abilities[battlerDef]) { case ABILITY_MAGIC_GUARD: @@ -903,12 +909,6 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) && (moveType == TYPE_DARK || moveType == TYPE_GHOST || moveType == TYPE_BUG)) RETURN_SCORE_MINUS(10); break; - case ABILITY_DAZZLING: - case ABILITY_QUEENLY_MAJESTY: - case ABILITY_ARMOR_TAIL: - if (atkPriority > 0) - RETURN_SCORE_MINUS(10); - break; case ABILITY_AROMA_VEIL: if (IsAromaVeilProtectedMove(move)) RETURN_SCORE_MINUS(10); @@ -972,37 +972,14 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) && IsNonVolatileStatusMoveEffect(moveEffect)) RETURN_SCORE_MINUS(10); break; - case ABILITY_LIGHTNING_ROD: - if (B_REDIRECT_ABILITY_IMMUNITY < GEN_5) - break; - // Fallthrough - case ABILITY_MOTOR_DRIVE: - case ABILITY_VOLT_ABSORB: - if (moveType == TYPE_ELECTRIC) - RETURN_SCORE_MINUS(20); - break; - case ABILITY_STORM_DRAIN: - if (B_REDIRECT_ABILITY_IMMUNITY < GEN_5) - break; - // Fallthrough - case ABILITY_WATER_ABSORB: - case ABILITY_DRY_SKIN: - if (moveType == TYPE_WATER) - RETURN_SCORE_MINUS(20); - break; - case ABILITY_FLASH_FIRE: - if (moveType == TYPE_FIRE) - RETURN_SCORE_MINUS(20); - break; - case ABILITY_EARTH_EATER: - if (moveType == TYPE_GROUND) - RETURN_SCORE_MINUS(20); - break; } // def ability checks // target partner ability checks & not attacking partner if (isDoubleBattle) { + if (CanPartnerAbilityBlockMove(battlerAtk, battlerDef, move, aiData->abilities[BATTLE_PARTNER(battlerDef)])) + RETURN_SCORE_MINUS(20); + switch (aiData->abilities[BATTLE_PARTNER(battlerDef)]) { case ABILITY_LIGHTNING_ROD: @@ -1029,12 +1006,6 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) if (IsAromaVeilProtectedMove(move)) RETURN_SCORE_MINUS(10); break; - case ABILITY_DAZZLING: - case ABILITY_QUEENLY_MAJESTY: - case ABILITY_ARMOR_TAIL: - if (atkPriority > 0) - RETURN_SCORE_MINUS(10); - break; } } // def partner ability checks } // ignore def ability check diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 612e89c9ce..bf84f98b4d 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -402,12 +402,19 @@ bool32 IsDamageMoveUnusable(u32 move, u32 battlerAtk, u32 battlerDef) { struct AiLogicData *aiData = AI_DATA; u32 battlerDefAbility; + u32 partnerBattlerDefAbility; u32 moveType = GetMoveType(move); if (DoesBattlerIgnoreAbilityChecks(aiData->abilities[battlerAtk], move)) + { battlerDefAbility = ABILITY_NONE; + partnerBattlerDefAbility = ABILITY_NONE; + } else + { battlerDefAbility = aiData->abilities[battlerDef]; + partnerBattlerDefAbility = aiData->abilities[BATTLE_PARTNER(battlerDef)]; + } if (battlerDef == BATTLE_PARTNER(battlerAtk)) battlerDefAbility = aiData->abilities[battlerDef]; @@ -415,47 +422,14 @@ bool32 IsDamageMoveUnusable(u32 move, u32 battlerAtk, u32 battlerDef) if (gBattleStruct->commandingDondozo & (1u << battlerDef)) return TRUE; - switch (battlerDefAbility) - { - case ABILITY_LIGHTNING_ROD: - if (B_REDIRECT_ABILITY_IMMUNITY < GEN_5) - break; - // Fallthrough - case ABILITY_VOLT_ABSORB: - case ABILITY_MOTOR_DRIVE: - if (moveType == TYPE_ELECTRIC) - return TRUE; - break; - case ABILITY_STORM_DRAIN: - if (B_REDIRECT_ABILITY_IMMUNITY < GEN_5) - break; - // Fallthrough - case ABILITY_WATER_ABSORB: - case ABILITY_DRY_SKIN: - if (moveType == TYPE_WATER) - return TRUE; - break; - case ABILITY_FLASH_FIRE: - if (moveType == TYPE_FIRE) - return TRUE; - break; - case ABILITY_SOUNDPROOF: - if (gMovesInfo[move].soundMove) - return TRUE; - break; - case ABILITY_BULLETPROOF: - if (gMovesInfo[move].ballisticMove) - return TRUE; - break; - case ABILITY_SAP_SIPPER: - if (moveType == TYPE_GRASS) - return TRUE; - break; - case ABILITY_EARTH_EATER: - if (moveType == TYPE_GROUND) - return TRUE; - break; - } + if (CanAbilityBlockMove(battlerAtk, battlerDef, move, aiData->abilities[battlerDef])) + return TRUE; + + if (CanPartnerAbilityBlockMove(battlerAtk, battlerDef, move, partnerBattlerDefAbility)) + return TRUE; + + if (CanAbilityAbsorbMove(battlerAtk, battlerDef, aiData->abilities[battlerDef], move, moveType)) + return TRUE; switch (gMovesInfo[move].effect) { @@ -526,7 +500,7 @@ struct SimulatedDamage AI_CalcDamage(u32 move, u32 battlerAtk, u32 battlerDef, u bool32 isDamageMoveUnusable = FALSE; bool32 toggledGimmick = FALSE; struct AiLogicData *aiData = AI_DATA; - gBattleStruct->aiCalcInProgress = TRUE; + AI_DATA->aiCalcInProgress = TRUE; if (moveEffect == EFFECT_NATURE_POWER) move = GetNaturePowerMove(battlerAtk); @@ -736,12 +710,11 @@ struct SimulatedDamage AI_CalcDamage(u32 move, u32 battlerAtk, u32 battlerDef, u *typeEffectiveness = AI_GetEffectiveness(effectivenessMultiplier); // Undo temporary settings - gBattleStruct->aiCalcInProgress = FALSE; gBattleStruct->swapDamageCategory = FALSE; gBattleStruct->zmove.baseMoves[battlerAtk] = MOVE_NONE; if (toggledGimmick) SetActiveGimmick(battlerAtk, GIMMICK_NONE); - + AI_DATA->aiCalcInProgress = FALSE; return simDamage; } diff --git a/src/battle_main.c b/src/battle_main.c index c1974e0f6a..6e8a0d0e8f 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -4202,6 +4202,7 @@ static void HandleTurnActionSelectionState(void) AI_DATA->mostSuitableMonId[battler] = GetMostSuitableMonToSwitchInto(battler, TRUE); else AI_DATA->mostSuitableMonId[battler] = GetMostSuitableMonToSwitchInto(battler, FALSE); + gBattleStruct->aiMoveOrAction[battler] = ComputeBattleAiScores(battler); } // fallthrough diff --git a/src/battle_util.c b/src/battle_util.c index e1f10d4eda..01b41aaf7a 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -4107,12 +4107,125 @@ static void ChooseStatBoostAnimation(u32 battler) #undef ANIM_STAT_ACC #undef ANIM_STAT_EVASION +u32 CanAbilityBlockMove(u32 battlerAtk, u32 battlerDef, u32 move, u32 abilityDef) +{ + enum MoveBlocked effect = MOVE_BLOCKED_BY_NO_ABILITY; + + switch (abilityDef) + { + case ABILITY_SOUNDPROOF: + if (gMovesInfo[move].soundMove && !(GetBattlerMoveTargetType(battlerAtk, move) & MOVE_TARGET_USER)) + effect = MOVE_BLOCKED_BY_SOUNDPROOF_OR_BULLETPROOF; + break; + case ABILITY_BULLETPROOF: + if (gMovesInfo[move].ballisticMove) + effect = MOVE_BLOCKED_BY_SOUNDPROOF_OR_BULLETPROOF; + break; + case ABILITY_DAZZLING: + case ABILITY_QUEENLY_MAJESTY: + case ABILITY_ARMOR_TAIL: + if (GetBattlerSide(battlerAtk) != GetBattlerSide(battlerDef)) + { + u32 priority = AI_DATA->aiCalcInProgress ? GetMovePriority(battlerAtk, move) : GetChosenMovePriority(battlerAtk); + if (priority > 0) + effect = MOVE_BLOCKED_BY_DAZZLING; + } + break; + case ABILITY_GOOD_AS_GOLD: + if (IS_MOVE_STATUS(move)) + { + u32 moveTarget = GetBattlerMoveTargetType(battlerAtk, move); + if (!(moveTarget & MOVE_TARGET_OPPONENTS_FIELD) && !(moveTarget & MOVE_TARGET_ALL_BATTLERS)) + effect = MOVE_BLOCKED_BY_GOOD_AS_GOLD; + } + break; + } + + if (!effect) + effect = CanPartnerAbilityBlockMove(battlerAtk, battlerDef, move, GetBattlerAbility(BATTLE_PARTNER(battlerDef))); + + return effect; +} + +u32 CanPartnerAbilityBlockMove(u32 battlerAtk, u32 battlerDef, u32 move, u32 abilityDef) +{ + switch (abilityDef) + { + case ABILITY_DAZZLING: + case ABILITY_QUEENLY_MAJESTY: + case ABILITY_ARMOR_TAIL: + if (GetBattlerSide(battlerAtk) != GetBattlerSide(battlerDef)) + { + s32 priority = AI_DATA->aiCalcInProgress ? GetMovePriority(battlerAtk, move) : GetChosenMovePriority(battlerAtk); + if (priority > 0) + return MOVE_BLOCKED_BY_PARTNER_DAZZLING; + } + break; + } + return MOVE_BLOCKED_BY_NO_ABILITY; +} + +u32 CanAbilityAbsorbMove(u32 battlerAtk, u32 battlerDef, u32 abilityDef, u32 move, u32 moveType) +{ + enum MoveAbsorbed effect = MOVE_ABSORBED_BY_NO_ABILITY; + + switch (abilityDef) + { + default: + effect = MOVE_ABSORBED_BY_NO_ABILITY; + break; + case ABILITY_VOLT_ABSORB: + if (moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) + effect = MOVE_ABSORBED_BY_DRAIN_HP_ABILITY; + break; + case ABILITY_WATER_ABSORB: + case ABILITY_DRY_SKIN: + if (moveType == TYPE_WATER) + effect = MOVE_ABSORBED_BY_DRAIN_HP_ABILITY; + break; + case ABILITY_EARTH_EATER: + if (moveType == TYPE_GROUND) + effect = MOVE_ABSORBED_BY_DRAIN_HP_ABILITY; + break; + case ABILITY_MOTOR_DRIVE: + if (moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) // Potential bug in singles (might be solved with simu hp reudction) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_LIGHTNING_ROD: + if (B_REDIRECT_ABILITY_IMMUNITY >= GEN_5 && moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) // Potential bug in singles (might be solved with simu hp reudction) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_STORM_DRAIN: + if (B_REDIRECT_ABILITY_IMMUNITY >= GEN_5 && moveType == TYPE_WATER) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_SAP_SIPPER: + if (moveType == TYPE_GRASS) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_WELL_BAKED_BODY: + if (moveType == TYPE_FIRE) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_WIND_RIDER: + if (gMovesInfo[move].windMove && !(GetBattlerMoveTargetType(battlerAtk, move) & MOVE_TARGET_USER)) + effect = MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY; + break; + case ABILITY_FLASH_FIRE: + if (moveType == TYPE_FIRE && (B_FLASH_FIRE_FROZEN >= GEN_5 || !(gBattleMons[battlerDef].status1 & STATUS1_FREEZE))) + effect = MOVE_ABSORBED_BY_BOOST_FLASH_FIRE; + break; + } + + return effect; +} + u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 moveArg) { u32 effect = 0; - u32 moveType, move; - u32 side; - u32 i, j; + u32 moveType = 0, move = 0; + u32 side = 0; + u32 i = 0, j = 0; u32 partner = 0; struct Pokemon *mon; @@ -5206,153 +5319,87 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } } break; - case ABILITYEFFECT_MOVES_BLOCK: case ABILITYEFFECT_WOULD_BLOCK: + effect = CanAbilityBlockMove(gBattlerAttacker, battler, move, gLastUsedAbility); + if (effect && gLastUsedAbility != 0xFFFF) + RecordAbilityBattle(battler, gLastUsedAbility); + break; + case ABILITYEFFECT_MOVES_BLOCK: { - u16 moveTarget = GetBattlerMoveTargetType(battler, move); + effect = CanAbilityBlockMove(gBattlerAttacker, battler, move, gLastUsedAbility); const u8 * battleScriptBlocksMove = NULL; - - switch (gLastUsedAbility) - { - case ABILITY_SOUNDPROOF: - if (gMovesInfo[move].soundMove && !(moveTarget & MOVE_TARGET_USER)) - effect = 1; - break; - case ABILITY_BULLETPROOF: - if (gMovesInfo[move].ballisticMove) - effect = 1; - break; - case ABILITY_DAZZLING: - case ABILITY_QUEENLY_MAJESTY: - case ABILITY_ARMOR_TAIL: - if (GetChosenMovePriority(gBattlerAttacker) > 0 && GetBattlerSide(gBattlerAttacker) != GetBattlerSide(battler)) - effect = 2; - break; - case ABILITY_GOOD_AS_GOLD: - if (IS_MOVE_STATUS(gCurrentMove) - && !(moveTarget & MOVE_TARGET_OPPONENTS_FIELD) - && !(moveTarget & MOVE_TARGET_ALL_BATTLERS)) - effect = 3; - break; - } - - if (!effect) - { - switch (GetBattlerAbility(BATTLE_PARTNER(battler))) - { - case ABILITY_DAZZLING: - case ABILITY_QUEENLY_MAJESTY: - case ABILITY_ARMOR_TAIL: - if (GetChosenMovePriority(gBattlerAttacker) > 0 && GetBattlerSide(gBattlerAttacker) != GetBattlerSide(battler)) - effect = 4; - break; - } - } - - if (effect == 1) + switch (effect) { + case MOVE_BLOCKED_BY_SOUNDPROOF_OR_BULLETPROOF: if (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS) gHitMarker |= HITMARKER_NO_PPDEDUCT; battleScriptBlocksMove = BattleScript_SoundproofProtected; - } - else if (effect == 2 || effect == 4) - { - if (effect == 4) + break; + case MOVE_BLOCKED_BY_DAZZLING: + case MOVE_BLOCKED_BY_PARTNER_DAZZLING: + if (effect == MOVE_BLOCKED_BY_PARTNER_DAZZLING) gBattleScripting.battler = BATTLE_PARTNER(battler); else gBattleScripting.battler = battler; - if (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS) gHitMarker |= HITMARKER_NO_PPDEDUCT; battleScriptBlocksMove = BattleScript_DazzlingProtected; - } - else if (effect == 3) - { + break; + case MOVE_BLOCKED_BY_GOOD_AS_GOLD: battleScriptBlocksMove = BattleScript_GoodAsGoldActivates; + break; + default: + if (GetChosenMovePriority(gBattlerAttacker) > 0 + && BlocksPrankster(move, gBattlerAttacker, gBattlerTarget, TRUE) + && !(IS_MOVE_STATUS(move) && (gLastUsedAbility == ABILITY_MAGIC_BOUNCE || gProtectStructs[gBattlerTarget].bounceMove))) + { + if (!IsDoubleBattle() + || !(GetBattlerMoveTargetType(gBattlerAttacker, move) & (MOVE_TARGET_BOTH | MOVE_TARGET_FOES_AND_ALLY))) + CancelMultiTurnMoves(gBattlerAttacker); // Don't cancel moves that can hit two targets bc one target might not be protected + gBattleScripting.battler = gBattlerAbility = gBattlerTarget; + battleScriptBlocksMove = BattleScript_DarkTypePreventsPrankster; + effect = 1; + } } - else if (GetChosenMovePriority(gBattlerAttacker) > 0 - && BlocksPrankster(move, gBattlerAttacker, gBattlerTarget, TRUE) - && !(IS_MOVE_STATUS(move) && (gLastUsedAbility == ABILITY_MAGIC_BOUNCE || gProtectStructs[gBattlerTarget].bounceMove))) - { - if (!IsDoubleBattle() || !(moveTarget & (MOVE_TARGET_BOTH | MOVE_TARGET_FOES_AND_ALLY))) - CancelMultiTurnMoves(gBattlerAttacker); // Don't cancel moves that can hit two targets bc one target might not be protected - gBattleScripting.battler = gBattlerAbility = gBattlerTarget; - battleScriptBlocksMove = BattleScript_DarkTypePreventsPrankster; - effect = 1; - } - if (caseID == ABILITYEFFECT_WOULD_BLOCK) - { - if (effect && gLastUsedAbility != 0xFFFF) - RecordAbilityBattle(battler, gLastUsedAbility); - - return effect; - } - else if (effect) - { + if (effect) gBattlescriptCurrInstr = battleScriptBlocksMove; - } - break; } - case ABILITYEFFECT_ABSORBING: + break; case ABILITYEFFECT_WOULD_ABSORB: - if (move != MOVE_NONE) + effect = CanAbilityAbsorbMove(gBattlerAttacker, battler, gLastUsedAbility, move, moveType); + gBattleStruct->pledgeMove = FALSE; + if (effect && gLastUsedAbility != 0xFFFF) + RecordAbilityBattle(battler, gLastUsedAbility); + return effect; + case ABILITYEFFECT_ABSORBING: { - u8 statId = 0; - u8 statAmount = 1; - switch (gLastUsedAbility) + u32 statId = 0; + u32 statAmount = 1; + effect = CanAbilityAbsorbMove(gBattlerAttacker, battler, gLastUsedAbility, move, moveType); + if (effect) { - case ABILITY_VOLT_ABSORB: - if (moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) - effect = 1; - break; - case ABILITY_WATER_ABSORB: - case ABILITY_DRY_SKIN: - if (moveType == TYPE_WATER) - effect = 1; - break; - case ABILITY_MOTOR_DRIVE: - if (moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) - effect = 2, statId = STAT_SPEED; - break; - case ABILITY_LIGHTNING_ROD: - if (B_REDIRECT_ABILITY_IMMUNITY >= GEN_5 && moveType == TYPE_ELECTRIC && gMovesInfo[move].target != MOVE_TARGET_ALL_BATTLERS) - effect = 2, statId = STAT_SPATK; - break; - case ABILITY_STORM_DRAIN: - if (B_REDIRECT_ABILITY_IMMUNITY >= GEN_5 && moveType == TYPE_WATER) - effect = 2, statId = STAT_SPATK; - break; - case ABILITY_SAP_SIPPER: - if (moveType == TYPE_GRASS) - effect = 2, statId = STAT_ATK; - break; - case ABILITY_FLASH_FIRE: - if (moveType == TYPE_FIRE && (B_FLASH_FIRE_FROZEN >= GEN_5 || !(gBattleMons[battler].status1 & STATUS1_FREEZE))) - effect = 3; - break; - case ABILITY_WELL_BAKED_BODY: - if (moveType == TYPE_FIRE) - effect = 2, statId = STAT_DEF, statAmount = 2; - break; - case ABILITY_WIND_RIDER: - if (gMovesInfo[gCurrentMove].windMove && !(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove) & MOVE_TARGET_USER)) - effect = 2, statId = STAT_ATK; - break; - case ABILITY_EARTH_EATER: - if (moveType == TYPE_GROUND) - effect = 1; - break; + switch(gLastUsedAbility) + { + case ABILITY_MOTOR_DRIVE: + statId = STAT_SPEED; + break; + case ABILITY_LIGHTNING_ROD: + case ABILITY_STORM_DRAIN: + statId = STAT_SPATK; + break; + case ABILITY_SAP_SIPPER: + case ABILITY_WIND_RIDER: + statId = STAT_ATK; + break; + case ABILITY_WELL_BAKED_BODY: + statAmount = 2; + statId = STAT_DEF; + break; + } } - if (caseID == ABILITYEFFECT_WOULD_ABSORB) - { - gBattleStruct->pledgeMove = FALSE; - if (effect && gLastUsedAbility != 0xFFFF) - RecordAbilityBattle(battler, gLastUsedAbility); - - return effect; - } - else if (effect == 1) // Drain Hp ability. + switch (effect) { + case MOVE_ABSORBED_BY_DRAIN_HP_ABILITY: gBattleStruct->pledgeMove = FALSE; if (BATTLER_MAX_HP(battler) || (B_HEAL_BLOCKING >= GEN_5 && gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { @@ -5373,9 +5420,8 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 gBattleMoveDamage = 1; gBattleMoveDamage *= -1; } - } - else if (effect == 2) // Boost Stat ability; - { + break; + case MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY: gBattleStruct->pledgeMove = FALSE; if (!CompareStat(battler, statId, MAX_STAT_STAGE, CMP_LESS_THAN)) { @@ -5395,9 +5441,8 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 if (B_ABSORBING_ABILITY_STRING < GEN_5) PREPARE_STAT_BUFFER(gBattleTextBuff1, statId); } - } - else if (effect == 3) - { + break; + case MOVE_ABSORBED_BY_BOOST_FLASH_FIRE: gBattleStruct->pledgeMove = FALSE; if (!(gBattleResources->flags->flags[battler] & RESOURCE_FLAG_FLASH_FIRE)) { @@ -5416,10 +5461,11 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 else gBattlescriptCurrInstr = BattleScript_FlashFireBoost_PPLoss; } + break; } - if (effect) gMultiHitCounter = 0; // Prevent multi-hit moves from hitting more than once after move has been absorbed. + } break; case ABILITYEFFECT_MOVE_END: // Think contact abilities. @@ -10371,7 +10417,7 @@ static inline void MulByTypeEffectiveness(uq4_12_t *modifier, u32 move, u32 move mod = UQ_4_12(1.0); } - if (gBattleStruct->distortedTypeMatchups & (1u << battlerDef) || (gBattleStruct->aiCalcInProgress && ShouldTeraShellDistortTypeMatchups(move, battlerDef))) + if (gBattleStruct->distortedTypeMatchups & (1u << battlerDef) || (AI_DATA->aiCalcInProgress && ShouldTeraShellDistortTypeMatchups(move, battlerDef))) { mod = UQ_4_12(0.5); if (recordAbilities) From 3c3ce38378792223e95dd1e2a0e8f7e69336baef Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 9 Oct 2024 17:18:08 +0200 Subject: [PATCH 074/278] Remove one redundant call of SetAiLogicDataForTurn in DoBattleIntro (#5491) This is already run at the end of `TryDoEventsBeforeFirstTurn` which makes the first calc redundant. I've had this removed in my project for a while and didn't notice any problems --- src/battle_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/battle_main.c b/src/battle_main.c index e0ec3023ec..df39e745ac 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3750,7 +3750,6 @@ static void DoBattleIntro(void) gBattleStruct->eventsBeforeFirstTurnState = 0; gBattleStruct->switchInBattlerCounter = 0; gBattleStruct->overworldWeatherDone = FALSE; - SetAiLogicDataForTurn(AI_DATA); // get assumed abilities, hold effects, etc of all battlers Ai_InitPartyStruct(); // Save mons party counts, and first 2/4 mons on the battlefield. // Try to set a status to start the battle with From 806321f3c8e497b245000c078b1284a67df5872f Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Wed, 9 Oct 2024 18:24:39 +0200 Subject: [PATCH 075/278] Update shed_tail.c (#5494) --- test/battle/move_effect/shed_tail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/battle/move_effect/shed_tail.c b/test/battle/move_effect/shed_tail.c index d69993b88b..3b2417f7c7 100644 --- a/test/battle/move_effect/shed_tail.c +++ b/test/battle/move_effect/shed_tail.c @@ -88,6 +88,7 @@ SINGLE_BATTLE_TEST("Shed Tail's HP cost doesn't trigger effects that trigger on AI_SINGLE_BATTLE_TEST("AI will use Shed Tail to pivot to another mon while in damage stalemate with player") { + KNOWN_FAILING; // missing AI code GIVEN { AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); PLAYER(SPECIES_WOBBUFFET) { Speed(100); Ability(ABILITY_RUN_AWAY); Moves(MOVE_TACKLE, MOVE_CELEBRATE); } From d0a97970baae433f24e3e62a4a3b3e942157ea76 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Thu, 10 Oct 2024 09:55:25 +0200 Subject: [PATCH 076/278] Unify GetBattlerAbility/TerrainAffected to remove duplicate ai function --- include/battle_ai_util.h | 2 -- src/battle_ai_main.c | 16 +++++++++------- src/battle_ai_util.c | 36 ------------------------------------ src/battle_main.c | 2 ++ src/battle_util.c | 4 ++-- 5 files changed, 13 insertions(+), 47 deletions(-) diff --git a/include/battle_ai_util.h b/include/battle_ai_util.h index 69cf92ed0d..c87a35e750 100644 --- a/include/battle_ai_util.h +++ b/include/battle_ai_util.h @@ -52,8 +52,6 @@ bool32 DoesBattlerIgnoreAbilityChecks(u32 atkAbility, u32 move); u32 AI_GetWeather(struct AiLogicData *aiData); bool32 CanAIFaintTarget(u32 battlerAtk, u32 battlerDef, u32 numHits); bool32 CanIndexMoveFaintTarget(u32 battlerAtk, u32 battlerDef, u32 index, u32 numHits); -bool32 AI_IsTerrainAffected(u32 battlerId, u32 flags); -bool32 AI_IsBattlerGrounded(u32 battlerId); bool32 HasDamagingMove(u32 battlerId); bool32 HasDamagingMoveOfType(u32 battlerId, u32 type); u32 GetBattlerSecondaryDamage(u32 battlerId); diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index a08ca0f71f..1b2f24e635 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -477,6 +477,7 @@ void SetAiLogicDataForTurn(struct AiLogicData *aiData) // get/assume all battler data and simulate AI damage battlersCount = gBattlersCount; + AI_DATA->aiCalcInProgress = TRUE; for (battlerAtk = 0; battlerAtk < battlersCount; battlerAtk++) { if (!IsBattlerAlive(battlerAtk)) @@ -492,6 +493,7 @@ void SetAiLogicDataForTurn(struct AiLogicData *aiData) SetBattlerAiMovesData(aiData, battlerAtk, battlersCount); } + AI_DATA->aiCalcInProgress = FALSE; } static bool32 AI_SwitchMonIfSuitable(u32 battler, bool32 doubleBattle) @@ -1017,19 +1019,19 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) RETURN_SCORE_MINUS(10); // terrain & effect checks - if (AI_IsTerrainAffected(battlerDef, STATUS_FIELD_ELECTRIC_TERRAIN)) + if (IsBattlerTerrainAffected(battlerDef, STATUS_FIELD_ELECTRIC_TERRAIN)) { if (moveEffect == EFFECT_SLEEP || moveEffect == EFFECT_YAWN) RETURN_SCORE_MINUS(20); } - if (AI_IsTerrainAffected(battlerDef, STATUS_FIELD_MISTY_TERRAIN)) + if (IsBattlerTerrainAffected(battlerDef, STATUS_FIELD_MISTY_TERRAIN)) { if (IsNonVolatileStatusMoveEffect(moveEffect) || IsConfusionMoveEffect(moveEffect)) RETURN_SCORE_MINUS(20); } - if (AI_IsTerrainAffected(battlerAtk, STATUS_FIELD_PSYCHIC_TERRAIN) && atkPriority > 0) + if (IsBattlerTerrainAffected(battlerAtk, STATUS_FIELD_PSYCHIC_TERRAIN) && atkPriority > 0) { RETURN_SCORE_MINUS(20); } @@ -1250,10 +1252,10 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) if (isDoubleBattle) { if (!(IS_BATTLER_OF_TYPE(battlerAtk, TYPE_GRASS) - && AI_IsBattlerGrounded(battlerAtk) + && IsBattlerGrounded(battlerAtk) && (BattlerStatCanRise(battlerAtk, aiData->abilities[battlerAtk], STAT_ATK) || BattlerStatCanRise(battlerAtk, aiData->abilities[battlerAtk], STAT_SPATK))) && !(IS_BATTLER_OF_TYPE(BATTLE_PARTNER(battlerAtk), TYPE_GRASS) - && AI_IsBattlerGrounded(BATTLE_PARTNER(battlerAtk)) + && IsBattlerGrounded(BATTLE_PARTNER(battlerAtk)) && aiData->abilities[BATTLE_PARTNER(battlerAtk)] != ABILITY_CONTRARY && (BattlerStatCanRise(BATTLE_PARTNER(battlerAtk), aiData->abilities[BATTLE_PARTNER(battlerAtk)], STAT_ATK) || BattlerStatCanRise(BATTLE_PARTNER(battlerAtk), aiData->abilities[BATTLE_PARTNER(battlerAtk)], STAT_SPATK)))) @@ -1262,7 +1264,7 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) } } else if (!(IS_BATTLER_OF_TYPE(battlerAtk, TYPE_GRASS) - && AI_IsBattlerGrounded(battlerAtk) + && IsBattlerGrounded(battlerAtk) && (BattlerStatCanRise(battlerAtk, aiData->abilities[battlerAtk], STAT_ATK) || BattlerStatCanRise(battlerAtk, aiData->abilities[battlerAtk], STAT_SPATK)))) { ADJUST_SCORE(-10); @@ -3947,7 +3949,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) ADJUST_SCORE(DECENT_EFFECT); break; case EFFECT_SAFEGUARD: - if (!AI_IsTerrainAffected(battlerAtk, STATUS_FIELD_MISTY_TERRAIN) || !IsBattlerGrounded(battlerAtk)) + if (!IsBattlerTerrainAffected(battlerAtk, STATUS_FIELD_MISTY_TERRAIN) || !IsBattlerGrounded(battlerAtk)) ADJUST_SCORE(DECENT_EFFECT); // TODO: check if opp has status move? //if (CountUsablePartyMons(battlerDef) != 0) //ADJUST_SCORE(8); diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index bf84f98b4d..1288ed1201 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -1344,42 +1344,6 @@ u32 AI_DecideHoldEffectForTurn(u32 battlerId) return holdEffect; } -bool32 AI_IsTerrainAffected(u32 battlerId, u32 flags) -{ - if (gStatuses3[battlerId] & STATUS3_SEMI_INVULNERABLE) - return FALSE; - else if (!(gFieldStatuses & flags)) - return FALSE; - return AI_IsBattlerGrounded(battlerId); -} - -// different from IsBattlerGrounded in that we don't always know battler's hold effect or ability -bool32 AI_IsBattlerGrounded(u32 battlerId) -{ - u32 holdEffect = AI_DATA->holdEffects[battlerId]; - - if (holdEffect == HOLD_EFFECT_IRON_BALL) - return TRUE; - else if (gFieldStatuses & STATUS_FIELD_GRAVITY) - return TRUE; - else if (gStatuses3[battlerId] & STATUS3_ROOTED) - return TRUE; - else if (gStatuses3[battlerId] & STATUS3_SMACKED_DOWN) - return TRUE; - else if (gStatuses3[battlerId] & STATUS3_TELEKINESIS) - return FALSE; - else if (gStatuses3[battlerId] & STATUS3_MAGNET_RISE) - return FALSE; - else if (holdEffect == HOLD_EFFECT_AIR_BALLOON) - return FALSE; - else if (AI_DATA->abilities[battlerId] == ABILITY_LEVITATE) - return FALSE; - else if (IS_BATTLER_OF_TYPE(battlerId, TYPE_FLYING)) - return FALSE; - else - return TRUE; -} - bool32 DoesBattlerIgnoreAbilityChecks(u32 atkAbility, u32 move) { if (AI_THINKING_STRUCT->aiFlags[sBattler_AI] & AI_FLAG_NEGATE_UNAWARE) diff --git a/src/battle_main.c b/src/battle_main.c index 6e8a0d0e8f..b2b6e14447 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -4196,6 +4196,7 @@ static void HandleTurnActionSelectionState(void) if ((gBattleTypeFlags & BATTLE_TYPE_HAS_AI || IsWildMonSmart()) && (BattlerHasAi(battler) && !(gBattleTypeFlags & BATTLE_TYPE_PALACE))) { + AI_DATA->aiCalcInProgress = TRUE; if (ShouldSwitch(battler, FALSE)) AI_DATA->shouldSwitch |= (1u << battler); if (AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_RISKY) // Risky AI switches aggressively even mid battle @@ -4204,6 +4205,7 @@ static void HandleTurnActionSelectionState(void) AI_DATA->mostSuitableMonId[battler] = GetMostSuitableMonToSwitchInto(battler, FALSE); gBattleStruct->aiMoveOrAction[battler] = ComputeBattleAiScores(battler); + AI_DATA->aiCalcInProgress = FALSE; } // fallthrough case STATE_BEFORE_ACTION_CHOSEN: // Choose an action. diff --git a/src/battle_util.c b/src/battle_util.c index 01b41aaf7a..d98ce5cbb8 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -6394,7 +6394,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_PROTOSYNTHESIS: - if (!gDisableStructs[battler].weatherAbilityDone + if (!gDisableStructs[battler].weatherAbilityDone && (gBattleWeather & B_WEATHER_SUN) && WEATHER_HAS_EFFECT && !(gBattleMons[battler].status2 & STATUS2_TRANSFORMED) && !(gBattleStruct->boosterEnergyActivates & (1u << battler))) @@ -8683,7 +8683,7 @@ static bool32 IsBattlerGrounded2(u32 battler, bool32 considerInverse) return FALSE; if (holdEffect == HOLD_EFFECT_AIR_BALLOON) return FALSE; - if (GetBattlerAbility(battler) == ABILITY_LEVITATE) + if ((AI_DATA->aiCalcInProgress ? AI_DATA->abilities[battler] : GetBattlerAbility(battler)) == ABILITY_LEVITATE) return FALSE; if (IS_BATTLER_OF_TYPE(battler, TYPE_FLYING) && (!considerInverse || !FlagGet(B_FLAG_INVERSE_BATTLE))) return FALSE; From ab50009526e258994bd30fd891b7c0643d3b8e95 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Thu, 10 Oct 2024 10:04:44 +0200 Subject: [PATCH 077/278] rename IsBattlerGround2 --- src/battle_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/battle_util.c b/src/battle_util.c index d98ce5cbb8..83ed114c07 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -8665,7 +8665,7 @@ bool32 IsBattlerProtected(u32 battlerAtk, u32 battlerDef, u32 move) } // Only called directly when calculating damage type effectiveness -static bool32 IsBattlerGrounded2(u32 battler, bool32 considerInverse) +static bool32 IsBattlerGroundedInverseCheck(u32 battler, bool32 considerInverse) { u32 holdEffect = GetBattlerHoldEffect(battler, TRUE); @@ -8692,7 +8692,7 @@ static bool32 IsBattlerGrounded2(u32 battler, bool32 considerInverse) bool32 IsBattlerGrounded(u32 battler) { - return IsBattlerGrounded2(battler, FALSE); + return IsBattlerGroundedInverseCheck(battler, FALSE); } bool32 IsBattlerAlive(u32 battler) @@ -10484,7 +10484,7 @@ static inline uq4_12_t CalcTypeEffectivenessMultiplierInternal(u32 move, u32 mov if (B_GLARE_GHOST < GEN_4 && move == MOVE_GLARE && IS_BATTLER_OF_TYPE(battlerDef, TYPE_GHOST)) modifier = UQ_4_12(0.0); } - else if (moveType == TYPE_GROUND && !IsBattlerGrounded2(battlerDef, TRUE) && !(gMovesInfo[move].ignoreTypeIfFlyingAndUngrounded)) + else if (moveType == TYPE_GROUND && !IsBattlerGroundedInverseCheck(battlerDef, TRUE) && !(gMovesInfo[move].ignoreTypeIfFlyingAndUngrounded)) { modifier = UQ_4_12(0.0); if (recordAbilities && defAbility == ABILITY_LEVITATE) From 2afc7f6138969c48a5bcf7a3eed0df54d488e5bf Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Thu, 10 Oct 2024 06:54:35 -0400 Subject: [PATCH 078/278] ShouldPivot type cleanup (#5441) * Cleanup ShouldPivot type * PIVOT to SHOULD_PIVOT --- include/battle_ai_util.h | 9 ++++++++- src/battle_ai_main.c | 6 +++--- src/battle_ai_util.c | 43 ++++++++++++++++++---------------------- 3 files changed, 30 insertions(+), 28 deletions(-) diff --git a/include/battle_ai_util.h b/include/battle_ai_util.h index 69cf92ed0d..6d94c0b992 100644 --- a/include/battle_ai_util.h +++ b/include/battle_ai_util.h @@ -15,6 +15,13 @@ enum DamageRollType DMG_ROLL_HIGHEST, }; +enum AIPivot +{ + DONT_PIVOT, + CAN_TRY_PIVOT, + SHOULD_PIVOT, +}; + bool32 AI_IsFaster(u32 battlerAi, u32 battlerDef, u32 move); bool32 AI_IsSlower(u32 battlerAi, u32 battlerDef, u32 move); bool32 AI_RandLessThan(u32 val); @@ -65,7 +72,7 @@ u32 GetBattlerSideSpeedAverage(u32 battler); bool32 ShouldAbsorb(u32 battlerAtk, u32 battlerDef, u32 move, s32 damage); bool32 ShouldRecover(u32 battlerAtk, u32 battlerDef, u32 move, u32 healPercent); bool32 ShouldSetScreen(u32 battlerAtk, u32 battlerDef, u32 moveEffect); -bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 moveIndex); +enum AIPivot ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 moveIndex); bool32 IsRecycleEncouragedItem(u32 item); bool32 ShouldRestoreHpBerry(u32 battlerAtk, u32 item); bool32 IsStatBoostingBerry(u32 item); diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index a08ca0f71f..47f73aaea4 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -3634,12 +3634,12 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) { switch (ShouldPivot(battlerAtk, battlerDef, aiData->abilities[battlerDef], move, movesetIndex)) { - case 0: // no + case DONT_PIVOT: ADJUST_SCORE(-10); // technically should go in CheckBadMove, but this is easier/less computationally demanding break; - case 1: // maybe + case CAN_TRY_PIVOT: break; - case 2: // yes + case SHOULD_PIVOT: ADJUST_SCORE(BEST_EFFECT); break; } diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index bf84f98b4d..12a3a633a7 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -2685,12 +2685,7 @@ static bool32 PartyBattlerShouldAvoidHazards(u32 currBattler, u32 switchBattler) return FALSE; } -enum { - DONT_PIVOT, - CAN_TRY_PIVOT, - PIVOT, -}; -bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 moveIndex) +enum AIPivot ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 moveIndex) { bool32 hasStatBoost = AnyUsefulStatIsRaised(battlerAtk) || gBattleMons[battlerDef].statStages[STAT_EVASION] >= 9; //Significant boost in evasion for any class u32 battlerToSwitch; @@ -2707,7 +2702,7 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 //TODO - predict opponent switching /*if (IsPredictedToSwitch(battlerDef, battlerAtk) && !hasStatBoost) - return PIVOT; // Try pivoting so you can switch to a better matchup to counter your new opponent*/ + return SHOULD_PIVOT; // Try pivoting so you can switch to a better matchup to counter your new opponent*/ if (AI_IsFaster(battlerAtk, battlerDef, move)) // Attacker goes first { @@ -2717,14 +2712,14 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 { // attacker can kill target in two hits (theoretically) if (CanTargetFaintAi(battlerDef, battlerAtk)) - return PIVOT; // Won't get the two turns, pivot + return SHOULD_PIVOT; // Won't get the two turns, pivot if (!IS_MOVE_STATUS(move) && ((AI_DATA->shouldSwitch & (1u << battlerAtk)) || (AtMaxHp(battlerDef) && (AI_DATA->holdEffects[battlerDef] == HOLD_EFFECT_FOCUS_SASH || (B_STURDY >= GEN_5 && defAbility == ABILITY_STURDY) || defAbility == ABILITY_MULTISCALE || defAbility == ABILITY_SHADOW_SHIELD)))) - return PIVOT; // pivot to break sash/sturdy/multiscale + return SHOULD_PIVOT; // pivot to break sash/sturdy/multiscale } else if (!hasStatBoost) { @@ -2732,17 +2727,17 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 || (B_STURDY >= GEN_5 && defAbility == ABILITY_STURDY) || defAbility == ABILITY_MULTISCALE || defAbility == ABILITY_SHADOW_SHIELD))) - return PIVOT; // pivot to break sash/sturdy/multiscale + return SHOULD_PIVOT; // pivot to break sash/sturdy/multiscale if (AI_DATA->shouldSwitch & (1u << battlerAtk)) - return PIVOT; + return SHOULD_PIVOT; /* TODO - check if switchable mon unafffected by/will remove hazards if (gSideStatuses[battlerAtk] & SIDE_STATUS_SPIKES && switchScore >= SWITCHING_INCREASE_CAN_REMOVE_HAZARDS) - return PIVOT;*/ + return SHOULD_PIVOT;*/ /*if (BattlerWillFaintFromSecondaryDamage(battlerAtk, AI_DATA->abilities[battlerAtk]) && switchScore >= SWITCHING_INCREASE_WALLS_FOE) - return PIVOT;*/ + return SHOULD_PIVOT;*/ /*if (IsClassDamager(class) && switchScore >= SWITCHING_INCREASE_HAS_SUPER_EFFECTIVE_MOVE) { @@ -2753,20 +2748,20 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 if (physMoveInMoveset && !specMoveInMoveset) { if (STAT_STAGE_ATK < 6) - return PIVOT; + return SHOULD_PIVOT; } else if (!physMoveInMoveset && specMoveInMoveset) { if (STAT_STAGE_SPATK < 6) - return PIVOT; + return SHOULD_PIVOT; } else if (physMoveInMoveset && specMoveInMoveset) { if (STAT_STAGE_ATK < 6 && STAT_STAGE_SPATK < 6) - return PIVOT; + return SHOULD_PIVOT; } - return CAN_TRY_PIVOT; + return SHOULD_PIVOT; }*/ } } @@ -2789,7 +2784,7 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 } else // Can't KO the foe { - return PIVOT; + return SHOULD_PIVOT; } } else // Foe can 3HKO+ AI @@ -2815,17 +2810,17 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 else { //if (IsClassDamager(class) && switchScore >= SWITCHING_INCREASE_KO_FOE) - //return PIVOT; //Only switch if way better matchup + //return SHOULD_PIVOT; //Only switch if way better matchup if (!hasStatBoost) { // TODO - check if switching prevents/removes hazards //if (gSideStatuses[battlerAtk] & SIDE_STATUS_SPIKES && switchScore >= SWITCHING_INCREASE_CAN_REMOVE_HAZARDS) - //return PIVOT; + //return SHOULD_PIVOT; // TODO - not always a good idea //if (BattlerWillFaintFromSecondaryDamage(battlerAtk) && switchScore >= SWITCHING_INCREASE_HAS_SUPER_EFFECTIVE_MOVE) - //return PIVOT; + //return SHOULD_PIVOT; /*if (IsClassDamager(class) && switchScore >= SWITCHING_INCREASE_HAS_SUPER_EFFECTIVE_MOVE) { @@ -2836,17 +2831,17 @@ bool32 ShouldPivot(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 if (physMoveInMoveset && !specMoveInMoveset) { if (STAT_STAGE_ATK < 6) - return PIVOT; + return SHOULD_PIVOT; } else if (!physMoveInMoveset && specMoveInMoveset) { if (STAT_STAGE_SPATK < 6) - return PIVOT; + return SHOULD_PIVOT; } else if (physMoveInMoveset && specMoveInMoveset) { if (STAT_STAGE_ATK < 6 && STAT_STAGE_SPATK < 6) - return PIVOT; + return SHOULD_PIVOT; } }*/ From d0379b9b55ccc185d7ea80d152d7998d8cfabdd5 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Thu, 10 Oct 2024 14:23:59 +0200 Subject: [PATCH 079/278] Turn item hold effects into an enum (#5498) * Turn item hold effects into an enum * Rename to ItemHoldEffect --- include/battle_ai_util.h | 3 - include/constants/hold_effects.h | 324 +++++++++++++++---------------- 2 files changed, 160 insertions(+), 167 deletions(-) diff --git a/include/battle_ai_util.h b/include/battle_ai_util.h index 6d94c0b992..d900f4dd69 100644 --- a/include/battle_ai_util.h +++ b/include/battle_ai_util.h @@ -87,7 +87,6 @@ bool32 AnyStatIsRaised(u32 battlerId); bool32 ShouldLowerStat(u32 battler, u32 battlerAbility, u32 stat); bool32 BattlerStatCanRise(u32 battler, u32 battlerAbility, u32 stat); bool32 AreBattlersStatsMaxed(u32 battler); -bool32 BattlerHasAnyStatRaised(u32 battlerId); u32 CountPositiveStatStages(u32 battlerId); u32 CountNegativeStatStages(u32 battlerId); bool32 ShouldLowerAttack(u32 battlerAtk, u32 battlerDef, u32 defAbility); @@ -127,7 +126,6 @@ bool32 HasMoveWithLowAccuracy(u32 battlerAtk, u32 battlerDef, u32 accCheck, bool bool32 HasAnyKnownMove(u32 battlerId); bool32 IsAromaVeilProtectedMove(u32 move); bool32 IsNonVolatileStatusMoveEffect(u32 moveEffect); -bool32 IsStatLoweringMoveEffect(u32 moveEffect); bool32 IsMoveRedirectionPrevented(u32 move, u32 atkAbility); bool32 IsMoveEncouragedToHit(u32 battlerAtk, u32 battlerDef, u32 move); bool32 IsHazardMoveEffect(u32 moveEffect); @@ -180,7 +178,6 @@ bool32 AI_IsBattlerAsleepOrComatose(u32 battlerId); #define IS_TARGETING_PARTNER(battlerAtk, battlerDef)((battlerAtk) == (battlerDef ^ BIT_FLANK)) u32 GetAllyChosenMove(u32 battlerId); bool32 IsValidDoubleBattle(u32 battlerAtk); -bool32 IsTargetingPartner(u32 battlerAtk, u32 battlerDef); bool32 DoesPartnerHaveSameMoveEffect(u32 battlerAtkPartner, u32 battlerDef, u32 move, u32 partnerMove); bool32 PartnerHasSameMoveEffectWithoutTarget(u32 battlerAtkPartner, u32 move, u32 partnerMove); bool32 PartnerMoveEffectIsStatusSameTarget(u32 battlerAtkPartner, u32 battlerDef, u32 partnerMove); diff --git a/include/constants/hold_effects.h b/include/constants/hold_effects.h index a159102932..c85ec82302 100644 --- a/include/constants/hold_effects.h +++ b/include/constants/hold_effects.h @@ -1,171 +1,167 @@ #ifndef GUARD_HOLD_EFFECTS_H #define GUARD_HOLD_EFFECTS_H -#define HOLD_EFFECT_NONE 0 -#define HOLD_EFFECT_RESTORE_HP 1 -#define HOLD_EFFECT_CURE_PAR 2 -#define HOLD_EFFECT_CURE_SLP 3 -#define HOLD_EFFECT_CURE_PSN 4 -#define HOLD_EFFECT_CURE_BRN 5 -#define HOLD_EFFECT_CURE_FRZ 6 -#define HOLD_EFFECT_RESTORE_PP 7 -#define HOLD_EFFECT_CURE_CONFUSION 8 -#define HOLD_EFFECT_CURE_STATUS 9 -#define HOLD_EFFECT_CONFUSE_SPICY 10 -#define HOLD_EFFECT_CONFUSE_DRY 11 -#define HOLD_EFFECT_CONFUSE_SWEET 12 -#define HOLD_EFFECT_CONFUSE_BITTER 13 -#define HOLD_EFFECT_CONFUSE_SOUR 14 -#define HOLD_EFFECT_ATTACK_UP 15 -#define HOLD_EFFECT_DEFENSE_UP 16 -#define HOLD_EFFECT_SPEED_UP 17 -#define HOLD_EFFECT_SP_ATTACK_UP 18 -#define HOLD_EFFECT_SP_DEFENSE_UP 19 -#define HOLD_EFFECT_CRITICAL_UP 20 -#define HOLD_EFFECT_RANDOM_STAT_UP 21 -#define HOLD_EFFECT_EVASION_UP 22 -#define HOLD_EFFECT_RESTORE_STATS 23 -#define HOLD_EFFECT_MACHO_BRACE 24 -#define HOLD_EFFECT_EXP_SHARE 25 -#define HOLD_EFFECT_QUICK_CLAW 26 -#define HOLD_EFFECT_FRIENDSHIP_UP 27 -#define HOLD_EFFECT_MENTAL_HERB 28 -#define HOLD_EFFECT_CHOICE_BAND 29 -#define HOLD_EFFECT_FLINCH 30 -#define HOLD_EFFECT_BUG_POWER 31 -#define HOLD_EFFECT_DOUBLE_PRIZE 32 -#define HOLD_EFFECT_REPEL 33 -#define HOLD_EFFECT_SOUL_DEW 34 -#define HOLD_EFFECT_DEEP_SEA_TOOTH 35 -#define HOLD_EFFECT_DEEP_SEA_SCALE 36 -#define HOLD_EFFECT_CAN_ALWAYS_RUN 37 -#define HOLD_EFFECT_PREVENT_EVOLVE 38 -#define HOLD_EFFECT_FOCUS_BAND 39 -#define HOLD_EFFECT_LUCKY_EGG 40 -#define HOLD_EFFECT_SCOPE_LENS 41 -#define HOLD_EFFECT_STEEL_POWER 42 -#define HOLD_EFFECT_LEFTOVERS 43 -#define HOLD_EFFECT_DRAGON_SCALE 44 -#define HOLD_EFFECT_LIGHT_BALL 45 -#define HOLD_EFFECT_GROUND_POWER 46 -#define HOLD_EFFECT_ROCK_POWER 47 -#define HOLD_EFFECT_GRASS_POWER 48 -#define HOLD_EFFECT_DARK_POWER 49 -#define HOLD_EFFECT_FIGHTING_POWER 50 -#define HOLD_EFFECT_ELECTRIC_POWER 51 -#define HOLD_EFFECT_WATER_POWER 52 -#define HOLD_EFFECT_FLYING_POWER 53 -#define HOLD_EFFECT_POISON_POWER 54 -#define HOLD_EFFECT_ICE_POWER 55 -#define HOLD_EFFECT_GHOST_POWER 56 -#define HOLD_EFFECT_PSYCHIC_POWER 57 -#define HOLD_EFFECT_FIRE_POWER 58 -#define HOLD_EFFECT_DRAGON_POWER 59 -#define HOLD_EFFECT_NORMAL_POWER 60 -#define HOLD_EFFECT_UPGRADE 61 -#define HOLD_EFFECT_SHELL_BELL 62 -#define HOLD_EFFECT_LUCKY_PUNCH 63 -#define HOLD_EFFECT_METAL_POWDER 64 -#define HOLD_EFFECT_THICK_CLUB 65 -#define HOLD_EFFECT_LEEK 66 +enum ItemHoldEffect +{ + HOLD_EFFECT_NONE, + HOLD_EFFECT_RESTORE_HP, + HOLD_EFFECT_CURE_PAR, + HOLD_EFFECT_CURE_SLP, + HOLD_EFFECT_CURE_PSN, + HOLD_EFFECT_CURE_BRN, + HOLD_EFFECT_CURE_FRZ, + HOLD_EFFECT_RESTORE_PP, + HOLD_EFFECT_CURE_CONFUSION, + HOLD_EFFECT_CURE_STATUS, + HOLD_EFFECT_CONFUSE_SPICY, + HOLD_EFFECT_CONFUSE_DRY, + HOLD_EFFECT_CONFUSE_SWEET, + HOLD_EFFECT_CONFUSE_BITTER, + HOLD_EFFECT_CONFUSE_SOUR, + HOLD_EFFECT_ATTACK_UP, + HOLD_EFFECT_DEFENSE_UP, + HOLD_EFFECT_SPEED_UP, + HOLD_EFFECT_SP_ATTACK_UP, + HOLD_EFFECT_SP_DEFENSE_UP, + HOLD_EFFECT_CRITICAL_UP, + HOLD_EFFECT_RANDOM_STAT_UP, + HOLD_EFFECT_EVASION_UP, + HOLD_EFFECT_RESTORE_STATS, + HOLD_EFFECT_MACHO_BRACE, + HOLD_EFFECT_EXP_SHARE, + HOLD_EFFECT_QUICK_CLAW, + HOLD_EFFECT_FRIENDSHIP_UP, + HOLD_EFFECT_MENTAL_HERB, + HOLD_EFFECT_CHOICE_BAND, + HOLD_EFFECT_FLINCH, + HOLD_EFFECT_BUG_POWER, + HOLD_EFFECT_DOUBLE_PRIZE, + HOLD_EFFECT_REPEL, + HOLD_EFFECT_SOUL_DEW, + HOLD_EFFECT_DEEP_SEA_TOOTH, + HOLD_EFFECT_DEEP_SEA_SCALE, + HOLD_EFFECT_CAN_ALWAYS_RUN, + HOLD_EFFECT_PREVENT_EVOLVE, + HOLD_EFFECT_FOCUS_BAND, + HOLD_EFFECT_LUCKY_EGG, + HOLD_EFFECT_SCOPE_LENS, + HOLD_EFFECT_STEEL_POWER, + HOLD_EFFECT_LEFTOVERS, + HOLD_EFFECT_DRAGON_SCALE, + HOLD_EFFECT_LIGHT_BALL, + HOLD_EFFECT_GROUND_POWER, + HOLD_EFFECT_ROCK_POWER, + HOLD_EFFECT_GRASS_POWER, + HOLD_EFFECT_DARK_POWER, + HOLD_EFFECT_FIGHTING_POWER, + HOLD_EFFECT_ELECTRIC_POWER, + HOLD_EFFECT_WATER_POWER, + HOLD_EFFECT_FLYING_POWER, + HOLD_EFFECT_POISON_POWER, + HOLD_EFFECT_ICE_POWER, + HOLD_EFFECT_GHOST_POWER, + HOLD_EFFECT_PSYCHIC_POWER, + HOLD_EFFECT_FIRE_POWER, + HOLD_EFFECT_DRAGON_POWER, + HOLD_EFFECT_NORMAL_POWER, + HOLD_EFFECT_UPGRADE, + HOLD_EFFECT_SHELL_BELL, + HOLD_EFFECT_LUCKY_PUNCH, + HOLD_EFFECT_METAL_POWDER, + HOLD_EFFECT_THICK_CLUB, + HOLD_EFFECT_LEEK, + // Gen4 hold effects. + HOLD_EFFECT_CHOICE_SCARF, + HOLD_EFFECT_CHOICE_SPECS, + HOLD_EFFECT_DAMP_ROCK, + HOLD_EFFECT_GRIP_CLAW, + HOLD_EFFECT_HEAT_ROCK, + HOLD_EFFECT_ICY_ROCK, + HOLD_EFFECT_LIGHT_CLAY, + HOLD_EFFECT_SMOOTH_ROCK, + HOLD_EFFECT_POWER_HERB, + HOLD_EFFECT_BIG_ROOT, + HOLD_EFFECT_EXPERT_BELT, + HOLD_EFFECT_LIFE_ORB, + HOLD_EFFECT_METRONOME, + HOLD_EFFECT_MUSCLE_BAND, + HOLD_EFFECT_WIDE_LENS, + HOLD_EFFECT_WISE_GLASSES, + HOLD_EFFECT_ZOOM_LENS, + HOLD_EFFECT_LAGGING_TAIL, + HOLD_EFFECT_FOCUS_SASH, + HOLD_EFFECT_FLAME_ORB, + HOLD_EFFECT_TOXIC_ORB, + HOLD_EFFECT_STICKY_BARB, + HOLD_EFFECT_IRON_BALL, + HOLD_EFFECT_BLACK_SLUDGE, + HOLD_EFFECT_DESTINY_KNOT, + HOLD_EFFECT_SHED_SHELL, + HOLD_EFFECT_QUICK_POWDER, + HOLD_EFFECT_ADAMANT_ORB, + HOLD_EFFECT_LUSTROUS_ORB, + HOLD_EFFECT_GRISEOUS_ORB, + HOLD_EFFECT_ENIGMA_BERRY, + HOLD_EFFECT_RESIST_BERRY, + HOLD_EFFECT_POWER_ITEM, + HOLD_EFFECT_RESTORE_PCT_HP, + HOLD_EFFECT_MICLE_BERRY, + HOLD_EFFECT_CUSTAP_BERRY, + HOLD_EFFECT_JABOCA_BERRY, + HOLD_EFFECT_ROWAP_BERRY, + HOLD_EFFECT_KEE_BERRY, + HOLD_EFFECT_MARANGA_BERRY, + HOLD_EFFECT_PLATE, + // Gen5 hold effects + HOLD_EFFECT_FLOAT_STONE, + HOLD_EFFECT_EVIOLITE, + HOLD_EFFECT_ASSAULT_VEST, + HOLD_EFFECT_DRIVE, + HOLD_EFFECT_GEMS, + HOLD_EFFECT_ROCKY_HELMET, + HOLD_EFFECT_AIR_BALLOON, + HOLD_EFFECT_RED_CARD, + HOLD_EFFECT_RING_TARGET, + HOLD_EFFECT_BINDING_BAND, + HOLD_EFFECT_EJECT_BUTTON, + HOLD_EFFECT_ABSORB_BULB, + HOLD_EFFECT_CELL_BATTERY, + // Gen6 hold effects + HOLD_EFFECT_FAIRY_POWER, + HOLD_EFFECT_MEGA_STONE, + HOLD_EFFECT_SAFETY_GOGGLES, + HOLD_EFFECT_LUMINOUS_MOSS, + HOLD_EFFECT_SNOWBALL, + HOLD_EFFECT_WEAKNESS_POLICY, + HOLD_EFFECT_PRIMAL_ORB, + // Gen7 hold effects + HOLD_EFFECT_PROTECTIVE_PADS, + HOLD_EFFECT_TERRAIN_EXTENDER, + HOLD_EFFECT_SEEDS, + HOLD_EFFECT_ADRENALINE_ORB, + HOLD_EFFECT_MEMORY, + HOLD_EFFECT_Z_CRYSTAL, + // Gen8 hold effects + HOLD_EFFECT_UTILITY_UMBRELLA, + HOLD_EFFECT_EJECT_PACK, + HOLD_EFFECT_ROOM_SERVICE, + HOLD_EFFECT_BLUNDER_POLICY, + HOLD_EFFECT_HEAVY_DUTY_BOOTS, + HOLD_EFFECT_THROAT_SPRAY, + // Gen9 hold effects + HOLD_EFFECT_ABILITY_SHIELD, + HOLD_EFFECT_CLEAR_AMULET, + HOLD_EFFECT_MIRROR_HERB, + HOLD_EFFECT_PUNCHING_GLOVE, + HOLD_EFFECT_COVERT_CLOAK, + HOLD_EFFECT_LOADED_DICE, + HOLD_EFFECT_BOOSTER_ENERGY, + HOLD_EFFECT_OGERPON_MASK, + // Gen2 hold effect + HOLD_EFFECT_BERSERK_GENE, +}; -// Gen4 hold effects. -#define HOLD_EFFECT_CHOICE_SCARF 67 -#define HOLD_EFFECT_CHOICE_SPECS 68 -#define HOLD_EFFECT_DAMP_ROCK 69 -#define HOLD_EFFECT_GRIP_CLAW 70 -#define HOLD_EFFECT_HEAT_ROCK 71 -#define HOLD_EFFECT_ICY_ROCK 72 -#define HOLD_EFFECT_LIGHT_CLAY 73 -#define HOLD_EFFECT_SMOOTH_ROCK 74 -#define HOLD_EFFECT_POWER_HERB 75 -#define HOLD_EFFECT_BIG_ROOT 76 -#define HOLD_EFFECT_EXPERT_BELT 77 -#define HOLD_EFFECT_LIFE_ORB 78 -#define HOLD_EFFECT_METRONOME 79 -#define HOLD_EFFECT_MUSCLE_BAND 80 -#define HOLD_EFFECT_WIDE_LENS 81 -#define HOLD_EFFECT_WISE_GLASSES 82 -#define HOLD_EFFECT_ZOOM_LENS 83 -#define HOLD_EFFECT_LAGGING_TAIL 84 -#define HOLD_EFFECT_FOCUS_SASH 85 -#define HOLD_EFFECT_FLAME_ORB 86 -#define HOLD_EFFECT_TOXIC_ORB 87 -#define HOLD_EFFECT_STICKY_BARB 88 -#define HOLD_EFFECT_IRON_BALL 89 -#define HOLD_EFFECT_BLACK_SLUDGE 90 -#define HOLD_EFFECT_DESTINY_KNOT 91 -#define HOLD_EFFECT_SHED_SHELL 92 -#define HOLD_EFFECT_QUICK_POWDER 93 -#define HOLD_EFFECT_ADAMANT_ORB 94 -#define HOLD_EFFECT_LUSTROUS_ORB 95 -#define HOLD_EFFECT_GRISEOUS_ORB 96 -#define HOLD_EFFECT_ENIGMA_BERRY 97 -#define HOLD_EFFECT_RESIST_BERRY 98 -#define HOLD_EFFECT_POWER_ITEM 99 -#define HOLD_EFFECT_RESTORE_PCT_HP 100 -#define HOLD_EFFECT_MICLE_BERRY 101 -#define HOLD_EFFECT_CUSTAP_BERRY 102 -#define HOLD_EFFECT_JABOCA_BERRY 103 -#define HOLD_EFFECT_ROWAP_BERRY 104 -#define HOLD_EFFECT_KEE_BERRY 105 -#define HOLD_EFFECT_MARANGA_BERRY 106 -#define HOLD_EFFECT_PLATE 107 - -// Gen5 hold effects -#define HOLD_EFFECT_FLOAT_STONE 117 -#define HOLD_EFFECT_EVIOLITE 118 -#define HOLD_EFFECT_ASSAULT_VEST 119 -#define HOLD_EFFECT_DRIVE 120 -#define HOLD_EFFECT_GEMS 121 -#define HOLD_EFFECT_ROCKY_HELMET 122 -#define HOLD_EFFECT_AIR_BALLOON 123 -#define HOLD_EFFECT_RED_CARD 124 -#define HOLD_EFFECT_RING_TARGET 125 -#define HOLD_EFFECT_BINDING_BAND 126 -#define HOLD_EFFECT_EJECT_BUTTON 127 -#define HOLD_EFFECT_ABSORB_BULB 128 -#define HOLD_EFFECT_CELL_BATTERY 129 - -// Gen6 hold effects -#define HOLD_EFFECT_FAIRY_POWER 139 -#define HOLD_EFFECT_MEGA_STONE 140 -#define HOLD_EFFECT_SAFETY_GOGGLES 141 -#define HOLD_EFFECT_LUMINOUS_MOSS 142 -#define HOLD_EFFECT_SNOWBALL 143 -#define HOLD_EFFECT_WEAKNESS_POLICY 144 -#define HOLD_EFFECT_PRIMAL_ORB 145 - -// Gen7 hold effects -#define HOLD_EFFECT_PROTECTIVE_PADS 154 -#define HOLD_EFFECT_TERRAIN_EXTENDER 155 -#define HOLD_EFFECT_SEEDS 156 -#define HOLD_EFFECT_ADRENALINE_ORB 157 -#define HOLD_EFFECT_MEMORY 158 -#define HOLD_EFFECT_Z_CRYSTAL 159 - -// Gen8 hold effects -#define HOLD_EFFECT_UTILITY_UMBRELLA 169 -#define HOLD_EFFECT_EJECT_PACK 170 -#define HOLD_EFFECT_ROOM_SERVICE 171 -#define HOLD_EFFECT_BLUNDER_POLICY 172 -#define HOLD_EFFECT_HEAVY_DUTY_BOOTS 173 -#define HOLD_EFFECT_THROAT_SPRAY 174 - -// Gen9 hold effects -#define HOLD_EFFECT_ABILITY_SHIELD 175 -#define HOLD_EFFECT_CLEAR_AMULET 176 -#define HOLD_EFFECT_MIRROR_HERB 177 -#define HOLD_EFFECT_PUNCHING_GLOVE 178 -#define HOLD_EFFECT_COVERT_CLOAK 179 -#define HOLD_EFFECT_LOADED_DICE 180 -#define HOLD_EFFECT_BOOSTER_ENERGY 181 -#define HOLD_EFFECT_OGERPON_MASK 182 - -// Gen2 hold effect -#define HOLD_EFFECT_BERSERK_GENE 184 - -#define HOLD_EFFECT_CHOICE(holdEffect)((holdEffect == HOLD_EFFECT_CHOICE_BAND || holdEffect == HOLD_EFFECT_CHOICE_SCARF || holdEffect == HOLD_EFFECT_CHOICE_SPECS)) +#define HOLD_EFFECT_CHOICE(holdEffect) ((holdEffect == HOLD_EFFECT_CHOICE_BAND || holdEffect == HOLD_EFFECT_CHOICE_SCARF || holdEffect == HOLD_EFFECT_CHOICE_SPECS)) // Terrain seed params #define HOLD_EFFECT_PARAM_ELECTRIC_TERRAIN 0 From 9ad0018c176092ea3ff2a1884cf11ae1b5a194b7 Mon Sep 17 00:00:00 2001 From: Rose <83477269+AreaZR@users.noreply.github.com> Date: Thu, 10 Oct 2024 10:27:33 -0400 Subject: [PATCH 080/278] Fix typo: | should be || in Task_TryFieldPoisonWhiteOut Yes, this is honestly overkill, as it doesn't actually fix any behavioral bugs, but I was suggested to do this. This was a typo made in the source that GameFreak made, and the compiler warns against this. I opened a PR in pokeemerald expansion and was suggested to open one here. --- src/field_poison.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/field_poison.c b/src/field_poison.c index f254a6d142..d952b4b640 100644 --- a/src/field_poison.c +++ b/src/field_poison.c @@ -89,7 +89,11 @@ static void Task_TryFieldPoisonWhiteOut(u8 taskId) if (AllMonsFainted()) { // Battle facilities have their own white out script to handle the challenge loss +#ifdef BUGFIX + if (InBattlePyramid() || InBattlePike() || InTrainerHillChallenge()) +#else if (InBattlePyramid() | InBattlePike() || InTrainerHillChallenge()) +#endif gSpecialVar_Result = FLDPSN_FRONTIER_WHITEOUT; else gSpecialVar_Result = FLDPSN_WHITEOUT; From 8d2d62273bd0d3565c4edb211ae4cf6a6b35b258 Mon Sep 17 00:00:00 2001 From: PhallenTree <168426989+PhallenTree@users.noreply.github.com> Date: Thu, 10 Oct 2024 17:36:01 +0100 Subject: [PATCH 081/278] Updated ability popups for Skill Swap, Mummy/Lingering Aroma, Worry Seed, Simple Beam, fix Doodle/Role Play bugs (#5493) * Updated ability popups of Skill Swap, Mummy/Lingering Aroma, Worry Seed, Simple Beam, Fix Doodle and Role Play issues * More Doodle fixes * Add tests * Fix Doodle not activating if partner is fainted and its ability cannot be suppressed * Fix tests compile * Commander cantBeOverwritten * Add battle script for Overwrite then Regular ability --- data/battle_scripts_1.s | 94 +++++++++++++--------- src/battle_message.c | 4 +- src/battle_script_commands.c | 12 ++- src/battle_util.c | 3 +- src/data/abilities.h | 1 + test/battle/ability/mummy.c | 12 +-- test/battle/move_effect/doodle.c | 40 +++++++++- test/battle/move_effect/role_play.c | 74 ++++++++++++++--- test/battle/move_effect/simple_beam.c | 74 +++++++++++++++++ test/battle/move_effect/skill_swap.c | 111 ++++++++++++++++++++++++++ test/battle/move_effect/worry_seed.c | 74 +++++++++++++++++ 11 files changed, 432 insertions(+), 67 deletions(-) create mode 100644 test/battle/move_effect/simple_beam.c create mode 100644 test/battle/move_effect/skill_swap.c create mode 100644 test/battle/move_effect/worry_seed.c diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 94f5736317..fa56c3ff7a 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -214,27 +214,25 @@ BattleScript_EffectDoodle:: attackcanceler attackstring ppreduce + trycopyability BS_ATTACKER, BattleScript_ButItFailed attackanimation waitanimation setbyte gBattleCommunication, 0 + goto BattleScript_EffectDoodle_AfterCopy BattleScript_EffectDoodle_CopyAbility: - trycopyability BS_ATTACKER, BattleScript_ButItFailed + trycopyability BS_ATTACKER, BattleScript_MoveEnd +BattleScript_EffectDoodle_AfterCopy: .if B_ABILITY_POP_UP == TRUE - setbyte sFIXED_ABILITY_POPUP, TRUE - showabilitypopup BS_ATTACKER - pause 60 - sethword sABILITY_OVERWRITE, 0 - updateabilitypopup BS_ATTACKER - pause 20 - destroyabilitypopup - pause 40 + copybyte gBattlerAbility, gBattlerAttacker + call BattleScript_AbilityPopUpOverwriteThenNormal .endif + recordability BS_ATTACKER printstring STRINGID_PKMNCOPIEDFOE waitmessage B_WAIT_TIME_LONG switchinabilities BS_ATTACKER jumpifbyte CMP_NOT_EQUAL, gBattleCommunication, 0x0, BattleScript_MoveEnd addbyte gBattleCommunication, 1 - jumpifnoally BS_TARGET, BattleScript_MoveEnd + jumpifnoally BS_ATTACKER, BattleScript_MoveEnd setallytonextattacker BattleScript_EffectDoodle_CopyAbility goto BattleScript_MoveEnd @@ -2346,6 +2344,11 @@ BattleScript_EffectSimpleBeam:: setabilitysimple BS_TARGET, BattleScript_ButItFailed attackanimation waitanimation +.if B_ABILITY_POP_UP == TRUE + copybyte gBattlerAbility, gBattlerTarget + call BattleScript_AbilityPopUpOverwriteThenNormal +.endif + recordability BS_TARGET printstring STRINGID_PKMNACQUIREDSIMPLE waitmessage B_WAIT_TIME_LONG trytoclearprimalweather @@ -2444,11 +2447,17 @@ BattleScript_EffectWorrySeed:: tryworryseed BattleScript_ButItFailed attackanimation waitanimation +.if B_ABILITY_POP_UP == TRUE + copybyte gBattlerAbility, gBattlerTarget + call BattleScript_AbilityPopUpOverwriteThenNormal +.endif + recordability BS_TARGET printstring STRINGID_PKMNACQUIREDABILITY waitmessage B_WAIT_TIME_LONG trytoclearprimalweather tryrevertweatherform flushtextbox + tryendneutralizinggas BS_TARGET goto BattleScript_MoveEnd BattleScript_EffectPowerSplit:: @@ -5034,15 +5043,10 @@ BattleScript_EffectRolePlay:: attackanimation waitanimation .if B_ABILITY_POP_UP == TRUE - setbyte sFIXED_ABILITY_POPUP, TRUE - showabilitypopup BS_ATTACKER - pause 60 - sethword sABILITY_OVERWRITE, 0 - updateabilitypopup BS_ATTACKER - pause 20 - destroyabilitypopup - pause 40 + copybyte gBattlerAbility, gBattlerAttacker + call BattleScript_AbilityPopUpOverwriteThenNormal .endif + recordability BS_ATTACKER printstring STRINGID_PKMNCOPIEDFOE waitmessage B_WAIT_TIME_LONG switchinabilities BS_ATTACKER @@ -5185,12 +5189,17 @@ BattleScript_EffectSkillSwap:: tryswapabilities BattleScript_ButItFailed attackanimation waitanimation + jumpiftargetally BattleScript_EffectSkillSwap_AfterAbilityPopUp .if B_ABILITY_POP_UP == TRUE - call BattleScript_AbilityPopUpTarget - pause 20 copybyte gBattlerAbility, gBattlerAttacker - call BattleScript_AbilityPopUp + call BattleScript_AbilityPopUpOverwriteThenNormal + copybyte gBattlerAbility, gBattlerTarget + copyhword sABILITY_OVERWRITE, gLastUsedAbility + call BattleScript_AbilityPopUpOverwriteThenNormal .endif +BattleScript_EffectSkillSwap_AfterAbilityPopUp: + recordability BS_ATTACKER + recordability BS_TARGET printstring STRINGID_PKMNSWAPPEDABILITIES waitmessage B_WAIT_TIME_LONG .if B_SKILL_SWAP >= GEN_4 @@ -7605,6 +7614,18 @@ BattleScript_AbilityPopUpScripting: sethword sABILITY_OVERWRITE, 0 return +BattleScript_AbilityPopUpOverwriteThenNormal: + setbyte sFIXED_ABILITY_POPUP, TRUE + showabilitypopup BS_ABILITY_BATTLER + pause 60 + sethword sABILITY_OVERWRITE, 0 + updateabilitypopup BS_ABILITY_BATTLER + pause 20 + recordability BS_ABILITY_BATTLER + destroyabilitypopup + pause 40 + return + BattleScript_SpeedBoostActivates:: statbuffchange MOVE_EFFECT_AFFECTS_USER | STAT_CHANGE_ALLOW_PTR, BattleScript_SpeedBoostActivatesEnd call BattleScript_AbilityPopUp @@ -8366,33 +8387,30 @@ BattleScript_CursedBodyActivates:: return BattleScript_MummyActivates:: - call BattleScript_AbilityPopUp +.if B_ABILITY_POP_UP == TRUE + call BattleScript_AbilityPopUpTarget + setbyte sFIXED_ABILITY_POPUP, TRUE + copybyte gBattlerAbility, gBattlerAttacker + copyhword sABILITY_OVERWRITE, gLastUsedAbility + call BattleScript_AbilityPopUpOverwriteThenNormal +.endif + recordability BS_TARGET + recordability BS_ATTACKER printstring STRINGID_ATTACKERACQUIREDABILITY waitmessage B_WAIT_TIME_LONG return BattleScript_WanderingSpiritActivates:: .if B_ABILITY_POP_UP == TRUE - setbyte sFIXED_ABILITY_POPUP, TRUE + copybyte gBattlerAbility, gBattlerTarget sethword sABILITY_OVERWRITE, ABILITY_WANDERING_SPIRIT - showabilitypopup BS_TARGET - pause 60 - sethword sABILITY_OVERWRITE, 0 - updateabilitypopup BS_TARGET - pause 20 - destroyabilitypopup - pause 40 + call BattleScript_AbilityPopUpOverwriteThenNormal copybyte gBattlerAbility, gBattlerAttacker - setbyte sFIXED_ABILITY_POPUP, TRUE copyhword sABILITY_OVERWRITE, gLastUsedAbility - showabilitypopup BS_ATTACKER - pause 60 - sethword sABILITY_OVERWRITE, 0 - updateabilitypopup BS_ATTACKER - pause 20 - destroyabilitypopup - pause 40 + call BattleScript_AbilityPopUpOverwriteThenNormal .endif + recordability BS_TARGET + recordability BS_ATTACKER printstring STRINGID_SWAPPEDABILITIES waitmessage B_WAIT_TIME_LONG switchinabilities BS_ATTACKER diff --git a/src/battle_message.c b/src/battle_message.c index ecb2932124..52c6dec6ae 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -640,7 +640,7 @@ static const u8 sText_HealingWishCameTrue[] = _("The healing wish came true\nfor static const u8 sText_HealingWishHealed[] = _("{B_ATK_NAME_WITH_PREFIX} regained health!"); static const u8 sText_LunarDanceCameTrue[] = _("{B_ATK_NAME_WITH_PREFIX} became cloaked\nin mystical moonlight!"); static const u8 sText_CursedBodyDisabled[] = _("{B_ATK_NAME_WITH_PREFIX}'s {B_BUFF1} was disabled\nby {B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY}!"); -static const u8 sText_AttackerAquiredAbility[] = _("{B_ATK_NAME_WITH_PREFIX} acquired\n{B_LAST_ABILITY}!"); +static const u8 sText_AttackerAcquiredAbility[] = _("{B_ATK_NAME_WITH_PREFIX} acquired\n{B_ATK_ABILITY}!"); static const u8 sText_TargetStatWontGoHigher[] = _("{B_DEF_NAME_WITH_PREFIX}'s {B_BUFF1}\nwon't go higher!"); static const u8 sText_PkmnMoveBouncedViaAbility[] = _("{B_ATK_NAME_WITH_PREFIX}'s {B_CURRENT_MOVE} was\nbounced back by {B_DEF_NAME_WITH_PREFIX}'s\l{B_DEF_ABILITY}!"); static const u8 sText_ImposterTransform[] = _("{B_ATK_NAME_WITH_PREFIX} transformed into\n{B_DEF_NAME_WITH_PREFIX} using {B_LAST_ABILITY}!"); @@ -1477,7 +1477,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_HEALINGWISHHEALED - BATTLESTRINGS_TABLE_START] = sText_HealingWishHealed, [STRINGID_LUNARDANCECAMETRUE - BATTLESTRINGS_TABLE_START] = sText_LunarDanceCameTrue, [STRINGID_CUSEDBODYDISABLED - BATTLESTRINGS_TABLE_START] = sText_CursedBodyDisabled, - [STRINGID_ATTACKERACQUIREDABILITY - BATTLESTRINGS_TABLE_START] = sText_AttackerAquiredAbility, + [STRINGID_ATTACKERACQUIREDABILITY - BATTLESTRINGS_TABLE_START] = sText_AttackerAcquiredAbility, [STRINGID_TARGETABILITYSTATLOWER - BATTLESTRINGS_TABLE_START] = sText_TargetAbilityLoweredStat, [STRINGID_TARGETSTATWONTGOHIGHER - BATTLESTRINGS_TABLE_START] = sText_TargetStatWontGoHigher, [STRINGID_PKMNMOVEBOUNCEDABILITY - BATTLESTRINGS_TABLE_START] = sText_PkmnMoveBouncedViaAbility, diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index ba372d1c54..618164dd18 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -9782,6 +9782,7 @@ static void Cmd_various(void) if (gBattleMons[gBattlerTarget].ability == ABILITY_NEUTRALIZING_GAS) gSpecialStatuses[gBattlerTarget].neutralizingGasRemoved = TRUE; + gBattleScripting.abilityPopupOverwrite = gBattleMons[gBattlerTarget].ability; gBattleMons[gBattlerTarget].ability = gBattleStruct->overwrittenAbilities[gBattlerTarget] = ABILITY_SIMPLE; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -14369,7 +14370,7 @@ static void Cmd_trycopyability(void) if (gBattleMons[battler].ability == defAbility || defAbility == ABILITY_NONE || gAbilitiesInfo[gBattleMons[battler].ability].cantBeSuppressed - || gAbilitiesInfo[gBattleMons[BATTLE_PARTNER(battler)].ability].cantBeSuppressed + || (IsBattlerAlive(BATTLE_PARTNER(battler)) && gAbilitiesInfo[gBattleMons[BATTLE_PARTNER(battler)].ability].cantBeSuppressed && gMovesInfo[gCurrentMove].effect == EFFECT_DOODLE) || gAbilitiesInfo[defAbility].cantBeCopied) { gBattlescriptCurrInstr = cmd->failInstr; @@ -14565,9 +14566,11 @@ static void Cmd_tryswapabilities(void) } else { - u16 abilityAtk = gBattleMons[gBattlerAttacker].ability; - gBattleMons[gBattlerAttacker].ability = gBattleStruct->overwrittenAbilities[gBattlerAttacker] = gBattleMons[gBattlerTarget].ability; - gBattleMons[gBattlerTarget].ability = gBattleStruct->overwrittenAbilities[gBattlerTarget] = abilityAtk; + if (GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)) + gBattleScripting.abilityPopupOverwrite = gBattleMons[gBattlerAttacker].ability; + gLastUsedAbility = gBattleMons[gBattlerTarget].ability; + gBattleMons[gBattlerTarget].ability = gBattleStruct->overwrittenAbilities[gBattlerTarget] = gBattleMons[gBattlerAttacker].ability; + gBattleMons[gBattlerAttacker].ability = gBattleStruct->overwrittenAbilities[gBattlerAttacker] = gLastUsedAbility; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -15859,6 +15862,7 @@ static void Cmd_tryworryseed(void) } else { + gBattleScripting.abilityPopupOverwrite = gBattleMons[gBattlerTarget].ability; gBattleMons[gBattlerTarget].ability = gBattleStruct->overwrittenAbilities[gBattlerTarget] = ABILITY_INSOMNIA; gBattlescriptCurrInstr = cmd->nextInstr; } diff --git a/src/battle_util.c b/src/battle_util.c index b572acc7c1..e5d8c5f041 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -5546,7 +5546,8 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; } - gLastUsedAbility = gBattleMons[gBattlerAttacker].ability = gBattleStruct->overwrittenAbilities[gBattlerAttacker] = gBattleMons[gBattlerTarget].ability; + gLastUsedAbility = gBattleMons[gBattlerAttacker].ability; + gBattleMons[gBattlerAttacker].ability = gBattleStruct->overwrittenAbilities[gBattlerAttacker] = gBattleMons[gBattlerTarget].ability; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MummyActivates; effect++; diff --git a/src/data/abilities.h b/src/data/abilities.h index a85f114fec..ba768a0a51 100644 --- a/src/data/abilities.h +++ b/src/data/abilities.h @@ -2273,6 +2273,7 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = .cantBeSwapped = TRUE, .cantBeTraced = TRUE, .cantBeSuppressed = TRUE, + .cantBeOverwritten = TRUE, }, [ABILITY_ELECTROMORPHOSIS] = diff --git a/test/battle/ability/mummy.c b/test/battle/ability/mummy.c index ed80a178e6..74461ec2ee 100644 --- a/test/battle/ability/mummy.c +++ b/test/battle/ability/mummy.c @@ -70,19 +70,19 @@ SINGLE_BATTLE_TEST("Mummy doesn't replace abilities that can't be suppressed") PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } - PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } - PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } - PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } - PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } PARAMETRIZE { species = SPECIES_CRAMORANT; ability = ABILITY_GULP_MISSILE; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } - PARAMETRIZE { species = SPECIES_CALYREX_SHADOW_RIDER; ability = ABILITY_AS_ONE_SHADOW_RIDER; } - PARAMETRIZE { species = SPECIES_CALYREX_ICE_RIDER; ability = ABILITY_AS_ONE_ICE_RIDER; } GIVEN { PLAYER(SPECIES_YAMASK); diff --git a/test/battle/move_effect/doodle.c b/test/battle/move_effect/doodle.c index bf7e208646..ba7729a895 100644 --- a/test/battle/move_effect/doodle.c +++ b/test/battle/move_effect/doodle.c @@ -35,8 +35,8 @@ DOUBLE_BATTLE_TEST("Doodle can't copy a banned ability") } WHEN { TURN { MOVE(playerLeft, MOVE_DOODLE, target: opponentLeft); } } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); MESSAGE("Wynaut copied Foe Great Tusk's Protosynthesis!"); MESSAGE("Wynaut copied Foe Great Tusk's Protosynthesis!"); } @@ -56,7 +56,7 @@ DOUBLE_BATTLE_TEST("Doodle fails if user has a banned Ability") } WHEN { TURN { MOVE(playerLeft, MOVE_DOODLE, target: opponentLeft); } } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); MESSAGE("But it failed!"); } THEN { EXPECT(playerLeft->ability == ABILITY_GULP_MISSILE); @@ -74,10 +74,44 @@ DOUBLE_BATTLE_TEST("Doodle fails if partner has a banned Ability") } WHEN { TURN { MOVE(playerLeft, MOVE_DOODLE, target: opponentLeft); } } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, playerLeft); MESSAGE("But it failed!"); } THEN { EXPECT(playerLeft->ability == ABILITY_SHADOW_TAG); EXPECT(playerRight->ability == ABILITY_GULP_MISSILE); } } + +DOUBLE_BATTLE_TEST("Doodle fails if ally's ability can't be suppressed") +{ + u32 species, ability; + + PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } + PARAMETRIZE { species = SPECIES_DARMANITAN; ability = ABILITY_ZEN_MODE; } + PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } + PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } + PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } + PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } + PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } + PARAMETRIZE { species = SPECIES_CRAMORANT; ability = ABILITY_GULP_MISSILE; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } + PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } + PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } + + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(species) { Ability(ability); } + } WHEN { + TURN { MOVE(opponentLeft, MOVE_DOODLE, target: playerLeft); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, opponentLeft); + MESSAGE("But it failed!"); + } +} diff --git a/test/battle/move_effect/role_play.c b/test/battle/move_effect/role_play.c index 46452ec3ff..ab0d801ee9 100644 --- a/test/battle/move_effect/role_play.c +++ b/test/battle/move_effect/role_play.c @@ -1,25 +1,65 @@ #include "global.h" #include "test/battle.h" -// Technically also covers Skill Swap and Doodle since both moves use the same command as Role Play ASSUMPTIONS { ASSUME(gMovesInfo[MOVE_ROLE_PLAY].effect == EFFECT_ROLE_PLAY); } -SINGLE_BATTLE_TEST("Role Play fails if target has a banned ability") +SINGLE_BATTLE_TEST("Role Play copies target's ability") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + }WHEN { + TURN { MOVE(player, MOVE_ROLE_PLAY); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROLE_PLAY, player); + ABILITY_POPUP(player, ABILITY_TELEPATHY); + } THEN { + EXPECT_EQ(player->ability, ABILITY_BLAZE); + EXPECT_EQ(opponent->ability, ABILITY_BLAZE); + } +} + +DOUBLE_BATTLE_TEST("Role Play copies target's current ability even if it changed during that turn") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + OPPONENT(SPECIES_BULBASAUR) { Ability(ABILITY_OVERGROW); } + OPPONENT(SPECIES_SQUIRTLE) { Ability(ABILITY_TORRENT); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_ROLE_PLAY, target: opponentLeft); MOVE(opponentRight, MOVE_ROLE_PLAY, target: playerLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROLE_PLAY, playerLeft); + ABILITY_POPUP(playerLeft, ABILITY_TELEPATHY); + if (MOVE_ROLE_PLAY == MOVE_DOODLE) + ABILITY_POPUP(playerRight, ABILITY_BLAZE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROLE_PLAY, opponentRight); + ABILITY_POPUP(opponentRight, ABILITY_TORRENT); + NOT ABILITY_POPUP(opponentLeft, ABILITY_OVERGROW); // Already has ability (Doodle) + } THEN { + EXPECT_EQ(playerLeft->ability, ABILITY_OVERGROW); + if (MOVE_ROLE_PLAY == MOVE_DOODLE) + EXPECT_EQ(playerRight->ability, ABILITY_OVERGROW); + EXPECT_EQ(opponentLeft->ability, ABILITY_OVERGROW); + EXPECT_EQ(opponentRight->ability, ABILITY_OVERGROW); + } +} + +SINGLE_BATTLE_TEST("Role Play and Doodle fail if target's ability can't be copied'") { u32 species, ability; PARAMETRIZE { species = SPECIES_SHEDINJA; ability = ABILITY_WONDER_GUARD; } PARAMETRIZE { species = SPECIES_CASTFORM; ability = ABILITY_FORECAST; } - PARAMETRIZE { species = SPECIES_CHERRIM; ability = ABILITY_FLOWER_GIFT; } PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } + PARAMETRIZE { species = SPECIES_CHERRIM; ability = ABILITY_FLOWER_GIFT; } PARAMETRIZE { species = SPECIES_ZORUA; ability = ABILITY_ILLUSION; } PARAMETRIZE { species = SPECIES_DARMANITAN; ability = ABILITY_ZEN_MODE; } - PARAMETRIZE { species = SPECIES_DITTO; ability = ABILITY_IMPOSTER; } PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } - PARAMETRIZE { species = SPECIES_MUK_ALOLAN; ability = ABILITY_POWER_OF_ALCHEMY; } + PARAMETRIZE { species = SPECIES_MUK_ALOLA; ability = ABILITY_POWER_OF_ALCHEMY; } PARAMETRIZE { species = SPECIES_PASSIMIAN; ability = ABILITY_RECEIVER; } PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } @@ -38,29 +78,34 @@ SINGLE_BATTLE_TEST("Role Play fails if target has a banned ability") PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } OPPONENT(species) { Ability(ability); } } WHEN { - TURN { MOVE(player,MOVE_ROLE_PLAY); } + TURN { MOVE(player, MOVE_ROLE_PLAY); } + TURN { MOVE(player, MOVE_DOODLE); } } SCENE { NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_ROLE_PLAY, player); MESSAGE("But it failed!"); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, player); + MESSAGE("But it failed!"); } } -SINGLE_BATTLE_TEST("Role Play fails if user has a banned ability") +SINGLE_BATTLE_TEST("Role Play fails if user's ability can't be suppressed") { u32 species, ability; PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } PARAMETRIZE { species = SPECIES_DARMANITAN; ability = ABILITY_ZEN_MODE; } PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } - PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } - PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } - PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } - PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } - PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } PARAMETRIZE { species = SPECIES_CRAMORANT; ability = ABILITY_GULP_MISSILE; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } @@ -68,9 +113,12 @@ SINGLE_BATTLE_TEST("Role Play fails if user has a banned ability") PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } OPPONENT(species) { Ability(ability); } } WHEN { - TURN { MOVE(opponent,MOVE_ROLE_PLAY); } + TURN { MOVE(opponent, MOVE_ROLE_PLAY); } + TURN { MOVE(opponent, MOVE_DOODLE); } } SCENE { NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_ROLE_PLAY, opponent); MESSAGE("But it failed!"); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_DOODLE, opponent); + MESSAGE("But it failed!"); } } diff --git a/test/battle/move_effect/simple_beam.c b/test/battle/move_effect/simple_beam.c new file mode 100644 index 0000000000..e91bf0b8ce --- /dev/null +++ b/test/battle/move_effect/simple_beam.c @@ -0,0 +1,74 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_SIMPLE_BEAM].effect == EFFECT_SIMPLE_BEAM); +} + +SINGLE_BATTLE_TEST("Simple Beam replaces target's ability with Simple") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + }WHEN { + TURN { MOVE(player, MOVE_SIMPLE_BEAM); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SIMPLE_BEAM, player); + ABILITY_POPUP(opponent, ABILITY_BLAZE); + } THEN { + EXPECT_EQ(opponent->ability, ABILITY_SIMPLE); + } +} + +DOUBLE_BATTLE_TEST("Simple Beam fails if the target already has Simple") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + OPPONENT(SPECIES_BULBASAUR) { Ability(ABILITY_OVERGROW); } + OPPONENT(SPECIES_SQUIRTLE) { Ability(ABILITY_TORRENT); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_SIMPLE_BEAM, target: opponentLeft); MOVE(playerRight, MOVE_SIMPLE_BEAM, target: opponentLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SIMPLE_BEAM, playerLeft); + ABILITY_POPUP(opponentLeft, ABILITY_OVERGROW); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SIMPLE_BEAM, playerRight); + ABILITY_POPUP(opponentLeft, ABILITY_SIMPLE); + } + } THEN { + EXPECT_EQ(opponentLeft->ability, ABILITY_SIMPLE); + } +} + +SINGLE_BATTLE_TEST("Simple Beam fails if target has an ability that can't be overwritten") +{ + u32 species, ability; + + PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } + PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } + PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } + PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } + PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } + PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } + PARAMETRIZE { species = SPECIES_CRAMORANT; ability = ABILITY_GULP_MISSILE; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } + PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } + PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } + + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(species) { Ability(ability); } + } WHEN { + TURN { MOVE(player, MOVE_SIMPLE_BEAM); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_SIMPLE_BEAM, player); + MESSAGE("But it failed!"); + } +} diff --git a/test/battle/move_effect/skill_swap.c b/test/battle/move_effect/skill_swap.c new file mode 100644 index 0000000000..5f2196fe7e --- /dev/null +++ b/test/battle/move_effect/skill_swap.c @@ -0,0 +1,111 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_SKILL_SWAP].effect == EFFECT_SKILL_SWAP); +} + +SINGLE_BATTLE_TEST("Skill Swap swaps user and target's abilities") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + }WHEN { + TURN { MOVE(player, MOVE_SKILL_SWAP); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, player); + ABILITY_POPUP(player, ABILITY_TELEPATHY); + ABILITY_POPUP(opponent, ABILITY_BLAZE); + } THEN { + EXPECT_EQ(player->ability, ABILITY_BLAZE); + EXPECT_EQ(opponent->ability, ABILITY_TELEPATHY); + } +} + +DOUBLE_BATTLE_TEST("Skill Swap only swaps user's ability with target's ability") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + OPPONENT(SPECIES_BULBASAUR) { Ability(ABILITY_OVERGROW); } + OPPONENT(SPECIES_SQUIRTLE) { Ability(ABILITY_TORRENT); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_SKILL_SWAP, target: opponentLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, playerLeft); + ABILITY_POPUP(playerLeft, ABILITY_TELEPATHY); + ABILITY_POPUP(opponentLeft, ABILITY_OVERGROW); + } THEN { + EXPECT_EQ(playerLeft->ability, ABILITY_OVERGROW); + EXPECT_EQ(playerRight->ability, ABILITY_BLAZE); + EXPECT_EQ(opponentLeft->ability, ABILITY_TELEPATHY); + EXPECT_EQ(opponentRight->ability, ABILITY_TORRENT); + } +} + +DOUBLE_BATTLE_TEST("Skill Swap doesn't display ability popups when swapping with an ally") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + OPPONENT(SPECIES_BULBASAUR) { Ability(ABILITY_OVERGROW); } + OPPONENT(SPECIES_SQUIRTLE) { Ability(ABILITY_TORRENT); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_SKILL_SWAP, target: playerRight); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, playerLeft); + NONE_OF { + ABILITY_POPUP(playerLeft, ABILITY_TELEPATHY); + ABILITY_POPUP(playerRight, ABILITY_BLAZE); + } + } THEN { + EXPECT_EQ(playerLeft->ability, ABILITY_BLAZE); + EXPECT_EQ(playerRight->ability, ABILITY_TELEPATHY); + } +} + +SINGLE_BATTLE_TEST("Skill Swap fails if user or target has an ability that can't be swapped") +{ + u32 species, ability; + + PARAMETRIZE { species = SPECIES_SHEDINJA; ability = ABILITY_WONDER_GUARD; } + PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } + PARAMETRIZE { species = SPECIES_ZORUA; ability = ABILITY_ILLUSION; } + PARAMETRIZE { species = SPECIES_DARMANITAN; ability = ABILITY_ZEN_MODE; } + PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } + PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } + PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } + PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } + PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_KOFFING; ability = ABILITY_NEUTRALIZING_GAS; } + PARAMETRIZE { species = SPECIES_MORPEKO; ability = ABILITY_HUNGER_SWITCH; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } + PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } + PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } + PARAMETRIZE { species = SPECIES_GREAT_TUSK; ability = ABILITY_PROTOSYNTHESIS; } + PARAMETRIZE { species = SPECIES_IRON_TREADS; ability = ABILITY_QUARK_DRIVE; } + PARAMETRIZE { species = SPECIES_OGERPON_TEAL_MASK_TERA; ability = ABILITY_EMBODY_ASPECT_TEAL_MASK; } + PARAMETRIZE { species = SPECIES_OGERPON_HEARTHFLAME_MASK_TERA; ability = ABILITY_EMBODY_ASPECT_HEARTHFLAME_MASK; } + PARAMETRIZE { species = SPECIES_OGERPON_WELLSPRING_MASK_TERA; ability = ABILITY_EMBODY_ASPECT_WELLSPRING_MASK; } + PARAMETRIZE { species = SPECIES_OGERPON_CORNERSTONE_MASK_TERA; ability = ABILITY_EMBODY_ASPECT_CORNERSTONE_MASK; } + PARAMETRIZE { species = SPECIES_TERAPAGOS_TERASTAL; ability = ABILITY_TERA_SHELL; } + PARAMETRIZE { species = SPECIES_TERAPAGOS_STELLAR; ability = ABILITY_TERAFORM_ZERO; } + + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(species) { Ability(ability); } + } WHEN { + TURN { MOVE(player, MOVE_SKILL_SWAP); MOVE(opponent, MOVE_SKILL_SWAP); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, player); + MESSAGE("But it failed!"); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, opponent); + MESSAGE("But it failed!"); + } +} diff --git a/test/battle/move_effect/worry_seed.c b/test/battle/move_effect/worry_seed.c new file mode 100644 index 0000000000..3e74c883e7 --- /dev/null +++ b/test/battle/move_effect/worry_seed.c @@ -0,0 +1,74 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_WORRY_SEED].effect == EFFECT_WORRY_SEED); +} + +SINGLE_BATTLE_TEST("Worry Seed replaces target's ability with Insomnia") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + }WHEN { + TURN { MOVE(player, MOVE_WORRY_SEED); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_WORRY_SEED, player); + ABILITY_POPUP(opponent, ABILITY_BLAZE); + } THEN { + EXPECT_EQ(opponent->ability, ABILITY_INSOMNIA); + } +} + +DOUBLE_BATTLE_TEST("Worry Seed fails if the target already has Insomnia") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + PLAYER(SPECIES_CHARMANDER) { Ability(ABILITY_BLAZE); } + OPPONENT(SPECIES_BULBASAUR) { Ability(ABILITY_OVERGROW); } + OPPONENT(SPECIES_SQUIRTLE) { Ability(ABILITY_TORRENT); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_WORRY_SEED, target: opponentLeft); MOVE(playerRight, MOVE_WORRY_SEED, target: opponentLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_WORRY_SEED, playerLeft); + ABILITY_POPUP(opponentLeft, ABILITY_OVERGROW); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_WORRY_SEED, playerRight); + ABILITY_POPUP(opponentLeft, ABILITY_INSOMNIA); + } + } THEN { + EXPECT_EQ(opponentLeft->ability, ABILITY_INSOMNIA); + } +} + +SINGLE_BATTLE_TEST("Worry Seed fails if target has an ability that can't be overwritten") +{ + u32 species, ability; + + PARAMETRIZE { species = SPECIES_ARCEUS; ability = ABILITY_MULTITYPE; } + PARAMETRIZE { species = SPECIES_AEGISLASH; ability = ABILITY_STANCE_CHANGE; } + PARAMETRIZE { species = SPECIES_MINIOR; ability = ABILITY_SHIELDS_DOWN; } + PARAMETRIZE { species = SPECIES_WISHIWASHI; ability = ABILITY_SCHOOLING; } + PARAMETRIZE { species = SPECIES_MIMIKYU; ability = ABILITY_DISGUISE; } + PARAMETRIZE { species = SPECIES_GRENINJA_BATTLE_BOND; ability = ABILITY_BATTLE_BOND; } + PARAMETRIZE { species = SPECIES_ZYGARDE; ability = ABILITY_POWER_CONSTRUCT; } + PARAMETRIZE { species = SPECIES_KOMALA; ability = ABILITY_COMATOSE; } + PARAMETRIZE { species = SPECIES_SILVALLY; ability = ABILITY_RKS_SYSTEM; } + PARAMETRIZE { species = SPECIES_CRAMORANT; ability = ABILITY_GULP_MISSILE; } + PARAMETRIZE { species = SPECIES_EISCUE; ability = ABILITY_ICE_FACE; } + PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; } + PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; } + PARAMETRIZE { species = SPECIES_PALAFIN_ZERO; ability = ABILITY_ZERO_TO_HERO; } + PARAMETRIZE { species = SPECIES_TATSUGIRI; ability = ABILITY_COMMANDER; } + + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_TELEPATHY); } + OPPONENT(species) { Ability(ability); } + } WHEN { + TURN { MOVE(player, MOVE_WORRY_SEED); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_WORRY_SEED, player); + MESSAGE("But it failed!"); + } +} From 8890500b770d4712b2456d1addefbe0b44993793 Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Thu, 10 Oct 2024 14:26:46 -0500 Subject: [PATCH 082/278] Fix P_FRIENDSHIP_EVO_THRESHOLD not checking for Gen 8 (#5503) --- src/pokemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon.c b/src/pokemon.c index 0583939a85..356ca64ac2 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -60,7 +60,7 @@ #include "constants/weather.h" #include "wild_encounter.h" -#define FRIENDSHIP_EVO_THRESHOLD ((P_FRIENDSHIP_EVO_THRESHOLD >= GEN_9) ? 160 : 220) +#define FRIENDSHIP_EVO_THRESHOLD ((P_FRIENDSHIP_EVO_THRESHOLD >= GEN_8) ? 160 : 220) struct SpeciesItem { From 5b4acea6519096b7b53020ee43b7ea22aabdc550 Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Thu, 10 Oct 2024 14:27:50 -0500 Subject: [PATCH 083/278] Add config to change Vivillon's breeding form (#4813) * Add config to change Vivillon's default form * Update daycare.c * Remove the default form stuff * Update daycare.c * Clean up * Assert and fancy --- include/config/pokemon.h | 19 ++++++++++--------- src/daycare.c | 4 ++++ 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/include/config/pokemon.h b/include/config/pokemon.h index 15db4881b5..cabaea2c7c 100644 --- a/include/config/pokemon.h +++ b/include/config/pokemon.h @@ -22,15 +22,16 @@ #define P_FRIENDSHIP_EVO_THRESHOLD GEN_LATEST // Since Gen 8, Pokémon that evolve by friendship evolve at or above 160 friendship instead of 220. // Breeding settings -#define P_NIDORAN_M_DITTO_BREED GEN_LATEST // Since Gen 5, when Nidoran♂ breeds with Ditto it can produce Nidoran♀ offspring. Before, it would only yield male offspring. This change also applies to Volbeat. -#define P_INCENSE_BREEDING GEN_LATEST // Since Gen 9, cross-generation Baby Pokémon don't require Incense being held by the parents to be obtained via breeding. -#define P_EGG_HATCH_LEVEL GEN_LATEST // Since Gen 4, Pokémon will hatch from eggs at level 1 instead of 5. -#define P_BALL_INHERITING GEN_LATEST // Since Gen 6, Eggs from the Daycare will inherit the Poké Ball from their mother. From Gen 7 onwards, the father can pass it down as well, as long as it's of the same species as the mother. -#define P_TM_INHERITANCE GEN_LATEST // Since Gen 6, the father no longer passes down TMs to the baby. -#define P_MOTHER_EGG_MOVE_INHERITANCE GEN_LATEST // Since Gen 6, the mother can also pass down Egg Moves. -#define P_NATURE_INHERITANCE GEN_LATEST // In Gen 3, Everstone grants Ditto and mothers a 50% chance to pass on Nature. Since Gen 4, anyone can pass on nature. Since Gen 5, the chance is 100%. -#define P_ABILITY_INHERITANCE GEN_LATEST // In B2W2, a female Pokémon has an 80% chance of passing down their ability if bred with a male. Since Gen 6, the chance is 80% for normal ability and 60% for Hidden Ability, and anyone can pass down their abilities if bred with Ditto. NOTE: BW's effect: 60% chance to pass down HA and random for normal ability has been omitted. -#define P_EGG_MOVE_TRANSFER GEN_LATEST // Starting in Gen 8, if two Pokémon of the same species are together in the Daycare, one knows an Egg Move, and the other has an empty slot, the other Pokémon will receive the Egg Move in the empty slot. In Gen 9, if a Pokémon holds a Mirror Herb, it will receive Egg Moves from the other regardless of species. +#define P_NIDORAN_M_DITTO_BREED GEN_LATEST // Since Gen 5, when Nidoran♂ breeds with Ditto it can produce Nidoran♀ offspring. Before, it would only yield male offspring. This change also applies to Volbeat. +#define P_INCENSE_BREEDING GEN_LATEST // Since Gen 9, cross-generation Baby Pokémon don't require Incense being held by the parents to be obtained via breeding. +#define P_EGG_HATCH_LEVEL GEN_LATEST // Since Gen 4, Pokémon will hatch from eggs at level 1 instead of 5. +#define P_BALL_INHERITING GEN_LATEST // Since Gen 6, Eggs from the Daycare will inherit the Poké Ball from their mother. From Gen 7 onwards, the father can pass it down as well, as long as it's of the same species as the mother. +#define P_TM_INHERITANCE GEN_LATEST // Since Gen 6, the father no longer passes down TMs to the baby. +#define P_MOTHER_EGG_MOVE_INHERITANCE GEN_LATEST // Since Gen 6, the mother can also pass down Egg Moves. +#define P_NATURE_INHERITANCE GEN_LATEST // In Gen 3, Everstone grants Ditto and mothers a 50% chance to pass on Nature. Since Gen 4, anyone can pass on nature. Since Gen 5, the chance is 100%. +#define P_ABILITY_INHERITANCE GEN_LATEST // In B2W2, a female Pokémon has an 80% chance of passing down their ability if bred with a male. Since Gen 6, the chance is 80% for normal ability and 60% for Hidden Ability, and anyone can pass down their abilities if bred with Ditto. NOTE: BW's effect: 60% chance to pass down HA and random for normal ability has been omitted. +#define P_EGG_MOVE_TRANSFER GEN_LATEST // Starting in Gen 8, if two Pokémon of the same species are together in the Daycare, one knows an Egg Move, and the other has an empty slot, the other Pokémon will receive the Egg Move in the empty slot. In Gen 9, if a Pokémon holds a Mirror Herb, it will receive Egg Moves from the other regardless of species. +#define P_SCATTERBUG_LINE_FORM_BREED SPECIES_SCATTERBUG_FANCY // Choose the Scatterbug form all Vivillon/Spewpa/Scatterbug will breed into, basically aligning with the "location" of the player's game. // Species-specific settings #define P_SHEDINJA_BALL GEN_LATEST // Since Gen 4, Shedinja requires a Poké Ball for its evolution. In Gen 3, Shedinja inherits Nincada's Ball. diff --git a/src/daycare.c b/src/daycare.c index 7a31f15b27..780e69e44d 100644 --- a/src/daycare.c +++ b/src/daycare.c @@ -996,6 +996,8 @@ static void GiveMoveIfItem(struct Pokemon *mon, struct DayCare *daycare) } } +STATIC_ASSERT(P_SCATTERBUG_LINE_FORM_BREED == SPECIES_SCATTERBUG_ICY_SNOW || (P_SCATTERBUG_LINE_FORM_BREED >= SPECIES_SCATTERBUG_POLAR && P_SCATTERBUG_LINE_FORM_BREED <= SPECIES_SCATTERBUG_POKEBALL), ScatterbugLineFormBreedMustBeAValidScatterbugForm); + static u16 DetermineEggSpeciesAndParentSlots(struct DayCare *daycare, u8 *parentSlots) { u16 i; @@ -1030,6 +1032,8 @@ static u16 DetermineEggSpeciesAndParentSlots(struct DayCare *daycare, u8 *parent eggSpecies = SPECIES_PHIONE; else if (GET_BASE_SPECIES_ID(eggSpecies) == SPECIES_ROTOM) eggSpecies = SPECIES_ROTOM; + else if (GET_BASE_SPECIES_ID(eggSpecies) == SPECIES_SCATTERBUG) + eggSpecies = P_SCATTERBUG_LINE_FORM_BREED; else if (GET_BASE_SPECIES_ID(eggSpecies) == SPECIES_FURFROU) eggSpecies = SPECIES_FURFROU; else if (eggSpecies == SPECIES_SINISTEA_ANTIQUE) From 130d6042e0cd0fcf56d713c8c5901d87637da3fb Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Thu, 10 Oct 2024 15:37:57 -0500 Subject: [PATCH 084/278] Add Ion Deluge animation (#5467) --- data/battle_anim_scripts.s | 11 ++++++ src/battle_anim_electric.c | 71 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index c16a5c7859..215b8deaff 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -7710,6 +7710,17 @@ gBattleAnimMove_NobleRoar:: end gBattleAnimMove_IonDeluge:: + loadspritegfx ANIM_TAG_IONS + loopsewithpan SE_M_THUNDERBOLT2, SOUND_PAN_ATTACKER, 10, 12 + createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 0, 4, RGB_YELLOW + waitforvisualfinish + createvisualtask AnimTask_CreateIons, 2, 0, 3, 120 + createvisualtask AnimTask_CreateIons, 2, 0, 3, 120 + delay 120 + delay 30 + waitforvisualfinish + createvisualtask AnimTask_BlendBattleAnimPal, 10, (F_PAL_BG | F_PAL_BATTLERS_2), 2, 4, 0, RGB_YELLOW + waitforvisualfinish end gBattleAnimMove_ParabolicCharge:: diff --git a/src/battle_anim_electric.c b/src/battle_anim_electric.c index de6d820264..64114227e1 100644 --- a/src/battle_anim_electric.c +++ b/src/battle_anim_electric.c @@ -29,6 +29,8 @@ static bool8 CreateShockWaveBoltSprite(struct Task *task, u8 taskId); static void AnimShockWaveProgressingBolt(struct Sprite *); static bool8 CreateShockWaveLightningSprite(struct Task *task, u8 taskId); static void AnimShockWaveLightning(struct Sprite *sprite); +static void AnimIon(struct Sprite *); +static void AnimIon_Step(struct Sprite *); static const union AnimCmd sAnim_Lightning[] = { @@ -559,6 +561,34 @@ const struct SpriteTemplate gSeedFlareGreenChargeTemplate = .callback = AnimGrowingChargeOrb }; +static const union AnimCmd sAnim_Ion[] = +{ + ANIMCMD_FRAME(0, 2), + ANIMCMD_FRAME(8, 2), + ANIMCMD_FRAME(16, 2), + ANIMCMD_FRAME(24, 6), + ANIMCMD_FRAME(32, 2), + ANIMCMD_FRAME(40, 2), + ANIMCMD_FRAME(48, 2), + ANIMCMD_END, +}; + +static const union AnimCmd *const sAnims_Ion[] = +{ + sAnim_Ion, +}; + +const struct SpriteTemplate gIonSpriteTemplate = +{ + .tileTag = ANIM_TAG_IONS, + .paletteTag = ANIM_TAG_IONS, + .oam = &gOamData_AffineOff_ObjNormal_16x32, + .anims = sAnims_Ion, + .images = NULL, + .affineAnims = gDummySpriteAffineAnimTable, + .callback = AnimIon, +}; + // functions static void AnimLightning(struct Sprite *sprite) { @@ -1452,3 +1482,44 @@ static void AnimShockWaveLightning(struct Sprite *sprite) DestroySprite(sprite); } } + +// Copy of Rain Dance's function but displays the ion sprite instead +// arg 0: initial step +// arg 1: amount (?) +// arg 2: duration +void AnimTask_CreateIons(u8 taskId) +{ + u8 x, y; + + if (gTasks[taskId].data[0] == 0) + { + gTasks[taskId].data[1] = gBattleAnimArgs[0]; + gTasks[taskId].data[2] = gBattleAnimArgs[1]; + gTasks[taskId].data[3] = gBattleAnimArgs[2]; + } + gTasks[taskId].data[0]++; + if (gTasks[taskId].data[0] % gTasks[taskId].data[2] == 1) + { + x = Random2() % DISPLAY_WIDTH; + y = Random2() % (DISPLAY_HEIGHT / 2); + CreateSprite(&gIonSpriteTemplate, x, y, 4); + } + if (gTasks[taskId].data[0] == gTasks[taskId].data[3]) + DestroyAnimVisualTask(taskId); +} + +static void AnimIon(struct Sprite *sprite) +{ + sprite->callback = AnimIon_Step; +} + +static void AnimIon_Step(struct Sprite *sprite) +{ + if (++sprite->data[0] <= 13) + { + sprite->x2++; + sprite->y2 += 4; + } + if (sprite->animEnded) + DestroySprite(sprite); +} From cac815164af74818671b6e8c6756d654ff867406 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Fri, 11 Oct 2024 12:14:14 +0200 Subject: [PATCH 085/278] Cleanup extraneous function in header (#5506) --- include/battle_anim.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/battle_anim.h b/include/battle_anim.h index 6ff7e9ff22..36b21bc012 100644 --- a/include/battle_anim.h +++ b/include/battle_anim.h @@ -347,7 +347,6 @@ extern const union AnimCmd *const gAnims_WaterPulseBubble[]; // battle_anim_flying.c void DestroyAnimSpriteAfterTimer(struct Sprite *sprite); -void sub_810E2C8(struct Sprite *sprite); void AnimAirWaveCrescent(struct Sprite *sprite); void AnimFlyBallUp(struct Sprite *sprite); void AnimFlyBallAttack(struct Sprite *sprite); From 6d24d8a78f4e0fb9bc139343a970b84beabb6560 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 11 Oct 2024 13:05:56 -0400 Subject: [PATCH 086/278] Fix libpng installation for workflow on Ubuntu 24.04 --- .github/workflows/build.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 283e6f8fb5..a99c99283d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,9 @@ jobs: repository: pret/agbcc - name: Install binutils - run: sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi - # build-essential, git, and libpng-dev are already installed + run: | + sudo apt install gcc-arm-none-eabi binutils-arm-none-eabi libpng-dev + # build-essential and git are already installed # gcc-arm-none-eabi is only needed for the modern build # as an alternative to dkP From b5c884504c2ebee68804a614bc764a53ae565f6f Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Fri, 11 Oct 2024 19:49:24 +0200 Subject: [PATCH 087/278] Fix negative mutation value (#5504) --- src/berry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/berry.c b/src/berry.c index 9f187bd1e2..b1e29be6db 100644 --- a/src/berry.c +++ b/src/berry.c @@ -2384,6 +2384,8 @@ static u8 GetTreeMutationValue(u8 id) myMutation.asField.a = tree->mutationA; myMutation.asField.b = tree->mutationB; myMutation.asField.unused = 0; + if (myMutation.value == 0) // no mutation + return 0; return sBerryMutations[myMutation.value - 1][2]; #else return 0; From fcc067e5154bedc92a2e8ab009718d97d1fc94e5 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Fri, 11 Oct 2024 18:50:26 +0100 Subject: [PATCH 088/278] [preproc] support C23 enum underlying type syntax (#2043) --- tools/preproc/asm_file.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tools/preproc/asm_file.cpp b/tools/preproc/asm_file.cpp index 4eda54a3aa..a82354cb5f 100644 --- a/tools/preproc/asm_file.cpp +++ b/tools/preproc/asm_file.cpp @@ -524,6 +524,17 @@ bool AsmFile::ParseEnum() long enumCounter = 0; long symbolCount = 0; + if (m_buffer[m_pos] == ':') // : + { + m_pos++; + std::string underlyingType; + do { + currentHeaderLine += SkipWhitespaceAndEol(); + underlyingType = ReadIdentifier(); + } while (!underlyingType.empty()); + currentHeaderLine += SkipWhitespaceAndEol(); + } + if (m_buffer[m_pos] != '{') // assume assembly macro, otherwise assume enum and report errors accordingly { m_pos = fallbackPosition - 4; From d7c5bfee685bf64341b46c1ef49374efc3e8fa6d Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Fri, 11 Oct 2024 19:50:41 +0200 Subject: [PATCH 089/278] Clean up Shedinja code (#5501) --- src/evolution_scene.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/src/evolution_scene.c b/src/evolution_scene.c index 98879430cb..6119494907 100644 --- a/src/evolution_scene.c +++ b/src/evolution_scene.c @@ -545,19 +545,13 @@ static void CB2_TradeEvolutionSceneUpdate(void) static void CreateShedinja(u16 preEvoSpecies, struct Pokemon *mon) { u32 data = 0; - #if P_SHEDINJA_BALL >= GEN_4 - u16 ball = ITEM_POKE_BALL; - #endif + u16 ball = ITEM_POKE_BALL; const struct Evolution *evolutions = GetSpeciesEvolutions(preEvoSpecies); if (evolutions == NULL) return; - if (evolutions[0].method == EVO_LEVEL_NINJASK && gPlayerPartyCount < PARTY_SIZE - #if P_SHEDINJA_BALL >= GEN_4 - && (CheckBagHasItem(ball, 1)) - #endif - ) + if (evolutions[0].method == EVO_LEVEL_NINJASK && gPlayerPartyCount < PARTY_SIZE && (P_SHEDINJA_BALL < GEN_4 || CheckBagHasItem(ball, 1))) { s32 i; struct Pokemon *shedinja = &gPlayerParty[gPlayerPartyCount]; @@ -567,10 +561,11 @@ static void CreateShedinja(u16 preEvoSpecies, struct Pokemon *mon) SetMonData(&gPlayerParty[gPlayerPartyCount], MON_DATA_NICKNAME, GetSpeciesName(evolutions[1].targetSpecies)); SetMonData(&gPlayerParty[gPlayerPartyCount], MON_DATA_HELD_ITEM, &data); SetMonData(&gPlayerParty[gPlayerPartyCount], MON_DATA_MARKINGS, &data); - #if P_SHEDINJA_BALL >= GEN_4 - SetMonData(&gPlayerParty[gPlayerPartyCount], MON_DATA_POKEBALL, &ball); - RemoveBagItem(ball, 1); - #endif + if (P_SHEDINJA_BALL >= GEN_4) + { + SetMonData(&gPlayerParty[gPlayerPartyCount], MON_DATA_POKEBALL, &ball); + RemoveBagItem(ball, 1); + } for (i = MON_DATA_COOL_RIBBON; i < MON_DATA_COOL_RIBBON + CONTEST_CATEGORIES_COUNT; i++) SetMonData(&gPlayerParty[gPlayerPartyCount], i, &data); From 464c90a862f6f60b254a53d5a60e6cd544c6fe9d Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:57:19 -0400 Subject: [PATCH 090/278] ShouldSwitchIfGameStatePrompt Tests (#5462) * Weird tests plz help <3 * better RNG tag names? * DATA.trial for data to reset between trials * Fix Wonder Guard test * Unused errors * Finish new tests * Split fix into its own PR * Spacing * Rename RNG_AI_SWITCH_TOXICD * Forgot to save file lol --------- Co-authored-by: Martin Griffin --- include/random.h | 4 +++ src/battle_ai_switch_items.c | 24 +++++--------- test/battle/ai/ai_switching.c | 62 +++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+), 16 deletions(-) diff --git a/include/random.h b/include/random.h index 6e210bcbb4..d41e478543 100644 --- a/include/random.h +++ b/include/random.h @@ -163,6 +163,10 @@ enum RandomTag RNG_AI_ABILITY, RNG_AI_SWITCH_HASBADODDS, RNG_AI_SWITCH_WONDER_GUARD, + RNG_AI_SWITCH_BADLY_POISONED, + RNG_AI_SWITCH_CURSED, + RNG_AI_SWITCH_NIGHTMARE, + RNG_AI_SWITCH_SEEDED, RNG_SHELL_SIDE_ARM, }; diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 9731a6393b..0400f18b53 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -180,7 +180,7 @@ static bool32 HasBadOdds(u32 battler, bool32 emitResult) && gBattleMons[battler].hp >= gBattleMons[battler].maxHP / 4))) { // 50% chance to stay in regardless - if (!RandomPercentage(RNG_AI_SWITCH_HASBADODDS, 50)) + if (RandomPercentage(RNG_AI_SWITCH_HASBADODDS, 50)) return FALSE; // Switch mon out @@ -203,7 +203,7 @@ static bool32 HasBadOdds(u32 battler, bool32 emitResult) return FALSE; // 50% chance to stay in regardless - if (!RandomPercentage(RNG_AI_SWITCH_HASBADODDS, 50)) + if (RandomPercentage(RNG_AI_SWITCH_HASBADODDS, 50)) return FALSE; // Switch mon out @@ -462,16 +462,12 @@ static bool32 ShouldSwitchIfGameStatePrompt(u32 battler, bool32 emitResult) u16 holdEffect = AI_DATA->holdEffects[battler]; u8 opposingPosition = BATTLE_OPPOSITE(GetBattlerPosition(battler)); u8 opposingBattler = GetBattlerAtPosition(opposingPosition); - s32 moduloChance = 4; //25% Chance Default - s32 chanceReducer = 1; //No Reduce default. Increase to reduce + bool32 hasStatRaised = AnyStatIsRaised(battler); s32 firstId; s32 lastId; s32 i; struct Pokemon *party; - if (AnyStatIsRaised(battler)) - chanceReducer = 5; // Reduce switchout probability by factor of 5 if setup - //Perish Song if (gStatuses3[battler] & STATUS3_PERISH_SONG && gDisableStructs[battler].perishSongTimer == 0 @@ -567,28 +563,24 @@ static bool32 ShouldSwitchIfGameStatePrompt(u32 battler, bool32 emitResult) && !AiExpectsToFaintPlayer(battler)) { //Toxic - moduloChance = 2; //50% if (((gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) >= STATUS1_TOXIC_TURN(2)) && gBattleMons[battler].hp >= (gBattleMons[battler].maxHP / 3) - && (Random() % (moduloChance*chanceReducer)) == 0) + && (hasStatRaised ? RandomPercentage(RNG_AI_SWITCH_BADLY_POISONED, 20) : RandomPercentage(RNG_AI_SWITCH_BADLY_POISONED, 50))) switchMon = TRUE; //Cursed - moduloChance = 2; //50% if (gBattleMons[battler].status2 & STATUS2_CURSED - && (Random() % (moduloChance*chanceReducer)) == 0) + && (hasStatRaised ? RandomPercentage(RNG_AI_SWITCH_CURSED, 20) : RandomPercentage(RNG_AI_SWITCH_CURSED, 50))) switchMon = TRUE; //Nightmare - moduloChance = 3; //33.3% if (gBattleMons[battler].status2 & STATUS2_NIGHTMARE - && (Random() % (moduloChance*chanceReducer)) == 0) + && (hasStatRaised ? RandomPercentage(RNG_AI_SWITCH_NIGHTMARE, 15) : RandomPercentage(RNG_AI_SWITCH_NIGHTMARE, 33))) switchMon = TRUE; //Leech Seed - moduloChance = 4; //25% if (gStatuses3[battler] & STATUS3_LEECHSEED - && (Random() % (moduloChance*chanceReducer)) == 0) + && (hasStatRaised ? RandomPercentage(RNG_AI_SWITCH_SEEDED, 10) : RandomPercentage(RNG_AI_SWITCH_SEEDED, 25))) switchMon = TRUE; } @@ -606,7 +598,7 @@ static bool32 ShouldSwitchIfGameStatePrompt(u32 battler, bool32 emitResult) if (FindMonThatAbsorbsOpponentsMove(battler, FALSE)) // Switch if absorber found. Note: FindMonThatAbsorbsOpponentsMove already provides id of the mon to switch into to gBattleStruct->AI_monToSwitchIntoId. switchMon = TRUE, monIdChosen = TRUE; if (!AI_OpponentCanFaintAiWithMod(battler, 0) - && AnyStatIsRaised(battler)) + && hasStatRaised) switchMon = FALSE; if (AiExpectsToFaintPlayer(battler) && AI_IsSlower(battler, opposingBattler, 0) diff --git a/test/battle/ai/ai_switching.c b/test/battle/ai/ai_switching.c index f3b2429dd8..a70163af18 100644 --- a/test/battle/ai/ai_switching.c +++ b/test/battle/ai/ai_switching.c @@ -486,3 +486,65 @@ AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it can't d TURN { MOVE(player, MOVE_TACKLE) ; EXPECT_SWITCH(opponent, 1); } } } + +AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it has been Toxic'd for at least two turns 50% of the time with more than 1/3 HP remaining") +{ + PASSES_RANDOMLY(50, 100, RNG_AI_SWITCH_BADLY_POISONED); + GIVEN { + ASSUME(gMovesInfo[MOVE_TOXIC].effect == EFFECT_TOXIC); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_SMART_SWITCHING); + PLAYER(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE, MOVE_CELEBRATE, MOVE_TOXIC); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } + } WHEN { + TURN { MOVE(player, MOVE_TOXIC); EXPECT_MOVE(opponent, MOVE_TACKLE); } + TURN { MOVE(player, MOVE_TACKLE); EXPECT_MOVE(opponent, MOVE_TACKLE); } + TURN { MOVE(player, MOVE_TACKLE); EXPECT_SWITCH(opponent, 1); } + } +} + +AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it has been Curse'd 50% of the time") +{ + PASSES_RANDOMLY(50, 100, RNG_AI_SWITCH_CURSED); + GIVEN { + ASSUME(gMovesInfo[MOVE_CURSE].effect == EFFECT_CURSE); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_SMART_SWITCHING); + PLAYER(SPECIES_DUSCLOPS) { Moves(MOVE_FIRE_PUNCH, MOVE_CURSE); } + PLAYER(SPECIES_MILOTIC) { Moves(MOVE_WATER_GUN); } + OPPONENT(SPECIES_DUSCLOPS) { Moves(MOVE_SHADOW_BALL); } + OPPONENT(SPECIES_DUSCLOPS) { Moves(MOVE_SHADOW_BALL); } + } WHEN { + TURN { MOVE(player, MOVE_CURSE) ; EXPECT_MOVE(opponent, MOVE_SHADOW_BALL); } + TURN { MOVE(player, MOVE_FIRE_PUNCH); EXPECT_SWITCH(opponent, 1); } + } +} + +AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it has been Nightmare'd 33% of the time") +{ + PASSES_RANDOMLY(33, 100, RNG_AI_SWITCH_NIGHTMARE); + GIVEN { + ASSUME(gMovesInfo[MOVE_NIGHTMARE].effect == EFFECT_NIGHTMARE); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_SMART_SWITCHING); + PLAYER(SPECIES_GENGAR) { Moves(MOVE_NIGHTMARE); } + OPPONENT(SPECIES_DUSCLOPS) { Moves(MOVE_SHADOW_BALL); Status1(STATUS1_SLEEP); } + OPPONENT(SPECIES_DUSCLOPS) { Moves(MOVE_SHADOW_BALL); } + } WHEN { + TURN { MOVE(player, MOVE_NIGHTMARE) ; EXPECT_MOVE(opponent, MOVE_SHADOW_BALL); } + TURN { MOVE(player, MOVE_NIGHTMARE) ; EXPECT_SWITCH(opponent, 1); } + } +} + +AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it has been Leech Seed'd 25% of the time") +{ + PASSES_RANDOMLY(25, 100, RNG_AI_SWITCH_SEEDED); + GIVEN { + ASSUME(gMovesInfo[MOVE_LEECH_SEED].effect == EFFECT_LEECH_SEED); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_SMART_SWITCHING); + PLAYER(SPECIES_WHIMSICOTT) { Moves(MOVE_LEECH_SEED); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } + } WHEN { + TURN { MOVE(player, MOVE_LEECH_SEED) ; EXPECT_MOVE(opponent, MOVE_TACKLE); } + TURN { MOVE(player, MOVE_LEECH_SEED); EXPECT_SWITCH(opponent, 1); } + } +} From 2c7964dbc273b0bed4456cdbd31ed4ee9b0bc783 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Fri, 11 Oct 2024 18:33:32 +0000 Subject: [PATCH 091/278] Fix deleting files with dependency files (#2045) --- Makefile | 4 +--- tools/scaninc/scaninc.cpp | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 5eaf4cf0bc..ee36562b13 100644 --- a/Makefile +++ b/Makefile @@ -315,10 +315,9 @@ else @echo -e ".text\n\t.align\t2, 0\n" >> $3.s $$(AS) $$(ASFLAGS) -o $$@ $3.s endif +ifneq ($(NODEP),1) $1.d: $2 $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $2 -ifneq ($(NODEP),1) -$1.o: $1.d -include $1.d endif endef @@ -346,7 +345,6 @@ endef define ASM_SCANINC ifneq ($(NODEP),1) -$1.o: $1.d $1.d: $2 $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I "" $2 -include $1.d diff --git a/tools/scaninc/scaninc.cpp b/tools/scaninc/scaninc.cpp index c1b7987a5a..d470a3f163 100644 --- a/tools/scaninc/scaninc.cpp +++ b/tools/scaninc/scaninc.cpp @@ -157,19 +157,29 @@ int main(int argc, char **argv) // Print a make rule for the object file size_t ext_pos = make_outfile.find_last_of("."); auto object_file = make_outfile.substr(0, ext_pos + 1) + "o"; - output << object_file.c_str() << ": "; + output << object_file.c_str() << ":"; for (const std::string &path : dependencies) { - output << path << " "; + output << " " << path; } + output << '\n'; // Dependency list rule. // Although these rules are identical, they need to be separate, else make will trigger the rule again after the file is created for the first time. - output << "\n" << make_outfile.c_str() << ": "; + output << make_outfile.c_str() << ":"; for (const std::string &path : dependencies_includes) { - output << path << " "; + output << " " << path; } + output << '\n'; + + // Dummy rules + // If a dependency is deleted, make will try to make it, instead of rescanning the dependencies before trying to do that. + for (const std::string &path : dependencies) + { + output << path << ":\n"; + } + output.flush(); output.close(); } From b6892f5b67782afe05fcd31eaa2d1850bc4e3bc1 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Fri, 11 Oct 2024 15:03:38 -0400 Subject: [PATCH 092/278] Let scaninc ignore empty C files --- tools/scaninc/c_file.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tools/scaninc/c_file.cpp b/tools/scaninc/c_file.cpp index 595f366cbe..c1fe10d374 100644 --- a/tools/scaninc/c_file.cpp +++ b/tools/scaninc/c_file.cpp @@ -33,6 +33,11 @@ CFile::CFile(std::string path) m_size = std::ftell(fp); + if (m_size < 0) + FATAL_ERROR("File size of \"%s\" is less than zero.\n", path.c_str()); + else if (m_size == 0) + return; // Empty file + m_buffer = new char[m_size + 1]; m_buffer[m_size] = 0; @@ -49,7 +54,7 @@ CFile::CFile(std::string path) CFile::~CFile() { - delete[] m_buffer; + if (m_size > 0) delete[] m_buffer; } void CFile::FindIncbins() From 2db1f071fa1348959ccaae88c88bd80fbd8ef129 Mon Sep 17 00:00:00 2001 From: SarnPoke <77281351+SarnPoke@users.noreply.github.com> Date: Fri, 11 Oct 2024 21:59:50 +0200 Subject: [PATCH 093/278] =?UTF-8?q?Add=20battle=20flag=20that=20prevents?= =?UTF-8?q?=20running=20from=20wild=20Pok=C3=A9mon=20(#5502)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add No Running Battle Flag Adds a flag that if set prevents the player from being able to run from wild battles. * Formatting battle_util.c Co-authored-by: Bassoonian * Adjust for pre-Gen 8 Teleport Addresses the edge case with Teleport when used with under Gen 8 mechanics. --------- Co-authored-by: Bassoonian --- include/config/battle.h | 1 + src/battle_main.c | 9 ++++++++- src/battle_script_commands.c | 3 +++ src/battle_util.c | 4 ++++ src/overworld.c | 1 + 5 files changed, 17 insertions(+), 1 deletion(-) diff --git a/include/config/battle.h b/include/config/battle.h index ab2178eacc..14d2b47d32 100644 --- a/include/config/battle.h +++ b/include/config/battle.h @@ -187,6 +187,7 @@ #define B_SMART_WILD_AI_FLAG 0 // If not 0, you can set this flag in a script to enable smart wild pokemon #define B_FLAG_NO_BAG_USE 0 // If this flag is set, the ability to use the bag in battle is disabled. #define B_FLAG_NO_CATCHING 0 // If this flag is set, the ability to catch wild Pokémon is disabled. +#define B_FLAG_NO_RUNNING 0 // If this flag is set, the ability to escape from wild battles is disabled. Also makes Roar/Whirlwind and Teleport (under Gen8) fail. #define B_FLAG_AI_VS_AI_BATTLE 0 // If this flag is set, the player's mons will be controlled by the ai next battles. #define B_FLAG_DYNAMAX_BATTLE 0 // If this flag is set, the ability to Dynamax in battle is enabled for all trainers. #define B_FLAG_TERA_ORB_CHARGED 0 // If this flag is set, the Tera Orb is charged. It is automatically set upon healing and cleared upon Terastallizing once configured. diff --git a/src/battle_main.c b/src/battle_main.c index b2b6e14447..ab84ab9079 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -4073,6 +4073,12 @@ u8 IsRunningFromBattleImpossible(u32 battler) { u32 holdEffect, i; + if (FlagGet(B_FLAG_NO_RUNNING)) + { + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_CANT_ESCAPE; + return BATTLE_RUN_FORBIDDEN; + } + if (gBattleMons[battler].item == ITEM_ENIGMA_BERRY_E_READER) holdEffect = gEnigmaBerries[battler].holdEffect; else @@ -4430,8 +4436,9 @@ static void HandleTurnActionSelectionState(void) BattleScriptExecute(BattleScript_PrintCantRunFromTrainer); gBattleCommunication[battler] = STATE_BEFORE_ACTION_CHOSEN; } - else if (IsRunningFromBattleImpossible(battler) != BATTLE_RUN_SUCCESS + else if ((IsRunningFromBattleImpossible(battler) != BATTLE_RUN_SUCCESS && gBattleResources->bufferB[battler][1] == B_ACTION_RUN) + || (FlagGet(B_FLAG_NO_RUNNING) == TRUE && gBattleResources->bufferB[battler][1] == B_ACTION_RUN)) { gSelectionBattleScripts[battler] = BattleScript_PrintCantEscapeFromBattle; gBattleCommunication[battler] = STATE_SELECTION_SCRIPT; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index da1a8754e1..83f7bb4999 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -9076,6 +9076,7 @@ static void Cmd_various(void) { // Roar will fail in a double wild battle when used by the player against one of the two alive wild mons. // Also when an opposing wild mon uses it againt its partner. + // Also when B_FLAG_NO_RUNNING is enabled. case VARIOUS_JUMP_IF_ROAR_FAILS: { VARIOUS_ARGS(const u8 *jumpInstr); @@ -9088,6 +9089,8 @@ static void Cmd_various(void) && GetBattlerSide(gBattlerAttacker) == B_SIDE_OPPONENT && GetBattlerSide(gBattlerTarget) == B_SIDE_OPPONENT) gBattlescriptCurrInstr = cmd->jumpInstr; + else if (FlagGet(B_FLAG_NO_RUNNING)) + gBattlescriptCurrInstr = cmd->jumpInstr; else gBattlescriptCurrInstr = cmd->nextInstr; return; diff --git a/src/battle_util.c b/src/battle_util.c index 83ed114c07..03c3758684 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -450,6 +450,10 @@ bool32 TryRunFromBattle(u32 battler) u8 pyramidMultiplier; u8 speedVar; + // If this flag is set, running will never be successful under any circumstances. + if (FlagGet(B_FLAG_NO_RUNNING)) + return effect; + if (gBattleMons[battler].item == ITEM_ENIGMA_BERRY_E_READER) holdEffect = gEnigmaBerries[battler].holdEffect; else diff --git a/src/overworld.c b/src/overworld.c index 7dea410395..c06751f6f3 100644 --- a/src/overworld.c +++ b/src/overworld.c @@ -423,6 +423,7 @@ void Overworld_ResetBattleFlagsAndVars(void) FlagClear(B_SMART_WILD_AI_FLAG); FlagClear(B_FLAG_NO_BAG_USE); FlagClear(B_FLAG_NO_CATCHING); + FlagClear(B_FLAG_NO_RUNNING); FlagClear(B_FLAG_DYNAMAX_BATTLE); FlagClear(B_FLAG_SKY_BATTLE); } From 353915ef646ba7ddb27a92be060119da144cdb78 Mon Sep 17 00:00:00 2001 From: ghoulslash <41651341+ghoulslash@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:47:46 -0400 Subject: [PATCH 094/278] Add various tests, add RNG_RANDOM_TARGET (#5438) * burn dmg test depends on config * burn and frostbite tests use B_BURN_DAMAGE config for denom val * update kings shield test with config * add RNG_RANDOM_TARGET, use SetRandomTarget in HandleAction_UseMove target acquisition, update uproar test to PASSES_RANDOMLY since test will fail if you target the soundproof voltorb. Slightly faster UproarWakeUpCheck * add sticky web+contrary test * add EXPECT_EQ to contrary+sticky web test * Update src/battle_script_commands.c Co-authored-by: Bassoonian * Update src/battle_util.c Co-authored-by: Bassoonian * Update test/battle/move_effect/uproar.c Co-authored-by: Bassoonian * fix test * syntax fix --------- Co-authored-by: ghoulslash Co-authored-by: Bassoonian --- include/random.h | 1 + src/battle_script_commands.c | 3 ++- src/battle_util.c | 39 +++++----------------------- test/battle/ability/contrary.c | 20 ++++++++++++++ test/battle/move_effect/belly_drum.c | 26 ++++++++++++++++++- test/battle/move_effect/protect.c | 6 ++++- test/battle/move_effect/uproar.c | 1 + test/battle/status1/burn.c | 5 ++-- test/battle/status1/frostbite.c | 4 +-- 9 files changed, 64 insertions(+), 41 deletions(-) diff --git a/include/random.h b/include/random.h index d41e478543..215472377e 100644 --- a/include/random.h +++ b/include/random.h @@ -168,6 +168,7 @@ enum RandomTag RNG_AI_SWITCH_NIGHTMARE, RNG_AI_SWITCH_SEEDED, RNG_SHELL_SIDE_ARM, + RNG_RANDOM_TARGET, }; #define RandomWeighted(tag, ...) \ diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 83f7bb4999..f55eff3b7b 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -11405,10 +11405,11 @@ static void Cmd_setmiracleeye(void) bool8 UproarWakeUpCheck(u8 battler) { s32 i; + bool32 hasSoundproof = (B_UPROAR_IGNORE_SOUNDPROOF < GEN_5 && GetBattlerAbility(battler) == ABILITY_SOUNDPROOF); for (i = 0; i < gBattlersCount; i++) { - if (!(gBattleMons[i].status2 & STATUS2_UPROAR) || (GetBattlerAbility(battler) == ABILITY_SOUNDPROOF && B_UPROAR_IGNORE_SOUNDPROOF < GEN_5)) + if (!(gBattleMons[i].status2 & STATUS2_UPROAR) || hasSoundproof) continue; gBattleScripting.battler = i; diff --git a/src/battle_util.c b/src/battle_util.c index 03c3758684..2971b36840 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -251,20 +251,7 @@ void HandleAction_UseMove(void) { if (moveTarget & MOVE_TARGET_RANDOM) { - if (GetBattlerSide(gBattlerAttacker) == B_SIDE_PLAYER) - { - if (Random() & 1) - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT); - else - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT); - } - else - { - if (Random() & 1) - gBattlerTarget = GetBattlerAtPosition(B_POSITION_PLAYER_LEFT); - else - gBattlerTarget = GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT); - } + gBattlerTarget = SetRandomTarget(gBattlerAttacker); } else if (moveTarget & MOVE_TARGET_FOES_AND_ALLY) { @@ -311,21 +298,7 @@ void HandleAction_UseMove(void) } else if (IsDoubleBattle() && moveTarget & MOVE_TARGET_RANDOM) { - if (GetBattlerSide(gBattlerAttacker) == B_SIDE_PLAYER) - { - if (Random() & 1) - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT); - else - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT); - } - else - { - if (Random() & 1) - gBattlerTarget = GetBattlerAtPosition(B_POSITION_PLAYER_LEFT); - else - gBattlerTarget = GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT); - } - + gBattlerTarget = SetRandomTarget(gBattlerAttacker); if (gAbsentBattlerFlags & (1u << gBattlerTarget) && GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)) { @@ -2664,7 +2637,7 @@ u8 DoBattlerEndTurnEffects(void) for (gBattlerAttacker = 0; gBattlerAttacker < gBattlersCount; gBattlerAttacker++) { if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) - && GetBattlerAbility(gBattlerAttacker) != ABILITY_SOUNDPROOF) + && (B_UPROAR_IGNORE_SOUNDPROOF >= GEN_5 || GetBattlerAbility(gBattlerAttacker) != ABILITY_SOUNDPROOF)) { gBattleMons[gBattlerAttacker].status1 &= ~STATUS1_SLEEP; gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_NIGHTMARE; @@ -8341,7 +8314,7 @@ void HandleAction_RunBattleScript(void) // identical to RunBattleScriptCommands gBattleScriptingCommandsTable[*gBattlescriptCurrInstr](); } -u32 SetRandomTarget(u32 battler) +u32 SetRandomTarget(u32 battlerAtk) { u32 target; static const u8 targets[2][2] = @@ -8352,13 +8325,13 @@ u32 SetRandomTarget(u32 battler) if (IsDoubleBattle()) { - target = GetBattlerAtPosition(targets[GetBattlerSide(battler)][Random() % 2]); + target = GetBattlerAtPosition(targets[GetBattlerSide(battlerAtk)][RandomUniform(RNG_RANDOM_TARGET, 0, 1)]); if (!IsBattlerAlive(target)) target ^= BIT_FLANK; } else { - target = GetBattlerAtPosition(targets[GetBattlerSide(battler)][0]); + target = GetBattlerAtPosition(targets[GetBattlerSide(battlerAtk)][0]); } return target; diff --git a/test/battle/ability/contrary.c b/test/battle/ability/contrary.c index d257a7a344..824f2bf6c2 100644 --- a/test/battle/ability/contrary.c +++ b/test/battle/ability/contrary.c @@ -221,3 +221,23 @@ SINGLE_BATTLE_TEST("Contrary lowers a stat after using a move which would normal EXPECT_MUL_EQ(results[1].damageBefore, UQ_4_12(4.0), results[1].damageAfter); } } + +SINGLE_BATTLE_TEST("Sticky Web raises Speed by 1 for Contrary mon on switch-in") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_SNIVY) { Ability(ABILITY_CONTRARY); } + } WHEN { + TURN { MOVE(player, MOVE_STICKY_WEB); } + TURN { SWITCH(opponent, 1); } + TURN {} + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_STICKY_WEB, player); + MESSAGE("A sticky web spreads out on the ground around the opposing team!"); + MESSAGE("2 sent out Snivy!"); + MESSAGE("Foe Snivy was caught in a Sticky Web!"); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponent); + MESSAGE("Foe Snivy's Speed rose!"); + } +} diff --git a/test/battle/move_effect/belly_drum.c b/test/battle/move_effect/belly_drum.c index 82abaf30c4..612d4005c3 100644 --- a/test/battle/move_effect/belly_drum.c +++ b/test/battle/move_effect/belly_drum.c @@ -105,7 +105,31 @@ SINGLE_BATTLE_TEST("Belly Drum's HP cost doesn't trigger effects that trigger on } } +SINGLE_BATTLE_TEST("Belly Drum minimizes the user's Attack stat with Contrary", s16 damage) +{ + bool32 raiseAttack; + PARAMETRIZE { raiseAttack = FALSE; } + PARAMETRIZE { raiseAttack = TRUE; } + GIVEN { + ASSUME(gMovesInfo[MOVE_TACKLE].category == DAMAGE_CATEGORY_PHYSICAL); + PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_CONTRARY); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + if (raiseAttack) TURN { MOVE(player, MOVE_BELLY_DRUM); } + TURN { MOVE(player, MOVE_TACKLE); } + } SCENE { + if (raiseAttack) { + ANIMATION(ANIM_TYPE_MOVE, MOVE_BELLY_DRUM, player); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, player); + MESSAGE("Wobbuffet cut its own HP and maximized ATTACK!"); // Message unaffected by Contrary + } + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, player); + HP_BAR(opponent, captureDamage: &results[i].damage); + } FINALLY { + EXPECT_MUL_EQ(results[1].damage, Q_4_12(4), results[0].damage); + } +} + TO_DO_BATTLE_TEST("Belly Drum maximizes the user's Attack stat, even when below 0"); -TO_DO_BATTLE_TEST("Belly Drum minimizes the user's Attack stat if it has Contrary"); // Should still say "maximized attack" TO_DO_BATTLE_TEST("Belly Drum fails if the user's Attack is already at +6, even with Contrary"); TO_DO_BATTLE_TEST("Belly Drum deducts HP if the user has contrary and is at -6"); diff --git a/test/battle/move_effect/protect.c b/test/battle/move_effect/protect.c index 60b55ebb75..e5e75550e8 100644 --- a/test/battle/move_effect/protect.c +++ b/test/battle/move_effect/protect.c @@ -64,7 +64,7 @@ SINGLE_BATTLE_TEST("King's Shield, Silk Trap and Obstruct protect from damaging u32 j; static const u16 protectMoves[][3] = { // Move Stat Stages - {MOVE_KINGS_SHIELD, STAT_ATK, 1}, + {MOVE_KINGS_SHIELD, STAT_ATK, (B_KINGS_SHIELD_LOWER_ATK >= GEN_8) ? 1 : 2}, {MOVE_SILK_TRAP, STAT_SPEED, 1}, {MOVE_OBSTRUCT, STAT_DEF, 2}, }; @@ -99,7 +99,11 @@ SINGLE_BATTLE_TEST("King's Shield, Silk Trap and Obstruct protect from damaging NOT HP_BAR(opponent); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, player); if (statId == STAT_ATK) { + #if B_KINGS_SHIELD_LOWER_ATK >= GEN_8 MESSAGE("Wobbuffet's Attack fell!"); + #else + MESSAGE("Wobbuffet's Attack harshly fell!"); + #endif } else if (statId == STAT_SPEED) { MESSAGE("Wobbuffet's Speed fell!"); } else if (statId == STAT_DEF) { diff --git a/test/battle/move_effect/uproar.c b/test/battle/move_effect/uproar.c index fe6a4c9931..c463a8eaa1 100644 --- a/test/battle/move_effect/uproar.c +++ b/test/battle/move_effect/uproar.c @@ -8,6 +8,7 @@ ASSUMPTIONS DOUBLE_BATTLE_TEST("Uproar status causes sleeping pokemon to wake up during an attack") { + PASSES_RANDOMLY(1, 2, RNG_RANDOM_TARGET); // test fails if we target soundproof mon GIVEN { PLAYER(SPECIES_WOBBUFFET); PLAYER(SPECIES_WOBBUFFET) { Status1(STATUS1_SLEEP); } diff --git a/test/battle/status1/burn.c b/test/battle/status1/burn.c index 4da40589fb..63d6506fb6 100644 --- a/test/battle/status1/burn.c +++ b/test/battle/status1/burn.c @@ -1,11 +1,10 @@ #include "global.h" #include "test/battle.h" -SINGLE_BATTLE_TEST("Burn deals 1/16th damage per turn") +SINGLE_BATTLE_TEST("Burn deals 1/16th (Gen7+) or 1/8th damage per turn") { u32 j; GIVEN { - ASSUME(B_BURN_DAMAGE >= GEN_LATEST); PLAYER(SPECIES_WOBBUFFET) { Status1(STATUS1_BURN); } OPPONENT(SPECIES_WOBBUFFET); } WHEN { @@ -14,7 +13,7 @@ SINGLE_BATTLE_TEST("Burn deals 1/16th damage per turn") } SCENE { s32 maxHP = GetMonData(&PLAYER_PARTY[0], MON_DATA_MAX_HP); for (j = 0; j < 4; j++) - HP_BAR(player, damage: maxHP / 16); + HP_BAR(player, damage: maxHP / ((B_BURN_DAMAGE >= GEN_7) ? 16 : 8)); } } diff --git a/test/battle/status1/frostbite.c b/test/battle/status1/frostbite.c index bf4b1f7fcd..fc5fba69b1 100644 --- a/test/battle/status1/frostbite.c +++ b/test/battle/status1/frostbite.c @@ -23,7 +23,7 @@ SINGLE_BATTLE_TEST("Frostbite reduces the special attack by 50 percent") } THEN { EXPECT_EQ(reducedDamage * 2, normaleDamage); } } -SINGLE_BATTLE_TEST("Frostbite deals 1/16 damage to effected pokemon") +SINGLE_BATTLE_TEST("Frostbite deals 1/16th (Gen7+) or 1/8th damage to affected pokemon") { s16 frostbiteDamage; @@ -36,7 +36,7 @@ SINGLE_BATTLE_TEST("Frostbite deals 1/16 damage to effected pokemon") MESSAGE("Foe Wobbuffet is hurt by its frostbite!"); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_FRZ, opponent); HP_BAR(opponent, captureDamage: &frostbiteDamage); - } THEN { EXPECT_EQ(frostbiteDamage, opponent->maxHP / 16); } + } THEN { EXPECT_EQ(frostbiteDamage, opponent->maxHP / ((B_BURN_DAMAGE >= GEN_7) ? 16 : 8)); } } SINGLE_BATTLE_TEST("Frostbite is healed if hit with a thawing move") From ef462d9d9b74121b7c75cbae5dd9001828e434f2 Mon Sep 17 00:00:00 2001 From: Ariel A <24759293+aarant@users.noreply.github.com> Date: Thu, 3 Oct 2024 00:41:04 -0400 Subject: [PATCH 095/278] meta: `remote_build` no longer untracks new files after build --- remote_build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remote_build.sh b/remote_build.sh index 835520290d..300ac51ba5 100644 --- a/remote_build.sh +++ b/remote_build.sh @@ -25,7 +25,8 @@ git push build --force-with-lease if [[ $retVal -eq 0 ]]; then commit_msg=$(git log -1 --pretty=%B) if [[ "$commit_msg" == "$temp_commit_msg" ]]; then - git reset "$old_head" &>/dev/null + # Keep i(N)tent to add + git reset --mixed -N "$old_head" &>/dev/null fi fi set -x From d80190fe105eee12bbf74ae29647ac909084d35c Mon Sep 17 00:00:00 2001 From: Ariel A <24759293+aarant@users.noreply.github.com> Date: Fri, 11 Oct 2024 13:45:40 -0400 Subject: [PATCH 096/278] fix: Dig in Sealed Chamber no longer freezes follower. Fixed #5482 rhh --- data/scripts/field_move_scripts.inc | 18 ++++++++++++++++++ include/event_scripts.h | 1 + src/braille_puzzles.c | 1 - src/fldeff_dig.c | 7 +++++-- 4 files changed, 24 insertions(+), 3 deletions(-) diff --git a/data/scripts/field_move_scripts.inc b/data/scripts/field_move_scripts.inc index e15115f826..dc161eb560 100644 --- a/data/scripts/field_move_scripts.inc +++ b/data/scripts/field_move_scripts.inc @@ -376,6 +376,24 @@ EventScript_EndSurface:: releaseall end +EventScript_DigCommon: + callfunc ScrFunc_IsFollowerFieldMoveUser + .2byte VAR_0x8004 + setfieldeffectargument 3, VAR_0x8004 @ skip pose if true + dofieldeffect FLDEFF_USE_DIG + waitstate +EventScript_DigSealedChamber:: @ fallthrough + setflag FLAG_SAFE_FOLLOWER_MOVEMENT + call_if_eq VAR_0x8004, TRUE, EventScript_FollowerFieldMove + callnative DoBrailleDigEffect + releaseall + end + +@ Use Dig from party menu +EventScript_UseDig:: + lockall + goto EventScript_DigCommon + Text_CantDive: .string "The sea is deep here. A POKéMON\n" .string "may be able to go underwater.$" diff --git a/include/event_scripts.h b/include/event_scripts.h index 2fa4468c74..ff920d62ae 100644 --- a/include/event_scripts.h +++ b/include/event_scripts.h @@ -404,6 +404,7 @@ extern const u8 EventScript_FailSweetScent[]; extern const u8 EventScript_UseFlash[]; extern const u8 EventScript_UseCut[]; extern const u8 EventScript_UseRockSmash[]; +extern const u8 EventScript_UseDig[]; //player pc extern const u8 LittlerootTown_BrendansHouse_2F_EventScript_TurnOffPlayerPC[]; diff --git a/src/braille_puzzles.c b/src/braille_puzzles.c index ab0f610fd7..757cac43b8 100644 --- a/src/braille_puzzles.c +++ b/src/braille_puzzles.c @@ -87,7 +87,6 @@ void DoBrailleDigEffect(void) DrawWholeMapView(); PlaySE(SE_BANG); FlagSet(FLAG_SYS_BRAILLE_DIG); - UnlockPlayerFieldControls(); } bool8 CheckRelicanthWailord(void) diff --git a/src/fldeff_dig.c b/src/fldeff_dig.c index c3ab989cd8..63eb848bf2 100644 --- a/src/fldeff_dig.c +++ b/src/fldeff_dig.c @@ -1,11 +1,13 @@ #include "global.h" #include "braille_puzzles.h" +#include "event_scripts.h" #include "field_effect.h" #include "field_player_avatar.h" #include "fldeff.h" #include "item_use.h" #include "overworld.h" #include "party_menu.h" +#include "script.h" #include "sprite.h" #include "constants/field_effects.h" @@ -31,8 +33,8 @@ bool8 SetUpFieldMove_Dig(void) static void FieldCallback_Dig(void) { Overworld_ResetStateAfterDigEscRope(); - FieldEffectStart(FLDEFF_USE_DIG); gFieldEffectArguments[0] = GetCursorSelectionMonId(); + ScriptContext_SetupScript(EventScript_UseDig); } bool8 FldEff_UseDig(void) @@ -53,7 +55,8 @@ static void StartDigFieldEffect(void) FieldEffectActiveListRemove(FLDEFF_USE_DIG); if (ShouldDoBrailleDigEffect()) { - DoBrailleDigEffect(); + // EventScript_DigSealedChamber handles DoBrailleDigEffect call + ScriptContext_Enable(); } else { From eedeaf1ead3d476f85556407184d1d28c306811c Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Sat, 12 Oct 2024 19:34:05 +0200 Subject: [PATCH 097/278] Clean up scrcmd PR (#5511) Renamed CheckPartyHasSpecie to CheckPartyHasSpecies and cleaned up function calls --- include/field_specials.h | 2 +- src/field_specials.c | 2 +- src/scrcmd.c | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/field_specials.h b/include/field_specials.h index f391a46ba5..975a57970b 100644 --- a/include/field_specials.h +++ b/include/field_specials.h @@ -35,6 +35,6 @@ void SetPCBoxToSendMon(u8 boxId); void PreparePartyForSkyBattle(void); void GetObjectPosition(u16*, u16*, u32, u32); bool32 CheckObjectAtXY(u32, u32); -bool32 CheckPartyHasSpecie(u32); +bool32 CheckPartyHasSpecies(u32); #endif // GUARD_FIELD_SPECIALS_H diff --git a/src/field_specials.c b/src/field_specials.c index b3f5a63332..cf9af51cbd 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -4316,7 +4316,7 @@ bool32 CheckObjectAtXY(u32 x, u32 y) return FALSE; } -bool32 CheckPartyHasSpecie(u32 givenSpecies) +bool32 CheckPartyHasSpecies(u32 givenSpecies) { u32 partyIndex; diff --git a/src/scrcmd.c b/src/scrcmd.c index bef273b0ba..399562f9a0 100644 --- a/src/scrcmd.c +++ b/src/scrcmd.c @@ -2496,7 +2496,7 @@ bool8 ScrCmd_getobjectxy(struct ScriptContext *ctx) u32 useTemplate = VarGet(ScriptReadHalfword(ctx)); u16 *pX = GetVarPointer(ScriptReadHalfword(ctx)); u16 *pY = GetVarPointer(ScriptReadHalfword(ctx)); - GetObjectPosition(pX,pY,localId,useTemplate); + GetObjectPosition(pX, pY, localId, useTemplate); return FALSE; } @@ -2507,7 +2507,7 @@ bool8 ScrCmd_checkobjectat(struct ScriptContext *ctx) u32 y = VarGet(ScriptReadHalfword(ctx)) + 7; u16 *varPointer = GetVarPointer(ScriptReadHalfword(ctx)); - *varPointer = CheckObjectAtXY(x,y); + *varPointer = CheckObjectAtXY(x, y); return FALSE; } @@ -2516,10 +2516,10 @@ bool8 Scrcmd_getsetpokedexflag(struct ScriptContext *ctx) { u32 speciesId = SpeciesToNationalPokedexNum(VarGet(ScriptReadHalfword(ctx))); bool32 desiredFlag = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = GetSetPokedexFlag(speciesId,desiredFlag); + gSpecialVar_Result = GetSetPokedexFlag(speciesId, desiredFlag); if (desiredFlag == FLAG_SET_CAUGHT) - GetSetPokedexFlag(speciesId,FLAG_SET_SEEN); + GetSetPokedexFlag(speciesId, FLAG_SET_SEEN); return FALSE; } @@ -2527,7 +2527,7 @@ bool8 Scrcmd_getsetpokedexflag(struct ScriptContext *ctx) bool8 Scrcmd_checkspecies(struct ScriptContext *ctx) { u32 givenSpecies = VarGet(ScriptReadHalfword(ctx)); - gSpecialVar_Result = CheckPartyHasSpecie(givenSpecies); + gSpecialVar_Result = CheckPartyHasSpecies(givenSpecies); return FALSE; } From 743dc4d7654170468fcae277217a783438a9033f Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Sat, 12 Oct 2024 12:37:11 -0500 Subject: [PATCH 098/278] Add text fitting tests for move, ability, item, and pokedex descriptions (#5505) --- src/data/abilities.h | 6 +- src/data/items.h | 150 +++++++++--------- src/data/moves_info.h | 30 ++-- .../pokemon/species_info/gen_2_families.h | 4 +- .../pokemon/species_info/gen_3_families.h | 6 +- .../pokemon/species_info/gen_4_families.h | 16 +- .../pokemon/species_info/gen_5_families.h | 22 +-- .../pokemon/species_info/gen_6_families.h | 20 +-- .../pokemon/species_info/gen_7_families.h | 18 +-- .../pokemon/species_info/gen_8_families.h | 30 ++-- .../pokemon/species_info/gen_9_families.h | 12 +- .../pokemon/species_info/shared_dex_text.h | 12 +- test/text.c | 51 ++++++ 13 files changed, 212 insertions(+), 165 deletions(-) diff --git a/src/data/abilities.h b/src/data/abilities.h index ba768a0a51..5c28e17c05 100644 --- a/src/data/abilities.h +++ b/src/data/abilities.h @@ -1550,7 +1550,7 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = [ABILITY_SLUSH_RUSH] = { .name = _("Slush Rush"), - .description = COMPOUND_STRING("Raises Speed in Hail or Snow."), + .description = COMPOUND_STRING("Raises Speed in Hail/Snow."), .aiRating = 5, }, @@ -2573,7 +2573,7 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = [ABILITY_TERA_SHELL] = { .name = _("Tera Shell"), - .description = COMPOUND_STRING("Resistant to types at full HP."), + .description = COMPOUND_STRING("Resists all at full HP."), .aiRating = 10, .cantBeCopied = TRUE, .cantBeSwapped = TRUE, @@ -2588,7 +2588,7 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = #else .name = _("TeraformZero"), #endif - .description = COMPOUND_STRING("Removes weather and terrain."), + .description = COMPOUND_STRING("Zeroes weather and terrain."), .aiRating = 10, .cantBeCopied = TRUE, .cantBeSwapped = TRUE, diff --git a/src/data/items.h b/src/data/items.h index 75629d579f..bffe48d725 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -538,9 +538,9 @@ const struct Item gItemsInfo[] = .name = _("Sport Ball"), .price = (I_PRICE < GEN_3 || I_PRICE >= GEN_9) ? 0 : 300, .description = COMPOUND_STRING( - "A special Ball used\n" - "in the Bug-Catching\n" - "Contest."), + "A special Ball\n" + "used in the Bug-\n" + "Catching Contest."), .pocket = POCKET_POKE_BALLS, .type = ITEM_USE_BAG_MENU, .battleUsage = EFFECT_ITEM_THROW_BALL, @@ -3176,9 +3176,9 @@ const struct Item gItemsInfo[] = .name = _("Jaw Fossil"), .price = (I_PRICE >= GEN_7) ? 7000: 1000, .description = COMPOUND_STRING( - "A piece of a prehis-\n" - "toric Pokémon's\n" - "large jaw."), + "A piece of a\n" + "prehistoric Poké-\n" + "mon's large jaw."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -3192,9 +3192,9 @@ const struct Item gItemsInfo[] = .name = _("Sail Fossil"), .price = (I_PRICE >= GEN_7) ? 7000: 1000, .description = COMPOUND_STRING( - "A piece of a prehis-\n" - "toric Pokémon's\n" - "skin sail."), + "A piece of a\n" + "prehistoric Poké-\n" + "mon's skin sail."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -4169,8 +4169,8 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_7) ? 2000 * TREASURE_FACTOR : 2100, .description = COMPOUND_STRING( "Loved by a certain\n" - "Pokémon. Imbued with\n" - "spiritual energy."), + "Pokémon. Imbued\n" + "with spirit energy."), .pocket = POCKET_ITEMS, .type = EVO_HELD_ITEM_TYPE, .fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC, @@ -4186,8 +4186,8 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 3000 : ((I_PRICE >= GEN_7) ? 2000 : 500), .description = COMPOUND_STRING( "A mysterious scale\n" - "that evolves certain\n" - "Pokémon. It shines."), + "that evolves a\n" + "certain Pokémon."), .pocket = POCKET_ITEMS, .type = EVO_HELD_ITEM_TYPE, .fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC, @@ -4220,8 +4220,8 @@ const struct Item gItemsInfo[] = .name = _("Sachet"), .price = (I_PRICE >= GEN_7) ? 2000 * TREASURE_FACTOR : 2100, .description = COMPOUND_STRING( - "A sachet filled with\n" - "perfumes loved by\n" + "A sachet of strong\n" + "perfumes, loved by\n" "a certain Pokémon."), .pocket = POCKET_ITEMS, .type = EVO_HELD_ITEM_TYPE, @@ -4237,9 +4237,9 @@ const struct Item gItemsInfo[] = .name = _("Oval Stone"), .price = (I_PRICE >= GEN_7) ? 2000 : 2100, .description = COMPOUND_STRING( - "Makes a certain\n" - "Pokémon evolve. It's\n" - "shaped like an egg."), + "Peculiar stone\n" + "that evolves a\n" + "certain Pokémon."), .pocket = POCKET_ITEMS, .type = EVO_HELD_ITEM_TYPE, .fieldUseFunc = EVO_HELD_ITEM_FIELD_FUNC, @@ -4749,8 +4749,8 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_PLATE, .holdEffectParam = 20, .description = COMPOUND_STRING( - "A stone tablet that\n" - "boosts the power of\n" + "A tablet that ups\n" + "the power of\n" "Fairy-type moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, @@ -4945,7 +4945,7 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_MEMORY, .holdEffectParam = 0, .description = COMPOUND_STRING( - "A disc with Fighting\n" + "Disc with Fighting\n" "type data. It swaps\n" "Silvally's type."), .pocket = POCKET_ITEMS, @@ -7053,9 +7053,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_7) ? 1000 : 10, .holdEffect = HOLD_EFFECT_QUICK_POWDER, .description = COMPOUND_STRING( - "An item to be held\n" - "by Ditto. This odd\n" - "powder boosts Speed."), + "A hold item that\n" + "raises the Speed\n" + "of Ditto."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -7132,9 +7132,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_ADAMANT_ORB, .holdEffectParam = 20, .description = COMPOUND_STRING( - "Boosts the power of\n" - "Dialga's Dragon and\n" - "Steel-type moves."), + "Powers up Dialga's\n" + "Dragon and Steel-\n" + "type moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -7150,9 +7150,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_LUSTROUS_ORB, .holdEffectParam = 20, .description = COMPOUND_STRING( - "Boosts the power of\n" - "Palkia's Dragon and\n" - "Water-type moves."), + "Powers up Palkia's\n" + "Dragon and Water-\n" + "type moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -7168,7 +7168,7 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_GRISEOUS_ORB, .holdEffectParam = 20, .description = COMPOUND_STRING( - "Powers up Giratina's\n" + "Boosts Giratina's\n" "Dragon and Ghost-\n" "type moves."), .pocket = POCKET_ITEMS, @@ -8107,9 +8107,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_CELL_BATTERY, .holdEffectParam = 0, .description = COMPOUND_STRING( - "Raises Atk if the\n" - "holder is hit by an\n" - "Electric-type move."), + "Raises Attack if\n" + "the holder is hit by\n" + "an Electric move."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8454,8 +8454,8 @@ const struct Item gItemsInfo[] = .holdEffectParam = 10, .description = COMPOUND_STRING( "A headband that\n" - "boosts the power of\n" - "physical moves."), + "boosts the power\n" + "of physical moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8525,9 +8525,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 50000 : ((I_PRICE >= GEN_7) ? 4000 : 200), .holdEffect = HOLD_EFFECT_LIFE_ORB, .description = COMPOUND_STRING( - "Boosts the power of\n" - "moves at the cost\n" - "of some HP per turn."), + "Boosts move power\n" + "but holder loses HP\n" + "with each attack."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8614,9 +8614,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 20000 : ((I_PRICE >= GEN_7) ? 4000 : 200), .holdEffect = HOLD_EFFECT_IRON_BALL, .description = COMPOUND_STRING( - "Cuts Speed and lets\n" - "Flying-types be hit\n" - "by Ground moves."), + "Cuts Speed and\n" + "becomes vulnerable\n" + "to Ground moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8663,9 +8663,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 10000 : ((I_PRICE >= GEN_7) ? 4000 : 200), .holdEffect = HOLD_EFFECT_BLACK_SLUDGE, .description = COMPOUND_STRING( - "Gradually restores\n" - "HP of Poison-types.\n" - "Damages others."), + "Restores HP for\n" + "Poison-types.\n" + "Damages all others."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8680,9 +8680,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 10000 : ((I_PRICE >= GEN_7) ? 4000 : 200), .holdEffect = HOLD_EFFECT_GRIP_CLAW, .description = COMPOUND_STRING( - "Makes binding moves\n" - "used by the holder\n" - "go on for 7 turns."), + "A held item that\n" + "extends binding\n" + "moves like Wrap."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8698,8 +8698,8 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_STICKY_BARB, .description = COMPOUND_STRING( "Damages the holder\n" - "each turn. May latch\n" - "on to foes."), + "each turn. May\n" + "latch on to foes."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8714,9 +8714,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 20000 : ((I_PRICE >= GEN_7) ? 4000 : 100), .holdEffect = HOLD_EFFECT_SHED_SHELL, .description = COMPOUND_STRING( - "Enables the holder\n" - "to switch out of\n" - "battle without fail."), + "Allows the holder\n" + "to switch out\n" + "without fail."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8733,7 +8733,7 @@ const struct Item gItemsInfo[] = .holdEffectParam = 30, .description = COMPOUND_STRING( "A held item that\n" - "boosts the power of\n" + "ups the power of\n" "HP-stealing moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, @@ -8837,9 +8837,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_AIR_BALLOON, .holdEffectParam = 0, .description = COMPOUND_STRING( - "Elevates the holder\n" - "in the air. If hit,\n" - "this item will burst."), + "Makes the holder\n" + "float but bursts\n" + "if hit by an attack."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8873,9 +8873,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_RING_TARGET, .holdEffectParam = 0, .description = COMPOUND_STRING( - "Moves that wouldn't\n" - "have effect will\n" - "land on its holder."), + "Moves that usually\n" + "have no effect will\n" + "hit the holder."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8927,9 +8927,9 @@ const struct Item gItemsInfo[] = .holdEffect = HOLD_EFFECT_WEAKNESS_POLICY, .holdEffectParam = 0, .description = COMPOUND_STRING( - "If hit by a Super\n" - "Effective move, ups\n" - "Atk and Sp. Atk."), + "If hit by a super-\n" + "effective move,\n" + "ups Atk and Sp. Atk."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -8980,9 +8980,9 @@ const struct Item gItemsInfo[] = .price = (I_PRICE >= GEN_9) ? 5000 : ((I_PRICE >= GEN_8) ? 4000 : 300), .holdEffect = HOLD_EFFECT_ADRENALINE_ORB, .description = COMPOUND_STRING( - "Boosts Speed if the\n" - "user is intimidated,\n" - "but only one time."), + "This orb boosts\n" + "Speed if the holder\n" + "is intimidated."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -13042,9 +13042,9 @@ const struct Item gItemsInfo[] = .price = 20000, .holdEffect = HOLD_EFFECT_COVERT_CLOAK, .description = COMPOUND_STRING( - "Protects the holder\n" - "from secondary\n" - "move effects."), + "Protects holder\n" + "from additional\n" + "effects of moves."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -14009,11 +14009,11 @@ const struct Item gItemsInfo[] = .description = COMPOUND_STRING( #if B_X_ITEMS_BUFF >= GEN_7 "Sharply raises\n" - "offenses & defenses\n" + "offense & defense\n" "during one battle."), #else - "Raises offenses\n" - "and defenses during\n" + "Raises offense\n" + "and defense during\n" "one battle."), #endif .pocket = POCKET_ITEMS, @@ -14068,9 +14068,9 @@ const struct Item gItemsInfo[] = .name = _("Pokéshi Doll"), .price = 2000, .description = COMPOUND_STRING( - "A wooden toy carved\n" - "in the image of a\n" - "Pokémon. Can be sold."), + "A wooden toy\n" + "resembling a Poké-.\n" + "mon. Can be sold."), .pocket = POCKET_ITEMS, .type = ITEM_USE_BAG_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, diff --git a/src/data/moves_info.h b/src/data/moves_info.h index cb23dcf5af..478f0dc426 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -14198,8 +14198,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("ParabolcChrg", "Parabolic Charge"), .description = COMPOUND_STRING( - "Damages adjacent Pokémon and\n" - "heals up by half of it."), + "Damages adjacent Pokémon\n" + "and heals up by half of it."), .effect = EFFECT_ABSORB, .power = B_UPDATED_MOVE_DATA >= GEN_7 ? 65 : 50, .type = TYPE_ELECTRIC, @@ -16757,7 +16757,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .name = COMPOUND_STRING("Plasma Fists"), .description = COMPOUND_STRING( "Hits with electrical fists.\n" - "Normal moves become Electric."), + "Normal moves turn Electric."), .effect = EFFECT_PLASMA_FISTS, .power = 100, .type = TYPE_ELECTRIC, @@ -17116,8 +17116,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("DynamxCannon", "Dynamax Cannon"), .description = COMPOUND_STRING( - "Fires a strong beam. Deals\n" - "2x damage to Dynamaxed foes."), + "Unleashes core energy.\n" + "2x against Dynamaxed foes."), .effect = EFFECT_DYNAMAX_DOUBLE_DMG, .power = 100, .type = TYPE_DRAGON, @@ -18637,8 +18637,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("GlacialLance", "Glacial Lance"), .description = COMPOUND_STRING( - "Strikes by hurling a blizzard-\n" - "cloaked icicle lance at foes."), + "Hurls a blizzard-cloaked\n" + "icicle lance at foes."), .effect = EFFECT_HIT, .power = B_UPDATED_MOVE_DATA >= GEN_9 ? 120 : 130, .type = TYPE_ICE, @@ -18659,8 +18659,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("AstrlBarrage", "Astral Barrage"), .description = COMPOUND_STRING( - "Strikes by sending a frightful\n" - "amount of ghosts at foes."), + "Sends a frightful amount\n" + "of small ghosts at foes."), .effect = EFFECT_HIT, .power = 120, .type = TYPE_GHOST, @@ -20381,8 +20381,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = COMPOUND_STRING("Electro Shot"), .description = COMPOUND_STRING( - "Absorbs electricity in one turn,\n" - "then attacks next turn."), + "Gathers electricity, then\n" + "fires a high-voltage shot."), .effect = EFFECT_TWO_TURNS_ATTACK, .power = 130, .type = TYPE_ELECTRIC, @@ -20404,8 +20404,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("TeraStarstrm", "Tera Starstorm"), .description = COMPOUND_STRING( - "Damages all opponents if user is\n" - "Stellar form Terapagos."), + "In Terapagos's Stellar\n" + "Form, it hits all foes."), .effect = EFFECT_TERA_STARSTORM, .power = 120, .type = TYPE_NORMAL, @@ -20552,8 +20552,8 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = HANDLE_EXPANDED_MOVE_NAME("AllurngVoice", "Alluring Voice"), .description = COMPOUND_STRING( - "Confuses the target if their\n" - "stats were boosted this turn."), + "Confuses foe if its stats\n" + "were boosted this turn."), .effect = EFFECT_HIT, .power = 80, .type = TYPE_FAIRY, diff --git a/src/data/pokemon/species_info/gen_2_families.h b/src/data/pokemon/species_info/gen_2_families.h index 5dcabda292..530c92f411 100644 --- a/src/data/pokemon/species_info/gen_2_families.h +++ b/src/data/pokemon/species_info/gen_2_families.h @@ -3990,8 +3990,8 @@ const struct SpeciesInfo gSpeciesInfoGen2[] = .weight = 474, .description = COMPOUND_STRING( "A recent study uncovered that the\n" - "number of segments a\n" - "Dudunsparce's body has is determined by the\n" + "number of segments a Dudunsparce's\n" + "body has is determined by the\n" "Pokémon's genes."), .pokemonScale = 356, .pokemonOffset = 17, diff --git a/src/data/pokemon/species_info/gen_3_families.h b/src/data/pokemon/species_info/gen_3_families.h index 8a23bb05fd..d0bc37e5fc 100644 --- a/src/data/pokemon/species_info/gen_3_families.h +++ b/src/data/pokemon/species_info/gen_3_families.h @@ -4570,9 +4570,9 @@ const struct SpeciesInfo gSpeciesInfoGen3[] = .weight = 315, .description = COMPOUND_STRING( "It uses its amped-up willpower to create\n" - "additional arms for itself. The more it has\n" - "trained its spirit, the more realistic and\n" - "dexterous these self-created arms become."), + "additional arms for itself. The more it\n" + "has trained its spirit, the more realistic\n" + "and dexterous these arms become."), .pokemonScale = 298, .pokemonOffset = 5, .trainerScale = 256, diff --git a/src/data/pokemon/species_info/gen_4_families.h b/src/data/pokemon/species_info/gen_4_families.h index c0fdd1ecec..c88dd71ddd 100644 --- a/src/data/pokemon/species_info/gen_4_families.h +++ b/src/data/pokemon/species_info/gen_4_families.h @@ -561,10 +561,10 @@ const struct SpeciesInfo gSpeciesInfoGen4[] = .height = 17, .weight = 845, .description = COMPOUND_STRING( - "The three horns that extend from its beak\n" - "attest to its power. It avoids unnecessary\n" - "disputes, but it will decimate anything\n" - "that threatens its pride."), + "The three horns that extend from its\n" + "beak attest to its power. It avoids\n" + "unnecessary disputes, but it will decimate\n" + "anything that threatens its pride."), .pokemonScale = 259, .pokemonOffset = 0, .trainerScale = 290, @@ -4873,10 +4873,10 @@ const struct SpeciesInfo gSpeciesInfoGen4[] = .height = 3, .weight = 3, .description = COMPOUND_STRING( - "If the convection microwave oven is not\n" - "working properly, then the Rotom inhabiting\n" - "it will become lethargic. It will gleefully\n" - "burn your favorite outfit in mischief."), + "If the convection microwave oven is\n" + "not working properly, then the Rotom\n" + "inhabiting it will become lethargic. It\n" + "makes mischief by turning up the heat."), .pokemonScale = 530, .pokemonOffset = 13, .trainerScale = 256, diff --git a/src/data/pokemon/species_info/gen_5_families.h b/src/data/pokemon/species_info/gen_5_families.h index e8907999fe..50ee5b1fec 100644 --- a/src/data/pokemon/species_info/gen_5_families.h +++ b/src/data/pokemon/species_info/gen_5_families.h @@ -10333,10 +10333,10 @@ const struct SpeciesInfo gSpeciesInfoGen5[] = .height = 14, .weight = 580, .description = COMPOUND_STRING( - "It draws in air through its tail, transforms\n" - "it into fire, and uses it like a tongue.\n" - "They burn through Durant's steel bodies\n" - "and consume their insides."), + "It draws in air through its tail,\n" + "transforms it into fire, and uses it like\n" + "a tongue. They burn through Durant's steel\n" + "bodies and consume their insides."), .pokemonScale = 265, .pokemonOffset = 2, .trainerScale = 262, @@ -11154,10 +11154,10 @@ const struct SpeciesInfo gSpeciesInfoGen5[] = .height = 30, .weight = 610, .description = COMPOUND_STRING( - "It pulverizes foes into\n" - "nothingness with showers of devastatingly\n" - "powerful lightning bolts launched from\n" - "the string of orbs on its tail."), + "It pulverizes foes into nothingness\n" + "with showers of devastatingly\n" + "powerful lightning bolts launched\n" + "from the string of orbs on its tail."), .pokemonScale = 268, .pokemonOffset = 2, .trainerScale = 271, @@ -11348,9 +11348,9 @@ const struct SpeciesInfo gSpeciesInfoGen5[] = .height = 15, .weight = 680, .description = COMPOUND_STRING( - "The energy that comes pouring from its tail\n" - "increases the nutrition in the soil, making\n" - "crops grow to great size. It has been\n" + "The energy that comes pouring from its\n" + "tail increases the nutrition in the soil,\n" + "granting bountiful crops. It has been\n" "hailed as “The Guardian of the Fields.”"), .pokemonScale = 268, .pokemonOffset = 2, diff --git a/src/data/pokemon/species_info/gen_6_families.h b/src/data/pokemon/species_info/gen_6_families.h index 5946ac5c44..ac77faa806 100644 --- a/src/data/pokemon/species_info/gen_6_families.h +++ b/src/data/pokemon/species_info/gen_6_families.h @@ -640,11 +640,7 @@ const struct SpeciesInfo gSpeciesInfoGen6[] = .categoryName = _("Ninja"), .height = 15, .weight = 400, - .description = COMPOUND_STRING( - "It appears and vanishes with a ninja's\n" - "grace. It toys with its enemies using swift\n" - "movements, while slicing them with throwing\n" - "stars made of compressed water."), + .description = gGreninjaPokedexText, .pokemonScale = 268, .pokemonOffset = 2, .trainerScale = 271, @@ -1806,8 +1802,8 @@ const struct SpeciesInfo gSpeciesInfoGen6[] = { FLORGES_MISC_INFO(Red, 0), .description = COMPOUND_STRING( - "This Pokémon creates an\n" - "impressive flower garden in its territory. It\n" + "This Pokémon creates an impressive\n" + "flower garden in its territory. It\n" "draws forth the power of the red\n" "flowers around its neck."), }, @@ -4213,8 +4209,8 @@ const struct SpeciesInfo gSpeciesInfoGen6[] = .height = 17, .weight = 3341, .description = COMPOUND_STRING( - "It loathes solitude and is\n" - "extremely clingy-it will fume and run riot if\n" + "It loathes solitude and is extremely\n" + "clingy--it will fume and run riot if\n" "those dearest to it ever leave its\n" "side."), .pokemonScale = 261, @@ -5239,9 +5235,9 @@ const struct SpeciesInfo gSpeciesInfoGen6[] = .weight = 850, .description = COMPOUND_STRING( "They fly around on moonless nights and\n" - "attack careless prey. The ultrasonic waves\n" - "it emits from its ears can reduce a large\n" - "boulder to pebbles."), + "attack careless prey. The ultrasonic\n" + "waves it emits from its ears can reduce\n" + "a large boulder to pebbles."), .pokemonScale = 268, .pokemonOffset = 2, .trainerScale = 271, diff --git a/src/data/pokemon/species_info/gen_7_families.h b/src/data/pokemon/species_info/gen_7_families.h index dfee119ed5..d69b362104 100644 --- a/src/data/pokemon/species_info/gen_7_families.h +++ b/src/data/pokemon/species_info/gen_7_families.h @@ -3823,8 +3823,8 @@ const struct SpeciesInfo gSpeciesInfoGen7[] = .height = 5, .weight = 700, .description = COMPOUND_STRING( - "It takes control of anyone who puts a hand\n" - "in its mouth, to add to the accumulation\n" + "It takes control of anyone who puts a\n" + "hand in its mouth, to add to the pile\n" "of its sand-mound body. This Pokémon\n" "embodies the grudges of the departed."), .pokemonScale = 432, @@ -6208,10 +6208,10 @@ const struct SpeciesInfo gSpeciesInfoGen7[] = .height = 38, .weight = 4600, .description = COMPOUND_STRING( - "This is its form while it is\n" - "devouring the light of Solgaleo. It pounces\n" - "on foes and then slashes them with\n" - "the claws on its four limbs and back."), + "This is its form while it is devouring\n" + "the light of Solgaleo. It pounces on\n" + "foes and then slashes them with the\n" + "claws on its four limbs and back."), .pokemonScale = 256, .pokemonOffset = 3, .trainerScale = 369, @@ -6974,9 +6974,9 @@ const struct SpeciesInfo gSpeciesInfoGen7[] = .height = 25, .weight = 800, .description = COMPOUND_STRING( - "Revered long ago for its capacity to create\n" - "iron from nothing, for some reason it has\n" - "come back to life after 3,000 years."), + "Revered long ago for its capacity to\n" + "create iron from nothing, for some reason\n" + "it has come back to life after 3,000 years."), .pokemonScale = 257, .pokemonOffset = 10, .trainerScale = 423, diff --git a/src/data/pokemon/species_info/gen_8_families.h b/src/data/pokemon/species_info/gen_8_families.h index 3f8257d966..46057b3847 100644 --- a/src/data/pokemon/species_info/gen_8_families.h +++ b/src/data/pokemon/species_info/gen_8_families.h @@ -885,8 +885,8 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .description = COMPOUND_STRING( "It will bravely challenge any opponent,\n" "no matter how powerful. This Pokémon\n" - "benefits from every battle--even a defeat\n" - "increases its strength a bit."), + "benefits from every battle--even a\n" + "defeat increases its strength a bit."), .pokemonScale = 682, .pokemonOffset = 24, .trainerScale = 256, @@ -1318,8 +1318,8 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .height = 140, .weight = 0, .description = COMPOUND_STRING( - "Its brain has grown to a\n" - "gargantuan size, as has the rest of its body.\n" + "Its brain has grown to a gargantuan\n" + "size, as has the rest of its body.\n" "This Pokémon's intellect and\n" "psychic abilities are overpowering."), .pokemonScale = 491, @@ -3621,9 +3621,9 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .weight = 0, .description = COMPOUND_STRING( "The heat that comes off a\n" - "Gigantamax Centiskorch may destabilize air\n" - "currents. Sometimes it can even\n" - "cause storms."), + "Gigantamax Centiskorch may\n" + "destabilize air currents. Sometimes\n" + "it can even cause storms."), .pokemonScale = 275, .pokemonOffset = 7, .trainerScale = 256, @@ -4294,9 +4294,9 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .weight = 55, .description = COMPOUND_STRING( "Through its nose, it sucks in the\n" - "emanations produced by people and Pokémon\n" - "when they feel annoyed. It thrives off\n" - "this negative energy."), + "emanations produced by people and\n" + "Pokémon when they feel annoyed. It\n" + "thrives off this negative energy."), .pokemonScale = 491, .pokemonOffset = 12, .trainerScale = 256, @@ -5577,9 +5577,9 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .height = 230, .weight = 0, .description = COMPOUND_STRING( - "After this Pokémon has\n" - "Gigantamaxed, its massive nose can utterly\n" - "demolish large structures with a single\n" + "After this Pokémon has Gigantamaxed,\n" + "its massive nose can utterly demolish\n" + "large structures with a single\n" "smashing blow."), .pokemonScale = 275, .pokemonOffset = 7, @@ -6255,8 +6255,8 @@ const struct SpeciesInfo gSpeciesInfoGen8[] = .weight = 1100, .description = COMPOUND_STRING( "Known as a legendary hero, this Pokémon\n" - "absorbs metal particles, transforming them\n" - "into a weapon it uses to battle."), + "absorbs metal particles, transforming\n" + "them into a weapon it uses to battle."), .pokemonScale = 275, .pokemonOffset = 7, .trainerScale = 256, diff --git a/src/data/pokemon/species_info/gen_9_families.h b/src/data/pokemon/species_info/gen_9_families.h index 5a616bf4ff..6638676a8d 100644 --- a/src/data/pokemon/species_info/gen_9_families.h +++ b/src/data/pokemon/species_info/gen_9_families.h @@ -1019,8 +1019,8 @@ const struct SpeciesInfo gSpeciesInfoGen9[] = .height = 3, .weight = 25, .description = COMPOUND_STRING( - "The pads of its paws are\n" - "electricity-discharging organs. Pawmi fires\n" + "The pads of its paws are electricity-\n" + "discharging organs. Pawmi fires\n" "electricity from its forepaws while\n" "standing unsteadily on its hind legs."), .pokemonScale = 356, @@ -3939,8 +3939,8 @@ const struct SpeciesInfo gSpeciesInfoGen9[] = .height = 13, .weight = 602, .description = COMPOUND_STRING( - "This Pokémon changes its\n" - "appearance if it hears its allies calling for\n" + "This Pokémon changes its appearance\n" + "if it hears its allies calling for\n" "help. Palafin will never show\n" "anybody its moment of transformation."), .pokemonScale = 356, @@ -4002,8 +4002,8 @@ const struct SpeciesInfo gSpeciesInfoGen9[] = .weight = 974, .description = COMPOUND_STRING( "This Pokémon's ancient genes have\n" - "awakened. It is now so\n" - "extraordinarily strong that it can easily lift a\n" + "awakened. It is now so extraordinarily\n" + "strong that it can easily lift a\n" "cruise ship with one fin."), .pokemonScale = 356, .pokemonOffset = 17, diff --git a/src/data/pokemon/species_info/shared_dex_text.h b/src/data/pokemon/species_info/shared_dex_text.h index 0c591bd811..bf7e12aefb 100644 --- a/src/data/pokemon/species_info/shared_dex_text.h +++ b/src/data/pokemon/species_info/shared_dex_text.h @@ -73,9 +73,9 @@ const u8 gGenesectPokedexText[] = _( // Gen 6 families const u8 gGreninjaPokedexText[] = _( "It appears and vanishes with a ninja's\n" - "grace. It toys with its enemies using swift\n" - "movements, while slicing them with throwing\n" - "stars made of compressed water."); + "grace. It toys with its enemies using\n" + "swift movements, while slicing them with\n" + "throwing stars made of compressed water."); const u8 gScatterbugPokedexText[] = _( "When under attack from bird Pokémon,\n" @@ -207,7 +207,7 @@ const u8 gKommoOPokedexText[] = _( // Gen 8 families const u8 gAlcremieVanillaCreamPokedexText[] = _( "If Alcremie is content, the secreted cream\n" - "from its hands becomes sweeter and richer." + "from its hands becomes sweeter and richer.\n" "When it trusts a Trainer, it will treat\n" "them to berries it's decorated with cream."); @@ -279,8 +279,8 @@ const u8 gOgerponWellspringMaskPokedexText[] = _( const u8 gOgerponHearthflameMaskPokedexText[] = _( "This form is the most aggressive,\n" - "bombarding enemies with the\n" - "intensity of flames blazing within a hearth."); + "bombarding enemies with the intensity\n" + "of flames blazing within a hearth."); const u8 gOgerponCornerstoneMaskPokedexText[] = _( "In this form, it draws on the power\n" diff --git a/test/text.c b/test/text.c index 0e6900edad..7713784198 100644 --- a/test/text.c +++ b/test/text.c @@ -79,6 +79,18 @@ TEST("Move names fit on Move Relearner Screen") EXPECT_LE(GetStringWidth(fontId, gMovesInfo[move].name, 0), widthPx); } +TEST("Move descriptions fit on Pokemon Summary Screen") +{ + u32 i; + const u32 fontId = FONT_NORMAL, widthPx = 152; + u32 move = MOVE_NONE; + for (i = 1; i < MOVES_COUNT; i++) + { + PARAMETRIZE_LABEL("%S", gMovesInfo[i].description) { move = i; } + } + EXPECT_LE(GetStringWidth(fontId, gMovesInfo[move].description, 0), widthPx); +} + TEST("Item names fit on Bag Screen (list)") { u32 i; @@ -272,6 +284,18 @@ TEST("Item names fit on Shop Screen") EXPECT_LE(GetStringWidth(fontId, gItemsInfo[item].name, 0), widthPx); } +TEST("Item descriptions fit on Bag and Shop Screen") +{ + u32 i; + const u32 fontId = FONT_NORMAL, widthPx = 102; + u32 item = ITEM_NONE; + for (i = 1; i < ITEMS_COUNT; i++) + { + PARAMETRIZE_LABEL("%S", gItemsInfo[i].description) { item = i; } + } + EXPECT_LE(GetStringWidth(fontId, gItemsInfo[item].description, 0), widthPx); +} + TEST("Species names fit on Battle Screen HP box") { u32 i, genderWidthPx; @@ -520,6 +544,21 @@ TEST("Species names fit on Battle Screen HP box for vanilla mons with the defaul EXPECT_LE(GetStringWidth(fontId, gSpeciesInfo[species].speciesName, 0), widthPx); } +TEST("Species dex entries fit on Pokedex Screen") +{ + u32 i; + const u32 fontId = FONT_NORMAL, widthPx = 224; + u32 species = SPECIES_NONE; + for (i = 1; i < NUM_SPECIES; i++) + { + if (IsSpeciesEnabled(i)) + { + PARAMETRIZE_LABEL("%S", gSpeciesInfo[i].description) { species = i; } + } + } + EXPECT_LE(GetStringWidth(fontId, gSpeciesInfo[species].description, 0), widthPx); +} + TEST("Ability names fit on Pokemon Summary Screen") { u32 i; @@ -544,6 +583,18 @@ TEST("Ability names fit on Ability Pop-Up") EXPECT_LE(GetStringWidth(fontId, gAbilitiesInfo[ability].name, 0), widthPx); } +TEST("Ability descriptions fit on Pokemon Summary Screen") +{ + u32 i; + const u32 fontId = FONT_NORMAL, widthPx = 146; + u32 ability = ABILITY_NONE; + for (i = 1; i < ABILITIES_COUNT; i++) + { + PARAMETRIZE_LABEL("%S", gAbilitiesInfo[i].description) { ability = i; } + } + EXPECT_LE(GetStringWidth(fontId, gAbilitiesInfo[ability].description, 0), widthPx); +} + TEST("Type names fit on Battle Screen") { u32 i; From a01f9b4708f35a0a97541450c1f703c73967d70c Mon Sep 17 00:00:00 2001 From: aronson Date: Sat, 12 Oct 2024 13:41:26 -0500 Subject: [PATCH 099/278] Align EWRAM and IWRAM data-filled sections to 4 bytes (#5512) --- ld_script.ld | 2 ++ ld_script_modern.ld | 2 ++ 2 files changed, 4 insertions(+) diff --git a/ld_script.ld b/ld_script.ld index a0c069c965..6c8467a002 100644 --- a/ld_script.ld +++ b/ld_script.ld @@ -18,6 +18,7 @@ SECTIONS { { __ewram_start = .; *(.ewram*) + . = ALIGN(4); __ewram_end = .; } > EWRAM @@ -38,6 +39,7 @@ SECTIONS { { __iwram_start = .; *(.iwram*); + . = ALIGN(4); __iwram_end = .; } > IWRAM diff --git a/ld_script_modern.ld b/ld_script_modern.ld index fd35a1ca31..11e53db63d 100644 --- a/ld_script_modern.ld +++ b/ld_script_modern.ld @@ -19,6 +19,7 @@ SECTIONS { { __ewram_start = .; *(.ewram*) + . = ALIGN(4); __ewram_end = .; } > EWRAM @@ -34,6 +35,7 @@ SECTIONS { { __iwram_start = .; *(.iwram*); + . = ALIGN(4); __iwram_end = .; } > IWRAM From a0be2cbf7b451f20cc5940fa04caf0dc3c5221a3 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 12 Oct 2024 23:50:12 -0400 Subject: [PATCH 100/278] Fix Fallorbor typo --- data/maps/FallarborTown_PokemonCenter_1F/map.json | 2 +- include/constants/flags.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/maps/FallarborTown_PokemonCenter_1F/map.json b/data/maps/FallarborTown_PokemonCenter_1F/map.json index 93204a215a..0c3dd726df 100644 --- a/data/maps/FallarborTown_PokemonCenter_1F/map.json +++ b/data/maps/FallarborTown_PokemonCenter_1F/map.json @@ -64,7 +64,7 @@ "trainer_type": "TRAINER_TYPE_NONE", "trainer_sight_or_berry_tree_id": "0", "script": "FallarborTown_PokemonCenter_1F_EventScript_Lanette", - "flag": "FLAG_HIDE_FALLORBOR_POKEMON_CENTER_LANETTE" + "flag": "FLAG_HIDE_FALLARBOR_POKEMON_CENTER_LANETTE" } ], "warp_events": [ diff --git a/include/constants/flags.h b/include/constants/flags.h index 5b1b5efd19..f291a61871 100644 --- a/include/constants/flags.h +++ b/include/constants/flags.h @@ -919,7 +919,7 @@ #define FLAG_HIDE_LITTLEROOT_TOWN_FAT_MAN 0x364 #define FLAG_HIDE_SLATEPORT_CITY_STERNS_SHIPYARD_MR_BRINEY 0x365 #define FLAG_HIDE_LANETTES_HOUSE_LANETTE 0x366 -#define FLAG_HIDE_FALLORBOR_POKEMON_CENTER_LANETTE 0x367 +#define FLAG_HIDE_FALLARBOR_POKEMON_CENTER_LANETTE 0x367 #define FLAG_HIDE_TRICK_HOUSE_ENTRANCE_MAN 0x368 #define FLAG_HIDE_LILYCOVE_CONTEST_HALL_BLEND_MASTER_REPLACEMENT 0x369 #define FLAG_HIDE_DESERT_UNDERPASS_FOSSIL 0x36A From b91656d1c32e4b55227695a4e2301eee0eb5a17d Mon Sep 17 00:00:00 2001 From: aronson Date: Sun, 13 Oct 2024 01:31:31 -0500 Subject: [PATCH 101/278] Update test LD script to respect 4 byte data section alignment (#5517) --- ld_script_test.ld | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ld_script_test.ld b/ld_script_test.ld index ec99609a7e..a9a2434c57 100644 --- a/ld_script_test.ld +++ b/ld_script_test.ld @@ -27,6 +27,7 @@ SECTIONS { src/*.o(.sbss); gflib/*.o(.sbss); test/*.o(.sbss); + . = ALIGN(4); } > EWRAM .iwram ORIGIN(IWRAM) : AT (__iwram_lma) @@ -34,6 +35,7 @@ SECTIONS { { __iwram_start = .; *(.iwram*); + . = ALIGN(4); __iwram_end = .; } > IWRAM @@ -55,6 +57,7 @@ SECTIONS { data/*.o(COMMON); test/*.o(COMMON); *libc.a:sbrkr.o(COMMON); + . = ALIGN(4); /* .persistent starts at 0x3007F00 */ /* WARNING: This is the end of the IRQ stack, if there's too From 253d3dd7ef1cd123d4ba2cce4117da13a503a8b9 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 15 Oct 2024 03:47:07 +0000 Subject: [PATCH 102/278] Remove unnecessary looping for rule generation and unroll macros (#2046) --- Makefile | 89 +++++++++++++++++++++++--------------------------------- 1 file changed, 36 insertions(+), 53 deletions(-) diff --git a/Makefile b/Makefile index ee36562b13..58f6c14513 100644 --- a/Makefile +++ b/Makefile @@ -297,69 +297,52 @@ endif # As a side effect, they're evaluated immediately instead of when the rule is invoked. # It doesn't look like $(shell) can be deferred so there might not be a better way (Icedude_907: there is soon). -# For C dependencies. -# Args: $1 = Output file without extension (build/assets/src/data), $2 = Input file (src/data.c) -define C_DEP -$(call C_DEP_IMPL,$1,$2,$1) -endef -# Internal implementation details. -# $1: Output file without extension, $2 input file, $3 temp path (if keeping) -define C_DEP_IMPL -$1.o: $2 +$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.c ifneq ($(KEEP_TEMPS),1) - @echo "$$(CC1) -o $$@ $$<" - @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - + @echo "$(CC1) -o $@ $<" + @$(CPP) $(CPPFLAGS) $< | $(PREPROC) -i $< charmap.txt | $(CC1) $(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $(AS) $(ASFLAGS) -o $@ - else - @$$(CPP) $$(CPPFLAGS) $$< -o $3.i - @$$(PREPROC) $3.i charmap.txt | $$(CC1) $$(CFLAGS) -o $3.s - @echo -e ".text\n\t.align\t2, 0\n" >> $3.s - $$(AS) $$(ASFLAGS) -o $$@ $3.s + @$(CPP) $(CPPFLAGS) $< -o $*.i + @$(PREPROC) $*.i charmap.txt | $(CC1) $(CFLAGS) -o $*.s + @echo -e ".text\n\t.align\t2, 0\n" >> $*.s + $(AS) $(ASFLAGS) -o $@ $*.s endif + +$(C_BUILDDIR)/%.d: $(C_SUBDIR)/%.c + $(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $< + ifneq ($(NODEP),1) -$1.d: $2 - $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I tools/agbcc/include $2 --include $1.d -endif -endef - -# Create generic rules if no dependency scanning, else create the real rules -ifeq ($(NODEP),1) -$(eval $(call C_DEP,$(C_BUILDDIR)/%,$(C_SUBDIR)/%.c)) -else -$(foreach src,$(C_SRCS),$(eval $(call C_DEP,$(OBJ_DIR)/$(basename $(src)),$(src)))) +-include $(addprefix $(OBJ_DIR)/,$(C_SRCS:.c=.d)) endif -# Similar methodology for Assembly files -# $1: Output path without extension, $2: Input file (`*.s`) -define ASM_DEP -$1.o: $2 - $$(AS) $$(ASFLAGS) -o $$@ $$< -$(call ASM_SCANINC,$1,$2) -endef -# As above but first doing a preprocessor pass -define ASM_DEP_PREPROC -$1.o: $2 - $$(PREPROC) $$< charmap.txt | $$(CPP) $(INCLUDE_SCANINC_ARGS) - | $$(PREPROC) -ie $$< charmap.txt | $$(AS) $$(ASFLAGS) -o $$@ -$(call ASM_SCANINC,$1,$2) -endef +$(ASM_BUILDDIR)/%.o: $(ASM_SUBDIR)/%.s + $(AS) $(ASFLAGS) -o $@ $< + +$(ASM_BUILDDIR)/%.d: $(ASM_SUBDIR)/%.s + $(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $< -define ASM_SCANINC ifneq ($(NODEP),1) -$1.d: $2 - $(SCANINC) -M $1.d $(INCLUDE_SCANINC_ARGS) -I "" $2 --include $1.d +-include $(addprefix $(OBJ_DIR)/,$(ASM_SRCS:.s=.d)) endif -endef -# Dummy rules or real rules -ifeq ($(NODEP),1) -$(eval $(call ASM_DEP,$(ASM_BUILDDIR)/%,$(ASM_SUBDIR)/%.s)) -$(eval $(call ASM_DEP_PREPROC,$(C_BUILDDIR)/%,$(C_SUBDIR)/%.s)) -$(eval $(call ASM_DEP_PREPROC,$(DATA_ASM_BUILDDIR)/%,$(DATA_ASM_SUBDIR)/%.s)) -else -$(foreach src, $(ASM_SRCS), $(eval $(call ASM_DEP,$(src:%.s=$(OBJ_DIR)/%),$(src)))) -$(foreach src, $(C_ASM_SRCS), $(eval $(call ASM_DEP_PREPROC,$(src:%.s=$(OBJ_DIR)/%),$(src)))) -$(foreach src, $(REGULAR_DATA_ASM_SRCS), $(eval $(call ASM_DEP_PREPROC,$(src:%.s=$(OBJ_DIR)/%),$(src)))) +$(C_BUILDDIR)/%.o: $(C_SUBDIR)/%.s + $(PREPROC) $< charmap.txt | $(CPP) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ + +$(C_BUILDDIR)/%.d: $(C_SUBDIR)/%.s + $(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $< + +ifneq ($(NODEP),1) +-include $(addprefix $(OBJ_DIR)/,$(C_ASM_SRCS:.s=.d)) +endif + +$(DATA_ASM_BUILDDIR)/%.o: $(DATA_ASM_SUBDIR)/%.s + $(PREPROC) $< charmap.txt | $(CPP) $(INCLUDE_SCANINC_ARGS) - | $(PREPROC) -ie $< charmap.txt | $(AS) $(ASFLAGS) -o $@ + +$(DATA_ASM_BUILDDIR)/%.d: $(DATA_ASM_SUBDIR)/%.s + $(SCANINC) -M $@ $(INCLUDE_SCANINC_ARGS) -I "" $< + +ifneq ($(NODEP),1) +-include $(addprefix $(OBJ_DIR)/,$(REGULAR_DATA_ASM_SRCS:.s=.d)) endif $(OBJ_DIR)/sym_bss.ld: sym_bss.txt From a55c75d350969624745a357711ba01edf8ce9590 Mon Sep 17 00:00:00 2001 From: luckytyphlosion <10688458+luckytyphlosion@users.noreply.github.com> Date: Mon, 14 Oct 2024 23:52:11 -0400 Subject: [PATCH 103/278] Get rid of common syms (#2040) --- Makefile | 17 ++- common_syms/AgbRfu_LinkManager.txt | 1 - common_syms/agb_flash.txt | 10 -- common_syms/apprentice.txt | 3 - common_syms/battle_anim_throw.txt | 3 - common_syms/battle_factory_screen.txt | 1 - common_syms/battle_main.txt | 9 -- common_syms/battle_tower.txt | 1 - common_syms/berry_blender.txt | 1 - common_syms/bg.txt | 1 - common_syms/contest.txt | 1 - common_syms/contest_painting.txt | 4 - common_syms/ereader_screen.txt | 2 - common_syms/evolution_scene.txt | 1 - common_syms/faraway_island.txt | 3 - common_syms/field_camera.txt | 3 - common_syms/field_control_avatar.txt | 1 - common_syms/field_specials.txt | 1 - common_syms/fieldmap.txt | 1 - common_syms/image_processing_effects.txt | 10 -- common_syms/intro.txt | 2 - common_syms/librfu_rfu.txt | 5 - common_syms/librfu_sio32id.txt | 1 - common_syms/librfu_stwi.txt | 1 - common_syms/link.txt | 35 ------ common_syms/link_rfu_2.txt | 2 - common_syms/list_menu.txt | 2 - common_syms/load_save.txt | 4 - common_syms/m4a.txt | 12 --- common_syms/main.txt | 9 -- common_syms/mauville_old_man.txt | 1 - common_syms/overworld.txt | 8 -- common_syms/party_menu.txt | 1 - common_syms/pokedex.txt | 2 - common_syms/pokedex_cry_screen.txt | 1 - common_syms/random.txt | 2 - common_syms/rtc.txt | 1 - common_syms/save.txt | 13 --- common_syms/sound.txt | 1 - common_syms/sprite.txt | 2 - common_syms/start_menu.txt | 1 - common_syms/task.txt | 1 - common_syms/text.txt | 4 - common_syms/trainer_see.txt | 5 - common_syms/tv.txt | 4 - common_syms/window.txt | 2 - include/gba/defines.h | 1 + ld_script.ld | 1 + ld_script_modern.ld | 1 + src/AgbRfu_LinkManager.c | 2 +- src/agb_flash.c | 20 ++-- src/apprentice.c | 6 +- src/battle_anim_throw.c | 6 +- src/battle_factory_screen.c | 2 +- src/battle_main.c | 18 ++-- src/battle_tower.c | 2 +- src/berry_blender.c | 2 +- src/bg.c | 2 +- src/contest.c | 2 +- src/contest_painting.c | 8 +- src/ereader_screen.c | 4 +- src/evolution_scene.c | 2 +- src/field_camera.c | 6 +- src/field_control_avatar.c | 2 +- src/field_specials.c | 2 +- src/fieldmap.c | 2 +- src/image_processing_effects.c | 20 ++-- src/intro.c | 4 +- src/librfu_rfu.c | 10 +- src/librfu_sio32id.c | 2 +- src/librfu_stwi.c | 2 +- src/link.c | 70 ++++++------ src/link_rfu_2.c | 4 +- src/list_menu.c | 6 +- src/load_save.c | 8 +- src/m4a.c | 24 ++--- src/main.c | 18 ++-- src/mauville_old_man.c | 2 +- src/overworld.c | 16 +-- src/party_menu.c | 2 +- src/pokedex.c | 4 +- src/pokedex_cry_screen.c | 2 +- src/random.c | 4 +- src/rtc.c | 2 +- src/save.c | 26 ++--- src/sound.c | 2 +- src/sprite.c | 4 +- src/start_menu.c | 2 +- src/task.c | 2 +- src/text.c | 8 +- src/trainer_see.c | 10 +- src/tv.c | 10 +- src/window.c | 4 +- tools/ramscrgen/elf.cpp | 129 +++++++---------------- tools/ramscrgen/elf.h | 4 +- tools/ramscrgen/main.cpp | 55 ++-------- 96 files changed, 243 insertions(+), 500 deletions(-) delete mode 100644 common_syms/AgbRfu_LinkManager.txt delete mode 100644 common_syms/agb_flash.txt delete mode 100644 common_syms/apprentice.txt delete mode 100755 common_syms/battle_anim_throw.txt delete mode 100644 common_syms/battle_factory_screen.txt delete mode 100644 common_syms/battle_main.txt delete mode 100644 common_syms/battle_tower.txt delete mode 100644 common_syms/berry_blender.txt delete mode 100644 common_syms/bg.txt delete mode 100644 common_syms/contest.txt delete mode 100644 common_syms/contest_painting.txt delete mode 100644 common_syms/ereader_screen.txt delete mode 100644 common_syms/evolution_scene.txt delete mode 100755 common_syms/faraway_island.txt delete mode 100644 common_syms/field_camera.txt delete mode 100644 common_syms/field_control_avatar.txt delete mode 100644 common_syms/field_specials.txt delete mode 100644 common_syms/fieldmap.txt delete mode 100644 common_syms/image_processing_effects.txt delete mode 100644 common_syms/intro.txt delete mode 100644 common_syms/librfu_rfu.txt delete mode 100644 common_syms/librfu_sio32id.txt delete mode 100644 common_syms/librfu_stwi.txt delete mode 100644 common_syms/link.txt delete mode 100644 common_syms/link_rfu_2.txt delete mode 100644 common_syms/list_menu.txt delete mode 100644 common_syms/load_save.txt delete mode 100644 common_syms/m4a.txt delete mode 100644 common_syms/main.txt delete mode 100644 common_syms/mauville_old_man.txt delete mode 100644 common_syms/overworld.txt delete mode 100644 common_syms/party_menu.txt delete mode 100644 common_syms/pokedex.txt delete mode 100644 common_syms/pokedex_cry_screen.txt delete mode 100644 common_syms/random.txt delete mode 100644 common_syms/rtc.txt delete mode 100644 common_syms/save.txt delete mode 100644 common_syms/sound.txt delete mode 100644 common_syms/sprite.txt delete mode 100644 common_syms/start_menu.txt delete mode 100644 common_syms/task.txt delete mode 100644 common_syms/text.txt delete mode 100644 common_syms/trainer_see.txt delete mode 100644 common_syms/tv.txt delete mode 100644 common_syms/window.txt diff --git a/Makefile b/Makefile index 58f6c14513..6d66c34d65 100644 --- a/Makefile +++ b/Makefile @@ -178,12 +178,20 @@ ifneq (,$(MAKECMDGOALS)) endif endif +.SHELLSTATUS ?= 0 + ifeq ($(SETUP_PREREQS),1) # If set on: Default target or a rule requiring a scan # Forcibly execute `make tools` since we need them for what we are doing. - $(call infoshell, $(MAKE) -f make_tools.mk) + $(foreach line, $(shell $(MAKE) -f make_tools.mk | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) + ifneq ($(.SHELLSTATUS),0) + $(error Errors occurred while building tools. See error messages above for more details) + endif # Oh and also generate mapjson sources before we use `SCANINC`. - $(call infoshell, $(MAKE) generated) + $(foreach line, $(shell $(MAKE) generated | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) + ifneq ($(.SHELLSTATUS),0) + $(error Errors occurred while generating map-related sources. See error messages above for more details) + endif endif # Collect sources @@ -255,6 +263,8 @@ include spritesheet_rules.mk include json_data_rules.mk include audio_rules.mk +# NOTE: Tools must have been built prior (FIXME) +# so you can't really call this rule directly generated: $(AUTO_GEN_TARGETS) %.s: ; @@ -270,8 +280,6 @@ generated: $(AUTO_GEN_TARGETS) %.lz: % ; $(GFX) $< $@ %.rl: % ; $(GFX) $< $@ -# NOTE: Tools must have been built prior (FIXME) -generated: tools $(AUTO_GEN_TARGETS) clean-generated: -rm -f $(AUTO_GEN_TARGETS) @@ -371,6 +379,7 @@ libagbsyscall: # Elf from object files $(ELF): $(LD_SCRIPT) $(LD_SCRIPT_DEPS) $(OBJS) libagbsyscall @cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat + @echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ | cat" $(FIX) $@ -t"$(TITLE)" -c$(GAME_CODE) -m$(MAKER_CODE) -r$(REVISION) --silent # Builds the rom from the elf file diff --git a/common_syms/AgbRfu_LinkManager.txt b/common_syms/AgbRfu_LinkManager.txt deleted file mode 100644 index 7ff8cd53dd..0000000000 --- a/common_syms/AgbRfu_LinkManager.txt +++ /dev/null @@ -1 +0,0 @@ -lman diff --git a/common_syms/agb_flash.txt b/common_syms/agb_flash.txt deleted file mode 100644 index cb421ec80d..0000000000 --- a/common_syms/agb_flash.txt +++ /dev/null @@ -1,10 +0,0 @@ -gFlashTimeoutFlag -PollFlashStatus -WaitForFlashWrite -ProgramFlashSector -gFlash -ProgramFlashByte -gFlashNumRemainingBytes -EraseFlashChip -EraseFlashSector -gFlashMaxTime diff --git a/common_syms/apprentice.txt b/common_syms/apprentice.txt deleted file mode 100644 index 0d3569dcbb..0000000000 --- a/common_syms/apprentice.txt +++ /dev/null @@ -1,3 +0,0 @@ -gApprenticePartyMovesData -gApprenticeQuestionData -gApprenticeFunc diff --git a/common_syms/battle_anim_throw.txt b/common_syms/battle_anim_throw.txt deleted file mode 100755 index 5e2e8b3ff3..0000000000 --- a/common_syms/battle_anim_throw.txt +++ /dev/null @@ -1,3 +0,0 @@ -gMonShrinkDuration -gMonShrinkDelta -gMonShrinkDistance diff --git a/common_syms/battle_factory_screen.txt b/common_syms/battle_factory_screen.txt deleted file mode 100644 index 3ddeb6d3b1..0000000000 --- a/common_syms/battle_factory_screen.txt +++ /dev/null @@ -1 +0,0 @@ -gFactorySelect_CurrentOptionFunc diff --git a/common_syms/battle_main.txt b/common_syms/battle_main.txt deleted file mode 100644 index f6f02c48d3..0000000000 --- a/common_syms/battle_main.txt +++ /dev/null @@ -1,9 +0,0 @@ -gPreBattleCallback1 -gBattleMainFunc -gBattleResults -gLeveledUpInBattle -gBattlerControllerFuncs -gHealthboxSpriteIds -gMultiUsePlayerCursor -gNumberOfMovesToChoose -gBattleControllerData diff --git a/common_syms/battle_tower.txt b/common_syms/battle_tower.txt deleted file mode 100644 index 7371109d51..0000000000 --- a/common_syms/battle_tower.txt +++ /dev/null @@ -1 +0,0 @@ -gFrontierTempParty diff --git a/common_syms/berry_blender.txt b/common_syms/berry_blender.txt deleted file mode 100644 index 1b15a33d61..0000000000 --- a/common_syms/berry_blender.txt +++ /dev/null @@ -1 +0,0 @@ -gInGameOpponentsNo diff --git a/common_syms/bg.txt b/common_syms/bg.txt deleted file mode 100644 index 0a3c3aecca..0000000000 --- a/common_syms/bg.txt +++ /dev/null @@ -1 +0,0 @@ -gWindowTileAutoAllocEnabled diff --git a/common_syms/contest.txt b/common_syms/contest.txt deleted file mode 100644 index 6a519fb463..0000000000 --- a/common_syms/contest.txt +++ /dev/null @@ -1 +0,0 @@ -gContestRngValue diff --git a/common_syms/contest_painting.txt b/common_syms/contest_painting.txt deleted file mode 100644 index 32bb8be161..0000000000 --- a/common_syms/contest_painting.txt +++ /dev/null @@ -1,4 +0,0 @@ -gContestMonPixels -gImageProcessingContext -gContestPaintingWinner -gContestPaintingMonPalette diff --git a/common_syms/ereader_screen.txt b/common_syms/ereader_screen.txt deleted file mode 100644 index 26b01f678d..0000000000 --- a/common_syms/ereader_screen.txt +++ /dev/null @@ -1,2 +0,0 @@ -gUnknownSpace -gEReaderData diff --git a/common_syms/evolution_scene.txt b/common_syms/evolution_scene.txt deleted file mode 100644 index 137cd3e05d..0000000000 --- a/common_syms/evolution_scene.txt +++ /dev/null @@ -1 +0,0 @@ -gCB2_AfterEvolution diff --git a/common_syms/faraway_island.txt b/common_syms/faraway_island.txt deleted file mode 100755 index e02ca2ec25..0000000000 --- a/common_syms/faraway_island.txt +++ /dev/null @@ -1,3 +0,0 @@ -sPlayerToMewDeltaX -sPlayerToMewDeltaY -sMewDirectionCandidates diff --git a/common_syms/field_camera.txt b/common_syms/field_camera.txt deleted file mode 100644 index 02301ce23c..0000000000 --- a/common_syms/field_camera.txt +++ /dev/null @@ -1,3 +0,0 @@ -gFieldCamera -gTotalCameraPixelOffsetY -gTotalCameraPixelOffsetX diff --git a/common_syms/field_control_avatar.txt b/common_syms/field_control_avatar.txt deleted file mode 100644 index 268f60c641..0000000000 --- a/common_syms/field_control_avatar.txt +++ /dev/null @@ -1 +0,0 @@ -gSelectedObjectEvent diff --git a/common_syms/field_specials.txt b/common_syms/field_specials.txt deleted file mode 100644 index 7adb3f6692..0000000000 --- a/common_syms/field_specials.txt +++ /dev/null @@ -1 +0,0 @@ -gScrollableMultichoice_ListMenuTemplate diff --git a/common_syms/fieldmap.txt b/common_syms/fieldmap.txt deleted file mode 100644 index 0ead758462..0000000000 --- a/common_syms/fieldmap.txt +++ /dev/null @@ -1 +0,0 @@ -gBackupMapLayout diff --git a/common_syms/image_processing_effects.txt b/common_syms/image_processing_effects.txt deleted file mode 100644 index 134f7e88b2..0000000000 --- a/common_syms/image_processing_effects.txt +++ /dev/null @@ -1,10 +0,0 @@ -gCanvasColumnStart -gCanvasPixels -gCanvasRowEnd -gCanvasHeight -gCanvasColumnEnd -gCanvasRowStart -gCanvasMonPersonality -gCanvasWidth -gCanvasPalette -gCanvasPaletteStart diff --git a/common_syms/intro.txt b/common_syms/intro.txt deleted file mode 100644 index d069b1014f..0000000000 --- a/common_syms/intro.txt +++ /dev/null @@ -1,2 +0,0 @@ -gIntroFrameCounter -gMultibootProgramStruct diff --git a/common_syms/librfu_rfu.txt b/common_syms/librfu_rfu.txt deleted file mode 100644 index 4b742dcd25..0000000000 --- a/common_syms/librfu_rfu.txt +++ /dev/null @@ -1,5 +0,0 @@ -gRfuSlotStatusUNI -gRfuSlotStatusNI -gRfuLinkStatus -gRfuStatic -gRfuFixed diff --git a/common_syms/librfu_sio32id.txt b/common_syms/librfu_sio32id.txt deleted file mode 100644 index 97395e84b3..0000000000 --- a/common_syms/librfu_sio32id.txt +++ /dev/null @@ -1 +0,0 @@ -gRfuSIO32Id diff --git a/common_syms/librfu_stwi.txt b/common_syms/librfu_stwi.txt deleted file mode 100644 index a1f7735535..0000000000 --- a/common_syms/librfu_stwi.txt +++ /dev/null @@ -1 +0,0 @@ -gSTWIStatus diff --git a/common_syms/link.txt b/common_syms/link.txt deleted file mode 100644 index 4118d1eb4b..0000000000 --- a/common_syms/link.txt +++ /dev/null @@ -1,35 +0,0 @@ -gLinkPartnersHeldKeys -gLinkDebugSeed -gLocalLinkPlayerBlock -gLinkErrorOccurred -gLinkDebugFlags -gLinkFiller1 -gRemoteLinkPlayersNotReceived -gBlockReceivedStatus -gLinkFiller2 -gLinkHeldKeys -gRecvCmds -gLinkStatus -gLinkDummy1 -gLinkDummy2 -gReadyToExitStandby -gReadyToCloseLink -gReadyCloseLinkType -gSuppressLinkErrorMessage -gWirelessCommType -gSavedLinkPlayerCount -gSendCmd -gSavedMultiplayerId -gReceivedRemoteLinkPlayers -gLinkTestBGInfo -gLinkCallback -gShouldAdvanceLinkState -gLinkTestBlockChecksums -gBlockRequestType -gLinkFiller3 -gLinkFiller4 -gLinkFiller5 -gLastSendQueueCount -gLink -gLastRecvQueueCount -gLinkSavedIme diff --git a/common_syms/link_rfu_2.txt b/common_syms/link_rfu_2.txt deleted file mode 100644 index 4b8f02bad8..0000000000 --- a/common_syms/link_rfu_2.txt +++ /dev/null @@ -1,2 +0,0 @@ -gRfuAPIBuffer -gRfu diff --git a/common_syms/list_menu.txt b/common_syms/list_menu.txt deleted file mode 100644 index ed5343618c..0000000000 --- a/common_syms/list_menu.txt +++ /dev/null @@ -1,2 +0,0 @@ -gListMenuOverride -gMultiuseListMenuTemplate diff --git a/common_syms/load_save.txt b/common_syms/load_save.txt deleted file mode 100644 index 2d3d9b802f..0000000000 --- a/common_syms/load_save.txt +++ /dev/null @@ -1,4 +0,0 @@ -gFlashMemoryPresent -gSaveBlock1Ptr -gSaveBlock2Ptr -gPokemonStoragePtr diff --git a/common_syms/m4a.txt b/common_syms/m4a.txt deleted file mode 100644 index 0d6b13a79b..0000000000 --- a/common_syms/m4a.txt +++ /dev/null @@ -1,12 +0,0 @@ -gSoundInfo -gPokemonCrySongs -gPokemonCryMusicPlayers -gMPlayInfo_BGM -gMPlayJumpTable -gCgbChans -gMPlayInfo_SE1 -gMPlayInfo_SE2 -gPokemonCryTracks -gPokemonCrySong -gMPlayMemAccArea -gMPlayInfo_SE3 diff --git a/common_syms/main.txt b/common_syms/main.txt deleted file mode 100644 index a620083d19..0000000000 --- a/common_syms/main.txt +++ /dev/null @@ -1,9 +0,0 @@ -gKeyRepeatStartDelay -gLinkTransferringData -gMain -gKeyRepeatContinueDelay -gSoftResetDisabled -gIntrTable -gLinkVSyncDisabled -IntrMain_Buffer -gPcmDmaCounter diff --git a/common_syms/mauville_old_man.txt b/common_syms/mauville_old_man.txt deleted file mode 100644 index 9d77b8692b..0000000000 --- a/common_syms/mauville_old_man.txt +++ /dev/null @@ -1 +0,0 @@ -gBardSong diff --git a/common_syms/overworld.txt b/common_syms/overworld.txt deleted file mode 100644 index dcada0bbef..0000000000 --- a/common_syms/overworld.txt +++ /dev/null @@ -1,8 +0,0 @@ -gOverworldTilemapBuffer_Bg2 -gOverworldTilemapBuffer_Bg1 -gOverworldTilemapBuffer_Bg3 -gHeldKeyCodeToSend -gFieldCallback -gFieldCallback2 -gLocalLinkPlayerId -gFieldLinkPlayerCount diff --git a/common_syms/party_menu.txt b/common_syms/party_menu.txt deleted file mode 100644 index 6ed37392c2..0000000000 --- a/common_syms/party_menu.txt +++ /dev/null @@ -1 +0,0 @@ -gItemUseCB diff --git a/common_syms/pokedex.txt b/common_syms/pokedex.txt deleted file mode 100644 index c7a297b2af..0000000000 --- a/common_syms/pokedex.txt +++ /dev/null @@ -1,2 +0,0 @@ -gUnusedPokedexU8 -gPokedexVBlankCB diff --git a/common_syms/pokedex_cry_screen.txt b/common_syms/pokedex_cry_screen.txt deleted file mode 100644 index d16ec36d64..0000000000 --- a/common_syms/pokedex_cry_screen.txt +++ /dev/null @@ -1 +0,0 @@ -gDexCryScreenState diff --git a/common_syms/random.txt b/common_syms/random.txt deleted file mode 100644 index 8037c69586..0000000000 --- a/common_syms/random.txt +++ /dev/null @@ -1,2 +0,0 @@ -gRngValue -gRng2Value diff --git a/common_syms/rtc.txt b/common_syms/rtc.txt deleted file mode 100644 index fa00a34d51..0000000000 --- a/common_syms/rtc.txt +++ /dev/null @@ -1 +0,0 @@ -gLocalTime diff --git a/common_syms/save.txt b/common_syms/save.txt deleted file mode 100644 index 131031d506..0000000000 --- a/common_syms/save.txt +++ /dev/null @@ -1,13 +0,0 @@ -gLastWrittenSector -gLastSaveCounter -gLastKnownGoodSector -gDamagedSaveSectors -gSaveCounter -gReadWriteSector -gIncrementalSectorId -gSaveUnusedVar -gSaveFileStatus -gGameContinueCallback -gRamSaveSectorLocations -gSaveUnusedVar2 -gSaveAttemptStatus diff --git a/common_syms/sound.txt b/common_syms/sound.txt deleted file mode 100644 index 0f6f2fc758..0000000000 --- a/common_syms/sound.txt +++ /dev/null @@ -1 +0,0 @@ -gDisableMusic diff --git a/common_syms/sprite.txt b/common_syms/sprite.txt deleted file mode 100644 index 627c01c0d0..0000000000 --- a/common_syms/sprite.txt +++ /dev/null @@ -1,2 +0,0 @@ -gOamMatrixAllocBitmap -gReservedSpritePaletteCount diff --git a/common_syms/start_menu.txt b/common_syms/start_menu.txt deleted file mode 100644 index 05beaf57c2..0000000000 --- a/common_syms/start_menu.txt +++ /dev/null @@ -1 +0,0 @@ -gMenuCallback diff --git a/common_syms/task.txt b/common_syms/task.txt deleted file mode 100644 index 6601bd11bb..0000000000 --- a/common_syms/task.txt +++ /dev/null @@ -1 +0,0 @@ -gTasks diff --git a/common_syms/text.txt b/common_syms/text.txt deleted file mode 100644 index cd8886e5b1..0000000000 --- a/common_syms/text.txt +++ /dev/null @@ -1,4 +0,0 @@ -gFonts -gDisableTextPrinters -gCurGlyph -gTextFlags diff --git a/common_syms/trainer_see.txt b/common_syms/trainer_see.txt deleted file mode 100644 index 0b30a632a0..0000000000 --- a/common_syms/trainer_see.txt +++ /dev/null @@ -1,5 +0,0 @@ -gWhichTrainerToFaceAfterBattle -gPostBattleMovementScript -gApproachingTrainers -gNoOfApproachingTrainers -gTrainerApproachedPlayer diff --git a/common_syms/tv.txt b/common_syms/tv.txt deleted file mode 100644 index 0370f65e1f..0000000000 --- a/common_syms/tv.txt +++ /dev/null @@ -1,4 +0,0 @@ -sCurTVShowSlot -sTV_SecretBaseVisitMovesTemp -sTV_DecorationsBuffer -sTV_SecretBaseVisitMonsTemp diff --git a/common_syms/window.txt b/common_syms/window.txt deleted file mode 100644 index 24c093a226..0000000000 --- a/common_syms/window.txt +++ /dev/null @@ -1,2 +0,0 @@ -gTransparentTileNumber -gWindowBgTilemapBuffers diff --git a/include/gba/defines.h b/include/gba/defines.h index febe6882cf..a549bab7e2 100644 --- a/include/gba/defines.h +++ b/include/gba/defines.h @@ -8,6 +8,7 @@ #define IWRAM_DATA __attribute__((section("iwram_data"))) #define EWRAM_DATA __attribute__((section("ewram_data"))) +#define COMMON_DATA __attribute__((section("common_data"))) #define UNUSED __attribute__((unused)) #if MODERN diff --git a/ld_script.ld b/ld_script.ld index 1e08a8d61c..316b5fe20f 100644 --- a/ld_script.ld +++ b/ld_script.ld @@ -42,6 +42,7 @@ SECTIONS { /* COMMON starts at 0x30022A8 */ INCLUDE "sym_common.ld" + src/*.o(COMMON); *libc.a:sbrkr.o(COMMON); } > IWRAM diff --git a/ld_script_modern.ld b/ld_script_modern.ld index fac4a134c3..788a5736f0 100644 --- a/ld_script_modern.ld +++ b/ld_script_modern.ld @@ -28,6 +28,7 @@ SECTIONS { src/m4a.o(.bss.code); + src/*.o(common_data); src/*.o(COMMON); *libc.a:*.o(COMMON); *libnosys.a:*.o(COMMON); diff --git a/src/AgbRfu_LinkManager.c b/src/AgbRfu_LinkManager.c index e4ee377f7b..d696c01d3c 100644 --- a/src/AgbRfu_LinkManager.c +++ b/src/AgbRfu_LinkManager.c @@ -14,7 +14,7 @@ #define FSP_ON 0x01 #define FSP_START 0x02 -LINK_MANAGER lman; +COMMON_DATA LINK_MANAGER lman = {0}; static void rfu_LMAN_clearVariables(void); static void rfu_LMAN_settingPCSWITCH(u32 rand); diff --git a/src/agb_flash.c b/src/agb_flash.c index 6b9381c704..ffec206fee 100644 --- a/src/agb_flash.c +++ b/src/agb_flash.c @@ -6,16 +6,16 @@ static u16 sTimerCount; static vu16 *sTimerReg; static u16 sSavedIme; -u8 gFlashTimeoutFlag; -u8 (*PollFlashStatus)(u8 *); -u16 (*WaitForFlashWrite)(u8 phase, u8 *addr, u8 lastData); -u16 (*ProgramFlashSector)(u16 sectorNum, u8 *src); -const struct FlashType *gFlash; -u16 (*ProgramFlashByte)(u16 sectorNum, u32 offset, u8 data); -u16 gFlashNumRemainingBytes; -u16 (*EraseFlashChip)(); -u16 (*EraseFlashSector)(u16 sectorNum); -const u16 *gFlashMaxTime; +COMMON_DATA u8 gFlashTimeoutFlag = 0; +COMMON_DATA u8 (*PollFlashStatus)(u8 *) = NULL; +COMMON_DATA u16 (*WaitForFlashWrite)(u8 phase, u8 *addr, u8 lastData) = NULL; +COMMON_DATA u16 (*ProgramFlashSector)(u16 sectorNum, u8 *src) = NULL; +COMMON_DATA const struct FlashType *gFlash = NULL; +COMMON_DATA u16 (*ProgramFlashByte)(u16 sectorNum, u32 offset, u8 data) = NULL; +COMMON_DATA u16 gFlashNumRemainingBytes = 0; +COMMON_DATA u16 (*EraseFlashChip)() = NULL; +COMMON_DATA u16 (*EraseFlashSector)(u16 sectorNum) = 0; +COMMON_DATA const u16 *gFlashMaxTime = NULL; void SetReadFlash1(u16 *dest); diff --git a/src/apprentice.c b/src/apprentice.c index 2280412fe7..72ab8f24c8 100644 --- a/src/apprentice.c +++ b/src/apprentice.c @@ -75,9 +75,9 @@ struct ApprenticeQuestionData }; // IWRAM common -struct ApprenticePartyMovesData *gApprenticePartyMovesData; -struct ApprenticeQuestionData *gApprenticeQuestionData; -void (*gApprenticeFunc)(void); +COMMON_DATA struct ApprenticePartyMovesData *gApprenticePartyMovesData = NULL; +COMMON_DATA struct ApprenticeQuestionData *gApprenticeQuestionData = NULL; +COMMON_DATA void (*gApprenticeFunc)(void) = NULL; // This file's functions. static u16 GetRandomAlternateMove(u8 monId); diff --git a/src/battle_anim_throw.c b/src/battle_anim_throw.c index 8296126f14..951794fc54 100755 --- a/src/battle_anim_throw.c +++ b/src/battle_anim_throw.c @@ -23,9 +23,9 @@ #include "constants/rgb.h" // iwram -u32 gMonShrinkDuration; -u16 gMonShrinkDelta; -u16 gMonShrinkDistance; +COMMON_DATA u32 gMonShrinkDuration = 0; +COMMON_DATA u16 gMonShrinkDelta = 0; +COMMON_DATA u16 gMonShrinkDistance = 0; enum { BALL_ROLL_1, diff --git a/src/battle_factory_screen.c b/src/battle_factory_screen.c index 0533d1e2a3..adf241153f 100644 --- a/src/battle_factory_screen.c +++ b/src/battle_factory_screen.c @@ -256,7 +256,7 @@ static struct FactorySelectScreen *sFactorySelectScreen; static void (*sSwap_CurrentOptionFunc)(u8 taskId); static struct FactorySwapScreen *sFactorySwapScreen; -u8 (*gFactorySelect_CurrentOptionFunc)(void); +COMMON_DATA u8 (*gFactorySelect_CurrentOptionFunc)(void) = NULL; static const u16 sPokeballGray_Pal[] = INCBIN_U16("graphics/battle_frontier/factory_screen/pokeball_gray.gbapal"); static const u16 sPokeballSelected_Pal[] = INCBIN_U16("graphics/battle_frontier/factory_screen/pokeball_selected.gbapal"); diff --git a/src/battle_main.c b/src/battle_main.c index 9039655c4d..7ee8d8cf55 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -237,15 +237,15 @@ EWRAM_DATA u16 gBattleMovePower = 0; EWRAM_DATA u16 gMoveToLearn = 0; EWRAM_DATA u8 gBattleMonForms[MAX_BATTLERS_COUNT] = {0}; -void (*gPreBattleCallback1)(void); -void (*gBattleMainFunc)(void); -struct BattleResults gBattleResults; -u8 gLeveledUpInBattle; -void (*gBattlerControllerFuncs[MAX_BATTLERS_COUNT])(void); -u8 gHealthboxSpriteIds[MAX_BATTLERS_COUNT]; -u8 gMultiUsePlayerCursor; -u8 gNumberOfMovesToChoose; -u8 gBattleControllerData[MAX_BATTLERS_COUNT]; // Used by the battle controllers to store misc sprite/task IDs for each battler +COMMON_DATA void (*gPreBattleCallback1)(void) = NULL; +COMMON_DATA void (*gBattleMainFunc)(void) = NULL; +COMMON_DATA struct BattleResults gBattleResults = {0}; +COMMON_DATA u8 gLeveledUpInBattle = 0; +COMMON_DATA void (*gBattlerControllerFuncs[MAX_BATTLERS_COUNT])(void) = {0}; +COMMON_DATA u8 gHealthboxSpriteIds[MAX_BATTLERS_COUNT] = {0}; +COMMON_DATA u8 gMultiUsePlayerCursor = 0; +COMMON_DATA u8 gNumberOfMovesToChoose = 0; +COMMON_DATA u8 gBattleControllerData[MAX_BATTLERS_COUNT] = {0}; // Used by the battle controllers to store misc sprite/task IDs for each battler static const struct ScanlineEffectParams sIntroScanlineParams16Bit = { diff --git a/src/battle_tower.c b/src/battle_tower.c index ec6019afb0..0420a15f63 100644 --- a/src/battle_tower.c +++ b/src/battle_tower.c @@ -45,7 +45,7 @@ EWRAM_DATA const struct BattleFrontierTrainer *gFacilityTrainers = NULL; EWRAM_DATA const struct FacilityMon *gFacilityTrainerMons = NULL; // IWRAM common -u16 gFrontierTempParty[MAX_FRONTIER_PARTY_SIZE]; +COMMON_DATA u16 gFrontierTempParty[MAX_FRONTIER_PARTY_SIZE] = {0}; // This file's functions. static void InitTowerChallenge(void); diff --git a/src/berry_blender.c b/src/berry_blender.c index a5102d48fb..5f0e170607 100644 --- a/src/berry_blender.c +++ b/src/berry_blender.c @@ -246,7 +246,7 @@ static s16 sPokeblockPresentFlavors[FLAVOR_COUNT + 1]; static s16 sDebug_MaxRPMStage; static s16 sDebug_GameTimeStage; -u8 gInGameOpponentsNo; +COMMON_DATA u8 gInGameOpponentsNo = 0; static const u16 sBlenderCenter_Pal[] = INCBIN_U16("graphics/berry_blender/center.gbapal"); static const u8 sBlenderCenter_Tilemap[] = INCBIN_U8("graphics/berry_blender/center_map.bin"); diff --git a/src/bg.c b/src/bg.c index 4ccb95eb6b..166c59df0c 100644 --- a/src/bg.c +++ b/src/bg.c @@ -42,7 +42,7 @@ static struct BgControl sGpuBgConfigs; static struct BgConfig2 sGpuBgConfigs2[NUM_BACKGROUNDS]; static u32 sDmaBusyBitfield[NUM_BACKGROUNDS]; -u32 gWindowTileAutoAllocEnabled; +COMMON_DATA u32 gWindowTileAutoAllocEnabled = 0; static const struct BgConfig sZeroedBgControlStruct = { 0 }; diff --git a/src/contest.c b/src/contest.c index 8f0ad7fbfe..5b9560faf5 100644 --- a/src/contest.c +++ b/src/contest.c @@ -358,7 +358,7 @@ EWRAM_DATA bool8 gCurContestWinnerIsForArtist = 0; EWRAM_DATA u8 gCurContestWinnerSaveIdx = 0; // IWRAM common vars. -u32 gContestRngValue; +COMMON_DATA u32 gContestRngValue = 0; extern const u8 gText_LinkStandby4[]; extern const u8 gText_BDot[]; diff --git a/src/contest_painting.c b/src/contest_painting.c index 30ca51c966..c72d0dc6af 100644 --- a/src/contest_painting.c +++ b/src/contest_painting.c @@ -21,10 +21,10 @@ #include "window.h" #include "constants/rgb.h" -u16 (*gContestMonPixels)[][32]; -struct ImageProcessingContext gImageProcessingContext; -struct ContestWinner *gContestPaintingWinner; -u16 *gContestPaintingMonPalette; +COMMON_DATA u16 (*gContestMonPixels)[][32] = {0}; +COMMON_DATA struct ImageProcessingContext gImageProcessingContext = {0}; +COMMON_DATA struct ContestWinner *gContestPaintingWinner = {0}; +COMMON_DATA u16 *gContestPaintingMonPalette = NULL; static u8 sHoldState; static u16 sMosaicVal; diff --git a/src/ereader_screen.c b/src/ereader_screen.c index cb048d2ae3..556acf8e3c 100755 --- a/src/ereader_screen.c +++ b/src/ereader_screen.c @@ -41,9 +41,9 @@ struct EReaderData static void Task_EReader(u8); // This belongs in COMMON somewhere between party_menu and ereader_screen, but it's unused so it's unclear where. -UNUSED u8 gUnknownSpace[64]; +COMMON_DATA UNUSED u8 gUnknownSpace[64] = {0}; -struct EReaderData gEReaderData; +COMMON_DATA struct EReaderData gEReaderData = {0}; extern const u8 gMultiBootProgram_EReader_Start[]; extern const u8 gMultiBootProgram_EReader_End[]; diff --git a/src/evolution_scene.c b/src/evolution_scene.c index 133afe3b0d..db28ceb8f2 100644 --- a/src/evolution_scene.c +++ b/src/evolution_scene.c @@ -48,7 +48,7 @@ struct EvoInfo static EWRAM_DATA struct EvoInfo *sEvoStructPtr = NULL; static EWRAM_DATA u16 *sBgAnimPal = NULL; -void (*gCB2_AfterEvolution)(void); +COMMON_DATA void (*gCB2_AfterEvolution)(void) = NULL; #define sEvoCursorPos gBattleCommunication[1] // when learning a new move #define sEvoGraphicsTaskId gBattleCommunication[2] diff --git a/src/field_camera.c b/src/field_camera.c index 31ebc63c05..290ddddaf1 100644 --- a/src/field_camera.c +++ b/src/field_camera.c @@ -39,9 +39,9 @@ static s16 sVerticalCameraPan; static bool8 sBikeCameraPanFlag; static void (*sFieldCameraPanningCallback)(void); -struct CameraObject gFieldCamera; -u16 gTotalCameraPixelOffsetY; -u16 gTotalCameraPixelOffsetX; +COMMON_DATA struct CameraObject gFieldCamera = {0}; +COMMON_DATA u16 gTotalCameraPixelOffsetY = 0; +COMMON_DATA u16 gTotalCameraPixelOffsetX = 0; static void ResetCameraOffset(struct FieldCameraOffset *cameraOffset) { diff --git a/src/field_control_avatar.c b/src/field_control_avatar.c index 09d6ae7838..b1c3aa6d8e 100644 --- a/src/field_control_avatar.c +++ b/src/field_control_avatar.c @@ -38,7 +38,7 @@ static EWRAM_DATA u8 sWildEncounterImmunitySteps = 0; static EWRAM_DATA u16 sPrevMetatileBehavior = 0; -u8 gSelectedObjectEvent; +COMMON_DATA u8 gSelectedObjectEvent = 0; static void GetPlayerPosition(struct MapPosition *); static void GetInFrontOfPlayerPosition(struct MapPosition *); diff --git a/src/field_specials.c b/src/field_specials.c index f8d493493c..43d07356aa 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -92,7 +92,7 @@ static EWRAM_DATA u8 sFrontierExchangeCorner_ItemIconWindowId = 0; static EWRAM_DATA u8 sPCBoxToSendMon = 0; static EWRAM_DATA u32 sBattleTowerMultiBattleTypeFlags = 0; -struct ListMenuTemplate gScrollableMultichoice_ListMenuTemplate; +COMMON_DATA struct ListMenuTemplate gScrollableMultichoice_ListMenuTemplate = {0}; void TryLoseFansFromPlayTime(void); void SetPlayerGotFirstFans(void); diff --git a/src/fieldmap.c b/src/fieldmap.c index e4dc0026a3..8c0e416f45 100644 --- a/src/fieldmap.c +++ b/src/fieldmap.c @@ -31,7 +31,7 @@ EWRAM_DATA struct Camera gCamera = {0}; EWRAM_DATA static struct ConnectionFlags sMapConnectionFlags = {0}; EWRAM_DATA static u32 UNUSED sFiller = 0; // without this, the next file won't align properly -struct BackupMapLayout gBackupMapLayout; +COMMON_DATA struct BackupMapLayout gBackupMapLayout = {0}; static const struct ConnectionFlags sDummyConnectionFlags = {0}; diff --git a/src/image_processing_effects.c b/src/image_processing_effects.c index 51a5d13993..b09e881fe0 100644 --- a/src/image_processing_effects.c +++ b/src/image_processing_effects.c @@ -4,16 +4,16 @@ #include "constants/rgb.h" // IWRAM common -u8 gCanvasColumnStart; -u16 *gCanvasPixels; -u8 gCanvasRowEnd; -u8 gCanvasHeight; -u8 gCanvasColumnEnd; -u8 gCanvasRowStart; -u8 gCanvasMonPersonality; -u8 gCanvasWidth; -u16 *gCanvasPalette; -u16 gCanvasPaletteStart; +COMMON_DATA u8 gCanvasColumnStart = 0; +COMMON_DATA u16 *gCanvasPixels = NULL; +COMMON_DATA u8 gCanvasRowEnd = 0; +COMMON_DATA u8 gCanvasHeight = 0; +COMMON_DATA u8 gCanvasColumnEnd = 0; +COMMON_DATA u8 gCanvasRowStart = 0; +COMMON_DATA u8 gCanvasMonPersonality = 0; +COMMON_DATA u8 gCanvasWidth = 0; +COMMON_DATA u16 *gCanvasPalette = NULL; +COMMON_DATA u16 gCanvasPaletteStart = 0; static void ApplyImageEffect_Pointillism(void); static void ApplyImageEffect_Blur(void); diff --git a/src/intro.c b/src/intro.c index 02c3a1f948..68432b5b98 100644 --- a/src/intro.c +++ b/src/intro.c @@ -178,8 +178,8 @@ static EWRAM_DATA u16 sIntroCharacterGender = 0; static EWRAM_DATA u16 UNUSED sUnusedVar = 0; static EWRAM_DATA u16 sFlygonYOffset = 0; -u32 gIntroFrameCounter; -struct GcmbStruct gMultibootProgramStruct; +COMMON_DATA u32 gIntroFrameCounter = 0; +COMMON_DATA struct GcmbStruct gMultibootProgramStruct = {0}; static const u16 sIntroDrops_Pal[] = INCBIN_U16("graphics/intro/scene_1/drops.gbapal"); static const u16 sIntroLogo_Pal[] = INCBIN_U16("graphics/intro/scene_1/logo.gbapal"); diff --git a/src/librfu_rfu.c b/src/librfu_rfu.c index 828d6450bc..ee5dbe6af4 100644 --- a/src/librfu_rfu.c +++ b/src/librfu_rfu.c @@ -76,11 +76,11 @@ static void rfu_STC_NI_receive_Sender(u8, u8, const struct RfuLocalStruct *, UNU static void rfu_STC_NI_initSlot_asRecvDataEntity(u8, struct NIComm *); static void rfu_STC_NI_initSlot_asRecvControllData(u8, struct NIComm *); -struct RfuSlotStatusUNI *gRfuSlotStatusUNI[RFU_CHILD_MAX]; -struct RfuSlotStatusNI *gRfuSlotStatusNI[RFU_CHILD_MAX]; -struct RfuLinkStatus *gRfuLinkStatus; -struct RfuStatic *gRfuStatic; -struct RfuFixed *gRfuFixed; +COMMON_DATA struct RfuSlotStatusUNI *gRfuSlotStatusUNI[RFU_CHILD_MAX] = {0}; +COMMON_DATA struct RfuSlotStatusNI *gRfuSlotStatusNI[RFU_CHILD_MAX] = {0}; +COMMON_DATA struct RfuLinkStatus *gRfuLinkStatus = NULL; +COMMON_DATA struct RfuStatic *gRfuStatic = NULL; +COMMON_DATA struct RfuFixed *gRfuFixed = NULL; static const struct LLSFStruct llsf_struct[2] = { [MODE_CHILD] = { diff --git a/src/librfu_sio32id.c b/src/librfu_sio32id.c index 1c02840e85..32391d781c 100644 --- a/src/librfu_sio32id.c +++ b/src/librfu_sio32id.c @@ -15,7 +15,7 @@ struct RfuSIO32Id u16 lastId; }; -struct RfuSIO32Id gRfuSIO32Id; +COMMON_DATA struct RfuSIO32Id gRfuSIO32Id = {0}; static const u16 Sio32ConnectionData[] = { 0x494e, 0x544e, 0x4e45, 0x4f44 }; // NINTENDO static const char Sio32IDLib_Var[] = "Sio32ID_030820"; diff --git a/src/librfu_stwi.c b/src/librfu_stwi.c index b515f338e0..13a7e34082 100644 --- a/src/librfu_stwi.c +++ b/src/librfu_stwi.c @@ -8,7 +8,7 @@ static void STWI_stop_timer(void); static s32 STWI_restart_Command(void); static s32 STWI_reset_ClockCounter(void); -struct STWIStatus *gSTWIStatus; +COMMON_DATA struct STWIStatus *gSTWIStatus = NULL; void STWI_init_all(struct RfuIntrStruct *interruptStruct, IntrFunc *interrupt, bool8 copyInterruptToRam) { diff --git a/src/link.c b/src/link.c index f784a36c67..bb74574a31 100644 --- a/src/link.c +++ b/src/link.c @@ -68,41 +68,41 @@ static u16 sRecvNonzeroCheck; static u8 sChecksumAvailable; static u8 sHandshakePlayerCount; -u16 gLinkPartnersHeldKeys[6]; -u32 gLinkDebugSeed; -struct LinkPlayerBlock gLocalLinkPlayerBlock; -bool8 gLinkErrorOccurred; -u32 gLinkDebugFlags; -u32 gLinkFiller1; -bool8 gRemoteLinkPlayersNotReceived[MAX_LINK_PLAYERS]; -u8 gBlockReceivedStatus[MAX_LINK_PLAYERS]; -u32 gLinkFiller2; -u16 gLinkHeldKeys; -u16 ALIGNED(4) gRecvCmds[MAX_RFU_PLAYERS][CMD_LENGTH]; -u32 gLinkStatus; -bool8 gLinkDummy1; // Never read -bool8 gLinkDummy2; // Never read -bool8 gReadyToExitStandby[MAX_LINK_PLAYERS]; -bool8 gReadyToCloseLink[MAX_LINK_PLAYERS]; -u16 gReadyCloseLinkType; // Never read -u8 gSuppressLinkErrorMessage; -bool8 gWirelessCommType; -bool8 gSavedLinkPlayerCount; -u16 gSendCmd[CMD_LENGTH]; -u8 gSavedMultiplayerId; -bool8 gReceivedRemoteLinkPlayers; -struct LinkTestBGInfo gLinkTestBGInfo; -void (*gLinkCallback)(void); -u8 gShouldAdvanceLinkState; -u16 gLinkTestBlockChecksums[MAX_LINK_PLAYERS]; -u8 gBlockRequestType; -u32 gLinkFiller3; -u32 gLinkFiller4; -u32 gLinkFiller5; -u8 gLastSendQueueCount; -struct Link gLink; -u8 gLastRecvQueueCount; -u16 gLinkSavedIme; +COMMON_DATA u16 gLinkPartnersHeldKeys[6] = {0}; +COMMON_DATA u32 gLinkDebugSeed = 0; +COMMON_DATA struct LinkPlayerBlock gLocalLinkPlayerBlock = {0}; +COMMON_DATA bool8 gLinkErrorOccurred = 0; +COMMON_DATA u32 gLinkDebugFlags = 0; +COMMON_DATA u32 gLinkFiller1 = 0; +COMMON_DATA bool8 gRemoteLinkPlayersNotReceived[MAX_LINK_PLAYERS] = {0}; +COMMON_DATA u8 gBlockReceivedStatus[MAX_LINK_PLAYERS] = {0}; +COMMON_DATA u32 gLinkFiller2 = 0; +COMMON_DATA u16 gLinkHeldKeys = 0; +COMMON_DATA u16 ALIGNED(4) gRecvCmds[MAX_RFU_PLAYERS][CMD_LENGTH] = {0}; +COMMON_DATA u32 gLinkStatus = 0; +COMMON_DATA bool8 gLinkDummy1 = 0; // Never read +COMMON_DATA bool8 gLinkDummy2 = 0; // Never read +COMMON_DATA bool8 gReadyToExitStandby[MAX_LINK_PLAYERS] = {0}; +COMMON_DATA bool8 gReadyToCloseLink[MAX_LINK_PLAYERS] = {0}; +COMMON_DATA u16 gReadyCloseLinkType = 0; // Never read +COMMON_DATA u8 gSuppressLinkErrorMessage = 0; +COMMON_DATA bool8 gWirelessCommType = 0; +COMMON_DATA bool8 gSavedLinkPlayerCount = 0; +COMMON_DATA u16 gSendCmd[CMD_LENGTH] = {0}; +COMMON_DATA u8 gSavedMultiplayerId = 0; +COMMON_DATA bool8 gReceivedRemoteLinkPlayers = 0; +COMMON_DATA struct LinkTestBGInfo gLinkTestBGInfo = {0}; +COMMON_DATA void (*gLinkCallback)(void) = NULL; +COMMON_DATA u8 gShouldAdvanceLinkState = 0; +COMMON_DATA u16 gLinkTestBlockChecksums[MAX_LINK_PLAYERS] = {0}; +COMMON_DATA u8 gBlockRequestType = 0; +COMMON_DATA u32 gLinkFiller3 = 0; +COMMON_DATA u32 gLinkFiller4 = 0; +COMMON_DATA u32 gLinkFiller5 = 0; +COMMON_DATA u8 gLastSendQueueCount = 0; +COMMON_DATA struct Link gLink = {0}; +COMMON_DATA u8 gLastRecvQueueCount = 0; +COMMON_DATA u16 gLinkSavedIme = 0; static EWRAM_DATA u8 sLinkTestDebugValuesEnabled = 0; static EWRAM_DATA u8 sDummyFlag = FALSE; diff --git a/src/link_rfu_2.c b/src/link_rfu_2.c index b34c7184cf..4c4323c1ed 100644 --- a/src/link_rfu_2.c +++ b/src/link_rfu_2.c @@ -77,8 +77,8 @@ struct RfuDebug u8 unused4[88]; }; -u32 gRfuAPIBuffer[RFU_API_BUFF_SIZE_RAM / 4]; -struct RfuManager gRfu; +COMMON_DATA u32 gRfuAPIBuffer[RFU_API_BUFF_SIZE_RAM / 4] = {0}; +COMMON_DATA struct RfuManager gRfu = {0}; static u8 sHeldKeyCount; static u8 sResendBlock8[CMD_LENGTH * 2]; diff --git a/src/list_menu.c b/src/list_menu.c index e24442ca02..8201caa34d 100644 --- a/src/list_menu.c +++ b/src/list_menu.c @@ -99,7 +99,7 @@ static EWRAM_DATA struct { EWRAM_DATA struct ScrollArrowsTemplate gTempScrollArrowTemplate = {0}; // IWRAM common -struct { +COMMON_DATA struct { u8 cursorPal:4; u8 fillValue:4; u8 cursorShadowPal:4; @@ -107,9 +107,9 @@ struct { u8 field_2_2:6; // unused u8 fontId:7; bool8 enabled:1; -} gListMenuOverride; +} gListMenuOverride = {0}; -struct ListMenuTemplate gMultiuseListMenuTemplate; +COMMON_DATA struct ListMenuTemplate gMultiuseListMenuTemplate = {0}; // const rom data static const struct diff --git a/src/load_save.c b/src/load_save.c index 44e08b5e9c..a6284ffebd 100644 --- a/src/load_save.c +++ b/src/load_save.c @@ -37,10 +37,10 @@ EWRAM_DATA struct LoadedSaveData gLoadedSaveData = {0}; EWRAM_DATA u32 gLastEncryptionKey = 0; // IWRAM common -bool32 gFlashMemoryPresent; -struct SaveBlock1 *gSaveBlock1Ptr; -struct SaveBlock2 *gSaveBlock2Ptr; -struct PokemonStorage *gPokemonStoragePtr; +COMMON_DATA bool32 gFlashMemoryPresent = 0; +COMMON_DATA struct SaveBlock1 *gSaveBlock1Ptr = NULL; +COMMON_DATA struct SaveBlock2 *gSaveBlock2Ptr = NULL; +COMMON_DATA struct PokemonStorage *gPokemonStoragePtr = NULL; // code void CheckForFlashMemory(void) diff --git a/src/m4a.c b/src/m4a.c index 7774d09cba..9caedd34a0 100644 --- a/src/m4a.c +++ b/src/m4a.c @@ -7,18 +7,18 @@ extern const u8 gCgb3Vol[]; BSS_CODE ALIGNED(4) char SoundMainRAM_Buffer[0x800] = {0}; -struct SoundInfo gSoundInfo; -struct PokemonCrySong gPokemonCrySongs[MAX_POKEMON_CRIES]; -struct MusicPlayerInfo gPokemonCryMusicPlayers[MAX_POKEMON_CRIES]; -MPlayFunc gMPlayJumpTable[36]; -struct CgbChannel gCgbChans[4]; -struct MusicPlayerTrack gPokemonCryTracks[MAX_POKEMON_CRIES * 2]; -struct PokemonCrySong gPokemonCrySong; -struct MusicPlayerInfo gMPlayInfo_BGM; -struct MusicPlayerInfo gMPlayInfo_SE1; -struct MusicPlayerInfo gMPlayInfo_SE2; -struct MusicPlayerInfo gMPlayInfo_SE3; -u8 gMPlayMemAccArea[0x10]; +COMMON_DATA struct SoundInfo gSoundInfo = {0}; +COMMON_DATA struct PokemonCrySong gPokemonCrySongs[MAX_POKEMON_CRIES] = {0}; +COMMON_DATA struct MusicPlayerInfo gPokemonCryMusicPlayers[MAX_POKEMON_CRIES] = {0}; +COMMON_DATA struct MusicPlayerInfo gMPlayInfo_BGM = {0}; +COMMON_DATA MPlayFunc gMPlayJumpTable[36] = {0}; +COMMON_DATA struct CgbChannel gCgbChans[4] = {0}; +COMMON_DATA struct MusicPlayerInfo gMPlayInfo_SE1 = {0}; +COMMON_DATA struct MusicPlayerInfo gMPlayInfo_SE2 = {0}; +COMMON_DATA struct MusicPlayerTrack gPokemonCryTracks[MAX_POKEMON_CRIES * 2] = {0}; +COMMON_DATA struct PokemonCrySong gPokemonCrySong = {0}; +COMMON_DATA u8 gMPlayMemAccArea[0x10] = {0}; +COMMON_DATA struct MusicPlayerInfo gMPlayInfo_SE3 = {0}; u32 MidiKeyToFreq(struct WaveData *wav, u8 key, u8 fineAdjust) { diff --git a/src/main.c b/src/main.c index 5f12a2996e..5750ad2171 100644 --- a/src/main.c +++ b/src/main.c @@ -59,15 +59,15 @@ const IntrFunc gIntrTableTemplate[] = static u16 sUnusedVar; // Never read -u16 gKeyRepeatStartDelay; -bool8 gLinkTransferringData; -struct Main gMain; -u16 gKeyRepeatContinueDelay; -bool8 gSoftResetDisabled; -IntrFunc gIntrTable[INTR_COUNT]; -u8 gLinkVSyncDisabled; -u32 IntrMain_Buffer[0x200]; -s8 gPcmDmaCounter; +COMMON_DATA u16 gKeyRepeatStartDelay = 0; +COMMON_DATA bool8 gLinkTransferringData = 0; +COMMON_DATA struct Main gMain = {0}; +COMMON_DATA u16 gKeyRepeatContinueDelay = 0; +COMMON_DATA bool8 gSoftResetDisabled = 0; +COMMON_DATA IntrFunc gIntrTable[INTR_COUNT] = {0}; +COMMON_DATA u8 gLinkVSyncDisabled = 0; +COMMON_DATA u32 IntrMain_Buffer[0x200] = {0}; +COMMON_DATA s8 gPcmDmaCounter = 0; static EWRAM_DATA u16 sTrainerId = 0; diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c index 287419f901..dda6e6bffa 100644 --- a/src/mauville_old_man.c +++ b/src/mauville_old_man.c @@ -31,7 +31,7 @@ static void Storyteller_ResetFlag(void); static u8 sSelectedStory; -struct BardSong gBardSong; +COMMON_DATA struct BardSong gBardSong = {0}; static EWRAM_DATA u16 sUnknownBardRelated = 0; static EWRAM_DATA struct MauvilleManStoryteller * sStorytellerPtr = NULL; diff --git a/src/overworld.c b/src/overworld.c index e1cb0a1cad..e2c47530be 100644 --- a/src/overworld.c +++ b/src/overworld.c @@ -180,14 +180,14 @@ static u16 (*sPlayerKeyInterceptCallback)(u32); static bool8 sReceivingFromLink; static u8 sRfuKeepAliveTimer; -u16 *gOverworldTilemapBuffer_Bg2; -u16 *gOverworldTilemapBuffer_Bg1; -u16 *gOverworldTilemapBuffer_Bg3; -u16 gHeldKeyCodeToSend; -void (*gFieldCallback)(void); -bool8 (*gFieldCallback2)(void); -u8 gLocalLinkPlayerId; // This is our player id in a multiplayer mode. -u8 gFieldLinkPlayerCount; +COMMON_DATA u16 *gOverworldTilemapBuffer_Bg2 = NULL; +COMMON_DATA u16 *gOverworldTilemapBuffer_Bg1 = NULL; +COMMON_DATA u16 *gOverworldTilemapBuffer_Bg3 = NULL; +COMMON_DATA u16 gHeldKeyCodeToSend = 0; +COMMON_DATA void (*gFieldCallback)(void) = NULL; +COMMON_DATA bool8 (*gFieldCallback2)(void) = NULL; +COMMON_DATA u8 gLocalLinkPlayerId = 0; // This is our player id in a multiplayer mode. +COMMON_DATA u8 gFieldLinkPlayerCount = 0; EWRAM_DATA static u8 sObjectEventLoadFlag = 0; EWRAM_DATA struct WarpData gLastUsedWarp = {0}; diff --git a/src/party_menu.c b/src/party_menu.c index adf833fe89..56625d09a3 100755 --- a/src/party_menu.c +++ b/src/party_menu.c @@ -231,7 +231,7 @@ static EWRAM_DATA u16 sUnused = 0; EWRAM_DATA u8 gBattlePartyCurrentOrder[PARTY_SIZE / 2] = {0}; // bits 0-3 are the current pos of Slot 1, 4-7 are Slot 2, and so on // IWRAM common -void (*gItemUseCB)(u8, TaskFunc); +COMMON_DATA void (*gItemUseCB)(u8, TaskFunc) = NULL; static void ResetPartyMenu(void); static void CB2_InitPartyMenu(void); diff --git a/src/pokedex.c b/src/pokedex.c index 09a25b872b..c0b20bf9d6 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -121,8 +121,8 @@ static EWRAM_DATA u8 sPokeBallRotation = 0; static EWRAM_DATA struct PokedexListItem *sPokedexListItem = NULL; // This is written to, but never read. -u8 gUnusedPokedexU8; -void (*gPokedexVBlankCB)(void); +COMMON_DATA u8 gUnusedPokedexU8 = 0; +COMMON_DATA void (*gPokedexVBlankCB)(void) = NULL; struct SearchOptionText { diff --git a/src/pokedex_cry_screen.c b/src/pokedex_cry_screen.c index 437ef8cf5a..2fb3d55a24 100644 --- a/src/pokedex_cry_screen.c +++ b/src/pokedex_cry_screen.c @@ -60,7 +60,7 @@ static void SpriteCB_CryMeterNeedle(struct Sprite *); static void SetCryMeterNeedleTarget(s8); // IWRAM common -u8 gDexCryScreenState; +COMMON_DATA u8 gDexCryScreenState = 0; // EWRAM vars static EWRAM_DATA struct PokedexCryScreen *sDexCryScreen = NULL; diff --git a/src/random.c b/src/random.c index de923fba63..aa2c67750d 100644 --- a/src/random.c +++ b/src/random.c @@ -5,8 +5,8 @@ EWRAM_DATA static u8 sUnknown = 0; EWRAM_DATA static u32 sRandCount = 0; // IWRAM common -u32 gRngValue; -u32 gRng2Value; +COMMON_DATA u32 gRngValue = 0; +COMMON_DATA u32 gRng2Value = 0; u16 Random(void) { diff --git a/src/rtc.c b/src/rtc.c index b79f62a3c4..08d5ec4c98 100644 --- a/src/rtc.c +++ b/src/rtc.c @@ -10,7 +10,7 @@ static u8 sProbeResult; static u16 sSavedIme; // iwram common -struct Time gLocalTime; +COMMON_DATA struct Time gLocalTime = {0}; // const rom diff --git a/src/save.c b/src/save.c index 765fb045c3..31230bacb5 100644 --- a/src/save.c +++ b/src/save.c @@ -79,19 +79,19 @@ STATIC_ASSERT(sizeof(struct SaveBlock2) <= SECTOR_DATA_SIZE, SaveBlock2FreeSpace STATIC_ASSERT(sizeof(struct SaveBlock1) <= SECTOR_DATA_SIZE * (SECTOR_ID_SAVEBLOCK1_END - SECTOR_ID_SAVEBLOCK1_START + 1), SaveBlock1FreeSpace); STATIC_ASSERT(sizeof(struct PokemonStorage) <= SECTOR_DATA_SIZE * (SECTOR_ID_PKMN_STORAGE_END - SECTOR_ID_PKMN_STORAGE_START + 1), PokemonStorageFreeSpace); -u16 gLastWrittenSector; -u32 gLastSaveCounter; -u16 gLastKnownGoodSector; -u32 gDamagedSaveSectors; -u32 gSaveCounter; -struct SaveSector *gReadWriteSector; // Pointer to a buffer for reading/writing a sector -u16 gIncrementalSectorId; -u16 gSaveUnusedVar; -u16 gSaveFileStatus; -void (*gGameContinueCallback)(void); -struct SaveSectorLocation gRamSaveSectorLocations[NUM_SECTORS_PER_SLOT]; -u16 gSaveUnusedVar2; -u16 gSaveAttemptStatus; +COMMON_DATA u16 gLastWrittenSector = 0; +COMMON_DATA u32 gLastSaveCounter = 0; +COMMON_DATA u16 gLastKnownGoodSector = 0; +COMMON_DATA u32 gDamagedSaveSectors = 0; +COMMON_DATA u32 gSaveCounter = 0; +COMMON_DATA struct SaveSector *gReadWriteSector = NULL; // Pointer to a buffer for reading/writing a sector +COMMON_DATA u16 gIncrementalSectorId = 0; +COMMON_DATA u16 gSaveUnusedVar = 0; +COMMON_DATA u16 gSaveFileStatus = 0; +COMMON_DATA void (*gGameContinueCallback)(void) = NULL; +COMMON_DATA struct SaveSectorLocation gRamSaveSectorLocations[NUM_SECTORS_PER_SLOT] = {0}; +COMMON_DATA u16 gSaveUnusedVar2 = 0; +COMMON_DATA u16 gSaveAttemptStatus = 0; EWRAM_DATA struct SaveSector gSaveDataBuffer = {0}; // Buffer used for reading/writing sectors EWRAM_DATA static u8 sUnusedVar = 0; diff --git a/src/sound.c b/src/sound.c index 8685383f78..c41d6f2c4e 100644 --- a/src/sound.c +++ b/src/sound.c @@ -23,7 +23,7 @@ static u8 sMapMusicState; static u8 sMapMusicFadeInSpeed; static u16 sFanfareCounter; -bool8 gDisableMusic; +COMMON_DATA bool8 gDisableMusic = 0; extern struct ToneData gCryTable[]; extern struct ToneData gCryTable_Reverse[]; diff --git a/src/sprite.c b/src/sprite.c index 80fba81fe3..0736269be0 100644 --- a/src/sprite.c +++ b/src/sprite.c @@ -276,8 +276,8 @@ static struct AffineAnimState sAffineAnimStates[OAM_MATRIX_COUNT]; static u16 sSpritePaletteTags[16]; // iwram common -u32 gOamMatrixAllocBitmap; -u8 gReservedSpritePaletteCount; +COMMON_DATA u32 gOamMatrixAllocBitmap = 0; +COMMON_DATA u8 gReservedSpritePaletteCount = 0; EWRAM_DATA struct Sprite gSprites[MAX_SPRITES + 1] = {0}; EWRAM_DATA static u16 sSpritePriorities[MAX_SPRITES] = {0}; diff --git a/src/start_menu.c b/src/start_menu.c index 63914cbb72..0910fad84d 100644 --- a/src/start_menu.c +++ b/src/start_menu.c @@ -75,7 +75,7 @@ enum }; // IWRAM common -bool8 (*gMenuCallback)(void); +COMMON_DATA bool8 (*gMenuCallback)(void) = NULL; // EWRAM EWRAM_DATA static u8 sSafariBallsWindowId = 0; diff --git a/src/task.c b/src/task.c index 68fb679b3e..b188cbbcba 100644 --- a/src/task.c +++ b/src/task.c @@ -1,7 +1,7 @@ #include "global.h" #include "task.h" -struct Task gTasks[NUM_TASKS]; +COMMON_DATA struct Task gTasks[NUM_TASKS] = {0}; static void InsertTask(u8 newTaskId); static u8 FindFirstActiveTask(void); diff --git a/src/text.c b/src/text.c index bc917c7ced..1c8a64d5c7 100644 --- a/src/text.c +++ b/src/text.c @@ -43,10 +43,10 @@ static u16 sLastTextBgColor; static u16 sLastTextFgColor; static u16 sLastTextShadowColor; -const struct FontInfo *gFonts; -bool8 gDisableTextPrinters; -struct TextGlyph gCurGlyph; -TextFlags gTextFlags; +COMMON_DATA const struct FontInfo *gFonts = NULL; +COMMON_DATA bool8 gDisableTextPrinters = 0; +COMMON_DATA struct TextGlyph gCurGlyph = {0}; +COMMON_DATA TextFlags gTextFlags = {0}; static const u8 sFontHalfRowOffsets[] = { diff --git a/src/trainer_see.c b/src/trainer_see.c index 51cc64f4a0..212cbbdec3 100644 --- a/src/trainer_see.c +++ b/src/trainer_see.c @@ -49,11 +49,11 @@ static bool8 WaitRevealBuriedTrainer(u8 taskId, struct Task *task, struct Object static void SpriteCB_TrainerIcons(struct Sprite *sprite); // IWRAM common -u16 gWhichTrainerToFaceAfterBattle; -u8 gPostBattleMovementScript[4]; -struct ApproachingTrainer gApproachingTrainers[2]; -u8 gNoOfApproachingTrainers; -bool8 gTrainerApproachedPlayer; +COMMON_DATA u16 gWhichTrainerToFaceAfterBattle = 0; +COMMON_DATA u8 gPostBattleMovementScript[4] = {0}; +COMMON_DATA struct ApproachingTrainer gApproachingTrainers[2] = {0}; +COMMON_DATA u8 gNoOfApproachingTrainers = 0; +COMMON_DATA bool8 gTrainerApproachedPlayer = 0; // EWRAM EWRAM_DATA u8 gApproachingTrainerId = 0; diff --git a/src/tv.c b/src/tv.c index 0152dffa3e..9ab9fc8969 100644 --- a/src/tv.c +++ b/src/tv.c @@ -63,14 +63,14 @@ enum { ROULETTE, }; -s8 sCurTVShowSlot; -u16 sTV_SecretBaseVisitMovesTemp[8]; -u8 sTV_DecorationsBuffer[DECOR_MAX_SECRET_BASE]; -struct { +COMMON_DATA s8 sCurTVShowSlot = 0; +COMMON_DATA u16 sTV_SecretBaseVisitMovesTemp[8] = {0}; +COMMON_DATA u8 sTV_DecorationsBuffer[DECOR_MAX_SECRET_BASE] = {0}; +COMMON_DATA struct { u8 level; u16 species; u16 move; -} sTV_SecretBaseVisitMonsTemp[10]; +} sTV_SecretBaseVisitMonsTemp[10] = {0}; static u8 sTVShowMixingNumPlayers; static u8 sTVShowNewsMixingNumPlayers; diff --git a/src/window.c b/src/window.c index 6f7af457d3..ab61610b82 100644 --- a/src/window.c +++ b/src/window.c @@ -5,8 +5,8 @@ #include "blit.h" // This global is set to 0 and never changed. -u8 gTransparentTileNumber; -void *gWindowBgTilemapBuffers[NUM_BACKGROUNDS]; +COMMON_DATA u8 gTransparentTileNumber = 0; +COMMON_DATA void *gWindowBgTilemapBuffers[NUM_BACKGROUNDS] = {0}; extern u32 gWindowTileAutoAllocEnabled; EWRAM_DATA struct Window gWindows[WINDOWS_MAX] = {0}; diff --git a/tools/ramscrgen/elf.cpp b/tools/ramscrgen/elf.cpp index 7e78704b8c..077fcc82a4 100644 --- a/tools/ramscrgen/elf.cpp +++ b/tools/ramscrgen/elf.cpp @@ -1,7 +1,6 @@ #include #include #include -#include #include #include #include "ramscrgen.h" @@ -22,6 +21,7 @@ static int s_shstrtabIndex; static std::uint32_t s_symtabOffset; static std::uint32_t s_strtabOffset; +static std::uint32_t s_pseudoCommonSectionIndex; static std::uint32_t s_symbolCount; static std::uint32_t s_elfFileOffset; @@ -101,18 +101,6 @@ static void VerifyElfIdent() FATAL_ERROR("error: \"%s\" not little-endian ELF\n", s_elfPath.c_str()); } -static void VerifyAr() -{ - char expectedMagic[8] = {'!', '<', 'a', 'r', 'c', 'h', '>', '\n'}; - char magic[8]; - - if (std::fread(magic, 8, 1, s_file) != 1) - FATAL_ERROR("error: failed to read AR magic from \"%s\"\n", s_archiveFilePath.c_str()); - - if (std::memcmp(magic, expectedMagic, 8) != 0) - FATAL_ERROR("error: AR magic did not match in \"%s\"\n", s_archiveFilePath.c_str()); -} - static void ReadElfHeader() { Seek(0x20); @@ -123,40 +111,6 @@ static void ReadElfHeader() s_shstrtabIndex = ReadInt16(); } -static void FindArObj() -{ - char file_ident[17] = {0}; - char filesize_s[11] = {0}; - char expectedEndMagic[2] = { 0x60, 0x0a }; - char end_magic[2]; - std::size_t filesize; - - Seek(8); - while (!std::feof(s_file)) { - if (std::fread(file_ident, 16, 1, s_file) != 1) - FATAL_ERROR("error: failed to read file ident in \"%s\"\n", s_archiveFilePath.c_str()); - Skip(32); - if (std::fread(filesize_s, 10, 1, s_file) != 1) - FATAL_ERROR("error: failed to read filesize in \"%s\"\n", s_archiveFilePath.c_str()); - if (std::fread(end_magic, 2, 1, s_file) != 1) - FATAL_ERROR("error: failed to read end sentinel in \"%s\"\n", s_archiveFilePath.c_str()); - if (std::memcmp(end_magic, expectedEndMagic, 2) != 0) - FATAL_ERROR("error: corrupted archive header in \"%s\" at \"%s\"\n", s_archiveFilePath.c_str(), file_ident); - - char * ptr = std::strchr(file_ident, '/'); - if (ptr != nullptr) - *ptr = 0; - filesize = std::strtoul(filesize_s, nullptr, 10); - if (std::strncmp(s_archiveObjectPath.c_str(), file_ident, 16) == 0) { - s_elfFileOffset = std::ftell(s_file); - return; - } - Skip(filesize); - } - - FATAL_ERROR("error: could not find object \"%s\" in archive \"%s\"\n", s_archiveObjectPath.c_str(), s_archiveFilePath.c_str()); -} - static std::string GetSectionName(std::uint32_t shstrtabOffset, int index) { Seek(s_sectionHeaderOffset + s_sectionHeaderEntrySize * index); @@ -169,6 +123,7 @@ static void FindTableOffsets() { s_symtabOffset = 0; s_strtabOffset = 0; + s_pseudoCommonSectionIndex = 0; Seek(s_sectionHeaderOffset + s_sectionHeaderEntrySize * s_shstrtabIndex + 0x10); std::uint32_t shstrtabOffset = ReadInt32(); @@ -192,6 +147,11 @@ static void FindTableOffsets() FATAL_ERROR("error: mutiple .strtab sections found in \"%s\"\n", s_elfPath.c_str()); Seek(s_sectionHeaderOffset + s_sectionHeaderEntrySize * i + 0x10); s_strtabOffset = ReadInt32(); + } else if (name == "common_data") { + if (s_pseudoCommonSectionIndex) { + FATAL_ERROR("error: mutiple common_data sections found in \"%s\"\n", s_elfPath.c_str()); + } + s_pseudoCommonSectionIndex = i; } } @@ -202,65 +162,50 @@ static void FindTableOffsets() FATAL_ERROR("error: couldn't find .strtab section in \"%s\"\n", s_elfPath.c_str()); } -static std::map GetCommonSymbols_Shared() +static std::vector> GetCommonSymbols_Shared() { VerifyElfIdent(); ReadElfHeader(); FindTableOffsets(); - std::map commonSymbols; + std::vector> commonSymbols; - std::vector commonSymbolVec; - - Seek(s_symtabOffset); - - for (std::uint32_t i = 0; i < s_symbolCount; i++) - { - Symbol sym; - sym.nameOffset = ReadInt32(); - Skip(4); - sym.size = ReadInt32(); - Skip(2); - std::uint16_t sectionIndex = ReadInt16(); - if (sectionIndex == SHN_COMMON) - commonSymbolVec.push_back(sym); - } - - for (const Symbol& sym : commonSymbolVec) - { - Seek(s_strtabOffset + sym.nameOffset); - std::string name = ReadString(); - commonSymbols[name] = sym.size; + if (s_pseudoCommonSectionIndex) { + std::vector commonSymbolVec; + + Seek(s_symtabOffset); + + for (std::uint32_t i = 0; i < s_symbolCount; i++) + { + Symbol sym; + sym.nameOffset = ReadInt32(); + Skip(4); + sym.size = ReadInt32(); + Skip(2); + std::uint16_t sectionIndex = ReadInt16(); + if (sectionIndex == s_pseudoCommonSectionIndex) + commonSymbolVec.push_back(sym); + } + + for (const Symbol& sym : commonSymbolVec) + { + Seek(s_strtabOffset + sym.nameOffset); + std::string name = ReadString(); + if (name == "$d" || name == "") { + continue; + } + commonSymbols.emplace_back(name, sym.size); + } } return commonSymbols; } -std::map GetCommonSymbolsFromLib(std::string sourcePath, std::string libpath) -{ - std::size_t colonPos = libpath.find(':'); - if (colonPos == std::string::npos) - FATAL_ERROR("error: missing colon separator in libfile \"%s\"\n", s_elfPath.c_str()); - - s_archiveObjectPath = libpath.substr(colonPos + 1); - s_archiveFilePath = sourcePath + "/" + libpath.substr(1, colonPos - 1); - s_elfPath = sourcePath + "/" + libpath.substr(1); - - s_file = std::fopen(s_archiveFilePath.c_str(), "rb"); - - if (s_file == NULL) - FATAL_ERROR("error: failed to open \"%s\" for reading\n", s_archiveFilePath.c_str()); - - VerifyAr(); - FindArObj(); - return GetCommonSymbols_Shared(); -} - -std::map GetCommonSymbols(std::string sourcePath, std::string path) +std::vector> GetCommonSymbols(std::string sourcePath, std::string path) { s_elfFileOffset = 0; if (path[0] == '*') - return GetCommonSymbolsFromLib(sourcePath, path); + FATAL_ERROR("error: library common syms are unsupported (filename: \"%s\")\n", path.c_str()); s_elfPath = sourcePath + "/" + path; s_file = std::fopen(s_elfPath.c_str(), "rb"); diff --git a/tools/ramscrgen/elf.h b/tools/ramscrgen/elf.h index 3704860c0e..bf79a954e0 100644 --- a/tools/ramscrgen/elf.h +++ b/tools/ramscrgen/elf.h @@ -22,9 +22,9 @@ #define ELF_H #include -#include +#include #include -std::map GetCommonSymbols(std::string sourcePath, std::string path); +std::vector> GetCommonSymbols(std::string sourcePath, std::string path); #endif // ELF_H diff --git a/tools/ramscrgen/main.cpp b/tools/ramscrgen/main.cpp index 5e5894f470..e99cf9fa30 100644 --- a/tools/ramscrgen/main.cpp +++ b/tools/ramscrgen/main.cpp @@ -28,54 +28,19 @@ void HandleCommonInclude(std::string filename, std::string sourcePath, std::string symOrderPath, std::string lang) { auto commonSymbols = GetCommonSymbols(sourcePath, filename); - std::size_t dotIndex; - if (filename[0] == '*') { - dotIndex = filename.find_last_of(':'); - filename = filename.substr(dotIndex + 1); - } - - dotIndex = filename.find_last_of('.'); - - if (dotIndex == std::string::npos) - FATAL_ERROR("error: \"%s\" doesn't have a file extension\n", filename.c_str()); - - std::string symOrderFilename = filename.substr(0, dotIndex + 1) + "txt"; - - SymFile symFile(symOrderPath + "/" + symOrderFilename); - - while (!symFile.IsAtEnd()) + for (const auto& commonSym : commonSymbols) { - symFile.HandleLangConditional(lang); + unsigned long size = commonSym.second; - std::string label = symFile.GetLabel(false); - - if (label.length() == 0) - { - unsigned long length; - if (symFile.ReadInteger(length)) - { - if (length & 3) - symFile.RaiseWarning("gap length %d is not multiple of 4", length); - printf(". += 0x%lX;\n", length); - } - } - else - { - if (commonSymbols.count(label) == 0) - symFile.RaiseError("no common symbol named \"%s\"", label.c_str()); - unsigned long size = commonSymbols[label]; - int alignment = 4; - if (size > 4) - alignment = 8; - if (size > 8) - alignment = 16; - printf(". = ALIGN(%d);\n", alignment); - printf("%s = .;\n", label.c_str()); - printf(". += 0x%lX;\n", size); - } - - symFile.ExpectEmptyRestOfLine(); + int alignment = 4; + if (size > 4) + alignment = 8; + if (size > 8) + alignment = 16; + printf(". = ALIGN(%d);\n", alignment); + printf("%s = .;\n", commonSym.first.c_str()); + printf(". += 0x%lX;\n", size); } } From b9ac5d1d8a10567efaeb725f54dbb57b757c1e1b Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Tue, 15 Oct 2024 21:58:58 +0200 Subject: [PATCH 104/278] Add newline to move relearner string (#5523) --- src/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/strings.c b/src/strings.c index 254378d379..4c342d0934 100644 --- a/src/strings.c +++ b/src/strings.c @@ -1750,7 +1750,7 @@ const u8 gText_ElectricFan[] = _("Electric fan"); const u8 gText_LawnMower[] = _("Lawn mower"); const u8 gText_ChangeForm[] = _("Change form"); const u8 gText_ChangeAbility[] = _("Change Ability"); -const u8 gText_TeachWhichMoveToPkmn[] = _("Teach which move to {STR_VAR_1}?"); +const u8 gText_TeachWhichMoveToPkmn[] = _("Teach which move to\n{STR_VAR_1}?"); const u8 gText_MoveRelearnerTeachMoveConfirm[] = _("Teach {STR_VAR_2}?"); const u8 gText_MoveRelearnerPkmnLearnedMove[] = _("{STR_VAR_1} learned\n{STR_VAR_2}!"); const u8 gText_MoveRelearnerPkmnTryingToLearnMove[] = _("{STR_VAR_1} is trying to learn\n{STR_VAR_2}.\pBut {STR_VAR_1} can't learn more\nthan four moves.\pDelete an older move to make\nroom for {STR_VAR_2}?"); From ed65c4a2f7639c12dd46df926e0e0a57f72ef862 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Tue, 15 Oct 2024 23:04:35 +0200 Subject: [PATCH 105/278] Fixes Partner targeting and Acupressure/Ally Switch interaction (#5446) * Fixes Partner targeting and Acupressure/Ally Switch interaction * More tests * Update test/battle/move.c --- src/battle_script_commands.c | 1 + src/battle_util.c | 36 ++++---------- test/battle/move.c | 68 +++++++++++++++++++++++++++ test/battle/move_effect/acupressure.c | 21 --------- 4 files changed, 79 insertions(+), 47 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 618164dd18..63b539dcc2 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1210,6 +1210,7 @@ static void Cmd_attackcanceler(void) gCurrentActionFuncId = B_ACTION_FINISHED; return; } + if (!IsBattlerAlive(gBattlerAttacker) && gMovesInfo[gCurrentMove].effect != EFFECT_EXPLOSION && !(gHitMarker & HITMARKER_NO_ATTACKSTRING)) { gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; diff --git a/src/battle_util.c b/src/battle_util.c index e5d8c5f041..33063cd542 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -279,18 +279,9 @@ void HandleAction_UseMove(void) gBattlerTarget = *(gBattleStruct->moveTarget + gBattlerAttacker); } - if (!IsBattlerAlive(gBattlerTarget)) + if (!IsBattlerAlive(gBattlerTarget) && GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)) { - if (GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)) - { - gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); - } - else - { - gBattlerTarget = GetBattlerAtPosition(BATTLE_OPPOSITE(GetBattlerPosition(gBattlerAttacker))); - if (!IsBattlerAlive(gBattlerTarget)) - gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); - } + gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); } } else @@ -307,8 +298,7 @@ void HandleAction_UseMove(void) gBattlerTarget = battler; } } - else if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE - && moveTarget & MOVE_TARGET_RANDOM) + else if (gBattleTypeFlags & BATTLE_TYPE_DOUBLE && moveTarget & MOVE_TARGET_RANDOM) { if (GetBattlerSide(gBattlerAttacker) == B_SIDE_PLAYER) { @@ -352,18 +342,11 @@ void HandleAction_UseMove(void) else { gBattlerTarget = *(gBattleStruct->moveTarget + gBattlerAttacker); - if (!IsBattlerAlive(gBattlerTarget) && moveTarget != MOVE_TARGET_OPPONENTS_FIELD) + if (!IsBattlerAlive(gBattlerTarget) + && moveTarget != MOVE_TARGET_OPPONENTS_FIELD + && (GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget))) { - if (GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget)) - { - gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); - } - else - { - gBattlerTarget = GetBattlerAtPosition(BATTLE_OPPOSITE(GetBattlerPosition(gBattlerAttacker))); - if (!IsBattlerAlive(gBattlerTarget)) - gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); - } + gBattlerTarget = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerTarget))); } } @@ -387,8 +370,9 @@ void HandleAction_UseMove(void) gBattlescriptCurrInstr = BattleScript_MoveUsedLoafingAround; } } - // Edge case: moves targeting the ally fail after a successful Ally Switch. - else if (moveTarget == MOVE_TARGET_ALLY && gProtectStructs[BATTLE_PARTNER(gBattlerAttacker)].usedAllySwitch) + + if ((GetBattlerSide(gBattlerAttacker) == GetBattlerSide(gBattlerTarget)) + && (!IsBattlerAlive(gBattlerTarget) || gProtectStructs[BATTLE_PARTNER(gBattlerAttacker)].usedAllySwitch)) { gBattlescriptCurrInstr = BattleScript_FailedFromAtkCanceler; } diff --git a/test/battle/move.c b/test/battle/move.c index 655895da77..ba928e433b 100644 --- a/test/battle/move.c +++ b/test/battle/move.c @@ -222,3 +222,71 @@ SINGLE_BATTLE_TEST("Critical hits ignore negative stat stages", s16 damage) EXPECT_EQ(results[0].damage, results[i].damage); } } + +DOUBLE_BATTLE_TEST("Moves fail if they target the partner but they faint before the move could have been used") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_TACKLE, target: playerRight); MOVE(playerLeft, MOVE_TACKLE, target: playerRight); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponentLeft); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, playerLeft); + } +} + +DOUBLE_BATTLE_TEST("Moves do not fail if an alive partner is the target") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target: playerRight); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, playerLeft); + } +} + +DOUBLE_BATTLE_TEST("Moves fail if they target into a pokemon that was fainted by the previous move") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_HYPER_VOICE].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET) { HP(1); } + } WHEN { + TURN { + MOVE(playerLeft, MOVE_HYPER_VOICE); + MOVE(playerRight, MOVE_TACKLE, target: opponentLeft); + SEND_OUT(opponentLeft, 2); + SEND_OUT(opponentRight, 3); + } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, playerRight); + } +} + +DOUBLE_BATTLE_TEST("Moves that target the field are not going to fail if one mon fainted by the previous move") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_SURF].target == MOVE_TARGET_FOES_AND_ALLY); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_TACKLE, target: playerRight); MOVE(playerLeft, MOVE_SURF); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponentLeft); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, playerLeft); + } +} diff --git a/test/battle/move_effect/acupressure.c b/test/battle/move_effect/acupressure.c index e7254485fc..d59a3faee3 100644 --- a/test/battle/move_effect/acupressure.c +++ b/test/battle/move_effect/acupressure.c @@ -8,29 +8,8 @@ TO_DO_BATTLE_TEST("Acupressure fails on the ally if all of its stats are maximiz TO_DO_BATTLE_TEST("Acupressure works on the user if it's behind a Substitute (Gen5+)"); TO_DO_BATTLE_TEST("Acupressure fails on its ally if it's behind a Substitute"); -DOUBLE_BATTLE_TEST("Acupressure works on the ally if the user targeted itself but switched positions via Ally Switch") -{ - GIVEN { - PLAYER(SPECIES_WOBBUFFET); - PLAYER(SPECIES_WYNAUT); - OPPONENT(SPECIES_KADABRA); - OPPONENT(SPECIES_ABRA); - } WHEN { - TURN { MOVE(playerLeft, MOVE_ALLY_SWITCH); MOVE(playerRight, MOVE_ACUPRESSURE, target:playerRight); } - } SCENE { - MESSAGE("Wobbuffet used Ally Switch!"); - ANIMATION(ANIM_TYPE_MOVE, MOVE_ALLY_SWITCH, playerLeft); - MESSAGE("Wobbuffet and Wynaut switched places!"); - - ANIMATION(ANIM_TYPE_MOVE, MOVE_ACUPRESSURE); - ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerRight); - NOT MESSAGE("But it failed!"); - } -} - DOUBLE_BATTLE_TEST("Acupressure fails on the user if it targeted its ally but switched positions via Ally Switch") { - KNOWN_FAILING; // Tested in Gen 5, Acupressure fails here GIVEN { PLAYER(SPECIES_WOBBUFFET); PLAYER(SPECIES_WYNAUT); From 1cdc91ce53ddc2389d51ac7ba5df4a672655bbd4 Mon Sep 17 00:00:00 2001 From: ghoulslash <41651341+ghoulslash@users.noreply.github.com> Date: Wed, 16 Oct 2024 04:44:01 -0400 Subject: [PATCH 106/278] Add Costar Tests, Download Test for Doubles (#5526) * add download double battle test * fix costar and add test --------- Co-authored-by: ghoulslash --- data/battle_scripts_1.s | 3 +++ src/battle_util.c | 4 ++-- test/battle/ability/costar.c | 24 +++++++++++++++++++++++- test/battle/ability/download.c | 25 +++++++++++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 4e29e3be03..356723daab 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -8023,9 +8023,12 @@ BattleScript_SupremeOverlordActivates:: BattleScript_CostarActivates:: pause B_WAIT_TIME_SHORT + savetarget + copybyte gBattlerTarget, sBATTLER call BattleScript_AbilityPopUp printstring STRINGID_PKMNCOPIEDSTATCHANGES waitmessage B_WAIT_TIME_LONG + restoretarget end3 BattleScript_ZeroToHeroActivates:: diff --git a/src/battle_util.c b/src/battle_util.c index 38e4b1e61d..a8e8ebcd39 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -4980,10 +4980,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && CountBattlerStatIncreases(BATTLE_PARTNER(battler), FALSE)) { gSpecialStatuses[battler].switchInAbilityDone = TRUE; - gBattlerAttacker = battler; + gBattlerAttacker = gBattlerAbility = battler; for (i = 0; i < NUM_BATTLE_STATS; i++) gBattleMons[battler].statStages[i] = gBattleMons[BATTLE_PARTNER(battler)].statStages[i]; - gBattlerTarget = BATTLE_PARTNER(battler); + gBattleScripting.battler = BATTLE_PARTNER(battler); BattleScriptPushCursorAndCallback(BattleScript_CostarActivates); effect++; } diff --git a/test/battle/ability/costar.c b/test/battle/ability/costar.c index 7674ab0966..c42871bb45 100644 --- a/test/battle/ability/costar.c +++ b/test/battle/ability/costar.c @@ -1,7 +1,29 @@ #include "global.h" #include "test/battle.h" -TO_DO_BATTLE_TEST("Costar copies an ally's stat stages upon entering battle"); +DOUBLE_BATTLE_TEST("Costar copies an ally's stat stages upon entering battle") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + OPPONENT(SPECIES_FLAMIGO) { Ability(ABILITY_COSTAR); } + } WHEN { + TURN { MOVE(opponentLeft, MOVE_SWORDS_DANCE); } + TURN { SWITCH(opponentRight, 2); MOVE(playerLeft, MOVE_CELEBRATE); } + } SCENE { + // Turn 1 - buff up + MESSAGE("Foe Wobbuffet used Swords Dance!"); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponentLeft); + // Turn 2 - Switch into Flamigo + MESSAGE("2 sent out Flamigo!"); + ABILITY_POPUP(opponentRight, ABILITY_COSTAR); + MESSAGE("Foe Flamigo copied Foe Wobbuffet's stat changes!"); + } THEN { + EXPECT_EQ(opponentRight->statStages[STAT_ATK], DEFAULT_STAT_STAGE + 2); + } +} // Copy from Ruin ability tests TO_DO_BATTLE_TEST("Costar's message displays correctly after all battlers fainted - Player"); diff --git a/test/battle/ability/download.c b/test/battle/ability/download.c index 9fecda400d..e96b0ddeb9 100644 --- a/test/battle/ability/download.c +++ b/test/battle/ability/download.c @@ -94,3 +94,28 @@ SINGLE_BATTLE_TEST("Download doesn't activate if target hasn't been sent out yet EXPECT_MUL_EQ(results[0].damageSpecial, Q_4_12(1.5), results[1].damageSpecial); } } + +DOUBLE_BATTLE_TEST("Download raises Sp.Attack if enemies have lower total Sp. Def than Def", s16 damage) +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_TRACE; } + PARAMETRIZE { ability = ABILITY_DOWNLOAD; } + GIVEN { + PLAYER(SPECIES_PORYGON) { Ability(ability); SpAttack(100); } + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET) { Defense(200); SpDefense(100); } + OPPONENT(SPECIES_WOBBUFFET) { Defense(100); SpDefense(150); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TRI_ATTACK, target: opponentLeft ); } + } SCENE { + if (ability == ABILITY_DOWNLOAD) + { + ABILITY_POPUP(playerLeft, ABILITY_DOWNLOAD); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerLeft); + MESSAGE("Porygon's Download raised its Sp. Atk!"); + } + HP_BAR(opponentLeft, captureDamage: &results[i].damage); + } FINALLY { + EXPECT_MUL_EQ(results[0].damage, Q_4_12(1.5), results[1].damage); + } +} From d044f53c722fdddcbef836a659edbc922eb85dd9 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Wed, 16 Oct 2024 10:51:41 +0200 Subject: [PATCH 107/278] Adds tests and Costar fix from PR #5526 --- data/battle_scripts_1.s | 3 +++ src/battle_util.c | 6 +++--- test/battle/ability/costar.c | 24 +++++++++++++++++++++++- test/battle/ability/download.c | 25 +++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 4 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index fa56c3ff7a..0a694d846f 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -8016,9 +8016,12 @@ BattleScript_SupremeOverlordActivates:: BattleScript_CostarActivates:: pause B_WAIT_TIME_SHORT + savetarget + copybyte gBattlerTarget, sBATTLER call BattleScript_AbilityPopUp printstring STRINGID_PKMNCOPIEDSTATCHANGES waitmessage B_WAIT_TIME_LONG + restoretarget end3 BattleScript_ZeroToHeroActivates:: diff --git a/src/battle_util.c b/src/battle_util.c index 33063cd542..2f00f48cf9 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -4873,10 +4873,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && CountBattlerStatIncreases(BATTLE_PARTNER(battler), FALSE)) { gSpecialStatuses[battler].switchInAbilityDone = TRUE; - gBattlerAttacker = battler; + gBattlerAttacker = gBattlerAbility = battler; for (i = 0; i < NUM_BATTLE_STATS; i++) gBattleMons[battler].statStages[i] = gBattleMons[BATTLE_PARTNER(battler)].statStages[i]; - gBattlerTarget = BATTLE_PARTNER(battler); + gBattleScripting.battler = BATTLE_PARTNER(battler); BattleScriptPushCursorAndCallback(BattleScript_CostarActivates); effect++; } @@ -6312,7 +6312,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_PROTOSYNTHESIS: - if (!gDisableStructs[battler].weatherAbilityDone + if (!gDisableStructs[battler].weatherAbilityDone && (gBattleWeather & B_WEATHER_SUN) && WEATHER_HAS_EFFECT && !(gBattleMons[battler].status2 & STATUS2_TRANSFORMED) && !(gBattleStruct->boosterEnergyActivates & (1u << battler))) diff --git a/test/battle/ability/costar.c b/test/battle/ability/costar.c index 7674ab0966..c42871bb45 100644 --- a/test/battle/ability/costar.c +++ b/test/battle/ability/costar.c @@ -1,7 +1,29 @@ #include "global.h" #include "test/battle.h" -TO_DO_BATTLE_TEST("Costar copies an ally's stat stages upon entering battle"); +DOUBLE_BATTLE_TEST("Costar copies an ally's stat stages upon entering battle") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + OPPONENT(SPECIES_FLAMIGO) { Ability(ABILITY_COSTAR); } + } WHEN { + TURN { MOVE(opponentLeft, MOVE_SWORDS_DANCE); } + TURN { SWITCH(opponentRight, 2); MOVE(playerLeft, MOVE_CELEBRATE); } + } SCENE { + // Turn 1 - buff up + MESSAGE("Foe Wobbuffet used Swords Dance!"); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponentLeft); + // Turn 2 - Switch into Flamigo + MESSAGE("2 sent out Flamigo!"); + ABILITY_POPUP(opponentRight, ABILITY_COSTAR); + MESSAGE("Foe Flamigo copied Foe Wobbuffet's stat changes!"); + } THEN { + EXPECT_EQ(opponentRight->statStages[STAT_ATK], DEFAULT_STAT_STAGE + 2); + } +} // Copy from Ruin ability tests TO_DO_BATTLE_TEST("Costar's message displays correctly after all battlers fainted - Player"); diff --git a/test/battle/ability/download.c b/test/battle/ability/download.c index 9fecda400d..e96b0ddeb9 100644 --- a/test/battle/ability/download.c +++ b/test/battle/ability/download.c @@ -94,3 +94,28 @@ SINGLE_BATTLE_TEST("Download doesn't activate if target hasn't been sent out yet EXPECT_MUL_EQ(results[0].damageSpecial, Q_4_12(1.5), results[1].damageSpecial); } } + +DOUBLE_BATTLE_TEST("Download raises Sp.Attack if enemies have lower total Sp. Def than Def", s16 damage) +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_TRACE; } + PARAMETRIZE { ability = ABILITY_DOWNLOAD; } + GIVEN { + PLAYER(SPECIES_PORYGON) { Ability(ability); SpAttack(100); } + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET) { Defense(200); SpDefense(100); } + OPPONENT(SPECIES_WOBBUFFET) { Defense(100); SpDefense(150); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TRI_ATTACK, target: opponentLeft ); } + } SCENE { + if (ability == ABILITY_DOWNLOAD) + { + ABILITY_POPUP(playerLeft, ABILITY_DOWNLOAD); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerLeft); + MESSAGE("Porygon's Download raised its Sp. Atk!"); + } + HP_BAR(opponentLeft, captureDamage: &results[i].damage); + } FINALLY { + EXPECT_MUL_EQ(results[0].damage, Q_4_12(1.5), results[1].damage); + } +} From d4387d880ca67919831b3292cb7220ec93280b40 Mon Sep 17 00:00:00 2001 From: Bassoonian Date: Wed, 16 Oct 2024 12:07:34 +0200 Subject: [PATCH 108/278] Replace hardcoded flute check with consumability check (#5508) --- include/item.h | 5 ++++- include/party_menu.h | 1 - src/battle_controller_player.c | 4 ++-- src/data/items.h | 5 +++++ src/item.c | 5 +++++ src/party_menu.c | 2 +- 6 files changed, 17 insertions(+), 5 deletions(-) diff --git a/include/item.h b/include/item.h index dc1efc68a5..f75142a34e 100644 --- a/include/item.h +++ b/include/item.h @@ -18,7 +18,9 @@ struct Item u8 pluralName[ITEM_NAME_PLURAL_LENGTH]; u8 holdEffect; u8 holdEffectParam; - u8 importance; + u8 importance:2; + u8 notConsumed:1; + u8 padding:5; u8 pocket; u8 type; u8 battleUsage; @@ -73,6 +75,7 @@ u32 ItemId_GetHoldEffect(u32 itemId); u32 ItemId_GetHoldEffectParam(u32 itemId); const u8 *ItemId_GetDescription(u16 itemId); u8 ItemId_GetImportance(u16 itemId); +u8 ItemId_GetConsumability(u16 itemId); u8 ItemId_GetPocket(u16 itemId); u8 ItemId_GetType(u16 itemId); ItemUseFunc ItemId_GetFieldFunc(u16 itemId); diff --git a/include/party_menu.h b/include/party_menu.h index abea29b6bb..a34f06cec6 100644 --- a/include/party_menu.h +++ b/include/party_menu.h @@ -102,6 +102,5 @@ void MoveDeleterForgetMove(void); void BufferMoveDeleterNicknameAndMove(void); void GetNumMovesSelectedMonHas(void); void MoveDeleterChooseMoveToForget(void); -bool32 IsItemFlute(u16 item); #endif // GUARD_PARTY_MENU_H diff --git a/src/battle_controller_player.c b/src/battle_controller_player.c index 16fae14e48..87b1cd5ca4 100644 --- a/src/battle_controller_player.c +++ b/src/battle_controller_player.c @@ -384,8 +384,8 @@ static void HandleInputChooseAction(u32 battler) && !(gAbsentBattlerFlags & (1u << GetBattlerAtPosition(B_POSITION_PLAYER_LEFT))) && !(gBattleTypeFlags & BATTLE_TYPE_MULTI)) { - // Return item to bag if partner had selected one (except flutes). - if (gBattleResources->bufferA[battler][1] == B_ACTION_USE_ITEM && !IsItemFlute(itemId)) + // Return item to bag if partner had selected one (if consumable). + if (gBattleResources->bufferA[battler][1] == B_ACTION_USE_ITEM && ItemId_GetConsumability(itemId)) { AddBagItem(itemId, 1); } diff --git a/src/data/items.h b/src/data/items.h index 3587bf5b85..88a46efd7d 100644 --- a/src/data/items.h +++ b/src/data/items.h @@ -2036,6 +2036,7 @@ const struct Item gItemsInfo[] = "A glass flute that\n" "awakens sleeping\n" "Pokémon."), + .notConsumed = TRUE, .pocket = POCKET_ITEMS, .type = ITEM_USE_PARTY_MENU, .fieldUseFunc = ItemUseOutOfBattle_Medicine, @@ -2054,6 +2055,7 @@ const struct Item gItemsInfo[] = "A glass flute that\n" "snaps Pokémon\n" "out of confusion."), + .notConsumed = TRUE, .pocket = POCKET_ITEMS, .type = ITEM_USE_PARTY_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -2072,6 +2074,7 @@ const struct Item gItemsInfo[] = "A glass flute that\n" "snaps Pokémon\n" "out of attraction."), + .notConsumed = TRUE, .pocket = POCKET_ITEMS, .type = ITEM_USE_PARTY_MENU, .fieldUseFunc = ItemUseOutOfBattle_CannotUse, @@ -2093,6 +2096,7 @@ const struct Item gItemsInfo[] = "A glass flute that\n" "keeps away wild\n" "Pokémon."), + .notConsumed = TRUE, .pocket = POCKET_ITEMS, .type = ITEM_USE_PARTY_MENU, .fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute, @@ -2109,6 +2113,7 @@ const struct Item gItemsInfo[] = .description = COMPOUND_STRING( "A glass flute that\n" "lures wild Pokémon."), + .notConsumed = TRUE, .pocket = POCKET_ITEMS, .type = ITEM_USE_PARTY_MENU, .fieldUseFunc = ItemUseOutOfBattle_BlackWhiteFlute, diff --git a/src/item.c b/src/item.c index 6c3742fd76..36114e1591 100644 --- a/src/item.c +++ b/src/item.c @@ -916,6 +916,11 @@ u8 ItemId_GetImportance(u16 itemId) return gItemsInfo[SanitizeItemId(itemId)].importance; } +u8 ItemId_GetConsumability(u16 itemId) +{ + return !gItemsInfo[SanitizeItemId(itemId)].notConsumed; +} + u8 ItemId_GetPocket(u16 itemId) { return gItemsInfo[SanitizeItemId(itemId)].pocket; diff --git a/src/party_menu.c b/src/party_menu.c index d737fd3df1..774456ddd5 100644 --- a/src/party_menu.c +++ b/src/party_menu.c @@ -4578,7 +4578,7 @@ static bool8 NotUsingHPEVItemOnShedinja(struct Pokemon *mon, u16 item) return TRUE; } -bool32 IsItemFlute(u16 item) +static bool32 IsItemFlute(u16 item) { if (item == ITEM_BLUE_FLUTE || item == ITEM_RED_FLUTE || item == ITEM_YELLOW_FLUTE) return TRUE; From d58bbe2a6f3abe628594b3bb6700bb1c1240041d Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 16 Oct 2024 09:44:48 -0300 Subject: [PATCH 109/278] Removed all instances of gflib from ld_scripts --- Makefile | 2 +- ld_script.ld | 1 - ld_script_modern.ld | 1 - ld_script_test.ld | 5 ----- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 87de7037af..a807cbf8bf 100644 --- a/Makefile +++ b/Makefile @@ -452,7 +452,7 @@ $(DATA_SRC_SUBDIR)/pokemon/teachable_learnsets.h: $(DATA_ASM_BUILDDIR)/event_scr # NOTE: Based on C_DEP above, but without NODEP and KEEP_TEMPS handling. define TEST_DEP -$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include -I gflib $2) +$1: $2 $$(shell $(SCANINC) -I include -I $(TOOLS_DIR)/agbcc/include $2) @echo "$$(CC1) -o $$@ $$<" @$$(CPP) $$(CPPFLAGS) $$< | $$(PREPROC) -i $$< charmap.txt | $$(CC1) $$(CFLAGS) -o - - | cat - <(echo -e ".text\n\t.align\t2, 0") | $$(AS) $$(ASFLAGS) -o $$@ - endef diff --git a/ld_script.ld b/ld_script.ld index ccf5f813d8..4e7a368fc3 100644 --- a/ld_script.ld +++ b/ld_script.ld @@ -27,7 +27,6 @@ SECTIONS { { INCLUDE "sym_ewram.ld" src/*.o(.sbss); - gflib/*.o(.sbss); *libc.a:impure.o(.data); *libc.a:locale.o(.data); diff --git a/ld_script_modern.ld b/ld_script_modern.ld index 8e63ad55a6..ee4713ab17 100644 --- a/ld_script_modern.ld +++ b/ld_script_modern.ld @@ -27,7 +27,6 @@ SECTIONS { ALIGN(4) { src/*.o(.sbss); - gflib/*.o(.sbss); } > EWRAM .iwram ORIGIN(IWRAM) : AT (__iwram_lma) diff --git a/ld_script_test.ld b/ld_script_test.ld index 05cd56d118..8972a97b00 100644 --- a/ld_script_test.ld +++ b/ld_script_test.ld @@ -25,7 +25,6 @@ SECTIONS { ALIGN(4) { src/*.o(.sbss); - gflib/*.o(.sbss); test/*.o(.sbss); . = ALIGN(4); } > EWRAM @@ -43,7 +42,6 @@ SECTIONS { ALIGN(4) { src/*.o(.bss); - gflib/*.o(.bss); data/*.o(.bss); test/*.o(.bss); *libc.a:*.o(.bss*); @@ -54,7 +52,6 @@ SECTIONS { src/*.o(common_data); src/*.o(COMMON); - gflib/*.o(COMMON); data/*.o(COMMON); test/*.o(COMMON); *libc.a:sbrkr.o(COMMON); @@ -77,7 +74,6 @@ SECTIONS { src/rom_header_gf.o(.text.*); src/rom_header_rhh.o(.text.*); src/*.o(.text); - gflib/*.o(.text); } > ROM =0 script_data : @@ -99,7 +95,6 @@ SECTIONS { ALIGN(4) { src/*.o(.rodata*); - gflib/*.o(.rodata*); data/*.o(.rodata*); } > ROM =0 From 20c5df74e4d0812a7eeaafbbee809b8e43a2453f Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 16 Oct 2024 09:45:58 -0300 Subject: [PATCH 110/278] Updated .gitignore for agbcc screenshot suffix --- .gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 06cdfc023f..abad67b044 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,6 @@ prefabs.json *.sym *.js /pokeemerald-*.png -/pokeemerald_modern-*.png +/pokeemerald_agbcc-*.png src/data/map_group_count.h tools/trainerproc/trainerproc From 9882e0aea6902cc256025e4b4399e9ffb655d00b Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Wed, 16 Oct 2024 11:22:48 -0400 Subject: [PATCH 111/278] Refactor ShouldSwitchIfAllBadMoves (#5452) * Refactor ShouldSwitchIfAllBadMoves * Rest of bugfix * Enable Shed Tail test * Revert "Enable Shed Tail test" This reverts commit e0b9a3affcf3c465c8743741e5ca61bde6c8cb18. * Better names for i, j * Fix MAX_MON_MOVES that should be MAX_BATTLERS_COUNT * battlerIndex / moveIndex fix * Update src/battle_controller_player_partner.c --------- Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> --- include/battle.h | 3 +- include/battle_ai_main.h | 1 - src/battle_ai_main.c | 91 ---------- src/battle_ai_switch_items.c | 241 +++++++++++++++++++------ src/battle_controller_opponent.c | 3 - src/battle_controller_player_partner.c | 35 ++-- test/battle/ai/ai_switching.c | 25 ++- 7 files changed, 220 insertions(+), 179 deletions(-) diff --git a/include/battle.h b/include/battle.h index 894b74ffde..458d03ea40 100644 --- a/include/battle.h +++ b/include/battle.h @@ -369,8 +369,7 @@ struct AiLogicData u8 effectiveness[MAX_BATTLERS_COUNT][MAX_BATTLERS_COUNT][MAX_MON_MOVES]; // attacker, target, moveIndex u8 moveAccuracy[MAX_BATTLERS_COUNT][MAX_BATTLERS_COUNT][MAX_MON_MOVES]; // attacker, target, moveIndex u8 moveLimitations[MAX_BATTLERS_COUNT]; - u8 shouldSwitchIfBadMoves; // Because all available moves have no/little effect. Each bit per battler. - u8 monToSwitchId[MAX_BATTLERS_COUNT]; // ID of the mon to switch. + u8 monToSwitchInId[MAX_BATTLERS_COUNT]; // ID of the mon to switch in. u8 mostSuitableMonId[MAX_BATTLERS_COUNT]; // Stores result of GetMostSuitableMonToSwitchInto, which decides which generic mon the AI would switch into if they decide to switch. This can be overruled by specific mons found in ShouldSwitch; the final resulting mon is stored in AI_monToSwitchIntoId. struct SwitchinCandidate switchinCandidate; // Struct used for deciding which mon to switch to in battle_ai_switch_items.c u8 weatherHasEffect:1; // The same as WEATHER_HAS_EFFECT. Stored here, so it's called only once. diff --git a/include/battle_ai_main.h b/include/battle_ai_main.h index 431ed35698..2f16fe28ff 100644 --- a/include/battle_ai_main.h +++ b/include/battle_ai_main.h @@ -10,7 +10,6 @@ typedef s32 (*AiScoreFunc)(u32, u32, u32, s32); // 0 - 3 are move idx #define AI_CHOICE_FLEE 4 #define AI_CHOICE_WATCH 5 -#define AI_CHOICE_SWITCH 7 // for AI_WhoStrikesFirst #define AI_IS_FASTER 1 diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index fd253b5197..9099ffd5c0 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -496,89 +496,6 @@ void SetAiLogicDataForTurn(struct AiLogicData *aiData) AI_DATA->aiCalcInProgress = FALSE; } -static bool32 AI_SwitchMonIfSuitable(u32 battler, bool32 doubleBattle) -{ - u32 monToSwitchId = AI_DATA->mostSuitableMonId[battler]; - if (monToSwitchId != PARTY_SIZE && IsValidForBattle(&GetBattlerParty(battler)[monToSwitchId])) - { - gBattleMoveDamage = monToSwitchId; - // Edge case: See if partner already chose to switch into the same mon - if (doubleBattle) - { - u32 partner = BATTLE_PARTNER(battler); - if (AI_DATA->shouldSwitchIfBadMoves & (1u << partner) && AI_DATA->monToSwitchId[partner] == monToSwitchId) - { - return FALSE; - } - } - AI_DATA->shouldSwitchIfBadMoves |= 1 << battler; - AI_DATA->monToSwitchId[battler] = monToSwitchId; - return TRUE; - } - return FALSE; -} - -static bool32 AI_ShouldSwitchIfBadMoves(u32 battler, bool32 doubleBattle) -{ - u32 i, j; - // If can switch. - if (CountUsablePartyMons(battler) > 0 - && !IsBattlerTrapped(battler, TRUE) - && !(gBattleTypeFlags & (BATTLE_TYPE_ARENA | BATTLE_TYPE_PALACE)) - && AI_THINKING_STRUCT->aiFlags[battler] & (AI_FLAG_CHECK_VIABILITY | AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_TRY_TO_FAINT | AI_FLAG_PREFER_BATON_PASS) - && !(AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_SEQUENCE_SWITCHING)) - { - // Consider switching if all moves are worthless to use. - if (GetTotalBaseStat(gBattleMons[battler].species) >= 310 // Mon is not weak. - && gBattleMons[battler].hp >= gBattleMons[battler].maxHP / 2) // Mon has more than 50% of its HP - { - s32 cap = AI_THINKING_STRUCT->aiFlags[battler] & (AI_FLAG_CHECK_VIABILITY) ? 95 : 93; - if (doubleBattle) - { - for (i = 0; i < MAX_BATTLERS_COUNT; i++) - { - if (i != battler && IsBattlerAlive(i)) - { - for (j = 0; j < MAX_MON_MOVES; j++) - { - if (gBattleStruct->aiFinalScore[battler][i][j] > cap) - break; - } - if (j != MAX_MON_MOVES) - break; - } - } - if (i == MAX_BATTLERS_COUNT && AI_SwitchMonIfSuitable(battler, doubleBattle)) - return TRUE; - } - else - { - for (i = 0; i < MAX_MON_MOVES; i++) - { - if (AI_THINKING_STRUCT->score[i] > cap) - break; - } - - if (i == MAX_MON_MOVES && AI_SwitchMonIfSuitable(battler, doubleBattle)) - return TRUE; - } - - } - - // Consider switching if your mon with truant is bodied by Protect spam. - // Or is using a double turn semi invulnerable move(such as Fly) and is faster. - if (AI_DATA->abilities[battler] == ABILITY_TRUANT - && IsTruantMonVulnerable(battler, gBattlerTarget) - && gDisableStructs[battler].truantCounter - && gBattleMons[battler].hp >= gBattleMons[battler].maxHP / 2 - && AI_SwitchMonIfSuitable(battler, doubleBattle)) - { - return TRUE; - } - } - return FALSE; -} - static u32 ChooseMoveOrAction_Singles(u32 battlerAi) { u8 currentMoveArray[MAX_MON_MOVES]; @@ -609,10 +526,6 @@ static u32 ChooseMoveOrAction_Singles(u32 battlerAi) if (AI_THINKING_STRUCT->aiAction & AI_ACTION_WATCH) return AI_CHOICE_WATCH; - // Switch mon if there are no good moves to use. - if (AI_ShouldSwitchIfBadMoves(battlerAi, FALSE)) - return AI_CHOICE_SWITCH; - numOfBestMoves = 1; currentMoveArray[0] = AI_THINKING_STRUCT->score[0]; consideredMoveArray[0] = 0; @@ -733,10 +646,6 @@ static u32 ChooseMoveOrAction_Doubles(u32 battlerAi) } } - // Switch mon if all of the moves are bad to use against any of the target. - if (AI_ShouldSwitchIfBadMoves(battlerAi, TRUE)) - return AI_CHOICE_SWITCH; - mostMovePoints = bestMovePointsForTarget[0]; mostViableTargetsArray[0] = 0; mostViableTargetsNo = 1; diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 0400f18b53..c80b531d55 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -65,6 +65,26 @@ void GetAIPartyIndexes(u32 battler, s32 *firstId, s32 *lastId) } } +bool32 IsSwitchinIdValid(u32 battler, u32 switchinId) +{ + if (IsDoubleBattle()) + { + u32 partner = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerAtPosition(battler))); + // Edge case: See if partner already chose to switch into the same mon + if (switchinId == PARTY_SIZE) // Generic switch + { + if ((AI_DATA->shouldSwitch & (1u << partner)) && AI_DATA->monToSwitchInId[partner] == AI_DATA->mostSuitableMonId[battler]) + return FALSE; + } + else + { + if ((AI_DATA->shouldSwitch & (1u << partner)) && AI_DATA->monToSwitchInId[partner] == switchinId) + return FALSE; + } + } + return TRUE; +} + // Note that as many return statements as possible are INTENTIONALLY put after all of the loops; // the function can take a max of about 0.06s to run, and this prevents the player from identifying // whether the mon will switch or not by seeing how long the delay is before they select a move @@ -185,9 +205,12 @@ static bool32 HasBadOdds(u32 battler, bool32 emitResult) // Switch mon out gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } // General bad type matchups have more wiggle room @@ -208,6 +231,75 @@ static bool32 HasBadOdds(u32 battler, bool32 emitResult) // Switch mon out gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } + } + } + return FALSE; +} + +static bool32 ShouldSwitchIfAllMovesBad(u32 battler, bool32 emitResult) +{ + u32 battlerIndex, moveIndex; + bool32 switchOut = FALSE; + + // Consider switching if all moves are worthless to use. + if (GetTotalBaseStat(gBattleMons[battler].species) >= 310 // Mon is not weak. + && gBattleMons[battler].hp >= gBattleMons[battler].maxHP / 2) // Mon has more than 50% of its HP + { + s32 cap = AI_THINKING_STRUCT->aiFlags[battler] & (AI_FLAG_CHECK_VIABILITY) ? 95 : 93; + if (IsDoubleBattle()) + { + for (battlerIndex = 0; battlerIndex < MAX_BATTLERS_COUNT; battlerIndex++) + { + if (battlerIndex != battler && IsBattlerAlive(battlerIndex)) + { + for (moveIndex = 0; moveIndex < MAX_MON_MOVES; moveIndex++) + { + if (gBattleStruct->aiFinalScore[battler][battlerIndex][moveIndex] > cap) + break; + } + if (moveIndex != MAX_MON_MOVES) + break; + } + } + if (battlerIndex == MAX_BATTLERS_COUNT && AI_DATA->mostSuitableMonId[battler] != PARTY_SIZE) + switchOut = TRUE; + } + else + { + for (moveIndex = 0; moveIndex < MAX_MON_MOVES; moveIndex++) + { + if (AI_THINKING_STRUCT->score[moveIndex] > cap) + break; + } + + if (moveIndex == MAX_MON_MOVES && AI_DATA->mostSuitableMonId[battler] != PARTY_SIZE) + switchOut = TRUE; + } + } + + // Consider switching if your mon with truant is bodied by Protect spam. + // Or is using a double turn semi invulnerable move(such as Fly) and is faster. + if (AI_DATA->abilities[battler] == ABILITY_TRUANT + && IsTruantMonVulnerable(battler, gBattlerTarget) + && gDisableStructs[battler].truantCounter + && gBattleMons[battler].hp >= gBattleMons[battler].maxHP / 2 + && AI_DATA->mostSuitableMonId[battler] != PARTY_SIZE) + { + switchOut = TRUE; + } + + if (switchOut) + { + // Switch mon out + gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { if (emitResult) BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); return TRUE; @@ -216,22 +308,6 @@ static bool32 HasBadOdds(u32 battler, bool32 emitResult) return FALSE; } -static bool32 ShouldSwitchIfAllBadMoves(u32 battler, bool32 emitResult) -{ - if (AI_DATA->shouldSwitchIfBadMoves & (1u << battler)) - { - AI_DATA->shouldSwitchIfBadMoves &= ~(1u << battler); - gBattleStruct->AI_monToSwitchIntoId[battler] = AI_DATA->monToSwitchId[battler]; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - return TRUE; - } - else - { - return FALSE; - } -} - static bool32 ShouldSwitchIfWonderGuard(u32 battler, bool32 emitResult) { u8 opposingPosition; @@ -288,9 +364,12 @@ static bool32 ShouldSwitchIfWonderGuard(u32 battler, bool32 emitResult) { // We found a mon. gBattleStruct->AI_monToSwitchIntoId[battler] = i; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); + return TRUE; + } } } } @@ -403,9 +482,12 @@ static bool32 FindMonThatAbsorbsOpponentsMove(u32 battler, bool32 emitResult) { // we found a mon. gBattleStruct->AI_monToSwitchIntoId[battler] = i; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } } @@ -445,9 +527,12 @@ static bool32 FindMonThatTrapsOpponent(u32 battler, bool32 emitResult) if (i == AI_DATA->mostSuitableMonId[battler]) // If mon in slot i is the most suitable switchin candidate, then it's a trapper than wins 1v1 { gBattleStruct->AI_monToSwitchIntoId[battler] = i; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } } @@ -520,9 +605,12 @@ static bool32 ShouldSwitchIfGameStatePrompt(u32 battler, bool32 emitResult) || GetMonAbility(&party[i]) == ABILITY_ELECTRIC_SURGE)) //Ally has Misty or Electric Surge { *(gBattleStruct->AI_monToSwitchIntoId + BATTLE_PARTNER(battler)) = i; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - switchMon = FALSE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); + switchMon = FALSE; + } break; } } @@ -611,9 +699,13 @@ static bool32 ShouldSwitchIfGameStatePrompt(u32 battler, bool32 emitResult) { if (!monIdChosen) gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); + return TRUE; + } + return FALSE; } else { @@ -668,10 +760,13 @@ static bool32 ShouldSwitchIfAbilityBenefit(u32 battler, bool32 emitResult) } gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); + return TRUE; + } + return FALSE; } static bool32 HasSuperEffectiveMoveAgainstOpponents(u32 battler, bool32 noRng) @@ -811,9 +906,12 @@ static bool32 FindMonWithFlagsAndSuperEffective(u32 battler, u16 flags, u32 modu if (AI_GetTypeEffectiveness(move, battler, battlerIn1) >= UQ_4_12(2.0) && Random() % moduloPercent == 0) { gBattleStruct->AI_monToSwitchIntoId[battler] = i; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_SWITCH, 0); + return TRUE; + } } } } @@ -902,9 +1000,12 @@ static bool32 ShouldSwitchIfEncored(u32 battler, bool32 emitResult) if (Random() & 1) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } return FALSE; @@ -919,9 +1020,13 @@ static bool32 ShouldSwitchIfBadChoiceLock(u32 battler, bool32 emitResult) if (gMovesInfo[gLastUsedMove].category == DAMAGE_CATEGORY_STATUS) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } + } } @@ -950,18 +1055,24 @@ static bool32 AreAttackingStatsLowered(u32 battler, bool32 emitResult) if (AI_DATA->mostSuitableMonId[battler] != PARTY_SIZE && (Random() & 1)) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } // If at -3 or worse, switch out regardless else if (attackingStage < DEFAULT_STAT_STAGE - 2) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - if (emitResult) - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } @@ -977,16 +1088,24 @@ static bool32 AreAttackingStatsLowered(u32 battler, bool32 emitResult) if (AI_DATA->mostSuitableMonId[battler] != PARTY_SIZE && (Random() & 1)) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } // If at -3 or worse, switch out regardless else if (spAttackingStage < DEFAULT_STAT_STAGE - 2) { gBattleStruct->AI_monToSwitchIntoId[battler] = PARTY_SIZE; - BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); - return TRUE; + if (IsSwitchinIdValid(battler, gBattleStruct->AI_monToSwitchIntoId[battler])) + { + if (emitResult) + BtlController_EmitTwoReturnValues(battler, 1, B_ACTION_SWITCH, 0); + return TRUE; + } } } return FALSE; @@ -1019,11 +1138,12 @@ bool32 ShouldSwitch(u32 battler, bool32 emitResult) if (IsDoubleBattle()) { + u32 partner = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerAtPosition(battler))); battlerIn1 = battler; - if (gAbsentBattlerFlags & (1u << GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(battler))))) + if (gAbsentBattlerFlags & (1u << partner)) battlerIn2 = battler; else - battlerIn2 = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(battler))); + battlerIn2 = partner; } else { @@ -1083,7 +1203,7 @@ bool32 ShouldSwitch(u32 battler, bool32 emitResult) //These Functions can prompt switch to generic pary members if ((AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_SMART_SWITCHING) && (CanMonSurviveHazardSwitchin(battler) == FALSE)) return FALSE; - if (ShouldSwitchIfAllBadMoves(battler, emitResult)) + if (ShouldSwitchIfAllMovesBad(battler, emitResult)) return TRUE; if (ShouldSwitchIfAbilityBenefit(battler, emitResult)) return TRUE; @@ -1170,6 +1290,7 @@ void AI_TrySwitchOrUseItem(u32 battler) } *(gBattleStruct->monToSwitchIntoId + battler) = gBattleStruct->AI_monToSwitchIntoId[battler]; + AI_DATA->monToSwitchInId[battler] = gBattleStruct->AI_monToSwitchIntoId[battler]; return; } else if (ShouldUseItem(battler)) diff --git a/src/battle_controller_opponent.c b/src/battle_controller_opponent.c index 01ec74f9c2..251085acea 100644 --- a/src/battle_controller_opponent.c +++ b/src/battle_controller_opponent.c @@ -550,9 +550,6 @@ static void OpponentHandleChooseMove(u32 battler) case AI_CHOICE_FLEE: BtlController_EmitTwoReturnValues(battler, BUFFER_B, B_ACTION_RUN, 0); break; - case AI_CHOICE_SWITCH: - BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, 0xFFFF); - break; case 6: BtlController_EmitTwoReturnValues(battler, BUFFER_B, 15, gBattlerTarget); break; diff --git a/src/battle_controller_player_partner.c b/src/battle_controller_player_partner.c index 47d71d87c6..f987c333ce 100644 --- a/src/battle_controller_player_partner.c +++ b/src/battle_controller_player_partner.c @@ -354,31 +354,24 @@ static void PlayerPartnerHandleChooseMove(u32 battler) chosenMoveId = gBattleStruct->aiMoveOrAction[battler]; gBattlerTarget = gBattleStruct->aiChosenTarget[battler]; - if (chosenMoveId == AI_CHOICE_SWITCH) + if (gMovesInfo[moveInfo->moves[chosenMoveId]].target & (MOVE_TARGET_USER | MOVE_TARGET_USER_OR_SELECTED)) + gBattlerTarget = battler; + else if (gMovesInfo[moveInfo->moves[chosenMoveId]].target & MOVE_TARGET_BOTH) { - BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, 0xFFFF); + gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT); + if (gAbsentBattlerFlags & (1u << gBattlerTarget)) + gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT); + } + // If partner can and should use a gimmick (considering trainer data), do it + if (gBattleStruct->gimmick.usableGimmick[battler] != GIMMICK_NONE + && !(gBattleStruct->gimmick.usableGimmick[battler] == GIMMICK_Z_MOVE + && !ShouldUseZMove(battler, gBattlerTarget, moveInfo->moves[chosenMoveId]))) + { + BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, (chosenMoveId) | (RET_GIMMICK) | (gBattlerTarget << 8)); } else { - if (gMovesInfo[moveInfo->moves[chosenMoveId]].target & (MOVE_TARGET_USER | MOVE_TARGET_USER_OR_SELECTED)) - gBattlerTarget = battler; - if (gMovesInfo[moveInfo->moves[chosenMoveId]].target & MOVE_TARGET_BOTH) - { - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT); - if (gAbsentBattlerFlags & (1u << gBattlerTarget)) - gBattlerTarget = GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT); - } - // If partner can and should use a gimmick (considering trainer data), do it - if (gBattleStruct->gimmick.usableGimmick[battler] != GIMMICK_NONE - && !(gBattleStruct->gimmick.usableGimmick[battler] == GIMMICK_Z_MOVE - && !ShouldUseZMove(battler, gBattlerTarget, moveInfo->moves[chosenMoveId]))) - { - BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, (chosenMoveId) | (RET_GIMMICK) | (gBattlerTarget << 8)); - } - else - { - BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, (chosenMoveId) | (gBattlerTarget << 8)); - } + BtlController_EmitTwoReturnValues(battler, BUFFER_B, 10, (chosenMoveId) | (gBattlerTarget << 8)); } PlayerPartnerBufferExecCompleted(battler); diff --git a/test/battle/ai/ai_switching.c b/test/battle/ai/ai_switching.c index a70163af18..a57e5d32fc 100644 --- a/test/battle/ai/ai_switching.c +++ b/test/battle/ai/ai_switching.c @@ -39,7 +39,7 @@ AI_SINGLE_BATTLE_TEST("AI switches if Perish Song is about to kill") } } -AI_DOUBLE_BATTLE_TEST("AI will not try to switch for the same pokemon for 2 spots in a double battle") +AI_DOUBLE_BATTLE_TEST("AI will not try to switch for the same pokemon for 2 spots in a double battle (all bad moves)") { u32 flags; @@ -67,6 +67,29 @@ AI_DOUBLE_BATTLE_TEST("AI will not try to switch for the same pokemon for 2 spot } } +AI_DOUBLE_BATTLE_TEST("AI will not try to switch for the same pokemon for 2 spots in a double battle (Wonder Guard)") +{ + GIVEN { + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_OMNISCIENT | AI_FLAG_SMART_SWITCHING); + PLAYER(SPECIES_SHEDINJA); + PLAYER(SPECIES_SHEDINJA); + // No moves to damage player. + OPPONENT(SPECIES_LINOONE) { Moves(MOVE_TACKLE); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } + OPPONENT(SPECIES_LINOONE) { Moves(MOVE_TACKLE); } + OPPONENT(SPECIES_GENGAR) { Moves(MOVE_SHADOW_BALL); } + } WHEN { + TURN { EXPECT_SWITCH(opponentLeft, 3); }; + } SCENE { + MESSAGE("{PKMN} TRAINER LEAF withdrew Linoone!"); + MESSAGE("{PKMN} TRAINER LEAF sent out Gengar!"); + NONE_OF { + MESSAGE("{PKMN} TRAINER LEAF withdrew Zigzagoon!"); + MESSAGE("{PKMN} TRAINER LEAF sent out Gengar!"); + } + } +} + AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_MON_CHOICES: U-Turn will send out Ace Mon if it's the only one remaining") { GIVEN { From 2e7d856ee30ab79a77c7f49cc0dcb9a82f72bef9 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 16 Oct 2024 19:01:38 +0200 Subject: [PATCH 112/278] Removes Crit Chance preproc (#5520) * Removes Crit Chance preproc * renamed the function wrongly before pushing * add assumes back where needed * addresses review comments * GetHoldEffectCritChanceIncrease * remove redudant var call * define for gen1 leek scale * gen1 adjustments and fix test * inline leek check * clean up --- src/battle_script_commands.c | 95 ++++++++++++++++++++++++------------ test/battle/crit_chance.c | 15 ++++-- 2 files changed, 75 insertions(+), 35 deletions(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index a4f8d0b885..a9dd2ca4d6 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1895,15 +1895,55 @@ static void Cmd_ppreduce(void) } // The chance is 1/N for each stage. -#if B_CRIT_CHANCE >= GEN_7 - static const u8 sCriticalHitOdds[] = {24, 8, 2, 1, 1}; -#elif B_CRIT_CHANCE == GEN_6 - static const u8 sCriticalHitOdds[] = {16, 8, 2, 1, 1}; -#else - static const u8 sCriticalHitOdds[] = {16, 8, 4, 3, 2}; // Gens 2,3,4,5 -#endif // B_CRIT_CHANCE +static const u32 sGen7CriticalHitOdds[] = {24, 8, 2, 1, 1}; +static const u32 sGen6CriticalHitOdds[] = {16, 8, 2, 1, 1}; +static const u32 sCriticalHitOdds[] = {16, 8, 4, 3, 2}; // Gens 2,3,4,5 + +static inline u32 GetCriticalHitOdds(u32 critChance) +{ + if (B_CRIT_CHANCE >= GEN_7) + return sGen7CriticalHitOdds[critChance]; + if (B_CRIT_CHANCE == GEN_6) + return sGen6CriticalHitOdds[critChance]; + + return sCriticalHitOdds[critChance]; +} + +static inline u32 IsBattlerLeekAffected(u32 battler, u32 holdEffect) +{ + if (holdEffect == HOLD_EFFECT_LEEK) + { + return GET_BASE_SPECIES_ID(gBattleMons[battler].species) == SPECIES_FARFETCHD + || gBattleMons[battler].species == SPECIES_SIRFETCHD; + } + return FALSE; +} + +static inline u32 GetHoldEffectCritChanceIncrease(u32 battler, u32 holdEffect) +{ + u32 critStageIncrease = 0; + + switch (holdEffect) + { + case HOLD_EFFECT_SCOPE_LENS: + critStageIncrease = 1; + break; + case HOLD_EFFECT_LUCKY_PUNCH: + if (gBattleMons[battler].species == SPECIES_CHANSEY) + critStageIncrease = 2; + break; + case HOLD_EFFECT_LEEK: + if (IsBattlerLeekAffected(battler, holdEffect)) + critStageIncrease = 2; + break; + default: + critStageIncrease = 0; + break; + } + + return critStageIncrease; +} -#define BENEFITS_FROM_LEEK(battler, holdEffect)((holdEffect == HOLD_EFFECT_LEEK) && (GET_BASE_SPECIES_ID(gBattleMons[battler].species) == SPECIES_FARFETCHD || gBattleMons[battler].species == SPECIES_SIRFETCHD)) s32 CalcCritChanceStageArgs(u32 battlerAtk, u32 battlerDef, u32 move, bool32 recordAbility, u32 abilityAtk, u32 abilityDef, u32 holdEffectAtk) { s32 critChance = 0; @@ -1923,9 +1963,7 @@ s32 CalcCritChanceStageArgs(u32 battlerAtk, u32 battlerDef, u32 move, bool32 rec critChance = 2 * ((gBattleMons[battlerAtk].status2 & STATUS2_FOCUS_ENERGY) != 0) + 1 * ((gBattleMons[battlerAtk].status2 & STATUS2_DRAGON_CHEER) != 0) + gMovesInfo[move].criticalHitStage - + (holdEffectAtk == HOLD_EFFECT_SCOPE_LENS) - + 2 * (holdEffectAtk == HOLD_EFFECT_LUCKY_PUNCH && gBattleMons[battlerAtk].species == SPECIES_CHANSEY) - + 2 * BENEFITS_FROM_LEEK(battlerAtk, holdEffectAtk) + + GetHoldEffectCritChanceIncrease(battlerAtk, holdEffectAtk) + 2 * (B_AFFECTION_MECHANICS == TRUE && GetBattlerAffectionHearts(battlerAtk) == AFFECTION_FIVE_HEARTS) + (abilityAtk == ABILITY_SUPER_LUCK) + gBattleStruct->bonusCritStages[gBattlerAttacker]; @@ -1941,7 +1979,7 @@ s32 CalcCritChanceStageArgs(u32 battlerAtk, u32 battlerDef, u32 move, bool32 rec { if (critChance == -2) RecordAbilityBattle(battlerDef, abilityDef); - else if (sCriticalHitOdds[critChance] == 1) + else if (GetCriticalHitOdds(critChance) == 1) RecordAbilityBattle(battlerDef, abilityDef); } critChance = -1; @@ -1963,7 +2001,7 @@ s32 CalcCritChanceStage(u32 battlerAtk, u32 battlerDef, u32 move, bool32 recordA // Threshold = Base Speed / 2 // High crit move = 8 * (Base Speed / 2) // Focus Energy = 4 * (Base Speed / 2) -s32 CalcCritChanceStageGen1(u8 battlerAtk, u8 battlerDef, u32 move, bool32 recordAbility) +s32 CalcCritChanceStageGen1(u32 battlerAtk, u32 battlerDef, u32 move, bool32 recordAbility) { // Vanilla u32 focusEnergyScaler = 4; @@ -1973,13 +2011,13 @@ s32 CalcCritChanceStageGen1(u8 battlerAtk, u8 battlerDef, u32 move, bool32 recor u32 superLuckScaler = 4; u32 scopeLensScaler = 4; u32 luckyPunchScaler = 8; - u32 farfetchedLeekScaler = 8; + u32 farfetchdLeekScaler = 8; s32 critChance = 0; s32 moveCritStage = gMovesInfo[gCurrentMove].criticalHitStage; - s32 bonusCritStage = gBattleStruct->bonusCritStages[gBattlerAttacker]; // G-Max Chi Strike - u32 abilityAtk = GetBattlerAbility(gBattlerAttacker); - u32 abilityDef = GetBattlerAbility(gBattlerTarget); + s32 bonusCritStage = gBattleStruct->bonusCritStages[battlerAtk]; // G-Max Chi Strike + u32 abilityAtk = GetBattlerAbility(battlerAtk); + u32 abilityDef = GetBattlerAbility(battlerDef); u32 holdEffectAtk = GetBattlerHoldEffect(battlerAtk, TRUE); u16 baseSpeed = gSpeciesInfo[gBattleMons[battlerAtk].species].baseSpeed; @@ -1992,17 +2030,15 @@ s32 CalcCritChanceStageGen1(u8 battlerAtk, u8 battlerDef, u32 move, bool32 recor if (bonusCritStage > 0) critChance = critChance * bonusCritStage; - if ((gBattleMons[gBattlerAttacker].status2 & STATUS2_FOCUS_ENERGY_ANY) != 0) + if ((gBattleMons[battlerAtk].status2 & STATUS2_FOCUS_ENERGY_ANY) != 0) critChance = critChance * focusEnergyScaler; if (holdEffectAtk == HOLD_EFFECT_SCOPE_LENS) critChance = critChance * scopeLensScaler; - - if (holdEffectAtk == HOLD_EFFECT_LUCKY_PUNCH && gBattleMons[gBattlerAttacker].species == SPECIES_CHANSEY) + else if (holdEffectAtk == HOLD_EFFECT_LUCKY_PUNCH && gBattleMons[battlerAtk].species == SPECIES_CHANSEY) critChance = critChance * luckyPunchScaler; - - if (BENEFITS_FROM_LEEK(battlerAtk, holdEffectAtk)) - critChance = critChance * farfetchedLeekScaler; + else if (IsBattlerLeekAffected(battlerAtk, holdEffectAtk)) + critChance = critChance * farfetchdLeekScaler; if (abilityAtk == ABILITY_SUPER_LUCK) critChance = critChance * superLuckScaler; @@ -2030,14 +2066,13 @@ s32 CalcCritChanceStageGen1(u8 battlerAtk, u8 battlerDef, u32 move, bool32 recor return critChance; } -#undef BENEFITS_FROM_LEEK s32 GetCritHitOdds(s32 critChanceIndex) { if (critChanceIndex < 0) return -1; else - return sCriticalHitOdds[critChanceIndex]; + return GetCriticalHitOdds(critChanceIndex); } static void Cmd_critcalc(void) @@ -2071,7 +2106,7 @@ static void Cmd_critcalc(void) gIsCriticalHit = 0; } else - gIsCriticalHit = RandomChance(RNG_CRITICAL_HIT, 1, sCriticalHitOdds[critChance]); + gIsCriticalHit = RandomChance(RNG_CRITICAL_HIT, 1, GetCriticalHitOdds(critChance)); } // Counter for EVO_CRITICAL_HITS. @@ -6998,7 +7033,7 @@ static void Cmd_openpartyscreen(void) else if (IsDoubleBattle()) { bool32 hasReplacement; - + hitmarkerFaintBits = gHitMarker >> 28; for (i = 0; i < gBattlersCount; i++) { @@ -7006,7 +7041,7 @@ static void Cmd_openpartyscreen(void) { if (i > 1 && ((1u << BATTLE_PARTNER(i)) & hitmarkerFaintBits)) continue; - + battler = i; if (HasNoMonsToSwitch(battler, PARTY_SIZE, PARTY_SIZE)) { @@ -7028,7 +7063,7 @@ static void Cmd_openpartyscreen(void) } } } - + for (i = 0; i < NUM_BATTLE_SIDES; i++) { if (!(gSpecialStatuses[i].faintedHasReplacement)) @@ -8856,7 +8891,7 @@ u32 GetHighestStatId(u32 battler) } if (gBattleMons[battler].speed > highestStat) highestId = STAT_SPEED; - + return highestId; } diff --git a/test/battle/crit_chance.c b/test/battle/crit_chance.c index 2f057cc99b..d3a2b574f1 100644 --- a/test/battle/crit_chance.c +++ b/test/battle/crit_chance.c @@ -1,11 +1,6 @@ #include "global.h" #include "test/battle.h" -ASSUMPTIONS -{ - ASSUME(B_CRIT_CHANCE >= GEN_7); -} - SINGLE_BATTLE_TEST("Crit Chance: Side effected by Lucky Chant blocks critical hits") { GIVEN { @@ -135,6 +130,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Focus Energy increases the user's critical hit { PASSES_RANDOMLY(1, 2, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_FOCUS_ENERGY].effect == EFFECT_FOCUS_ENERGY); PLAYER(SPECIES_WOBBUFFET); OPPONENT(SPECIES_WOBBUFFET); @@ -152,6 +148,7 @@ SINGLE_BATTLE_TEST("Crit Chance: High crit rate increases the critical hit ratio { PASSES_RANDOMLY(1, 8, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_SLASH].criticalHitStage == 1); PLAYER(SPECIES_WOBBUFFET); OPPONENT(SPECIES_WOBBUFFET); @@ -167,6 +164,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Super Luck increases the critical hit ratio by { PASSES_RANDOMLY(1, 8, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); PLAYER(SPECIES_TOGEPI) { Ability(ABILITY_SUPER_LUCK); }; OPPONENT(SPECIES_WOBBUFFET); } WHEN { @@ -181,6 +179,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Scope Lens increases the critical hit ratio by { PASSES_RANDOMLY(1, 8, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gItemsInfo[ITEM_SCOPE_LENS].holdEffect == HOLD_EFFECT_SCOPE_LENS); PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_SCOPE_LENS); }; OPPONENT(SPECIES_WOBBUFFET); @@ -195,6 +194,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Scope Lens increases the critical hit ratio by SINGLE_BATTLE_TEST("Crit Chance: High crit rate, Super Luck and Scope Lens cause the move to result in a critical hit") { GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_SLASH].criticalHitStage == 1); ASSUME(gItemsInfo[ITEM_SCOPE_LENS].holdEffect == HOLD_EFFECT_SCOPE_LENS); PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_SUPER_LUCK); Item(ITEM_SCOPE_LENS); }; @@ -220,6 +220,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Signature items Leek and Lucky Punch increase t PARAMETRIZE { species = SPECIES_CHANSEY; item = ITEM_LUCKY_PUNCH; } GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gItemsInfo[ITEM_LEEK].holdEffect == HOLD_EFFECT_LEEK); ASSUME(gItemsInfo[ITEM_LUCKY_PUNCH].holdEffect == HOLD_EFFECT_LUCKY_PUNCH); PLAYER(SPECIES_WOBBUFFET); @@ -236,6 +237,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Dire Hit increases a battler's critical hit cha { PASSES_RANDOMLY(1, 2, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gItemsInfo[ITEM_DIRE_HIT].battleUsage == EFFECT_ITEM_SET_FOCUS_ENERGY); PLAYER(SPECIES_WOBBUFFET); OPPONENT(SPECIES_WOBBUFFET); @@ -254,6 +256,7 @@ SINGLE_BATTLE_TEST("Crit Chance: Focus Energy increases critical hit ratio by tw { PASSES_RANDOMLY(8, 8, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_SLASH].criticalHitStage == 1); ASSUME(gMovesInfo[MOVE_FOCUS_ENERGY].effect == EFFECT_FOCUS_ENERGY); PLAYER(SPECIES_WOBBUFFET); @@ -286,6 +289,7 @@ DOUBLE_BATTLE_TEST("Crit Chance: Dragon Cheer increases critical hit ratio by on { PASSES_RANDOMLY(1, 8, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_TACKLE].criticalHitStage == 0); ASSUME(gMovesInfo[MOVE_DRAGON_CHEER].effect == EFFECT_DRAGON_CHEER); PLAYER(SPECIES_WOBBUFFET); @@ -306,6 +310,7 @@ DOUBLE_BATTLE_TEST("Crit Chance: Dragon Cheer increases critical hit ratio by tw { PASSES_RANDOMLY(1, 2, RNG_CRITICAL_HIT); GIVEN { + ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_TACKLE].criticalHitStage == 0); ASSUME(gMovesInfo[MOVE_DRAGON_CHEER].effect == EFFECT_DRAGON_CHEER); PLAYER(SPECIES_WOBBUFFET); From e230f379b38460404e2e4c783f01c484f8f82616 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 16 Oct 2024 17:46:40 -0300 Subject: [PATCH 113/278] Fixed 10,000,000 Volt Thunderbolt name (#5533) --- src/data/moves_info.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 478f0dc426..22ca581df4 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -20944,7 +20944,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = }, [MOVE_10000000_VOLT_THUNDERBOLT] = { - .name = COMPOUND_STRING("10000000 Volt Thunderbolt"), + .name = COMPOUND_STRING("10,000,000 Volt Thunderbolt"), .description = sNullDescription, .effect = EFFECT_HIT, .power = 195, From bb5aaa4005596c9fdd59f0d2231705de7c0cb43a Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Thu, 17 Oct 2024 00:30:20 -0300 Subject: [PATCH 114/278] Restored Debug build --- Makefile | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a807cbf8bf..82dea27b13 100644 --- a/Makefile +++ b/Makefile @@ -19,6 +19,8 @@ TEST ?= 0 ANALYZE ?= 0 # Count unused warnings as errors. Used by RH-Hideout's repo UNUSED_ERROR ?= 0 +# Adds -Og and -g flags, which optimize the build for debugging and include debug info respectively +DEBUG ?= 0 ifeq (agbcc,$(MAKECMDGOALS)) MODERN := 0 @@ -29,6 +31,9 @@ endif ifeq (check,$(MAKECMDGOALS)) TEST := 1 endif +ifeq (debug,$(MAKECMDGOALS)) + DEBUG := 1 +endif # Default make rule all: rom @@ -81,6 +86,7 @@ OBJ_DIR_NAME_TEST := $(BUILD_DIR)/test MODERN_ROM_NAME := $(FILE_NAME).gba MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern MODERN_OBJ_DIR_NAME_TEST := $(BUILD_DIR)/modern-test +MODERN_OBJ_DIR_NAME_DEBUG := $(BUILD_DIR)/modern-debug ELF_NAME := $(ROM_NAME:.gba=.elf) MAP_NAME := $(ROM_NAME:.gba=.map) @@ -105,6 +111,9 @@ else OBJ_DIR := $(MODERN_OBJ_DIR_NAME_TEST) endif endif +ifeq ($(DEBUG),1) + OBJ_DIR := $(MODERN_OBJ_DIR_NAME_DEBUG) +endif ifeq ($(TESTELF),$(MAKECMDGOALS)) TEST := 1 endif @@ -137,7 +146,11 @@ INCLUDE_DIRS := include INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %) INCLUDE_SCANINC_ARGS := $(INCLUDE_DIRS:%=-I %) +ifeq ($(DEBUG),1) +O_LEVEL ?= g +else O_LEVEL ?= 2 +endif CPPFLAGS := $(INCLUDE_CPP_ARGS) -Wno-trigraphs -DMODERN=$(MODERN) -DTESTING=$(TEST) ifeq ($(MODERN),0) CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef @@ -166,6 +179,15 @@ endif # Enable debug info if set ifeq ($(DINFO),1) override CFLAGS += -g +else + ifeq ($(DEBUG),1) + override CFLAGS += -g + endif +endif + +ifeq ($(NOOPT),1) +override CFLAGS := $(filter-out -O1 -Og -O2,$(CFLAGS)) +override CFLAGS += -O0 endif # Variable filled out in other make files @@ -199,7 +221,7 @@ MAKEFLAGS += --no-print-directory .DELETE_ON_ERROR: RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern tidycheck generated clean-generated $(TESTELF) -.PHONY: all rom agbcc modern compare check +.PHONY: all rom agbcc modern compare check debug .PHONY: $(RULES_NO_SCAN) infoshell = $(foreach line, $(shell $1 | sed "s/ /__SPACE__/g"), $(info $(subst __SPACE__, ,$(line)))) @@ -269,6 +291,7 @@ $(shell mkdir -p $(SUBDIRS)) # Pretend rules that are actually flags defer to `make all` modern: all compare: all +debug: all # Uncomment the next line, and then comment the 4 lines after it to reenable agbcc. #agbcc: all agbcc: @@ -317,7 +340,7 @@ clean-assets: find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} + -tidy: tidynonmodern tidymodern tidycheck +tidy: tidynonmodern tidymodern tidycheck tidydebug tidynonmodern: rm -f $(ROM_NAME) $(ELF_NAME) $(MAP_NAME) @@ -332,6 +355,9 @@ tidycheck: rm -rf $(MODERN_OBJ_DIR_NAME_TEST) rm -rf $(OBJ_DIR_NAME_TEST) +tidydebug: + rm -rf $(DEBUG_OBJ_DIR_NAME) + # Other rules include graphics_file_rules.mk include map_data_rules.mk @@ -470,7 +496,7 @@ endif # Final rules libagbsyscall: - @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN) + @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=1 # Elf from object files $(ELF): $(LD_SCRIPT) $(LD_SCRIPT_DEPS) $(OBJS) libagbsyscall From f88046b1c37df2945dfe5fd6e9d3dfe3f7da5bf1 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Thu, 17 Oct 2024 06:26:55 -0300 Subject: [PATCH 115/278] Re-removed agbcc for new Makefile --- Makefile | 126 +++++++++++++------------------------------------------ 1 file changed, 30 insertions(+), 96 deletions(-) diff --git a/Makefile b/Makefile index 82dea27b13..aae215c587 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,10 @@ MAKER_CODE := 01 REVISION := 0 KEEP_TEMPS ?= 0 -# `File name`.gba ('_agbcc' will be appended to the non-modern builds) +# `File name`.gba FILE_NAME := pokeemerald BUILD_DIR := build -# Builds the ROM using a modern compiler -MODERN ?= 1 # Compares the ROM to a checksum of the original - only makes sense using when non-modern COMPARE ?= 0 # Executes the Test Runner System that checks that all mechanics work as expected @@ -22,9 +20,6 @@ UNUSED_ERROR ?= 0 # Adds -Og and -g flags, which optimize the build for debugging and include debug info respectively DEBUG ?= 0 -ifeq (agbcc,$(MAKECMDGOALS)) - MODERN := 0 -endif ifeq (compare,$(MAKECMDGOALS)) COMPARE := 1 endif @@ -63,56 +58,27 @@ ifeq ($(OS),Windows_NT) EXE := .exe endif -# use arm-none-eabi-cpp for macOS -# as macOS's default compiler is clang -# and clang's preprocessor will warn on \u -# when preprocessing asm files, expecting a unicode literal -# we can't unconditionally use arm-none-eabi-cpp -# as installations which install binutils-arm-none-eabi -# don't come with it -ifneq ($(MODERN),1) - ifeq ($(shell uname -s),Darwin) - CPP := $(PREFIX)cpp - else - CPP := $(CC) -E - endif -else - CPP := $(PREFIX)cpp -endif +CPP := $(PREFIX)cpp -ROM_NAME := $(FILE_NAME)_agbcc.gba -OBJ_DIR_NAME := $(BUILD_DIR)/emerald -OBJ_DIR_NAME_TEST := $(BUILD_DIR)/test -MODERN_ROM_NAME := $(FILE_NAME).gba -MODERN_OBJ_DIR_NAME := $(BUILD_DIR)/modern -MODERN_OBJ_DIR_NAME_TEST := $(BUILD_DIR)/modern-test -MODERN_OBJ_DIR_NAME_DEBUG := $(BUILD_DIR)/modern-debug +ROM_NAME := $(FILE_NAME).gba +OBJ_DIR_NAME := $(BUILD_DIR)/modern +OBJ_DIR_NAME_TEST := $(BUILD_DIR)/modern-test +OBJ_DIR_NAME_DEBUG := $(BUILD_DIR)/modern-debug ELF_NAME := $(ROM_NAME:.gba=.elf) MAP_NAME := $(ROM_NAME:.gba=.map) -MODERN_ELF_NAME := $(MODERN_ROM_NAME:.gba=.elf) -MODERN_MAP_NAME := $(MODERN_ROM_NAME:.gba=.map) TESTELF = $(ROM_NAME:.gba=-test.elf) HEADLESSELF = $(ROM_NAME:.gba=-test-headless.elf) # Pick our active variables -ifeq ($(MODERN),0) - ROM := $(ROM_NAME) - ifeq ($(TEST), 0) - OBJ_DIR := $(OBJ_DIR_NAME) - else - OBJ_DIR := $(OBJ_DIR_NAME_TEST) - endif +ROM := $(ROM_NAME) +ifeq ($(TEST), 0) + OBJ_DIR := $(OBJ_DIR_NAME) else - ROM := $(MODERN_ROM_NAME) - ifeq ($(TEST), 0) - OBJ_DIR := $(MODERN_OBJ_DIR_NAME) - else - OBJ_DIR := $(MODERN_OBJ_DIR_NAME_TEST) - endif + OBJ_DIR := $(OBJ_DIR_NAME_TEST) endif ifeq ($(DEBUG),1) - OBJ_DIR := $(MODERN_OBJ_DIR_NAME_DEBUG) + OBJ_DIR := $(OBJ_DIR_NAME_DEBUG) endif ifeq ($(TESTELF),$(MAKECMDGOALS)) TEST := 1 @@ -140,7 +106,7 @@ TEST_BUILDDIR = $(OBJ_DIR)/$(TEST_SUBDIR) SHELL := bash -o pipefail # Set flags for tools -ASFLAGS := -mcpu=arm7tdmi --defsym MODERN=$(MODERN) +ASFLAGS := -mcpu=arm7tdmi --defsym MODERN=1 INCLUDE_DIRS := include INCLUDE_CPP_ARGS := $(INCLUDE_DIRS:%=-iquote %) @@ -151,31 +117,22 @@ O_LEVEL ?= g else O_LEVEL ?= 2 endif -CPPFLAGS := $(INCLUDE_CPP_ARGS) -Wno-trigraphs -DMODERN=$(MODERN) -DTESTING=$(TEST) -ifeq ($(MODERN),0) - CPPFLAGS += -I tools/agbcc/include -I tools/agbcc -nostdinc -undef - CC1 := tools/agbcc/bin/agbcc$(EXE) - override CFLAGS += -mthumb-interwork -Wimplicit -Wparentheses -Werror -O$(O_LEVEL) -fhex-asm -g - LIBPATH := -L ../../tools/agbcc/lib - LIB := $(LIBPATH) -lgcc -lc -L../../libagbsyscall -lagbsyscall -else - # Note: The makefile must be set up to not call these if modern == 0 - MODERNCC := $(PREFIX)gcc - PATH_MODERNCC := PATH="$(PATH)" $(MODERNCC) - CC1 := $(shell $(PATH_MODERNCC) --print-prog-name=cc1) -quiet - override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init - ifeq ($(ANALYZE),1) - override CFLAGS += -fanalyzer - endif - # Only throw an error for unused elements if its RH-Hideout's repo - ifeq ($(UNUSED_ERROR),0) - ifneq ($(GITHUB_REPOSITORY_OWNER),rh-hideout) - override CFLAGS += -Wno-error=unused-variable -Wno-error=unused-const-variable -Wno-error=unused-parameter -Wno-error=unused-function -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=unused-local-typedefs - endif - endif - LIBPATH := -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_MODERNCC) -mthumb -print-file-name=libc.a))" - LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall +CPPFLAGS := $(INCLUDE_CPP_ARGS) -Wno-trigraphs -DMODERN=1 -DTESTING=$(TEST) +ARMCC := $(PREFIX)gcc +PATH_ARMCC := PATH="$(PATH)" $(ARMCC) +CC1 := $(shell $(PATH_ARMCC) --print-prog-name=cc1) -quiet +override CFLAGS += -mthumb -mthumb-interwork -O$(O_LEVEL) -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init +ifeq ($(ANALYZE),1) + override CFLAGS += -fanalyzer endif +# Only throw an error for unused elements if its RH-Hideout's repo +ifeq ($(UNUSED_ERROR),0) + ifneq ($(GITHUB_REPOSITORY_OWNER),rh-hideout) + override CFLAGS += -Wno-error=unused-variable -Wno-error=unused-const-variable -Wno-error=unused-parameter -Wno-error=unused-function -Wno-error=unused-but-set-parameter -Wno-error=unused-but-set-variable -Wno-error=unused-value -Wno-error=unused-local-typedefs + endif +endif +LIBPATH := -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libgcc.a))" -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libnosys.a))" -L "$(dir $(shell $(PATH_ARMCC) -mthumb -print-file-name=libc.a))" +LIB := $(LIBPATH) -lc -lnosys -lgcc -L../../libagbsyscall -lagbsyscall # Enable debug info if set ifeq ($(DINFO),1) override CFLAGS += -g @@ -220,7 +177,7 @@ MAKEFLAGS += --no-print-directory # Delete files that weren't built properly .DELETE_ON_ERROR: -RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidynonmodern tidycheck generated clean-generated $(TESTELF) +RULES_NO_SCAN += libagbsyscall clean clean-assets tidy tidymodern tidycheck generated clean-generated $(TESTELF) .PHONY: all rom agbcc modern compare check debug .PHONY: $(RULES_NO_SCAN) @@ -340,19 +297,14 @@ clean-assets: find . \( -iname '*.1bpp' -o -iname '*.4bpp' -o -iname '*.8bpp' -o -iname '*.gbapal' -o -iname '*.lz' -o -iname '*.rl' -o -iname '*.latfont' -o -iname '*.hwjpnfont' -o -iname '*.fwjpnfont' \) -exec rm {} + find $(DATA_ASM_SUBDIR)/maps \( -iname 'connections.inc' -o -iname 'events.inc' -o -iname 'header.inc' \) -exec rm {} + -tidy: tidynonmodern tidymodern tidycheck tidydebug +tidy: tidymodern tidycheck tidydebug -tidynonmodern: +tidymodern: rm -f $(ROM_NAME) $(ELF_NAME) $(MAP_NAME) rm -rf $(OBJ_DIR_NAME) -tidymodern: - rm -f $(MODERN_ROM_NAME) $(MODERN_ELF_NAME) $(MODERN_MAP_NAME) - rm -rf $(MODERN_OBJ_DIR_NAME) - tidycheck: rm -f $(TESTELF) $(HEADLESSELF) - rm -rf $(MODERN_OBJ_DIR_NAME_TEST) rm -rf $(OBJ_DIR_NAME_TEST) tidydebug: @@ -390,24 +342,11 @@ ifeq ($(COMPETITIVE_PARTY_SYNTAX),1) %.h: %.party ; $(CPP) $(CPPFLAGS) -traditional-cpp - < $< | $(TRAINERPROC) -o $@ -i $< - endif -ifeq ($(MODERN),0) -$(C_BUILDDIR)/libc.o: CC1 := $(TOOLS_DIR)/agbcc/bin/old_agbcc$(EXE) -$(C_BUILDDIR)/libc.o: CFLAGS := -O2 -$(C_BUILDDIR)/siirtc.o: CFLAGS := -mthumb-interwork -$(C_BUILDDIR)/agb_flash.o: CFLAGS := -O -mthumb-interwork -$(C_BUILDDIR)/agb_flash_1m.o: CFLAGS := -O -mthumb-interwork -$(C_BUILDDIR)/agb_flash_mx.o: CFLAGS := -O -mthumb-interwork -$(C_BUILDDIR)/m4a.o: CC1 := tools/agbcc/bin/old_agbcc$(EXE) -$(C_BUILDDIR)/record_mixing.o: CFLAGS += -ffreestanding -$(C_BUILDDIR)/librfu_intr.o: CC1 := $(TOOLS_DIR)/agbcc/bin/agbcc_arm$(EXE) -$(C_BUILDDIR)/librfu_intr.o: CFLAGS := -O2 -mthumb-interwork -quiet -else $(C_BUILDDIR)/librfu_intr.o: CFLAGS := -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -fno-toplevel-reorder -Wno-pointer-to-int-cast $(C_BUILDDIR)/berry_crush.o: override CFLAGS += -Wno-address-of-packed-member $(C_BUILDDIR)/pokedex_plus_hgss.o: CFLAGS := -mthumb -mthumb-interwork -O2 -mabi=apcs-gnu -mtune=arm7tdmi -march=armv4t -Wno-pointer-to-int-cast -std=gnu17 -Werror -Wall -Wno-strict-aliasing -Wno-attribute-alias -Woverride-init # Annoyingly we can't turn this on just for src/data/trainers.h $(C_BUILDDIR)/data.o: CFLAGS += -fno-show-column -fno-diagnostics-show-caret -endif # Dependency rules (for the *.c & *.s sources to .o files) # Have to be explicit or else missing files won't be reported. @@ -485,13 +424,8 @@ endef $(foreach src, $(TEST_SRCS), $(eval $(call TEST_DEP,$(patsubst $(TEST_SUBDIR)/%.c,$(TEST_BUILDDIR)/%.o,$(src)),$(src),$(patsubst $(TEST_SUBDIR)/%.c,%,$(src))))) # Linker script -ifeq ($(MODERN),0) -LD_SCRIPT := ld_script.ld -LD_SCRIPT_DEPS := $(OBJ_DIR)/sym_bss.ld $(OBJ_DIR)/sym_common.ld $(OBJ_DIR)/sym_ewram.ld -else LD_SCRIPT := ld_script_modern.ld LD_SCRIPT_DEPS := -endif # Final rules From 358c0d06994779b019e10f12bc216b3c44fab217 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Fri, 18 Oct 2024 08:37:00 -0300 Subject: [PATCH 116/278] Added back GBA sprites via config (#5206) * Add back older sprites * Graphics config * Added GBA most graphical data to gSpeciesInfo * Footprints are now affected by P_GBA_SPECIES_GFX + removed duplicated files * GBA mon icons * Split GBA footprints into separate config * Separated GBA icons into their own config * Fixed GBA icons depending on P_GBA_SPECIES_GFX instead of P_GBA_ICONS * Moved GBA sprites to regular folder with prefix * Renamed configs * Temporarely disabled shadows when GBA sprites are enabled * Removed remaining files from pokemon_old folder --- .../gba_gfx/delete_files_of_same_name.py | 21 + .../gba_gfx/rename_files_of_same_name.py | 22 + graphics/pokemon/abra/anim_front_gba.png | Bin 0 -> 698 bytes graphics/pokemon/abra/back_gba.png | Bin 0 -> 616 bytes graphics/pokemon/abra/icon_gba.png | Bin 0 -> 327 bytes graphics/pokemon/abra/normal_gba.pal | 19 + graphics/pokemon/abra/shiny_gba.pal | 19 + graphics/pokemon/absol/anim_front_gba.png | Bin 0 -> 1339 bytes graphics/pokemon/absol/back_gba.png | Bin 0 -> 673 bytes graphics/pokemon/absol/icon_gba.png | Bin 0 -> 371 bytes graphics/pokemon/absol/normal_gba.pal | 19 + graphics/pokemon/absol/shiny_gba.pal | 19 + .../pokemon/aerodactyl/anim_front_gba.png | Bin 0 -> 1464 bytes graphics/pokemon/aerodactyl/back_gba.png | Bin 0 -> 602 bytes graphics/pokemon/aerodactyl/icon_gba.png | Bin 0 -> 369 bytes graphics/pokemon/aerodactyl/normal_gba.pal | 19 + graphics/pokemon/aerodactyl/shiny_gba.pal | 19 + graphics/pokemon/aggron/anim_front_gba.png | Bin 0 -> 1981 bytes graphics/pokemon/aggron/back_gba.png | Bin 0 -> 860 bytes graphics/pokemon/aggron/icon_gba.png | Bin 0 -> 367 bytes graphics/pokemon/aggron/normal_gba.pal | 19 + graphics/pokemon/aggron/shiny_gba.pal | 19 + graphics/pokemon/aipom/anim_front_gba.png | Bin 0 -> 924 bytes graphics/pokemon/aipom/back_gba.png | Bin 0 -> 592 bytes graphics/pokemon/aipom/icon_gba.png | Bin 0 -> 399 bytes graphics/pokemon/aipom/normal_gba.pal | 19 + graphics/pokemon/aipom/shiny_gba.pal | 19 + graphics/pokemon/alakazam/anim_front_gba.png | Bin 0 -> 1543 bytes graphics/pokemon/alakazam/back_gba.png | Bin 0 -> 864 bytes graphics/pokemon/alakazam/icon_gba.png | Bin 0 -> 401 bytes graphics/pokemon/alakazam/normal_gba.pal | 19 + graphics/pokemon/alakazam/shiny_gba.pal | 19 + graphics/pokemon/altaria/anim_front_gba.png | Bin 0 -> 1407 bytes graphics/pokemon/altaria/back_gba.png | Bin 0 -> 685 bytes graphics/pokemon/altaria/icon_gba.png | Bin 0 -> 419 bytes graphics/pokemon/altaria/normal_gba.pal | 19 + graphics/pokemon/altaria/shiny_gba.pal | 19 + graphics/pokemon/ampharos/anim_front_gba.png | Bin 0 -> 1303 bytes graphics/pokemon/ampharos/back_gba.png | Bin 0 -> 714 bytes graphics/pokemon/ampharos/icon_gba.png | Bin 0 -> 430 bytes graphics/pokemon/ampharos/normal_gba.pal | 19 + graphics/pokemon/ampharos/shiny_gba.pal | 19 + graphics/pokemon/anorith/anim_front_gba.png | Bin 0 -> 1161 bytes graphics/pokemon/anorith/back_gba.png | Bin 0 -> 445 bytes graphics/pokemon/anorith/icon_gba.png | Bin 0 -> 377 bytes graphics/pokemon/anorith/normal_gba.pal | 19 + graphics/pokemon/anorith/shiny_gba.pal | 19 + graphics/pokemon/arbok/anim_front_gba.png | Bin 0 -> 1515 bytes graphics/pokemon/arbok/back_gba.png | Bin 0 -> 509 bytes graphics/pokemon/arbok/icon_gba.png | Bin 0 -> 373 bytes graphics/pokemon/arbok/normal_gba.pal | 19 + graphics/pokemon/arbok/shiny_gba.pal | 19 + graphics/pokemon/arcanine/anim_front_gba.png | Bin 0 -> 2014 bytes graphics/pokemon/arcanine/back_gba.png | Bin 0 -> 790 bytes graphics/pokemon/arcanine/icon_gba.png | Bin 0 -> 445 bytes graphics/pokemon/arcanine/normal_gba.pal | 19 + graphics/pokemon/arcanine/shiny_gba.pal | 19 + graphics/pokemon/ariados/anim_front_gba.png | Bin 0 -> 1466 bytes graphics/pokemon/ariados/back_gba.png | Bin 0 -> 706 bytes graphics/pokemon/ariados/icon_gba.png | Bin 0 -> 430 bytes graphics/pokemon/ariados/normal_gba.pal | 19 + graphics/pokemon/ariados/shiny_gba.pal | 19 + graphics/pokemon/armaldo/anim_front_gba.png | Bin 0 -> 1876 bytes graphics/pokemon/armaldo/back_gba.png | Bin 0 -> 898 bytes graphics/pokemon/armaldo/icon_gba.png | Bin 0 -> 383 bytes graphics/pokemon/armaldo/normal_gba.pal | 19 + graphics/pokemon/armaldo/shiny_gba.pal | 19 + graphics/pokemon/aron/anim_front_gba.png | Bin 0 -> 568 bytes graphics/pokemon/aron/back_gba.png | Bin 0 -> 437 bytes graphics/pokemon/aron/icon_gba.png | Bin 0 -> 262 bytes graphics/pokemon/aron/normal_gba.pal | 19 + graphics/pokemon/aron/shiny_gba.pal | 19 + graphics/pokemon/articuno/anim_front_gba.png | Bin 0 -> 1935 bytes graphics/pokemon/articuno/back_gba.png | Bin 0 -> 504 bytes graphics/pokemon/articuno/icon_gba.png | Bin 0 -> 384 bytes graphics/pokemon/articuno/normal_gba.pal | 19 + graphics/pokemon/articuno/shiny_gba.pal | 19 + graphics/pokemon/azumarill/anim_front_gba.png | Bin 0 -> 1070 bytes graphics/pokemon/azumarill/back_gba.png | Bin 0 -> 541 bytes graphics/pokemon/azumarill/icon_gba.png | Bin 0 -> 445 bytes graphics/pokemon/azumarill/normal_gba.pal | 19 + graphics/pokemon/azumarill/shiny_gba.pal | 19 + graphics/pokemon/azurill/anim_front_gba.png | Bin 0 -> 1007 bytes graphics/pokemon/azurill/back_gba.png | Bin 0 -> 601 bytes graphics/pokemon/azurill/icon_gba.png | Bin 0 -> 342 bytes graphics/pokemon/azurill/normal_gba.pal | 19 + graphics/pokemon/azurill/shiny_gba.pal | 19 + graphics/pokemon/bagon/anim_front_gba.png | Bin 0 -> 823 bytes graphics/pokemon/bagon/back_gba.png | Bin 0 -> 574 bytes graphics/pokemon/bagon/icon_gba.png | Bin 0 -> 359 bytes graphics/pokemon/bagon/normal_gba.pal | 19 + graphics/pokemon/bagon/shiny_gba.pal | 19 + graphics/pokemon/baltoy/anim_front_gba.png | Bin 0 -> 581 bytes graphics/pokemon/baltoy/back_gba.png | Bin 0 -> 517 bytes graphics/pokemon/baltoy/icon_gba.png | Bin 0 -> 279 bytes graphics/pokemon/baltoy/normal_gba.pal | 19 + graphics/pokemon/baltoy/shiny_gba.pal | 19 + graphics/pokemon/banette/anim_front_gba.png | Bin 0 -> 787 bytes graphics/pokemon/banette/back_gba.png | Bin 0 -> 503 bytes graphics/pokemon/banette/icon_gba.png | Bin 0 -> 321 bytes graphics/pokemon/banette/normal_gba.pal | 19 + graphics/pokemon/banette/shiny_gba.pal | 19 + graphics/pokemon/barboach/anim_front_gba.png | Bin 0 -> 936 bytes graphics/pokemon/barboach/back_gba.png | Bin 0 -> 551 bytes graphics/pokemon/barboach/icon_gba.png | Bin 0 -> 337 bytes graphics/pokemon/barboach/normal_gba.pal | 19 + graphics/pokemon/barboach/shiny_gba.pal | 19 + graphics/pokemon/bayleef/anim_front_gba.png | Bin 0 -> 1183 bytes graphics/pokemon/bayleef/back_gba.png | Bin 0 -> 737 bytes graphics/pokemon/bayleef/icon_gba.png | Bin 0 -> 427 bytes graphics/pokemon/bayleef/normal_gba.pal | 19 + graphics/pokemon/bayleef/shiny_gba.pal | 19 + graphics/pokemon/beautifly/anim_front_gba.png | Bin 0 -> 1081 bytes graphics/pokemon/beautifly/back_gba.png | Bin 0 -> 771 bytes graphics/pokemon/beautifly/icon_gba.png | Bin 0 -> 449 bytes graphics/pokemon/beautifly/normal_gba.pal | 19 + graphics/pokemon/beautifly/shiny_gba.pal | 19 + graphics/pokemon/beedrill/anim_front_gba.png | Bin 0 -> 1431 bytes graphics/pokemon/beedrill/back_gba.png | Bin 0 -> 734 bytes graphics/pokemon/beedrill/icon_gba.png | Bin 0 -> 437 bytes graphics/pokemon/beedrill/normal_gba.pal | 19 + graphics/pokemon/beedrill/shiny_gba.pal | 19 + graphics/pokemon/beldum/anim_front_gba.png | Bin 0 -> 723 bytes graphics/pokemon/beldum/back_gba.png | Bin 0 -> 575 bytes graphics/pokemon/beldum/icon_gba.png | Bin 0 -> 294 bytes graphics/pokemon/beldum/normal_gba.pal | 19 + graphics/pokemon/beldum/shiny_gba.pal | 19 + graphics/pokemon/bellossom/anim_front_gba.png | Bin 0 -> 837 bytes graphics/pokemon/bellossom/back_gba.png | Bin 0 -> 633 bytes graphics/pokemon/bellossom/icon_gba.png | Bin 0 -> 363 bytes graphics/pokemon/bellossom/normal_gba.pal | 19 + graphics/pokemon/bellossom/shiny_gba.pal | 19 + .../pokemon/bellsprout/anim_front_gba.png | Bin 0 -> 889 bytes graphics/pokemon/bellsprout/back_gba.png | Bin 0 -> 529 bytes graphics/pokemon/bellsprout/icon_gba.png | Bin 0 -> 252 bytes graphics/pokemon/bellsprout/normal_gba.pal | 19 + graphics/pokemon/bellsprout/shiny_gba.pal | 19 + graphics/pokemon/blastoise/anim_front_gba.png | Bin 0 -> 1818 bytes graphics/pokemon/blastoise/back_gba.png | Bin 0 -> 860 bytes graphics/pokemon/blastoise/icon_gba.png | Bin 0 -> 397 bytes graphics/pokemon/blastoise/normal_gba.pal | 19 + graphics/pokemon/blastoise/shiny_gba.pal | 19 + graphics/pokemon/blaziken/anim_front_gba.png | Bin 0 -> 1484 bytes graphics/pokemon/blaziken/back_gba.png | Bin 0 -> 835 bytes graphics/pokemon/blaziken/icon_gba.png | Bin 0 -> 448 bytes graphics/pokemon/blaziken/normal_gba.pal | 19 + graphics/pokemon/blaziken/shiny_gba.pal | 19 + graphics/pokemon/blissey/anim_front_gba.png | Bin 0 -> 1296 bytes graphics/pokemon/blissey/back_gba.png | Bin 0 -> 566 bytes graphics/pokemon/blissey/icon_gba.png | Bin 0 -> 406 bytes graphics/pokemon/blissey/normal_gba.pal | 19 + graphics/pokemon/blissey/shiny_gba.pal | 19 + graphics/pokemon/breloom/anim_front_gba.png | Bin 0 -> 1188 bytes graphics/pokemon/breloom/back_gba.png | Bin 0 -> 825 bytes graphics/pokemon/breloom/icon_gba.png | Bin 0 -> 321 bytes graphics/pokemon/breloom/normal_gba.pal | 19 + graphics/pokemon/breloom/shiny_gba.pal | 19 + graphics/pokemon/bulbasaur/anim_front_gba.png | Bin 0 -> 809 bytes graphics/pokemon/bulbasaur/back_gba.png | Bin 0 -> 540 bytes graphics/pokemon/bulbasaur/icon_gba.png | Bin 0 -> 316 bytes graphics/pokemon/bulbasaur/normal_gba.pal | 19 + graphics/pokemon/bulbasaur/shiny_gba.pal | 19 + .../pokemon/butterfree/anim_front_gba.png | Bin 0 -> 1151 bytes graphics/pokemon/butterfree/back_gba.png | Bin 0 -> 850 bytes graphics/pokemon/butterfree/icon_gba.png | Bin 0 -> 421 bytes graphics/pokemon/butterfree/normal_gba.pal | 19 + graphics/pokemon/butterfree/shiny_gba.pal | 19 + graphics/pokemon/cacnea/anim_front_gba.png | Bin 0 -> 920 bytes graphics/pokemon/cacnea/back_gba.png | Bin 0 -> 713 bytes graphics/pokemon/cacnea/icon_gba.png | Bin 0 -> 370 bytes graphics/pokemon/cacnea/normal_gba.pal | 19 + graphics/pokemon/cacnea/shiny_gba.pal | 19 + graphics/pokemon/cacturne/anim_front_gba.png | Bin 0 -> 1370 bytes graphics/pokemon/cacturne/back_gba.png | Bin 0 -> 653 bytes graphics/pokemon/cacturne/icon_gba.png | Bin 0 -> 299 bytes graphics/pokemon/cacturne/normal_gba.pal | 19 + graphics/pokemon/cacturne/shiny_gba.pal | 19 + graphics/pokemon/camerupt/anim_front_gba.png | Bin 0 -> 1252 bytes graphics/pokemon/camerupt/back_gba.png | Bin 0 -> 527 bytes graphics/pokemon/camerupt/icon_gba.png | Bin 0 -> 404 bytes graphics/pokemon/camerupt/normal_gba.pal | 19 + graphics/pokemon/camerupt/shiny_gba.pal | 19 + graphics/pokemon/carvanha/anim_front_gba.png | Bin 0 -> 1217 bytes graphics/pokemon/carvanha/back_gba.png | Bin 0 -> 648 bytes graphics/pokemon/carvanha/icon_gba.png | Bin 0 -> 392 bytes graphics/pokemon/carvanha/normal_gba.pal | 19 + graphics/pokemon/carvanha/shiny_gba.pal | 19 + graphics/pokemon/cascoon/anim_front_gba.png | Bin 0 -> 559 bytes graphics/pokemon/cascoon/back_gba.png | Bin 0 -> 404 bytes graphics/pokemon/cascoon/icon_gba.png | Bin 0 -> 342 bytes graphics/pokemon/cascoon/normal_gba.pal | 19 + graphics/pokemon/cascoon/shiny_gba.pal | 19 + graphics/pokemon/caterpie/anim_front_gba.png | Bin 0 -> 761 bytes graphics/pokemon/caterpie/back_gba.png | Bin 0 -> 521 bytes graphics/pokemon/caterpie/icon_gba.png | Bin 0 -> 277 bytes graphics/pokemon/caterpie/normal_gba.pal | 19 + graphics/pokemon/caterpie/shiny_gba.pal | 19 + graphics/pokemon/celebi/anim_front_gba.png | Bin 0 -> 861 bytes graphics/pokemon/celebi/back_gba.png | Bin 0 -> 757 bytes graphics/pokemon/celebi/icon_gba.png | Bin 0 -> 330 bytes graphics/pokemon/celebi/normal_gba.pal | 19 + graphics/pokemon/celebi/shiny_gba.pal | 19 + graphics/pokemon/chansey/anim_front_gba.png | Bin 0 -> 1018 bytes graphics/pokemon/chansey/back_gba.png | Bin 0 -> 552 bytes graphics/pokemon/chansey/icon_gba.png | Bin 0 -> 317 bytes graphics/pokemon/chansey/normal_gba.pal | 19 + graphics/pokemon/chansey/shiny_gba.pal | 19 + graphics/pokemon/charizard/anim_front_gba.png | Bin 0 -> 2039 bytes graphics/pokemon/charizard/back_gba.png | Bin 0 -> 829 bytes graphics/pokemon/charizard/icon_gba.png | Bin 0 -> 462 bytes graphics/pokemon/charizard/normal_gba.pal | 19 + graphics/pokemon/charizard/shiny_gba.pal | 19 + .../pokemon/charmander/anim_front_gba.png | Bin 0 -> 873 bytes graphics/pokemon/charmander/back_gba.png | Bin 0 -> 521 bytes graphics/pokemon/charmander/icon_gba.png | Bin 0 -> 303 bytes graphics/pokemon/charmander/normal_gba.pal | 19 + graphics/pokemon/charmander/shiny_gba.pal | 19 + .../pokemon/charmeleon/anim_front_gba.png | Bin 0 -> 1386 bytes graphics/pokemon/charmeleon/back_gba.png | Bin 0 -> 583 bytes graphics/pokemon/charmeleon/icon_gba.png | Bin 0 -> 412 bytes graphics/pokemon/charmeleon/normal_gba.pal | 19 + graphics/pokemon/charmeleon/shiny_gba.pal | 19 + graphics/pokemon/chikorita/anim_front_gba.png | Bin 0 -> 797 bytes graphics/pokemon/chikorita/back_gba.png | Bin 0 -> 569 bytes graphics/pokemon/chikorita/icon_gba.png | Bin 0 -> 334 bytes graphics/pokemon/chikorita/normal_gba.pal | 19 + graphics/pokemon/chikorita/shiny_gba.pal | 19 + graphics/pokemon/chimecho/anim_front_gba.png | Bin 0 -> 719 bytes graphics/pokemon/chimecho/back_gba.png | Bin 0 -> 507 bytes graphics/pokemon/chimecho/icon_gba.png | Bin 0 -> 258 bytes graphics/pokemon/chimecho/normal_gba.pal | 19 + graphics/pokemon/chimecho/shiny_gba.pal | 19 + graphics/pokemon/chinchou/anim_front_gba.png | Bin 0 -> 962 bytes graphics/pokemon/chinchou/back_gba.png | Bin 0 -> 637 bytes graphics/pokemon/chinchou/icon_gba.png | Bin 0 -> 378 bytes graphics/pokemon/chinchou/normal_gba.pal | 19 + graphics/pokemon/chinchou/shiny_gba.pal | 19 + graphics/pokemon/clamperl/anim_front_gba.png | Bin 0 -> 860 bytes graphics/pokemon/clamperl/back_gba.png | Bin 0 -> 475 bytes graphics/pokemon/clamperl/icon_gba.png | Bin 0 -> 345 bytes graphics/pokemon/clamperl/normal_gba.pal | 19 + graphics/pokemon/clamperl/shiny_gba.pal | 19 + graphics/pokemon/claydol/anim_front_gba.png | Bin 0 -> 1270 bytes graphics/pokemon/claydol/back_gba.png | Bin 0 -> 774 bytes graphics/pokemon/claydol/icon_gba.png | Bin 0 -> 331 bytes graphics/pokemon/claydol/normal_gba.pal | 19 + graphics/pokemon/claydol/shiny_gba.pal | 19 + graphics/pokemon/clefable/anim_front_gba.png | Bin 0 -> 1065 bytes graphics/pokemon/clefable/back_gba.png | Bin 0 -> 638 bytes graphics/pokemon/clefable/icon_gba.png | Bin 0 -> 339 bytes graphics/pokemon/clefable/normal_gba.pal | 19 + graphics/pokemon/clefable/shiny_gba.pal | 19 + graphics/pokemon/clefairy/anim_front_gba.png | Bin 0 -> 814 bytes graphics/pokemon/clefairy/back_gba.png | Bin 0 -> 561 bytes graphics/pokemon/clefairy/icon_gba.png | Bin 0 -> 305 bytes graphics/pokemon/clefairy/normal_gba.pal | 19 + graphics/pokemon/clefairy/shiny_gba.pal | 19 + graphics/pokemon/cleffa/anim_front_gba.png | Bin 0 -> 606 bytes graphics/pokemon/cleffa/back_gba.png | Bin 0 -> 461 bytes graphics/pokemon/cleffa/icon_gba.png | Bin 0 -> 302 bytes graphics/pokemon/cleffa/normal_gba.pal | 19 + graphics/pokemon/cleffa/shiny_gba.pal | 19 + graphics/pokemon/cloyster/anim_front_gba.png | Bin 0 -> 1453 bytes graphics/pokemon/cloyster/back_gba.png | Bin 0 -> 769 bytes graphics/pokemon/cloyster/icon_gba.png | Bin 0 -> 507 bytes graphics/pokemon/cloyster/normal_gba.pal | 19 + graphics/pokemon/cloyster/shiny_gba.pal | 19 + graphics/pokemon/combusken/anim_front_gba.png | Bin 0 -> 1577 bytes graphics/pokemon/combusken/back_gba.png | Bin 0 -> 812 bytes graphics/pokemon/combusken/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/combusken/normal_gba.pal | 19 + graphics/pokemon/combusken/shiny_gba.pal | 19 + graphics/pokemon/corphish/anim_front_gba.png | Bin 0 -> 967 bytes graphics/pokemon/corphish/back_gba.png | Bin 0 -> 662 bytes graphics/pokemon/corphish/icon_gba.png | Bin 0 -> 286 bytes graphics/pokemon/corphish/normal_gba.pal | 19 + graphics/pokemon/corphish/shiny_gba.pal | 19 + graphics/pokemon/corsola/anim_front_gba.png | Bin 0 -> 980 bytes graphics/pokemon/corsola/back_gba.png | Bin 0 -> 525 bytes graphics/pokemon/corsola/icon_gba.png | Bin 0 -> 365 bytes graphics/pokemon/corsola/normal_gba.pal | 19 + graphics/pokemon/corsola/shiny_gba.pal | 19 + graphics/pokemon/cradily/anim_front_gba.png | Bin 0 -> 1342 bytes graphics/pokemon/cradily/back_gba.png | Bin 0 -> 824 bytes graphics/pokemon/cradily/icon_gba.png | Bin 0 -> 452 bytes graphics/pokemon/cradily/normal_gba.pal | 19 + graphics/pokemon/cradily/shiny_gba.pal | 19 + graphics/pokemon/crawdaunt/anim_front_gba.png | Bin 0 -> 1483 bytes graphics/pokemon/crawdaunt/back_gba.png | Bin 0 -> 787 bytes graphics/pokemon/crawdaunt/icon_gba.png | Bin 0 -> 402 bytes graphics/pokemon/crawdaunt/normal_gba.pal | 19 + graphics/pokemon/crawdaunt/shiny_gba.pal | 19 + graphics/pokemon/crobat/anim_front_gba.png | Bin 0 -> 1132 bytes graphics/pokemon/crobat/back_gba.png | Bin 0 -> 600 bytes graphics/pokemon/crobat/icon_gba.png | Bin 0 -> 422 bytes graphics/pokemon/crobat/normal_gba.pal | 19 + graphics/pokemon/crobat/shiny_gba.pal | 19 + graphics/pokemon/croconaw/anim_front_gba.png | Bin 0 -> 1225 bytes graphics/pokemon/croconaw/back_gba.png | Bin 0 -> 709 bytes graphics/pokemon/croconaw/icon_gba.png | Bin 0 -> 356 bytes graphics/pokemon/croconaw/normal_gba.pal | 19 + graphics/pokemon/croconaw/shiny_gba.pal | 19 + graphics/pokemon/cubone/anim_front_gba.png | Bin 0 -> 841 bytes graphics/pokemon/cubone/back_gba.png | Bin 0 -> 673 bytes graphics/pokemon/cubone/icon_gba.png | Bin 0 -> 350 bytes graphics/pokemon/cubone/normal_gba.pal | 19 + graphics/pokemon/cubone/shiny_gba.pal | 19 + graphics/pokemon/cyndaquil/anim_front_gba.png | Bin 0 -> 869 bytes graphics/pokemon/cyndaquil/back_gba.png | Bin 0 -> 670 bytes graphics/pokemon/cyndaquil/icon_gba.png | Bin 0 -> 360 bytes graphics/pokemon/cyndaquil/normal_gba.pal | 19 + graphics/pokemon/cyndaquil/shiny_gba.pal | 19 + graphics/pokemon/delcatty/anim_front_gba.png | Bin 0 -> 1241 bytes graphics/pokemon/delcatty/back_gba.png | Bin 0 -> 737 bytes graphics/pokemon/delcatty/icon_gba.png | Bin 0 -> 420 bytes graphics/pokemon/delcatty/normal_gba.pal | 19 + graphics/pokemon/delcatty/shiny_gba.pal | 19 + graphics/pokemon/delibird/anim_front_gba.png | Bin 0 -> 1198 bytes graphics/pokemon/delibird/back_gba.png | Bin 0 -> 786 bytes graphics/pokemon/delibird/icon_gba.png | Bin 0 -> 357 bytes graphics/pokemon/delibird/normal_gba.pal | 19 + graphics/pokemon/delibird/shiny_gba.pal | 19 + graphics/pokemon/deoxys/anim_front_gba.png | Bin 0 -> 1527 bytes graphics/pokemon/deoxys/back_gba.png | Bin 0 -> 1190 bytes graphics/pokemon/deoxys/icon_gba.png | Bin 0 -> 430 bytes graphics/pokemon/deoxys/normal_gba.pal | 19 + graphics/pokemon/deoxys/shiny_gba.pal | 19 + graphics/pokemon/dewgong/anim_front_gba.png | Bin 0 -> 1304 bytes graphics/pokemon/dewgong/back_gba.png | Bin 0 -> 523 bytes graphics/pokemon/dewgong/icon_gba.png | Bin 0 -> 415 bytes graphics/pokemon/dewgong/normal_gba.pal | 19 + graphics/pokemon/dewgong/shiny_gba.pal | 19 + graphics/pokemon/diglett/anim_front_gba.png | Bin 0 -> 627 bytes graphics/pokemon/diglett/back_gba.png | Bin 0 -> 409 bytes graphics/pokemon/diglett/icon_gba.png | Bin 0 -> 249 bytes graphics/pokemon/diglett/normal_gba.pal | 19 + graphics/pokemon/diglett/shiny_gba.pal | 19 + graphics/pokemon/ditto/anim_front_gba.png | Bin 0 -> 572 bytes graphics/pokemon/ditto/back_gba.png | Bin 0 -> 399 bytes graphics/pokemon/ditto/icon_gba.png | Bin 0 -> 270 bytes graphics/pokemon/ditto/normal_gba.pal | 19 + graphics/pokemon/ditto/shiny_gba.pal | 19 + graphics/pokemon/dodrio/anim_front_gba.png | Bin 0 -> 1876 bytes graphics/pokemon/dodrio/back_gba.png | Bin 0 -> 910 bytes graphics/pokemon/dodrio/icon_gba.png | Bin 0 -> 446 bytes graphics/pokemon/dodrio/normal_gba.pal | 19 + graphics/pokemon/dodrio/shiny_gba.pal | 19 + graphics/pokemon/doduo/anim_front_gba.png | Bin 0 -> 1129 bytes graphics/pokemon/doduo/back_gba.png | Bin 0 -> 651 bytes graphics/pokemon/doduo/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/doduo/normal_gba.pal | 19 + graphics/pokemon/doduo/shiny_gba.pal | 19 + graphics/pokemon/donphan/anim_front_gba.png | Bin 0 -> 1356 bytes graphics/pokemon/donphan/back_gba.png | Bin 0 -> 571 bytes graphics/pokemon/donphan/icon_gba.png | Bin 0 -> 471 bytes graphics/pokemon/donphan/normal_gba.pal | 19 + graphics/pokemon/donphan/shiny_gba.pal | 19 + graphics/pokemon/dragonair/anim_front_gba.png | Bin 0 -> 1296 bytes graphics/pokemon/dragonair/back_gba.png | Bin 0 -> 672 bytes graphics/pokemon/dragonair/icon_gba.png | Bin 0 -> 383 bytes graphics/pokemon/dragonair/normal_gba.pal | 19 + graphics/pokemon/dragonair/shiny_gba.pal | 19 + graphics/pokemon/dragonite/anim_front_gba.png | Bin 0 -> 1895 bytes graphics/pokemon/dragonite/back_gba.png | Bin 0 -> 622 bytes graphics/pokemon/dragonite/icon_gba.png | Bin 0 -> 414 bytes graphics/pokemon/dragonite/normal_gba.pal | 19 + graphics/pokemon/dragonite/shiny_gba.pal | 19 + graphics/pokemon/dratini/anim_front_gba.png | Bin 0 -> 928 bytes graphics/pokemon/dratini/back_gba.png | Bin 0 -> 525 bytes graphics/pokemon/dratini/icon_gba.png | Bin 0 -> 334 bytes graphics/pokemon/dratini/normal_gba.pal | 19 + graphics/pokemon/dratini/shiny_gba.pal | 19 + graphics/pokemon/drowzee/anim_front_gba.png | Bin 0 -> 1082 bytes graphics/pokemon/drowzee/back_gba.png | Bin 0 -> 452 bytes graphics/pokemon/drowzee/icon_gba.png | Bin 0 -> 416 bytes graphics/pokemon/drowzee/normal_gba.pal | 19 + graphics/pokemon/drowzee/shiny_gba.pal | 19 + graphics/pokemon/dugtrio/anim_front_gba.png | Bin 0 -> 835 bytes graphics/pokemon/dugtrio/back_gba.png | Bin 0 -> 541 bytes graphics/pokemon/dugtrio/icon_gba.png | Bin 0 -> 296 bytes graphics/pokemon/dugtrio/normal_gba.pal | 19 + graphics/pokemon/dugtrio/shiny_gba.pal | 19 + graphics/pokemon/dunsparce/anim_front_gba.png | Bin 0 -> 1002 bytes graphics/pokemon/dunsparce/back_gba.png | Bin 0 -> 593 bytes graphics/pokemon/dunsparce/icon_gba.png | Bin 0 -> 341 bytes graphics/pokemon/dunsparce/normal_gba.pal | 19 + graphics/pokemon/dunsparce/shiny_gba.pal | 19 + graphics/pokemon/dusclops/anim_front_gba.png | Bin 0 -> 1275 bytes graphics/pokemon/dusclops/back_gba.png | Bin 0 -> 559 bytes graphics/pokemon/dusclops/icon_gba.png | Bin 0 -> 344 bytes graphics/pokemon/dusclops/normal_gba.pal | 19 + graphics/pokemon/dusclops/shiny_gba.pal | 19 + graphics/pokemon/duskull/anim_front_gba.png | Bin 0 -> 999 bytes graphics/pokemon/duskull/back_gba.png | Bin 0 -> 537 bytes graphics/pokemon/duskull/icon_gba.png | Bin 0 -> 294 bytes graphics/pokemon/duskull/normal_gba.pal | 19 + graphics/pokemon/duskull/shiny_gba.pal | 19 + graphics/pokemon/dustox/anim_front_gba.png | Bin 0 -> 1195 bytes graphics/pokemon/dustox/back_gba.png | Bin 0 -> 481 bytes graphics/pokemon/dustox/icon_gba.png | Bin 0 -> 428 bytes graphics/pokemon/dustox/normal_gba.pal | 19 + graphics/pokemon/dustox/shiny_gba.pal | 19 + graphics/pokemon/eevee/anim_front_gba.png | Bin 0 -> 907 bytes graphics/pokemon/eevee/back_gba.png | Bin 0 -> 641 bytes graphics/pokemon/eevee/icon_gba.png | Bin 0 -> 296 bytes graphics/pokemon/eevee/normal_gba.pal | 19 + graphics/pokemon/eevee/shiny_gba.pal | 19 + graphics/pokemon/egg/anim_front_gba.png | Bin 0 -> 358 bytes graphics/pokemon/egg/icon_gba.png | Bin 0 -> 310 bytes graphics/pokemon/egg/normal_gba.pal | 19 + graphics/pokemon/ekans/anim_front_gba.png | Bin 0 -> 1061 bytes graphics/pokemon/ekans/back_gba.png | Bin 0 -> 616 bytes graphics/pokemon/ekans/icon_gba.png | Bin 0 -> 333 bytes graphics/pokemon/ekans/normal_gba.pal | 19 + graphics/pokemon/ekans/shiny_gba.pal | 19 + .../pokemon/electabuzz/anim_front_gba.png | Bin 0 -> 1548 bytes graphics/pokemon/electabuzz/back_gba.png | Bin 0 -> 611 bytes graphics/pokemon/electabuzz/icon_gba.png | Bin 0 -> 321 bytes graphics/pokemon/electabuzz/normal_gba.pal | 19 + graphics/pokemon/electabuzz/shiny_gba.pal | 19 + graphics/pokemon/electrike/anim_front_gba.png | Bin 0 -> 809 bytes graphics/pokemon/electrike/back_gba.png | Bin 0 -> 499 bytes graphics/pokemon/electrike/icon_gba.png | Bin 0 -> 352 bytes graphics/pokemon/electrike/normal_gba.pal | 19 + graphics/pokemon/electrike/shiny_gba.pal | 19 + graphics/pokemon/electrode/anim_front_gba.png | Bin 0 -> 713 bytes graphics/pokemon/electrode/back_gba.png | Bin 0 -> 477 bytes graphics/pokemon/electrode/icon_gba.png | Bin 0 -> 245 bytes graphics/pokemon/electrode/normal_gba.pal | 19 + graphics/pokemon/electrode/shiny_gba.pal | 19 + graphics/pokemon/elekid/anim_front_gba.png | Bin 0 -> 1041 bytes graphics/pokemon/elekid/back_gba.png | Bin 0 -> 660 bytes graphics/pokemon/elekid/icon_gba.png | Bin 0 -> 327 bytes graphics/pokemon/elekid/normal_gba.pal | 19 + graphics/pokemon/elekid/shiny_gba.pal | 19 + graphics/pokemon/entei/anim_front_gba.png | Bin 0 -> 1774 bytes graphics/pokemon/entei/back_gba.png | Bin 0 -> 859 bytes graphics/pokemon/entei/icon_gba.png | Bin 0 -> 453 bytes graphics/pokemon/entei/normal_gba.pal | 19 + graphics/pokemon/entei/shiny_gba.pal | 19 + graphics/pokemon/espeon/anim_front_gba.png | Bin 0 -> 1111 bytes graphics/pokemon/espeon/back_gba.png | Bin 0 -> 554 bytes graphics/pokemon/espeon/icon_gba.png | Bin 0 -> 354 bytes graphics/pokemon/espeon/normal_gba.pal | 19 + graphics/pokemon/espeon/shiny_gba.pal | 19 + graphics/pokemon/exeggcute/anim_front_gba.png | Bin 0 -> 1234 bytes graphics/pokemon/exeggcute/back_gba.png | Bin 0 -> 597 bytes graphics/pokemon/exeggcute/icon_gba.png | Bin 0 -> 383 bytes graphics/pokemon/exeggcute/normal_gba.pal | 19 + graphics/pokemon/exeggcute/shiny_gba.pal | 19 + graphics/pokemon/exeggutor/anim_front_gba.png | Bin 0 -> 1637 bytes graphics/pokemon/exeggutor/back_gba.png | Bin 0 -> 946 bytes graphics/pokemon/exeggutor/icon_gba.png | Bin 0 -> 368 bytes graphics/pokemon/exeggutor/normal_gba.pal | 19 + graphics/pokemon/exeggutor/shiny_gba.pal | 19 + graphics/pokemon/exploud/anim_front_gba.png | Bin 0 -> 2048 bytes graphics/pokemon/exploud/back_gba.png | Bin 0 -> 838 bytes graphics/pokemon/exploud/icon_gba.png | Bin 0 -> 447 bytes graphics/pokemon/exploud/normal_gba.pal | 19 + graphics/pokemon/exploud/shiny_gba.pal | 19 + graphics/pokemon/farfetchd/anim_front_gba.png | Bin 0 -> 1032 bytes graphics/pokemon/farfetchd/back_gba.png | Bin 0 -> 696 bytes graphics/pokemon/farfetchd/icon_gba.png | Bin 0 -> 396 bytes graphics/pokemon/farfetchd/normal_gba.pal | 19 + graphics/pokemon/farfetchd/shiny_gba.pal | 19 + graphics/pokemon/fearow/anim_front_gba.png | Bin 0 -> 1578 bytes graphics/pokemon/fearow/back_gba.png | Bin 0 -> 635 bytes graphics/pokemon/fearow/icon_gba.png | Bin 0 -> 465 bytes graphics/pokemon/fearow/normal_gba.pal | 19 + graphics/pokemon/fearow/shiny_gba.pal | 19 + graphics/pokemon/feebas/anim_front_gba.png | Bin 0 -> 913 bytes graphics/pokemon/feebas/back_gba.png | Bin 0 -> 666 bytes graphics/pokemon/feebas/icon_gba.png | Bin 0 -> 359 bytes graphics/pokemon/feebas/normal_gba.pal | 19 + graphics/pokemon/feebas/shiny_gba.pal | 19 + .../pokemon/feraligatr/anim_front_gba.png | Bin 0 -> 1853 bytes graphics/pokemon/feraligatr/back_gba.png | Bin 0 -> 999 bytes graphics/pokemon/feraligatr/icon_gba.png | Bin 0 -> 488 bytes graphics/pokemon/feraligatr/normal_gba.pal | 19 + graphics/pokemon/feraligatr/shiny_gba.pal | 19 + graphics/pokemon/flaaffy/anim_front_gba.png | Bin 0 -> 945 bytes graphics/pokemon/flaaffy/back_gba.png | Bin 0 -> 663 bytes graphics/pokemon/flaaffy/icon_gba.png | Bin 0 -> 376 bytes graphics/pokemon/flaaffy/normal_gba.pal | 19 + graphics/pokemon/flaaffy/shiny_gba.pal | 19 + graphics/pokemon/flareon/anim_front_gba.png | Bin 0 -> 1156 bytes graphics/pokemon/flareon/back_gba.png | Bin 0 -> 709 bytes graphics/pokemon/flareon/icon_gba.png | Bin 0 -> 380 bytes graphics/pokemon/flareon/normal_gba.pal | 19 + graphics/pokemon/flareon/shiny_gba.pal | 19 + graphics/pokemon/flygon/anim_front_gba.png | Bin 0 -> 1752 bytes graphics/pokemon/flygon/back_gba.png | Bin 0 -> 888 bytes graphics/pokemon/flygon/icon_gba.png | Bin 0 -> 411 bytes graphics/pokemon/flygon/normal_gba.pal | 19 + graphics/pokemon/flygon/shiny_gba.pal | 19 + .../pokemon/forretress/anim_front_gba.png | Bin 0 -> 1095 bytes graphics/pokemon/forretress/back_gba.png | Bin 0 -> 525 bytes graphics/pokemon/forretress/icon_gba.png | Bin 0 -> 332 bytes graphics/pokemon/forretress/normal_gba.pal | 19 + graphics/pokemon/forretress/shiny_gba.pal | 19 + graphics/pokemon/furret/anim_front_gba.png | Bin 0 -> 1122 bytes graphics/pokemon/furret/back_gba.png | Bin 0 -> 660 bytes graphics/pokemon/furret/icon_gba.png | Bin 0 -> 401 bytes graphics/pokemon/furret/normal_gba.pal | 19 + graphics/pokemon/furret/shiny_gba.pal | 19 + graphics/pokemon/gardevoir/anim_front_gba.png | Bin 0 -> 986 bytes graphics/pokemon/gardevoir/back_gba.png | Bin 0 -> 674 bytes graphics/pokemon/gardevoir/icon_gba.png | Bin 0 -> 386 bytes graphics/pokemon/gardevoir/normal_gba.pal | 19 + graphics/pokemon/gardevoir/shiny_gba.pal | 19 + graphics/pokemon/gastly/anim_front_gba.png | Bin 0 -> 1339 bytes graphics/pokemon/gastly/back_gba.png | Bin 0 -> 613 bytes graphics/pokemon/gastly/icon_gba.png | Bin 0 -> 442 bytes graphics/pokemon/gastly/normal_gba.pal | 19 + graphics/pokemon/gastly/shiny_gba.pal | 19 + graphics/pokemon/gengar/anim_front_gba.png | Bin 0 -> 1286 bytes graphics/pokemon/gengar/back_gba.png | Bin 0 -> 605 bytes graphics/pokemon/gengar/icon_gba.png | Bin 0 -> 382 bytes graphics/pokemon/gengar/normal_gba.pal | 19 + graphics/pokemon/gengar/shiny_gba.pal | 19 + graphics/pokemon/geodude/anim_front_gba.png | Bin 0 -> 733 bytes graphics/pokemon/geodude/back_gba.png | Bin 0 -> 506 bytes graphics/pokemon/geodude/icon_gba.png | Bin 0 -> 304 bytes graphics/pokemon/geodude/normal_gba.pal | 19 + graphics/pokemon/geodude/shiny_gba.pal | 19 + graphics/pokemon/girafarig/anim_front_gba.png | Bin 0 -> 1504 bytes graphics/pokemon/girafarig/back_gba.png | Bin 0 -> 769 bytes graphics/pokemon/girafarig/icon_gba.png | Bin 0 -> 370 bytes graphics/pokemon/girafarig/normal_gba.pal | 19 + graphics/pokemon/girafarig/shiny_gba.pal | 19 + graphics/pokemon/glalie/anim_front_gba.png | Bin 0 -> 1349 bytes graphics/pokemon/glalie/back_gba.png | Bin 0 -> 701 bytes graphics/pokemon/glalie/icon_gba.png | Bin 0 -> 305 bytes graphics/pokemon/glalie/normal_gba.pal | 19 + graphics/pokemon/glalie/shiny_gba.pal | 19 + graphics/pokemon/gligar/anim_front_gba.png | Bin 0 -> 1479 bytes graphics/pokemon/gligar/back_gba.png | Bin 0 -> 768 bytes graphics/pokemon/gligar/icon_gba.png | Bin 0 -> 425 bytes graphics/pokemon/gligar/normal_gba.pal | 19 + graphics/pokemon/gligar/shiny_gba.pal | 19 + graphics/pokemon/gloom/anim_front_gba.png | Bin 0 -> 1215 bytes graphics/pokemon/gloom/back_gba.png | Bin 0 -> 710 bytes graphics/pokemon/gloom/icon_gba.png | Bin 0 -> 313 bytes graphics/pokemon/gloom/normal_gba.pal | 19 + graphics/pokemon/gloom/shiny_gba.pal | 19 + graphics/pokemon/golbat/anim_front_gba.png | Bin 0 -> 1123 bytes graphics/pokemon/golbat/back_gba.png | Bin 0 -> 561 bytes graphics/pokemon/golbat/icon_gba.png | Bin 0 -> 355 bytes graphics/pokemon/golbat/normal_gba.pal | 19 + graphics/pokemon/golbat/shiny_gba.pal | 19 + graphics/pokemon/goldeen/anim_front_gba.png | Bin 0 -> 1150 bytes graphics/pokemon/goldeen/back_gba.png | Bin 0 -> 700 bytes graphics/pokemon/goldeen/icon_gba.png | Bin 0 -> 354 bytes graphics/pokemon/goldeen/normal_gba.pal | 19 + graphics/pokemon/goldeen/shiny_gba.pal | 19 + graphics/pokemon/golduck/anim_front_gba.png | Bin 0 -> 1234 bytes graphics/pokemon/golduck/back_gba.png | Bin 0 -> 630 bytes graphics/pokemon/golduck/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/golduck/normal_gba.pal | 19 + graphics/pokemon/golduck/shiny_gba.pal | 19 + graphics/pokemon/golem/anim_front_gba.png | Bin 0 -> 1295 bytes graphics/pokemon/golem/back_gba.png | Bin 0 -> 510 bytes graphics/pokemon/golem/footprint_gba.png | Bin 0 -> 114 bytes graphics/pokemon/golem/icon_gba.png | Bin 0 -> 395 bytes graphics/pokemon/golem/normal_gba.pal | 19 + graphics/pokemon/golem/shiny_gba.pal | 19 + graphics/pokemon/gorebyss/anim_front_gba.png | Bin 0 -> 1091 bytes graphics/pokemon/gorebyss/back_gba.png | Bin 0 -> 560 bytes graphics/pokemon/gorebyss/icon_gba.png | Bin 0 -> 382 bytes graphics/pokemon/gorebyss/normal_gba.pal | 19 + graphics/pokemon/gorebyss/shiny_gba.pal | 19 + graphics/pokemon/granbull/anim_front_gba.png | Bin 0 -> 1268 bytes graphics/pokemon/granbull/back_gba.png | Bin 0 -> 627 bytes graphics/pokemon/granbull/icon_gba.png | Bin 0 -> 352 bytes graphics/pokemon/granbull/normal_gba.pal | 19 + graphics/pokemon/granbull/shiny_gba.pal | 19 + graphics/pokemon/graveler/anim_front_gba.png | Bin 0 -> 1087 bytes graphics/pokemon/graveler/back_gba.png | Bin 0 -> 490 bytes graphics/pokemon/graveler/icon_gba.png | Bin 0 -> 366 bytes graphics/pokemon/graveler/normal_gba.pal | 19 + graphics/pokemon/graveler/shiny_gba.pal | 19 + graphics/pokemon/grimer/anim_front_gba.png | Bin 0 -> 985 bytes graphics/pokemon/grimer/back_gba.png | Bin 0 -> 568 bytes graphics/pokemon/grimer/icon_gba.png | Bin 0 -> 356 bytes graphics/pokemon/grimer/normal_gba.pal | 19 + graphics/pokemon/grimer/shiny_gba.pal | 19 + graphics/pokemon/groudon/anim_front_gba.png | Bin 0 -> 2050 bytes graphics/pokemon/groudon/back_gba.png | Bin 0 -> 890 bytes graphics/pokemon/groudon/icon_gba.png | Bin 0 -> 377 bytes graphics/pokemon/groudon/normal_gba.pal | 19 + graphics/pokemon/groudon/shiny_gba.pal | 19 + graphics/pokemon/grovyle/anim_front_gba.png | Bin 0 -> 1676 bytes graphics/pokemon/grovyle/back_gba.png | Bin 0 -> 657 bytes graphics/pokemon/grovyle/icon_gba.png | Bin 0 -> 363 bytes graphics/pokemon/grovyle/normal_gba.pal | 19 + graphics/pokemon/grovyle/shiny_gba.pal | 19 + graphics/pokemon/growlithe/anim_front_gba.png | Bin 0 -> 1142 bytes graphics/pokemon/growlithe/back_gba.png | Bin 0 -> 650 bytes graphics/pokemon/growlithe/icon_gba.png | Bin 0 -> 348 bytes graphics/pokemon/growlithe/normal_gba.pal | 19 + graphics/pokemon/growlithe/shiny_gba.pal | 19 + graphics/pokemon/grumpig/anim_front_gba.png | Bin 0 -> 1361 bytes graphics/pokemon/grumpig/back_gba.png | Bin 0 -> 727 bytes graphics/pokemon/grumpig/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/grumpig/normal_gba.pal | 19 + graphics/pokemon/grumpig/shiny_gba.pal | 19 + graphics/pokemon/gulpin/anim_front_gba.png | Bin 0 -> 595 bytes graphics/pokemon/gulpin/back_gba.png | Bin 0 -> 497 bytes graphics/pokemon/gulpin/icon_gba.png | Bin 0 -> 293 bytes graphics/pokemon/gulpin/normal_gba.pal | 19 + graphics/pokemon/gulpin/shiny_gba.pal | 19 + graphics/pokemon/gyarados/anim_front_gba.png | Bin 0 -> 1834 bytes graphics/pokemon/gyarados/back_gba.png | Bin 0 -> 999 bytes graphics/pokemon/gyarados/icon_gba.png | Bin 0 -> 524 bytes graphics/pokemon/gyarados/normal_gba.pal | 19 + graphics/pokemon/gyarados/shiny_gba.pal | 19 + graphics/pokemon/hariyama/anim_front_gba.png | Bin 0 -> 1808 bytes graphics/pokemon/hariyama/back_gba.png | Bin 0 -> 780 bytes graphics/pokemon/hariyama/icon_gba.png | Bin 0 -> 387 bytes graphics/pokemon/hariyama/normal_gba.pal | 19 + graphics/pokemon/hariyama/shiny_gba.pal | 19 + graphics/pokemon/haunter/anim_front_gba.png | Bin 0 -> 1321 bytes graphics/pokemon/haunter/back_gba.png | Bin 0 -> 651 bytes graphics/pokemon/haunter/icon_gba.png | Bin 0 -> 485 bytes graphics/pokemon/haunter/normal_gba.pal | 19 + graphics/pokemon/haunter/shiny_gba.pal | 19 + graphics/pokemon/heracross/anim_front_gba.png | Bin 0 -> 1273 bytes graphics/pokemon/heracross/back_gba.png | Bin 0 -> 690 bytes graphics/pokemon/heracross/icon_gba.png | Bin 0 -> 370 bytes graphics/pokemon/heracross/normal_gba.pal | 19 + graphics/pokemon/heracross/shiny_gba.pal | 19 + .../pokemon/hitmonchan/anim_front_gba.png | Bin 0 -> 1152 bytes graphics/pokemon/hitmonchan/back_gba.png | Bin 0 -> 632 bytes graphics/pokemon/hitmonchan/icon_gba.png | Bin 0 -> 306 bytes graphics/pokemon/hitmonchan/normal_gba.pal | 19 + graphics/pokemon/hitmonchan/shiny_gba.pal | 19 + graphics/pokemon/hitmonlee/anim_front_gba.png | Bin 0 -> 1407 bytes graphics/pokemon/hitmonlee/back_gba.png | Bin 0 -> 534 bytes graphics/pokemon/hitmonlee/icon_gba.png | Bin 0 -> 335 bytes graphics/pokemon/hitmonlee/normal_gba.pal | 19 + graphics/pokemon/hitmonlee/shiny_gba.pal | 19 + graphics/pokemon/hitmontop/anim_front_gba.png | Bin 0 -> 1153 bytes graphics/pokemon/hitmontop/back_gba.png | Bin 0 -> 892 bytes graphics/pokemon/hitmontop/icon_gba.png | Bin 0 -> 477 bytes graphics/pokemon/hitmontop/normal_gba.pal | 19 + graphics/pokemon/hitmontop/shiny_gba.pal | 19 + graphics/pokemon/ho_oh/anim_front_gba.png | Bin 0 -> 2369 bytes graphics/pokemon/ho_oh/back_gba.png | Bin 0 -> 831 bytes graphics/pokemon/ho_oh/icon_gba.png | Bin 0 -> 480 bytes graphics/pokemon/ho_oh/normal_gba.pal | 19 + graphics/pokemon/ho_oh/shiny_gba.pal | 19 + graphics/pokemon/hoothoot/anim_front_gba.png | Bin 0 -> 659 bytes graphics/pokemon/hoothoot/back_gba.png | Bin 0 -> 618 bytes graphics/pokemon/hoothoot/icon_gba.png | Bin 0 -> 350 bytes graphics/pokemon/hoothoot/normal_gba.pal | 19 + graphics/pokemon/hoothoot/shiny_gba.pal | 19 + graphics/pokemon/hoppip/anim_front_gba.png | Bin 0 -> 857 bytes graphics/pokemon/hoppip/back_gba.png | Bin 0 -> 582 bytes graphics/pokemon/hoppip/icon_gba.png | Bin 0 -> 367 bytes graphics/pokemon/hoppip/normal_gba.pal | 19 + graphics/pokemon/hoppip/shiny_gba.pal | 19 + graphics/pokemon/horsea/anim_front_gba.png | Bin 0 -> 659 bytes graphics/pokemon/horsea/back_gba.png | Bin 0 -> 585 bytes graphics/pokemon/horsea/icon_gba.png | Bin 0 -> 354 bytes graphics/pokemon/horsea/normal_gba.pal | 19 + graphics/pokemon/horsea/shiny_gba.pal | 19 + graphics/pokemon/houndoom/anim_front_gba.png | Bin 0 -> 1439 bytes graphics/pokemon/houndoom/back_gba.png | Bin 0 -> 626 bytes graphics/pokemon/houndoom/icon_gba.png | Bin 0 -> 406 bytes graphics/pokemon/houndoom/normal_gba.pal | 19 + graphics/pokemon/houndoom/shiny_gba.pal | 19 + graphics/pokemon/houndour/anim_front_gba.png | Bin 0 -> 909 bytes graphics/pokemon/houndour/back_gba.png | Bin 0 -> 508 bytes graphics/pokemon/houndour/icon_gba.png | Bin 0 -> 358 bytes graphics/pokemon/houndour/normal_gba.pal | 19 + graphics/pokemon/houndour/shiny_gba.pal | 19 + graphics/pokemon/huntail/anim_front_gba.png | Bin 0 -> 1406 bytes graphics/pokemon/huntail/back_gba.png | Bin 0 -> 688 bytes graphics/pokemon/huntail/icon_gba.png | Bin 0 -> 419 bytes graphics/pokemon/huntail/normal_gba.pal | 19 + graphics/pokemon/huntail/shiny_gba.pal | 19 + graphics/pokemon/hypno/anim_front_gba.png | Bin 0 -> 1215 bytes graphics/pokemon/hypno/back_gba.png | Bin 0 -> 658 bytes graphics/pokemon/hypno/icon_gba.png | Bin 0 -> 391 bytes graphics/pokemon/hypno/normal_gba.pal | 19 + graphics/pokemon/hypno/shiny_gba.pal | 19 + graphics/pokemon/igglybuff/anim_front_gba.png | Bin 0 -> 532 bytes graphics/pokemon/igglybuff/back_gba.png | Bin 0 -> 443 bytes graphics/pokemon/igglybuff/icon_gba.png | Bin 0 -> 322 bytes graphics/pokemon/igglybuff/normal_gba.pal | 19 + graphics/pokemon/igglybuff/shiny_gba.pal | 19 + graphics/pokemon/illumise/anim_front_gba.png | Bin 0 -> 1224 bytes graphics/pokemon/illumise/back_gba.png | Bin 0 -> 663 bytes graphics/pokemon/illumise/icon_gba.png | Bin 0 -> 325 bytes graphics/pokemon/illumise/normal_gba.pal | 19 + graphics/pokemon/illumise/shiny_gba.pal | 19 + graphics/pokemon/ivysaur/anim_front_gba.png | Bin 0 -> 1222 bytes graphics/pokemon/ivysaur/back_gba.png | Bin 0 -> 718 bytes graphics/pokemon/ivysaur/icon_gba.png | Bin 0 -> 326 bytes graphics/pokemon/ivysaur/normal_gba.pal | 19 + graphics/pokemon/ivysaur/shiny_gba.pal | 19 + .../pokemon/jigglypuff/anim_front_gba.png | Bin 0 -> 786 bytes graphics/pokemon/jigglypuff/back_gba.png | Bin 0 -> 451 bytes graphics/pokemon/jigglypuff/icon_gba.png | Bin 0 -> 315 bytes graphics/pokemon/jigglypuff/normal_gba.pal | 19 + graphics/pokemon/jigglypuff/shiny_gba.pal | 19 + graphics/pokemon/jirachi/anim_front_gba.png | Bin 0 -> 973 bytes graphics/pokemon/jirachi/back_gba.png | Bin 0 -> 738 bytes graphics/pokemon/jirachi/icon_gba.png | Bin 0 -> 340 bytes graphics/pokemon/jirachi/normal_gba.pal | 19 + graphics/pokemon/jirachi/shiny_gba.pal | 19 + graphics/pokemon/jolteon/anim_front_gba.png | Bin 0 -> 1266 bytes graphics/pokemon/jolteon/back_gba.png | Bin 0 -> 726 bytes graphics/pokemon/jolteon/icon_gba.png | Bin 0 -> 324 bytes graphics/pokemon/jolteon/normal_gba.pal | 19 + graphics/pokemon/jolteon/shiny_gba.pal | 19 + graphics/pokemon/jumpluff/anim_front_gba.png | Bin 0 -> 1019 bytes graphics/pokemon/jumpluff/back_gba.png | Bin 0 -> 809 bytes graphics/pokemon/jumpluff/icon_gba.png | Bin 0 -> 398 bytes graphics/pokemon/jumpluff/normal_gba.pal | 19 + graphics/pokemon/jumpluff/shiny_gba.pal | 19 + graphics/pokemon/jynx/anim_front_gba.png | Bin 0 -> 1764 bytes graphics/pokemon/jynx/back_gba.png | Bin 0 -> 615 bytes graphics/pokemon/jynx/icon_gba.png | Bin 0 -> 378 bytes graphics/pokemon/jynx/normal_gba.pal | 19 + graphics/pokemon/jynx/shiny_gba.pal | 19 + graphics/pokemon/kabuto/anim_front_gba.png | Bin 0 -> 578 bytes graphics/pokemon/kabuto/back_gba.png | Bin 0 -> 499 bytes graphics/pokemon/kabuto/icon_gba.png | Bin 0 -> 264 bytes graphics/pokemon/kabuto/normal_gba.pal | 19 + graphics/pokemon/kabuto/shiny_gba.pal | 19 + graphics/pokemon/kabutops/anim_front_gba.png | Bin 0 -> 1400 bytes graphics/pokemon/kabutops/back_gba.png | Bin 0 -> 753 bytes graphics/pokemon/kabutops/icon_gba.png | Bin 0 -> 322 bytes graphics/pokemon/kabutops/normal_gba.pal | 19 + graphics/pokemon/kabutops/shiny_gba.pal | 19 + graphics/pokemon/kadabra/anim_front_gba.png | Bin 0 -> 1579 bytes graphics/pokemon/kadabra/back_gba.png | Bin 0 -> 792 bytes graphics/pokemon/kadabra/icon_gba.png | Bin 0 -> 432 bytes graphics/pokemon/kadabra/normal_gba.pal | 19 + graphics/pokemon/kadabra/shiny_gba.pal | 19 + graphics/pokemon/kakuna/anim_front_gba.png | Bin 0 -> 621 bytes graphics/pokemon/kakuna/back_gba.png | Bin 0 -> 490 bytes graphics/pokemon/kakuna/icon_gba.png | Bin 0 -> 266 bytes graphics/pokemon/kakuna/normal_gba.pal | 19 + graphics/pokemon/kakuna/shiny_gba.pal | 19 + .../pokemon/kangaskhan/anim_front_gba.png | Bin 0 -> 1739 bytes graphics/pokemon/kangaskhan/back_gba.png | Bin 0 -> 881 bytes graphics/pokemon/kangaskhan/icon_gba.png | Bin 0 -> 389 bytes graphics/pokemon/kangaskhan/normal_gba.pal | 19 + graphics/pokemon/kangaskhan/shiny_gba.pal | 19 + graphics/pokemon/kecleon/anim_front_gba.png | Bin 0 -> 1252 bytes graphics/pokemon/kecleon/back_gba.png | Bin 0 -> 818 bytes graphics/pokemon/kecleon/icon_gba.png | Bin 0 -> 384 bytes graphics/pokemon/kecleon/normal_gba.pal | 19 + graphics/pokemon/kecleon/shiny_gba.pal | 19 + graphics/pokemon/kingdra/anim_front_gba.png | Bin 0 -> 1478 bytes graphics/pokemon/kingdra/back_gba.png | Bin 0 -> 743 bytes graphics/pokemon/kingdra/icon_gba.png | Bin 0 -> 385 bytes graphics/pokemon/kingdra/normal_gba.pal | 19 + graphics/pokemon/kingdra/shiny_gba.pal | 19 + graphics/pokemon/kingler/anim_front_gba.png | Bin 0 -> 1794 bytes graphics/pokemon/kingler/back_gba.png | Bin 0 -> 716 bytes graphics/pokemon/kingler/icon_gba.png | Bin 0 -> 440 bytes graphics/pokemon/kingler/normal_gba.pal | 19 + graphics/pokemon/kingler/shiny_gba.pal | 19 + graphics/pokemon/kirlia/anim_front_gba.png | Bin 0 -> 995 bytes graphics/pokemon/kirlia/back_gba.png | Bin 0 -> 723 bytes graphics/pokemon/kirlia/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/kirlia/normal_gba.pal | 19 + graphics/pokemon/kirlia/shiny_gba.pal | 19 + graphics/pokemon/koffing/anim_front_gba.png | Bin 0 -> 1189 bytes graphics/pokemon/koffing/back_gba.png | Bin 0 -> 634 bytes graphics/pokemon/koffing/icon_gba.png | Bin 0 -> 315 bytes graphics/pokemon/koffing/normal_gba.pal | 19 + graphics/pokemon/koffing/shiny_gba.pal | 19 + graphics/pokemon/krabby/anim_front_gba.png | Bin 0 -> 875 bytes graphics/pokemon/krabby/back_gba.png | Bin 0 -> 710 bytes graphics/pokemon/krabby/icon_gba.png | Bin 0 -> 432 bytes graphics/pokemon/krabby/normal_gba.pal | 19 + graphics/pokemon/krabby/shiny_gba.pal | 19 + graphics/pokemon/kyogre/anim_front_gba.png | Bin 0 -> 1569 bytes graphics/pokemon/kyogre/back_gba.png | Bin 0 -> 497 bytes graphics/pokemon/kyogre/icon_gba.png | Bin 0 -> 444 bytes graphics/pokemon/kyogre/normal_gba.pal | 19 + graphics/pokemon/kyogre/shiny_gba.pal | 19 + graphics/pokemon/lairon/anim_front_gba.png | Bin 0 -> 1222 bytes graphics/pokemon/lairon/back_gba.png | Bin 0 -> 575 bytes graphics/pokemon/lairon/icon_gba.png | Bin 0 -> 362 bytes graphics/pokemon/lairon/normal_gba.pal | 19 + graphics/pokemon/lairon/shiny_gba.pal | 19 + graphics/pokemon/lanturn/anim_front_gba.png | Bin 0 -> 1216 bytes graphics/pokemon/lanturn/back_gba.png | Bin 0 -> 644 bytes graphics/pokemon/lanturn/icon_gba.png | Bin 0 -> 442 bytes graphics/pokemon/lanturn/normal_gba.pal | 19 + graphics/pokemon/lanturn/shiny_gba.pal | 19 + graphics/pokemon/lapras/anim_front_gba.png | Bin 0 -> 1259 bytes graphics/pokemon/lapras/back_gba.png | Bin 0 -> 686 bytes graphics/pokemon/lapras/icon_gba.png | Bin 0 -> 409 bytes graphics/pokemon/lapras/normal_gba.pal | 19 + graphics/pokemon/lapras/shiny_gba.pal | 19 + graphics/pokemon/larvitar/anim_front_gba.png | Bin 0 -> 806 bytes graphics/pokemon/larvitar/back_gba.png | Bin 0 -> 517 bytes graphics/pokemon/larvitar/icon_gba.png | Bin 0 -> 304 bytes graphics/pokemon/larvitar/normal_gba.pal | 19 + graphics/pokemon/larvitar/shiny_gba.pal | 19 + graphics/pokemon/latias/anim_front_gba.png | Bin 0 -> 1201 bytes graphics/pokemon/latias/back_gba.png | Bin 0 -> 619 bytes graphics/pokemon/latias/icon_gba.png | Bin 0 -> 396 bytes graphics/pokemon/latias/normal_gba.pal | 19 + graphics/pokemon/latias/shiny_gba.pal | 19 + graphics/pokemon/latios/anim_front_gba.png | Bin 0 -> 1650 bytes graphics/pokemon/latios/back_gba.png | Bin 0 -> 672 bytes graphics/pokemon/latios/icon_gba.png | Bin 0 -> 396 bytes graphics/pokemon/latios/normal_gba.pal | 19 + graphics/pokemon/latios/shiny_gba.pal | 19 + graphics/pokemon/ledian/anim_front_gba.png | Bin 0 -> 919 bytes graphics/pokemon/ledian/back_gba.png | Bin 0 -> 720 bytes graphics/pokemon/ledian/icon_gba.png | Bin 0 -> 377 bytes graphics/pokemon/ledian/normal_gba.pal | 19 + graphics/pokemon/ledian/shiny_gba.pal | 19 + graphics/pokemon/ledyba/anim_front_gba.png | Bin 0 -> 958 bytes graphics/pokemon/ledyba/back_gba.png | Bin 0 -> 642 bytes graphics/pokemon/ledyba/icon_gba.png | Bin 0 -> 314 bytes graphics/pokemon/ledyba/normal_gba.pal | 19 + graphics/pokemon/ledyba/shiny_gba.pal | 19 + graphics/pokemon/lickitung/anim_front_gba.png | Bin 0 -> 1337 bytes graphics/pokemon/lickitung/back_gba.png | Bin 0 -> 551 bytes graphics/pokemon/lickitung/icon_gba.png | Bin 0 -> 368 bytes graphics/pokemon/lickitung/normal_gba.pal | 19 + graphics/pokemon/lickitung/shiny_gba.pal | 19 + graphics/pokemon/lileep/anim_front_gba.png | Bin 0 -> 1097 bytes graphics/pokemon/lileep/back_gba.png | Bin 0 -> 679 bytes graphics/pokemon/lileep/icon_gba.png | Bin 0 -> 361 bytes graphics/pokemon/lileep/normal_gba.pal | 19 + graphics/pokemon/lileep/shiny_gba.pal | 19 + graphics/pokemon/linoone/anim_front_gba.png | Bin 0 -> 1087 bytes graphics/pokemon/linoone/back_gba.png | Bin 0 -> 546 bytes graphics/pokemon/linoone/icon_gba.png | Bin 0 -> 390 bytes graphics/pokemon/linoone/normal_gba.pal | 19 + graphics/pokemon/linoone/shiny_gba.pal | 19 + graphics/pokemon/lombre/anim_front_gba.png | Bin 0 -> 1032 bytes graphics/pokemon/lombre/back_gba.png | Bin 0 -> 585 bytes graphics/pokemon/lombre/icon_gba.png | Bin 0 -> 319 bytes graphics/pokemon/lombre/normal_gba.pal | 19 + graphics/pokemon/lombre/shiny_gba.pal | 19 + graphics/pokemon/lotad/anim_front_gba.png | Bin 0 -> 740 bytes graphics/pokemon/lotad/back_gba.png | Bin 0 -> 544 bytes graphics/pokemon/lotad/icon_gba.png | Bin 0 -> 283 bytes graphics/pokemon/lotad/normal_gba.pal | 19 + graphics/pokemon/lotad/shiny_gba.pal | 19 + graphics/pokemon/loudred/anim_front_gba.png | Bin 0 -> 1328 bytes graphics/pokemon/loudred/back_gba.png | Bin 0 -> 686 bytes graphics/pokemon/loudred/icon_gba.png | Bin 0 -> 387 bytes graphics/pokemon/loudred/normal_gba.pal | 19 + graphics/pokemon/loudred/shiny_gba.pal | 19 + graphics/pokemon/ludicolo/anim_front_gba.png | Bin 0 -> 1569 bytes graphics/pokemon/ludicolo/back_gba.png | Bin 0 -> 604 bytes graphics/pokemon/ludicolo/footprint_gba.png | Bin 0 -> 111 bytes graphics/pokemon/ludicolo/icon_gba.png | Bin 0 -> 379 bytes graphics/pokemon/ludicolo/normal_gba.pal | 19 + graphics/pokemon/ludicolo/shiny_gba.pal | 19 + graphics/pokemon/lugia/anim_front_gba.png | Bin 0 -> 1699 bytes graphics/pokemon/lugia/back_gba.png | Bin 0 -> 783 bytes graphics/pokemon/lugia/icon_gba.png | Bin 0 -> 454 bytes graphics/pokemon/lugia/normal_gba.pal | 19 + graphics/pokemon/lugia/shiny_gba.pal | 19 + graphics/pokemon/lunatone/anim_front_gba.png | Bin 0 -> 1015 bytes graphics/pokemon/lunatone/back_gba.png | Bin 0 -> 719 bytes graphics/pokemon/lunatone/icon_gba.png | Bin 0 -> 261 bytes graphics/pokemon/lunatone/normal_gba.pal | 19 + graphics/pokemon/lunatone/shiny_gba.pal | 19 + graphics/pokemon/luvdisc/anim_front_gba.png | Bin 0 -> 480 bytes graphics/pokemon/luvdisc/back_gba.png | Bin 0 -> 357 bytes graphics/pokemon/luvdisc/icon_gba.png | Bin 0 -> 281 bytes graphics/pokemon/luvdisc/normal_gba.pal | 19 + graphics/pokemon/luvdisc/shiny_gba.pal | 19 + graphics/pokemon/machamp/anim_front_gba.png | Bin 0 -> 1350 bytes graphics/pokemon/machamp/back_gba.png | Bin 0 -> 903 bytes graphics/pokemon/machamp/icon_gba.png | Bin 0 -> 414 bytes graphics/pokemon/machamp/normal_gba.pal | 19 + graphics/pokemon/machamp/shiny_gba.pal | 19 + graphics/pokemon/machoke/anim_front_gba.png | Bin 0 -> 1255 bytes graphics/pokemon/machoke/back_gba.png | Bin 0 -> 675 bytes graphics/pokemon/machoke/icon_gba.png | Bin 0 -> 415 bytes graphics/pokemon/machoke/normal_gba.pal | 19 + graphics/pokemon/machoke/shiny_gba.pal | 19 + graphics/pokemon/machop/anim_front_gba.png | Bin 0 -> 735 bytes graphics/pokemon/machop/back_gba.png | Bin 0 -> 584 bytes graphics/pokemon/machop/icon_gba.png | Bin 0 -> 313 bytes graphics/pokemon/machop/normal_gba.pal | 19 + graphics/pokemon/machop/shiny_gba.pal | 19 + graphics/pokemon/magby/anim_front_gba.png | Bin 0 -> 799 bytes graphics/pokemon/magby/back_gba.png | Bin 0 -> 546 bytes graphics/pokemon/magby/icon_gba.png | Bin 0 -> 296 bytes graphics/pokemon/magby/normal_gba.pal | 19 + graphics/pokemon/magby/shiny_gba.pal | 19 + graphics/pokemon/magcargo/anim_front_gba.png | Bin 0 -> 1220 bytes graphics/pokemon/magcargo/back_gba.png | Bin 0 -> 829 bytes graphics/pokemon/magcargo/icon_gba.png | Bin 0 -> 444 bytes graphics/pokemon/magcargo/normal_gba.pal | 19 + graphics/pokemon/magcargo/shiny_gba.pal | 19 + graphics/pokemon/magikarp/anim_front_gba.png | Bin 0 -> 1199 bytes graphics/pokemon/magikarp/back_gba.png | Bin 0 -> 673 bytes graphics/pokemon/magikarp/icon_gba.png | Bin 0 -> 381 bytes graphics/pokemon/magikarp/normal_gba.pal | 19 + graphics/pokemon/magikarp/shiny_gba.pal | 19 + graphics/pokemon/magmar/anim_front_gba.png | Bin 0 -> 1744 bytes graphics/pokemon/magmar/back_gba.png | Bin 0 -> 691 bytes graphics/pokemon/magmar/icon_gba.png | Bin 0 -> 398 bytes graphics/pokemon/magmar/normal_gba.pal | 19 + graphics/pokemon/magmar/shiny_gba.pal | 19 + graphics/pokemon/magnemite/anim_front_gba.png | Bin 0 -> 571 bytes graphics/pokemon/magnemite/back_gba.png | Bin 0 -> 391 bytes graphics/pokemon/magnemite/icon_gba.png | Bin 0 -> 289 bytes graphics/pokemon/magnemite/normal_gba.pal | 19 + graphics/pokemon/magnemite/shiny_gba.pal | 19 + graphics/pokemon/magneton/anim_front_gba.png | Bin 0 -> 1269 bytes graphics/pokemon/magneton/back_gba.png | Bin 0 -> 749 bytes graphics/pokemon/magneton/icon_gba.png | Bin 0 -> 416 bytes graphics/pokemon/magneton/normal_gba.pal | 19 + graphics/pokemon/magneton/shiny_gba.pal | 19 + graphics/pokemon/makuhita/anim_front_gba.png | Bin 0 -> 857 bytes graphics/pokemon/makuhita/back_gba.png | Bin 0 -> 579 bytes graphics/pokemon/makuhita/icon_gba.png | Bin 0 -> 326 bytes graphics/pokemon/makuhita/normal_gba.pal | 19 + graphics/pokemon/makuhita/shiny_gba.pal | 19 + graphics/pokemon/manectric/anim_front_gba.png | Bin 0 -> 1150 bytes graphics/pokemon/manectric/back_gba.png | Bin 0 -> 437 bytes graphics/pokemon/manectric/icon_gba.png | Bin 0 -> 316 bytes graphics/pokemon/manectric/normal_gba.pal | 19 + graphics/pokemon/manectric/shiny_gba.pal | 19 + graphics/pokemon/mankey/anim_front_gba.png | Bin 0 -> 1088 bytes graphics/pokemon/mankey/back_gba.png | Bin 0 -> 695 bytes graphics/pokemon/mankey/icon_gba.png | Bin 0 -> 374 bytes graphics/pokemon/mankey/normal_gba.pal | 19 + graphics/pokemon/mankey/shiny_gba.pal | 19 + graphics/pokemon/mantine/anim_front_gba.png | Bin 0 -> 1556 bytes graphics/pokemon/mantine/back_gba.png | Bin 0 -> 526 bytes graphics/pokemon/mantine/icon_gba.png | Bin 0 -> 374 bytes graphics/pokemon/mantine/normal_gba.pal | 19 + graphics/pokemon/mantine/shiny_gba.pal | 19 + graphics/pokemon/mareep/anim_front_gba.png | Bin 0 -> 875 bytes graphics/pokemon/mareep/back_gba.png | Bin 0 -> 635 bytes graphics/pokemon/mareep/icon_gba.png | Bin 0 -> 391 bytes graphics/pokemon/mareep/normal_gba.pal | 19 + graphics/pokemon/mareep/shiny_gba.pal | 19 + graphics/pokemon/marill/anim_front_gba.png | Bin 0 -> 933 bytes graphics/pokemon/marill/back_gba.png | Bin 0 -> 514 bytes graphics/pokemon/marill/icon_gba.png | Bin 0 -> 365 bytes graphics/pokemon/marill/normal_gba.pal | 19 + graphics/pokemon/marill/shiny_gba.pal | 19 + graphics/pokemon/marowak/anim_front_gba.png | Bin 0 -> 1308 bytes graphics/pokemon/marowak/back_gba.png | Bin 0 -> 687 bytes graphics/pokemon/marowak/icon_gba.png | Bin 0 -> 388 bytes graphics/pokemon/marowak/normal_gba.pal | 19 + graphics/pokemon/marowak/shiny_gba.pal | 19 + graphics/pokemon/marshtomp/anim_front_gba.png | Bin 0 -> 1171 bytes graphics/pokemon/marshtomp/back_gba.png | Bin 0 -> 748 bytes graphics/pokemon/marshtomp/icon_gba.png | Bin 0 -> 294 bytes graphics/pokemon/marshtomp/normal_gba.pal | 19 + graphics/pokemon/marshtomp/shiny_gba.pal | 19 + .../pokemon/masquerain/anim_front_gba.png | Bin 0 -> 1293 bytes graphics/pokemon/masquerain/back_gba.png | Bin 0 -> 697 bytes graphics/pokemon/masquerain/icon_gba.png | Bin 0 -> 371 bytes graphics/pokemon/masquerain/normal_gba.pal | 19 + graphics/pokemon/masquerain/shiny_gba.pal | 19 + graphics/pokemon/mawile/anim_front_gba.png | Bin 0 -> 1448 bytes graphics/pokemon/mawile/back_gba.png | Bin 0 -> 825 bytes graphics/pokemon/mawile/footprint_gba.png | Bin 0 -> 116 bytes graphics/pokemon/mawile/icon_gba.png | Bin 0 -> 433 bytes graphics/pokemon/mawile/normal_gba.pal | 19 + graphics/pokemon/mawile/shiny_gba.pal | 19 + graphics/pokemon/medicham/anim_front_gba.png | Bin 0 -> 1055 bytes graphics/pokemon/medicham/back_gba.png | Bin 0 -> 696 bytes graphics/pokemon/medicham/icon_gba.png | Bin 0 -> 369 bytes graphics/pokemon/medicham/normal_gba.pal | 19 + graphics/pokemon/medicham/shiny_gba.pal | 19 + graphics/pokemon/meditite/anim_front_gba.png | Bin 0 -> 744 bytes graphics/pokemon/meditite/back_gba.png | Bin 0 -> 565 bytes graphics/pokemon/meditite/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/meditite/normal_gba.pal | 19 + graphics/pokemon/meditite/shiny_gba.pal | 19 + graphics/pokemon/meganium/anim_front_gba.png | Bin 0 -> 1902 bytes graphics/pokemon/meganium/back_gba.png | Bin 0 -> 736 bytes graphics/pokemon/meganium/icon_gba.png | Bin 0 -> 451 bytes graphics/pokemon/meganium/normal_gba.pal | 19 + graphics/pokemon/meganium/shiny_gba.pal | 19 + graphics/pokemon/meowth/anim_front_gba.png | Bin 0 -> 887 bytes graphics/pokemon/meowth/back_gba.png | Bin 0 -> 576 bytes graphics/pokemon/meowth/icon_gba.png | Bin 0 -> 304 bytes graphics/pokemon/meowth/normal_gba.pal | 19 + graphics/pokemon/meowth/shiny_gba.pal | 19 + graphics/pokemon/metagross/anim_front_gba.png | Bin 0 -> 1301 bytes graphics/pokemon/metagross/back_gba.png | Bin 0 -> 515 bytes graphics/pokemon/metagross/icon_gba.png | Bin 0 -> 439 bytes graphics/pokemon/metagross/normal_gba.pal | 19 + graphics/pokemon/metagross/shiny_gba.pal | 19 + graphics/pokemon/metang/anim_front_gba.png | Bin 0 -> 1556 bytes graphics/pokemon/metang/back_gba.png | Bin 0 -> 618 bytes graphics/pokemon/metang/icon_gba.png | Bin 0 -> 445 bytes graphics/pokemon/metang/normal_gba.pal | 19 + graphics/pokemon/metang/shiny_gba.pal | 19 + graphics/pokemon/metapod/anim_front_gba.png | Bin 0 -> 574 bytes graphics/pokemon/metapod/back_gba.png | Bin 0 -> 430 bytes graphics/pokemon/metapod/icon_gba.png | Bin 0 -> 241 bytes graphics/pokemon/metapod/normal_gba.pal | 19 + graphics/pokemon/metapod/shiny_gba.pal | 19 + graphics/pokemon/mew/anim_front_gba.png | Bin 0 -> 854 bytes graphics/pokemon/mew/back_gba.png | Bin 0 -> 551 bytes graphics/pokemon/mew/icon_gba.png | Bin 0 -> 377 bytes graphics/pokemon/mew/normal_gba.pal | 19 + graphics/pokemon/mew/shiny_gba.pal | 19 + graphics/pokemon/mewtwo/anim_front_gba.png | Bin 0 -> 1500 bytes graphics/pokemon/mewtwo/back_gba.png | Bin 0 -> 815 bytes graphics/pokemon/mewtwo/icon_gba.png | Bin 0 -> 368 bytes graphics/pokemon/mewtwo/normal_gba.pal | 19 + graphics/pokemon/mewtwo/shiny_gba.pal | 19 + graphics/pokemon/mightyena/anim_front_gba.png | Bin 0 -> 1465 bytes graphics/pokemon/mightyena/back_gba.png | Bin 0 -> 724 bytes graphics/pokemon/mightyena/icon_gba.png | Bin 0 -> 403 bytes graphics/pokemon/mightyena/normal_gba.pal | 19 + graphics/pokemon/mightyena/shiny_gba.pal | 19 + graphics/pokemon/milotic/anim_front_gba.png | Bin 0 -> 1786 bytes graphics/pokemon/milotic/back_gba.png | Bin 0 -> 588 bytes graphics/pokemon/milotic/icon_gba.png | Bin 0 -> 455 bytes graphics/pokemon/milotic/normal_gba.pal | 19 + graphics/pokemon/milotic/shiny_gba.pal | 19 + graphics/pokemon/miltank/anim_front_gba.png | Bin 0 -> 1271 bytes graphics/pokemon/miltank/back_gba.png | Bin 0 -> 731 bytes graphics/pokemon/miltank/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/miltank/normal_gba.pal | 19 + graphics/pokemon/miltank/shiny_gba.pal | 19 + graphics/pokemon/minun/anim_front_gba.png | Bin 0 -> 750 bytes graphics/pokemon/minun/back_gba.png | Bin 0 -> 575 bytes graphics/pokemon/minun/icon_gba.png | Bin 0 -> 296 bytes graphics/pokemon/minun/normal_gba.pal | 19 + graphics/pokemon/minun/shiny_gba.pal | 19 + .../pokemon/misdreavus/anim_front_gba.png | Bin 0 -> 933 bytes graphics/pokemon/misdreavus/back_gba.png | Bin 0 -> 618 bytes graphics/pokemon/misdreavus/icon_gba.png | Bin 0 -> 369 bytes graphics/pokemon/misdreavus/normal_gba.pal | 19 + graphics/pokemon/misdreavus/shiny_gba.pal | 19 + graphics/pokemon/moltres/anim_front_gba.png | Bin 0 -> 1851 bytes graphics/pokemon/moltres/back_gba.png | Bin 0 -> 682 bytes graphics/pokemon/moltres/icon_gba.png | Bin 0 -> 421 bytes graphics/pokemon/moltres/normal_gba.pal | 19 + graphics/pokemon/moltres/shiny_gba.pal | 19 + graphics/pokemon/mr_mime/anim_front_gba.png | Bin 0 -> 1265 bytes graphics/pokemon/mr_mime/back_gba.png | Bin 0 -> 677 bytes graphics/pokemon/mr_mime/icon_gba.png | Bin 0 -> 311 bytes graphics/pokemon/mr_mime/normal_gba.pal | 19 + graphics/pokemon/mr_mime/shiny_gba.pal | 19 + graphics/pokemon/mudkip/anim_front_gba.png | Bin 0 -> 962 bytes graphics/pokemon/mudkip/back_gba.png | Bin 0 -> 627 bytes graphics/pokemon/mudkip/icon_gba.png | Bin 0 -> 353 bytes graphics/pokemon/mudkip/normal_gba.pal | 19 + graphics/pokemon/mudkip/shiny_gba.pal | 19 + graphics/pokemon/muk/anim_front_gba.png | Bin 0 -> 1344 bytes graphics/pokemon/muk/back_gba.png | Bin 0 -> 661 bytes graphics/pokemon/muk/icon_gba.png | Bin 0 -> 441 bytes graphics/pokemon/muk/normal_gba.pal | 19 + graphics/pokemon/muk/shiny_gba.pal | 19 + graphics/pokemon/murkrow/anim_front_gba.png | Bin 0 -> 968 bytes graphics/pokemon/murkrow/back_gba.png | Bin 0 -> 640 bytes graphics/pokemon/murkrow/icon_gba.png | Bin 0 -> 370 bytes graphics/pokemon/murkrow/normal_gba.pal | 19 + graphics/pokemon/murkrow/shiny_gba.pal | 19 + graphics/pokemon/natu/anim_front_gba.png | Bin 0 -> 512 bytes graphics/pokemon/natu/back_gba.png | Bin 0 -> 401 bytes graphics/pokemon/natu/icon_gba.png | Bin 0 -> 318 bytes graphics/pokemon/natu/normal_gba.pal | 19 + graphics/pokemon/natu/shiny_gba.pal | 19 + graphics/pokemon/nidoking/anim_front_gba.png | Bin 0 -> 1708 bytes graphics/pokemon/nidoking/back_gba.png | Bin 0 -> 849 bytes graphics/pokemon/nidoking/icon_gba.png | Bin 0 -> 420 bytes graphics/pokemon/nidoking/normal_gba.pal | 19 + graphics/pokemon/nidoking/shiny_gba.pal | 19 + graphics/pokemon/nidoqueen/anim_front_gba.png | Bin 0 -> 1651 bytes graphics/pokemon/nidoqueen/back_gba.png | Bin 0 -> 761 bytes graphics/pokemon/nidoqueen/icon_gba.png | Bin 0 -> 374 bytes graphics/pokemon/nidoqueen/normal_gba.pal | 19 + graphics/pokemon/nidoqueen/shiny_gba.pal | 19 + graphics/pokemon/nidoran_f/anim_front_gba.png | Bin 0 -> 762 bytes graphics/pokemon/nidoran_f/back_gba.png | Bin 0 -> 593 bytes graphics/pokemon/nidoran_f/icon_gba.png | Bin 0 -> 287 bytes graphics/pokemon/nidoran_f/normal_gba.pal | 19 + graphics/pokemon/nidoran_f/shiny_gba.pal | 19 + graphics/pokemon/nidoran_m/anim_front_gba.png | Bin 0 -> 951 bytes graphics/pokemon/nidoran_m/back_gba.png | Bin 0 -> 630 bytes graphics/pokemon/nidoran_m/icon_gba.png | Bin 0 -> 326 bytes graphics/pokemon/nidoran_m/normal_gba.pal | 19 + graphics/pokemon/nidoran_m/shiny_gba.pal | 19 + graphics/pokemon/nidorina/anim_front_gba.png | Bin 0 -> 1149 bytes graphics/pokemon/nidorina/back_gba.png | Bin 0 -> 693 bytes graphics/pokemon/nidorina/icon_gba.png | Bin 0 -> 325 bytes graphics/pokemon/nidorina/normal_gba.pal | 19 + graphics/pokemon/nidorina/shiny_gba.pal | 19 + graphics/pokemon/nidorino/anim_front_gba.png | Bin 0 -> 1277 bytes graphics/pokemon/nidorino/back_gba.png | Bin 0 -> 741 bytes graphics/pokemon/nidorino/icon_gba.png | Bin 0 -> 324 bytes graphics/pokemon/nidorino/normal_gba.pal | 19 + graphics/pokemon/nidorino/shiny_gba.pal | 19 + graphics/pokemon/nincada/anim_front_gba.png | Bin 0 -> 857 bytes graphics/pokemon/nincada/back_gba.png | Bin 0 -> 576 bytes graphics/pokemon/nincada/icon_gba.png | Bin 0 -> 352 bytes graphics/pokemon/nincada/normal_gba.pal | 19 + graphics/pokemon/nincada/shiny_gba.pal | 19 + graphics/pokemon/ninetales/anim_front_gba.png | Bin 0 -> 1453 bytes graphics/pokemon/ninetales/back_gba.png | Bin 0 -> 680 bytes graphics/pokemon/ninetales/icon_gba.png | Bin 0 -> 421 bytes graphics/pokemon/ninetales/normal_gba.pal | 19 + graphics/pokemon/ninetales/shiny_gba.pal | 19 + graphics/pokemon/ninjask/anim_front_gba.png | Bin 0 -> 1014 bytes graphics/pokemon/ninjask/back_gba.png | Bin 0 -> 797 bytes graphics/pokemon/ninjask/icon_gba.png | Bin 0 -> 324 bytes graphics/pokemon/ninjask/normal_gba.pal | 19 + graphics/pokemon/ninjask/shiny_gba.pal | 19 + graphics/pokemon/noctowl/anim_front_gba.png | Bin 0 -> 1283 bytes graphics/pokemon/noctowl/back_gba.png | Bin 0 -> 659 bytes graphics/pokemon/noctowl/icon_gba.png | Bin 0 -> 362 bytes graphics/pokemon/noctowl/normal_gba.pal | 19 + graphics/pokemon/noctowl/shiny_gba.pal | 19 + graphics/pokemon/nosepass/anim_front_gba.png | Bin 0 -> 949 bytes graphics/pokemon/nosepass/back_gba.png | Bin 0 -> 517 bytes graphics/pokemon/nosepass/icon_gba.png | Bin 0 -> 282 bytes graphics/pokemon/nosepass/normal_gba.pal | 19 + graphics/pokemon/nosepass/shiny_gba.pal | 19 + graphics/pokemon/numel/anim_front_gba.png | Bin 0 -> 835 bytes graphics/pokemon/numel/back_gba.png | Bin 0 -> 573 bytes graphics/pokemon/numel/icon_gba.png | Bin 0 -> 301 bytes graphics/pokemon/numel/normal_gba.pal | 19 + graphics/pokemon/numel/shiny_gba.pal | 19 + graphics/pokemon/nuzleaf/anim_front_gba.png | Bin 0 -> 887 bytes graphics/pokemon/nuzleaf/back_gba.png | Bin 0 -> 583 bytes graphics/pokemon/nuzleaf/icon_gba.png | Bin 0 -> 342 bytes graphics/pokemon/nuzleaf/normal_gba.pal | 19 + graphics/pokemon/nuzleaf/shiny_gba.pal | 19 + graphics/pokemon/octillery/anim_front_gba.png | Bin 0 -> 1019 bytes graphics/pokemon/octillery/back_gba.png | Bin 0 -> 558 bytes graphics/pokemon/octillery/icon_gba.png | Bin 0 -> 349 bytes graphics/pokemon/octillery/normal_gba.pal | 19 + graphics/pokemon/octillery/shiny_gba.pal | 19 + graphics/pokemon/oddish/anim_front_gba.png | Bin 0 -> 634 bytes graphics/pokemon/oddish/back_gba.png | Bin 0 -> 497 bytes graphics/pokemon/oddish/icon_gba.png | Bin 0 -> 284 bytes graphics/pokemon/oddish/normal_gba.pal | 19 + graphics/pokemon/oddish/shiny_gba.pal | 19 + graphics/pokemon/omanyte/anim_front_gba.png | Bin 0 -> 690 bytes graphics/pokemon/omanyte/back_gba.png | Bin 0 -> 661 bytes graphics/pokemon/omanyte/icon_gba.png | Bin 0 -> 308 bytes graphics/pokemon/omanyte/normal_gba.pal | 19 + graphics/pokemon/omanyte/shiny_gba.pal | 19 + graphics/pokemon/omastar/anim_front_gba.png | Bin 0 -> 1179 bytes graphics/pokemon/omastar/back_gba.png | Bin 0 -> 634 bytes graphics/pokemon/omastar/icon_gba.png | Bin 0 -> 350 bytes graphics/pokemon/omastar/normal_gba.pal | 19 + graphics/pokemon/omastar/shiny_gba.pal | 19 + graphics/pokemon/onix/anim_front_gba.png | Bin 0 -> 1554 bytes graphics/pokemon/onix/back_gba.png | Bin 0 -> 696 bytes graphics/pokemon/onix/icon_gba.png | Bin 0 -> 456 bytes graphics/pokemon/onix/normal_gba.pal | 19 + graphics/pokemon/onix/shiny_gba.pal | 19 + graphics/pokemon/paras/anim_front_gba.png | Bin 0 -> 797 bytes graphics/pokemon/paras/back_gba.png | Bin 0 -> 509 bytes graphics/pokemon/paras/icon_gba.png | Bin 0 -> 387 bytes graphics/pokemon/paras/normal_gba.pal | 19 + graphics/pokemon/paras/shiny_gba.pal | 19 + graphics/pokemon/parasect/anim_front_gba.png | Bin 0 -> 1137 bytes graphics/pokemon/parasect/back_gba.png | Bin 0 -> 602 bytes graphics/pokemon/parasect/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/parasect/normal_gba.pal | 19 + graphics/pokemon/parasect/shiny_gba.pal | 19 + graphics/pokemon/pelipper/anim_front_gba.png | Bin 0 -> 1187 bytes graphics/pokemon/pelipper/back_gba.png | Bin 0 -> 737 bytes graphics/pokemon/pelipper/icon_gba.png | Bin 0 -> 374 bytes graphics/pokemon/pelipper/normal_gba.pal | 19 + graphics/pokemon/pelipper/shiny_gba.pal | 19 + graphics/pokemon/persian/anim_front_gba.png | Bin 0 -> 1342 bytes graphics/pokemon/persian/back_gba.png | Bin 0 -> 705 bytes graphics/pokemon/persian/icon_gba.png | Bin 0 -> 328 bytes graphics/pokemon/persian/normal_gba.pal | 19 + graphics/pokemon/persian/shiny_gba.pal | 19 + graphics/pokemon/phanpy/anim_front_gba.png | Bin 0 -> 760 bytes graphics/pokemon/phanpy/back_gba.png | Bin 0 -> 541 bytes graphics/pokemon/phanpy/icon_gba.png | Bin 0 -> 371 bytes graphics/pokemon/phanpy/normal_gba.pal | 19 + graphics/pokemon/phanpy/shiny_gba.pal | 19 + graphics/pokemon/pichu/anim_front_gba.png | Bin 0 -> 621 bytes graphics/pokemon/pichu/back_gba.png | Bin 0 -> 495 bytes graphics/pokemon/pichu/icon_gba.png | Bin 0 -> 281 bytes graphics/pokemon/pichu/normal_gba.pal | 19 + graphics/pokemon/pichu/shiny_gba.pal | 19 + graphics/pokemon/pidgeot/anim_front_gba.png | Bin 0 -> 1697 bytes graphics/pokemon/pidgeot/back_gba.png | Bin 0 -> 729 bytes graphics/pokemon/pidgeot/icon_gba.png | Bin 0 -> 456 bytes graphics/pokemon/pidgeot/normal_gba.pal | 19 + graphics/pokemon/pidgeot/shiny_gba.pal | 19 + graphics/pokemon/pidgeotto/anim_front_gba.png | Bin 0 -> 1321 bytes graphics/pokemon/pidgeotto/back_gba.png | Bin 0 -> 673 bytes graphics/pokemon/pidgeotto/icon_gba.png | Bin 0 -> 387 bytes graphics/pokemon/pidgeotto/normal_gba.pal | 19 + graphics/pokemon/pidgeotto/shiny_gba.pal | 19 + graphics/pokemon/pidgey/anim_front_gba.png | Bin 0 -> 936 bytes graphics/pokemon/pidgey/back_gba.png | Bin 0 -> 702 bytes graphics/pokemon/pidgey/icon_gba.png | Bin 0 -> 364 bytes graphics/pokemon/pidgey/normal_gba.pal | 19 + graphics/pokemon/pidgey/shiny_gba.pal | 19 + graphics/pokemon/pikachu/anim_front_gba.png | Bin 0 -> 937 bytes graphics/pokemon/pikachu/back_gba.png | Bin 0 -> 587 bytes graphics/pokemon/pikachu/icon_gba.png | Bin 0 -> 353 bytes graphics/pokemon/pikachu/normal_gba.pal | 19 + graphics/pokemon/pikachu/shiny_gba.pal | 19 + graphics/pokemon/piloswine/anim_front_gba.png | Bin 0 -> 895 bytes graphics/pokemon/piloswine/back_gba.png | Bin 0 -> 436 bytes graphics/pokemon/piloswine/icon_gba.png | Bin 0 -> 341 bytes graphics/pokemon/piloswine/normal_gba.pal | 19 + graphics/pokemon/piloswine/shiny_gba.pal | 19 + graphics/pokemon/pineco/anim_front_gba.png | Bin 0 -> 717 bytes graphics/pokemon/pineco/back_gba.png | Bin 0 -> 520 bytes graphics/pokemon/pineco/icon_gba.png | Bin 0 -> 290 bytes graphics/pokemon/pineco/normal_gba.pal | 19 + graphics/pokemon/pineco/shiny_gba.pal | 19 + graphics/pokemon/pinsir/anim_front_gba.png | Bin 0 -> 1460 bytes graphics/pokemon/pinsir/back_gba.png | Bin 0 -> 657 bytes graphics/pokemon/pinsir/icon_gba.png | Bin 0 -> 334 bytes graphics/pokemon/pinsir/normal_gba.pal | 19 + graphics/pokemon/pinsir/shiny_gba.pal | 19 + graphics/pokemon/plusle/anim_front_gba.png | Bin 0 -> 830 bytes graphics/pokemon/plusle/back_gba.png | Bin 0 -> 568 bytes graphics/pokemon/plusle/icon_gba.png | Bin 0 -> 303 bytes graphics/pokemon/plusle/normal_gba.pal | 19 + graphics/pokemon/plusle/shiny_gba.pal | 19 + graphics/pokemon/politoed/anim_front_gba.png | Bin 0 -> 1191 bytes graphics/pokemon/politoed/back_gba.png | Bin 0 -> 565 bytes graphics/pokemon/politoed/icon_gba.png | Bin 0 -> 428 bytes graphics/pokemon/politoed/normal_gba.pal | 19 + graphics/pokemon/politoed/shiny_gba.pal | 19 + graphics/pokemon/poliwag/anim_front_gba.png | Bin 0 -> 829 bytes graphics/pokemon/poliwag/back_gba.png | Bin 0 -> 469 bytes graphics/pokemon/poliwag/icon_gba.png | Bin 0 -> 339 bytes graphics/pokemon/poliwag/normal_gba.pal | 19 + graphics/pokemon/poliwag/shiny_gba.pal | 19 + graphics/pokemon/poliwhirl/anim_front_gba.png | Bin 0 -> 1073 bytes graphics/pokemon/poliwhirl/back_gba.png | Bin 0 -> 552 bytes graphics/pokemon/poliwhirl/icon_gba.png | Bin 0 -> 349 bytes graphics/pokemon/poliwhirl/normal_gba.pal | 19 + graphics/pokemon/poliwhirl/shiny_gba.pal | 19 + graphics/pokemon/poliwrath/anim_front_gba.png | Bin 0 -> 1201 bytes graphics/pokemon/poliwrath/back_gba.png | Bin 0 -> 638 bytes graphics/pokemon/poliwrath/icon_gba.png | Bin 0 -> 389 bytes graphics/pokemon/poliwrath/normal_gba.pal | 19 + graphics/pokemon/poliwrath/shiny_gba.pal | 19 + graphics/pokemon/ponyta/anim_front_gba.png | Bin 0 -> 1348 bytes graphics/pokemon/ponyta/back_gba.png | Bin 0 -> 680 bytes graphics/pokemon/ponyta/icon_gba.png | Bin 0 -> 457 bytes graphics/pokemon/ponyta/normal_gba.pal | 19 + graphics/pokemon/ponyta/shiny_gba.pal | 19 + graphics/pokemon/poochyena/anim_front_gba.png | Bin 0 -> 980 bytes graphics/pokemon/poochyena/back_gba.png | Bin 0 -> 676 bytes graphics/pokemon/poochyena/icon_gba.png | Bin 0 -> 360 bytes graphics/pokemon/poochyena/normal_gba.pal | 19 + graphics/pokemon/poochyena/shiny_gba.pal | 19 + graphics/pokemon/porygon/anim_front_gba.png | Bin 0 -> 819 bytes graphics/pokemon/porygon/back_gba.png | Bin 0 -> 537 bytes graphics/pokemon/porygon/icon_gba.png | Bin 0 -> 386 bytes graphics/pokemon/porygon/normal_gba.pal | 19 + graphics/pokemon/porygon/shiny_gba.pal | 19 + graphics/pokemon/porygon2/anim_front_gba.png | Bin 0 -> 800 bytes graphics/pokemon/porygon2/back_gba.png | Bin 0 -> 656 bytes graphics/pokemon/porygon2/icon_gba.png | Bin 0 -> 341 bytes graphics/pokemon/porygon2/normal_gba.pal | 19 + graphics/pokemon/porygon2/shiny_gba.pal | 19 + graphics/pokemon/primeape/anim_front_gba.png | Bin 0 -> 1309 bytes graphics/pokemon/primeape/back_gba.png | Bin 0 -> 714 bytes graphics/pokemon/primeape/icon_gba.png | Bin 0 -> 370 bytes graphics/pokemon/primeape/normal_gba.pal | 19 + graphics/pokemon/primeape/shiny_gba.pal | 19 + graphics/pokemon/psyduck/anim_front_gba.png | Bin 0 -> 962 bytes graphics/pokemon/psyduck/back_gba.png | Bin 0 -> 534 bytes graphics/pokemon/psyduck/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/psyduck/normal_gba.pal | 19 + graphics/pokemon/psyduck/shiny_gba.pal | 19 + graphics/pokemon/pupitar/anim_front_gba.png | Bin 0 -> 689 bytes graphics/pokemon/pupitar/back_gba.png | Bin 0 -> 642 bytes graphics/pokemon/pupitar/icon_gba.png | Bin 0 -> 291 bytes graphics/pokemon/pupitar/normal_gba.pal | 19 + graphics/pokemon/pupitar/shiny_gba.pal | 19 + graphics/pokemon/quagsire/anim_front_gba.png | Bin 0 -> 1206 bytes graphics/pokemon/quagsire/back_gba.png | Bin 0 -> 602 bytes graphics/pokemon/quagsire/icon_gba.png | Bin 0 -> 362 bytes graphics/pokemon/quagsire/normal_gba.pal | 19 + graphics/pokemon/quagsire/shiny_gba.pal | 19 + .../question_mark/circled/anim_front_gba.png | Bin 0 -> 405 bytes .../question_mark/circled/back_gba.png | Bin 0 -> 397 bytes .../question_mark/circled/normal_gba.pal | 19 + .../question_mark/circled/shiny_gba.pal | 19 + .../question_mark/double/anim_front_gba.png | Bin 0 -> 317 bytes .../pokemon/question_mark/double/back_gba.png | Bin 0 -> 308 bytes .../question_mark/double/normal_gba.pal | 19 + .../question_mark/double/shiny_gba.pal | 19 + .../pokemon/question_mark/footprint_gba.png | Bin 0 -> 127 bytes graphics/pokemon/question_mark/icon_gba.png | Bin 0 -> 271 bytes graphics/pokemon/quilava/anim_front_gba.png | Bin 0 -> 1192 bytes graphics/pokemon/quilava/back_gba.png | Bin 0 -> 746 bytes graphics/pokemon/quilava/icon_gba.png | Bin 0 -> 402 bytes graphics/pokemon/quilava/normal_gba.pal | 19 + graphics/pokemon/quilava/shiny_gba.pal | 19 + graphics/pokemon/qwilfish/anim_front_gba.png | Bin 0 -> 868 bytes graphics/pokemon/qwilfish/back_gba.png | Bin 0 -> 572 bytes graphics/pokemon/qwilfish/icon_gba.png | Bin 0 -> 337 bytes graphics/pokemon/qwilfish/normal_gba.pal | 19 + graphics/pokemon/qwilfish/shiny_gba.pal | 19 + graphics/pokemon/raichu/anim_front_gba.png | Bin 0 -> 1405 bytes graphics/pokemon/raichu/back_gba.png | Bin 0 -> 625 bytes graphics/pokemon/raichu/icon_gba.png | Bin 0 -> 411 bytes graphics/pokemon/raichu/normal_gba.pal | 19 + graphics/pokemon/raichu/shiny_gba.pal | 19 + graphics/pokemon/raikou/anim_front_gba.png | Bin 0 -> 2028 bytes graphics/pokemon/raikou/back_gba.png | Bin 0 -> 745 bytes graphics/pokemon/raikou/icon_gba.png | Bin 0 -> 486 bytes graphics/pokemon/raikou/normal_gba.pal | 19 + graphics/pokemon/raikou/shiny_gba.pal | 19 + graphics/pokemon/ralts/anim_front_gba.png | Bin 0 -> 666 bytes graphics/pokemon/ralts/back_gba.png | Bin 0 -> 451 bytes graphics/pokemon/ralts/icon_gba.png | Bin 0 -> 262 bytes graphics/pokemon/ralts/normal_gba.pal | 19 + graphics/pokemon/ralts/shiny_gba.pal | 19 + graphics/pokemon/rapidash/anim_front_gba.png | Bin 0 -> 1871 bytes graphics/pokemon/rapidash/back_gba.png | Bin 0 -> 840 bytes graphics/pokemon/rapidash/icon_gba.png | Bin 0 -> 478 bytes graphics/pokemon/rapidash/normal_gba.pal | 19 + graphics/pokemon/rapidash/shiny_gba.pal | 19 + graphics/pokemon/raticate/anim_front_gba.png | Bin 0 -> 1183 bytes graphics/pokemon/raticate/back_gba.png | Bin 0 -> 676 bytes graphics/pokemon/raticate/icon_gba.png | Bin 0 -> 374 bytes graphics/pokemon/raticate/normal_gba.pal | 19 + graphics/pokemon/raticate/shiny_gba.pal | 19 + graphics/pokemon/rattata/anim_front_gba.png | Bin 0 -> 734 bytes graphics/pokemon/rattata/back_gba.png | Bin 0 -> 577 bytes graphics/pokemon/rattata/icon_gba.png | Bin 0 -> 318 bytes graphics/pokemon/rattata/normal_gba.pal | 19 + graphics/pokemon/rattata/shiny_gba.pal | 19 + graphics/pokemon/rayquaza/anim_front_gba.png | Bin 0 -> 1856 bytes graphics/pokemon/rayquaza/back_gba.png | Bin 0 -> 666 bytes graphics/pokemon/rayquaza/icon_gba.png | Bin 0 -> 507 bytes graphics/pokemon/rayquaza/normal_gba.pal | 19 + graphics/pokemon/rayquaza/shiny_gba.pal | 19 + graphics/pokemon/regice/anim_front_gba.png | Bin 0 -> 1492 bytes graphics/pokemon/regice/back_gba.png | Bin 0 -> 551 bytes graphics/pokemon/regice/icon_gba.png | Bin 0 -> 334 bytes graphics/pokemon/regice/normal_gba.pal | 19 + graphics/pokemon/regice/shiny_gba.pal | 19 + graphics/pokemon/regirock/anim_front_gba.png | Bin 0 -> 1637 bytes graphics/pokemon/regirock/back_gba.png | Bin 0 -> 859 bytes graphics/pokemon/regirock/icon_gba.png | Bin 0 -> 379 bytes graphics/pokemon/regirock/normal_gba.pal | 19 + graphics/pokemon/regirock/shiny_gba.pal | 19 + graphics/pokemon/registeel/anim_front_gba.png | Bin 0 -> 1587 bytes graphics/pokemon/registeel/back_gba.png | Bin 0 -> 615 bytes graphics/pokemon/registeel/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/registeel/normal_gba.pal | 19 + graphics/pokemon/registeel/shiny_gba.pal | 19 + graphics/pokemon/relicanth/anim_front_gba.png | Bin 0 -> 998 bytes graphics/pokemon/relicanth/back_gba.png | Bin 0 -> 704 bytes graphics/pokemon/relicanth/icon_gba.png | Bin 0 -> 413 bytes graphics/pokemon/relicanth/normal_gba.pal | 19 + graphics/pokemon/relicanth/shiny_gba.pal | 19 + graphics/pokemon/remoraid/anim_front_gba.png | Bin 0 -> 756 bytes graphics/pokemon/remoraid/back_gba.png | Bin 0 -> 596 bytes graphics/pokemon/remoraid/icon_gba.png | Bin 0 -> 330 bytes graphics/pokemon/remoraid/normal_gba.pal | 19 + graphics/pokemon/remoraid/shiny_gba.pal | 19 + graphics/pokemon/rhydon/anim_front_gba.png | Bin 0 -> 1762 bytes graphics/pokemon/rhydon/back_gba.png | Bin 0 -> 880 bytes graphics/pokemon/rhydon/icon_gba.png | Bin 0 -> 381 bytes graphics/pokemon/rhydon/normal_gba.pal | 19 + graphics/pokemon/rhydon/shiny_gba.pal | 19 + graphics/pokemon/rhyhorn/anim_front_gba.png | Bin 0 -> 1265 bytes graphics/pokemon/rhyhorn/back_gba.png | Bin 0 -> 633 bytes graphics/pokemon/rhyhorn/icon_gba.png | Bin 0 -> 356 bytes graphics/pokemon/rhyhorn/normal_gba.pal | 19 + graphics/pokemon/rhyhorn/shiny_gba.pal | 19 + graphics/pokemon/roselia/anim_front_gba.png | Bin 0 -> 1203 bytes graphics/pokemon/roselia/back_gba.png | Bin 0 -> 774 bytes graphics/pokemon/roselia/icon_gba.png | Bin 0 -> 414 bytes graphics/pokemon/roselia/normal_gba.pal | 19 + graphics/pokemon/roselia/shiny_gba.pal | 19 + graphics/pokemon/sableye/anim_front_gba.png | Bin 0 -> 839 bytes graphics/pokemon/sableye/back_gba.png | Bin 0 -> 654 bytes graphics/pokemon/sableye/icon_gba.png | Bin 0 -> 319 bytes graphics/pokemon/sableye/normal_gba.pal | 19 + graphics/pokemon/sableye/shiny_gba.pal | 19 + graphics/pokemon/salamence/anim_front_gba.png | Bin 0 -> 1419 bytes graphics/pokemon/salamence/back_gba.png | Bin 0 -> 578 bytes graphics/pokemon/salamence/icon_gba.png | Bin 0 -> 477 bytes graphics/pokemon/salamence/normal_gba.pal | 19 + graphics/pokemon/salamence/shiny_gba.pal | 19 + graphics/pokemon/sandshrew/anim_front_gba.png | Bin 0 -> 894 bytes graphics/pokemon/sandshrew/back_gba.png | Bin 0 -> 606 bytes graphics/pokemon/sandshrew/icon_gba.png | Bin 0 -> 338 bytes graphics/pokemon/sandshrew/normal_gba.pal | 19 + graphics/pokemon/sandshrew/shiny_gba.pal | 19 + graphics/pokemon/sandslash/anim_front_gba.png | Bin 0 -> 1445 bytes graphics/pokemon/sandslash/back_gba.png | Bin 0 -> 837 bytes graphics/pokemon/sandslash/icon_gba.png | Bin 0 -> 402 bytes graphics/pokemon/sandslash/normal_gba.pal | 19 + graphics/pokemon/sandslash/shiny_gba.pal | 19 + graphics/pokemon/sceptile/anim_front_gba.png | Bin 0 -> 1387 bytes graphics/pokemon/sceptile/back_gba.png | Bin 0 -> 838 bytes graphics/pokemon/sceptile/icon_gba.png | Bin 0 -> 383 bytes graphics/pokemon/sceptile/normal_gba.pal | 19 + graphics/pokemon/sceptile/shiny_gba.pal | 19 + graphics/pokemon/scizor/anim_front_gba.png | Bin 0 -> 1603 bytes graphics/pokemon/scizor/back_gba.png | Bin 0 -> 739 bytes graphics/pokemon/scizor/icon_gba.png | Bin 0 -> 447 bytes graphics/pokemon/scizor/normal_gba.pal | 19 + graphics/pokemon/scizor/shiny_gba.pal | 19 + graphics/pokemon/scyther/anim_front_gba.png | Bin 0 -> 1543 bytes graphics/pokemon/scyther/back_gba.png | Bin 0 -> 744 bytes graphics/pokemon/scyther/icon_gba.png | Bin 0 -> 345 bytes graphics/pokemon/scyther/normal_gba.pal | 19 + graphics/pokemon/scyther/shiny_gba.pal | 19 + graphics/pokemon/seadra/anim_front_gba.png | Bin 0 -> 1285 bytes graphics/pokemon/seadra/back_gba.png | Bin 0 -> 727 bytes graphics/pokemon/seadra/icon_gba.png | Bin 0 -> 351 bytes graphics/pokemon/seadra/normal_gba.pal | 19 + graphics/pokemon/seadra/shiny_gba.pal | 19 + graphics/pokemon/seaking/anim_front_gba.png | Bin 0 -> 1577 bytes graphics/pokemon/seaking/back_gba.png | Bin 0 -> 693 bytes graphics/pokemon/seaking/icon_gba.png | Bin 0 -> 368 bytes graphics/pokemon/seaking/normal_gba.pal | 19 + graphics/pokemon/seaking/shiny_gba.pal | 19 + graphics/pokemon/sealeo/anim_front_gba.png | Bin 0 -> 1215 bytes graphics/pokemon/sealeo/back_gba.png | Bin 0 -> 503 bytes graphics/pokemon/sealeo/icon_gba.png | Bin 0 -> 387 bytes graphics/pokemon/sealeo/normal_gba.pal | 19 + graphics/pokemon/sealeo/shiny_gba.pal | 19 + graphics/pokemon/seedot/anim_front_gba.png | Bin 0 -> 800 bytes graphics/pokemon/seedot/back_gba.png | Bin 0 -> 561 bytes graphics/pokemon/seedot/icon_gba.png | Bin 0 -> 271 bytes graphics/pokemon/seedot/normal_gba.pal | 19 + graphics/pokemon/seedot/shiny_gba.pal | 19 + graphics/pokemon/seel/anim_front_gba.png | Bin 0 -> 1042 bytes graphics/pokemon/seel/back_gba.png | Bin 0 -> 581 bytes graphics/pokemon/seel/icon_gba.png | Bin 0 -> 382 bytes graphics/pokemon/seel/normal_gba.pal | 19 + graphics/pokemon/seel/shiny_gba.pal | 19 + graphics/pokemon/sentret/anim_front_gba.png | Bin 0 -> 884 bytes graphics/pokemon/sentret/back_gba.png | Bin 0 -> 549 bytes graphics/pokemon/sentret/icon_gba.png | Bin 0 -> 363 bytes graphics/pokemon/sentret/normal_gba.pal | 19 + graphics/pokemon/sentret/shiny_gba.pal | 19 + graphics/pokemon/seviper/anim_front_gba.png | Bin 0 -> 1488 bytes graphics/pokemon/seviper/back_gba.png | Bin 0 -> 934 bytes graphics/pokemon/seviper/icon_gba.png | Bin 0 -> 368 bytes graphics/pokemon/seviper/normal_gba.pal | 19 + graphics/pokemon/seviper/shiny_gba.pal | 19 + graphics/pokemon/sharpedo/anim_front_gba.png | Bin 0 -> 1177 bytes graphics/pokemon/sharpedo/back_gba.png | Bin 0 -> 676 bytes graphics/pokemon/sharpedo/icon_gba.png | Bin 0 -> 373 bytes graphics/pokemon/sharpedo/normal_gba.pal | 19 + graphics/pokemon/sharpedo/shiny_gba.pal | 19 + graphics/pokemon/shedinja/anim_front_gba.png | Bin 0 -> 1073 bytes graphics/pokemon/shedinja/back_gba.png | Bin 0 -> 763 bytes graphics/pokemon/shedinja/icon_gba.png | Bin 0 -> 298 bytes graphics/pokemon/shedinja/normal_gba.pal | 19 + graphics/pokemon/shedinja/shiny_gba.pal | 19 + graphics/pokemon/shelgon/anim_front_gba.png | Bin 0 -> 1028 bytes graphics/pokemon/shelgon/back_gba.png | Bin 0 -> 549 bytes graphics/pokemon/shelgon/icon_gba.png | Bin 0 -> 333 bytes graphics/pokemon/shelgon/normal_gba.pal | 19 + graphics/pokemon/shelgon/shiny_gba.pal | 19 + graphics/pokemon/shellder/anim_front_gba.png | Bin 0 -> 733 bytes graphics/pokemon/shellder/back_gba.png | Bin 0 -> 586 bytes graphics/pokemon/shellder/icon_gba.png | Bin 0 -> 295 bytes graphics/pokemon/shellder/normal_gba.pal | 19 + graphics/pokemon/shellder/shiny_gba.pal | 19 + graphics/pokemon/shiftry/anim_front_gba.png | Bin 0 -> 1150 bytes graphics/pokemon/shiftry/back_gba.png | Bin 0 -> 580 bytes graphics/pokemon/shiftry/icon_gba.png | Bin 0 -> 349 bytes graphics/pokemon/shiftry/normal_gba.pal | 19 + graphics/pokemon/shiftry/shiny_gba.pal | 19 + graphics/pokemon/shroomish/anim_front_gba.png | Bin 0 -> 642 bytes graphics/pokemon/shroomish/back_gba.png | Bin 0 -> 540 bytes graphics/pokemon/shroomish/footprint_gba.png | Bin 0 -> 104 bytes graphics/pokemon/shroomish/icon_gba.png | Bin 0 -> 317 bytes graphics/pokemon/shroomish/normal_gba.pal | 19 + graphics/pokemon/shroomish/shiny_gba.pal | 19 + graphics/pokemon/shuckle/anim_front_gba.png | Bin 0 -> 796 bytes graphics/pokemon/shuckle/back_gba.png | Bin 0 -> 483 bytes graphics/pokemon/shuckle/icon_gba.png | Bin 0 -> 334 bytes graphics/pokemon/shuckle/normal_gba.pal | 19 + graphics/pokemon/shuckle/shiny_gba.pal | 19 + graphics/pokemon/shuppet/anim_front_gba.png | Bin 0 -> 543 bytes graphics/pokemon/shuppet/back_gba.png | Bin 0 -> 485 bytes graphics/pokemon/shuppet/icon_gba.png | Bin 0 -> 275 bytes graphics/pokemon/shuppet/normal_gba.pal | 19 + graphics/pokemon/shuppet/shiny_gba.pal | 19 + graphics/pokemon/silcoon/anim_front_gba.png | Bin 0 -> 584 bytes graphics/pokemon/silcoon/back_gba.png | Bin 0 -> 396 bytes graphics/pokemon/silcoon/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/silcoon/normal_gba.pal | 19 + graphics/pokemon/silcoon/shiny_gba.pal | 19 + graphics/pokemon/skarmory/anim_front_gba.png | Bin 0 -> 1559 bytes graphics/pokemon/skarmory/back_gba.png | Bin 0 -> 577 bytes graphics/pokemon/skarmory/icon_gba.png | Bin 0 -> 418 bytes graphics/pokemon/skarmory/normal_gba.pal | 19 + graphics/pokemon/skarmory/shiny_gba.pal | 19 + graphics/pokemon/skiploom/anim_front_gba.png | Bin 0 -> 717 bytes graphics/pokemon/skiploom/back_gba.png | Bin 0 -> 575 bytes graphics/pokemon/skiploom/icon_gba.png | Bin 0 -> 375 bytes graphics/pokemon/skiploom/normal_gba.pal | 19 + graphics/pokemon/skiploom/shiny_gba.pal | 19 + graphics/pokemon/skitty/anim_front_gba.png | Bin 0 -> 1035 bytes graphics/pokemon/skitty/back_gba.png | Bin 0 -> 677 bytes graphics/pokemon/skitty/icon_gba.png | Bin 0 -> 371 bytes graphics/pokemon/skitty/normal_gba.pal | 19 + graphics/pokemon/skitty/shiny_gba.pal | 19 + graphics/pokemon/slaking/anim_front_gba.png | Bin 0 -> 1335 bytes graphics/pokemon/slaking/back_gba.png | Bin 0 -> 788 bytes graphics/pokemon/slaking/icon_gba.png | Bin 0 -> 437 bytes graphics/pokemon/slaking/normal_gba.pal | 19 + graphics/pokemon/slaking/shiny_gba.pal | 19 + graphics/pokemon/slakoth/anim_front_gba.png | Bin 0 -> 652 bytes graphics/pokemon/slakoth/back_gba.png | Bin 0 -> 583 bytes graphics/pokemon/slakoth/icon_gba.png | Bin 0 -> 319 bytes graphics/pokemon/slakoth/normal_gba.pal | 19 + graphics/pokemon/slakoth/shiny_gba.pal | 19 + graphics/pokemon/slowbro/anim_front_gba.png | Bin 0 -> 1475 bytes graphics/pokemon/slowbro/back_gba.png | Bin 0 -> 737 bytes graphics/pokemon/slowbro/icon_gba.png | Bin 0 -> 446 bytes graphics/pokemon/slowbro/normal_gba.pal | 19 + graphics/pokemon/slowbro/shiny_gba.pal | 19 + graphics/pokemon/slowking/anim_front_gba.png | Bin 0 -> 1166 bytes graphics/pokemon/slowking/back_gba.png | Bin 0 -> 712 bytes graphics/pokemon/slowking/icon_gba.png | Bin 0 -> 364 bytes graphics/pokemon/slowking/normal_gba.pal | 19 + graphics/pokemon/slowking/shiny_gba.pal | 19 + graphics/pokemon/slowpoke/anim_front_gba.png | Bin 0 -> 889 bytes graphics/pokemon/slowpoke/back_gba.png | Bin 0 -> 494 bytes graphics/pokemon/slowpoke/icon_gba.png | Bin 0 -> 342 bytes graphics/pokemon/slowpoke/normal_gba.pal | 19 + graphics/pokemon/slowpoke/shiny_gba.pal | 19 + graphics/pokemon/slugma/anim_front_gba.png | Bin 0 -> 723 bytes graphics/pokemon/slugma/back_gba.png | Bin 0 -> 584 bytes graphics/pokemon/slugma/icon_gba.png | Bin 0 -> 343 bytes graphics/pokemon/slugma/normal_gba.pal | 19 + graphics/pokemon/slugma/shiny_gba.pal | 19 + graphics/pokemon/smeargle/anim_front_gba.png | Bin 0 -> 1312 bytes graphics/pokemon/smeargle/back_gba.png | Bin 0 -> 648 bytes graphics/pokemon/smeargle/icon_gba.png | Bin 0 -> 377 bytes graphics/pokemon/smeargle/normal_gba.pal | 19 + graphics/pokemon/smeargle/shiny_gba.pal | 19 + graphics/pokemon/smoochum/anim_front_gba.png | Bin 0 -> 678 bytes graphics/pokemon/smoochum/back_gba.png | Bin 0 -> 507 bytes graphics/pokemon/smoochum/icon_gba.png | Bin 0 -> 414 bytes graphics/pokemon/smoochum/normal_gba.pal | 19 + graphics/pokemon/smoochum/shiny_gba.pal | 19 + graphics/pokemon/sneasel/anim_front_gba.png | Bin 0 -> 1121 bytes graphics/pokemon/sneasel/back_gba.png | Bin 0 -> 664 bytes graphics/pokemon/sneasel/icon_gba.png | Bin 0 -> 347 bytes graphics/pokemon/sneasel/normal_gba.pal | 19 + graphics/pokemon/sneasel/shiny_gba.pal | 19 + graphics/pokemon/snorlax/anim_front_gba.png | Bin 0 -> 1368 bytes graphics/pokemon/snorlax/back_gba.png | Bin 0 -> 419 bytes graphics/pokemon/snorlax/icon_gba.png | Bin 0 -> 346 bytes graphics/pokemon/snorlax/normal_gba.pal | 19 + graphics/pokemon/snorlax/shiny_gba.pal | 19 + graphics/pokemon/snorunt/anim_front_gba.png | Bin 0 -> 914 bytes graphics/pokemon/snorunt/back_gba.png | Bin 0 -> 557 bytes graphics/pokemon/snorunt/icon_gba.png | Bin 0 -> 283 bytes graphics/pokemon/snorunt/normal_gba.pal | 19 + graphics/pokemon/snorunt/shiny_gba.pal | 19 + graphics/pokemon/snubbull/anim_front_gba.png | Bin 0 -> 929 bytes graphics/pokemon/snubbull/back_gba.png | Bin 0 -> 627 bytes graphics/pokemon/snubbull/icon_gba.png | Bin 0 -> 325 bytes graphics/pokemon/snubbull/normal_gba.pal | 19 + graphics/pokemon/snubbull/shiny_gba.pal | 19 + graphics/pokemon/solrock/anim_front_gba.png | Bin 0 -> 1585 bytes graphics/pokemon/solrock/back_gba.png | Bin 0 -> 802 bytes graphics/pokemon/solrock/icon_gba.png | Bin 0 -> 286 bytes graphics/pokemon/solrock/normal_gba.pal | 19 + graphics/pokemon/solrock/shiny_gba.pal | 19 + graphics/pokemon/spearow/anim_front_gba.png | Bin 0 -> 899 bytes graphics/pokemon/spearow/back_gba.png | Bin 0 -> 601 bytes graphics/pokemon/spearow/icon_gba.png | Bin 0 -> 346 bytes graphics/pokemon/spearow/normal_gba.pal | 19 + graphics/pokemon/spearow/shiny_gba.pal | 19 + graphics/pokemon/spheal/anim_front_gba.png | Bin 0 -> 768 bytes graphics/pokemon/spheal/back_gba.png | Bin 0 -> 405 bytes graphics/pokemon/spheal/icon_gba.png | Bin 0 -> 317 bytes graphics/pokemon/spheal/normal_gba.pal | 19 + graphics/pokemon/spheal/shiny_gba.pal | 19 + graphics/pokemon/spinarak/anim_front_gba.png | Bin 0 -> 759 bytes graphics/pokemon/spinarak/back_gba.png | Bin 0 -> 465 bytes graphics/pokemon/spinarak/icon_gba.png | Bin 0 -> 345 bytes graphics/pokemon/spinarak/normal_gba.pal | 19 + graphics/pokemon/spinarak/shiny_gba.pal | 19 + graphics/pokemon/spoink/anim_front_gba.png | Bin 0 -> 663 bytes graphics/pokemon/spoink/back_gba.png | Bin 0 -> 453 bytes graphics/pokemon/spoink/icon_gba.png | Bin 0 -> 277 bytes graphics/pokemon/spoink/normal_gba.pal | 19 + graphics/pokemon/spoink/shiny_gba.pal | 19 + graphics/pokemon/squirtle/anim_front_gba.png | Bin 0 -> 899 bytes graphics/pokemon/squirtle/back_gba.png | Bin 0 -> 485 bytes graphics/pokemon/squirtle/icon_gba.png | Bin 0 -> 344 bytes graphics/pokemon/squirtle/normal_gba.pal | 19 + graphics/pokemon/squirtle/shiny_gba.pal | 19 + graphics/pokemon/stantler/anim_front_gba.png | Bin 0 -> 1513 bytes graphics/pokemon/stantler/back_gba.png | Bin 0 -> 680 bytes graphics/pokemon/stantler/icon_gba.png | Bin 0 -> 356 bytes graphics/pokemon/stantler/normal_gba.pal | 19 + graphics/pokemon/stantler/shiny_gba.pal | 19 + graphics/pokemon/starmie/anim_front_gba.png | Bin 0 -> 1253 bytes graphics/pokemon/starmie/back_gba.png | Bin 0 -> 501 bytes graphics/pokemon/starmie/icon_gba.png | Bin 0 -> 380 bytes graphics/pokemon/starmie/normal_gba.pal | 19 + graphics/pokemon/starmie/shiny_gba.pal | 19 + graphics/pokemon/staryu/anim_front_gba.png | Bin 0 -> 973 bytes graphics/pokemon/staryu/back_gba.png | Bin 0 -> 481 bytes graphics/pokemon/staryu/icon_gba.png | Bin 0 -> 294 bytes graphics/pokemon/staryu/normal_gba.pal | 19 + graphics/pokemon/staryu/shiny_gba.pal | 19 + graphics/pokemon/steelix/anim_front_gba.png | Bin 0 -> 1476 bytes graphics/pokemon/steelix/back_gba.png | Bin 0 -> 819 bytes graphics/pokemon/steelix/icon_gba.png | Bin 0 -> 433 bytes graphics/pokemon/steelix/normal_gba.pal | 19 + graphics/pokemon/steelix/shiny_gba.pal | 19 + graphics/pokemon/sudowoodo/anim_front_gba.png | Bin 0 -> 1077 bytes graphics/pokemon/sudowoodo/back_gba.png | Bin 0 -> 696 bytes graphics/pokemon/sudowoodo/icon_gba.png | Bin 0 -> 395 bytes graphics/pokemon/sudowoodo/normal_gba.pal | 19 + graphics/pokemon/sudowoodo/shiny_gba.pal | 19 + graphics/pokemon/suicune/anim_front_gba.png | Bin 0 -> 2161 bytes graphics/pokemon/suicune/back_gba.png | Bin 0 -> 975 bytes graphics/pokemon/suicune/icon_gba.png | Bin 0 -> 471 bytes graphics/pokemon/suicune/normal_gba.pal | 19 + graphics/pokemon/suicune/shiny_gba.pal | 19 + graphics/pokemon/sunflora/anim_front_gba.png | Bin 0 -> 1050 bytes graphics/pokemon/sunflora/back_gba.png | Bin 0 -> 749 bytes graphics/pokemon/sunflora/icon_gba.png | Bin 0 -> 447 bytes graphics/pokemon/sunflora/normal_gba.pal | 19 + graphics/pokemon/sunflora/shiny_gba.pal | 19 + graphics/pokemon/sunkern/anim_front_gba.png | Bin 0 -> 592 bytes graphics/pokemon/sunkern/back_gba.png | Bin 0 -> 555 bytes graphics/pokemon/sunkern/icon_gba.png | Bin 0 -> 366 bytes graphics/pokemon/sunkern/normal_gba.pal | 19 + graphics/pokemon/sunkern/shiny_gba.pal | 19 + graphics/pokemon/surskit/anim_front_gba.png | Bin 0 -> 614 bytes graphics/pokemon/surskit/back_gba.png | Bin 0 -> 459 bytes graphics/pokemon/surskit/icon_gba.png | Bin 0 -> 325 bytes graphics/pokemon/surskit/normal_gba.pal | 19 + graphics/pokemon/surskit/shiny_gba.pal | 19 + graphics/pokemon/swablu/anim_front_gba.png | Bin 0 -> 931 bytes graphics/pokemon/swablu/back_gba.png | Bin 0 -> 740 bytes graphics/pokemon/swablu/icon_gba.png | Bin 0 -> 324 bytes graphics/pokemon/swablu/normal_gba.pal | 19 + graphics/pokemon/swablu/shiny_gba.pal | 19 + graphics/pokemon/swalot/anim_front_gba.png | Bin 0 -> 1081 bytes graphics/pokemon/swalot/back_gba.png | Bin 0 -> 687 bytes graphics/pokemon/swalot/icon_gba.png | Bin 0 -> 315 bytes graphics/pokemon/swalot/normal_gba.pal | 19 + graphics/pokemon/swalot/shiny_gba.pal | 19 + graphics/pokemon/swampert/anim_front_gba.png | Bin 0 -> 1868 bytes graphics/pokemon/swampert/back_gba.png | Bin 0 -> 768 bytes graphics/pokemon/swampert/icon_gba.png | Bin 0 -> 417 bytes graphics/pokemon/swampert/normal_gba.pal | 19 + graphics/pokemon/swampert/shiny_gba.pal | 19 + graphics/pokemon/swellow/anim_front_gba.png | Bin 0 -> 1046 bytes graphics/pokemon/swellow/back_gba.png | Bin 0 -> 669 bytes graphics/pokemon/swellow/icon_gba.png | Bin 0 -> 369 bytes graphics/pokemon/swellow/normal_gba.pal | 19 + graphics/pokemon/swellow/shiny_gba.pal | 19 + graphics/pokemon/swinub/anim_front_gba.png | Bin 0 -> 551 bytes graphics/pokemon/swinub/back_gba.png | Bin 0 -> 382 bytes graphics/pokemon/swinub/icon_gba.png | Bin 0 -> 320 bytes graphics/pokemon/swinub/normal_gba.pal | 19 + graphics/pokemon/swinub/shiny_gba.pal | 19 + graphics/pokemon/taillow/anim_front_gba.png | Bin 0 -> 999 bytes graphics/pokemon/taillow/back_gba.png | Bin 0 -> 446 bytes graphics/pokemon/taillow/icon_gba.png | Bin 0 -> 329 bytes graphics/pokemon/taillow/normal_gba.pal | 19 + graphics/pokemon/taillow/shiny_gba.pal | 19 + graphics/pokemon/tangela/anim_front_gba.png | Bin 0 -> 1274 bytes graphics/pokemon/tangela/back_gba.png | Bin 0 -> 676 bytes graphics/pokemon/tangela/icon_gba.png | Bin 0 -> 365 bytes graphics/pokemon/tangela/normal_gba.pal | 19 + graphics/pokemon/tangela/shiny_gba.pal | 19 + graphics/pokemon/tauros/anim_front_gba.png | Bin 0 -> 1766 bytes graphics/pokemon/tauros/back_gba.png | Bin 0 -> 561 bytes graphics/pokemon/tauros/icon_gba.png | Bin 0 -> 421 bytes graphics/pokemon/tauros/normal_gba.pal | 19 + graphics/pokemon/tauros/shiny_gba.pal | 19 + graphics/pokemon/teddiursa/anim_front_gba.png | Bin 0 -> 551 bytes graphics/pokemon/teddiursa/back_gba.png | Bin 0 -> 512 bytes graphics/pokemon/teddiursa/icon_gba.png | Bin 0 -> 304 bytes graphics/pokemon/teddiursa/normal_gba.pal | 19 + graphics/pokemon/teddiursa/shiny_gba.pal | 19 + graphics/pokemon/tentacool/anim_front_gba.png | Bin 0 -> 812 bytes graphics/pokemon/tentacool/back_gba.png | Bin 0 -> 556 bytes graphics/pokemon/tentacool/icon_gba.png | Bin 0 -> 333 bytes graphics/pokemon/tentacool/normal_gba.pal | 19 + graphics/pokemon/tentacool/shiny_gba.pal | 19 + .../pokemon/tentacruel/anim_front_gba.png | Bin 0 -> 1345 bytes graphics/pokemon/tentacruel/back_gba.png | Bin 0 -> 736 bytes graphics/pokemon/tentacruel/icon_gba.png | Bin 0 -> 486 bytes graphics/pokemon/tentacruel/normal_gba.pal | 19 + graphics/pokemon/tentacruel/shiny_gba.pal | 19 + graphics/pokemon/togepi/anim_front_gba.png | Bin 0 -> 500 bytes graphics/pokemon/togepi/back_gba.png | Bin 0 -> 514 bytes graphics/pokemon/togepi/icon_gba.png | Bin 0 -> 347 bytes graphics/pokemon/togepi/normal_gba.pal | 19 + graphics/pokemon/togepi/shiny_gba.pal | 19 + graphics/pokemon/togetic/anim_front_gba.png | Bin 0 -> 830 bytes graphics/pokemon/togetic/back_gba.png | Bin 0 -> 630 bytes graphics/pokemon/togetic/icon_gba.png | Bin 0 -> 324 bytes graphics/pokemon/togetic/normal_gba.pal | 19 + graphics/pokemon/togetic/shiny_gba.pal | 19 + graphics/pokemon/torchic/anim_front_gba.png | Bin 0 -> 871 bytes graphics/pokemon/torchic/back_gba.png | Bin 0 -> 576 bytes graphics/pokemon/torchic/icon_gba.png | Bin 0 -> 338 bytes graphics/pokemon/torchic/normal_gba.pal | 19 + graphics/pokemon/torchic/shiny_gba.pal | 19 + graphics/pokemon/torkoal/anim_front_gba.png | Bin 0 -> 1616 bytes graphics/pokemon/torkoal/back_gba.png | Bin 0 -> 569 bytes graphics/pokemon/torkoal/icon_gba.png | Bin 0 -> 342 bytes graphics/pokemon/torkoal/normal_gba.pal | 19 + graphics/pokemon/torkoal/shiny_gba.pal | 19 + graphics/pokemon/totodile/anim_front_gba.png | Bin 0 -> 850 bytes graphics/pokemon/totodile/back_gba.png | Bin 0 -> 599 bytes graphics/pokemon/totodile/icon_gba.png | Bin 0 -> 331 bytes graphics/pokemon/totodile/normal_gba.pal | 19 + graphics/pokemon/totodile/shiny_gba.pal | 19 + graphics/pokemon/trapinch/anim_front_gba.png | Bin 0 -> 621 bytes graphics/pokemon/trapinch/back_gba.png | Bin 0 -> 437 bytes graphics/pokemon/trapinch/icon_gba.png | Bin 0 -> 314 bytes graphics/pokemon/trapinch/normal_gba.pal | 19 + graphics/pokemon/trapinch/shiny_gba.pal | 19 + graphics/pokemon/treecko/anim_front_gba.png | Bin 0 -> 1000 bytes graphics/pokemon/treecko/back_gba.png | Bin 0 -> 636 bytes graphics/pokemon/treecko/icon_gba.png | Bin 0 -> 346 bytes graphics/pokemon/treecko/normal_gba.pal | 19 + graphics/pokemon/treecko/shiny_gba.pal | 19 + graphics/pokemon/tropius/anim_front_gba.png | Bin 0 -> 1876 bytes graphics/pokemon/tropius/back_gba.png | Bin 0 -> 632 bytes graphics/pokemon/tropius/icon_gba.png | Bin 0 -> 422 bytes graphics/pokemon/tropius/normal_gba.pal | 19 + graphics/pokemon/tropius/shiny_gba.pal | 19 + .../pokemon/typhlosion/anim_front_gba.png | Bin 0 -> 1448 bytes graphics/pokemon/typhlosion/back_gba.png | Bin 0 -> 849 bytes graphics/pokemon/typhlosion/icon_gba.png | Bin 0 -> 417 bytes graphics/pokemon/typhlosion/normal_gba.pal | 19 + graphics/pokemon/typhlosion/shiny_gba.pal | 19 + graphics/pokemon/tyranitar/anim_front_gba.png | Bin 0 -> 1876 bytes graphics/pokemon/tyranitar/back_gba.png | Bin 0 -> 776 bytes graphics/pokemon/tyranitar/icon_gba.png | Bin 0 -> 435 bytes graphics/pokemon/tyranitar/normal_gba.pal | 19 + graphics/pokemon/tyranitar/shiny_gba.pal | 19 + graphics/pokemon/tyrogue/anim_front_gba.png | Bin 0 -> 852 bytes graphics/pokemon/tyrogue/back_gba.png | Bin 0 -> 618 bytes graphics/pokemon/tyrogue/icon_gba.png | Bin 0 -> 321 bytes graphics/pokemon/tyrogue/normal_gba.pal | 19 + graphics/pokemon/tyrogue/shiny_gba.pal | 19 + graphics/pokemon/umbreon/anim_front_gba.png | Bin 0 -> 1084 bytes graphics/pokemon/umbreon/back_gba.png | Bin 0 -> 638 bytes graphics/pokemon/umbreon/icon_gba.png | Bin 0 -> 358 bytes graphics/pokemon/umbreon/normal_gba.pal | 19 + graphics/pokemon/umbreon/shiny_gba.pal | 19 + graphics/pokemon/ursaring/anim_front_gba.png | Bin 0 -> 1517 bytes graphics/pokemon/ursaring/back_gba.png | Bin 0 -> 718 bytes graphics/pokemon/ursaring/icon_gba.png | Bin 0 -> 355 bytes graphics/pokemon/ursaring/normal_gba.pal | 19 + graphics/pokemon/ursaring/shiny_gba.pal | 19 + graphics/pokemon/vaporeon/anim_front_gba.png | Bin 0 -> 1281 bytes graphics/pokemon/vaporeon/back_gba.png | Bin 0 -> 572 bytes graphics/pokemon/vaporeon/icon_gba.png | Bin 0 -> 393 bytes graphics/pokemon/vaporeon/normal_gba.pal | 19 + graphics/pokemon/vaporeon/shiny_gba.pal | 19 + graphics/pokemon/venomoth/anim_front_gba.png | Bin 0 -> 1534 bytes graphics/pokemon/venomoth/back_gba.png | Bin 0 -> 785 bytes graphics/pokemon/venomoth/icon_gba.png | Bin 0 -> 400 bytes graphics/pokemon/venomoth/normal_gba.pal | 19 + graphics/pokemon/venomoth/shiny_gba.pal | 19 + graphics/pokemon/venonat/anim_front_gba.png | Bin 0 -> 1170 bytes graphics/pokemon/venonat/back_gba.png | Bin 0 -> 678 bytes graphics/pokemon/venonat/icon_gba.png | Bin 0 -> 322 bytes graphics/pokemon/venonat/normal_gba.pal | 19 + graphics/pokemon/venonat/shiny_gba.pal | 19 + graphics/pokemon/venusaur/anim_front_gba.png | Bin 0 -> 1958 bytes graphics/pokemon/venusaur/back_gba.png | Bin 0 -> 980 bytes graphics/pokemon/venusaur/icon_gba.png | Bin 0 -> 447 bytes graphics/pokemon/venusaur/normal_gba.pal | 19 + graphics/pokemon/venusaur/shiny_gba.pal | 19 + graphics/pokemon/vibrava/anim_front_gba.png | Bin 0 -> 1231 bytes graphics/pokemon/vibrava/back_gba.png | Bin 0 -> 518 bytes graphics/pokemon/vibrava/icon_gba.png | Bin 0 -> 356 bytes graphics/pokemon/vibrava/normal_gba.pal | 19 + graphics/pokemon/vibrava/shiny_gba.pal | 19 + .../pokemon/victreebel/anim_front_gba.png | Bin 0 -> 1509 bytes graphics/pokemon/victreebel/back_gba.png | Bin 0 -> 752 bytes graphics/pokemon/victreebel/icon_gba.png | Bin 0 -> 437 bytes graphics/pokemon/victreebel/normal_gba.pal | 19 + graphics/pokemon/victreebel/shiny_gba.pal | 19 + graphics/pokemon/vigoroth/anim_front_gba.png | Bin 0 -> 1522 bytes graphics/pokemon/vigoroth/back_gba.png | Bin 0 -> 589 bytes graphics/pokemon/vigoroth/icon_gba.png | Bin 0 -> 358 bytes graphics/pokemon/vigoroth/normal_gba.pal | 19 + graphics/pokemon/vigoroth/shiny_gba.pal | 19 + graphics/pokemon/vileplume/anim_front_gba.png | Bin 0 -> 1085 bytes graphics/pokemon/vileplume/back_gba.png | Bin 0 -> 825 bytes graphics/pokemon/vileplume/icon_gba.png | Bin 0 -> 410 bytes graphics/pokemon/vileplume/normal_gba.pal | 19 + graphics/pokemon/vileplume/shiny_gba.pal | 19 + graphics/pokemon/volbeat/anim_front_gba.png | Bin 0 -> 1215 bytes graphics/pokemon/volbeat/back_gba.png | Bin 0 -> 702 bytes graphics/pokemon/volbeat/icon_gba.png | Bin 0 -> 335 bytes graphics/pokemon/volbeat/normal_gba.pal | 19 + graphics/pokemon/volbeat/shiny_gba.pal | 19 + graphics/pokemon/voltorb/anim_front_gba.png | Bin 0 -> 531 bytes graphics/pokemon/voltorb/back_gba.png | Bin 0 -> 475 bytes graphics/pokemon/voltorb/icon_gba.png | Bin 0 -> 242 bytes graphics/pokemon/voltorb/normal_gba.pal | 19 + graphics/pokemon/voltorb/shiny_gba.pal | 19 + graphics/pokemon/vulpix/anim_front_gba.png | Bin 0 -> 1225 bytes graphics/pokemon/vulpix/back_gba.png | Bin 0 -> 660 bytes graphics/pokemon/vulpix/icon_gba.png | Bin 0 -> 307 bytes graphics/pokemon/vulpix/normal_gba.pal | 19 + graphics/pokemon/vulpix/shiny_gba.pal | 19 + graphics/pokemon/wailmer/anim_front_gba.png | Bin 0 -> 906 bytes graphics/pokemon/wailmer/back_gba.png | Bin 0 -> 347 bytes graphics/pokemon/wailmer/icon_gba.png | Bin 0 -> 359 bytes graphics/pokemon/wailmer/normal_gba.pal | 19 + graphics/pokemon/wailmer/shiny_gba.pal | 19 + graphics/pokemon/wailord/anim_front_gba.png | Bin 0 -> 1274 bytes graphics/pokemon/wailord/back_gba.png | Bin 0 -> 368 bytes graphics/pokemon/wailord/icon_gba.png | Bin 0 -> 392 bytes graphics/pokemon/wailord/normal_gba.pal | 19 + graphics/pokemon/wailord/shiny_gba.pal | 19 + graphics/pokemon/walrein/anim_front_gba.png | Bin 0 -> 1629 bytes graphics/pokemon/walrein/back_gba.png | Bin 0 -> 727 bytes graphics/pokemon/walrein/icon_gba.png | Bin 0 -> 473 bytes graphics/pokemon/walrein/normal_gba.pal | 19 + graphics/pokemon/walrein/shiny_gba.pal | 19 + graphics/pokemon/wartortle/anim_front_gba.png | Bin 0 -> 1345 bytes graphics/pokemon/wartortle/back_gba.png | Bin 0 -> 656 bytes graphics/pokemon/wartortle/icon_gba.png | Bin 0 -> 371 bytes graphics/pokemon/wartortle/normal_gba.pal | 19 + graphics/pokemon/wartortle/shiny_gba.pal | 19 + graphics/pokemon/weedle/anim_front_gba.png | Bin 0 -> 686 bytes graphics/pokemon/weedle/back_gba.png | Bin 0 -> 502 bytes graphics/pokemon/weedle/icon_gba.png | Bin 0 -> 279 bytes graphics/pokemon/weedle/normal_gba.pal | 19 + graphics/pokemon/weedle/shiny_gba.pal | 19 + .../pokemon/weepinbell/anim_front_gba.png | Bin 0 -> 1099 bytes graphics/pokemon/weepinbell/back_gba.png | Bin 0 -> 625 bytes graphics/pokemon/weepinbell/icon_gba.png | Bin 0 -> 365 bytes graphics/pokemon/weepinbell/normal_gba.pal | 19 + graphics/pokemon/weepinbell/shiny_gba.pal | 19 + graphics/pokemon/weezing/anim_front_gba.png | Bin 0 -> 1634 bytes graphics/pokemon/weezing/back_gba.png | Bin 0 -> 623 bytes graphics/pokemon/weezing/icon_gba.png | Bin 0 -> 456 bytes graphics/pokemon/weezing/normal_gba.pal | 19 + graphics/pokemon/weezing/shiny_gba.pal | 19 + graphics/pokemon/whiscash/anim_front_gba.png | Bin 0 -> 1080 bytes graphics/pokemon/whiscash/back_gba.png | Bin 0 -> 690 bytes graphics/pokemon/whiscash/icon_gba.png | Bin 0 -> 420 bytes graphics/pokemon/whiscash/normal_gba.pal | 19 + graphics/pokemon/whiscash/shiny_gba.pal | 19 + graphics/pokemon/whismur/anim_front_gba.png | Bin 0 -> 787 bytes graphics/pokemon/whismur/back_gba.png | Bin 0 -> 493 bytes graphics/pokemon/whismur/icon_gba.png | Bin 0 -> 291 bytes graphics/pokemon/whismur/normal_gba.pal | 19 + graphics/pokemon/whismur/shiny_gba.pal | 19 + .../pokemon/wigglytuff/anim_front_gba.png | Bin 0 -> 1210 bytes graphics/pokemon/wigglytuff/back_gba.png | Bin 0 -> 526 bytes graphics/pokemon/wigglytuff/icon_gba.png | Bin 0 -> 327 bytes graphics/pokemon/wigglytuff/normal_gba.pal | 19 + graphics/pokemon/wigglytuff/shiny_gba.pal | 19 + graphics/pokemon/wingull/anim_front_gba.png | Bin 0 -> 694 bytes graphics/pokemon/wingull/back_gba.png | Bin 0 -> 684 bytes graphics/pokemon/wingull/icon_gba.png | Bin 0 -> 360 bytes graphics/pokemon/wingull/normal_gba.pal | 19 + graphics/pokemon/wingull/shiny_gba.pal | 19 + graphics/pokemon/wobbuffet/anim_front_gba.png | Bin 0 -> 1129 bytes graphics/pokemon/wobbuffet/back_gba.png | Bin 0 -> 433 bytes graphics/pokemon/wobbuffet/icon_gba.png | Bin 0 -> 335 bytes graphics/pokemon/wobbuffet/normal_gba.pal | 19 + graphics/pokemon/wobbuffet/shiny_gba.pal | 19 + graphics/pokemon/wooper/anim_front_gba.png | Bin 0 -> 644 bytes graphics/pokemon/wooper/back_gba.png | Bin 0 -> 533 bytes graphics/pokemon/wooper/icon_gba.png | Bin 0 -> 307 bytes graphics/pokemon/wooper/normal_gba.pal | 19 + graphics/pokemon/wooper/shiny_gba.pal | 19 + graphics/pokemon/wurmple/anim_front_gba.png | Bin 0 -> 890 bytes graphics/pokemon/wurmple/back_gba.png | Bin 0 -> 488 bytes graphics/pokemon/wurmple/icon_gba.png | Bin 0 -> 331 bytes graphics/pokemon/wurmple/normal_gba.pal | 19 + graphics/pokemon/wurmple/shiny_gba.pal | 19 + graphics/pokemon/wynaut/anim_front_gba.png | Bin 0 -> 787 bytes graphics/pokemon/wynaut/back_gba.png | Bin 0 -> 498 bytes graphics/pokemon/wynaut/icon_gba.png | Bin 0 -> 353 bytes graphics/pokemon/wynaut/normal_gba.pal | 19 + graphics/pokemon/wynaut/shiny_gba.pal | 19 + graphics/pokemon/xatu/anim_front_gba.png | Bin 0 -> 1027 bytes graphics/pokemon/xatu/back_gba.png | Bin 0 -> 716 bytes graphics/pokemon/xatu/icon_gba.png | Bin 0 -> 350 bytes graphics/pokemon/xatu/normal_gba.pal | 19 + graphics/pokemon/xatu/shiny_gba.pal | 19 + graphics/pokemon/yanma/anim_front_gba.png | Bin 0 -> 1088 bytes graphics/pokemon/yanma/back_gba.png | Bin 0 -> 796 bytes graphics/pokemon/yanma/icon_gba.png | Bin 0 -> 388 bytes graphics/pokemon/yanma/normal_gba.pal | 19 + graphics/pokemon/yanma/shiny_gba.pal | 19 + graphics/pokemon/zangoose/anim_front_gba.png | Bin 0 -> 1398 bytes graphics/pokemon/zangoose/back_gba.png | Bin 0 -> 734 bytes graphics/pokemon/zangoose/icon_gba.png | Bin 0 -> 419 bytes graphics/pokemon/zangoose/normal_gba.pal | 19 + graphics/pokemon/zangoose/shiny_gba.pal | 19 + graphics/pokemon/zapdos/anim_front_gba.png | Bin 0 -> 1576 bytes graphics/pokemon/zapdos/back_gba.png | Bin 0 -> 652 bytes graphics/pokemon/zapdos/icon_gba.png | Bin 0 -> 375 bytes graphics/pokemon/zapdos/normal_gba.pal | 19 + graphics/pokemon/zapdos/shiny_gba.pal | 19 + graphics/pokemon/zigzagoon/anim_front_gba.png | Bin 0 -> 1372 bytes graphics/pokemon/zigzagoon/back_gba.png | Bin 0 -> 683 bytes graphics/pokemon/zigzagoon/icon_gba.png | Bin 0 -> 347 bytes graphics/pokemon/zigzagoon/normal_gba.pal | 19 + graphics/pokemon/zigzagoon/shiny_gba.pal | 19 + graphics/pokemon/zubat/anim_front_gba.png | Bin 0 -> 914 bytes graphics/pokemon/zubat/back_gba.png | Bin 0 -> 526 bytes graphics/pokemon/zubat/icon_gba.png | Bin 0 -> 335 bytes graphics/pokemon/zubat/normal_gba.pal | 19 + graphics/pokemon/zubat/shiny_gba.pal | 19 + include/config/pokemon.h | 11 +- src/battle_anim_effects_1.c | 2 +- src/battle_controller_opponent.c | 1 + src/battle_controller_recorded_opponent.c | 1 + src/battle_gfx_sfx_util.c | 12 +- src/data/graphics/pokemon.h | 4231 ++++++++++++++++- src/data/pokemon/species_info.h | 2 +- .../pokemon/species_info/gen_1_families.h | 1334 +++--- .../pokemon/species_info/gen_2_families.h | 614 +-- .../pokemon/species_info/gen_3_families.h | 882 ++-- src/pokemon_sprite_visualizer.c | 20 +- 1945 files changed, 20365 insertions(+), 1437 deletions(-) create mode 100644 dev_scripts/gba_gfx/delete_files_of_same_name.py create mode 100644 dev_scripts/gba_gfx/rename_files_of_same_name.py create mode 100644 graphics/pokemon/abra/anim_front_gba.png create mode 100644 graphics/pokemon/abra/back_gba.png create mode 100644 graphics/pokemon/abra/icon_gba.png create mode 100644 graphics/pokemon/abra/normal_gba.pal create mode 100644 graphics/pokemon/abra/shiny_gba.pal create mode 100644 graphics/pokemon/absol/anim_front_gba.png create mode 100644 graphics/pokemon/absol/back_gba.png create mode 100644 graphics/pokemon/absol/icon_gba.png create mode 100644 graphics/pokemon/absol/normal_gba.pal create mode 100644 graphics/pokemon/absol/shiny_gba.pal create mode 100644 graphics/pokemon/aerodactyl/anim_front_gba.png create mode 100644 graphics/pokemon/aerodactyl/back_gba.png create mode 100644 graphics/pokemon/aerodactyl/icon_gba.png create mode 100644 graphics/pokemon/aerodactyl/normal_gba.pal create mode 100644 graphics/pokemon/aerodactyl/shiny_gba.pal create mode 100644 graphics/pokemon/aggron/anim_front_gba.png create mode 100644 graphics/pokemon/aggron/back_gba.png create mode 100644 graphics/pokemon/aggron/icon_gba.png create mode 100644 graphics/pokemon/aggron/normal_gba.pal create mode 100644 graphics/pokemon/aggron/shiny_gba.pal create mode 100644 graphics/pokemon/aipom/anim_front_gba.png create mode 100644 graphics/pokemon/aipom/back_gba.png create mode 100644 graphics/pokemon/aipom/icon_gba.png create mode 100644 graphics/pokemon/aipom/normal_gba.pal create mode 100644 graphics/pokemon/aipom/shiny_gba.pal create mode 100644 graphics/pokemon/alakazam/anim_front_gba.png create mode 100644 graphics/pokemon/alakazam/back_gba.png create mode 100644 graphics/pokemon/alakazam/icon_gba.png create mode 100644 graphics/pokemon/alakazam/normal_gba.pal create mode 100644 graphics/pokemon/alakazam/shiny_gba.pal create mode 100644 graphics/pokemon/altaria/anim_front_gba.png create mode 100644 graphics/pokemon/altaria/back_gba.png create mode 100644 graphics/pokemon/altaria/icon_gba.png create mode 100644 graphics/pokemon/altaria/normal_gba.pal create mode 100644 graphics/pokemon/altaria/shiny_gba.pal create mode 100644 graphics/pokemon/ampharos/anim_front_gba.png create mode 100644 graphics/pokemon/ampharos/back_gba.png create mode 100644 graphics/pokemon/ampharos/icon_gba.png create mode 100644 graphics/pokemon/ampharos/normal_gba.pal create mode 100644 graphics/pokemon/ampharos/shiny_gba.pal create mode 100644 graphics/pokemon/anorith/anim_front_gba.png create mode 100644 graphics/pokemon/anorith/back_gba.png create mode 100644 graphics/pokemon/anorith/icon_gba.png create mode 100644 graphics/pokemon/anorith/normal_gba.pal create mode 100644 graphics/pokemon/anorith/shiny_gba.pal create mode 100644 graphics/pokemon/arbok/anim_front_gba.png create mode 100644 graphics/pokemon/arbok/back_gba.png create mode 100644 graphics/pokemon/arbok/icon_gba.png create mode 100644 graphics/pokemon/arbok/normal_gba.pal create mode 100644 graphics/pokemon/arbok/shiny_gba.pal create mode 100644 graphics/pokemon/arcanine/anim_front_gba.png create mode 100644 graphics/pokemon/arcanine/back_gba.png create mode 100644 graphics/pokemon/arcanine/icon_gba.png create mode 100644 graphics/pokemon/arcanine/normal_gba.pal create mode 100644 graphics/pokemon/arcanine/shiny_gba.pal create mode 100644 graphics/pokemon/ariados/anim_front_gba.png create mode 100644 graphics/pokemon/ariados/back_gba.png create mode 100644 graphics/pokemon/ariados/icon_gba.png create mode 100644 graphics/pokemon/ariados/normal_gba.pal create mode 100644 graphics/pokemon/ariados/shiny_gba.pal create mode 100644 graphics/pokemon/armaldo/anim_front_gba.png create mode 100644 graphics/pokemon/armaldo/back_gba.png create mode 100644 graphics/pokemon/armaldo/icon_gba.png create mode 100644 graphics/pokemon/armaldo/normal_gba.pal create mode 100644 graphics/pokemon/armaldo/shiny_gba.pal create mode 100644 graphics/pokemon/aron/anim_front_gba.png create mode 100644 graphics/pokemon/aron/back_gba.png create mode 100644 graphics/pokemon/aron/icon_gba.png create mode 100644 graphics/pokemon/aron/normal_gba.pal create mode 100644 graphics/pokemon/aron/shiny_gba.pal create mode 100644 graphics/pokemon/articuno/anim_front_gba.png create mode 100644 graphics/pokemon/articuno/back_gba.png create mode 100644 graphics/pokemon/articuno/icon_gba.png create mode 100644 graphics/pokemon/articuno/normal_gba.pal create mode 100644 graphics/pokemon/articuno/shiny_gba.pal create mode 100644 graphics/pokemon/azumarill/anim_front_gba.png create mode 100644 graphics/pokemon/azumarill/back_gba.png create mode 100644 graphics/pokemon/azumarill/icon_gba.png create mode 100644 graphics/pokemon/azumarill/normal_gba.pal create mode 100644 graphics/pokemon/azumarill/shiny_gba.pal create mode 100644 graphics/pokemon/azurill/anim_front_gba.png create mode 100644 graphics/pokemon/azurill/back_gba.png create mode 100644 graphics/pokemon/azurill/icon_gba.png create mode 100644 graphics/pokemon/azurill/normal_gba.pal create mode 100644 graphics/pokemon/azurill/shiny_gba.pal create mode 100644 graphics/pokemon/bagon/anim_front_gba.png create mode 100644 graphics/pokemon/bagon/back_gba.png create mode 100644 graphics/pokemon/bagon/icon_gba.png create mode 100644 graphics/pokemon/bagon/normal_gba.pal create mode 100644 graphics/pokemon/bagon/shiny_gba.pal create mode 100644 graphics/pokemon/baltoy/anim_front_gba.png create mode 100644 graphics/pokemon/baltoy/back_gba.png create mode 100644 graphics/pokemon/baltoy/icon_gba.png create mode 100644 graphics/pokemon/baltoy/normal_gba.pal create mode 100644 graphics/pokemon/baltoy/shiny_gba.pal create mode 100644 graphics/pokemon/banette/anim_front_gba.png create mode 100644 graphics/pokemon/banette/back_gba.png create mode 100644 graphics/pokemon/banette/icon_gba.png create mode 100644 graphics/pokemon/banette/normal_gba.pal create mode 100644 graphics/pokemon/banette/shiny_gba.pal create mode 100644 graphics/pokemon/barboach/anim_front_gba.png create mode 100644 graphics/pokemon/barboach/back_gba.png create mode 100644 graphics/pokemon/barboach/icon_gba.png create mode 100644 graphics/pokemon/barboach/normal_gba.pal create mode 100644 graphics/pokemon/barboach/shiny_gba.pal create mode 100644 graphics/pokemon/bayleef/anim_front_gba.png create mode 100644 graphics/pokemon/bayleef/back_gba.png create mode 100644 graphics/pokemon/bayleef/icon_gba.png create mode 100644 graphics/pokemon/bayleef/normal_gba.pal create mode 100644 graphics/pokemon/bayleef/shiny_gba.pal create mode 100644 graphics/pokemon/beautifly/anim_front_gba.png create mode 100644 graphics/pokemon/beautifly/back_gba.png create mode 100644 graphics/pokemon/beautifly/icon_gba.png create mode 100644 graphics/pokemon/beautifly/normal_gba.pal create mode 100644 graphics/pokemon/beautifly/shiny_gba.pal create mode 100644 graphics/pokemon/beedrill/anim_front_gba.png create mode 100644 graphics/pokemon/beedrill/back_gba.png create mode 100644 graphics/pokemon/beedrill/icon_gba.png create mode 100644 graphics/pokemon/beedrill/normal_gba.pal create mode 100644 graphics/pokemon/beedrill/shiny_gba.pal create mode 100644 graphics/pokemon/beldum/anim_front_gba.png create mode 100644 graphics/pokemon/beldum/back_gba.png create mode 100644 graphics/pokemon/beldum/icon_gba.png create mode 100644 graphics/pokemon/beldum/normal_gba.pal create mode 100644 graphics/pokemon/beldum/shiny_gba.pal create mode 100644 graphics/pokemon/bellossom/anim_front_gba.png create mode 100644 graphics/pokemon/bellossom/back_gba.png create mode 100644 graphics/pokemon/bellossom/icon_gba.png create mode 100644 graphics/pokemon/bellossom/normal_gba.pal create mode 100644 graphics/pokemon/bellossom/shiny_gba.pal create mode 100644 graphics/pokemon/bellsprout/anim_front_gba.png create mode 100644 graphics/pokemon/bellsprout/back_gba.png create mode 100644 graphics/pokemon/bellsprout/icon_gba.png create mode 100644 graphics/pokemon/bellsprout/normal_gba.pal create mode 100644 graphics/pokemon/bellsprout/shiny_gba.pal create mode 100644 graphics/pokemon/blastoise/anim_front_gba.png create mode 100644 graphics/pokemon/blastoise/back_gba.png create mode 100644 graphics/pokemon/blastoise/icon_gba.png create mode 100644 graphics/pokemon/blastoise/normal_gba.pal create mode 100644 graphics/pokemon/blastoise/shiny_gba.pal create mode 100644 graphics/pokemon/blaziken/anim_front_gba.png create mode 100644 graphics/pokemon/blaziken/back_gba.png create mode 100644 graphics/pokemon/blaziken/icon_gba.png create mode 100644 graphics/pokemon/blaziken/normal_gba.pal create mode 100644 graphics/pokemon/blaziken/shiny_gba.pal create mode 100644 graphics/pokemon/blissey/anim_front_gba.png create mode 100644 graphics/pokemon/blissey/back_gba.png create mode 100644 graphics/pokemon/blissey/icon_gba.png create mode 100644 graphics/pokemon/blissey/normal_gba.pal create mode 100644 graphics/pokemon/blissey/shiny_gba.pal create mode 100644 graphics/pokemon/breloom/anim_front_gba.png create mode 100644 graphics/pokemon/breloom/back_gba.png create mode 100644 graphics/pokemon/breloom/icon_gba.png create mode 100644 graphics/pokemon/breloom/normal_gba.pal create mode 100644 graphics/pokemon/breloom/shiny_gba.pal create mode 100644 graphics/pokemon/bulbasaur/anim_front_gba.png create mode 100644 graphics/pokemon/bulbasaur/back_gba.png create mode 100644 graphics/pokemon/bulbasaur/icon_gba.png create mode 100644 graphics/pokemon/bulbasaur/normal_gba.pal create mode 100644 graphics/pokemon/bulbasaur/shiny_gba.pal create mode 100644 graphics/pokemon/butterfree/anim_front_gba.png create mode 100644 graphics/pokemon/butterfree/back_gba.png create mode 100644 graphics/pokemon/butterfree/icon_gba.png create mode 100644 graphics/pokemon/butterfree/normal_gba.pal create mode 100644 graphics/pokemon/butterfree/shiny_gba.pal create mode 100644 graphics/pokemon/cacnea/anim_front_gba.png create mode 100644 graphics/pokemon/cacnea/back_gba.png create mode 100644 graphics/pokemon/cacnea/icon_gba.png create mode 100644 graphics/pokemon/cacnea/normal_gba.pal create mode 100644 graphics/pokemon/cacnea/shiny_gba.pal create mode 100644 graphics/pokemon/cacturne/anim_front_gba.png create mode 100644 graphics/pokemon/cacturne/back_gba.png create mode 100644 graphics/pokemon/cacturne/icon_gba.png create mode 100644 graphics/pokemon/cacturne/normal_gba.pal create mode 100644 graphics/pokemon/cacturne/shiny_gba.pal create mode 100644 graphics/pokemon/camerupt/anim_front_gba.png create mode 100644 graphics/pokemon/camerupt/back_gba.png create mode 100644 graphics/pokemon/camerupt/icon_gba.png create mode 100644 graphics/pokemon/camerupt/normal_gba.pal create mode 100644 graphics/pokemon/camerupt/shiny_gba.pal create mode 100644 graphics/pokemon/carvanha/anim_front_gba.png create mode 100644 graphics/pokemon/carvanha/back_gba.png create mode 100644 graphics/pokemon/carvanha/icon_gba.png create mode 100644 graphics/pokemon/carvanha/normal_gba.pal create mode 100644 graphics/pokemon/carvanha/shiny_gba.pal create mode 100644 graphics/pokemon/cascoon/anim_front_gba.png create mode 100644 graphics/pokemon/cascoon/back_gba.png create mode 100644 graphics/pokemon/cascoon/icon_gba.png create mode 100644 graphics/pokemon/cascoon/normal_gba.pal create mode 100644 graphics/pokemon/cascoon/shiny_gba.pal create mode 100644 graphics/pokemon/caterpie/anim_front_gba.png create mode 100644 graphics/pokemon/caterpie/back_gba.png create mode 100644 graphics/pokemon/caterpie/icon_gba.png create mode 100644 graphics/pokemon/caterpie/normal_gba.pal create mode 100644 graphics/pokemon/caterpie/shiny_gba.pal create mode 100644 graphics/pokemon/celebi/anim_front_gba.png create mode 100644 graphics/pokemon/celebi/back_gba.png create mode 100644 graphics/pokemon/celebi/icon_gba.png create mode 100644 graphics/pokemon/celebi/normal_gba.pal create mode 100644 graphics/pokemon/celebi/shiny_gba.pal create mode 100644 graphics/pokemon/chansey/anim_front_gba.png create mode 100644 graphics/pokemon/chansey/back_gba.png create mode 100644 graphics/pokemon/chansey/icon_gba.png create mode 100644 graphics/pokemon/chansey/normal_gba.pal create mode 100644 graphics/pokemon/chansey/shiny_gba.pal create mode 100644 graphics/pokemon/charizard/anim_front_gba.png create mode 100644 graphics/pokemon/charizard/back_gba.png create mode 100644 graphics/pokemon/charizard/icon_gba.png create mode 100644 graphics/pokemon/charizard/normal_gba.pal create mode 100644 graphics/pokemon/charizard/shiny_gba.pal create mode 100644 graphics/pokemon/charmander/anim_front_gba.png create mode 100644 graphics/pokemon/charmander/back_gba.png create mode 100644 graphics/pokemon/charmander/icon_gba.png create mode 100644 graphics/pokemon/charmander/normal_gba.pal create mode 100644 graphics/pokemon/charmander/shiny_gba.pal create mode 100644 graphics/pokemon/charmeleon/anim_front_gba.png create mode 100644 graphics/pokemon/charmeleon/back_gba.png create mode 100644 graphics/pokemon/charmeleon/icon_gba.png create mode 100644 graphics/pokemon/charmeleon/normal_gba.pal create mode 100644 graphics/pokemon/charmeleon/shiny_gba.pal create mode 100644 graphics/pokemon/chikorita/anim_front_gba.png create mode 100644 graphics/pokemon/chikorita/back_gba.png create mode 100644 graphics/pokemon/chikorita/icon_gba.png create mode 100644 graphics/pokemon/chikorita/normal_gba.pal create mode 100644 graphics/pokemon/chikorita/shiny_gba.pal create mode 100644 graphics/pokemon/chimecho/anim_front_gba.png create mode 100644 graphics/pokemon/chimecho/back_gba.png create mode 100644 graphics/pokemon/chimecho/icon_gba.png create mode 100644 graphics/pokemon/chimecho/normal_gba.pal create mode 100644 graphics/pokemon/chimecho/shiny_gba.pal create mode 100644 graphics/pokemon/chinchou/anim_front_gba.png create mode 100644 graphics/pokemon/chinchou/back_gba.png create mode 100644 graphics/pokemon/chinchou/icon_gba.png create mode 100644 graphics/pokemon/chinchou/normal_gba.pal create mode 100644 graphics/pokemon/chinchou/shiny_gba.pal create mode 100644 graphics/pokemon/clamperl/anim_front_gba.png create mode 100644 graphics/pokemon/clamperl/back_gba.png create mode 100644 graphics/pokemon/clamperl/icon_gba.png create mode 100644 graphics/pokemon/clamperl/normal_gba.pal create mode 100644 graphics/pokemon/clamperl/shiny_gba.pal create mode 100644 graphics/pokemon/claydol/anim_front_gba.png create mode 100644 graphics/pokemon/claydol/back_gba.png create mode 100644 graphics/pokemon/claydol/icon_gba.png create mode 100644 graphics/pokemon/claydol/normal_gba.pal create mode 100644 graphics/pokemon/claydol/shiny_gba.pal create mode 100644 graphics/pokemon/clefable/anim_front_gba.png create mode 100644 graphics/pokemon/clefable/back_gba.png create mode 100644 graphics/pokemon/clefable/icon_gba.png create mode 100644 graphics/pokemon/clefable/normal_gba.pal create mode 100644 graphics/pokemon/clefable/shiny_gba.pal create mode 100644 graphics/pokemon/clefairy/anim_front_gba.png create mode 100644 graphics/pokemon/clefairy/back_gba.png create mode 100644 graphics/pokemon/clefairy/icon_gba.png create mode 100644 graphics/pokemon/clefairy/normal_gba.pal create mode 100644 graphics/pokemon/clefairy/shiny_gba.pal create mode 100644 graphics/pokemon/cleffa/anim_front_gba.png create mode 100644 graphics/pokemon/cleffa/back_gba.png create mode 100644 graphics/pokemon/cleffa/icon_gba.png create mode 100644 graphics/pokemon/cleffa/normal_gba.pal create mode 100644 graphics/pokemon/cleffa/shiny_gba.pal create mode 100644 graphics/pokemon/cloyster/anim_front_gba.png create mode 100644 graphics/pokemon/cloyster/back_gba.png create mode 100644 graphics/pokemon/cloyster/icon_gba.png create mode 100644 graphics/pokemon/cloyster/normal_gba.pal create mode 100644 graphics/pokemon/cloyster/shiny_gba.pal create mode 100644 graphics/pokemon/combusken/anim_front_gba.png create mode 100644 graphics/pokemon/combusken/back_gba.png create mode 100644 graphics/pokemon/combusken/icon_gba.png create mode 100644 graphics/pokemon/combusken/normal_gba.pal create mode 100644 graphics/pokemon/combusken/shiny_gba.pal create mode 100644 graphics/pokemon/corphish/anim_front_gba.png create mode 100644 graphics/pokemon/corphish/back_gba.png create mode 100644 graphics/pokemon/corphish/icon_gba.png create mode 100644 graphics/pokemon/corphish/normal_gba.pal create mode 100644 graphics/pokemon/corphish/shiny_gba.pal create mode 100644 graphics/pokemon/corsola/anim_front_gba.png create mode 100644 graphics/pokemon/corsola/back_gba.png create mode 100644 graphics/pokemon/corsola/icon_gba.png create mode 100644 graphics/pokemon/corsola/normal_gba.pal create mode 100644 graphics/pokemon/corsola/shiny_gba.pal create mode 100644 graphics/pokemon/cradily/anim_front_gba.png create mode 100644 graphics/pokemon/cradily/back_gba.png create mode 100644 graphics/pokemon/cradily/icon_gba.png create mode 100644 graphics/pokemon/cradily/normal_gba.pal create mode 100644 graphics/pokemon/cradily/shiny_gba.pal create mode 100644 graphics/pokemon/crawdaunt/anim_front_gba.png create mode 100644 graphics/pokemon/crawdaunt/back_gba.png create mode 100644 graphics/pokemon/crawdaunt/icon_gba.png create mode 100644 graphics/pokemon/crawdaunt/normal_gba.pal create mode 100644 graphics/pokemon/crawdaunt/shiny_gba.pal create mode 100644 graphics/pokemon/crobat/anim_front_gba.png create mode 100644 graphics/pokemon/crobat/back_gba.png create mode 100644 graphics/pokemon/crobat/icon_gba.png create mode 100644 graphics/pokemon/crobat/normal_gba.pal create mode 100644 graphics/pokemon/crobat/shiny_gba.pal create mode 100644 graphics/pokemon/croconaw/anim_front_gba.png create mode 100644 graphics/pokemon/croconaw/back_gba.png create mode 100644 graphics/pokemon/croconaw/icon_gba.png create mode 100644 graphics/pokemon/croconaw/normal_gba.pal create mode 100644 graphics/pokemon/croconaw/shiny_gba.pal create mode 100644 graphics/pokemon/cubone/anim_front_gba.png create mode 100644 graphics/pokemon/cubone/back_gba.png create mode 100644 graphics/pokemon/cubone/icon_gba.png create mode 100644 graphics/pokemon/cubone/normal_gba.pal create mode 100644 graphics/pokemon/cubone/shiny_gba.pal create mode 100644 graphics/pokemon/cyndaquil/anim_front_gba.png create mode 100644 graphics/pokemon/cyndaquil/back_gba.png create mode 100644 graphics/pokemon/cyndaquil/icon_gba.png create mode 100644 graphics/pokemon/cyndaquil/normal_gba.pal create mode 100644 graphics/pokemon/cyndaquil/shiny_gba.pal create mode 100644 graphics/pokemon/delcatty/anim_front_gba.png create mode 100644 graphics/pokemon/delcatty/back_gba.png create mode 100644 graphics/pokemon/delcatty/icon_gba.png create mode 100644 graphics/pokemon/delcatty/normal_gba.pal create mode 100644 graphics/pokemon/delcatty/shiny_gba.pal create mode 100644 graphics/pokemon/delibird/anim_front_gba.png create mode 100644 graphics/pokemon/delibird/back_gba.png create mode 100644 graphics/pokemon/delibird/icon_gba.png create mode 100644 graphics/pokemon/delibird/normal_gba.pal create mode 100644 graphics/pokemon/delibird/shiny_gba.pal create mode 100644 graphics/pokemon/deoxys/anim_front_gba.png create mode 100644 graphics/pokemon/deoxys/back_gba.png create mode 100644 graphics/pokemon/deoxys/icon_gba.png create mode 100644 graphics/pokemon/deoxys/normal_gba.pal create mode 100644 graphics/pokemon/deoxys/shiny_gba.pal create mode 100644 graphics/pokemon/dewgong/anim_front_gba.png create mode 100644 graphics/pokemon/dewgong/back_gba.png create mode 100644 graphics/pokemon/dewgong/icon_gba.png create mode 100644 graphics/pokemon/dewgong/normal_gba.pal create mode 100644 graphics/pokemon/dewgong/shiny_gba.pal create mode 100644 graphics/pokemon/diglett/anim_front_gba.png create mode 100644 graphics/pokemon/diglett/back_gba.png create mode 100644 graphics/pokemon/diglett/icon_gba.png create mode 100644 graphics/pokemon/diglett/normal_gba.pal create mode 100644 graphics/pokemon/diglett/shiny_gba.pal create mode 100644 graphics/pokemon/ditto/anim_front_gba.png create mode 100644 graphics/pokemon/ditto/back_gba.png create mode 100644 graphics/pokemon/ditto/icon_gba.png create mode 100644 graphics/pokemon/ditto/normal_gba.pal create mode 100644 graphics/pokemon/ditto/shiny_gba.pal create mode 100644 graphics/pokemon/dodrio/anim_front_gba.png create mode 100644 graphics/pokemon/dodrio/back_gba.png create mode 100644 graphics/pokemon/dodrio/icon_gba.png create mode 100644 graphics/pokemon/dodrio/normal_gba.pal create mode 100644 graphics/pokemon/dodrio/shiny_gba.pal create mode 100644 graphics/pokemon/doduo/anim_front_gba.png create mode 100644 graphics/pokemon/doduo/back_gba.png create mode 100644 graphics/pokemon/doduo/icon_gba.png create mode 100644 graphics/pokemon/doduo/normal_gba.pal create mode 100644 graphics/pokemon/doduo/shiny_gba.pal create mode 100644 graphics/pokemon/donphan/anim_front_gba.png create mode 100644 graphics/pokemon/donphan/back_gba.png create mode 100644 graphics/pokemon/donphan/icon_gba.png create mode 100644 graphics/pokemon/donphan/normal_gba.pal create mode 100644 graphics/pokemon/donphan/shiny_gba.pal create mode 100644 graphics/pokemon/dragonair/anim_front_gba.png create mode 100644 graphics/pokemon/dragonair/back_gba.png create mode 100644 graphics/pokemon/dragonair/icon_gba.png create mode 100644 graphics/pokemon/dragonair/normal_gba.pal create mode 100644 graphics/pokemon/dragonair/shiny_gba.pal create mode 100644 graphics/pokemon/dragonite/anim_front_gba.png create mode 100644 graphics/pokemon/dragonite/back_gba.png create mode 100644 graphics/pokemon/dragonite/icon_gba.png create mode 100644 graphics/pokemon/dragonite/normal_gba.pal create mode 100644 graphics/pokemon/dragonite/shiny_gba.pal create mode 100644 graphics/pokemon/dratini/anim_front_gba.png create mode 100644 graphics/pokemon/dratini/back_gba.png create mode 100644 graphics/pokemon/dratini/icon_gba.png create mode 100644 graphics/pokemon/dratini/normal_gba.pal create mode 100644 graphics/pokemon/dratini/shiny_gba.pal create mode 100644 graphics/pokemon/drowzee/anim_front_gba.png create mode 100644 graphics/pokemon/drowzee/back_gba.png create mode 100644 graphics/pokemon/drowzee/icon_gba.png create mode 100644 graphics/pokemon/drowzee/normal_gba.pal create mode 100644 graphics/pokemon/drowzee/shiny_gba.pal create mode 100644 graphics/pokemon/dugtrio/anim_front_gba.png create mode 100644 graphics/pokemon/dugtrio/back_gba.png create mode 100644 graphics/pokemon/dugtrio/icon_gba.png create mode 100644 graphics/pokemon/dugtrio/normal_gba.pal create mode 100644 graphics/pokemon/dugtrio/shiny_gba.pal create mode 100644 graphics/pokemon/dunsparce/anim_front_gba.png create mode 100644 graphics/pokemon/dunsparce/back_gba.png create mode 100644 graphics/pokemon/dunsparce/icon_gba.png create mode 100644 graphics/pokemon/dunsparce/normal_gba.pal create mode 100644 graphics/pokemon/dunsparce/shiny_gba.pal create mode 100644 graphics/pokemon/dusclops/anim_front_gba.png create mode 100644 graphics/pokemon/dusclops/back_gba.png create mode 100644 graphics/pokemon/dusclops/icon_gba.png create mode 100644 graphics/pokemon/dusclops/normal_gba.pal create mode 100644 graphics/pokemon/dusclops/shiny_gba.pal create mode 100644 graphics/pokemon/duskull/anim_front_gba.png create mode 100644 graphics/pokemon/duskull/back_gba.png create mode 100644 graphics/pokemon/duskull/icon_gba.png create mode 100644 graphics/pokemon/duskull/normal_gba.pal create mode 100644 graphics/pokemon/duskull/shiny_gba.pal create mode 100644 graphics/pokemon/dustox/anim_front_gba.png create mode 100644 graphics/pokemon/dustox/back_gba.png create mode 100644 graphics/pokemon/dustox/icon_gba.png create mode 100644 graphics/pokemon/dustox/normal_gba.pal create mode 100644 graphics/pokemon/dustox/shiny_gba.pal create mode 100644 graphics/pokemon/eevee/anim_front_gba.png create mode 100644 graphics/pokemon/eevee/back_gba.png create mode 100644 graphics/pokemon/eevee/icon_gba.png create mode 100644 graphics/pokemon/eevee/normal_gba.pal create mode 100644 graphics/pokemon/eevee/shiny_gba.pal create mode 100644 graphics/pokemon/egg/anim_front_gba.png create mode 100644 graphics/pokemon/egg/icon_gba.png create mode 100644 graphics/pokemon/egg/normal_gba.pal create mode 100644 graphics/pokemon/ekans/anim_front_gba.png create mode 100644 graphics/pokemon/ekans/back_gba.png create mode 100644 graphics/pokemon/ekans/icon_gba.png create mode 100644 graphics/pokemon/ekans/normal_gba.pal create mode 100644 graphics/pokemon/ekans/shiny_gba.pal create mode 100644 graphics/pokemon/electabuzz/anim_front_gba.png create mode 100644 graphics/pokemon/electabuzz/back_gba.png create mode 100644 graphics/pokemon/electabuzz/icon_gba.png create mode 100644 graphics/pokemon/electabuzz/normal_gba.pal create mode 100644 graphics/pokemon/electabuzz/shiny_gba.pal create mode 100644 graphics/pokemon/electrike/anim_front_gba.png create mode 100644 graphics/pokemon/electrike/back_gba.png create mode 100644 graphics/pokemon/electrike/icon_gba.png create mode 100644 graphics/pokemon/electrike/normal_gba.pal create mode 100644 graphics/pokemon/electrike/shiny_gba.pal create mode 100644 graphics/pokemon/electrode/anim_front_gba.png create mode 100644 graphics/pokemon/electrode/back_gba.png create mode 100644 graphics/pokemon/electrode/icon_gba.png create mode 100644 graphics/pokemon/electrode/normal_gba.pal create mode 100644 graphics/pokemon/electrode/shiny_gba.pal create mode 100644 graphics/pokemon/elekid/anim_front_gba.png create mode 100644 graphics/pokemon/elekid/back_gba.png create mode 100644 graphics/pokemon/elekid/icon_gba.png create mode 100644 graphics/pokemon/elekid/normal_gba.pal create mode 100644 graphics/pokemon/elekid/shiny_gba.pal create mode 100644 graphics/pokemon/entei/anim_front_gba.png create mode 100644 graphics/pokemon/entei/back_gba.png create mode 100644 graphics/pokemon/entei/icon_gba.png create mode 100644 graphics/pokemon/entei/normal_gba.pal create mode 100644 graphics/pokemon/entei/shiny_gba.pal create mode 100644 graphics/pokemon/espeon/anim_front_gba.png create mode 100644 graphics/pokemon/espeon/back_gba.png create mode 100644 graphics/pokemon/espeon/icon_gba.png create mode 100644 graphics/pokemon/espeon/normal_gba.pal create mode 100644 graphics/pokemon/espeon/shiny_gba.pal create mode 100644 graphics/pokemon/exeggcute/anim_front_gba.png create mode 100644 graphics/pokemon/exeggcute/back_gba.png create mode 100644 graphics/pokemon/exeggcute/icon_gba.png create mode 100644 graphics/pokemon/exeggcute/normal_gba.pal create mode 100644 graphics/pokemon/exeggcute/shiny_gba.pal create mode 100644 graphics/pokemon/exeggutor/anim_front_gba.png create mode 100644 graphics/pokemon/exeggutor/back_gba.png create mode 100644 graphics/pokemon/exeggutor/icon_gba.png create mode 100644 graphics/pokemon/exeggutor/normal_gba.pal create mode 100644 graphics/pokemon/exeggutor/shiny_gba.pal create mode 100644 graphics/pokemon/exploud/anim_front_gba.png create mode 100644 graphics/pokemon/exploud/back_gba.png create mode 100644 graphics/pokemon/exploud/icon_gba.png create mode 100644 graphics/pokemon/exploud/normal_gba.pal create mode 100644 graphics/pokemon/exploud/shiny_gba.pal create mode 100644 graphics/pokemon/farfetchd/anim_front_gba.png create mode 100644 graphics/pokemon/farfetchd/back_gba.png create mode 100644 graphics/pokemon/farfetchd/icon_gba.png create mode 100644 graphics/pokemon/farfetchd/normal_gba.pal create mode 100644 graphics/pokemon/farfetchd/shiny_gba.pal create mode 100644 graphics/pokemon/fearow/anim_front_gba.png create mode 100644 graphics/pokemon/fearow/back_gba.png create mode 100644 graphics/pokemon/fearow/icon_gba.png create mode 100644 graphics/pokemon/fearow/normal_gba.pal create mode 100644 graphics/pokemon/fearow/shiny_gba.pal create mode 100644 graphics/pokemon/feebas/anim_front_gba.png create mode 100644 graphics/pokemon/feebas/back_gba.png create mode 100644 graphics/pokemon/feebas/icon_gba.png create mode 100644 graphics/pokemon/feebas/normal_gba.pal create mode 100644 graphics/pokemon/feebas/shiny_gba.pal create mode 100644 graphics/pokemon/feraligatr/anim_front_gba.png create mode 100644 graphics/pokemon/feraligatr/back_gba.png create mode 100644 graphics/pokemon/feraligatr/icon_gba.png create mode 100644 graphics/pokemon/feraligatr/normal_gba.pal create mode 100644 graphics/pokemon/feraligatr/shiny_gba.pal create mode 100644 graphics/pokemon/flaaffy/anim_front_gba.png create mode 100644 graphics/pokemon/flaaffy/back_gba.png create mode 100644 graphics/pokemon/flaaffy/icon_gba.png create mode 100644 graphics/pokemon/flaaffy/normal_gba.pal create mode 100644 graphics/pokemon/flaaffy/shiny_gba.pal create mode 100644 graphics/pokemon/flareon/anim_front_gba.png create mode 100644 graphics/pokemon/flareon/back_gba.png create mode 100644 graphics/pokemon/flareon/icon_gba.png create mode 100644 graphics/pokemon/flareon/normal_gba.pal create mode 100644 graphics/pokemon/flareon/shiny_gba.pal create mode 100644 graphics/pokemon/flygon/anim_front_gba.png create mode 100644 graphics/pokemon/flygon/back_gba.png create mode 100644 graphics/pokemon/flygon/icon_gba.png create mode 100644 graphics/pokemon/flygon/normal_gba.pal create mode 100644 graphics/pokemon/flygon/shiny_gba.pal create mode 100644 graphics/pokemon/forretress/anim_front_gba.png create mode 100644 graphics/pokemon/forretress/back_gba.png create mode 100644 graphics/pokemon/forretress/icon_gba.png create mode 100644 graphics/pokemon/forretress/normal_gba.pal create mode 100644 graphics/pokemon/forretress/shiny_gba.pal create mode 100644 graphics/pokemon/furret/anim_front_gba.png create mode 100644 graphics/pokemon/furret/back_gba.png create mode 100644 graphics/pokemon/furret/icon_gba.png create mode 100644 graphics/pokemon/furret/normal_gba.pal create mode 100644 graphics/pokemon/furret/shiny_gba.pal create mode 100644 graphics/pokemon/gardevoir/anim_front_gba.png create mode 100644 graphics/pokemon/gardevoir/back_gba.png create mode 100644 graphics/pokemon/gardevoir/icon_gba.png create mode 100644 graphics/pokemon/gardevoir/normal_gba.pal create mode 100644 graphics/pokemon/gardevoir/shiny_gba.pal create mode 100644 graphics/pokemon/gastly/anim_front_gba.png create mode 100644 graphics/pokemon/gastly/back_gba.png create mode 100644 graphics/pokemon/gastly/icon_gba.png create mode 100644 graphics/pokemon/gastly/normal_gba.pal create mode 100644 graphics/pokemon/gastly/shiny_gba.pal create mode 100644 graphics/pokemon/gengar/anim_front_gba.png create mode 100644 graphics/pokemon/gengar/back_gba.png create mode 100644 graphics/pokemon/gengar/icon_gba.png create mode 100644 graphics/pokemon/gengar/normal_gba.pal create mode 100644 graphics/pokemon/gengar/shiny_gba.pal create mode 100644 graphics/pokemon/geodude/anim_front_gba.png create mode 100644 graphics/pokemon/geodude/back_gba.png create mode 100644 graphics/pokemon/geodude/icon_gba.png create mode 100644 graphics/pokemon/geodude/normal_gba.pal create mode 100644 graphics/pokemon/geodude/shiny_gba.pal create mode 100644 graphics/pokemon/girafarig/anim_front_gba.png create mode 100644 graphics/pokemon/girafarig/back_gba.png create mode 100644 graphics/pokemon/girafarig/icon_gba.png create mode 100644 graphics/pokemon/girafarig/normal_gba.pal create mode 100644 graphics/pokemon/girafarig/shiny_gba.pal create mode 100644 graphics/pokemon/glalie/anim_front_gba.png create mode 100644 graphics/pokemon/glalie/back_gba.png create mode 100644 graphics/pokemon/glalie/icon_gba.png create mode 100644 graphics/pokemon/glalie/normal_gba.pal create mode 100644 graphics/pokemon/glalie/shiny_gba.pal create mode 100644 graphics/pokemon/gligar/anim_front_gba.png create mode 100644 graphics/pokemon/gligar/back_gba.png create mode 100644 graphics/pokemon/gligar/icon_gba.png create mode 100644 graphics/pokemon/gligar/normal_gba.pal create mode 100644 graphics/pokemon/gligar/shiny_gba.pal create mode 100644 graphics/pokemon/gloom/anim_front_gba.png create mode 100644 graphics/pokemon/gloom/back_gba.png create mode 100644 graphics/pokemon/gloom/icon_gba.png create mode 100644 graphics/pokemon/gloom/normal_gba.pal create mode 100644 graphics/pokemon/gloom/shiny_gba.pal create mode 100644 graphics/pokemon/golbat/anim_front_gba.png create mode 100644 graphics/pokemon/golbat/back_gba.png create mode 100644 graphics/pokemon/golbat/icon_gba.png create mode 100644 graphics/pokemon/golbat/normal_gba.pal create mode 100644 graphics/pokemon/golbat/shiny_gba.pal create mode 100644 graphics/pokemon/goldeen/anim_front_gba.png create mode 100644 graphics/pokemon/goldeen/back_gba.png create mode 100644 graphics/pokemon/goldeen/icon_gba.png create mode 100644 graphics/pokemon/goldeen/normal_gba.pal create mode 100644 graphics/pokemon/goldeen/shiny_gba.pal create mode 100644 graphics/pokemon/golduck/anim_front_gba.png create mode 100644 graphics/pokemon/golduck/back_gba.png create mode 100644 graphics/pokemon/golduck/icon_gba.png create mode 100644 graphics/pokemon/golduck/normal_gba.pal create mode 100644 graphics/pokemon/golduck/shiny_gba.pal create mode 100644 graphics/pokemon/golem/anim_front_gba.png create mode 100644 graphics/pokemon/golem/back_gba.png create mode 100644 graphics/pokemon/golem/footprint_gba.png create mode 100644 graphics/pokemon/golem/icon_gba.png create mode 100644 graphics/pokemon/golem/normal_gba.pal create mode 100644 graphics/pokemon/golem/shiny_gba.pal create mode 100644 graphics/pokemon/gorebyss/anim_front_gba.png create mode 100644 graphics/pokemon/gorebyss/back_gba.png create mode 100644 graphics/pokemon/gorebyss/icon_gba.png create mode 100644 graphics/pokemon/gorebyss/normal_gba.pal create mode 100644 graphics/pokemon/gorebyss/shiny_gba.pal create mode 100644 graphics/pokemon/granbull/anim_front_gba.png create mode 100644 graphics/pokemon/granbull/back_gba.png create mode 100644 graphics/pokemon/granbull/icon_gba.png create mode 100644 graphics/pokemon/granbull/normal_gba.pal create mode 100644 graphics/pokemon/granbull/shiny_gba.pal create mode 100644 graphics/pokemon/graveler/anim_front_gba.png create mode 100644 graphics/pokemon/graveler/back_gba.png create mode 100644 graphics/pokemon/graveler/icon_gba.png create mode 100644 graphics/pokemon/graveler/normal_gba.pal create mode 100644 graphics/pokemon/graveler/shiny_gba.pal create mode 100644 graphics/pokemon/grimer/anim_front_gba.png create mode 100644 graphics/pokemon/grimer/back_gba.png create mode 100644 graphics/pokemon/grimer/icon_gba.png create mode 100644 graphics/pokemon/grimer/normal_gba.pal create mode 100644 graphics/pokemon/grimer/shiny_gba.pal create mode 100644 graphics/pokemon/groudon/anim_front_gba.png create mode 100644 graphics/pokemon/groudon/back_gba.png create mode 100644 graphics/pokemon/groudon/icon_gba.png create mode 100644 graphics/pokemon/groudon/normal_gba.pal create mode 100644 graphics/pokemon/groudon/shiny_gba.pal create mode 100644 graphics/pokemon/grovyle/anim_front_gba.png create mode 100644 graphics/pokemon/grovyle/back_gba.png create mode 100644 graphics/pokemon/grovyle/icon_gba.png create mode 100644 graphics/pokemon/grovyle/normal_gba.pal create mode 100644 graphics/pokemon/grovyle/shiny_gba.pal create mode 100644 graphics/pokemon/growlithe/anim_front_gba.png create mode 100644 graphics/pokemon/growlithe/back_gba.png create mode 100644 graphics/pokemon/growlithe/icon_gba.png create mode 100644 graphics/pokemon/growlithe/normal_gba.pal create mode 100644 graphics/pokemon/growlithe/shiny_gba.pal create mode 100644 graphics/pokemon/grumpig/anim_front_gba.png create mode 100644 graphics/pokemon/grumpig/back_gba.png create mode 100644 graphics/pokemon/grumpig/icon_gba.png create mode 100644 graphics/pokemon/grumpig/normal_gba.pal create mode 100644 graphics/pokemon/grumpig/shiny_gba.pal create mode 100644 graphics/pokemon/gulpin/anim_front_gba.png create mode 100644 graphics/pokemon/gulpin/back_gba.png create mode 100644 graphics/pokemon/gulpin/icon_gba.png create mode 100644 graphics/pokemon/gulpin/normal_gba.pal create mode 100644 graphics/pokemon/gulpin/shiny_gba.pal create mode 100644 graphics/pokemon/gyarados/anim_front_gba.png create mode 100644 graphics/pokemon/gyarados/back_gba.png create mode 100644 graphics/pokemon/gyarados/icon_gba.png create mode 100644 graphics/pokemon/gyarados/normal_gba.pal create mode 100644 graphics/pokemon/gyarados/shiny_gba.pal create mode 100644 graphics/pokemon/hariyama/anim_front_gba.png create mode 100644 graphics/pokemon/hariyama/back_gba.png create mode 100644 graphics/pokemon/hariyama/icon_gba.png create mode 100644 graphics/pokemon/hariyama/normal_gba.pal create mode 100644 graphics/pokemon/hariyama/shiny_gba.pal create mode 100644 graphics/pokemon/haunter/anim_front_gba.png create mode 100644 graphics/pokemon/haunter/back_gba.png create mode 100644 graphics/pokemon/haunter/icon_gba.png create mode 100644 graphics/pokemon/haunter/normal_gba.pal create mode 100644 graphics/pokemon/haunter/shiny_gba.pal create mode 100644 graphics/pokemon/heracross/anim_front_gba.png create mode 100644 graphics/pokemon/heracross/back_gba.png create mode 100644 graphics/pokemon/heracross/icon_gba.png create mode 100644 graphics/pokemon/heracross/normal_gba.pal create mode 100644 graphics/pokemon/heracross/shiny_gba.pal create mode 100644 graphics/pokemon/hitmonchan/anim_front_gba.png create mode 100644 graphics/pokemon/hitmonchan/back_gba.png create mode 100644 graphics/pokemon/hitmonchan/icon_gba.png create mode 100644 graphics/pokemon/hitmonchan/normal_gba.pal create mode 100644 graphics/pokemon/hitmonchan/shiny_gba.pal create mode 100644 graphics/pokemon/hitmonlee/anim_front_gba.png create mode 100644 graphics/pokemon/hitmonlee/back_gba.png create mode 100644 graphics/pokemon/hitmonlee/icon_gba.png create mode 100644 graphics/pokemon/hitmonlee/normal_gba.pal create mode 100644 graphics/pokemon/hitmonlee/shiny_gba.pal create mode 100644 graphics/pokemon/hitmontop/anim_front_gba.png create mode 100644 graphics/pokemon/hitmontop/back_gba.png create mode 100644 graphics/pokemon/hitmontop/icon_gba.png create mode 100644 graphics/pokemon/hitmontop/normal_gba.pal create mode 100644 graphics/pokemon/hitmontop/shiny_gba.pal create mode 100644 graphics/pokemon/ho_oh/anim_front_gba.png create mode 100644 graphics/pokemon/ho_oh/back_gba.png create mode 100644 graphics/pokemon/ho_oh/icon_gba.png create mode 100644 graphics/pokemon/ho_oh/normal_gba.pal create mode 100644 graphics/pokemon/ho_oh/shiny_gba.pal create mode 100644 graphics/pokemon/hoothoot/anim_front_gba.png create mode 100644 graphics/pokemon/hoothoot/back_gba.png create mode 100644 graphics/pokemon/hoothoot/icon_gba.png create mode 100644 graphics/pokemon/hoothoot/normal_gba.pal create mode 100644 graphics/pokemon/hoothoot/shiny_gba.pal create mode 100644 graphics/pokemon/hoppip/anim_front_gba.png create mode 100644 graphics/pokemon/hoppip/back_gba.png create mode 100644 graphics/pokemon/hoppip/icon_gba.png create mode 100644 graphics/pokemon/hoppip/normal_gba.pal create mode 100644 graphics/pokemon/hoppip/shiny_gba.pal create mode 100644 graphics/pokemon/horsea/anim_front_gba.png create mode 100644 graphics/pokemon/horsea/back_gba.png create mode 100644 graphics/pokemon/horsea/icon_gba.png create mode 100644 graphics/pokemon/horsea/normal_gba.pal create mode 100644 graphics/pokemon/horsea/shiny_gba.pal create mode 100644 graphics/pokemon/houndoom/anim_front_gba.png create mode 100644 graphics/pokemon/houndoom/back_gba.png create mode 100644 graphics/pokemon/houndoom/icon_gba.png create mode 100644 graphics/pokemon/houndoom/normal_gba.pal create mode 100644 graphics/pokemon/houndoom/shiny_gba.pal create mode 100644 graphics/pokemon/houndour/anim_front_gba.png create mode 100644 graphics/pokemon/houndour/back_gba.png create mode 100644 graphics/pokemon/houndour/icon_gba.png create mode 100644 graphics/pokemon/houndour/normal_gba.pal create mode 100644 graphics/pokemon/houndour/shiny_gba.pal create mode 100644 graphics/pokemon/huntail/anim_front_gba.png create mode 100644 graphics/pokemon/huntail/back_gba.png create mode 100644 graphics/pokemon/huntail/icon_gba.png create mode 100644 graphics/pokemon/huntail/normal_gba.pal create mode 100644 graphics/pokemon/huntail/shiny_gba.pal create mode 100644 graphics/pokemon/hypno/anim_front_gba.png create mode 100644 graphics/pokemon/hypno/back_gba.png create mode 100644 graphics/pokemon/hypno/icon_gba.png create mode 100644 graphics/pokemon/hypno/normal_gba.pal create mode 100644 graphics/pokemon/hypno/shiny_gba.pal create mode 100644 graphics/pokemon/igglybuff/anim_front_gba.png create mode 100644 graphics/pokemon/igglybuff/back_gba.png create mode 100644 graphics/pokemon/igglybuff/icon_gba.png create mode 100644 graphics/pokemon/igglybuff/normal_gba.pal create mode 100644 graphics/pokemon/igglybuff/shiny_gba.pal create mode 100644 graphics/pokemon/illumise/anim_front_gba.png create mode 100644 graphics/pokemon/illumise/back_gba.png create mode 100644 graphics/pokemon/illumise/icon_gba.png create mode 100644 graphics/pokemon/illumise/normal_gba.pal create mode 100644 graphics/pokemon/illumise/shiny_gba.pal create mode 100644 graphics/pokemon/ivysaur/anim_front_gba.png create mode 100644 graphics/pokemon/ivysaur/back_gba.png create mode 100644 graphics/pokemon/ivysaur/icon_gba.png create mode 100644 graphics/pokemon/ivysaur/normal_gba.pal create mode 100644 graphics/pokemon/ivysaur/shiny_gba.pal create mode 100644 graphics/pokemon/jigglypuff/anim_front_gba.png create mode 100644 graphics/pokemon/jigglypuff/back_gba.png create mode 100644 graphics/pokemon/jigglypuff/icon_gba.png create mode 100644 graphics/pokemon/jigglypuff/normal_gba.pal create mode 100644 graphics/pokemon/jigglypuff/shiny_gba.pal create mode 100644 graphics/pokemon/jirachi/anim_front_gba.png create mode 100644 graphics/pokemon/jirachi/back_gba.png create mode 100644 graphics/pokemon/jirachi/icon_gba.png create mode 100644 graphics/pokemon/jirachi/normal_gba.pal create mode 100644 graphics/pokemon/jirachi/shiny_gba.pal create mode 100644 graphics/pokemon/jolteon/anim_front_gba.png create mode 100644 graphics/pokemon/jolteon/back_gba.png create mode 100644 graphics/pokemon/jolteon/icon_gba.png create mode 100644 graphics/pokemon/jolteon/normal_gba.pal create mode 100644 graphics/pokemon/jolteon/shiny_gba.pal create mode 100644 graphics/pokemon/jumpluff/anim_front_gba.png create mode 100644 graphics/pokemon/jumpluff/back_gba.png create mode 100644 graphics/pokemon/jumpluff/icon_gba.png create mode 100644 graphics/pokemon/jumpluff/normal_gba.pal create mode 100644 graphics/pokemon/jumpluff/shiny_gba.pal create mode 100644 graphics/pokemon/jynx/anim_front_gba.png create mode 100644 graphics/pokemon/jynx/back_gba.png create mode 100644 graphics/pokemon/jynx/icon_gba.png create mode 100644 graphics/pokemon/jynx/normal_gba.pal create mode 100644 graphics/pokemon/jynx/shiny_gba.pal create mode 100644 graphics/pokemon/kabuto/anim_front_gba.png create mode 100644 graphics/pokemon/kabuto/back_gba.png create mode 100644 graphics/pokemon/kabuto/icon_gba.png create mode 100644 graphics/pokemon/kabuto/normal_gba.pal create mode 100644 graphics/pokemon/kabuto/shiny_gba.pal create mode 100644 graphics/pokemon/kabutops/anim_front_gba.png create mode 100644 graphics/pokemon/kabutops/back_gba.png create mode 100644 graphics/pokemon/kabutops/icon_gba.png create mode 100644 graphics/pokemon/kabutops/normal_gba.pal create mode 100644 graphics/pokemon/kabutops/shiny_gba.pal create mode 100644 graphics/pokemon/kadabra/anim_front_gba.png create mode 100644 graphics/pokemon/kadabra/back_gba.png create mode 100644 graphics/pokemon/kadabra/icon_gba.png create mode 100644 graphics/pokemon/kadabra/normal_gba.pal create mode 100644 graphics/pokemon/kadabra/shiny_gba.pal create mode 100644 graphics/pokemon/kakuna/anim_front_gba.png create mode 100644 graphics/pokemon/kakuna/back_gba.png create mode 100644 graphics/pokemon/kakuna/icon_gba.png create mode 100644 graphics/pokemon/kakuna/normal_gba.pal create mode 100644 graphics/pokemon/kakuna/shiny_gba.pal create mode 100644 graphics/pokemon/kangaskhan/anim_front_gba.png create mode 100644 graphics/pokemon/kangaskhan/back_gba.png create mode 100644 graphics/pokemon/kangaskhan/icon_gba.png create mode 100644 graphics/pokemon/kangaskhan/normal_gba.pal create mode 100644 graphics/pokemon/kangaskhan/shiny_gba.pal create mode 100644 graphics/pokemon/kecleon/anim_front_gba.png create mode 100644 graphics/pokemon/kecleon/back_gba.png create mode 100644 graphics/pokemon/kecleon/icon_gba.png create mode 100644 graphics/pokemon/kecleon/normal_gba.pal create mode 100644 graphics/pokemon/kecleon/shiny_gba.pal create mode 100644 graphics/pokemon/kingdra/anim_front_gba.png create mode 100644 graphics/pokemon/kingdra/back_gba.png create mode 100644 graphics/pokemon/kingdra/icon_gba.png create mode 100644 graphics/pokemon/kingdra/normal_gba.pal create mode 100644 graphics/pokemon/kingdra/shiny_gba.pal create mode 100644 graphics/pokemon/kingler/anim_front_gba.png create mode 100644 graphics/pokemon/kingler/back_gba.png create mode 100644 graphics/pokemon/kingler/icon_gba.png create mode 100644 graphics/pokemon/kingler/normal_gba.pal create mode 100644 graphics/pokemon/kingler/shiny_gba.pal create mode 100644 graphics/pokemon/kirlia/anim_front_gba.png create mode 100644 graphics/pokemon/kirlia/back_gba.png create mode 100644 graphics/pokemon/kirlia/icon_gba.png create mode 100644 graphics/pokemon/kirlia/normal_gba.pal create mode 100644 graphics/pokemon/kirlia/shiny_gba.pal create mode 100644 graphics/pokemon/koffing/anim_front_gba.png create mode 100644 graphics/pokemon/koffing/back_gba.png create mode 100644 graphics/pokemon/koffing/icon_gba.png create mode 100644 graphics/pokemon/koffing/normal_gba.pal create mode 100644 graphics/pokemon/koffing/shiny_gba.pal create mode 100644 graphics/pokemon/krabby/anim_front_gba.png create mode 100644 graphics/pokemon/krabby/back_gba.png create mode 100644 graphics/pokemon/krabby/icon_gba.png create mode 100644 graphics/pokemon/krabby/normal_gba.pal create mode 100644 graphics/pokemon/krabby/shiny_gba.pal create mode 100644 graphics/pokemon/kyogre/anim_front_gba.png create mode 100644 graphics/pokemon/kyogre/back_gba.png create mode 100644 graphics/pokemon/kyogre/icon_gba.png create mode 100644 graphics/pokemon/kyogre/normal_gba.pal create mode 100644 graphics/pokemon/kyogre/shiny_gba.pal create mode 100644 graphics/pokemon/lairon/anim_front_gba.png create mode 100644 graphics/pokemon/lairon/back_gba.png create mode 100644 graphics/pokemon/lairon/icon_gba.png create mode 100644 graphics/pokemon/lairon/normal_gba.pal create mode 100644 graphics/pokemon/lairon/shiny_gba.pal create mode 100644 graphics/pokemon/lanturn/anim_front_gba.png create mode 100644 graphics/pokemon/lanturn/back_gba.png create mode 100644 graphics/pokemon/lanturn/icon_gba.png create mode 100644 graphics/pokemon/lanturn/normal_gba.pal create mode 100644 graphics/pokemon/lanturn/shiny_gba.pal create mode 100644 graphics/pokemon/lapras/anim_front_gba.png create mode 100644 graphics/pokemon/lapras/back_gba.png create mode 100644 graphics/pokemon/lapras/icon_gba.png create mode 100644 graphics/pokemon/lapras/normal_gba.pal create mode 100644 graphics/pokemon/lapras/shiny_gba.pal create mode 100644 graphics/pokemon/larvitar/anim_front_gba.png create mode 100644 graphics/pokemon/larvitar/back_gba.png create mode 100644 graphics/pokemon/larvitar/icon_gba.png create mode 100644 graphics/pokemon/larvitar/normal_gba.pal create mode 100644 graphics/pokemon/larvitar/shiny_gba.pal create mode 100644 graphics/pokemon/latias/anim_front_gba.png create mode 100644 graphics/pokemon/latias/back_gba.png create mode 100644 graphics/pokemon/latias/icon_gba.png create mode 100644 graphics/pokemon/latias/normal_gba.pal create mode 100644 graphics/pokemon/latias/shiny_gba.pal create mode 100644 graphics/pokemon/latios/anim_front_gba.png create mode 100644 graphics/pokemon/latios/back_gba.png create mode 100644 graphics/pokemon/latios/icon_gba.png create mode 100644 graphics/pokemon/latios/normal_gba.pal create mode 100644 graphics/pokemon/latios/shiny_gba.pal create mode 100644 graphics/pokemon/ledian/anim_front_gba.png create mode 100644 graphics/pokemon/ledian/back_gba.png create mode 100644 graphics/pokemon/ledian/icon_gba.png create mode 100644 graphics/pokemon/ledian/normal_gba.pal create mode 100644 graphics/pokemon/ledian/shiny_gba.pal create mode 100644 graphics/pokemon/ledyba/anim_front_gba.png create mode 100644 graphics/pokemon/ledyba/back_gba.png create mode 100644 graphics/pokemon/ledyba/icon_gba.png create mode 100644 graphics/pokemon/ledyba/normal_gba.pal create mode 100644 graphics/pokemon/ledyba/shiny_gba.pal create mode 100644 graphics/pokemon/lickitung/anim_front_gba.png create mode 100644 graphics/pokemon/lickitung/back_gba.png create mode 100644 graphics/pokemon/lickitung/icon_gba.png create mode 100644 graphics/pokemon/lickitung/normal_gba.pal create mode 100644 graphics/pokemon/lickitung/shiny_gba.pal create mode 100644 graphics/pokemon/lileep/anim_front_gba.png create mode 100644 graphics/pokemon/lileep/back_gba.png create mode 100644 graphics/pokemon/lileep/icon_gba.png create mode 100644 graphics/pokemon/lileep/normal_gba.pal create mode 100644 graphics/pokemon/lileep/shiny_gba.pal create mode 100644 graphics/pokemon/linoone/anim_front_gba.png create mode 100644 graphics/pokemon/linoone/back_gba.png create mode 100644 graphics/pokemon/linoone/icon_gba.png create mode 100644 graphics/pokemon/linoone/normal_gba.pal create mode 100644 graphics/pokemon/linoone/shiny_gba.pal create mode 100644 graphics/pokemon/lombre/anim_front_gba.png create mode 100644 graphics/pokemon/lombre/back_gba.png create mode 100644 graphics/pokemon/lombre/icon_gba.png create mode 100644 graphics/pokemon/lombre/normal_gba.pal create mode 100644 graphics/pokemon/lombre/shiny_gba.pal create mode 100644 graphics/pokemon/lotad/anim_front_gba.png create mode 100644 graphics/pokemon/lotad/back_gba.png create mode 100644 graphics/pokemon/lotad/icon_gba.png create mode 100644 graphics/pokemon/lotad/normal_gba.pal create mode 100644 graphics/pokemon/lotad/shiny_gba.pal create mode 100644 graphics/pokemon/loudred/anim_front_gba.png create mode 100644 graphics/pokemon/loudred/back_gba.png create mode 100644 graphics/pokemon/loudred/icon_gba.png create mode 100644 graphics/pokemon/loudred/normal_gba.pal create mode 100644 graphics/pokemon/loudred/shiny_gba.pal create mode 100644 graphics/pokemon/ludicolo/anim_front_gba.png create mode 100644 graphics/pokemon/ludicolo/back_gba.png create mode 100644 graphics/pokemon/ludicolo/footprint_gba.png create mode 100644 graphics/pokemon/ludicolo/icon_gba.png create mode 100644 graphics/pokemon/ludicolo/normal_gba.pal create mode 100644 graphics/pokemon/ludicolo/shiny_gba.pal create mode 100644 graphics/pokemon/lugia/anim_front_gba.png create mode 100644 graphics/pokemon/lugia/back_gba.png create mode 100644 graphics/pokemon/lugia/icon_gba.png create mode 100644 graphics/pokemon/lugia/normal_gba.pal create mode 100644 graphics/pokemon/lugia/shiny_gba.pal create mode 100644 graphics/pokemon/lunatone/anim_front_gba.png create mode 100644 graphics/pokemon/lunatone/back_gba.png create mode 100644 graphics/pokemon/lunatone/icon_gba.png create mode 100644 graphics/pokemon/lunatone/normal_gba.pal create mode 100644 graphics/pokemon/lunatone/shiny_gba.pal create mode 100644 graphics/pokemon/luvdisc/anim_front_gba.png create mode 100644 graphics/pokemon/luvdisc/back_gba.png create mode 100644 graphics/pokemon/luvdisc/icon_gba.png create mode 100644 graphics/pokemon/luvdisc/normal_gba.pal create mode 100644 graphics/pokemon/luvdisc/shiny_gba.pal create mode 100644 graphics/pokemon/machamp/anim_front_gba.png create mode 100644 graphics/pokemon/machamp/back_gba.png create mode 100644 graphics/pokemon/machamp/icon_gba.png create mode 100644 graphics/pokemon/machamp/normal_gba.pal create mode 100644 graphics/pokemon/machamp/shiny_gba.pal create mode 100644 graphics/pokemon/machoke/anim_front_gba.png create mode 100644 graphics/pokemon/machoke/back_gba.png create mode 100644 graphics/pokemon/machoke/icon_gba.png create mode 100644 graphics/pokemon/machoke/normal_gba.pal create mode 100644 graphics/pokemon/machoke/shiny_gba.pal create mode 100644 graphics/pokemon/machop/anim_front_gba.png create mode 100644 graphics/pokemon/machop/back_gba.png create mode 100644 graphics/pokemon/machop/icon_gba.png create mode 100644 graphics/pokemon/machop/normal_gba.pal create mode 100644 graphics/pokemon/machop/shiny_gba.pal create mode 100644 graphics/pokemon/magby/anim_front_gba.png create mode 100644 graphics/pokemon/magby/back_gba.png create mode 100644 graphics/pokemon/magby/icon_gba.png create mode 100644 graphics/pokemon/magby/normal_gba.pal create mode 100644 graphics/pokemon/magby/shiny_gba.pal create mode 100644 graphics/pokemon/magcargo/anim_front_gba.png create mode 100644 graphics/pokemon/magcargo/back_gba.png create mode 100644 graphics/pokemon/magcargo/icon_gba.png create mode 100644 graphics/pokemon/magcargo/normal_gba.pal create mode 100644 graphics/pokemon/magcargo/shiny_gba.pal create mode 100644 graphics/pokemon/magikarp/anim_front_gba.png create mode 100644 graphics/pokemon/magikarp/back_gba.png create mode 100644 graphics/pokemon/magikarp/icon_gba.png create mode 100644 graphics/pokemon/magikarp/normal_gba.pal create mode 100644 graphics/pokemon/magikarp/shiny_gba.pal create mode 100644 graphics/pokemon/magmar/anim_front_gba.png create mode 100644 graphics/pokemon/magmar/back_gba.png create mode 100644 graphics/pokemon/magmar/icon_gba.png create mode 100644 graphics/pokemon/magmar/normal_gba.pal create mode 100644 graphics/pokemon/magmar/shiny_gba.pal create mode 100644 graphics/pokemon/magnemite/anim_front_gba.png create mode 100644 graphics/pokemon/magnemite/back_gba.png create mode 100644 graphics/pokemon/magnemite/icon_gba.png create mode 100644 graphics/pokemon/magnemite/normal_gba.pal create mode 100644 graphics/pokemon/magnemite/shiny_gba.pal create mode 100644 graphics/pokemon/magneton/anim_front_gba.png create mode 100644 graphics/pokemon/magneton/back_gba.png create mode 100644 graphics/pokemon/magneton/icon_gba.png create mode 100644 graphics/pokemon/magneton/normal_gba.pal create mode 100644 graphics/pokemon/magneton/shiny_gba.pal create mode 100644 graphics/pokemon/makuhita/anim_front_gba.png create mode 100644 graphics/pokemon/makuhita/back_gba.png create mode 100644 graphics/pokemon/makuhita/icon_gba.png create mode 100644 graphics/pokemon/makuhita/normal_gba.pal create mode 100644 graphics/pokemon/makuhita/shiny_gba.pal create mode 100644 graphics/pokemon/manectric/anim_front_gba.png create mode 100644 graphics/pokemon/manectric/back_gba.png create mode 100644 graphics/pokemon/manectric/icon_gba.png create mode 100644 graphics/pokemon/manectric/normal_gba.pal create mode 100644 graphics/pokemon/manectric/shiny_gba.pal create mode 100644 graphics/pokemon/mankey/anim_front_gba.png create mode 100644 graphics/pokemon/mankey/back_gba.png create mode 100644 graphics/pokemon/mankey/icon_gba.png create mode 100644 graphics/pokemon/mankey/normal_gba.pal create mode 100644 graphics/pokemon/mankey/shiny_gba.pal create mode 100644 graphics/pokemon/mantine/anim_front_gba.png create mode 100644 graphics/pokemon/mantine/back_gba.png create mode 100644 graphics/pokemon/mantine/icon_gba.png create mode 100644 graphics/pokemon/mantine/normal_gba.pal create mode 100644 graphics/pokemon/mantine/shiny_gba.pal create mode 100644 graphics/pokemon/mareep/anim_front_gba.png create mode 100644 graphics/pokemon/mareep/back_gba.png create mode 100644 graphics/pokemon/mareep/icon_gba.png create mode 100644 graphics/pokemon/mareep/normal_gba.pal create mode 100644 graphics/pokemon/mareep/shiny_gba.pal create mode 100644 graphics/pokemon/marill/anim_front_gba.png create mode 100644 graphics/pokemon/marill/back_gba.png create mode 100644 graphics/pokemon/marill/icon_gba.png create mode 100644 graphics/pokemon/marill/normal_gba.pal create mode 100644 graphics/pokemon/marill/shiny_gba.pal create mode 100644 graphics/pokemon/marowak/anim_front_gba.png create mode 100644 graphics/pokemon/marowak/back_gba.png create mode 100644 graphics/pokemon/marowak/icon_gba.png create mode 100644 graphics/pokemon/marowak/normal_gba.pal create mode 100644 graphics/pokemon/marowak/shiny_gba.pal create mode 100644 graphics/pokemon/marshtomp/anim_front_gba.png create mode 100644 graphics/pokemon/marshtomp/back_gba.png create mode 100644 graphics/pokemon/marshtomp/icon_gba.png create mode 100644 graphics/pokemon/marshtomp/normal_gba.pal create mode 100644 graphics/pokemon/marshtomp/shiny_gba.pal create mode 100644 graphics/pokemon/masquerain/anim_front_gba.png create mode 100644 graphics/pokemon/masquerain/back_gba.png create mode 100644 graphics/pokemon/masquerain/icon_gba.png create mode 100644 graphics/pokemon/masquerain/normal_gba.pal create mode 100644 graphics/pokemon/masquerain/shiny_gba.pal create mode 100644 graphics/pokemon/mawile/anim_front_gba.png create mode 100644 graphics/pokemon/mawile/back_gba.png create mode 100644 graphics/pokemon/mawile/footprint_gba.png create mode 100644 graphics/pokemon/mawile/icon_gba.png create mode 100644 graphics/pokemon/mawile/normal_gba.pal create mode 100644 graphics/pokemon/mawile/shiny_gba.pal create mode 100644 graphics/pokemon/medicham/anim_front_gba.png create mode 100644 graphics/pokemon/medicham/back_gba.png create mode 100644 graphics/pokemon/medicham/icon_gba.png create mode 100644 graphics/pokemon/medicham/normal_gba.pal create mode 100644 graphics/pokemon/medicham/shiny_gba.pal create mode 100644 graphics/pokemon/meditite/anim_front_gba.png create mode 100644 graphics/pokemon/meditite/back_gba.png create mode 100644 graphics/pokemon/meditite/icon_gba.png create mode 100644 graphics/pokemon/meditite/normal_gba.pal create mode 100644 graphics/pokemon/meditite/shiny_gba.pal create mode 100644 graphics/pokemon/meganium/anim_front_gba.png create mode 100644 graphics/pokemon/meganium/back_gba.png create mode 100644 graphics/pokemon/meganium/icon_gba.png create mode 100644 graphics/pokemon/meganium/normal_gba.pal create mode 100644 graphics/pokemon/meganium/shiny_gba.pal create mode 100644 graphics/pokemon/meowth/anim_front_gba.png create mode 100644 graphics/pokemon/meowth/back_gba.png create mode 100644 graphics/pokemon/meowth/icon_gba.png create mode 100644 graphics/pokemon/meowth/normal_gba.pal create mode 100644 graphics/pokemon/meowth/shiny_gba.pal create mode 100644 graphics/pokemon/metagross/anim_front_gba.png create mode 100644 graphics/pokemon/metagross/back_gba.png create mode 100644 graphics/pokemon/metagross/icon_gba.png create mode 100644 graphics/pokemon/metagross/normal_gba.pal create mode 100644 graphics/pokemon/metagross/shiny_gba.pal create mode 100644 graphics/pokemon/metang/anim_front_gba.png create mode 100644 graphics/pokemon/metang/back_gba.png create mode 100644 graphics/pokemon/metang/icon_gba.png create mode 100644 graphics/pokemon/metang/normal_gba.pal create mode 100644 graphics/pokemon/metang/shiny_gba.pal create mode 100644 graphics/pokemon/metapod/anim_front_gba.png create mode 100644 graphics/pokemon/metapod/back_gba.png create mode 100644 graphics/pokemon/metapod/icon_gba.png create mode 100644 graphics/pokemon/metapod/normal_gba.pal create mode 100644 graphics/pokemon/metapod/shiny_gba.pal create mode 100644 graphics/pokemon/mew/anim_front_gba.png create mode 100644 graphics/pokemon/mew/back_gba.png create mode 100644 graphics/pokemon/mew/icon_gba.png create mode 100644 graphics/pokemon/mew/normal_gba.pal create mode 100644 graphics/pokemon/mew/shiny_gba.pal create mode 100644 graphics/pokemon/mewtwo/anim_front_gba.png create mode 100644 graphics/pokemon/mewtwo/back_gba.png create mode 100644 graphics/pokemon/mewtwo/icon_gba.png create mode 100644 graphics/pokemon/mewtwo/normal_gba.pal create mode 100644 graphics/pokemon/mewtwo/shiny_gba.pal create mode 100644 graphics/pokemon/mightyena/anim_front_gba.png create mode 100644 graphics/pokemon/mightyena/back_gba.png create mode 100644 graphics/pokemon/mightyena/icon_gba.png create mode 100644 graphics/pokemon/mightyena/normal_gba.pal create mode 100644 graphics/pokemon/mightyena/shiny_gba.pal create mode 100644 graphics/pokemon/milotic/anim_front_gba.png create mode 100644 graphics/pokemon/milotic/back_gba.png create mode 100644 graphics/pokemon/milotic/icon_gba.png create mode 100644 graphics/pokemon/milotic/normal_gba.pal create mode 100644 graphics/pokemon/milotic/shiny_gba.pal create mode 100644 graphics/pokemon/miltank/anim_front_gba.png create mode 100644 graphics/pokemon/miltank/back_gba.png create mode 100644 graphics/pokemon/miltank/icon_gba.png create mode 100644 graphics/pokemon/miltank/normal_gba.pal create mode 100644 graphics/pokemon/miltank/shiny_gba.pal create mode 100644 graphics/pokemon/minun/anim_front_gba.png create mode 100644 graphics/pokemon/minun/back_gba.png create mode 100644 graphics/pokemon/minun/icon_gba.png create mode 100644 graphics/pokemon/minun/normal_gba.pal create mode 100644 graphics/pokemon/minun/shiny_gba.pal create mode 100644 graphics/pokemon/misdreavus/anim_front_gba.png create mode 100644 graphics/pokemon/misdreavus/back_gba.png create mode 100644 graphics/pokemon/misdreavus/icon_gba.png create mode 100644 graphics/pokemon/misdreavus/normal_gba.pal create mode 100644 graphics/pokemon/misdreavus/shiny_gba.pal create mode 100644 graphics/pokemon/moltres/anim_front_gba.png create mode 100644 graphics/pokemon/moltres/back_gba.png create mode 100644 graphics/pokemon/moltres/icon_gba.png create mode 100644 graphics/pokemon/moltres/normal_gba.pal create mode 100644 graphics/pokemon/moltres/shiny_gba.pal create mode 100644 graphics/pokemon/mr_mime/anim_front_gba.png create mode 100644 graphics/pokemon/mr_mime/back_gba.png create mode 100644 graphics/pokemon/mr_mime/icon_gba.png create mode 100644 graphics/pokemon/mr_mime/normal_gba.pal create mode 100644 graphics/pokemon/mr_mime/shiny_gba.pal create mode 100644 graphics/pokemon/mudkip/anim_front_gba.png create mode 100644 graphics/pokemon/mudkip/back_gba.png create mode 100644 graphics/pokemon/mudkip/icon_gba.png create mode 100644 graphics/pokemon/mudkip/normal_gba.pal create mode 100644 graphics/pokemon/mudkip/shiny_gba.pal create mode 100644 graphics/pokemon/muk/anim_front_gba.png create mode 100644 graphics/pokemon/muk/back_gba.png create mode 100644 graphics/pokemon/muk/icon_gba.png create mode 100644 graphics/pokemon/muk/normal_gba.pal create mode 100644 graphics/pokemon/muk/shiny_gba.pal create mode 100644 graphics/pokemon/murkrow/anim_front_gba.png create mode 100644 graphics/pokemon/murkrow/back_gba.png create mode 100644 graphics/pokemon/murkrow/icon_gba.png create mode 100644 graphics/pokemon/murkrow/normal_gba.pal create mode 100644 graphics/pokemon/murkrow/shiny_gba.pal create mode 100644 graphics/pokemon/natu/anim_front_gba.png create mode 100644 graphics/pokemon/natu/back_gba.png create mode 100644 graphics/pokemon/natu/icon_gba.png create mode 100644 graphics/pokemon/natu/normal_gba.pal create mode 100644 graphics/pokemon/natu/shiny_gba.pal create mode 100644 graphics/pokemon/nidoking/anim_front_gba.png create mode 100644 graphics/pokemon/nidoking/back_gba.png create mode 100644 graphics/pokemon/nidoking/icon_gba.png create mode 100644 graphics/pokemon/nidoking/normal_gba.pal create mode 100644 graphics/pokemon/nidoking/shiny_gba.pal create mode 100644 graphics/pokemon/nidoqueen/anim_front_gba.png create mode 100644 graphics/pokemon/nidoqueen/back_gba.png create mode 100644 graphics/pokemon/nidoqueen/icon_gba.png create mode 100644 graphics/pokemon/nidoqueen/normal_gba.pal create mode 100644 graphics/pokemon/nidoqueen/shiny_gba.pal create mode 100644 graphics/pokemon/nidoran_f/anim_front_gba.png create mode 100644 graphics/pokemon/nidoran_f/back_gba.png create mode 100644 graphics/pokemon/nidoran_f/icon_gba.png create mode 100644 graphics/pokemon/nidoran_f/normal_gba.pal create mode 100644 graphics/pokemon/nidoran_f/shiny_gba.pal create mode 100644 graphics/pokemon/nidoran_m/anim_front_gba.png create mode 100644 graphics/pokemon/nidoran_m/back_gba.png create mode 100644 graphics/pokemon/nidoran_m/icon_gba.png create mode 100644 graphics/pokemon/nidoran_m/normal_gba.pal create mode 100644 graphics/pokemon/nidoran_m/shiny_gba.pal create mode 100644 graphics/pokemon/nidorina/anim_front_gba.png create mode 100644 graphics/pokemon/nidorina/back_gba.png create mode 100644 graphics/pokemon/nidorina/icon_gba.png create mode 100644 graphics/pokemon/nidorina/normal_gba.pal create mode 100644 graphics/pokemon/nidorina/shiny_gba.pal create mode 100644 graphics/pokemon/nidorino/anim_front_gba.png create mode 100644 graphics/pokemon/nidorino/back_gba.png create mode 100644 graphics/pokemon/nidorino/icon_gba.png create mode 100644 graphics/pokemon/nidorino/normal_gba.pal create mode 100644 graphics/pokemon/nidorino/shiny_gba.pal create mode 100644 graphics/pokemon/nincada/anim_front_gba.png create mode 100644 graphics/pokemon/nincada/back_gba.png create mode 100644 graphics/pokemon/nincada/icon_gba.png create mode 100644 graphics/pokemon/nincada/normal_gba.pal create mode 100644 graphics/pokemon/nincada/shiny_gba.pal create mode 100644 graphics/pokemon/ninetales/anim_front_gba.png create mode 100644 graphics/pokemon/ninetales/back_gba.png create mode 100644 graphics/pokemon/ninetales/icon_gba.png create mode 100644 graphics/pokemon/ninetales/normal_gba.pal create mode 100644 graphics/pokemon/ninetales/shiny_gba.pal create mode 100644 graphics/pokemon/ninjask/anim_front_gba.png create mode 100644 graphics/pokemon/ninjask/back_gba.png create mode 100644 graphics/pokemon/ninjask/icon_gba.png create mode 100644 graphics/pokemon/ninjask/normal_gba.pal create mode 100644 graphics/pokemon/ninjask/shiny_gba.pal create mode 100644 graphics/pokemon/noctowl/anim_front_gba.png create mode 100644 graphics/pokemon/noctowl/back_gba.png create mode 100644 graphics/pokemon/noctowl/icon_gba.png create mode 100644 graphics/pokemon/noctowl/normal_gba.pal create mode 100644 graphics/pokemon/noctowl/shiny_gba.pal create mode 100644 graphics/pokemon/nosepass/anim_front_gba.png create mode 100644 graphics/pokemon/nosepass/back_gba.png create mode 100644 graphics/pokemon/nosepass/icon_gba.png create mode 100644 graphics/pokemon/nosepass/normal_gba.pal create mode 100644 graphics/pokemon/nosepass/shiny_gba.pal create mode 100644 graphics/pokemon/numel/anim_front_gba.png create mode 100644 graphics/pokemon/numel/back_gba.png create mode 100644 graphics/pokemon/numel/icon_gba.png create mode 100644 graphics/pokemon/numel/normal_gba.pal create mode 100644 graphics/pokemon/numel/shiny_gba.pal create mode 100644 graphics/pokemon/nuzleaf/anim_front_gba.png create mode 100644 graphics/pokemon/nuzleaf/back_gba.png create mode 100644 graphics/pokemon/nuzleaf/icon_gba.png create mode 100644 graphics/pokemon/nuzleaf/normal_gba.pal create mode 100644 graphics/pokemon/nuzleaf/shiny_gba.pal create mode 100644 graphics/pokemon/octillery/anim_front_gba.png create mode 100644 graphics/pokemon/octillery/back_gba.png create mode 100644 graphics/pokemon/octillery/icon_gba.png create mode 100644 graphics/pokemon/octillery/normal_gba.pal create mode 100644 graphics/pokemon/octillery/shiny_gba.pal create mode 100644 graphics/pokemon/oddish/anim_front_gba.png create mode 100644 graphics/pokemon/oddish/back_gba.png create mode 100644 graphics/pokemon/oddish/icon_gba.png create mode 100644 graphics/pokemon/oddish/normal_gba.pal create mode 100644 graphics/pokemon/oddish/shiny_gba.pal create mode 100644 graphics/pokemon/omanyte/anim_front_gba.png create mode 100644 graphics/pokemon/omanyte/back_gba.png create mode 100644 graphics/pokemon/omanyte/icon_gba.png create mode 100644 graphics/pokemon/omanyte/normal_gba.pal create mode 100644 graphics/pokemon/omanyte/shiny_gba.pal create mode 100644 graphics/pokemon/omastar/anim_front_gba.png create mode 100644 graphics/pokemon/omastar/back_gba.png create mode 100644 graphics/pokemon/omastar/icon_gba.png create mode 100644 graphics/pokemon/omastar/normal_gba.pal create mode 100644 graphics/pokemon/omastar/shiny_gba.pal create mode 100644 graphics/pokemon/onix/anim_front_gba.png create mode 100644 graphics/pokemon/onix/back_gba.png create mode 100644 graphics/pokemon/onix/icon_gba.png create mode 100644 graphics/pokemon/onix/normal_gba.pal create mode 100644 graphics/pokemon/onix/shiny_gba.pal create mode 100644 graphics/pokemon/paras/anim_front_gba.png create mode 100644 graphics/pokemon/paras/back_gba.png create mode 100644 graphics/pokemon/paras/icon_gba.png create mode 100644 graphics/pokemon/paras/normal_gba.pal create mode 100644 graphics/pokemon/paras/shiny_gba.pal create mode 100644 graphics/pokemon/parasect/anim_front_gba.png create mode 100644 graphics/pokemon/parasect/back_gba.png create mode 100644 graphics/pokemon/parasect/icon_gba.png create mode 100644 graphics/pokemon/parasect/normal_gba.pal create mode 100644 graphics/pokemon/parasect/shiny_gba.pal create mode 100644 graphics/pokemon/pelipper/anim_front_gba.png create mode 100644 graphics/pokemon/pelipper/back_gba.png create mode 100644 graphics/pokemon/pelipper/icon_gba.png create mode 100644 graphics/pokemon/pelipper/normal_gba.pal create mode 100644 graphics/pokemon/pelipper/shiny_gba.pal create mode 100644 graphics/pokemon/persian/anim_front_gba.png create mode 100644 graphics/pokemon/persian/back_gba.png create mode 100644 graphics/pokemon/persian/icon_gba.png create mode 100644 graphics/pokemon/persian/normal_gba.pal create mode 100644 graphics/pokemon/persian/shiny_gba.pal create mode 100644 graphics/pokemon/phanpy/anim_front_gba.png create mode 100644 graphics/pokemon/phanpy/back_gba.png create mode 100644 graphics/pokemon/phanpy/icon_gba.png create mode 100644 graphics/pokemon/phanpy/normal_gba.pal create mode 100644 graphics/pokemon/phanpy/shiny_gba.pal create mode 100644 graphics/pokemon/pichu/anim_front_gba.png create mode 100644 graphics/pokemon/pichu/back_gba.png create mode 100644 graphics/pokemon/pichu/icon_gba.png create mode 100644 graphics/pokemon/pichu/normal_gba.pal create mode 100644 graphics/pokemon/pichu/shiny_gba.pal create mode 100644 graphics/pokemon/pidgeot/anim_front_gba.png create mode 100644 graphics/pokemon/pidgeot/back_gba.png create mode 100644 graphics/pokemon/pidgeot/icon_gba.png create mode 100644 graphics/pokemon/pidgeot/normal_gba.pal create mode 100644 graphics/pokemon/pidgeot/shiny_gba.pal create mode 100644 graphics/pokemon/pidgeotto/anim_front_gba.png create mode 100644 graphics/pokemon/pidgeotto/back_gba.png create mode 100644 graphics/pokemon/pidgeotto/icon_gba.png create mode 100644 graphics/pokemon/pidgeotto/normal_gba.pal create mode 100644 graphics/pokemon/pidgeotto/shiny_gba.pal create mode 100644 graphics/pokemon/pidgey/anim_front_gba.png create mode 100644 graphics/pokemon/pidgey/back_gba.png create mode 100644 graphics/pokemon/pidgey/icon_gba.png create mode 100644 graphics/pokemon/pidgey/normal_gba.pal create mode 100644 graphics/pokemon/pidgey/shiny_gba.pal create mode 100644 graphics/pokemon/pikachu/anim_front_gba.png create mode 100644 graphics/pokemon/pikachu/back_gba.png create mode 100644 graphics/pokemon/pikachu/icon_gba.png create mode 100644 graphics/pokemon/pikachu/normal_gba.pal create mode 100644 graphics/pokemon/pikachu/shiny_gba.pal create mode 100644 graphics/pokemon/piloswine/anim_front_gba.png create mode 100644 graphics/pokemon/piloswine/back_gba.png create mode 100644 graphics/pokemon/piloswine/icon_gba.png create mode 100644 graphics/pokemon/piloswine/normal_gba.pal create mode 100644 graphics/pokemon/piloswine/shiny_gba.pal create mode 100644 graphics/pokemon/pineco/anim_front_gba.png create mode 100644 graphics/pokemon/pineco/back_gba.png create mode 100644 graphics/pokemon/pineco/icon_gba.png create mode 100644 graphics/pokemon/pineco/normal_gba.pal create mode 100644 graphics/pokemon/pineco/shiny_gba.pal create mode 100644 graphics/pokemon/pinsir/anim_front_gba.png create mode 100644 graphics/pokemon/pinsir/back_gba.png create mode 100644 graphics/pokemon/pinsir/icon_gba.png create mode 100644 graphics/pokemon/pinsir/normal_gba.pal create mode 100644 graphics/pokemon/pinsir/shiny_gba.pal create mode 100644 graphics/pokemon/plusle/anim_front_gba.png create mode 100644 graphics/pokemon/plusle/back_gba.png create mode 100644 graphics/pokemon/plusle/icon_gba.png create mode 100644 graphics/pokemon/plusle/normal_gba.pal create mode 100644 graphics/pokemon/plusle/shiny_gba.pal create mode 100644 graphics/pokemon/politoed/anim_front_gba.png create mode 100644 graphics/pokemon/politoed/back_gba.png create mode 100644 graphics/pokemon/politoed/icon_gba.png create mode 100644 graphics/pokemon/politoed/normal_gba.pal create mode 100644 graphics/pokemon/politoed/shiny_gba.pal create mode 100644 graphics/pokemon/poliwag/anim_front_gba.png create mode 100644 graphics/pokemon/poliwag/back_gba.png create mode 100644 graphics/pokemon/poliwag/icon_gba.png create mode 100644 graphics/pokemon/poliwag/normal_gba.pal create mode 100644 graphics/pokemon/poliwag/shiny_gba.pal create mode 100644 graphics/pokemon/poliwhirl/anim_front_gba.png create mode 100644 graphics/pokemon/poliwhirl/back_gba.png create mode 100644 graphics/pokemon/poliwhirl/icon_gba.png create mode 100644 graphics/pokemon/poliwhirl/normal_gba.pal create mode 100644 graphics/pokemon/poliwhirl/shiny_gba.pal create mode 100644 graphics/pokemon/poliwrath/anim_front_gba.png create mode 100644 graphics/pokemon/poliwrath/back_gba.png create mode 100644 graphics/pokemon/poliwrath/icon_gba.png create mode 100644 graphics/pokemon/poliwrath/normal_gba.pal create mode 100644 graphics/pokemon/poliwrath/shiny_gba.pal create mode 100644 graphics/pokemon/ponyta/anim_front_gba.png create mode 100644 graphics/pokemon/ponyta/back_gba.png create mode 100644 graphics/pokemon/ponyta/icon_gba.png create mode 100644 graphics/pokemon/ponyta/normal_gba.pal create mode 100644 graphics/pokemon/ponyta/shiny_gba.pal create mode 100644 graphics/pokemon/poochyena/anim_front_gba.png create mode 100644 graphics/pokemon/poochyena/back_gba.png create mode 100644 graphics/pokemon/poochyena/icon_gba.png create mode 100644 graphics/pokemon/poochyena/normal_gba.pal create mode 100644 graphics/pokemon/poochyena/shiny_gba.pal create mode 100644 graphics/pokemon/porygon/anim_front_gba.png create mode 100644 graphics/pokemon/porygon/back_gba.png create mode 100644 graphics/pokemon/porygon/icon_gba.png create mode 100644 graphics/pokemon/porygon/normal_gba.pal create mode 100644 graphics/pokemon/porygon/shiny_gba.pal create mode 100644 graphics/pokemon/porygon2/anim_front_gba.png create mode 100644 graphics/pokemon/porygon2/back_gba.png create mode 100644 graphics/pokemon/porygon2/icon_gba.png create mode 100644 graphics/pokemon/porygon2/normal_gba.pal create mode 100644 graphics/pokemon/porygon2/shiny_gba.pal create mode 100644 graphics/pokemon/primeape/anim_front_gba.png create mode 100644 graphics/pokemon/primeape/back_gba.png create mode 100644 graphics/pokemon/primeape/icon_gba.png create mode 100644 graphics/pokemon/primeape/normal_gba.pal create mode 100644 graphics/pokemon/primeape/shiny_gba.pal create mode 100644 graphics/pokemon/psyduck/anim_front_gba.png create mode 100644 graphics/pokemon/psyduck/back_gba.png create mode 100644 graphics/pokemon/psyduck/icon_gba.png create mode 100644 graphics/pokemon/psyduck/normal_gba.pal create mode 100644 graphics/pokemon/psyduck/shiny_gba.pal create mode 100644 graphics/pokemon/pupitar/anim_front_gba.png create mode 100644 graphics/pokemon/pupitar/back_gba.png create mode 100644 graphics/pokemon/pupitar/icon_gba.png create mode 100644 graphics/pokemon/pupitar/normal_gba.pal create mode 100644 graphics/pokemon/pupitar/shiny_gba.pal create mode 100644 graphics/pokemon/quagsire/anim_front_gba.png create mode 100644 graphics/pokemon/quagsire/back_gba.png create mode 100644 graphics/pokemon/quagsire/icon_gba.png create mode 100644 graphics/pokemon/quagsire/normal_gba.pal create mode 100644 graphics/pokemon/quagsire/shiny_gba.pal create mode 100644 graphics/pokemon/question_mark/circled/anim_front_gba.png create mode 100644 graphics/pokemon/question_mark/circled/back_gba.png create mode 100644 graphics/pokemon/question_mark/circled/normal_gba.pal create mode 100644 graphics/pokemon/question_mark/circled/shiny_gba.pal create mode 100644 graphics/pokemon/question_mark/double/anim_front_gba.png create mode 100644 graphics/pokemon/question_mark/double/back_gba.png create mode 100644 graphics/pokemon/question_mark/double/normal_gba.pal create mode 100644 graphics/pokemon/question_mark/double/shiny_gba.pal create mode 100644 graphics/pokemon/question_mark/footprint_gba.png create mode 100644 graphics/pokemon/question_mark/icon_gba.png create mode 100644 graphics/pokemon/quilava/anim_front_gba.png create mode 100644 graphics/pokemon/quilava/back_gba.png create mode 100644 graphics/pokemon/quilava/icon_gba.png create mode 100644 graphics/pokemon/quilava/normal_gba.pal create mode 100644 graphics/pokemon/quilava/shiny_gba.pal create mode 100644 graphics/pokemon/qwilfish/anim_front_gba.png create mode 100644 graphics/pokemon/qwilfish/back_gba.png create mode 100644 graphics/pokemon/qwilfish/icon_gba.png create mode 100644 graphics/pokemon/qwilfish/normal_gba.pal create mode 100644 graphics/pokemon/qwilfish/shiny_gba.pal create mode 100644 graphics/pokemon/raichu/anim_front_gba.png create mode 100644 graphics/pokemon/raichu/back_gba.png create mode 100644 graphics/pokemon/raichu/icon_gba.png create mode 100644 graphics/pokemon/raichu/normal_gba.pal create mode 100644 graphics/pokemon/raichu/shiny_gba.pal create mode 100644 graphics/pokemon/raikou/anim_front_gba.png create mode 100644 graphics/pokemon/raikou/back_gba.png create mode 100644 graphics/pokemon/raikou/icon_gba.png create mode 100644 graphics/pokemon/raikou/normal_gba.pal create mode 100644 graphics/pokemon/raikou/shiny_gba.pal create mode 100644 graphics/pokemon/ralts/anim_front_gba.png create mode 100644 graphics/pokemon/ralts/back_gba.png create mode 100644 graphics/pokemon/ralts/icon_gba.png create mode 100644 graphics/pokemon/ralts/normal_gba.pal create mode 100644 graphics/pokemon/ralts/shiny_gba.pal create mode 100644 graphics/pokemon/rapidash/anim_front_gba.png create mode 100644 graphics/pokemon/rapidash/back_gba.png create mode 100644 graphics/pokemon/rapidash/icon_gba.png create mode 100644 graphics/pokemon/rapidash/normal_gba.pal create mode 100644 graphics/pokemon/rapidash/shiny_gba.pal create mode 100644 graphics/pokemon/raticate/anim_front_gba.png create mode 100644 graphics/pokemon/raticate/back_gba.png create mode 100644 graphics/pokemon/raticate/icon_gba.png create mode 100644 graphics/pokemon/raticate/normal_gba.pal create mode 100644 graphics/pokemon/raticate/shiny_gba.pal create mode 100644 graphics/pokemon/rattata/anim_front_gba.png create mode 100644 graphics/pokemon/rattata/back_gba.png create mode 100644 graphics/pokemon/rattata/icon_gba.png create mode 100644 graphics/pokemon/rattata/normal_gba.pal create mode 100644 graphics/pokemon/rattata/shiny_gba.pal create mode 100644 graphics/pokemon/rayquaza/anim_front_gba.png create mode 100644 graphics/pokemon/rayquaza/back_gba.png create mode 100644 graphics/pokemon/rayquaza/icon_gba.png create mode 100644 graphics/pokemon/rayquaza/normal_gba.pal create mode 100644 graphics/pokemon/rayquaza/shiny_gba.pal create mode 100644 graphics/pokemon/regice/anim_front_gba.png create mode 100644 graphics/pokemon/regice/back_gba.png create mode 100644 graphics/pokemon/regice/icon_gba.png create mode 100644 graphics/pokemon/regice/normal_gba.pal create mode 100644 graphics/pokemon/regice/shiny_gba.pal create mode 100644 graphics/pokemon/regirock/anim_front_gba.png create mode 100644 graphics/pokemon/regirock/back_gba.png create mode 100644 graphics/pokemon/regirock/icon_gba.png create mode 100644 graphics/pokemon/regirock/normal_gba.pal create mode 100644 graphics/pokemon/regirock/shiny_gba.pal create mode 100644 graphics/pokemon/registeel/anim_front_gba.png create mode 100644 graphics/pokemon/registeel/back_gba.png create mode 100644 graphics/pokemon/registeel/icon_gba.png create mode 100644 graphics/pokemon/registeel/normal_gba.pal create mode 100644 graphics/pokemon/registeel/shiny_gba.pal create mode 100644 graphics/pokemon/relicanth/anim_front_gba.png create mode 100644 graphics/pokemon/relicanth/back_gba.png create mode 100644 graphics/pokemon/relicanth/icon_gba.png create mode 100644 graphics/pokemon/relicanth/normal_gba.pal create mode 100644 graphics/pokemon/relicanth/shiny_gba.pal create mode 100644 graphics/pokemon/remoraid/anim_front_gba.png create mode 100644 graphics/pokemon/remoraid/back_gba.png create mode 100644 graphics/pokemon/remoraid/icon_gba.png create mode 100644 graphics/pokemon/remoraid/normal_gba.pal create mode 100644 graphics/pokemon/remoraid/shiny_gba.pal create mode 100644 graphics/pokemon/rhydon/anim_front_gba.png create mode 100644 graphics/pokemon/rhydon/back_gba.png create mode 100644 graphics/pokemon/rhydon/icon_gba.png create mode 100644 graphics/pokemon/rhydon/normal_gba.pal create mode 100644 graphics/pokemon/rhydon/shiny_gba.pal create mode 100644 graphics/pokemon/rhyhorn/anim_front_gba.png create mode 100644 graphics/pokemon/rhyhorn/back_gba.png create mode 100644 graphics/pokemon/rhyhorn/icon_gba.png create mode 100644 graphics/pokemon/rhyhorn/normal_gba.pal create mode 100644 graphics/pokemon/rhyhorn/shiny_gba.pal create mode 100644 graphics/pokemon/roselia/anim_front_gba.png create mode 100644 graphics/pokemon/roselia/back_gba.png create mode 100644 graphics/pokemon/roselia/icon_gba.png create mode 100644 graphics/pokemon/roselia/normal_gba.pal create mode 100644 graphics/pokemon/roselia/shiny_gba.pal create mode 100644 graphics/pokemon/sableye/anim_front_gba.png create mode 100644 graphics/pokemon/sableye/back_gba.png create mode 100644 graphics/pokemon/sableye/icon_gba.png create mode 100644 graphics/pokemon/sableye/normal_gba.pal create mode 100644 graphics/pokemon/sableye/shiny_gba.pal create mode 100644 graphics/pokemon/salamence/anim_front_gba.png create mode 100644 graphics/pokemon/salamence/back_gba.png create mode 100644 graphics/pokemon/salamence/icon_gba.png create mode 100644 graphics/pokemon/salamence/normal_gba.pal create mode 100644 graphics/pokemon/salamence/shiny_gba.pal create mode 100644 graphics/pokemon/sandshrew/anim_front_gba.png create mode 100644 graphics/pokemon/sandshrew/back_gba.png create mode 100644 graphics/pokemon/sandshrew/icon_gba.png create mode 100644 graphics/pokemon/sandshrew/normal_gba.pal create mode 100644 graphics/pokemon/sandshrew/shiny_gba.pal create mode 100644 graphics/pokemon/sandslash/anim_front_gba.png create mode 100644 graphics/pokemon/sandslash/back_gba.png create mode 100644 graphics/pokemon/sandslash/icon_gba.png create mode 100644 graphics/pokemon/sandslash/normal_gba.pal create mode 100644 graphics/pokemon/sandslash/shiny_gba.pal create mode 100644 graphics/pokemon/sceptile/anim_front_gba.png create mode 100644 graphics/pokemon/sceptile/back_gba.png create mode 100644 graphics/pokemon/sceptile/icon_gba.png create mode 100644 graphics/pokemon/sceptile/normal_gba.pal create mode 100644 graphics/pokemon/sceptile/shiny_gba.pal create mode 100644 graphics/pokemon/scizor/anim_front_gba.png create mode 100644 graphics/pokemon/scizor/back_gba.png create mode 100644 graphics/pokemon/scizor/icon_gba.png create mode 100644 graphics/pokemon/scizor/normal_gba.pal create mode 100644 graphics/pokemon/scizor/shiny_gba.pal create mode 100644 graphics/pokemon/scyther/anim_front_gba.png create mode 100644 graphics/pokemon/scyther/back_gba.png create mode 100644 graphics/pokemon/scyther/icon_gba.png create mode 100644 graphics/pokemon/scyther/normal_gba.pal create mode 100644 graphics/pokemon/scyther/shiny_gba.pal create mode 100644 graphics/pokemon/seadra/anim_front_gba.png create mode 100644 graphics/pokemon/seadra/back_gba.png create mode 100644 graphics/pokemon/seadra/icon_gba.png create mode 100644 graphics/pokemon/seadra/normal_gba.pal create mode 100644 graphics/pokemon/seadra/shiny_gba.pal create mode 100644 graphics/pokemon/seaking/anim_front_gba.png create mode 100644 graphics/pokemon/seaking/back_gba.png create mode 100644 graphics/pokemon/seaking/icon_gba.png create mode 100644 graphics/pokemon/seaking/normal_gba.pal create mode 100644 graphics/pokemon/seaking/shiny_gba.pal create mode 100644 graphics/pokemon/sealeo/anim_front_gba.png create mode 100644 graphics/pokemon/sealeo/back_gba.png create mode 100644 graphics/pokemon/sealeo/icon_gba.png create mode 100644 graphics/pokemon/sealeo/normal_gba.pal create mode 100644 graphics/pokemon/sealeo/shiny_gba.pal create mode 100644 graphics/pokemon/seedot/anim_front_gba.png create mode 100644 graphics/pokemon/seedot/back_gba.png create mode 100644 graphics/pokemon/seedot/icon_gba.png create mode 100644 graphics/pokemon/seedot/normal_gba.pal create mode 100644 graphics/pokemon/seedot/shiny_gba.pal create mode 100644 graphics/pokemon/seel/anim_front_gba.png create mode 100644 graphics/pokemon/seel/back_gba.png create mode 100644 graphics/pokemon/seel/icon_gba.png create mode 100644 graphics/pokemon/seel/normal_gba.pal create mode 100644 graphics/pokemon/seel/shiny_gba.pal create mode 100644 graphics/pokemon/sentret/anim_front_gba.png create mode 100644 graphics/pokemon/sentret/back_gba.png create mode 100644 graphics/pokemon/sentret/icon_gba.png create mode 100644 graphics/pokemon/sentret/normal_gba.pal create mode 100644 graphics/pokemon/sentret/shiny_gba.pal create mode 100644 graphics/pokemon/seviper/anim_front_gba.png create mode 100644 graphics/pokemon/seviper/back_gba.png create mode 100644 graphics/pokemon/seviper/icon_gba.png create mode 100644 graphics/pokemon/seviper/normal_gba.pal create mode 100644 graphics/pokemon/seviper/shiny_gba.pal create mode 100644 graphics/pokemon/sharpedo/anim_front_gba.png create mode 100644 graphics/pokemon/sharpedo/back_gba.png create mode 100644 graphics/pokemon/sharpedo/icon_gba.png create mode 100644 graphics/pokemon/sharpedo/normal_gba.pal create mode 100644 graphics/pokemon/sharpedo/shiny_gba.pal create mode 100644 graphics/pokemon/shedinja/anim_front_gba.png create mode 100644 graphics/pokemon/shedinja/back_gba.png create mode 100644 graphics/pokemon/shedinja/icon_gba.png create mode 100644 graphics/pokemon/shedinja/normal_gba.pal create mode 100644 graphics/pokemon/shedinja/shiny_gba.pal create mode 100644 graphics/pokemon/shelgon/anim_front_gba.png create mode 100644 graphics/pokemon/shelgon/back_gba.png create mode 100644 graphics/pokemon/shelgon/icon_gba.png create mode 100644 graphics/pokemon/shelgon/normal_gba.pal create mode 100644 graphics/pokemon/shelgon/shiny_gba.pal create mode 100644 graphics/pokemon/shellder/anim_front_gba.png create mode 100644 graphics/pokemon/shellder/back_gba.png create mode 100644 graphics/pokemon/shellder/icon_gba.png create mode 100644 graphics/pokemon/shellder/normal_gba.pal create mode 100644 graphics/pokemon/shellder/shiny_gba.pal create mode 100644 graphics/pokemon/shiftry/anim_front_gba.png create mode 100644 graphics/pokemon/shiftry/back_gba.png create mode 100644 graphics/pokemon/shiftry/icon_gba.png create mode 100644 graphics/pokemon/shiftry/normal_gba.pal create mode 100644 graphics/pokemon/shiftry/shiny_gba.pal create mode 100644 graphics/pokemon/shroomish/anim_front_gba.png create mode 100644 graphics/pokemon/shroomish/back_gba.png create mode 100644 graphics/pokemon/shroomish/footprint_gba.png create mode 100644 graphics/pokemon/shroomish/icon_gba.png create mode 100644 graphics/pokemon/shroomish/normal_gba.pal create mode 100644 graphics/pokemon/shroomish/shiny_gba.pal create mode 100644 graphics/pokemon/shuckle/anim_front_gba.png create mode 100644 graphics/pokemon/shuckle/back_gba.png create mode 100644 graphics/pokemon/shuckle/icon_gba.png create mode 100644 graphics/pokemon/shuckle/normal_gba.pal create mode 100644 graphics/pokemon/shuckle/shiny_gba.pal create mode 100644 graphics/pokemon/shuppet/anim_front_gba.png create mode 100644 graphics/pokemon/shuppet/back_gba.png create mode 100644 graphics/pokemon/shuppet/icon_gba.png create mode 100644 graphics/pokemon/shuppet/normal_gba.pal create mode 100644 graphics/pokemon/shuppet/shiny_gba.pal create mode 100644 graphics/pokemon/silcoon/anim_front_gba.png create mode 100644 graphics/pokemon/silcoon/back_gba.png create mode 100644 graphics/pokemon/silcoon/icon_gba.png create mode 100644 graphics/pokemon/silcoon/normal_gba.pal create mode 100644 graphics/pokemon/silcoon/shiny_gba.pal create mode 100644 graphics/pokemon/skarmory/anim_front_gba.png create mode 100644 graphics/pokemon/skarmory/back_gba.png create mode 100644 graphics/pokemon/skarmory/icon_gba.png create mode 100644 graphics/pokemon/skarmory/normal_gba.pal create mode 100644 graphics/pokemon/skarmory/shiny_gba.pal create mode 100644 graphics/pokemon/skiploom/anim_front_gba.png create mode 100644 graphics/pokemon/skiploom/back_gba.png create mode 100644 graphics/pokemon/skiploom/icon_gba.png create mode 100644 graphics/pokemon/skiploom/normal_gba.pal create mode 100644 graphics/pokemon/skiploom/shiny_gba.pal create mode 100644 graphics/pokemon/skitty/anim_front_gba.png create mode 100644 graphics/pokemon/skitty/back_gba.png create mode 100644 graphics/pokemon/skitty/icon_gba.png create mode 100644 graphics/pokemon/skitty/normal_gba.pal create mode 100644 graphics/pokemon/skitty/shiny_gba.pal create mode 100644 graphics/pokemon/slaking/anim_front_gba.png create mode 100644 graphics/pokemon/slaking/back_gba.png create mode 100644 graphics/pokemon/slaking/icon_gba.png create mode 100644 graphics/pokemon/slaking/normal_gba.pal create mode 100644 graphics/pokemon/slaking/shiny_gba.pal create mode 100644 graphics/pokemon/slakoth/anim_front_gba.png create mode 100644 graphics/pokemon/slakoth/back_gba.png create mode 100644 graphics/pokemon/slakoth/icon_gba.png create mode 100644 graphics/pokemon/slakoth/normal_gba.pal create mode 100644 graphics/pokemon/slakoth/shiny_gba.pal create mode 100644 graphics/pokemon/slowbro/anim_front_gba.png create mode 100644 graphics/pokemon/slowbro/back_gba.png create mode 100644 graphics/pokemon/slowbro/icon_gba.png create mode 100644 graphics/pokemon/slowbro/normal_gba.pal create mode 100644 graphics/pokemon/slowbro/shiny_gba.pal create mode 100644 graphics/pokemon/slowking/anim_front_gba.png create mode 100644 graphics/pokemon/slowking/back_gba.png create mode 100644 graphics/pokemon/slowking/icon_gba.png create mode 100644 graphics/pokemon/slowking/normal_gba.pal create mode 100644 graphics/pokemon/slowking/shiny_gba.pal create mode 100644 graphics/pokemon/slowpoke/anim_front_gba.png create mode 100644 graphics/pokemon/slowpoke/back_gba.png create mode 100644 graphics/pokemon/slowpoke/icon_gba.png create mode 100644 graphics/pokemon/slowpoke/normal_gba.pal create mode 100644 graphics/pokemon/slowpoke/shiny_gba.pal create mode 100644 graphics/pokemon/slugma/anim_front_gba.png create mode 100644 graphics/pokemon/slugma/back_gba.png create mode 100644 graphics/pokemon/slugma/icon_gba.png create mode 100644 graphics/pokemon/slugma/normal_gba.pal create mode 100644 graphics/pokemon/slugma/shiny_gba.pal create mode 100644 graphics/pokemon/smeargle/anim_front_gba.png create mode 100644 graphics/pokemon/smeargle/back_gba.png create mode 100644 graphics/pokemon/smeargle/icon_gba.png create mode 100644 graphics/pokemon/smeargle/normal_gba.pal create mode 100644 graphics/pokemon/smeargle/shiny_gba.pal create mode 100644 graphics/pokemon/smoochum/anim_front_gba.png create mode 100644 graphics/pokemon/smoochum/back_gba.png create mode 100644 graphics/pokemon/smoochum/icon_gba.png create mode 100644 graphics/pokemon/smoochum/normal_gba.pal create mode 100644 graphics/pokemon/smoochum/shiny_gba.pal create mode 100644 graphics/pokemon/sneasel/anim_front_gba.png create mode 100644 graphics/pokemon/sneasel/back_gba.png create mode 100644 graphics/pokemon/sneasel/icon_gba.png create mode 100644 graphics/pokemon/sneasel/normal_gba.pal create mode 100644 graphics/pokemon/sneasel/shiny_gba.pal create mode 100644 graphics/pokemon/snorlax/anim_front_gba.png create mode 100644 graphics/pokemon/snorlax/back_gba.png create mode 100644 graphics/pokemon/snorlax/icon_gba.png create mode 100644 graphics/pokemon/snorlax/normal_gba.pal create mode 100644 graphics/pokemon/snorlax/shiny_gba.pal create mode 100644 graphics/pokemon/snorunt/anim_front_gba.png create mode 100644 graphics/pokemon/snorunt/back_gba.png create mode 100644 graphics/pokemon/snorunt/icon_gba.png create mode 100644 graphics/pokemon/snorunt/normal_gba.pal create mode 100644 graphics/pokemon/snorunt/shiny_gba.pal create mode 100644 graphics/pokemon/snubbull/anim_front_gba.png create mode 100644 graphics/pokemon/snubbull/back_gba.png create mode 100644 graphics/pokemon/snubbull/icon_gba.png create mode 100644 graphics/pokemon/snubbull/normal_gba.pal create mode 100644 graphics/pokemon/snubbull/shiny_gba.pal create mode 100644 graphics/pokemon/solrock/anim_front_gba.png create mode 100644 graphics/pokemon/solrock/back_gba.png create mode 100644 graphics/pokemon/solrock/icon_gba.png create mode 100644 graphics/pokemon/solrock/normal_gba.pal create mode 100644 graphics/pokemon/solrock/shiny_gba.pal create mode 100644 graphics/pokemon/spearow/anim_front_gba.png create mode 100644 graphics/pokemon/spearow/back_gba.png create mode 100644 graphics/pokemon/spearow/icon_gba.png create mode 100644 graphics/pokemon/spearow/normal_gba.pal create mode 100644 graphics/pokemon/spearow/shiny_gba.pal create mode 100644 graphics/pokemon/spheal/anim_front_gba.png create mode 100644 graphics/pokemon/spheal/back_gba.png create mode 100644 graphics/pokemon/spheal/icon_gba.png create mode 100644 graphics/pokemon/spheal/normal_gba.pal create mode 100644 graphics/pokemon/spheal/shiny_gba.pal create mode 100644 graphics/pokemon/spinarak/anim_front_gba.png create mode 100644 graphics/pokemon/spinarak/back_gba.png create mode 100644 graphics/pokemon/spinarak/icon_gba.png create mode 100644 graphics/pokemon/spinarak/normal_gba.pal create mode 100644 graphics/pokemon/spinarak/shiny_gba.pal create mode 100644 graphics/pokemon/spoink/anim_front_gba.png create mode 100644 graphics/pokemon/spoink/back_gba.png create mode 100644 graphics/pokemon/spoink/icon_gba.png create mode 100644 graphics/pokemon/spoink/normal_gba.pal create mode 100644 graphics/pokemon/spoink/shiny_gba.pal create mode 100644 graphics/pokemon/squirtle/anim_front_gba.png create mode 100644 graphics/pokemon/squirtle/back_gba.png create mode 100644 graphics/pokemon/squirtle/icon_gba.png create mode 100644 graphics/pokemon/squirtle/normal_gba.pal create mode 100644 graphics/pokemon/squirtle/shiny_gba.pal create mode 100644 graphics/pokemon/stantler/anim_front_gba.png create mode 100644 graphics/pokemon/stantler/back_gba.png create mode 100644 graphics/pokemon/stantler/icon_gba.png create mode 100644 graphics/pokemon/stantler/normal_gba.pal create mode 100644 graphics/pokemon/stantler/shiny_gba.pal create mode 100644 graphics/pokemon/starmie/anim_front_gba.png create mode 100644 graphics/pokemon/starmie/back_gba.png create mode 100644 graphics/pokemon/starmie/icon_gba.png create mode 100644 graphics/pokemon/starmie/normal_gba.pal create mode 100644 graphics/pokemon/starmie/shiny_gba.pal create mode 100644 graphics/pokemon/staryu/anim_front_gba.png create mode 100644 graphics/pokemon/staryu/back_gba.png create mode 100644 graphics/pokemon/staryu/icon_gba.png create mode 100644 graphics/pokemon/staryu/normal_gba.pal create mode 100644 graphics/pokemon/staryu/shiny_gba.pal create mode 100644 graphics/pokemon/steelix/anim_front_gba.png create mode 100644 graphics/pokemon/steelix/back_gba.png create mode 100644 graphics/pokemon/steelix/icon_gba.png create mode 100644 graphics/pokemon/steelix/normal_gba.pal create mode 100644 graphics/pokemon/steelix/shiny_gba.pal create mode 100644 graphics/pokemon/sudowoodo/anim_front_gba.png create mode 100644 graphics/pokemon/sudowoodo/back_gba.png create mode 100644 graphics/pokemon/sudowoodo/icon_gba.png create mode 100644 graphics/pokemon/sudowoodo/normal_gba.pal create mode 100644 graphics/pokemon/sudowoodo/shiny_gba.pal create mode 100644 graphics/pokemon/suicune/anim_front_gba.png create mode 100644 graphics/pokemon/suicune/back_gba.png create mode 100644 graphics/pokemon/suicune/icon_gba.png create mode 100644 graphics/pokemon/suicune/normal_gba.pal create mode 100644 graphics/pokemon/suicune/shiny_gba.pal create mode 100644 graphics/pokemon/sunflora/anim_front_gba.png create mode 100644 graphics/pokemon/sunflora/back_gba.png create mode 100644 graphics/pokemon/sunflora/icon_gba.png create mode 100644 graphics/pokemon/sunflora/normal_gba.pal create mode 100644 graphics/pokemon/sunflora/shiny_gba.pal create mode 100644 graphics/pokemon/sunkern/anim_front_gba.png create mode 100644 graphics/pokemon/sunkern/back_gba.png create mode 100644 graphics/pokemon/sunkern/icon_gba.png create mode 100644 graphics/pokemon/sunkern/normal_gba.pal create mode 100644 graphics/pokemon/sunkern/shiny_gba.pal create mode 100644 graphics/pokemon/surskit/anim_front_gba.png create mode 100644 graphics/pokemon/surskit/back_gba.png create mode 100644 graphics/pokemon/surskit/icon_gba.png create mode 100644 graphics/pokemon/surskit/normal_gba.pal create mode 100644 graphics/pokemon/surskit/shiny_gba.pal create mode 100644 graphics/pokemon/swablu/anim_front_gba.png create mode 100644 graphics/pokemon/swablu/back_gba.png create mode 100644 graphics/pokemon/swablu/icon_gba.png create mode 100644 graphics/pokemon/swablu/normal_gba.pal create mode 100644 graphics/pokemon/swablu/shiny_gba.pal create mode 100644 graphics/pokemon/swalot/anim_front_gba.png create mode 100644 graphics/pokemon/swalot/back_gba.png create mode 100644 graphics/pokemon/swalot/icon_gba.png create mode 100644 graphics/pokemon/swalot/normal_gba.pal create mode 100644 graphics/pokemon/swalot/shiny_gba.pal create mode 100644 graphics/pokemon/swampert/anim_front_gba.png create mode 100644 graphics/pokemon/swampert/back_gba.png create mode 100644 graphics/pokemon/swampert/icon_gba.png create mode 100644 graphics/pokemon/swampert/normal_gba.pal create mode 100644 graphics/pokemon/swampert/shiny_gba.pal create mode 100644 graphics/pokemon/swellow/anim_front_gba.png create mode 100644 graphics/pokemon/swellow/back_gba.png create mode 100644 graphics/pokemon/swellow/icon_gba.png create mode 100644 graphics/pokemon/swellow/normal_gba.pal create mode 100644 graphics/pokemon/swellow/shiny_gba.pal create mode 100644 graphics/pokemon/swinub/anim_front_gba.png create mode 100644 graphics/pokemon/swinub/back_gba.png create mode 100644 graphics/pokemon/swinub/icon_gba.png create mode 100644 graphics/pokemon/swinub/normal_gba.pal create mode 100644 graphics/pokemon/swinub/shiny_gba.pal create mode 100644 graphics/pokemon/taillow/anim_front_gba.png create mode 100644 graphics/pokemon/taillow/back_gba.png create mode 100644 graphics/pokemon/taillow/icon_gba.png create mode 100644 graphics/pokemon/taillow/normal_gba.pal create mode 100644 graphics/pokemon/taillow/shiny_gba.pal create mode 100644 graphics/pokemon/tangela/anim_front_gba.png create mode 100644 graphics/pokemon/tangela/back_gba.png create mode 100644 graphics/pokemon/tangela/icon_gba.png create mode 100644 graphics/pokemon/tangela/normal_gba.pal create mode 100644 graphics/pokemon/tangela/shiny_gba.pal create mode 100644 graphics/pokemon/tauros/anim_front_gba.png create mode 100644 graphics/pokemon/tauros/back_gba.png create mode 100644 graphics/pokemon/tauros/icon_gba.png create mode 100644 graphics/pokemon/tauros/normal_gba.pal create mode 100644 graphics/pokemon/tauros/shiny_gba.pal create mode 100644 graphics/pokemon/teddiursa/anim_front_gba.png create mode 100644 graphics/pokemon/teddiursa/back_gba.png create mode 100644 graphics/pokemon/teddiursa/icon_gba.png create mode 100644 graphics/pokemon/teddiursa/normal_gba.pal create mode 100644 graphics/pokemon/teddiursa/shiny_gba.pal create mode 100644 graphics/pokemon/tentacool/anim_front_gba.png create mode 100644 graphics/pokemon/tentacool/back_gba.png create mode 100644 graphics/pokemon/tentacool/icon_gba.png create mode 100644 graphics/pokemon/tentacool/normal_gba.pal create mode 100644 graphics/pokemon/tentacool/shiny_gba.pal create mode 100644 graphics/pokemon/tentacruel/anim_front_gba.png create mode 100644 graphics/pokemon/tentacruel/back_gba.png create mode 100644 graphics/pokemon/tentacruel/icon_gba.png create mode 100644 graphics/pokemon/tentacruel/normal_gba.pal create mode 100644 graphics/pokemon/tentacruel/shiny_gba.pal create mode 100644 graphics/pokemon/togepi/anim_front_gba.png create mode 100644 graphics/pokemon/togepi/back_gba.png create mode 100644 graphics/pokemon/togepi/icon_gba.png create mode 100644 graphics/pokemon/togepi/normal_gba.pal create mode 100644 graphics/pokemon/togepi/shiny_gba.pal create mode 100644 graphics/pokemon/togetic/anim_front_gba.png create mode 100644 graphics/pokemon/togetic/back_gba.png create mode 100644 graphics/pokemon/togetic/icon_gba.png create mode 100644 graphics/pokemon/togetic/normal_gba.pal create mode 100644 graphics/pokemon/togetic/shiny_gba.pal create mode 100644 graphics/pokemon/torchic/anim_front_gba.png create mode 100644 graphics/pokemon/torchic/back_gba.png create mode 100644 graphics/pokemon/torchic/icon_gba.png create mode 100644 graphics/pokemon/torchic/normal_gba.pal create mode 100644 graphics/pokemon/torchic/shiny_gba.pal create mode 100644 graphics/pokemon/torkoal/anim_front_gba.png create mode 100644 graphics/pokemon/torkoal/back_gba.png create mode 100644 graphics/pokemon/torkoal/icon_gba.png create mode 100644 graphics/pokemon/torkoal/normal_gba.pal create mode 100644 graphics/pokemon/torkoal/shiny_gba.pal create mode 100644 graphics/pokemon/totodile/anim_front_gba.png create mode 100644 graphics/pokemon/totodile/back_gba.png create mode 100644 graphics/pokemon/totodile/icon_gba.png create mode 100644 graphics/pokemon/totodile/normal_gba.pal create mode 100644 graphics/pokemon/totodile/shiny_gba.pal create mode 100644 graphics/pokemon/trapinch/anim_front_gba.png create mode 100644 graphics/pokemon/trapinch/back_gba.png create mode 100644 graphics/pokemon/trapinch/icon_gba.png create mode 100644 graphics/pokemon/trapinch/normal_gba.pal create mode 100644 graphics/pokemon/trapinch/shiny_gba.pal create mode 100644 graphics/pokemon/treecko/anim_front_gba.png create mode 100644 graphics/pokemon/treecko/back_gba.png create mode 100644 graphics/pokemon/treecko/icon_gba.png create mode 100644 graphics/pokemon/treecko/normal_gba.pal create mode 100644 graphics/pokemon/treecko/shiny_gba.pal create mode 100644 graphics/pokemon/tropius/anim_front_gba.png create mode 100644 graphics/pokemon/tropius/back_gba.png create mode 100644 graphics/pokemon/tropius/icon_gba.png create mode 100644 graphics/pokemon/tropius/normal_gba.pal create mode 100644 graphics/pokemon/tropius/shiny_gba.pal create mode 100644 graphics/pokemon/typhlosion/anim_front_gba.png create mode 100644 graphics/pokemon/typhlosion/back_gba.png create mode 100644 graphics/pokemon/typhlosion/icon_gba.png create mode 100644 graphics/pokemon/typhlosion/normal_gba.pal create mode 100644 graphics/pokemon/typhlosion/shiny_gba.pal create mode 100644 graphics/pokemon/tyranitar/anim_front_gba.png create mode 100644 graphics/pokemon/tyranitar/back_gba.png create mode 100644 graphics/pokemon/tyranitar/icon_gba.png create mode 100644 graphics/pokemon/tyranitar/normal_gba.pal create mode 100644 graphics/pokemon/tyranitar/shiny_gba.pal create mode 100644 graphics/pokemon/tyrogue/anim_front_gba.png create mode 100644 graphics/pokemon/tyrogue/back_gba.png create mode 100644 graphics/pokemon/tyrogue/icon_gba.png create mode 100644 graphics/pokemon/tyrogue/normal_gba.pal create mode 100644 graphics/pokemon/tyrogue/shiny_gba.pal create mode 100644 graphics/pokemon/umbreon/anim_front_gba.png create mode 100644 graphics/pokemon/umbreon/back_gba.png create mode 100644 graphics/pokemon/umbreon/icon_gba.png create mode 100644 graphics/pokemon/umbreon/normal_gba.pal create mode 100644 graphics/pokemon/umbreon/shiny_gba.pal create mode 100644 graphics/pokemon/ursaring/anim_front_gba.png create mode 100644 graphics/pokemon/ursaring/back_gba.png create mode 100644 graphics/pokemon/ursaring/icon_gba.png create mode 100644 graphics/pokemon/ursaring/normal_gba.pal create mode 100644 graphics/pokemon/ursaring/shiny_gba.pal create mode 100644 graphics/pokemon/vaporeon/anim_front_gba.png create mode 100644 graphics/pokemon/vaporeon/back_gba.png create mode 100644 graphics/pokemon/vaporeon/icon_gba.png create mode 100644 graphics/pokemon/vaporeon/normal_gba.pal create mode 100644 graphics/pokemon/vaporeon/shiny_gba.pal create mode 100644 graphics/pokemon/venomoth/anim_front_gba.png create mode 100644 graphics/pokemon/venomoth/back_gba.png create mode 100644 graphics/pokemon/venomoth/icon_gba.png create mode 100644 graphics/pokemon/venomoth/normal_gba.pal create mode 100644 graphics/pokemon/venomoth/shiny_gba.pal create mode 100644 graphics/pokemon/venonat/anim_front_gba.png create mode 100644 graphics/pokemon/venonat/back_gba.png create mode 100644 graphics/pokemon/venonat/icon_gba.png create mode 100644 graphics/pokemon/venonat/normal_gba.pal create mode 100644 graphics/pokemon/venonat/shiny_gba.pal create mode 100644 graphics/pokemon/venusaur/anim_front_gba.png create mode 100644 graphics/pokemon/venusaur/back_gba.png create mode 100644 graphics/pokemon/venusaur/icon_gba.png create mode 100644 graphics/pokemon/venusaur/normal_gba.pal create mode 100644 graphics/pokemon/venusaur/shiny_gba.pal create mode 100644 graphics/pokemon/vibrava/anim_front_gba.png create mode 100644 graphics/pokemon/vibrava/back_gba.png create mode 100644 graphics/pokemon/vibrava/icon_gba.png create mode 100644 graphics/pokemon/vibrava/normal_gba.pal create mode 100644 graphics/pokemon/vibrava/shiny_gba.pal create mode 100644 graphics/pokemon/victreebel/anim_front_gba.png create mode 100644 graphics/pokemon/victreebel/back_gba.png create mode 100644 graphics/pokemon/victreebel/icon_gba.png create mode 100644 graphics/pokemon/victreebel/normal_gba.pal create mode 100644 graphics/pokemon/victreebel/shiny_gba.pal create mode 100644 graphics/pokemon/vigoroth/anim_front_gba.png create mode 100644 graphics/pokemon/vigoroth/back_gba.png create mode 100644 graphics/pokemon/vigoroth/icon_gba.png create mode 100644 graphics/pokemon/vigoroth/normal_gba.pal create mode 100644 graphics/pokemon/vigoroth/shiny_gba.pal create mode 100644 graphics/pokemon/vileplume/anim_front_gba.png create mode 100644 graphics/pokemon/vileplume/back_gba.png create mode 100644 graphics/pokemon/vileplume/icon_gba.png create mode 100644 graphics/pokemon/vileplume/normal_gba.pal create mode 100644 graphics/pokemon/vileplume/shiny_gba.pal create mode 100644 graphics/pokemon/volbeat/anim_front_gba.png create mode 100644 graphics/pokemon/volbeat/back_gba.png create mode 100644 graphics/pokemon/volbeat/icon_gba.png create mode 100644 graphics/pokemon/volbeat/normal_gba.pal create mode 100644 graphics/pokemon/volbeat/shiny_gba.pal create mode 100644 graphics/pokemon/voltorb/anim_front_gba.png create mode 100644 graphics/pokemon/voltorb/back_gba.png create mode 100644 graphics/pokemon/voltorb/icon_gba.png create mode 100644 graphics/pokemon/voltorb/normal_gba.pal create mode 100644 graphics/pokemon/voltorb/shiny_gba.pal create mode 100644 graphics/pokemon/vulpix/anim_front_gba.png create mode 100644 graphics/pokemon/vulpix/back_gba.png create mode 100644 graphics/pokemon/vulpix/icon_gba.png create mode 100644 graphics/pokemon/vulpix/normal_gba.pal create mode 100644 graphics/pokemon/vulpix/shiny_gba.pal create mode 100644 graphics/pokemon/wailmer/anim_front_gba.png create mode 100644 graphics/pokemon/wailmer/back_gba.png create mode 100644 graphics/pokemon/wailmer/icon_gba.png create mode 100644 graphics/pokemon/wailmer/normal_gba.pal create mode 100644 graphics/pokemon/wailmer/shiny_gba.pal create mode 100644 graphics/pokemon/wailord/anim_front_gba.png create mode 100644 graphics/pokemon/wailord/back_gba.png create mode 100644 graphics/pokemon/wailord/icon_gba.png create mode 100644 graphics/pokemon/wailord/normal_gba.pal create mode 100644 graphics/pokemon/wailord/shiny_gba.pal create mode 100644 graphics/pokemon/walrein/anim_front_gba.png create mode 100644 graphics/pokemon/walrein/back_gba.png create mode 100644 graphics/pokemon/walrein/icon_gba.png create mode 100644 graphics/pokemon/walrein/normal_gba.pal create mode 100644 graphics/pokemon/walrein/shiny_gba.pal create mode 100644 graphics/pokemon/wartortle/anim_front_gba.png create mode 100644 graphics/pokemon/wartortle/back_gba.png create mode 100644 graphics/pokemon/wartortle/icon_gba.png create mode 100644 graphics/pokemon/wartortle/normal_gba.pal create mode 100644 graphics/pokemon/wartortle/shiny_gba.pal create mode 100644 graphics/pokemon/weedle/anim_front_gba.png create mode 100644 graphics/pokemon/weedle/back_gba.png create mode 100644 graphics/pokemon/weedle/icon_gba.png create mode 100644 graphics/pokemon/weedle/normal_gba.pal create mode 100644 graphics/pokemon/weedle/shiny_gba.pal create mode 100644 graphics/pokemon/weepinbell/anim_front_gba.png create mode 100644 graphics/pokemon/weepinbell/back_gba.png create mode 100644 graphics/pokemon/weepinbell/icon_gba.png create mode 100644 graphics/pokemon/weepinbell/normal_gba.pal create mode 100644 graphics/pokemon/weepinbell/shiny_gba.pal create mode 100644 graphics/pokemon/weezing/anim_front_gba.png create mode 100644 graphics/pokemon/weezing/back_gba.png create mode 100644 graphics/pokemon/weezing/icon_gba.png create mode 100644 graphics/pokemon/weezing/normal_gba.pal create mode 100644 graphics/pokemon/weezing/shiny_gba.pal create mode 100644 graphics/pokemon/whiscash/anim_front_gba.png create mode 100644 graphics/pokemon/whiscash/back_gba.png create mode 100644 graphics/pokemon/whiscash/icon_gba.png create mode 100644 graphics/pokemon/whiscash/normal_gba.pal create mode 100644 graphics/pokemon/whiscash/shiny_gba.pal create mode 100644 graphics/pokemon/whismur/anim_front_gba.png create mode 100644 graphics/pokemon/whismur/back_gba.png create mode 100644 graphics/pokemon/whismur/icon_gba.png create mode 100644 graphics/pokemon/whismur/normal_gba.pal create mode 100644 graphics/pokemon/whismur/shiny_gba.pal create mode 100644 graphics/pokemon/wigglytuff/anim_front_gba.png create mode 100644 graphics/pokemon/wigglytuff/back_gba.png create mode 100644 graphics/pokemon/wigglytuff/icon_gba.png create mode 100644 graphics/pokemon/wigglytuff/normal_gba.pal create mode 100644 graphics/pokemon/wigglytuff/shiny_gba.pal create mode 100644 graphics/pokemon/wingull/anim_front_gba.png create mode 100644 graphics/pokemon/wingull/back_gba.png create mode 100644 graphics/pokemon/wingull/icon_gba.png create mode 100644 graphics/pokemon/wingull/normal_gba.pal create mode 100644 graphics/pokemon/wingull/shiny_gba.pal create mode 100644 graphics/pokemon/wobbuffet/anim_front_gba.png create mode 100644 graphics/pokemon/wobbuffet/back_gba.png create mode 100644 graphics/pokemon/wobbuffet/icon_gba.png create mode 100644 graphics/pokemon/wobbuffet/normal_gba.pal create mode 100644 graphics/pokemon/wobbuffet/shiny_gba.pal create mode 100644 graphics/pokemon/wooper/anim_front_gba.png create mode 100644 graphics/pokemon/wooper/back_gba.png create mode 100644 graphics/pokemon/wooper/icon_gba.png create mode 100644 graphics/pokemon/wooper/normal_gba.pal create mode 100644 graphics/pokemon/wooper/shiny_gba.pal create mode 100644 graphics/pokemon/wurmple/anim_front_gba.png create mode 100644 graphics/pokemon/wurmple/back_gba.png create mode 100644 graphics/pokemon/wurmple/icon_gba.png create mode 100644 graphics/pokemon/wurmple/normal_gba.pal create mode 100644 graphics/pokemon/wurmple/shiny_gba.pal create mode 100644 graphics/pokemon/wynaut/anim_front_gba.png create mode 100644 graphics/pokemon/wynaut/back_gba.png create mode 100644 graphics/pokemon/wynaut/icon_gba.png create mode 100644 graphics/pokemon/wynaut/normal_gba.pal create mode 100644 graphics/pokemon/wynaut/shiny_gba.pal create mode 100644 graphics/pokemon/xatu/anim_front_gba.png create mode 100644 graphics/pokemon/xatu/back_gba.png create mode 100644 graphics/pokemon/xatu/icon_gba.png create mode 100644 graphics/pokemon/xatu/normal_gba.pal create mode 100644 graphics/pokemon/xatu/shiny_gba.pal create mode 100644 graphics/pokemon/yanma/anim_front_gba.png create mode 100644 graphics/pokemon/yanma/back_gba.png create mode 100644 graphics/pokemon/yanma/icon_gba.png create mode 100644 graphics/pokemon/yanma/normal_gba.pal create mode 100644 graphics/pokemon/yanma/shiny_gba.pal create mode 100644 graphics/pokemon/zangoose/anim_front_gba.png create mode 100644 graphics/pokemon/zangoose/back_gba.png create mode 100644 graphics/pokemon/zangoose/icon_gba.png create mode 100644 graphics/pokemon/zangoose/normal_gba.pal create mode 100644 graphics/pokemon/zangoose/shiny_gba.pal create mode 100644 graphics/pokemon/zapdos/anim_front_gba.png create mode 100644 graphics/pokemon/zapdos/back_gba.png create mode 100644 graphics/pokemon/zapdos/icon_gba.png create mode 100644 graphics/pokemon/zapdos/normal_gba.pal create mode 100644 graphics/pokemon/zapdos/shiny_gba.pal create mode 100644 graphics/pokemon/zigzagoon/anim_front_gba.png create mode 100644 graphics/pokemon/zigzagoon/back_gba.png create mode 100644 graphics/pokemon/zigzagoon/icon_gba.png create mode 100644 graphics/pokemon/zigzagoon/normal_gba.pal create mode 100644 graphics/pokemon/zigzagoon/shiny_gba.pal create mode 100644 graphics/pokemon/zubat/anim_front_gba.png create mode 100644 graphics/pokemon/zubat/back_gba.png create mode 100644 graphics/pokemon/zubat/icon_gba.png create mode 100644 graphics/pokemon/zubat/normal_gba.pal create mode 100644 graphics/pokemon/zubat/shiny_gba.pal diff --git a/dev_scripts/gba_gfx/delete_files_of_same_name.py b/dev_scripts/gba_gfx/delete_files_of_same_name.py new file mode 100644 index 0000000000..1ff58cb8cf --- /dev/null +++ b/dev_scripts/gba_gfx/delete_files_of_same_name.py @@ -0,0 +1,21 @@ +import glob +import re +import json +import os +import subprocess + +# THIS IS A TEMPORARY SCRIPT MADE TO DELETE FILES WITH THE "footprint.png" NAME +# FROM THE "graphics/pokemon_old" folder, AS MOST OF THEM ALREADY EXISTED IN "graphics/pokemon". +# +# I'M SAVING IT HERE IN CASE IT'S NEEDED SOMEWHERE IN THE FUTURE, THOUGH TWEAKING MIGHT BE NEEDED. +# - AsparagusEduardo + +def rename_files(dir, filename): + for root, dirs, files in os.walk(dir): + for name in files: + if name.endswith(filename): + fullName = os.path.join(root, name) + print(fullName + " deleted.") + os.remove(fullName) + +rename_files("graphics/pokemon_old", 'footprint.png') diff --git a/dev_scripts/gba_gfx/rename_files_of_same_name.py b/dev_scripts/gba_gfx/rename_files_of_same_name.py new file mode 100644 index 0000000000..cbee489de0 --- /dev/null +++ b/dev_scripts/gba_gfx/rename_files_of_same_name.py @@ -0,0 +1,22 @@ +import glob +import re +import json +import os +import subprocess + +def rename_files(dirOld, dirNew, old, new): + for root, dirs, files in os.walk(dirOld): + for name in files: + if name.endswith(old): + originalName = os.path.join(root, name) + newName = originalName.replace(old, new) + newName = newName.replace(dirOld, dirNew) + print(originalName + " -> " + newName) + os.rename(originalName, newName) + +rename_files("graphics/pokemon_old", "graphics/pokemon", 'anim_front.png', "anim_front_gba.png") +rename_files("graphics/pokemon_old", "graphics/pokemon", 'normal.pal', "normal_gba.pal") +rename_files("graphics/pokemon_old", "graphics/pokemon", 'shiny.pal', "shiny_gba.pal") +rename_files("graphics/pokemon_old", "graphics/pokemon", 'back.png', "back_gba.png") +rename_files("graphics/pokemon_old", "graphics/pokemon", 'icon.png', "icon_gba.png") +rename_files("graphics/pokemon_old", "graphics/pokemon", 'footprint.png', "footprint_gba.png") diff --git a/graphics/pokemon/abra/anim_front_gba.png b/graphics/pokemon/abra/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ee466f539acff33a65ccfb709415cf9876fc817d GIT binary patch literal 698 zcmV;r0!96aP)!0RR60|NsAc|L!T(v;d1@01yxm?q=0p00001 zbW%=J06^y0W&i*JI7vi7R9J=WmN9SJFcgHjB||O!IvL%%DNE5Yo`Phl?Zwa!lIJWw zQe!)aq_-9bWofeqN-X6%vMiHnrvL%;>_GrO@ExCy&=E4$hpdTseJDKuN+NbU66Dei z1R6yODpckJvQ3(5fG8gcD zde45Ec^o~FfV#Gr$E!Rsi#UEFA+|2y?y!u$9PV3S=9xBgXtqgPLvT$6On`om(8|g)u2RPA z&C*t@Rs#{n0=3$(4249gtgFoBAwtg4NWh4!L76*TS92Jtm~3R2@9YM{F<2mPDqR~{ zg}kx0y0Sx1$-O%)$okR7UnD~pdQzs0ng>^0H^2s zW&Q<>HP%?KHRgv?i}%eBH#3)pbAGtVrK?SsAIt;XGEVuyG&A=}yZo@9xi{$Y!@>h} z`C;Yy^pjqGSb2usgR`FkHJvHAU_yA_$ZC} gp{p@JjP*bD2YY$h5silS`~Uy|07*qoM6N<$g4&Nl?f?J) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/abra/back_gba.png b/graphics/pokemon/abra/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5035bde913a4173961e81bd21ae4d9a69952f2d8 GIT binary patch literal 616 zcmV-u0+;=XP)!0RR60|NsAc|L!T(v;d1@01yxm?q=0p00001 zbW%=J06^y0W&i*I=1D|BR7i>Kle=!)KoCV$328)r9RrtcvJs#JE>}$+O&Asd_%~^G zYB!vZLRCo#j#4MoAmN3wZFrXAfE|BVH9~ePt0cITp z$_C)`05ctRHdUa_5-AEk8q5R05)MS?0c7wTOux;DpTd|xk?~&uItUDQzCoad2Eeyv zqX*`Y+19&_ew$e$c8~hE>|Z}FM@la+K+ytr-}_r7 znZ=j3J1MUs?(M^pszu37ckj$R>YZLR)AMSlu=UNh1b}OMZ}!-Fz50Q5i&n0Lkq5*i z-kNnuR1>c&Thj_P+AKKs zR_;3Wdh71LCLf4-hMTVnDV$@k}(d$APhx00o<}HW3B)bD_-!`Si4ZB1Wzt%8gMdK zmD<1YWU!H+Qa_$jFMyC)KTZH5p#a81^b!z3boG1%TaZ^0G#6AEfSq%p>NE-#c44i0 zKD%1xo4w~zf!o5&e)M797TZJ{@`P){JOPA&2oo3x4Cp1O22znm%}+O|+p%AdKp(PXw98U^-7n4^-6W Z@&q*zq6#4RJCy(c002ovPDHLkV1gM&hSC54 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/abra/normal_gba.pal b/graphics/pokemon/abra/normal_gba.pal new file mode 100644 index 0000000000..b688ea0bc0 --- /dev/null +++ b/graphics/pokemon/abra/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 246 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +213 180 82 +172 131 41 +148 106 16 +98 49 0 +255 0 255 +255 0 255 +255 255 123 +255 238 41 +213 180 0 +139 98 0 +16 16 16 diff --git a/graphics/pokemon/abra/shiny_gba.pal b/graphics/pokemon/abra/shiny_gba.pal new file mode 100644 index 0000000000..4122603ff4 --- /dev/null +++ b/graphics/pokemon/abra/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 246 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +205 180 180 +172 148 148 +148 115 123 +106 49 123 +255 0 255 +255 0 255 +255 255 222 +255 255 115 +246 180 41 +164 82 0 +16 16 16 diff --git a/graphics/pokemon/absol/anim_front_gba.png b/graphics/pokemon/absol/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5b459aef06fd1e216aae1e1b8c568ec719854eb6 GIT binary patch literal 1339 zcmV-B1;qM^P)tgOw0gRELwgDE*Vl%%9{gM(6HVgLXDTjD$B00001 zbW%=J06^y0W&i*Lxk*GpR9Jd9 zi#hJ!hK9KTVWl}XR9*E51_~qXA;qMGTc^oBJAsl9Q)!z6U;gF!+3ykm5c)rt7KY)j zaX#mqx0~wmKIe-td`|p!_xgF{jCjvW-BjprKJGhx-phu4+=Li9qnvT{xDK)JIE%c* z3eIF5pr4*U2JYf_XPh^V3d7rVin#$0nny`IIydn8C;h`s16?+W0GOdcNQI_}7#KQD zv`2^_nrXn5IYJ6o0?_G23K*?{J#sLUA-r6GEn4Kakqlub0X~O2G{*Q9sSAM6%k6QE z@i}Cr@gDz3=A2~a0Dud?LqV&|A0uFrNI?P!?JZhWKGkVeuhPG_fS%2{EW#dnrkCF- zT$N;&*yaQIVRqDl(U4ZFsby$ftaGnH4hJpT{&$v+fRHT!v5Wuw)n;Ex5N47DG+7>N zR&pNM;8y{p3a@eT+90LjcQ$g^ECUo)*J2Sh((SWhe>6+(q)1=h!e{4);}^!3a!)o4++4JR#7%Yy~>bf zy`J5NfFA3HoC|i<^OG9^Qyd}x(vW~IwjFN)xG4Y+^#J%RW=fY5yZD?Gp?5>W;1Xyg z6F`eq6=p!)v2iNORjJ>n0Ke8SJPDkM$*7qEFtsf4?81R@3V=@U_A`J?%I0O=!Vp-%3}}~`nImNja4mb-dsYJh zob7za3`mp>E6%p}U)r0%uG}PW_ZD#TUZC?{KywCf0dFj`(|;$RIiuY`r@yleP@A#1 z&vJE;yKoXkK)w!k8OVbK@^lbMxfsb5a&<5YAr(QPg96}k289laIV7Oc!3b!obx>S3 z07@N{fV)cvV?eEgB8TQK9h3s$71TN?1fq5wsC6(Bh(N7_^5E1@)H)a)-iJyZjF10A zr4FuvC!)~7jX)F?I=B&tqDlwX0zs5I7zspCt%Fh^&Ufgb6o@CP(7}yB6cswS7KmO^ zrGv3RbV91o!B`+V%gcNn+z3QPEW^m^pkKR|Uze4u5&$81)IlNzKhgtG2dK7`JQ;NS=|u8wo1kRfTzZ!07j~d zBv#wHxb}x7@d{DTQxi9~r-=RGiA**C8YkPn83EGNr1he_>xrD9a|zu4o;MD68xxTv zt=E-+cO?Rh=eYp%jB)k=ve?V_2V92e72lw&mG2K)i=KR~EUHZ94?hRAb7S7VTqyhj xvxV6mm^@JV1Lp7mABTab@&_DBZNN!?_zy*c&bfxw{4D?g002ovPDHLkV1h-WX*B=< literal 0 HcmV?d00001 diff --git a/graphics/pokemon/absol/back_gba.png b/graphics/pokemon/absol/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..876ba48aa0ebd6c4e239e19fdf727f53aad7b1e3 GIT binary patch literal 673 zcmV;S0$%-zP)tgOw0gRELwgDE*Vl%%9{gM(6HVgLXDTjD$B00001 zbW%=J06^y0W&i*JA4x<(R7i=5gFZ)I zDSdz{FQDG$T8>j`OT`pXH^X8NFAgk{rG}zF&-#D*&y{u*{cj<}&!8Sx{636`o&yr} z5S;Uya2ex7!K;TL5w~R-Zst&ypRR+%u`EA^lWfcK%imj!REm@)IxzfV)LJ8GwZsxRX*! z2uhMS064Rpf;kMB9s)5&3p2+IfZelhZ*{vK}9AvJ=_CSaiOOuLoTbg zGqC*0fDpljHODCWrA`g2BFS1XY!5P5rAm3q;>Q#Axs9Pf#p#lc=ogyZ$)2y!l4AkVZ zt91!@xpDOd5wV6oB!ZUDU0p8%kPd*<2BwXEQ2=CK;9tjYr1LwK_qci|00000NkvXX Hu0mjfLo*i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H@kvBMR5*>@l0lAxFbqXA7a-yUk<1>e_y8QCyKd*|Q1+0d`?$1? z<7U*VvmA{#F;731MV>K#xxRe;ZJjjyID_YV#0H-OOyjK$PHqsjTn<|Un{y?wx63ej-NXCl66@b+HD5yJf7DxHOnyue#<0tQER6Ud!W4r< zm>TTD*ja!Gvt=uPFARMYrh5VpVQN1rVQfd|RQoZmKm717{LqOxWa@hF#}%gNp5+;e ROgaDn002ovPDHLkV1n~-p_u>x literal 0 HcmV?d00001 diff --git a/graphics/pokemon/absol/normal_gba.pal b/graphics/pokemon/absol/normal_gba.pal new file mode 100644 index 0000000000..9900389176 --- /dev/null +++ b/graphics/pokemon/absol/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +123 156 180 +255 255 255 +222 222 238 +197 197 213 +148 148 172 +255 123 115 +205 41 32 +123 41 49 +172 172 205 +131 131 172 +90 90 131 +41 57 57 +148 164 164 +115 131 131 +82 98 98 +0 0 0 diff --git a/graphics/pokemon/absol/shiny_gba.pal b/graphics/pokemon/absol/shiny_gba.pal new file mode 100644 index 0000000000..4b86195a7c --- /dev/null +++ b/graphics/pokemon/absol/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +123 156 180 +255 255 255 +238 222 230 +222 189 213 +197 156 189 +49 180 255 +0 115 189 +123 41 49 +172 172 205 +131 131 172 +90 90 131 +41 57 57 +205 115 98 +172 82 65 +131 41 24 +0 0 0 diff --git a/graphics/pokemon/aerodactyl/anim_front_gba.png b/graphics/pokemon/aerodactyl/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4b5ea3378a3060440ea1cbba4fa81f7e31d465cf GIT binary patch literal 1464 zcmV;p1xNacP)&DGwNth6ywTL1t5xq%4W00001 zbW%=J06^y0W&i*MHc3Q5R9J=Wn8A+QHV}q&TfnIKROusl1N5|)YJnhK>>=sC!uAc4 z01bR-wuoZ6_gc-hfIVdQ)B-d~=#&&P$zI#TBAp>6S(2sp1;PYaujk`GBXY=JNy5DM zW%3`x0sx;taIQ;8!6D*L!pv)}Ws=;a=@lYiJo8Bh^G=&ABk7xSLc9Wxf0oT`uVwZj zO~Y@`kw{bT?N&E{1y|kSmlxr;vqd1Tlr%NKEJ&QbIIq(^55$$uji`aGyi31cEG}Ch z5Si9)8#8R3S>U*?fiwJ!z>};6gwbyni^oX^APFb)8o*CofO3$8Th3w)mfwAaz{M%h zETX(4(d!ndbLg@GGy%s90a&D0GU)*q{|8(Tfp5$a_^@b~@d&gvM&R)Ypj#kuBMRro zhls$%5V#5@#FlZ!cWaCb<-$YQG6L$&vI9JO^yT?gEWwHZIQXFhoZZ|!dt`a|W)39b zVf&~9e4D11&nyq(3{ZkOkT;#3xFNzT83A5pcn>Q;LlMoxSRGUx@Du;oYw~eG1zR$o0!tx-W3p0RH8nym#BT-`#$1 z`U0B*4uyia3HhHdZe1TZ6j*_XajngZ7q<`n67~q_x=#@J`}X#D#$pBlyaQ_iRJipI zJz!pdc+XTVp#S>k^>2LzOBGmN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oM6N<$g7Uc$;{X5v literal 0 HcmV?d00001 diff --git a/graphics/pokemon/aerodactyl/icon_gba.png b/graphics/pokemon/aerodactyl/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f90e269b07e675464a77abd0376aa80699761c7f GIT binary patch literal 369 zcmV-%0gnEOP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H?@2^KR5*?0lCcf~Aq<9zgChhU073^xiH~&4J@?_@NRAG!SP#l6 ziIbDD!v(%;%kY0f{9>sQ;5sxw_}o$G|GI;+(h-Zw4HO6%3Sf4;3k(8y3_O880D#-y zP)HykAfmlZ(PpFdQh~h9RwjQ=3`C@p zv{obrGSO$@+uzpcLm7O)oF^X}si5kR4TGiwrJveX(qT%8((iSg&+qA&CUP+|ExJm-fC+9gM(_l{{R30T)@xq00001 zbW%=J06^y0W&i*OJ4r-AR9J<*mqBkE#}&s(6%cciW|ok+8=%Y#2^7hN*c~3)T#V%| zkYm0=dRaTZ)Vh?GdQj;W_AnQMX<>2L1EI9A#JLzf%a`=5&tiLNA(3pL)BmhUahIZe z3OW!3i0{WYZ{Ey%@2^tnmtC92n2(v01FhBDyY1Gj)&ZYLDgRvBd}z&Uf$y}|Q$UH^ ztE~mfJ8BGO^wh1V>gYwXW_z-4o%g;4Fx2{wYmm+R7EsvYF?{JHzfbpiCHo`Sx^XR# z4`dSos*!xAhl#Zh`x<}M^WKvLpU4AXSVy(Kl6$M!Op*rxEOAtm@)@ah@!?kCxSRK_ z{b+Aj$~~f#?mj9tzb-hbSo`ZYPdLxAsZYA`y#jCm`>+3d*>@G^62!P!1S;6SJ}^?b zYGO<(6_2Ar41J~ca2Zdys|a_5N#i0=!TE{Q-+y@JDhhzK$tNGqe^iPx z;lm!~flri5@fJS3I{%LvaweP@0MBi4piD(i>SyOax&Rzeg+0gtmFWb#O#XCs?oAaX z*$%?c(RL2Vm_&7{~F8z`-%w zCfrDx+5L9M5pDtaV#pZwC#+!sB&y?(Jh0J$(H*ilYPaFQraJWVLAJj<=9DOc6i1Qo z9ND`dDqRB2-)Tyj1>)GJUe5ycL$$pG0>S}&Z#Qo^o)Nf=dzWgNY$u=@fXy3`bI+f) zL#NKvu)av9^Tn|R(y-lW$4%j%8gDXV{b76Y^vj=*aSD~j1U>+~q~3t@+K|Kx7xfwA z?u5k-oWHEsMwSFh<45!7KyXO~F|Ze~`{RlGJx>nS1VLjZVCD9@Sw97RWnAp}29mGsqfcdQ>Kf4Gy7Pk-On&-IJDiHG`ulHZQ?9a;x6MgJrRO6s-5 zW|AaYPt27Xqa%>kTR>#=kT4*s9o7-|V@3lx~;GB#R9$pmtKI@jQUWS|ZtKwL=9> z_Z`vt_{RRLNKmU62DTRNG7BV`F^DcJB`ncgoKBk$2AW?Evp|yrZDP2>WugVD(L1A80wjR z;Kn)tg4&E&J+Cn4`eA^PY=f}n9~30YTtCRS*<}CuFL&vOc?bT#>WBXUn*Mg*{%FD^ P00000NkvXXu0mjfsEWqM literal 0 HcmV?d00001 diff --git a/graphics/pokemon/aggron/back_gba.png b/graphics/pokemon/aggron/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..24ade1ff437757c655ed57b055a4c3e9267f7ff2 GIT binary patch literal 860 zcmV-i1Ec(jP)&CUP+|ExJm-fC+9gM(_l{{R30T)@xq00001 zbW%=J06^y0W&i*J+DSw~R7i>Klrc{mF&Ku;(xg-3FmO=^bY>_UBF@&Ks>t5Iz*Nyr z+;k)hf=Z1qOB9wn--1|Z&r8MHPM!NJ_yZ*g1ImK?+UAH4N`F9A>y$+IKKFj#_u3ai z{;x;t**mPi==EF`QhwTf5*R5ZrBq*@BI;I``IE$RtHVN_{~7q;^wS%qoW(GXBOiD# zL;^tTzKmmGt<+Z^*rPN6v98+_rz&+g^#O_%NIB7M*|&14t34Qi!h-f?+cZ;soRC^S zbrx7Dt_P2k+Ca(3S)hzOyouv#>;n^XR9et;VP^6YLyRCy5#hqx6GQD+8CgIIc(iTa z=M@F?}5mv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ccM3v{4x!S`Nsp@_$Gl`~yHvB?$gtwq^hT002ovPDHLkV1leX*OUMN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/alakazam/back_gba.png b/graphics/pokemon/alakazam/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..aad3363af2846f599fad26632b3f77942d659518 GIT binary patch literal 864 zcmV-m1E2hfP)!0RR60|NsAc|L!T(v;d1@01yxmAK;Va00001 zbW%=J06^y0W&i*J-bqA3R7i={l)rDHO1!vhta zVsB*0iw7hBLC+#f6-DxyY;6X=z|XH5%`p00!0Rk(f7Xwc~@t5sEc-g3mRIV?8Cu+2M)HA>xO6?M3~SmVYh= zpXjJ~;bnq1Cv}R~IuMG%lvQ{igEawf2$<^@aVW$EZ}nqbBYr1B7htT4LZEM2G2S5l zXq>#=6JRVs5#Yj-NJXxPX(`Vthyt%yQh8iqInTI<6xReKbe4dM3s$5EE>#h;Ql5ip zQU??tqiH$Mc*``+_Y$*+rsV=v9xRzjU?|EC?s*fS-OnY2*sqb_tN?8L0SLvVo}VJ7 zZQHh;orf+_6@cjl0lgd`4^84;L>&b+fD~zR>{Y-Ey#80=9EPsHH;RM9&X=5xeowP z9(>DBDOM=Isc98zBz4M@h}wzN!&L1>^jKvDfHc~tkgeUSgYymjLv=tcwOU&WH;l&B zFH@A`0$@>}J0KV^L(0jBl>xHwmrh9a&r+i}D1L5c7T}~{B>`=8Qh1+Y@zZRz6yQ@Y z_u-ILBmK6Gh1pbpJ(?zXNkB!$cTAUPDFs_i%Tp7WMB_aGNFfujvJoZmd>>FvDxj-? z-*V3(2lyi}IsmkHfZUV-o{e#t19!48=7(95fV12-fg>sRzc7ZHva_@S)^Qvk0GRrG q_$zvBq9{59EESN_<0*xII{pBFcyAvx90>>j0000DV$*(lKttAP@!6IRSHxRM{Ks-iFp)T&9btLTegxHKa7_ z1|wS{(0Bq-z>r*EGX;XL(P)Gozyp^x`NX3J%WRM^${H}G;}j=%21`_GIvW61rIc`e zFbisem;>qBV7?2{3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y*Bny#Kn|1Z+8(kpAeK6R_oUN-yNeHz$zuqImb%(a+p4*MX1s zxlwO{-MZfT-PIf59A14_TXy%pvij>v#3j67hOlM?d_Z7m(wP;g3gXhJV+|y{;4_#D zU=#sGX)ZuDWQ2EzbY>H9SeGXL0~7`TptE?8K;GAdfCkEbNnp{{j|B!nQg>eO0ZF9` zamCocsen*VK=F+Yvh3E;T^wZ&krJ?gh8SHt4pcx)kDsW| ze1Mxlc2fgR(gD`=ulWbkjfl~=H10G-s0Q5`|8I(?VgxptF5rY$L_)0(Km!1NRQGbx z0i3$gM8q+yUlI^JNk?pRElrLamq`L?I^_KAaHs$nlS^nb03;{gsSq3G@)^WGVx-t{ Tssx1?00000NkvXXu0mjfgKIU2 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/altaria/icon_gba.png b/graphics/pokemon/altaria/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..300dfec82c29b14b23c949639a0372ed51d00d46 GIT binary patch literal 419 zcmV;U0bKrxP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IAxT6*R5*>@(y?lUFc=5$JVAU1yB3A}FAh>4u1f^bwS{sI(<~kY z?-hz&GL(3jB?UPf(lY=6 N002ovPDHLkV1gAvz;FNn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/altaria/normal_gba.pal b/graphics/pokemon/altaria/normal_gba.pal new file mode 100644 index 0000000000..d7af0b531e --- /dev/null +++ b/graphics/pokemon/altaria/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 205 139 +255 255 255 +131 131 148 +197 197 213 +255 164 131 +255 98 65 +131 32 8 +172 213 255 +115 180 238 +98 139 197 +65 106 156 +238 246 255 +222 222 238 +172 180 197 +41 57 90 +0 0 0 diff --git a/graphics/pokemon/altaria/shiny_gba.pal b/graphics/pokemon/altaria/shiny_gba.pal new file mode 100644 index 0000000000..0ebea146ae --- /dev/null +++ b/graphics/pokemon/altaria/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 205 139 +255 255 255 +131 131 148 +197 197 213 +255 164 131 +255 98 65 +131 32 8 +255 238 131 +255 205 98 +222 172 65 +156 106 0 +238 246 255 +222 222 238 +172 180 197 +123 74 0 +0 0 0 diff --git a/graphics/pokemon/ampharos/anim_front_gba.png b/graphics/pokemon/ampharos/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cf05584119a639a26425e0e0f445fe4deb7eeeb3 GIT binary patch literal 1303 zcmV+y1?c*TP)Ww;M(R^C zlmo~Zzn;$snfR{42zPYn>=hx=SY;^o^fwmK+u)5tngoOzOm&Wk033yh2vrim$N}@0 z8Q>H=Y|kvjwJLBh#vy2VM zhjSw)yV+>I{X6qvjZ*3&zt6J4&@%ckrEou<9On`u`ysF+_~|urDyA6#i#TfiQTAI} zDK;9YXk|VQivXG)jp!;TaH|Bc0fcNxV55{D9)Hq$7}`ppS{0Gk!@I(UlOph-3ItCt z+Um#v{1||$#{v5f@yiWiAbvnjfe?*t%HG%y?$ zuqEEowVm=g5`J!(qEh3ie2#@1-2@m*Zos?yD?p+E;reqp@BSbPQ3{afU66w&JcKQC z0+R*@x;{LmZOc@cWWs?*pdgUC>5&Eyy&jwfwk_#t&A{C?cfI7_Tn{ zfI^}>Lba~|d_oiJ{reAPK!xaOCgP93k(^^5#`JgT@OV(8<$B8jhg9}{nJXf7L;qj6 zFer69yylhre(T1SZgeWenqSDI&gQ?vY(3pm08bjfTwGoe_sOmTSaZKT2cYq&*tix_ zVf6LPBs)xLXh`n7f{J5f#W`9_W~ZyT0ikyVV5sxSOf@Khd#8ll9$f>t05nE4Py$}E zLR=5%Mq5_$iL8k^6RXPx^So&u2LR@i_KZ%N78?4N9h(?NwK}Jo}6NR0LiOpBYx`wiwJX+!F=b(>&liV))l# z6H45h4)gh=eU{92CrXohTI|=!^oJ{wQGsa@NTz>{ZwKPaQlTvXU3j4#+r>IsUjm>4 zPoD+F9ADpGZXkB#4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}|fs YU&AB9waOlWyZ`_I07*qoM6N<$f|*CY*Z=?k literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ampharos/normal_gba.pal b/graphics/pokemon/ampharos/normal_gba.pal new file mode 100644 index 0000000000..f7fdd3683d --- /dev/null +++ b/graphics/pokemon/ampharos/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 238 74 +255 197 16 +213 148 0 +148 74 0 +255 0 255 +230 230 230 +172 172 172 +98 106 106 +16 16 16 +255 98 0 +197 65 0 +139 32 0 +90 0 0 +255 0 255 diff --git a/graphics/pokemon/ampharos/shiny_gba.pal b/graphics/pokemon/ampharos/shiny_gba.pal new file mode 100644 index 0000000000..f29dc710fc --- /dev/null +++ b/graphics/pokemon/ampharos/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +246 180 213 +213 148 180 +189 115 156 +139 82 106 +255 0 255 +230 230 230 +172 172 172 +98 106 106 +16 16 16 +131 205 246 +65 106 205 +32 65 156 +49 74 139 +255 0 255 diff --git a/graphics/pokemon/anorith/anim_front_gba.png b/graphics/pokemon/anorith/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..17d439d83db4fa43a34ca6680ba90e69387596b6 GIT binary patch literal 1161 zcmV;41a|w0P)hI3Bq8aARWB1*m$B0MlNpLZ(*Bu+1$f z|BY;&I>)PIAeluM^=vVyp&?5_MRNiDa)C@$j+A@?tVrbR9VM&0;|~p;TI3BPr2FvQ zyW{bFzfzR1ks8R~00dryWdkAMDT3@gh)Y`1+c8a||A#4h( z*Rt(~xB}aKOFq4X^%T4IjgY{$e{tROpvx0@1_Q9;ivSz{@I9Y_fLF14eGqrE_SPfr zhZ3KF5LyXXhUb@J0$31_-OUkd1}*$TD6($f;Ep?Ma3J&yv)97dj&Eh%9^o#0X$;`% zH-L&oypSy;1|S&0Lg#?vz|;)7EzEKWRW7{I`Im+_a~wJ~VSzE0o+ffTaMFOeb4yEr zJ5mWez(*y*fOi-AE8HDRt5_yEV)L>J;1w(!A6A0JEr)3n~OdVB?>tyH#)uPt3a zG_6OU)gxzTai)PXH7f83yq*-Gtm!;2di`_CAfG`i=+S+2a+(E{BH%&WPX)F#opJyj zWC7=;sD8zZCy4 zPyD$O=83<0eHQ^);;*OI!(zfTfbmokX)|@z?JiW*>~IuOP>{P27K} z?6_@O41u+?@vf7YqJDd+j0OimpU^65;ba2G`E|H+Y;l88VY-=EiOSr;$6-0>G2vvu zw+b0bz!j74L9y3nnmG;HeUhkB9l7mEB+cG5=-=-qmw|%b(t$98@wtVayTmr2aP2_4 zt=(J6AJmvHh&hm!Cyp}*;tCFg$Q5#n5_2GlGgXf)O3Z=m!At^V2ZC)u{?&J~19>6I zzvMvfF}@Z6bs;zq2=7^nI8YZINI2X9p-R=h5go{0avLNEB5f41Z>Fbl2QtP(k$~yh ze%yhK@t$-h&$Pm0%z-34&bFo%mJS5oa0fDGHc5CK&$Pl}mA^FTCxf!@JM*RpoE;w; zOKqkH+7GL~^xuIQ;2B;MmumPc6w(@nr82a)$bZwYMjC^>TT b-;KWk4Ce0oVsdDS00000NkvXXu0mjfzbYK@ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/anorith/back_gba.png b/graphics/pokemon/anorith/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0f9c0efc01ed6ac752b15a8395e44f8457d224f6 GIT binary patch literal 445 zcmV;u0Yd(XP)KlCe(1Fcd|zW{KrJQl;<-&Yl4?XXpp?msrCeV5ZD0 zusaFtB!WG$D>V!t;)mZ$3msaC8Rd@e9^YqQIS3XlTJ$FYY|mN7pg(jLPWw#j*8q$$ z07yi{AFJnm&CmrR232eiO>VkgD}5Ecc7^t!P_+tP8Mi2VgZ-_tyGQ#%7b1c7}zK2qTV n?Y!U3fN_4u*-x=((LdKWBZ~UvYG$+f00000NkvXXu0mjf%}c+? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/anorith/icon_gba.png b/graphics/pokemon/anorith/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..936355d61784d67859b9018690a60440549ee8e1 GIT binary patch literal 377 zcmV-<0fzpGP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H_en%SR5*?0lCchgFc60C3Fspb>)_Y~2FJdEFT=p5kLd*E1t>^O zI+e33y%rW17vn8Wzx;QXrXRqM6#}p^UK!RS%p(%8m670Zh=EcHbZ&?N^moHHrKp@lXDa@RJmoUj=pMI=_`L-Vq X>}tI9#Yi$^00000NkvXXu0mjfF2tk0 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/anorith/normal_gba.pal b/graphics/pokemon/anorith/normal_gba.pal new file mode 100644 index 0000000000..01bb5c13f7 --- /dev/null +++ b/graphics/pokemon/anorith/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +172 205 172 +139 172 139 +115 139 115 +90 115 90 +246 238 197 +230 205 148 +197 164 98 +148 82 74 +255 123 82 +222 82 32 +222 222 222 +180 180 189 +106 106 123 +0 0 0 diff --git a/graphics/pokemon/anorith/shiny_gba.pal b/graphics/pokemon/anorith/shiny_gba.pal new file mode 100644 index 0000000000..dc1fe03744 --- /dev/null +++ b/graphics/pokemon/anorith/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 172 +230 180 139 +197 148 106 +164 115 74 +246 238 197 +230 205 148 +197 164 98 +131 90 32 +255 82 74 +222 82 32 +222 222 222 +180 180 189 +106 106 123 +41 41 57 diff --git a/graphics/pokemon/arbok/anim_front_gba.png b/graphics/pokemon/arbok/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..98ca8aab2d0cba3d4ae52373cca01f924098be45 GIT binary patch literal 1515 zcmV7@#mjb~px?3|O_7-P|&7Op0 z4Rr@(JyRMw%6uGdDIiM(@-;dXS$jZ%wEst05+zHXS`9v)`P1X$dykKQ2f_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HSQ6uenZFk{$10;N)(tCaO|zc3j}DUa@pTws4EQdDY# zm@j7|x%R>!cC9}4N5CNzsrE*&2=uE>hdiN(tNcesTzn4@LY!ZzDh^l>RUB|m3}=8z zObb|R);D8JR?8VyAwNlHZG~7d53O*7sh^p^b{JZ7k9oQMi#a%?xt)KP)DV$*l0j<3FbqX=g7`q~Nv9{s1UmbCh!$N&G*_6tgJ+<- z*jRO1sJ~}lXtnzfNw)Fpy1!j!4_UP#PD|YhqywyvfLoG2FSZG-Sf9l5N&v7ZOP$Fu znO?UFoDJhJZhY`Q4gdppnWA)DW@y1JB40U|t7EP?h-wb_Y3ViV`|N$42`Owd2y|YT z7W9ChX=xb>2z=~8+Wc?J*}ct4*M=NAF!>UQh4}^~jMF!jtU@b3U@S~pAO@?#I4?1t zh5WGnG@Zc0xbyVl8)5c%Y5j1PA=jG2Ed#NBWv}HmLVk217h%|sE`{>jzvss%4@2CF Tm9GJX00000NkvXXu0mjfi@v1A literal 0 HcmV?d00001 diff --git a/graphics/pokemon/arbok/normal_gba.pal b/graphics/pokemon/arbok/normal_gba.pal new file mode 100644 index 0000000000..afd5a0a161 --- /dev/null +++ b/graphics/pokemon/arbok/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 74 +238 222 24 +189 172 16 +255 172 131 +246 115 74 +197 65 24 +156 16 0 +16 16 16 +222 164 197 +189 115 164 +156 74 131 +106 32 90 +255 0 255 +205 205 205 +255 255 255 diff --git a/graphics/pokemon/arbok/shiny_gba.pal b/graphics/pokemon/arbok/shiny_gba.pal new file mode 100644 index 0000000000..6c88ffb429 --- /dev/null +++ b/graphics/pokemon/arbok/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 74 +238 222 24 +189 172 16 +180 197 230 +148 164 197 +106 123 156 +49 65 98 +16 16 16 +222 180 65 +180 139 24 +139 98 24 +98 57 0 +255 0 255 +205 205 205 +255 255 255 diff --git a/graphics/pokemon/arcanine/anim_front_gba.png b/graphics/pokemon/arcanine/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d955b812fa49b7148814ffc669c6434fa5034a08 GIT binary patch literal 2014 zcmV<42O;>0P)01yxmv}Jv^00001 zbW%=J06^y0W&i*OTuDShR9J=0m%ne^*b&DGq%whMfh*Dl`3sWZpdtuTs4-HevR$S* zoXfP-rZ|^+PlY7Fg*Ze&E^x&zi9q`YNQqMhIIfjefJn-|_^h>-+;xPD#kH4{?>zpH z9Lr9bdsy4toe$^Dyf^R7*OvAF8TM^IdX^O}n&)uv;VX9@SUv zW)*bSA8jncO-0(h;8i)WMyeiLT@;^hEcuGK^pA_YjK)e~J{gZ%;A^ zLrH;!l*j-Sag&Gt-Iw=ENfGviB~N5xpxT8U(s%dnnxCU6u!^EEK-dLo6TP@w1LPgd znb{C!Yex+Jz2DVHKS-gB-a3;iTXRtZ;U zayZ(Ou`#a+N(LMxNwzw(MyT)BMcHIUXc2?0TxNq8|DT?216oA;^6lbYZPJJta`9E;8Ya*!zmp!WFLauCRs z{mwH3WL%-hy8RxSlcKTTMF#g7r&+cF(C((i=D3LmEZHgrkYtGfUJXRHIc(xVa!eBg zAP5>XNe-Q+k^^30b^xan1JqfBYNrA8+=MshB95~PS=2yJ`R7WTLY-%l;7+vzpwzC{ zByr`Za`FU7;+W5O&H?aL>n2NE`KbmVt8f~}$LDyS0qBlJF9d)C-T+T=^8GlTpaPnO z>}fyUnG)`{umJFPgbUy)_`R-Z(>$dsO=a=U0NO7KsnN5xpk`90OYN2Z+amyoPBt#6 zx`LWbm|xjC=y{ii@s-lsfw8AuS5sU;ZX$MbRQ6Le;cWtgUZwvaoDqb-8}b zS~hW9p)eL5fIY?+e7;?0)&YREPW~oO^Lcl=-_6o4o*8EAvg_6$5yM)riryl}0MxGsIp9I!8N%<3Y4F1&nKlEV_{s$0Bb|0vM8xHz=mOXZYkJ$%y zKd^_6^RapCM?)uoz5lUQ9D0s}&y5-E_rkIJZyaaeacI9YkCYzR(KP_?uu~A>MI=1Z zQHT~vZAe4B4ZHl+53G@A%T0i@)rI`VnD8+t{tjdku0@L4!*BP*RGZ0kB6F{5xra>{ z;TX1kv=VeOXDM%}E!7aNOcMqO&!LOMjQU#+f`n#*z!0r4xU*+Mgmdjb;cR~&(Jn?? zoAt#EHPGZBv(KP#5GVyp<6iDOx4FxQvH+z>Bm&yW2Lb9t!#)N7BKpd-Y!AI(H)5qt zs@M1Uv(kU*&?{;8Bixv7+kj{+0R8!wKTluEI!tNMlM7W-H%uLQc|x#z1)6v7+7?QC z01!Fm>wf>hwD)Ry4Hyk;n~gBN`GCAJcZBEG3gqkcUpdA{zfV)Bhm|3q)Npqjh4J}D z>GU6C4fbhFxwJ&Cum)=PN^P48T!%7v{QYl@C_!sqWh)UNdUw$(5W9r^?iXZqkuUNi z;q3gzC1BIze?R=<*LB$5TpD|p;hvAqT4JMC4w8chd0_}XL)oFS2ek`n>R9Fj4vf4o z;^16+sB9|~VhrI@=k812W+M=$KJ0t8+LLRW*=shBlbQg4UH2h)0n9eIU0kJMt%I0K zT}LL;O8_oOXNP3ht6E-gfr^8Zoq^Ru3+dO5SthCV$BI)j8Wj~JKTL4x4Co+FtW zp{(Hn{R-0F$P1AVRRff@Pk6xM?l(C@{rcwk@ez9WKj2O_^fnI{X#UdudkKWXZNS^fX$_>`{PpPU7T{fam`=pN w@sryD>HcEqaaG-7w|Z5a-D+~1Z~y=R07*qoM6N<$f}0@M(f|Me literal 0 HcmV?d00001 diff --git a/graphics/pokemon/arcanine/back_gba.png b/graphics/pokemon/arcanine/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1b0840c8ae480c12e144653ffee65066a38ba7b2 GIT binary patch literal 790 zcmV+x1L^#UP)01yxmv}Jv^00001 zbW%=J06^y0W&i*Jlu1NER7i>4l)-Y^Fc5}ytq=HN@&J7-`wb%b5a(8}rvuy&n$GY5 zVupK14Nu_aiW0`ot=LIWSCUO)1=@4F9ANx^+WmL6hLHa@mVW~lw}eE01TsRnxTJm( zWRcDZ=T8@aC|O;nc|_?2pv3dP(yX(<{2cH_EYj z<#`uTLVWN?cx$MwSiFjh<11m~qx-?4t-GEAkE>!$!v^#k_+V|&C^ zU}JxmB$xqQhP_hiF7&97U|<1ugSy%V0I$`~HfXz?S|F&fq&GF5bqSzGJ!m3MQcn8> z3==dav~Zvq9ReDq_N$;mLHVGg({BQ1-AKm{^TR1cCIGSdn;se zeTci0`QF0V0ea}$KSi)mk-eTNKKDI*7&O7s-EOJ}0JmWb#CAV)qoHts#wi9R40@`M z8g>Zi=@Ijh4>2)EsCQPLzUrb7BIslCC^xm)p=?a0fen9DJ!X!N_`XV`8`GHA>L=c9 zzt+NXvAMds`fQ}!9F0L80haYHIsRyjk7v2IUsYAzV?X6Ep=@QOOOJ%wx&)Qcew0E8 zw}-1|OKgl$$|b0p!N04yCaU)S$m=SK>h5h?OUPRIX#3B~BVPXGV_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/arcanine/icon_gba.png b/graphics/pokemon/arcanine/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3fed9199ac0126d84643ea8e91581b3e8e358c4c GIT binary patch literal 445 zcmV;u0Yd(XP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IJ4r-AR5*>*lCg4wFbszM1kRR~myuUktd(3Bvn5;D`mDJt&Zy9< zp<7i4OOWebmQJk)W9feXlFVn!-(I_AzpUXnjrl{ZCMHH6jm1_a)8waviHJqAW5ffD zCVIq0vO`1HMG5|2lA@C@(cR+)$I#X|K`w zI8aX#+df85M;ne(B%f^C9gPai{d5g$Br1CP{{L<*z}PKZfU)tSi2_W-b>sz@{Ica= zD=-$F5>$Y(AT&GxBZ>_eR}vdAlbWu;h{py@z4oQRXxZNaGpxYevPtHHNPw~DJ1~@~ nkTz_$0Q1NP+4d(N^qh}x*8b~9{hbQm00000NkvXXu0mjf84JpH literal 0 HcmV?d00001 diff --git a/graphics/pokemon/arcanine/normal_gba.pal b/graphics/pokemon/arcanine/normal_gba.pal new file mode 100644 index 0000000000..46135bf321 --- /dev/null +++ b/graphics/pokemon/arcanine/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 246 +222 222 213 +90 90 90 +255 98 65 +197 49 32 +82 16 16 +255 246 172 +255 246 148 +246 189 106 +172 98 32 +255 139 82 +238 115 49 +197 82 49 +98 16 0 +16 16 16 diff --git a/graphics/pokemon/arcanine/shiny_gba.pal b/graphics/pokemon/arcanine/shiny_gba.pal new file mode 100644 index 0000000000..99edcb435b --- /dev/null +++ b/graphics/pokemon/arcanine/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 246 +222 222 213 +90 90 90 +255 98 65 +197 49 32 +82 16 16 +255 246 238 +255 238 197 +230 197 156 +148 115 82 +255 230 115 +222 189 74 +180 148 32 +115 82 0 +16 16 16 diff --git a/graphics/pokemon/ariados/anim_front_gba.png b/graphics/pokemon/ariados/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9fdd513628b9acbd38b1d17381c8b5df4c706f46 GIT binary patch literal 1466 zcmV;r1x5OaP)8U!ewDVm3Yq3g{tIvV5yN3 ziy~0X$ky?l32K-)rwwt2R=$Wz85j_@r6Mu3^_`R;HA><;^^}3Jq%I?kec-batCl~$ z=ldJ`iWwL{>XYK<-22_g5m|G3Q3z^uESfRKjWiG{29?QP4FH5UXlb(E^}Z)1u1m1EQ)LQ8n{{gzCpS z)x-x|_(}8m7pk!x3CQch8TxK|PLB$J_aJa)KAlcqkRmb=f53^$xA}NlVUV2wnh$X^ z$R%jEyKl?OlzuodgNIn#3M&meps;SHFdjlw_c24I4DA!fiewJ#&rSnv)u@yO7`EG; z6SmnS1^E0l(0Xnv#l&!)kSm=HFfv)leii-!qjk=VOYj>`;jIpU{)pzY;T^1--=r*o zQa(wN0ch4K&C0=Yi8XUAc}NMNU4ktKdi4>d9|b$2QQuV#Qh%N&ncM;aLX>6ZX$%3~LHDA3S5<9#)i3vqs_n~14lsn(?!_XgjV)RT6-nzW*OG^rA02jX zn)D8+_oX|*dg(R8GOj)0Ib?^Orb#L2jC~ydl_g`lN!sVL3p9s7-5vqU{&v&WX-}K4Z*}5NE8+fy-y_(c$n|ubC8ZMcI!YATy~f?hx|F?^`$`>8g=~-p9(4 z=BL16BG6E*_3jJ@@Z5P;OC2Q8^OJL^!7mAfkxNZpp)$*$Fpe!6LQkv^g z4j>PJV+q}Vif{|Jexa1UX*fM67vKSegeAQ01i-qvfZ+5MZ(GcQTi7Md1r%!(aN;S{Js`pRxHLW< z08YT=DL`WKIoBg!F8?a9JMCDhOgS{B1DjLEU$y^4i%$be(-u1Pc76#kWwVVbLu?{m zjD=792%+&GeCPKffG_r}5IrdnGu6<6TZwR(nMMGJ)d+_XL(XK+q;o`imx|HxquA1N>Nw00t4atuy$}L+|K7YacQ+%L7-;)2Ez40 zZl&ybg8l{erJLplo4U$Yd;{V7pd4|(AXz|1LV?H)?lbASmjdd;zH%d(dWM2gXu~oJ z1PA=Hit9tXxOOlCa>L^l6bOJyU>JM>;?kWK*Cd+juniOlfWFL@T!8CCe0ArD=Rgaf zV1fofena;3fa`;@`rUiaGWiSwec(W^U~QV{8+W7+f{6f_i#ZewAppSHYy7{?JW3)s z`sNG7URm(;LFl2Oz#_Gr%DF&k1UUMTLdkjmLe8z6XBZrC^r7_xfp?y`hT#cByzJ@2 zYzkh>4_$`|9sl6z!|WTQ&*V5D`1;^nIEVmF=|k(O3%u<3?+8->;hzGp1Y)B71&W0@ U?vJS^EC2ui07*qoM6N<$g74U=Hvj+t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ariados/back_gba.png b/graphics/pokemon/ariados/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b677b7222e26d2e74dfb65db9d82a8cf44422e23 GIT binary patch literal 706 zcmV;z0zLhSP)KlRs!{dpecy{L-ART{?UZNH{rTPVKKDnK^`if& zo4*Yw2MIfB0CI>(bbx;C8jwh9Yn^6QtOKNNVH0WsA3Fvb06oGVjCtqI$aPJ~To^#k z3DW?Z@ms^f;r#Bh&;Y^j=a~ldIOjqGtX*zeH zCukFVXaIN}q9mJ@hx5ZD&wB&FuTucBq6Xw_<+*#{SXmTXp6%2=5_n5ejwb8j&~;r8 zfU&ap#Ivn>=?TfiW(48fBhW~$e1D9<3;;}FPl*s~Oy;33@TlOdgf+kmnw@1&ZC1_F2=lG3P5EoVwX06?#T zz*Bo%E1;BNSOGLT!})jp!Q|}Ne->nopB-{Sm;#=reL}xf^ZqFSaBEipe5Wi0;Dk&E ogt7AqfUE^xYkJ`2z3AWQ593~-i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IEJ;K`R5*>@(lJkjFciS?eggU-ZugSA!MNb!d@PvAA{%bK;SxGB zk-+4}%2#W0O3vj;JZjmVr4$a()j{9Tz(1uO_!08ghAxAwm%;lf;AC4{>T~>AK$Mq2 zYw7VMyPVTLQy*o1*$^UPbMGZ%P#igixE}&O@kH%0|FqxG)tblpqs+76yj}AM^D-T- zMO23ZvpX5o_726jMI(L8N)ujp*W4|D1#o&a0lc@abm z!4Z9!50L*lzW|2T3ovat2SXo90|xCoqSt}ZK8C-4Yrsr=Xby?$d{{#CWAI@QIirdr z7Nng9R* literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ariados/normal_gba.pal b/graphics/pokemon/ariados/normal_gba.pal new file mode 100644 index 0000000000..ccf5f7fe71 --- /dev/null +++ b/graphics/pokemon/ariados/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 172 57 +255 123 41 +205 82 0 +139 32 0 +74 0 0 +255 238 90 +222 180 74 +148 115 49 +189 148 255 +148 90 238 +106 49 172 +189 189 189 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/ariados/shiny_gba.pal b/graphics/pokemon/ariados/shiny_gba.pal new file mode 100644 index 0000000000..c2557b5894 --- /dev/null +++ b/graphics/pokemon/ariados/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 139 189 +205 106 164 +139 65 123 +115 16 82 +82 8 49 +255 238 90 +222 180 74 +148 115 49 +148 213 255 +98 164 230 +32 82 180 +189 189 189 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/armaldo/anim_front_gba.png b/graphics/pokemon/armaldo/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8f07191fb768c3ee1c5da8de953d9d884d1ce794 GIT binary patch literal 1876 zcmV-a2dnsrP)O1(J%-rnA{w7qI-djJ3cun1xM00001 zbW%=J06^y0W&i*N(n&-?R9J=OmqBma$Q6JIbag0W~v# z(*!n$fHycx4kQvKu!De zV`mH4v&T*KdN6n!nxp^KAG@0~e6d%5%;tl^S@eElUDn52fMTD|;JbfbMG|0Oo$UZ*%e4GG05CIq08kEH z?6;YfVG?%w_W@6--+))naOW(#CytutP7atG_|9EDx(~o8Ow;9o_m}uQI^F91efqEI zNQVG{5Ape}szA_&wwY^o4CvmrPjZ>rn4=*vw=-oU-K&=GX?Ug_gr7DKC=6o@U z3a|h$i0qAwQWc?XmB1MW*%b(25Ps&y=Z}X79NAWH0er?Fd5?ljlh>Z};gX(bCbPma zgtL>2j+`P1IL|k` z;t(}vmS=3A0Lu-$HWYw6Er7)tscBk+v8FpEV81~C;CI-13E0%nESP%TFk?(NEdo@w z1jg8nu|wc-AHTvhG0LewVP>oN${G$2)VR+%KxUfILclav0KV4r@lbpla1YqT#AE@V zEP=y}hVW_A(@Kn+nPs{XScGucU@%lUaPR60iERG~0W`-F05P2Uw|Q@Xt0}^L&1xZV zyaYx~0m{_9#a&H%t~b^!2aCmV8G;h#xat{u-4WL`LVB|c&Nl$lvm|Amty>uFBT#ggnV`5wVk+Z!%iZwSqcN zLtMOP1rcJs#+toWLUI8|NW2s@i)GH!WU>yZkm2H)*5sLZX7M)0}14AXlKi!R@U+m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;(L9#O{?j7^or$N+Ky<3iS1Axb+SBnFMwLP&1# zkP7uXQ~Wx{Ikv4@wQBVX%^uwK$2=Ol>b*QvE+zn*`$sue1lW8COmK;V0qw8 z^qTC|=l~iEuZ9Pn@>6m;0J5;g3W}LES%okJ=xqRd@5K%v0mtJm@j~XM@(gHLa~lMi zG}}Nk@qg|#qBn#IV^UDQ>pd8a9AHvI?@&A-Q-lPS$6g`IEWyxtY%gVqrVNem04SD! z1Y+g$GlfNoX7udZ_{uN{W7k}l>~ipFgI^B5Gp$pLn5b_60000&CUP+|ExJm-fC+9gM(_l{{R30T)@xq00001 zbW%=J06^y0W&i*IGf6~2R7i>KlfO>GFc8MOL>8mF08>OB0MAT318-7QLRGRvY!zF= z&|a2|)LwYBk}#kwJ?`8{NcA~FV$HYu=g;5$@nSJ+)<2{+tLgK?y>F&~!dYm_2?OUE zm?D(3)&kU@@fTjn0a}a$z^XB3Q5-w~<}nsw1OQ}$=afA++~OwAME-JsE)fJCiKC+iv-V f$imK=^%wmB{&D3Idz%|@00000NkvXXu0mjfHbuXh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/aron/icon_gba.png b/graphics/pokemon/aron/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5478463741fb910818aaed48112ab6756baf226e GIT binary patch literal 262 zcmV+h0r~!kP)DV$b%7 M07*qoM6N<$f)f*Kk^lez literal 0 HcmV?d00001 diff --git a/graphics/pokemon/aron/normal_gba.pal b/graphics/pokemon/aron/normal_gba.pal new file mode 100644 index 0000000000..b5711fdada --- /dev/null +++ b/graphics/pokemon/aron/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 172 156 +74 74 65 +106 106 106 +139 139 139 +172 172 172 +57 57 65 +123 106 106 +156 139 139 +189 172 172 +222 205 205 +255 255 255 +172 57 74 +222 106 106 +255 131 131 +106 189 255 +0 0 0 diff --git a/graphics/pokemon/aron/shiny_gba.pal b/graphics/pokemon/aron/shiny_gba.pal new file mode 100644 index 0000000000..eadb9aa81e --- /dev/null +++ b/graphics/pokemon/aron/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 172 156 +32 90 90 +65 123 115 +90 156 148 +148 197 205 +74 41 24 +123 123 90 +156 156 123 +189 189 156 +222 222 197 +255 255 255 +172 57 74 +222 106 106 +255 131 131 +255 123 82 +0 0 0 diff --git a/graphics/pokemon/articuno/anim_front_gba.png b/graphics/pokemon/articuno/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3e92cc8b313178e043cafe3a3171509e2bfe2332 GIT binary patch literal 1935 zcmV;A2XOd_P)5dZ)GT(CbN00001 zbW%=J06^y0W&i*O4M{{nR9J<@m(PnM#}&uxqPhqKt$6poCAE%gnCk9RP!_4WFAI|y zsjDyJ%qsn(Adt-eBQNaHuo@VQV*;ar@xeYi@jnoVuy=IW4IL%{A8d&8ebv31mPX@K zLh3Rjy-&X%)vxM(#n^vuwTwC1{C{-cZYDywv--nicF$gjfid}@cJRS2z>BWQm5M}V zINk-!an~qX>5)y~c)*ek($ZQxgUYT_pS~G5gTmhc$ByF+GU-n}08wCpZX|-c>V%L| z22&}$8sL$LddXb^DF~BE5CA+2^fP}&raBQMA;}IPl=PKRH>Wn1aIIbRq%2^c`buR4 ze1DjHN94q$^btGQGcu6AB;XlBd|&?kC%IyLphibkoogv6iCC#AT=Or3U;Yh1YoLN^ zYYnO(7plsVOZEG20HncKTA(GRpTR{=0Ah1beJk*HlGngg4%c!h0~LZ8KVw{#e-Zr| z?*Xu7Bxc6tTE2;L5Lv+Z;a?BMfKrgzLA~Rxl9hO!xs8#UFTWK}kwOEY)lv41WdkA3 zgm{VwN(Kjw*6OTtHHC`>$z4?zx` z#{ph#kZl8N)Z&eVpcZiqA`G)EV9gjq?)&KNTLK;{GaMp|CeT^6Hoz}(0A*(baAT_8 z0PuoyHnh1NuHp#eA*P*PV_&l#ApS_WG{z=s4h_K?RK2p};b;JEuMrz=b& zxgsQcxlR+ZyTbj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5G>H!?!bzc);_x^2$%&_j3ZS2C!=DedyucES8Ok(R zKK*J}2ZWsb$fFypyg*A*h)%5f1TEG2BC)2Rfe?O+0wHmr1c*^TEC8Veh&2RV53~ST z4k9U=01s4=%N%P^op~BK80V!7(Sv662pS<$_;MBh9{*GU^$_U1z7-HO@Ils3rLIvZ z{;LCS1;8p1s1H5$MB6ykfEpe3H>U*hd{#zKqoH2HnqD60)6k8`8yC<;c`({U?EuTU z)V~XO>#7Oy0%!~uwF}QXko?>)f&KcSy17MXI o31q7PXBFVC0*LJ=(tmBg0BRh^Zc?7uasU7T07*qoM6N<$f{!}zW&i*H literal 0 HcmV?d00001 diff --git a/graphics/pokemon/azumarill/back_gba.png b/graphics/pokemon/azumarill/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ca59011c64c5b899c1ada39aa630a0425eae577e GIT binary patch literal 541 zcmV+&0^Kl(AC7FbsyXaF>i;TINoDoUoOV#VI3;m2Mn&!SdFH zOY*izwp%B%OOF{er^~F*9%~?oTacwdp8& zQKAL|y&E{SV2lB5*MJ289DD)b=mp?cgMtVQ@`fv5A>|Ti7eGNmTpT^%s-FQVVF8pi zM&O(P>2v~`0JKHG-3EfP1jsJ$1C0Qr4H00K2`vIR&qW)82t=Bi*BijZbw{oB$!jbC zh;B4mcgJEABm!~dQ8QrkapHJDM<;n&ZvfT7dqov^AD?p|7!(H<=NzyrV9GzNF#&8y z2GpF7}K;Y}(20;y*%~#7FYrSD$kBaIee(ZL5z^Hlf7KS!>hYlk@2gKNLTQ%{ow*sgH f2FD8H|2N|stH^&h5C{Ea00000NkvXXu0mjf)r09= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/azumarill/icon_gba.png b/graphics/pokemon/azumarill/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f41d53d2cfb5cc4084165acd23254d6ca2710389 GIT binary patch literal 445 zcmV;u0Yd(XP)DV$@k}+?aNN?bGH2)wp00000NkvXXu0mjfSU0^B literal 0 HcmV?d00001 diff --git a/graphics/pokemon/azumarill/normal_gba.pal b/graphics/pokemon/azumarill/normal_gba.pal new file mode 100644 index 0000000000..429d3feccd --- /dev/null +++ b/graphics/pokemon/azumarill/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 205 205 +156 156 156 +106 106 106 +16 16 16 +131 205 255 +90 172 230 +49 131 197 +74 74 131 +255 0 255 +255 0 255 +230 82 0 +197 41 0 +123 0 0 +255 0 255 diff --git a/graphics/pokemon/azumarill/shiny_gba.pal b/graphics/pokemon/azumarill/shiny_gba.pal new file mode 100644 index 0000000000..5f185cecb0 --- /dev/null +++ b/graphics/pokemon/azumarill/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 205 205 +156 156 156 +106 106 106 +16 16 16 +255 238 82 +255 213 57 +213 172 24 +131 90 41 +255 0 255 +255 0 255 +238 74 65 +197 24 57 +123 0 0 +255 0 255 diff --git a/graphics/pokemon/azurill/anim_front_gba.png b/graphics/pokemon/azurill/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..212454b4e9ab6bcbdeebfa1aabc019ca26b7350e GIT binary patch literal 1007 zcmVNSZ6MypnE7dEW@m2xqtxU1 z6VE98js2n=@;>0Wlw#2N7mOIPID6xSFBj}; zZDlcoB0c*oMyMisx!28mNUsPO<8+g*J{u9hn4P>hNV5^_O4p_~yB+2^q&X1ADTI|V ztMkxU?QX*+==+H|hWM^aNb?4Q7BpTUVe*4fh^gVqNunPqh}4*K=DHC9ZHx_I5BU3o zdx>Jg^$%#qB_zjJorqFXC7lzMPI>Er(%8eWgjFEAb}a0*w%Kt<0dpvPe*o}|ZhMdb zyKP$C#DZY|^0J@IW;int_a@NY*aP(c02g)( zOFS3)*9}!5ChC0bpze7m@2n@*zP0Otu&z2ESRb|sfg9-^?U@++&^)aFfo+8c>~>Xt d+#mk>^B?J|O{JKl(BAuFc5~##ulI*x<$EWsKi9QATdNj41KNO43;wV zSz0fZ{8B+(veEOMQ;eaVI`%{obN`p$_W3}F|M>gR$80eQqi^Af^BQ2cB+{N?v|yynoPpC97AZJgRy>2XHU<ayN*XQz zmz27P0xS)W5m371x$D}3y<*_}$a>cm>B7+5x$R74oWkY&AgAn;MP~avs#`3(AcMml9f1NLMk-*Kt$SPlHsni3u zX{59(K;Z#{4!;8I@bV*2vcn3{djqQD3gCC?kFt5YtZ$-Z0|XAS0nK2&j@?jA+Bo8# z?yL)Q)8(hU1OOtR%_I^~Pr!C?$b$;?O6dvMT*P)92dx9-paUQo@Z$gsZYHg+vwj%e zSFVG2#VZ7|n7D>B;41lMBDQ#iMcNFsl*8cl92Y&S;&z}?T0<*6j<3-<;2s6NS4vxB zL9X)!l1}dxd`Fe0=1DFKUEDhWn}Ku{SZr8NPV`WDi#j+6EFt{>JyZ-RrLu4eck|t` nk{yC}VT&1n4)cBd#~;KO=QIOy&>OKn00000NkvXXu0mjf(>oBl literal 0 HcmV?d00001 diff --git a/graphics/pokemon/azurill/icon_gba.png b/graphics/pokemon/azurill/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b69acc7fda6676b1dfd09a3441dc5dabe93a87df GIT binary patch literal 342 zcmV-c0jd6pP)DV$o+?5RAr3;^H|CNER!BWYJYakJU z2Ow3wE$6c>=MLbvp{F;p07^-`1fna6rz&@)By#^K31sF2@iBrOpk_{)>rP>!G#G2< z$PVeA+R&bDeIS_In-N5kw=xsWG?CvFYBh2)OwA^!C=dlNI{LIWEP$~*+C)olaZT{> zH@MRMV(aGq-ci37_pP9L#Ogj^HXGyWz6B-?iv8-o>_kUS&Haf|rjSDHW-o)ICLcRk oRD9)9U<_4QaudSo8w4)H7pW(Mf6%>`1^@s607*qoM6N<$f@z(V8vpPu zN@9C+lzV&LtgQdVgJS=bV*iw4gOrr4q`ltN?*IS)0000000960{}>n;fF#B700001 zbW%=J06^y0W&i*JwMj%lR9J=WmcMS>Kn%vEbn)h%q!dvWN0bqu?O@1MvId3^T{5MG z@&IY8)vu7z@lNI9OVuenbW(YzbR(5Hg}He6ekOT$0>01lcJ(Z)Go7~U zv#M$(NU!Fqr9bJ5StSy)uT{0OODIU8@h*6M!@}>=wT*P(A=)#xK!*D2lT7A;ny{ z?7d#SX;vBWfLoQ0feOX%(vJvGV+LN{CMrZ&$|Bi(KPL}AN*J_=kk^z0 zRI2fa2gcDm`Y02Mj{KUm{_zzpK;ISro&f=rFvxiYz{Z2}GX#_{1ox(RP`G#?S->P)Pu zN@9C+lzV&LtgQdVgJS=bV*iw4gOrr4q`ltN?*IS)0000000960{}>n;fF#B700001 zbW%=J06^y0W&i*Iyh%hsR7i>Kld*DwKoEw(%FX~ufsL|E8XE@|>WqOma7dHh_sEPd zfZfq#ETKzl<15)%o4q|X6K}Cdot>fjKlc9J`_FOy>(2!+y{~uO_Tj!xM86z$T!-G@ z$68kEQ`QIFR_m?$@MIS=23qCy`JC|ys_yeS=rqu(@qK_BDAfpOxNJc;P*f72>ZWV; zr-51ow4h80t1v*QAukkn6`q0GkG3)p8o;M3QPOp2U_%XJO!gw+hV0QtO!t$i1n>}b zyhPmLYcH_LkC=SnLh?X>uL1(n083$&C0);;oDk6auwBp7IwU>%aE$=>fOT209;5tj-LfoF0|ZhK zhL1nM?T%S5HGl?4=YoMnmX*jrDV$t0+9*;e_uIcqXPG40*JM{4H&eqIE@znvjv`ou)k z?;sy^Tm^!upHay7xJjWk5O}c=J$~ea!vxTT$ir{u;~Q66a~SeJNO1rF002ovPDHLk FV1gM5nu7oU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bagon/normal_gba.pal b/graphics/pokemon/bagon/normal_gba.pal new file mode 100644 index 0000000000..c71cdb94b7 --- /dev/null +++ b/graphics/pokemon/bagon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 197 98 +74 74 98 +123 115 148 +123 123 222 +172 172 255 +197 131 98 +255 148 98 +255 148 98 +131 148 148 +172 164 189 +222 213 238 +255 255 255 +0 0 0 +0 0 0 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/bagon/shiny_gba.pal b/graphics/pokemon/bagon/shiny_gba.pal new file mode 100644 index 0000000000..6cd8ce5ea6 --- /dev/null +++ b/graphics/pokemon/bagon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 197 98 +16 98 32 +98 156 106 +98 197 98 +148 230 148 +197 131 98 +255 148 98 +255 148 98 +131 148 148 +172 164 189 +222 213 238 +255 255 255 +0 0 0 +0 0 0 +255 255 255 +41 41 41 diff --git a/graphics/pokemon/baltoy/anim_front_gba.png b/graphics/pokemon/baltoy/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..94e7fc2c7efd9f80311875b016cb722854e05283 GIT binary patch literal 581 zcmeAS@N?(olHy`uVBq!ia0vp^4nW+%!VDxm*B3#8FQ96 z9zB}$?Ae-oj!EC9fb^h){|u>FzyAV78B2ovf*Bm1-ADtn4|}>ehD5Z!owl*>wgFGu z+UCY}sfsrvKdXs4Y~RjhF!!c|ONs4+qF3B8i;mkxdfrxCX0nBKUF&~UX8S+;HMkXL zr(L$!UUB8>$H)0hcQ1;)&V8PHa*?cB|2hXAn+dW{Crta9!MiA9B14)M!~OG|AC$c$ z{bjX=^Izd${-pU~-`h@}jLrBR${fL&aWQL4N0dj# zeuMK;lMnA|e5JuTsr^E8+^f8(cY@b+MEF=3429Gti!upJ{`&6ETT{m7-!=0mye~gq z6Tx7$&P8Wi)~EJ_#*AItPo#&dbG@`wd35j5D!V8Bxfw!v!HISLT^V9JL90*q=X}hp zx8<2QW#fLao;erqFsL)w&pFaF|3C!ev0L_@YxiYdURJ*B`v$pyT-ycv_sAWw`IGv< z@Yo*v4$061hn}XM6j*=zhuwzdhrXEWec&l-*~U;M@l;RbR>7jH2dkMcw3WhP%fwOyT!`6magq!l@O zzo_VnM`qdzZ0}#QMQ#dXD6>?>3Wl@IJEHzrCahunG<$DmJhR!~<5kRe!z+rXPKlWc Oig8a@KbLh*2~7Yy4*c=} literal 0 HcmV?d00001 diff --git a/graphics/pokemon/baltoy/back_gba.png b/graphics/pokemon/baltoy/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a8d124481cf3a30b9ef38814b59f31965c79b047 GIT binary patch literal 517 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*Z=?jCj|vHHzxrZbCx(B zJ(~3F*_wNfN#CY`^q_Jm+C*``zK))LWO#HTrGUC!}rRd$aE+1AG0?zqkE1y|HhJsMTS( zeOM?!pW!uYLTdR>odr7Qm|u&fXDcwXrF{w$mhuv6wG~i&C9-fECmxO?%IU|(OBH4lV3W-U|XpCin$^({k2 zrci5IQ<)rtE~DC$xlLEp_C1hDW%|)lKKV3;^Ezy+4ZmQ%%AAqc<|5F zZFe&>Smv?v95{NZj%As@Gw z`BP6#sGPCAZtkHYi(9&0hpw;Vn{d!&QOE1j-(Pm?EEBreA00NK*Q}n0H6fVo`Jr<^ yRB}E&@L@61NdByHS7)j|!$hB}KTJPde zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hl}SWFR5*?8l06E;Fbsutg7^Y~p1Gr-jnC3CAndt=LpvI5HEY1F z(xq6=(yoO(wCLmMXLtaAFS7+@-WZCV+rIY=d8SKG2L002ovPDHLkV1fZYcJcrK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/baltoy/normal_gba.pal b/graphics/pokemon/baltoy/normal_gba.pal new file mode 100644 index 0000000000..3356572671 --- /dev/null +++ b/graphics/pokemon/baltoy/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +98 82 82 +131 131 98 +255 255 255 +156 164 65 +197 197 98 +230 230 172 +222 65 98 +246 148 82 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 255 0 diff --git a/graphics/pokemon/baltoy/shiny_gba.pal b/graphics/pokemon/baltoy/shiny_gba.pal new file mode 100644 index 0000000000..39cfa55ad1 --- /dev/null +++ b/graphics/pokemon/baltoy/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +98 82 82 +131 131 98 +255 255 255 +205 180 57 +246 222 98 +230 230 172 +90 172 106 +115 189 172 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +0 255 0 diff --git a/graphics/pokemon/banette/anim_front_gba.png b/graphics/pokemon/banette/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7d10d2c50f4d134628e819ad92932ab5a8e75c25 GIT binary patch literal 787 zcmV+u1MK{XP)nSa86PCCTsSPqdU34}5!tO}u=K zRaBCFVkvFsh!!j`I`I)N#|Eo2I1QwWKjDajJ-aQ6Js>H=g^8&!2xw|}bN;Cp3 zrV3+R-CTtiZVzDrYLu4CtMGZq0ys0YPGqyX88a;qnv!f1D-n#xW3GaI&J7qLmY46j zJOB*I9_hhHwt#(Dn1LPhfX$;sX1CiD#h!QEArA5H#UHADBkn~{ej{$>CGN%TCH^;Y zFF2qpZq}+@akGo)iaX_cJcwKKquPnP)ci1a;@+5#`xd(ww-5$-S6L6@#@p0zUVU0_ z#f`uRp2cA#H%4~%iNcWB2F*ktBT|~#+EYLN#ZKfUrt+~}CZcBV|)__Y< z6Dgw2k-R-|*Em%TE)J1BP=n9~gf37dvFa|xr_fcq2udqvtM1ip7_#2AVxCn-F2^3V zi+pSDJCE9T<{tRej!|c8f_r^xZ^evV_|)FIJ@cy_C2%PE)IRF<`XLS>#BX!+iWEz6 R8B+iN002ovPDHLkV1oY*Vov}7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/banette/back_gba.png b/graphics/pokemon/banette/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3ea5f30af9f097c266060292626b931172e5cd0b GIT binary patch literal 503 zcmVK)G=XVW!Rx|MOlYo|i zy$o;y@cNWwm;tU7@Hx8k@p_%G?jb+vh@Mvn0lLDmo*;9RQRE7I^4|~U^6mM5Z>>e2X{XC0*oJRUxQp* t46Km|C!nGX4CIFi6xJ^PSKaE5>KAwxyE+VKfL{Or002ovPDHLkV1j#Y*NgxF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/banette/icon_gba.png b/graphics/pokemon/banette/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3b5cbaed142f7cc61f6518655f40d9f06c56ccdb GIT binary patch literal 321 zcmV-H0lxl;P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hzez+vR5*?0l06Q>Fbqa>1Irhnr$ZeXd){2Yjt4sCBPqpo$_5j{ zOO&U?e|jnXcu+ar4H$r#T_PcF5lIISIr3D_%vID=-#Lo_Qq{q9)so=AI%p?eUua=b zB$_>KT_kf^R|f=4thb{Rn%G#wJfzvY#1;iA14tF)i-c59D|y?|U&qJ7_{UwCWAVE% z(U0732nIDj5Gvc#pird?)17j%38R=tVI&&Vg^|$yCXB?i1+C3tV$eyLul#rbARCwX TH*ak900000NkvXXu0mjfaO;O_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/banette/normal_gba.pal b/graphics/pokemon/banette/normal_gba.pal new file mode 100644 index 0000000000..cebcb7757b --- /dev/null +++ b/graphics/pokemon/banette/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 230 213 +255 255 255 +255 255 49 +230 164 24 +255 189 49 +230 49 49 +222 123 49 +189 90 16 +131 65 41 +255 255 49 +255 255 49 +189 189 205 +148 148 172 +115 115 139 +74 74 98 +0 0 0 diff --git a/graphics/pokemon/banette/shiny_gba.pal b/graphics/pokemon/banette/shiny_gba.pal new file mode 100644 index 0000000000..b6df68803c --- /dev/null +++ b/graphics/pokemon/banette/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 230 213 +255 255 255 +255 255 49 +230 164 24 +255 189 49 +230 49 49 +222 123 49 +189 90 16 +131 65 41 +255 255 49 +255 255 49 +189 205 238 +139 172 205 +90 148 172 +32 82 123 +0 0 0 diff --git a/graphics/pokemon/barboach/anim_front_gba.png b/graphics/pokemon/barboach/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c8dfda78e32b442d048a35ae54c86bc3c479db76 GIT binary patch literal 936 zcmV;Z16TZsP)JlaHnTg5(v0{ee~T5S*r z3G;6cC!7z)62PMlO)ZMAw>js7(6^RLnwC`1Bcl&KMi)f=o4fePGVWu^)qeaFVfK z9zgHv>(-!8c00_qE&(~5@bQV1+fpVib&VQJ@_5FN$Vu78Sys_?T^pbF13nPxESr(G zbv-e@?gxmlyW)`)2=M9<&DiBwe9X7XzUquAnymO%*#{zQTaSlfz+sl8FCh^E7Ab3E zDhv=}vBWqA1evT20bD~~g)1l$>yW}g#XQf9&}euX0*+ez_gqo|O9+_VwnCF(xP$_q zr8Exr5a2cOe^9{yBv9jusxBet%=u4s89U~B*O4a>pBy>N`GNrf<}xe;A-0o6eIgC< zul2tPo1B-kci3bk*ktrfZ}`FL3>lrn0WlgwC?Hf%P&S>0u)1w?$n^-1WwU!+8|~6iSox?4Z>Jfi)Um zJ+(XcAz(x|qU(&wV1$vFCTlsy5kQaXxd>b&nbi~FcP+S0qCD236NpcOj=qeJoOijw2imrq2tzxN2lUu+0-nr5j(ePtXRsVqC8mubImBVAYB-khmK{inDvL7j znME*5Z6>N@`2~1W1lh5wF2ApV*PV0fs;U~f0CPAI4_M&l9SE=+B1O%)fPi4F`bJ%- za|QvP#_CKl)-AkKoEw5IS7V=F`ilqii)Qe;uw0W5VPXFWPJm3 zE_e_M>9eE<5rjaYx0d)Cg0g|0goyhL-9%e$l1)MA&Hu88|J#{=W?=>4tpC#cuOmfs z=lDp`Meqk81;<>PeCLSchmba0Kw3rz;fL4(-s!;J`U{X&JX-{{cxaRq^sJ#?hfWQk2ffxA>cED-{#0u>HWa9IR{C5Sga5HpPR61M|W1DjO^Wdmv^ki#aFP(K@x zvjGHpJrgk6db!I7goXjAgt&W%0A0=kYDP;&s4{c7A&hpljQVuTBXR&;HYf49|5qIl pD`69#SE6npR>FSa|6gaFt}jnvs=8xkoi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H&q+ii2;LuWF1RxlswNmbVgRB;i@XK3~Ec40}Fp0 zsV|Y~KgeW4V2)HE3&s&6EPRYHBj^i^P6VyMTuNXPK`SsZP2B+ocYq;=1;YtJ+EPGJ jD@lnMx`GgTEysETsBUH8Mc9TH00000NkvXXu0mjfrb>yC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/barboach/normal_gba.pal b/graphics/pokemon/barboach/normal_gba.pal new file mode 100644 index 0000000000..20167a5573 --- /dev/null +++ b/graphics/pokemon/barboach/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +164 156 90 +57 65 82 +115 115 131 +164 164 172 +189 189 197 +213 213 222 +238 246 246 +0 0 0 +197 222 238 +255 189 41 +74 90 156 +90 106 180 +90 115 205 +139 164 222 +164 197 255 +255 255 255 diff --git a/graphics/pokemon/barboach/shiny_gba.pal b/graphics/pokemon/barboach/shiny_gba.pal new file mode 100644 index 0000000000..e29a020995 --- /dev/null +++ b/graphics/pokemon/barboach/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +164 156 90 +57 65 82 +115 115 131 +164 164 172 +189 189 197 +213 213 222 +238 246 246 +0 0 0 +255 246 123 +255 189 41 +131 82 0 +164 115 0 +197 148 24 +230 180 57 +255 213 90 +255 255 255 diff --git a/graphics/pokemon/bayleef/anim_front_gba.png b/graphics/pokemon/bayleef/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..aa3606d43187beb17d45c21bfe57eb20bee0756d GIT binary patch literal 1183 zcmV;Q1YrA#P)q33M6dWk@W{wHY}tFcx5n{+#a$8*M&5>gM_qOTu5Zt0}(>{3u#j4%}Cyyr5Pn< z$i2d{{XRX-JdH-5ru|%CUATZYm!^<*|aDWpLKY1Ee2O6(*>Uo@4;B2$%ARGP@080?7=4;t3KVeUi z7&S9R7xec7=mPZRS&ZWkzIym*3>`IKn(+B=wlz}Zbue44Uk+?|tODBYHe|ncm4na$ zBm3hY0f3;hQBg;oJvFyUw&rgjT~eyIRXql0%EAc?kZJP=o_0JdqiF_ZO8EFf7h<2Ejp!zjAu zR{-)lDK$c~aj6{6Cv4W{VRAHr}p zyDSyJIPy1(MM|LCB?wdt;2g6o9YmHz$ng1o-pJP(5PCBApAtfn{XQ9Iu#1R=*B^a3 zm@f7zh`d;>hb)?2Z-N1vEh|7z0CWGjGoNhOdan&X@B)3_0L-N)@#NVp+q>NlZm@Uf zKO-^smvk^$q^E52_B9?Hd`-5RK?qzeQfI&>TYBs7Er=gqZt>IW!O=5H2J>l3&-Ztj zX8!9OJ3*YmBuVK=lSPyFYJ3t-Q*x>VtSwzH9in*re?lPhvJ{&w-{d%enbaXfJ_rQ( zsZEOaQwkW^FkU-#y(iLZG~s3}0Q%WWIq>M<8(zDasdnORmPvN_cQ_IrD`mQoh*$GW zg(NXg2T3@U1NrG}rESVv-COxEoM~ElGrh})Jn-y>bbOePuEG#s&GG@pEJ-$z2r1EE z37;h*m3^=Pg8ZOJbAM1I{x#4DxPjCGxq;LWg@GvZ@4A8PLKsL#2{aNk5O5`mQUv;g zc=^~Bf4BqU)fm9(R{UXi3G@feqcVRe0A9k8`a==i9~`Ma>`JV|S8{(4p}Xfwf8c4) zuJZ>?$8?=PhE^&l0DZX~oCz;5^8L-AP6g26`xhL@)g+}}88ALPc<(#S xuyTDEyWdv)!pm;3PCwTNBUAZ<`(M?EzW_02L_5h4UTpvX002ovPDHLkV1k^7AMF4D literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bayleef/back_gba.png b/graphics/pokemon/bayleef/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..63ba17c5ef995ecaa42c189760e30577e9244ad0 GIT binary patch literal 737 zcmV<70v`Q|P)Kl)-A-KoEv~=|O@X`T(UMKS8ug4~AZnZJ~x390N?)1_&r}Hi4i^M1dpK0)PQvMnLTVFcy51sJI@0 zVt`VJ111!mbVWM9{nHQ8s8Vr&(zWVk04VBCm*d4??E$f_I6mp=P>j*fA=We9>d8=K z)^AljYh3+lLVy_iRmNZe44x%PB7_)ux&zE&nmFLyJ~T-YQ{1p`l)fh0KbiE!)W*W-7ep!K5FMfN(BB|sktBvI$E173vy+VA@g5Hbq@ zbewLsfXF@sfqdD@r{bbt1#}iGrK&E#h3r)k>DwK!^*Bf&Ql*PAyHPujgA^kAA6*J7 zr8_|OQ=oxVdf|%D9dJ}6tQ6uPrZb7UY7Gu|A}&p?k%1i1Gho2Y3swa^^#kc%7pXqF zHgvRSG=|TOC;urhNj}5B|Ai>P+$8Y5COo_WB@EPc}Zodd=JpY z5d+eprw`1}vyWI@o4i`@fVy-9 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IDM>^@R5*>*k}-0`APhx0fprcaAt_RkB57!r+ULTBsZkNGw38hd zreJm^c3~O?vR)%^kvgHW-bnfkenR}|14MMF7p*lXrPilwZRlo6S}F#t60@uw)FFXn zJC@{no&r97J=^lJ4FTfv1JVJ|72JJoLPRSmnL7aV=*d}Ia}&CRrUpSmuh7(+E$`${ z$<&b;#t?%UcF^D$&>g@>aMQrR3!dQp!lKd z8y8{J!iCZE>lGB6=&V%0CWF3b*YeiVHYCxtBc1s@-i^cgmH?!Gv^)jL&*Q10dzUZFwo}UX=p2mQ#L3@cKznk@>2Zf$2UC( V%pf){k~jbW002ovPDHLkV1iT%z5)OM literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bayleef/normal_gba.pal b/graphics/pokemon/bayleef/normal_gba.pal new file mode 100644 index 0000000000..9fce320093 --- /dev/null +++ b/graphics/pokemon/bayleef/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 255 172 +246 238 106 +222 189 41 +164 131 24 +106 82 0 +106 197 49 +74 164 16 +49 123 8 +16 82 16 +197 197 197 +98 98 98 +16 16 16 +213 139 82 +172 49 0 diff --git a/graphics/pokemon/bayleef/shiny_gba.pal b/graphics/pokemon/bayleef/shiny_gba.pal new file mode 100644 index 0000000000..573c02e75c --- /dev/null +++ b/graphics/pokemon/bayleef/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 238 197 +255 213 180 +230 156 123 +189 98 65 +123 74 57 +230 189 49 +189 148 24 +123 98 8 +82 65 16 +197 197 197 +98 98 98 +16 16 16 +222 156 115 +172 57 57 diff --git a/graphics/pokemon/beautifly/anim_front_gba.png b/graphics/pokemon/beautifly/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7c1cffea856521c3b19608b54687c2c23519126b GIT binary patch literal 1081 zcmV-91jhS`P)nmVZ9}p00001 zbW%=J06^y0W&i*Kw@E}nR9J=WmN9GFKorOCGG&YIuuUCsY&~K@C~0W>1=?af*Cx_h zEUKel!<#b&byJ51cdNQ(Yw{_Y-GP=YrC{tpyA}1_NwzHOBtr|G{OC~fe*VAr?oM}q zLbj0)wjocS7#jdE%0;-jK?Hxzp#<1zAy8I=5@NQ>S}+JL&0~e4`pk$cm_@b4KvgI# zPy-<)cv7H)kri;kLW$jBk`@@9XR81JAaJIDj_~>bwivAR%i;LOGIoQZ%41rFvqB&M zmT?x0a2+r|ncQRvYI$J6n;;ksNezF090N!!fVS`~w;qHaN6Z7qg#-X+A;B%-4nALB zg+UD*Az%VY^p;aNV*gqKzJ(LQGTI9X1`2>9AM>6ZQrH;@JV{rdu0H&@3~HEf3l;Wi z4a@u-2~ z;Ndv*r_<*Z&;Tt2-Uhw|rgtow=PI;tOh530^V{ikeLyv&TFJUUI-lGY06?HQ52D}l z#A^ZkAPA2PI+5qK5WvN2V4iUep!zW7uAa;Z60EsC1$IHDHpl-G#^7mosSWi{O7E!z z#|oDI#2i!VFAi+x=M^balyOz>g!*58|0AQ)BL!xs}NpaXWL ze{j2}Nur|t4B{WWa1y7D*?@rH1Q7=N4B5?694d1 z6tqAS|4>uUs`f0z{-GxGx>X>Fe?ZTr7r?`y{DafC^#UaE51u9ZT7bs>!RkButzP&C z4{aT^v;xvU9EBVYo3_W;KOBYCf+3dv!3MMsnw?tu2i$Bo%I8!6;D~uecb>6tX%9l5 zv4cB(3yFU~gYiwRQ}!9m`Um+!@4@3NkopJZ4|X^-v%tbX97_PN36}Lyseib~FHK{m?-R#6as9lV-rzQ0d1(EX)xhA&$;eW&*9j11n6^=Xb00000NkvXXu0mjfCPD5@ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beautifly/back_gba.png b/graphics/pokemon/beautifly/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1eca6edc97dc370f39ebafc69ab498d3b3be8d48 GIT binary patch literal 771 zcmV+e1N{7nP)nmVZ9}p00001 zbW%=J06^y0W&i*Jfk{L`R7i=1mA`J=Fc8K`!w(=5Mi6C4qC=&jfa_PNfuOsE%6kGx z@6k;e?WxRSbk*Z{7lNR33^iLO_wFcJ|7}i+@2Btk?np60^p@)X)LJrgE&$+N0^ov& zhH(!`0jFvl&>6Qd-iHR3m!lF=+ZJYLLMSROM*%9%hCGz2gHaP*4;&7hnwzS=2c`$` zDnibL{5}BG#L}5MLqJU^F#vd~PAZ*FO59>~mEfw9s?M|}mY>KZc(jE3tL>p|nF-GC zrY(tw1WqehS|DvmOzZkQhX5ftxMsk-i6-Hf5`Gl<*W_T#U#CTYm4FC6Eb!Lc5Lq<~5QQstXahpoam68;cow*A z0g`9Ejw6%+cNE~|hZfirO@NLahWJTD3G74%povFOgp79n=JV$uSb;PnM1@HtbH&UMDXgAK7oAS?QSAKQ9l1_0i#5>PGxcG(W0PQXejRJbb! z0J2c(_K>?<@SqD2f#3MyaCm26a^D6deg6PhKjg2*z*pS?1lNHD2)OA1l7Vk1kbfGp zz4_<@q6FUa{GV$!Sr4EPm=gtFg*<-l`XRA%O;-Q{VzMYYZE~IWBhT>xYap7VR$OOb zUIL;7=th$Y7F4$i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IKS@MER5*>*k}-0FFc3v`0%Xsmrr-dkz(xAVtz2zO4nvhDnaL?K zE_?}JL||xKe31!mQ9xQ8Lz&Lo>Fe+A%>F0Dqg7P3bD?w#!Nzlo{ElZ9>DEpN=iKz} zl#7KUdSzFq_Ul*@PzOP(K`>WbjtIh!%C^1D8-29FP`o^!_8ll^gDkS5NOetm5>DC2 zXNo3=<*hDzOB@I}FO_AIq`J|&JsaA{_D@^XId@1S#CfX#OdU}#kZFt~VZ0zkRh>6q z?`^d4f{`LZwK<>#!q%}DrnkP~?k0;HK1xMmfkSB)IFxoZx7b!Ja4_!vf5c%nVZb4t z8Pr1XI1F8%B$5KS_jRV00000NkvXXu0mjfz(U6? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beautifly/normal_gba.pal b/graphics/pokemon/beautifly/normal_gba.pal new file mode 100644 index 0000000000..65a02145f4 --- /dev/null +++ b/graphics/pokemon/beautifly/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 246 +90 90 82 +139 139 123 +255 255 255 +172 172 106 +230 222 115 +255 255 49 +255 255 197 +156 156 115 +197 197 115 +238 238 180 +255 255 238 +0 0 0 +255 148 41 +156 131 255 +24 24 0 diff --git a/graphics/pokemon/beautifly/shiny_gba.pal b/graphics/pokemon/beautifly/shiny_gba.pal new file mode 100644 index 0000000000..9f04181876 --- /dev/null +++ b/graphics/pokemon/beautifly/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 246 +90 24 65 +156 65 131 +255 255 255 +172 148 106 +246 238 148 +255 255 213 +255 255 197 +197 156 115 +230 197 115 +255 238 180 +255 255 238 +0 0 0 +255 148 41 +156 131 255 +24 24 0 diff --git a/graphics/pokemon/beedrill/anim_front_gba.png b/graphics/pokemon/beedrill/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..169d1481237cd5c229befc360b971fe14df32cf5 GIT binary patch literal 1431 zcmV;I1!($-P)Eh1px?oEY zz-l&SkK^l4sV%6O0MxGA-HlMt2{*MV{!IZYYBkrFW7U`3ZcVPUUIgH{tGUb4g{mTu z)ii1|Dk76)7m1DYpU-gU5)^t;t1&4t0R~!E>s>Bg;e>}kwyrTjryiw=M$Hxca)T%y zQBOXrH$+2YbPAC7TGwUP)sIyZU7S3r3r!P^=?*CIe(Sp4^4E2@Ovs2gmf^bI-H10v zIjgt0xl;IWkB~kW08rmMi34QU>HoHp&+B?Q%Ud1jzzAF~ww|S$^ScDr{;cv2TyX%O zx8r~1*?P`2UtwXUx{dvRop&iLj5wwm{10CC|j3H-y>&0|Af+NSQq~;W#c%W^~0YLVtH3kM_fGo%s09=Fs8B74&0oA}WLjVW_D+&uwJln*BLBpzN ze$3;M7s2zxe;sUx2Su3_kbs`g7j&cK`Oy)Mf$&^ZZ(aWmds;Cf0Dnia`ZPRx1il7Y zQy}sfwhX*Vunr$14-+742#^eX#7>z&W`IyYmB4-MWN8M-jvFSMQ;}yOTkXaGg+&7R zN*G45QVO<<0il2&%vG^ZUSK!|gxv^%On$XA(HmEIFwxAzJ7q#<_K0DGe0#^61B`uV zz9i{DWNYE>4Z)O}v%_uO)_<6p>kK!P7rF`4`vBg^9KdR8!vjmI*v zY$X6z7mLwQP_~o+sCeAm8E?i?07csv?n=PPF5=ZM5+0Pg>-QJsXTo{XY}zRv99Z6z zfC|H0Q?R50V1_{xE;;b~Il&TraIc$7m%|@f1$SM)_r2W^8%ZGB=Vm_t;hw%)U3n46|;)m>@D9!t<_9uSwM#ed_NWF3SZKkT z2cU#)pXV?zx#@tE=m`u=ZESTapyv3t+~I90^)aziSG58Z4#kAw|zE=V6J=0nj+c!(P5T4?th4<+krm^-_HH lGB8&lm_EsrQy2dK^)E(blz{8yeqR6p002ovPDHLkV1g0WpQZo+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beedrill/back_gba.png b/graphics/pokemon/beedrill/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..166c399e5fa3959db731c8b1695fb8d14f0c84b1 GIT binary patch literal 734 zcmV<40wMj0P)KlreAGKorMsC{h?|>BLY=l^Ea?kaLGfQHS~%B2|bA zSR-XI^b7Rip-5gZQ&d`1nz3uMq;roWJU}P&e)oU> zv)?mgkMaM3SNXCn@1QbEvW>t3$P#52NHNWYvUE!YmgYi^T_P(1#q1K9DggSXHVFb8 zWh#-+hXDOcZ8a$4Tn`2s(0;5@=}S52nv>Y`J<$-N-OcM*!WWH3lL)&!V^74c0ldpC zKu-fgi2d^)cEA_f0s-I7>=s24`(ID(7Fs3n{kgqDt(F7c&r_?3H?2a#yRZYjQbE2x zR}U&|14;!?`WIH9QYc92U)lk43{Mj9(w1keuXpS4JNI&?2P?jp1EPCxyz&kj$oAoi zfEViTrlU(^>rl!z5o96TY&y)$*i~LNJ=u{y31EtMPlBm~G}=9C7b#aA%F~uRfF5f^ zyxt{%BoyUQVYUe{T%UYwwDuOVgE}@ETMrYfE+K5zmf^wx#h*o5UspdrgHVVs5H8TD zJEe)IS&|Yk4~7tb+8YCeC&kUfyvlKsB&n)SgW(t!2N1(JycISgk?}MqAcmCz;Dfoj zY3_wZbz0Ya8jL^#WBR<+0?94Fk4b<>L0kY3A1MtanBdKo24=A41WX~6a!EC&L7ggS zYX}C2Va{Fd2E$3e0Jt&$-Wb4*Lv8?=ATDA2Zp3+=A?1Gq0Xy6!0Uq(`5a|6vKyVas zuAj$j2JoJMnW>-wYJ~$HMO*{yS1_8zIS^_A*M*5RfUEI3+X(^#JjTDpAEY~7kk#kq QfB*mh07*qoM6N<$f>9PhTmS$7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beedrill/icon_gba.png b/graphics/pokemon/beedrill/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d5e6471ab71e69337cb63567b7fffd30d8a0d0c9 GIT binary patch literal 437 zcmV;m0ZRUfP)DV$@k}+L5?eSfJi!=PxIvVWoB#c1(7(GUq4h!Xx>9$Rg;=(`x*nxDy4=R+BlQ1N?nFeNli%TRgEv# z^P_3D*#|(X@p4_Lm4i3*>HaZZ7P`^a`wpDhawggo_H(gt|DCj(;})bXyC7W`_r-YC z&4r=6x6(i?_5Uj>gnNH5Pvr?p59yR6Xg30PP94AqTgN63jI3PLPHZ%L(Gp fVsUvKOI_42DF)Hi{b3Ze00000NkvXXu0mjfQ}@50 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beedrill/normal_gba.pal b/graphics/pokemon/beedrill/normal_gba.pal new file mode 100644 index 0000000000..24c875141b --- /dev/null +++ b/graphics/pokemon/beedrill/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 246 164 +255 205 74 +238 164 49 +139 82 0 +238 230 255 +222 205 246 +189 172 197 +164 148 172 +255 148 106 +213 24 49 +156 0 8 +98 98 98 +24 24 24 +255 0 255 diff --git a/graphics/pokemon/beedrill/shiny_gba.pal b/graphics/pokemon/beedrill/shiny_gba.pal new file mode 100644 index 0000000000..f35f264deb --- /dev/null +++ b/graphics/pokemon/beedrill/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 246 106 +189 205 65 +148 164 24 +74 90 0 +238 230 255 +222 205 246 +189 172 197 +164 148 172 +90 139 222 +49 98 180 +0 0 115 +98 98 98 +24 24 24 +255 0 255 diff --git a/graphics/pokemon/beldum/anim_front_gba.png b/graphics/pokemon/beldum/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..85d936d3e7e8c8b82c0352c09d7dd81640d62080 GIT binary patch literal 723 zcmV;^0xbQBP) z&CRT=tdxtCb82(m-rj>sO8;tV)k;!>&Hw-Z|5~K~N`uuoVze^RRe)=00001 zbW%=J06^y0W&i*JQAtEWR9J=W*RhV%KoADtmAH zXyaUc%B)3u%Fa3kUA$`$2&ITU%*Ka=bUS+`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$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hq)9|UR5*?8k}(RyFc1XQrip%%XZbBF2vMtR;_p~+k8tTq1Oh?^ z!9_)soc)1d$aOpHz!qoB!OqGq*ZA0Gj$VV719YWEB6vkCi3Dg#coHbdUYSu;#WGJ= z6)3F$zkHqI1?=w_J1NhhvLE5PwB}rSq~f|{^B`{3pbeu20_L}qh|;Oe{{WMcS)|~0 sQS%o7X;$Feve{hP<)hyJ9e(=`FKqzI|I?9;rT_o{07*qoM6N<$f?NQCcmMzZ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/beldum/normal_gba.pal b/graphics/pokemon/beldum/normal_gba.pal new file mode 100644 index 0000000000..41b48bc089 --- /dev/null +++ b/graphics/pokemon/beldum/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +205 205 205 +172 172 172 +148 139 148 +115 106 115 +222 222 222 +131 74 74 +255 106 106 +213 74 82 +131 205 255 +255 255 255 +90 164 255 +74 131 213 +57 98 180 +49 57 115 +16 16 16 diff --git a/graphics/pokemon/beldum/shiny_gba.pal b/graphics/pokemon/beldum/shiny_gba.pal new file mode 100644 index 0000000000..8fc3bc4be8 --- /dev/null +++ b/graphics/pokemon/beldum/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +238 172 82 +205 139 49 +172 106 16 +139 74 0 +255 205 115 +156 65 65 +255 106 106 +255 74 82 +238 238 246 +255 255 255 +213 213 222 +164 164 172 +115 106 115 +82 74 82 +16 16 16 diff --git a/graphics/pokemon/bellossom/anim_front_gba.png b/graphics/pokemon/bellossom/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1549e692b01b0f60804fe7c4c5c979166320d716 GIT binary patch literal 837 zcmV-L1G@Z)P)5cX;S)gSiO67%9ys})XH{7!aq7>RY0s@3S<-NPHM5FHEzb17ru(iR*+Iy?lh<0HdldA;CA=1%enLB&(i=6X9<7{SMt2q)9h$C1w4S`0}v_Q z4PCbk0XQuB=R;i|KF28Jk>jc**8^v2Sny%TEu(Yo2B=c;a^b27{WguMGK_p$^Lu!p z>ig?j*Sh}3lBgIw6a*&_X`MenqBcd1KU_j4Cjd;a>~^KH?!Z%!>`uhu{yV!KgFonj zt<0C7Se$lpY=Rt%Su2))p6Mkf5u^B)CIb9HuOQ8MoVDnk0DnLnWnyhpx_uA+fB>Ye zC{;H2111>8`|M`-!+}Hv!f5T@?3h-Dvax&!G&on3zL*pG~306LV(Sqhj0%UK4J&3A*}p?>w+8l&M^$&K@f1Q zJ~SY5EBP2yz=>|hnTjC%7t0FJ`-KsO;ZL_7;Eq$Q1VrmFkD{>bu7FcSauhcJ81z-H zzYov{^|M+kQ%M|@aOM> P00000NkvXXu0mjf`3Qs> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bellossom/back_gba.png b/graphics/pokemon/bellossom/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2bd8b176ef502da5181a901329355b270a1a3d50 GIT binary patch literal 633 zcmV-<0*3vGP)5cX;S)gSKlCf^vFc5|{6zCGc?;yW{sRt-(PF*<3LzYao$4>5= zmCn-D&eADB%0&-wDv-gOPEd9$@GA(gYP5|2_9#nsL@8^#JwSrE5t;y`ENB->CjcU*W5z^@33PyM1sI<(zl@>N35_5^+_OqPnjfiSMbH+j zRU&o(m$vpJ&#M4ofZPHy3h+E{*Z|rdWP}?EI41Zd?mB~vaBl*JO&{0~)Cqzbedqw= zbAmv7)&!)CY8cfCh!)@iZrISs0GxohJ!+SlV58A7paRgkRT=KsNnB)TUn=*h`6s9Z zUZ%QxEwh(^eSp!RIGw=Do?A=AxC!7o?*(|{i$2?NM8S{#D}Z1Hucdozu9<%VdWd&) zQ+&bCMDd{we6#?n#RACZ`V3IV?TEecYd{oLL>m|sTraMQrU0{Avl{3iP$uG&3V&Yd z?kwIfg3FcEg}#^a<}T2kVSkxik|n?XqD9^;g3orqbZUHA`BL6ZCV3}dDdlqcn^yV? zr&9|!%)hTl->P+W8%}1|?GtA6KkN1SHdJdPr4AM_m|ZKQP^rpShj|-#(?8H(y(?ok TR5n)^00000NkvXXu0mjfzuyvD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bellossom/icon_gba.png b/graphics/pokemon/bellossom/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..443d7a98ccff5671a910e57d8b1d3513bd1e992f GIT binary patch literal 363 zcmV-x0hIoUP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H=}AOER5*?0lCchgFc60O1m$gf0>W4qS?QqZ+R@1e!J*7F5nsl& zkwHu#v0(sBOz^}3dayVfZ|Z%y_P?YbA-`1~%mA2r!o0l!*wzRf`o2RWkM6uQsi_fY zBxnRYScu22LyuhVYiV%IO~?)4ltzjZ>dEsS2##)eM+q(8qmZm=IoHVus$$jh*91gG z$h67_U<;OoELChAxm4MT#cqPwDz&VP9UxTEoLaOQ$;ltp&jnf{QCag=HKD}lh{q8AQNXC64(F5aEJU&spm za4?NMu=9Q3^6cz`TtOIqnFkRR+Jm~Ro-Y=d4hKsfM2^0M%a7H?i_D89kD@gJTvS&G z428uI&}RVm{Q61=`L>_tyqgm5>iPV-{k6N=WZ?VSKE>`Xx2Sx^{0F^C8&0~40>&aE zP-Mq3ix~F|`828B7z=Pi2}fk$#uLT@x`bVUQ^Rud)lkB&Y6UPh$45>8ncQpz7Gs=8 z#2n3W$K%xHGIXGMNjL}iLacOP`+sRpq_x@y>@tU42}$e&DU@Y1Q?^Ba&DYTUT;?T+ zk|415-ls9%1P*bCe7;c+NmDuLrh`uE z4@I&e^2$j!%4#4IVwToPjagk?D2Kks(jRKorNDDGW3jGm-wv6N6b)qA@5)@`nG->|7`@i3{jxX-?)g`A0p?zGMgnaM_e^pQz|!>A?9R(k@yHhP3O)w z?x15UQ4&^|cBG6HLWK*E1L9LE(*t(n-A}+$y&97NIzwT{9MXMs5D!wB+}y%U044u@Gk>2iwHpRI T@cWxc00000NkvXXu0mjf#&O*G literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bellsprout/icon_gba.png b/graphics/pokemon/bellsprout/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f67c94eecc907f3df1c74f724b21ef1b88506520 GIT binary patch literal 252 zcmV zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HdPzh_Ldu5UngIzHq80000r4IsvU}=HLj?=;X3fxylFc?DhgPMyjGlmC`zwuN_yO{^NXltqCw($YBI}j^i-qPBNg?LLeb$*FcqijQ2Cfo=$?VTh~CMatl{aj51(Zdpn&6 z0x-uWRtK(*%fNOD+}j#r6$Yzx4NkHUOtS#mpLKR)!a1**<{CW7LI{XVt9oPG+G}?n z{BF3^b-chd0p4anWhD}4T*zNtSij%t?82~*W$_0ljP2<|NEr#oXV3TA?auBNkUq8^ zPu5^_^C$yOgC*fUW&iq(W$gmoTVif620tF#M^iwMj|J0SZ0mb|| zjiF;54;3)B?Z@v29#{u3;bQqK`*FG4Mh;lJjf5=UwolIA3v>|pHI0|)$qX?6@)|fu zB1Ky^LyqMKo=YFWx8&Kj_YDE1_G6e6E5*FL8Sq!HHp`>4GaTmY@2cRn7A$` zacKi=8uTb)z~;9ieEDMhzc#A@o>Dylo@|zYO8f@H#8c`I8PIq&J}Lp+^VK2trY%Ekj9#^IvT1K> zQO-M_Py@@7C^Z-pv~g_Pn_86ft_Z)~mj?-R+zTDd6^3 zIJ5Pjg5}v4W^p1l7 zMhIXKkH6IN6bY=gniBZ21_+=NeFr1K6?Bdt|H8U&s#jq~9^eQQRe%GD!}I>%q+F%9 zPu6t+ry7l?(;cv}1f^vOW6ZySZ1Nt!zUoe?bFr;G1kVoq4^no#64}9|CI)<(iImsZx7q(XbJ{Q|*9uoDGs1`6?{d|CjstpAGhPVqV52-#t zty|3ZNm|DkG9Rj}s7LhidIQg(bl~4r-H&q_<%BF%QT^J81Gj{r0QlIhW8GiBTA8K)IU$#KokIQORy5;e1M=For$P-5Y$7$;%~vwp?rx9 zmx(2V&r3RV$u0Q+i7IvOg=}3a6T;A?j_sJJN-W~*d*^cqP0P@kH-MD)%lpR(!+4GV zj6FZRdnxaKABdY5gx`k{BK$`-oPI?x01^Jh>_MjA&r3jT_gRC10&)wK@MHb`{vg;c zp#a8B__IH_5u>dVK_U8|`yvXqK~dr>bctjzjElt1$=&lFLW)ERzW_VOR#p~0?g(`x`Wgc4H(mk{rDzD^O? z6hdO1nkoSCQGq38E~V#hsEX?|7Yey1fCQ#xk`*o>DXfVboZPFreBk9k~ z16^PXur?tiGEb{nv7`b;2ijsXA+?z)lLHNQ84j^ngAS8qW|~=4+XPK_-C^14$SMGf z6t4l-XtH$yx7A6iX0>7^1;8nuXVh75Ap5ys3oWc^5T67QR+HLj_xXhEh3wg#K zP6*sP$>5ET5YUDy&_aND=n(;U6eD=Rkzv%;UkZ-oIT|o2=N$kd6Jm^D0iEGU+_})8 zEgKzD6Ifyl9q2-J29T-}T(wc)b~rZnDP1xR=A3(;$B{`w0x_IU5wvpPaR;XCb~%Pz z!m|;>6@WTCfi<|`SOD_#t_0w(ZpX#~-jD{iOnLtOxy^gTngWQ81=|4gJa5B~-l4Tp mV7UpPht6}yLQwpRc#Yq%j;K*f*Werg0000DV$@lCe(1Fc60Q1og&_hpv%Y%19PhV#3Saz=Xu$H7~&s zCQp^%?J5CMr>G=$RHmcEq~~~r1#a`F`%h>46XI``+-HD_40MY2f|3S#X)98k3uLYB zl3W0)`XvL2sC~cSh(`q7-xt*>f#8igKdU%lF7!LKmS_Y752VdJm$`ry32yw5&rErsQB0CIy2q>UV@Wfl-(^B@reXGzfDj@J`W~ISNyU rwV4RxRuCqB)S=A$aDJV1{LGI}$9Jc09+F|h00000NkvXXu0mjfOZBs8 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/blastoise/normal_gba.pal b/graphics/pokemon/blastoise/normal_gba.pal new file mode 100644 index 0000000000..632bbc021a --- /dev/null +++ b/graphics/pokemon/blastoise/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +213 205 205 +148 164 164 +106 74 57 +172 98 32 +238 172 90 +255 213 106 +230 172 90 +189 139 57 +156 106 74 +131 213 255 +106 172 230 +65 131 197 +74 74 131 +16 16 16 diff --git a/graphics/pokemon/blastoise/shiny_gba.pal b/graphics/pokemon/blastoise/shiny_gba.pal new file mode 100644 index 0000000000..d0547a7065 --- /dev/null +++ b/graphics/pokemon/blastoise/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +213 205 205 +148 164 164 +32 65 32 +172 98 32 +238 172 90 +255 213 106 +115 139 41 +82 106 8 +41 65 8 +230 230 246 +197 197 246 +139 139 189 +57 57 106 +16 16 16 diff --git a/graphics/pokemon/blaziken/anim_front_gba.png b/graphics/pokemon/blaziken/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8639d034cd1444355abb3a880f11f1f68f8d2662 GIT binary patch literal 1484 zcmV;-1vC1IP)PFwdtkwkat?m_cQOknHBrK9QQASKSlSQ&z-1$qHZZY5A6(W_1z;e((oeU z92aSC#0mMugDB*Do9#OQYG4Wj&spLyWxZMXYh&V0WAoUq9;@emnC2o*L#Q?~z^PsUz zv7(WpTsDc?aUhU9%4piUB*W|EM1v2fz_$09jl!{0^`IHgt6XBxE&MV4P6jxJ$@=o z`(_2!YQRj!6@|0`z_02q7cdunOr%zVj36;0$qiNGHN5{rqy(Xakd?wESckHlU@2Sy zKieuR3CXPC3@9L=WFVRH0N4>l)Z=<7k0w|LNFJ7QrZARK&U$jG!80AP%zoA-a@0s& zVXukv2GW-SFcZUdKSPch#g}^{z~hqvN$es=jbf*ZmMj1*xd2T7bQAESrOuuMc+lzW z=?5mT2f)(tCIIMKz}S=Po$iT1mjMTMeQY0q?!NilfzbEtO*Hq};(l+Kt)uHUU~I?C zaPS`J+JUD2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VB_^qf?=@e zgZG1wsRZm!%dP^*wMQOU3^o9KbD(Ibssi9w&+`bxj;E`Z0GgF5!w~eo00t?-7qDN; zV1?ntQ@R|>h27GCk*CQSfbgYl+eHc-!nDY7ILrwlfQM7ou=c~SkR^cd#??OHHPJ)f zva2J#$10I#Yn3kXrb6sr#Fn3?<3jiMukx`U1XmMP=Wy@u$Ra`TQ*=6!4*ppUH~=8H zO4C>AF${v5g~$MLhOl&~0~VM{0IhR}YK{XaO8~G9=MGhiu`eC!z&{PYl}~#qPQ(BJ N002ovPDHLkV1moQg46&2 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/blaziken/icon_gba.png b/graphics/pokemon/blaziken/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6197cce23c44821a17f56e1115ae48e93f04917a GIT binary patch literal 448 zcmV;x0YCnUP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IK1oDDR5*>@ld(?2Fc3h^55yxMkPkrgn4N)2Y;>yF7&9h9qTEo) z`Kzq_iq$Cc=2lH^R8?Q-#N;^PTVRnXzj=oDt2yg#c#c(ts#w2JW{x9L5x7 zqe}u22>;aEJO@YukXW8AfV~GTVwRp8OAZ70sME}X*j=JG+C{ZyJ+N(E4 zqnz{~EuZzv>vTj$MeDVi5*xIf17-~S59iOqe2*!dF#Td3@WO}y24RMfAWRZ~7iKW% z#tUPO@j1LO-XO+XFU-*y#7?+(!W7ORR#mDOrY-!cD&vG{SH4K(g*m}p=%((3X(-5U qS8s(Wn$+}u00001 zbW%=J06^y0W&i*Lj!8s8R9J=WmcMV?Mij>h$U~w!-_pZrptzy)C`J|TvV!wN|f1A~Coka7wJb_{CrNZxj zX9mu%6ImxD8Z#+8%14y0^$L3EzH%kQ^5nRU@k%lHXzlpb@w!Mh7`<;@_Nrd!!#C~- zA>5HG>`qvK$_dWB5!z4WW7$Fz=9h*8#`_IqDn+6LHY`)ry%A|3Y)ct%106j*Dh%CU z{%kj}WlK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;0jq3$*?|=haM?bZ|NMr00l%lk+&~`gEdT%j07*qoM6N<$ Ef--ORS^xk5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/blissey/icon_gba.png b/graphics/pokemon/blissey/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..44af9704cbfbfa831e3e732b552f0d7c107a02e0 GIT binary patch literal 406 zcmV;H0crk;P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I6iGxuR5*>*lA&_LFbsx$djRJh93BvnBKMs}Jk)}K2*s~Am`jL} z)=NQ*>d9N|Htr3LY-0NEmvm=;Lj3KLAD2CFC%X@z4MEU7C9TK)hB@_e@yKN{MV4d7 zy+^-+3cSUG#ePlTz!Tn@b4WY9!*|56<|`qtL{lGg0*P-dFp9Ke0EfP7bpkMh=Bq>- zn7}cxK`q!+b4hU&Tsp;NxVkDx6{_7FV zxCgQb{NMV$F!3{Y!c>JY;#vqJ{7?w94uvq4XAoXh2J0K~iB69x5QSk-pAv||^g&Sq z-@=$u7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/blissey/normal_gba.pal b/graphics/pokemon/blissey/normal_gba.pal new file mode 100644 index 0000000000..edeacbdaa2 --- /dev/null +++ b/graphics/pokemon/blissey/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 222 222 +180 180 180 +106 106 106 +0 255 0 +255 213 222 +255 172 197 +238 123 156 +213 74 98 +189 32 49 +0 255 0 +0 255 0 +213 74 98 +172 16 32 +16 16 16 diff --git a/graphics/pokemon/blissey/shiny_gba.pal b/graphics/pokemon/blissey/shiny_gba.pal new file mode 100644 index 0000000000..d6d75db9e2 --- /dev/null +++ b/graphics/pokemon/blissey/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 238 255 +180 197 222 +90 106 131 +0 255 0 +255 238 246 +255 213 230 +246 172 197 +222 115 139 +180 74 82 +0 255 0 +238 123 156 +222 90 98 +172 49 65 +16 16 16 diff --git a/graphics/pokemon/breloom/anim_front_gba.png b/graphics/pokemon/breloom/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e4d7aab2f39b10027ede2465121f9b78fc965f14 GIT binary patch literal 1188 zcmV;V1Y7%wP)A00001 zbW%=J06^y0W&i*LB1uF+R9J=WmceQxHyD6*njAv)2tBya2Z+p)L%VyhFouGkplr?B z*gowV3K^QAJ~Ux0ddS`G1Gtf?*_-Hy&c)ZXTj-%Z#EoG?GB6wU)>9hymnN}iteJ$K zT1tKgJdQs7(r8BdKZO35u`MC)Yd;=BOkNiP-w#cEQ$%bF*9#!YXsQZ;J=Sr7;HPgE zxd8UNtnCK;yAyenZMbM8-^_fZs~w>H87$ z(tzaqLq0wpnG{U`F3({WvbP!|mHl zC%pvlyM!TcHOlv3Xx$Z;BAi}eoxY7sn-UJ8f~ z8yTP;!F{Is!2eP}lhOr_JdtWgEs_Sxb$#pU5zyNd05|#+ZAKb6AY^y32{hM0xAXzo zt=k!%+~)6=N+nW0e7OPO1aR61L<1E{Hwc)R9^(Zx?!XXbx=G-Q0h)vy!lSG}hSmnr zqE%!b2_a9)(g@@%k%pDCuF5yeuwjSpDG0}EM!7<3idU;yo&RQ6ydv#A(9mP ze5f}OpNP;tKp@2cj*bxzfDob8j&K(M$N-y=^X&VyA_h{Y2VmlD&LAN!VhO_oC1fsu za16U%z@L{hg@o|*789PxPhhrSh+&}$0Ti1ioniiSK44}S2mH&EXL$rpj*V?8uIIC7 zd4S8u3q99xIXj)@q`3S=5Pg7RwY>iLk;0g$>nd!ADf zuCAZIx$U<;aWa#f}y90f4|98I6=6CWvCL3G4o$iI#C7&!`JQh0ELUg}%z+6rO< z6k^O>C=5F}3IgH4sUn7BQ6>#0h zY0nRG6hv3OSoZbxtK~u2QV?9J>NCS!zxtEd3gX-qZ;0yKGOgnc1#wb-(4xAiszGL{ zn`y%^3WBl<(tJokn*Ufq8W!+?f;bN<2(9U)#R}q3qX+jW2)wC{`xOLgKM=T3L3C~R z+sG|ckVFqUJWLd%Zz~8+{9zIr1rfG_ptkXc(Znc-=-Ubcg!Ts*ghTZXv85nDbhJN6 zcy}fELtbU+Xn#lmySonO)*ob%KcGi{NaE2S3gd4O?*~CU6e7a_0000` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/breloom/back_gba.png b/graphics/pokemon/breloom/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..85df0804099d7ebbf6ba47266f68ff228e41e188 GIT binary patch literal 825 zcmV-91IGM`P)A00001 zbW%=J06^y0W&i*Jw@E}nR7i=O$zm3}QnDG_Uhbg}R%&I|Z-sT0T{LGF}8*%wHNGqd*E*0IngTOeS*{pX+AS-VpC zPnX6yKNGI8kW$Jwr{Zi*2mvBGL4*XCM=6WW#1ZhBN}@(eKwkkYGXOj=RSqd|5*W%1 z>o00RX1I%Q_bNck;&0+O{=*a|rG>Zg&E0`1%9IvXF?*Hl&jTNmeQ?_2>h{;CWPjSD z_dZFIgTkW(=sN(uDJ*FDIjoa|B12ZChizVeW!qzgk&OF{vA|LQG>yYCK%ec-F))Xf z39y~rR490!m&GGn1qcBV4|cYFaRj)OdTAUIC;^uG6A9XrV?bls5((_%GIIbEY!sJI z0%M4`p2YZl2R`>gpW9Cy4hDVwL;X2?(}5UoDwv^D5)NtLI`ukw(#5skqJ>g>;Fh?~ zi)Z;?Rl_VRXiGStnPV9F13>_V2W^hPU|>EBvKhNZpr}Hlg!<6r0i`pse`+95m;jG- zHU|*^`<3d;Yr`>T^?wj=A;Ka95?Ql#myI9=eI)(@ z{=PB{%g$CW72zDR`2HgeBX~Zdf{>Wlw%N$ixFHS0k?+qc_s|e4RcLo@%gWlJ!x=3Y z3peS0Q0U_JtBLHF{s3nPbEKoimIV?M*lqQ=?5_SA4hen%V754FG(f>D##*0FQ*;Nl zjnT!$4kU_hRwbZ=N`yX|I8_DEolf%aE&@iA!CbX}=0FJ^u`K}5UOweFC7>gZhWL?V z^a3{+^CbRU0CGTT#Agu?To~T(YZWl`aI!~u!=lUI5^!=rBM1cI3P+c#95C%h8ebB; zyl#5Oi#HpNi6~ zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hzez+vR5*>@(lH9dAQT4RcLKeXUG1W4uhD~a5<)yrLE;hW;NoI4 zB$R;7t3%Uhpld04+yBACC;R~aJQT6cqZE~lQcBj>AlR{hA?FHcjzhUakv(o1K13Bh zGf=z8WGRZ1l2mg^&!$3r6H}5j0qaA1$0KwjV(`W zEH`=u?{Q?omB6Kl#rFu02j)tM#B->IoKH1Cbg+xrS7F+p6eey8lWAL+@BMfI&B(f< Txc18O00000NkvXXu0mjfb03dV literal 0 HcmV?d00001 diff --git a/graphics/pokemon/breloom/normal_gba.pal b/graphics/pokemon/breloom/normal_gba.pal new file mode 100644 index 0000000000..f01f5d9479 --- /dev/null +++ b/graphics/pokemon/breloom/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +238 238 238 +255 255 255 +255 238 156 +246 213 123 +213 172 106 +82 24 16 +98 74 57 +57 82 24 +164 131 82 +172 213 98 +148 189 74 +115 148 49 +238 123 74 +172 49 16 +0 0 0 +222 74 41 diff --git a/graphics/pokemon/breloom/shiny_gba.pal b/graphics/pokemon/breloom/shiny_gba.pal new file mode 100644 index 0000000000..ad89e65f27 --- /dev/null +++ b/graphics/pokemon/breloom/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 148 139 +255 255 255 +255 238 180 +255 230 148 +230 189 106 +82 24 16 +98 74 57 +57 82 24 +189 148 82 +255 115 74 +222 98 49 +180 65 49 +255 222 139 +238 139 49 +0 0 0 +255 180 90 diff --git a/graphics/pokemon/bulbasaur/anim_front_gba.png b/graphics/pokemon/bulbasaur/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bb5fb3d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Y--D$R&_6y+`rPtn1RC=#5bzYcRHyZ?j8N6jtVPFIwS}55O;3mka4JL|^Re)=U zMluO%+JZfZp<^I^Pvz{d^3?}nZ;>Kk$Z O0000t7e literal 0 HcmV?d00001 diff --git a/graphics/pokemon/bulbasaur/normal_gba.pal b/graphics/pokemon/bulbasaur/normal_gba.pal new file mode 100644 index 0000000000..5147bd9747 --- /dev/null +++ b/graphics/pokemon/bulbasaur/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +131 238 197 +98 213 164 +57 148 123 +24 74 74 +255 106 98 +222 74 65 +189 41 32 +205 205 205 +16 16 16 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +255 0 255 diff --git a/graphics/pokemon/bulbasaur/shiny_gba.pal b/graphics/pokemon/bulbasaur/shiny_gba.pal new file mode 100644 index 0000000000..86a5358318 --- /dev/null +++ b/graphics/pokemon/bulbasaur/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 255 41 +164 230 0 +106 172 0 +24 90 0 +255 106 98 +222 74 65 +189 41 32 +205 205 205 +16 16 16 +57 197 90 +16 156 49 +0 115 8 +0 57 0 +255 0 255 diff --git a/graphics/pokemon/butterfree/anim_front_gba.png b/graphics/pokemon/butterfree/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1626e11c0b4f6190f67cd31db8273e271f9609f6 GIT binary patch literal 1151 zcmV-_1c3XAP)#agtB38otB00001 zbW%=J06^y0W&i*K{YgYYR9J=Wmc4G{Mi9pd0XhaqMFWl+Cg3eBvWWE(h78vdObdaP zLn7eTMSwsgtXm);&9aC9hYh#M1IU1ybarM*NhGBuuSpRg zo<<+@bl+)bE;5le~eA~1je-6cR2MfrLS0N*o| z^D7OK;&szZGVmZp{{m=Q3V{!(puR}ZOZ@Qn0)Ss6$|k z3|Nsju~!)!sy2v~tD$B!ELHX4OB#TB0U-optd?o04VQL@ixM0fIJ7}{jwM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4)K5=A?X}YZjS6?t{EA)SsT2(W zq*c+hZO&6-D7FA3Q#5S*XP!a<0qlDSXvOZ8(<}lYkAMmw?y$Ip;`X*}XTZO|zu$6q zBYxGki@@+x1qr}fZZu4AP%MKW;S{548ZAiX0|WxGA{{bK)467a!2f-2wlZ>#~i zjxA(udx!J>yDI=_u^aJY502{Q-QilS7i?y!(!P2Nby3hW6Tw)YY4yxWpl3lo7k{mT@V>#hzM_}3_&xc@jBU_ zT2}&ppfX9ye;EY11%Cj|7yGdVJ`p0*4%SWg?@`U5_sV!ItUi$IrrT59()9{2LykIg zNQ^0PBH!`fDK!|2y-Yi>;}&0mEoNUgs|kQ5{{jw)l^XxX0D1sm1644@4h_B~0ceXc z040xYF(9u5A})uXY>SQnEXM%4VL)7+Gw>abRR9)?F)@^949|TQ0nP20IzMcP#t>yJ z#?`5D0nie2AYIV_T4EJMeT=QAtso%&s?>b!oDrT$>U{QnKYf0GdOLDb-Jdmx4DeZl zd|C~nR)cAsq(P23Ij)jwq6Sf~TW%w-oD*fDL4dG&3%JPC78dJI3g0)XV-0fb@Y}(w zGQ(K#ytCeeCl2wY25IC&(;aREoZMjNUj`aP%hcxkqcNbnVi;nOEO`G6)IY2>M;nT< z;rArq5-xB#&ne5jeVOeQhVrd-7642(wrp;~liX1tK^V<6Z5VIdMBdw1+s}PuMcthJvFg8vOQ7(ma$HC(H1D z34>z{xV2d+LF7P2fxz8qKp;WnKwi;x-Cc?RCK3cGux@AiSVIy-?2nWMw-%Nlviykn z3`-EOzPUP0FfBn45$PJhvY_DE>BSP9aB zWx8yR06=0GBw#j{0n~@iWcPFhpcy$06()Lil}rG41%^9muWo|Ca9vkKASnVvTAF^4 c_Obfme`tSuw8gn8F#rGn07*qoM6N<$f|Z46&j0`b literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cacturne/back_gba.png b/graphics/pokemon/cacturne/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9a67227d0415a76534f4a28dc447bf06ac952cdd GIT binary patch literal 653 zcmV;80&@L{P)`Ib8}KsS`ZKrVMVfC00001 zbW%=J06^y0W&i*J3rR#lR7i>Kls#+QKoEwv3d%NSF4%-?!fha!bYWANYg|}GaN|m{ zabp~iqJI#TR>I1InyW(^9p^g^xlon=Wyl%AHOj0$d?NZP(uE8NR{K7hd1o0dWB;Qy zZiayIfNl%`s4kMYN9X(d2i~kN!`!m*p%38JL2m-amR|I?fZy-IuzZY%fL@ns2yh7K zGhtX7=rN(Ja{{_+gqC%V*jvrCSj9U%QI_jCRTD)-$<7ET$#tzK!1wb++j@q}!b8#J?Ja7;sr9mqS*CU# zlQhd*FRgb$PgVhGW}Y$jc=cziciWt{c+c7U&P11HCej)_^?uDda%oF2F9l)+1-j?S@O{mS(Yi#o-g z)~B61#e#sQ1KtMIeFXaDMz0KcB;`8MtNK(b8sca9^*5IvPNt}0_B_BWHl6^Cve1i? zgiag3%JqzW`)*?}zAwudHeQ2=AB9L3M~L$6Hkm*e08|rYTwDXZ355`^;Sj$F09qbS z;AM4Vu0w#4pakL_j1cq-g$9aWkV8=J5un#FDFK|n+NR9V-xPb49EceeG>qo}_cNyS nH=^8w7n3>-(T{<9_n(R1-(&XV;aik(00000NkvXXu0mjfd~qi= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cacturne/icon_gba.png b/graphics/pokemon/cacturne/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..948bea2d89ae98e4197323cbda1cb2fe9b132524 GIT binary patch literal 299 zcmV+`0o4A9P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HsYygZR5*>@k}DDeAq+q{0bDBBjR6Z+Uy-$;0!#%dTa_THI~&KF ze23@UpGS}l^z^b|77HYDGjEE_DkT6E=B7x$fi4QGg@~zLg*dL zF#$_9#}MY4Q4tzf8dCv(Q3^h2+VxBj!ica^Gc#bf#3o|!iJbZ-_ x1#V%gT8x)4t?DjIm?IVqCV}~XzYFujj}JL!l2Qol?Bf6c002ovPDHLkV1i?Qb<6+& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cacturne/normal_gba.pal b/graphics/pokemon/cacturne/normal_gba.pal new file mode 100644 index 0000000000..cd82816416 --- /dev/null +++ b/graphics/pokemon/cacturne/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 172 98 +180 213 115 +156 189 98 +131 164 82 +106 139 65 +98 197 106 +82 172 98 +65 164 90 +49 131 74 +98 115 74 +57 82 41 +205 238 115 +255 230 74 +139 115 115 +82 82 90 +16 16 16 diff --git a/graphics/pokemon/cacturne/shiny_gba.pal b/graphics/pokemon/cacturne/shiny_gba.pal new file mode 100644 index 0000000000..11914015b9 --- /dev/null +++ b/graphics/pokemon/cacturne/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 172 98 +238 189 90 +205 156 57 +172 123 24 +139 90 0 +205 106 57 +172 74 24 +139 41 0 +106 8 0 +106 57 0 +74 24 0 +255 222 123 +255 230 74 +139 115 115 +82 82 90 +16 16 16 diff --git a/graphics/pokemon/camerupt/anim_front_gba.png b/graphics/pokemon/camerupt/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b63d901ba51b0652df8ae09fbb0fa956d89ef0c5 GIT binary patch literal 1252 zcmVOVd$67{n9xHj z9k*X10YQ%WDh&koE2u6kq^FJy?e5JU(cK(v4fGRa-^^&Fk*v7KQs@I)w%&i{J&iQ_ z{VnT<3!8KP<&a>zUeZqo1)Gcs0Zzm_E2Jo3k1c!oF2h5YfR+Nc5w?*kAc+s7&5IR1kL4Ezw2VF00T2qr_TkAgUwMVQht zYzQW?3aG{HFk=fTHaG+CQ zDFG0bHwAB1ld?n<;+3`qpHix8VLF1wjzZlXG9ikuRILKc#2%?D_o_ zas6ftl;HU(#rS-Gde_Pm%asCqBLtb7R~ZkJ_!;XbZYKpSmuJODf9!}~)l)5JUY2c12|f)zpt1$1z_q<^SGj zM5du@JsblubJuISHPg@d0pc6*xA=OwI;cSU)4vYnHT@3==wX3|`!@x4w*x8ZF9gf9 z%U~$_GtNJ4I~_<#f4)io-KJd*q@sWNUK)&jfu{eO@lFR))1U1M-gY2;tPsa<1pUz$ z>{iRR1DOo%zfrJO^hblyb|4DPn*NNh+YY2eb4h_MquNYBVc0gH+WH#6YvQ2hq$h7zUa({Tmj=M6;&`{h-U3T3^aGszee*zf*Q?1x4=Mi&}lGgG~+!CU~$tK}am>JKE_#rdXxsHrd6F5%zw4;A$V+ZEg&@DD%ZJI4PdYfy@0J+|@y O0000Kl1)y-Fc5{SvZjg<2Pl6BfB|-0K-~ir(Gyha{a6o; z#Jb~1tQ}iOEMxl&JjaFpvP5k98abBVH*Y3MJDr0L`WFQYeP9!#-RJk%#c0a3VYYD( zuzb_h`~)QSJckxviIgt$qc1T1Y00q$kfcXlpPr--Os0vg_k=ot=DMZE2rgNwkL*SF0EuTB~+gVk6h zIxcMjj=q6l<~ADU(u-lK!Op`w&hPq5z+*hG@sT{9(QECD-2{4~T}+SXu>@;MZ9}mR zT#EJ*Pz}lj%cVFX5O+`6?@pe{>Jq>w(dWQ2ZbXkbf5^bqWb%w$Np;X5-&DUly6$w& zQUHK~Ao002ovPDHLkV1luk=(qp? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/camerupt/icon_gba.png b/graphics/pokemon/camerupt/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..372fc7ce0a86d91e271b301ff08ca963d72e82ad GIT binary patch literal 404 zcmV;F0c-w=P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I5=lfsR5*>@l1*yEFc5`v0tva$?qa0wQ_=(EIAgT2cha)A(D~9V zl-=NLqNO_eu@bj*(M6$jz~J}hJr9O&v-$fI<4Vl@aGIOu2YlfV`#aJzcGV(&00=G?Rg9gtwRspeY>=Ay~=-xNO8QSjrd;E*tzYOQHfpdJPO|$UHP)+!tU* y$b1kmN+dq862Q9M`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Im`^3{N~(aDdkalx;)^cM8lA6lS)QHo}8>h#+F~r31n?!UI`y z!nZEC&=CsA2}2ivjxYcm;4vMcfShm#aL_%%KEQMj1=t?2=z#BE?*aT`s=!yD(!0Gt zCA-@v{#@c3{13Uu4 zx=Mz%n7UvpzSs$QzDOOg&Th}01inaYAa1iV?RuzX*g){5sFEG<$$*i(+u_9B7J><$ zjhkI<8{vQz-Xww;3t!=TnBy~Hcfei9A;z+*buw#KTw>2 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/carvanha/icon_gba.png b/graphics/pokemon/carvanha/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6b0d48a8a95fa2fd419edc5a91f724d6bda686c8 GIT binary patch literal 392 zcmV;30eAk1P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I21!IgR5*>@(y?yBFc1dddjh=jBrKH(L#Wazt>j4EQmLxP@Dflt zQ zS09`}#?#i!2*?-NDi64nSxtbIYq`d@$uEQ8AXU;7MR_?g`J5zbUTP2Gp%O?&?}bg3 zde|2h_GFIH_EB^_0T^}L;BNtT_63^&g5BvExSQxx0Z8ms8?7V21qIG{1Q^3AeG1@p zHLexe582Yz!GmdK{dH*2pEwNl&u_u~B#8Kqb5e)tUxMF=qz-*jiHdyozYYXk9XbN8 m4isD+0&sN*VH3eMbvObfO?;9keOw>_0000s1^Y#1d2Ml&%z+a4?|E2_N1 zNR&R7qrHVStpJ%p^tLn)z~rF}_@eOnyv~4NOhc~%I7qa55x{&tpL*!orMl5Z#MS%S z!5|369{LF{)^*cQ1aSWf;yOg^BP76!^(ajpQF~k*0B||S;tJxcBpH#Zj~-;7iFdzm z;{t5h18@T!O`?ts;QRh9fNj_^Kr_H_9N`1*){&km(@g=uaMPByl^tv*PDv+C)4X{n zv0%mj!*t0Co9bLqk`^T;C8a-;$`854zsV1Dw5ZDuCySc=K)Vwl&ks=+9-8ul&>c4A xhYn)Wm>-a5A)zTh}z5tB;EOKigbqD|e002ovPDHLkV1hLK^=SYA literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cascoon/back_gba.png b/graphics/pokemon/cascoon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fb6bc2955fe1589d55c29412252c9ce99faf80f9 GIT binary patch literal 404 zcmV;F0c-w=P)Kkg;mRFc5|OLdGY>%Xh6?*Y3T=Xs<2bzpY~sHyoaU~jZ2 z=Xq1pRX~ek*y>^$B|Wqzk!M7eo)bXRM-(HC-SgoYV}14`LA?~6104P)_B(Iv-dC#J zHvwd+$m5%|aeV?Fp5pt2_A&dNfn{hrgs*%f9e`+VcNgDY%CK2q9nz y0py3z(*%euolDLD9n1xg6Y@GvfLXKtkbVHFsfYa79wGYx0000DV$hA>F?%KiCp+9_Nf4yjkqW43rzVl<#VX8W$qYleAI%IIJLmB0{4mp8MMTdMSS4D^H o6iqto(9GQJues{bpO5@_0iF`hh1rw%+yDRo07*qoM6N<$f>p+r4*&oF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cascoon/normal_gba.pal b/graphics/pokemon/cascoon/normal_gba.pal new file mode 100644 index 0000000000..05dceb9317 --- /dev/null +++ b/graphics/pokemon/cascoon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 197 +106 98 115 +139 139 148 +172 172 180 +0 0 0 +172 156 189 +222 180 230 +238 213 230 +238 230 255 +115 0 0 +246 197 0 +189 49 0 +148 148 0 +246 255 197 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/cascoon/shiny_gba.pal b/graphics/pokemon/cascoon/shiny_gba.pal new file mode 100644 index 0000000000..e8b230ed1a --- /dev/null +++ b/graphics/pokemon/cascoon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 197 +49 98 16 +82 148 24 +115 180 57 +0 0 0 +139 205 74 +172 230 98 +213 255 148 +238 255 172 +115 0 0 +246 197 0 +189 49 0 +148 148 0 +246 255 197 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/caterpie/anim_front_gba.png b/graphics/pokemon/caterpie/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..602b7e30f5df2dbc940ce303594230b5450600a7 GIT binary patch literal 761 zcmVLn)yiqCo^xe+Lih zsNzLyjE%V=(An-6Fn0%;s}smz53%n+Um|l8hzUV5y}oOp(>g2dEpiN)V+ACoj^>>2}F zpQc|MrZvZw_Yt*9Ed?(Z;w zY&Wwq7my?dsGoDLpiGGYzEHf8AZHa6fX!T$7I2+|7hV#wVX9Op@DY-bYS)v}xOVWu zF7ZAX6OSvS-9R6naWv|4Svi5I56uX}ai7oKRZal#DE(e@?!FHbNS%fqs(J42ws%Fm z_hJ0DuAEicW3)TaPVKG|0Cq#eC^py*0Ejh>pi>;Xa9dtz4ZT3`H1tswk{fIR(vqT) zHI{*u(K$Cr3D2qyhmShysMoISh0sZW+K1=R@DR|puTvE8k{~0)({zdE0PZ0R(x$`- zGYFC&MGW07t%Tq_c@F^ zm%c3I9t9@Ry{D@(QnGaC2*AjgC)zW6X9~pYlSv%YceN~#=?@NM62+Z5M`p8sMMiNa zrW%{gK3h^6j=FV)nMJmUCv@Cp?qec$`s9w10#-@cB_k{fGVltVm=H_xtE700000NkvXXu0mjf*im9X literal 0 HcmV?d00001 diff --git a/graphics/pokemon/caterpie/back_gba.png b/graphics/pokemon/caterpie/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..801748d1c38da0e61ae5b880d52face3a4657d6f GIT binary patch literal 521 zcmV+k0`~ohP)KlQC<;KorNbS+I}~69)&OgBctO8T$$9+Ah_xf*HCw z$8V5(0XsO|3q-I}Jn);e0i}Zpr1wr;yqA6f{X-z+etGZz{&(j%H(j;Hum3K$5%H5= zT0Ga5LWpFg*WaF4K*rHr6GdzE%mVju6h*p5HX06JI3SOXfchQ27fl7Ig|{8E4$d9c z-#zYs>JZbqSpPioz+tXMK)q`K;y4yZAZ0BGVG4*e*kv5xij&fZeggnX>8t_Qy#`>T zGsp#Ey5T(}v=a*?*;9Pz2ThJ83*31VvlZGRl}M9IAoRMF15F7vVrcl!VS zQ?GLdbcf3Jpn-{#9|3{e+8QGCI>j+ckN|<5f$RAMD5X#$3>d)o^_&&WASKZIWex@) z6G;B+e{&P11i~!vxf55d95*)})7p+fm&eSs zfP-AxGY|k+P}G=#KjQ#b14`w93-lR_blx!2x3-jWKVX8q={ocW#wG`Qbi?`<00000 LNkvXXu0mjfwu9f) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/caterpie/icon_gba.png b/graphics/pokemon/caterpie/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..be20669c3c667d90fa582549373c4bf43db6a61f GIT binary patch literal 277 zcmV+w0qXvVP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HlSxEDR5*?8k|7R+Fc3xO1oTpaL9}LT;c$!J6A>yF+f;yQ0;P+Z zUxOjpgz(+G{F#h+M7K*QW;Lo%fORaufFKTOhMkz2-pCE^-VuPUKLBW{V{a;1Ni&DZ z$x4?BU|$;mWsTPGn*Xu~P_cG|6)ZeC$sdJrf*iuMvXX__B=`w~Ap61c#^DEo><3}I bqsy`bi!WC?hy5%j00000NkvXXu0mjf@85K; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/caterpie/normal_gba.pal b/graphics/pokemon/caterpie/normal_gba.pal new file mode 100644 index 0000000000..c672687ac6 --- /dev/null +++ b/graphics/pokemon/caterpie/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 197 98 +238 238 123 +213 205 98 +255 172 115 +238 123 49 +197 65 65 +123 98 57 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +255 0 255 +131 131 131 +16 16 16 diff --git a/graphics/pokemon/caterpie/shiny_gba.pal b/graphics/pokemon/caterpie/shiny_gba.pal new file mode 100644 index 0000000000..4b797001e3 --- /dev/null +++ b/graphics/pokemon/caterpie/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 197 98 +255 230 156 +255 213 106 +230 172 90 +255 32 57 +148 0 24 +148 98 24 +255 255 123 +255 246 32 +255 189 0 +148 82 16 +255 0 255 +131 131 131 +16 16 16 diff --git a/graphics/pokemon/celebi/anim_front_gba.png b/graphics/pokemon/celebi/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e4b6a9d619c21c4e642c813002c76061b838131c GIT binary patch literal 861 zcmV-j1ETziP)ZJw{{a8Aw7qI`gAfo9ch?_i00001 zbW%=J06^y0W&i*J+et)0R9J=WmOpRPKp4hPNVY^WRA(rAFSZwks!ijyYJ2r+>|n1= zUHinAF-Qn?qL{ESRYEM?O4yN& zM`)6eprh)tb&lG{gb-^(F=s1B?IUauA^`>flN?1h#)NcefewJ}Ba?M+SKDVsT9T_36~h_K61p2NL-Dfj(i_1c4<1c%0L6%P^}$NZ^VPlT&xg z5Jv$4h?CVTVkQDp{2Y2hWTV9N21^{s5hBDGi^(1zppp%%L=c7nF=G-kj>=H$?GZr$@B0T3jIM+kgumsZD zA5?_S>)$V85sUce0urNNA{jJgs1fEl;5Mv|-vH`rg0$WJl8hlMmJ3P5|Xg0aCzpH+Yme~itWPlri? z&fdNO09~BY>g~lLEheK82&@Z$UrgQBXq25mHD>OBPrcKp*%)ksOW~c;G|R?d0%OcnDwxxWNE_)<&8X|PzA7&n)$6^QmsG3WxxeG})VZbr0y>01YHcJrbJH!e( zrIcU8C4!CE5*CGX$Y96{q+6!ZFl4X|ngP;#2nNhADs&wA&=pr7g+XUN9AKj62}A`& n?(Z%18g`gAsDHnRzZ>5G*meWQ1hr+<00000NkvXXu0mjfD8+?l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/celebi/back_gba.png b/graphics/pokemon/celebi/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c43e455dc19bc639c68549875e830a7a07a9febd GIT binary patch literal 757 zcmVZJw{{a8Aw7qI`gAfo9ch?_i00001 zbW%=J06^y0W&i*Jb4f%&R7i>KlreAGKorM4St1O`d;<)0$P$SIuTkUUhAvcz&r-U8 z;C!pcKt2J`xdO~+q6Ao?Or-u2{U{8EyG`000_^p$|$vW7TOo4Qz0p07`!KoB=RH+~UBfw#2GR42xjI5z^eymUOEULNPOI z^ag3ggV@=m0n@=CQLE68n(m67i(>#Y$1<6TYNg7RR^Da-ixCSO*hIQkF6kr#D2#y# zlVh`1(zIfwqo|iDfMCahHZTG}D-xxf0vr-aAl}sh&@PnTHZ=&$up@}dm5``}W(p`+ z91|d*QIII=Z!IMij4*6a3)S=}n%guGVrYR=GtTRm>Aa!}3B<2Y0tGH4YE>)BSKSPt zgp63U?M9cF=oXahza2^@Z80p$Qi5Q>QEUIr9GhI=ULvwbgp9ET9282I^BmIoJb zA)*p{>HC95xEYx!@8xe?NFWjQgFG*0Azai+<{Op@tsY4M z-6{ov`E>X|r-P;6;)cqP0JWsk+q>b=YdVvWhuWOK;iD?_S}UGIenEDRa}R~KOYzaW z=)wt~&%6cR?jF5yeP_EndIYEph}8nS;B@0Rc6LbU@wHaD7$A)JtpDV zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H$Vo&&R5*>@k}(RyFbqX?0{bvMKu*ysXtXaEx)|cCWYQ8aDFH7Y zRJBXLGIi+Ee!TeMZv=WoKc4tHkg>%c(l}$=2>-!!SVFyT>@U|dGDK*z=yiy~Kzx`MClMbG@s)-&qg*Z=?k07*qoM6N<$f;yv-p8x;= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/celebi/normal_gba.pal b/graphics/pokemon/celebi/normal_gba.pal new file mode 100644 index 0000000000..aed1b3ec2c --- /dev/null +++ b/graphics/pokemon/celebi/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 255 213 +197 238 164 +123 213 115 +65 189 65 +32 139 32 +255 255 255 +172 238 255 +115 189 230 +57 139 205 +0 98 180 +255 0 255 +180 180 189 +106 115 131 +16 16 16 diff --git a/graphics/pokemon/celebi/shiny_gba.pal b/graphics/pokemon/celebi/shiny_gba.pal new file mode 100644 index 0000000000..b90d6ed435 --- /dev/null +++ b/graphics/pokemon/celebi/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 230 +255 238 230 +255 205 197 +238 164 156 +222 106 131 +172 57 65 +255 255 255 +189 222 238 +106 213 90 +74 180 65 +41 148 41 +222 32 222 +180 180 189 +106 115 131 +49 49 49 diff --git a/graphics/pokemon/chansey/anim_front_gba.png b/graphics/pokemon/chansey/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1fa9b268d1b8e6133b145effaa44a8326dd29cb7 GIT binary patch literal 1018 zcmVdzoY0t)oSEVTPCG1hfJ;b8VqTmyu^o4lkhs8}+N#p~^!m(h!-INl$+$-ky2pZmiSS;z|RQr zFOmCAD#3pjN&v|zlz=v4hSP9c$xRS`eJ%kz>{UTqcoub2fH&tDuf`M=NyUV_FhLC; zE-%I!(P<#hk)(BeiI68XfeQr)(jAoWVr;W;lqUgIT8pl=EQ218U~;MFkz~ft4D8((f%mX>A6A z$aw<5(rLD$NC8NvZU(K-0a!HKcmTK@Bn!&N^GAy%rvt!gA^{cs`D3wImYx78r7WjZ z?zE!ibIwb&p=1COc~&+pUp_+!3qWMZsnUl{uMu)Fu4CZ`pwWh1rvf;Rg&&?pqYlEV zX$ioFb_N-=0G7Q?;cOoF0AnY)8o;tnXzGmqn~C2#Vsvn`d_D17)|&NR#<;-^XWMCn zm*sq8@WcPh^_!Z>P6a6K9D+7ux9Ly?Mh1JDRreUtZNh-$3vsj^Fv zbU*?{?y#~7cb)+H`$Gg5l(Ry*<3Nf^5%>BtXwO>d@^vNyDO8{WJFmUD2yqvqEMQE^ zxqIrh>JQ?cbVnv}oD)UdkJh06At>*!{p|pjzNX#e3dDU0zN*tj9SDW`F9Vv6+ARY! zk_+`O*31l;#9ccuQ*pO6U?T2n1cSJz>Mds??ln!he6pwF4xh4oPsN>SHw<0enLcez z+*^Mk`!#Wg0J(CeEKS^P$C>VkQQQxxqTPu*-H{DLEv=S$^;{X5v07*qoM6N<$g2~e6Gynhq literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chansey/back_gba.png b/graphics/pokemon/chansey/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..db61e1c11662da5e2b795e4853f8f3fe98fa3a5c GIT binary patch literal 552 zcmV+@0@wYCP)Kls|5RFcikwvW2U%Ayrj4Mnx1UV^o$L04|X5fD07T zEkmfuhKej+pA9&+MbfEKhkOzPe82Y>u;V=SPt_pe=Y8Al(>R8rzw2LOp%j{Vf5D|6 zCjj`!rwjns8K58igfc*GnbbR8(jh(-8NeLH4MWJ2M206agO$RK_I;gBlD?6`MdSq} zqd=Dk_K=SfReG+ z_dVsiwGEUNW2+mmuzbi$QZ)ig_8S1r9pI{#gtNd&+oDZK;5@Y`MriFRbU-el1y-6s zrGTY;hUJF^s6$|UmBi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HyGcYrR5*?0k~t0oAq)Wh0(i`p`LQG6A{{RHO6o1F)VOe#Xv5(y zQkp34W@JD}1Mu@>wqP`7bIkl0T(ybPMWqWbD^c}!u#Oew(iq<>@nq|wv@6ka7qvZW zJdV(&tem?5-H38U8m}Oc;SeF^9gn$pA<{TazYDTUy2CsHR|XLHqxmog@Hs@EL-je> znFF~Ts0)4NKvb6;3h9~ytIOevYYtfFKIF)O>XburIRpXO(dQs5f47e(Gnv7_O_PoV P00000NkvXXu0mjfR>_G4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chansey/normal_gba.pal b/graphics/pokemon/chansey/normal_gba.pal new file mode 100644 index 0000000000..556aaa5e1d --- /dev/null +++ b/graphics/pokemon/chansey/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +246 238 164 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +16 16 16 +255 172 172 +255 131 90 +238 90 49 +255 222 222 +255 213 213 +255 172 172 +246 115 115 +180 65 49 diff --git a/graphics/pokemon/chansey/shiny_gba.pal b/graphics/pokemon/chansey/shiny_gba.pal new file mode 100644 index 0000000000..e8107f8d5a --- /dev/null +++ b/graphics/pokemon/chansey/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +246 238 164 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +16 16 16 +180 238 106 +148 213 82 +106 189 49 +255 255 230 +255 238 205 +246 205 139 +230 172 98 +123 90 16 diff --git a/graphics/pokemon/charizard/anim_front_gba.png b/graphics/pokemon/charizard/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b3ed3233827164ea868e58030d8ca64c55aba616 GIT binary patch literal 2039 zcmVxV*ivu-eMq>F#y%o)&Kwhs)udI00001 zbW%=J06^y0W&i*ObxA})R9JdBGz*M6vE`Y?wxx$r{BGnZl3j;0; zgj)z_wMy+2UIvI7HRJ(jVDCeR%yCz&y;O=T$(hBu(IuOGdtd?>$Z}__+J$i40Rqm- zy*IndT~cxm0WyU}cz%5E&CL7wld+$(lK->6@m28wUfvBXzFK~m-?eYe-13vS!`X(; zWC<_@w@f6N5K(0eR!!iyg^0ne0J&nq%7g^&)qzmeO;`dVZXXb!wa$S9r~#Ser#1mv zi(rC`wnAIgd}NVL%h%`O%vT}+@I(7|ZVfo4{li6|<@Cq5LPnf`DhNxS_BvgA5d;%? z`RD)2XwI_4KCB&D+MQ0v_5wUBF1#*FCbm7TJY4h$7>Rrz2tcQDUICpYAORp^7Dc^0 zh9${Br+aV(R{$FDmJRU4T?6cE{x;>l0&rJ>*mywTFiHJ(icTU`0F7D*9plvB`HcZy z6~J}@?CK< zxBDbXzxzN%bWpsf9;QsA0QPtHJH1}-5H9s)7GVs4KnLHV0`@v+!L}EPmTqQ%9s&&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|p9BJfjXXF%Zyul$LoR1j#s0yuJ!?I2izVuahiOPl|8?IGe|Bra-C|fh6Ol0R(V# zYR<)U>`jyMIY1P@CCmuH$*H~Ri0hcc*N#Ij0A|71EdiXIkr-bmTKS|v97q8c63*Th zryz@&IP+5e`V9$?PrpbNq$=gS28;xcJk$pUa8$(4LM_Ye#eE!V6#g@w176~exhj7` zG$oypfUlir1~|r?;jCFswkA$>QV#(AfdQQ3e6}u2Xe2UH59%9~7kLP<`dh6zouN38 z$&mB~NfZTjfq;t}Erx*67vy0LumThZ0=^j-fk6h==6g1q2_s>Qz&I{SqqatZ11ZZ`2(f3r5@eB5a6o99gwge!!ls530>nQjo) z!=&G=(ef*v=@xa3VVQ}w{Dx&Jw5~CXx~QKVMNL}M7`eJwz1!6@7fzn$;(s5? V_GY^l+mQeO002ovPDHLkV1g;bsh9u& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charizard/back_gba.png b/graphics/pokemon/charizard/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..22cf6b0432c0c78abd7b744982dae0876a215d9a GIT binary patch literal 829 zcmV-D1H$}?P)xV*ivu-eMq>F#y%o)&Kwhs)udI00001 zbW%=J06^y0W&i*JyGcYrR7i=?~<)UAEobRWFr)#bIIlbtRsQ0 zvW|c{ij=x%>YSl}?nsf6?bzLl(tsoQe){e^9*?Q2|9WlR?YKDV+r&|U>Td}s4ccCd zVlTV`fbojNRy}zV06Xrk*yFcZ0AB@STs;wBUIkKI=>UMkE8*!#$=Lt_?)f4*9y!*K zh6`Zi%Z0d#_8KZ+2+&q%7CI=)et!XT;V>9PXMi|6{rE@%r)#RjAf5YB1aj2>j#79p8sY(-pb`(EPfj)Nuxg4{9zklAYGO+0wM@+!O z{r&K1F*-6pX8@g)W5<1ZxO@BI*8+rYqDlb<3C0nCZu)ljPL^&71@tVWB$PeSjv?&| zmd$#j%f@*w0SAn$oNG_Q`H>5C>M_QPhi2J0RxqA{NtU?KfPHqu3SJ+iTs6b50k+_^ zJ?Rz677MI^PMva2tIU%fw1c3)|4WWM+RUun8B0-I9m{WwwEM< zwzmL~0nj;#pmREp>1@GK-4>d!8L(y0eX`K|2B_(W#RAxV7GMiF(H{b`O|k$Gfo+^D z1{zCEpPjP>Ft%hMk3ngR^t3A$z_i&SS!ii`Ban;f3yAoogNxmae;NV00000NkvXX Hu0mjfDq?jH literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charizard/icon_gba.png b/graphics/pokemon/charizard/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9c8140887b1fc9d0be5119526f54ea54506168b8 GIT binary patch literal 462 zcmV;<0WtoGP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IOi4sRR5*>@lEG@jFbqKT1@_wO{(+(8Q$ z&c~VS85>xZ^Bi}ev0X)r&zB#-EhqRlq581(HiQQvHmlJ6@NMyeJA=Ufg_q%Y+JH{s zqF#3fIV@4LYr-^xOc-X`8)U-Nq1Kl)gA_@u5zL!G$o!fFS7Blm$S|RtR)fsqkw=s} zYz7Hl3pLOUa)HQ+{R%#Q=D!gPbeS?|0v=y(120*j;s0=5HXRsaA107*qoM6N<$ Ef`?4dcmMzZ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charizard/normal_gba.pal b/graphics/pokemon/charizard/normal_gba.pal new file mode 100644 index 0000000000..154a0f0c55 --- /dev/null +++ b/graphics/pokemon/charizard/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +238 82 65 +197 49 32 +41 172 189 +32 123 148 +24 65 106 +255 230 156 +255 213 106 +255 164 90 +16 16 16 +255 197 98 +255 148 65 +222 98 32 +148 49 0 +213 213 213 +255 255 255 diff --git a/graphics/pokemon/charizard/shiny_gba.pal b/graphics/pokemon/charizard/shiny_gba.pal new file mode 100644 index 0000000000..0704ae619e --- /dev/null +++ b/graphics/pokemon/charizard/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +238 82 65 +197 49 32 +222 98 106 +189 65 74 +156 32 41 +238 238 156 +222 213 131 +205 189 106 +16 16 16 +131 156 156 +98 123 123 +65 90 90 +32 57 57 +213 213 213 +255 255 255 diff --git a/graphics/pokemon/charmander/anim_front_gba.png b/graphics/pokemon/charmander/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b4f1a3c73708bed697ea997301fc3f2fe0feebd3 GIT binary patch literal 873 zcmV-v1D5=WP)JqwEzGA|K^VsONOVXiWfR$ zLAC?~OOy_LfeT%bSn}*8su<$4P_2|ox$`GL;sdbs3$XC++yWBMCm|Mu@-m#2_tV|~ zo}cgjjBVrJ4c^@I=SwKOgq8sBJo)|t0q{)0bJaXjL>+=@EXFwYMvYR208%lVT7Yq-8cJk#3$PmVgvgyZ z&0f1FE}m*iM3!a~_wYdoofF%@O1iQ76g6|8O1W|C_TOF}NT4cp1MuSVG3164u{m=9 zTpkQ+r3eu#2e9xk3KK4L*iKi^D}W|Jkld#w65Ev6 zGUV%WL~T@<)FVT^a3{1xeIe6StzDe2&oRY;>Zx{yFdQ+qUa#v8;0NYE3%9Y2ZTx98 zp+9dVc)v?7CFH&jvs~cS>9Gg)I7Nrhkqp|?6vzt)V}idsc)2%SK#IS+b89dBziA!9QcNzv-h*w}82zjUB3UM4;08esSWHuG?o80ATAc&`8 ztP5C<=oMHx&cvAGS$@``@kNX#0{!M-F{CSr7UFcmdJhZ~9hGzzVpW}#&~#K%qJ_|n zsL{2Oz(%46(N!ddCFx1q%e!|!+JB-*Ps-ct|Gm4rDG{3%ICQr^RjL-)J?!!iOfMYJ zX)v&#?Yx5<|3IkJ*siRH{$c-Ekp`pn52eRoDE!}e4F=BqmjfLb-48p|7m;&m2AU05JqwEzGA|K^KlfQ1lFc8MgP7^-O9Q4tU&#QdgZg-7EKGrODFA1`5h}x203Dwm zfN5rXu)uc!6xmHc3KYl(&H+%`HV+2)aofPOEE99@4N$v-z(tuR#=`<^I5lXQjsSBH zAcWom@-!!z?_oIo0hs1Q#+%!v5J%(zNluiBiO%mtGk1ZK6l)DEM)H!#2wkU6g&>bm zmeM?NEQ)ZS)(K576=szgV;cZZA5`_QSGxkd3ITL#)X^~|!C4&wy?UCNTG#L)w0R3$ z_7(c8oi#vb6ng(96i^#LdDseo#i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Htw}^dR5*?8lD!VXAQVQwC+K|}M<-vQu1?-=GMI2jUbSh`j>uve zv8Yh!?$E?L@x0Za);BE-kqG2)c6y#U@6_Qbco`T#rGsz!4- z)&RE0KPew!kbn6r43&QDMVMjS2=n%%_TjgFyZ}9hhL8VL-Xs73002ovPDHLkV1jr+ BgXsVO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charmander/normal_gba.pal b/graphics/pokemon/charmander/normal_gba.pal new file mode 100644 index 0000000000..1e542aa488 --- /dev/null +++ b/graphics/pokemon/charmander/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +180 180 180 +255 255 255 +255 230 156 +255 213 106 +230 172 90 +213 65 8 +246 148 8 +255 197 98 +255 148 65 +222 82 32 +148 49 0 +24 74 49 +65 164 123 +148 205 222 diff --git a/graphics/pokemon/charmander/shiny_gba.pal b/graphics/pokemon/charmander/shiny_gba.pal new file mode 100644 index 0000000000..3b5bff449f --- /dev/null +++ b/graphics/pokemon/charmander/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +180 180 180 +255 255 255 +255 255 180 +255 230 148 +246 197 115 +213 65 8 +246 148 8 +255 246 90 +255 213 49 +222 172 8 +148 32 16 +24 74 49 +65 164 123 +148 205 222 diff --git a/graphics/pokemon/charmeleon/anim_front_gba.png b/graphics/pokemon/charmeleon/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..909f4f394e1c0599438097b83f6d1fd6f0d54e0f GIT binary patch literal 1386 zcmV-w1(o`VP)>Og*`P z7l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*<+l;lZqj11VIlMbKES`}}F&?z@6-c3MmF=HEQ$W1q*#e;xp s>7U0BN)YSgUi(6oInu)i{r@@p2TzX3-Hsi8IRF3v07*qoM6N<$f)hrEu>b%7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charmeleon/back_gba.png b/graphics/pokemon/charmeleon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d2fb0c7769071a0e96964d06dad54e9b32045cd6 GIT binary patch literal 583 zcmV-N0=WH&P)Kl)Y|)FcgKou>|GmP_pD5vP90%p$md%A#+tJcGN6g z!nI(m3W!(mo<#KehXxZM?Vh_Ke?I42`x-)?_3xUA2S8OkAgY2*69r?eI!*vSAaTg2 zJRT7~q|-#D0d^P_V9EjuCA=YEmY8)W5m*lZMY1!1@}L76rxy4a24?$Yuh&7fLFs+Q z-A*fTkR!m}3XB4_2Y^fxFB$DhM56Mf?UG!Evw(m2z0sSMxj_z&9D{rfIJBL>z}(o4*I<3Owr%^#g-@ V;`83NP!s?F002ovPDHLkV1jI?{^$Sz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/charmeleon/icon_gba.png b/graphics/pokemon/charmeleon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0f1550d0c9be8190c3047640ccd962e35df2747d GIT binary patch literal 412 zcmV;N0b~A&P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I8c9S!R5*>*k}+1!*r1k<1~%Pn%rk?%kY|9BB2BH!kw zC z7$LD-yNSZM8h{U+S>NiagYLjsBz`n=a|uQr{aEZT`tbwSVXHdvg4J#S0000t9FzV zN}VE0_(|BZYN~I1rIICIxDDpFtP7Rv{l(2aY}a)e4=hU`fv;!vo4}3%n1IK1t@UyN z_GcHiV4{WgZ-8^NfEGRl+`ndwJ-PZ4P{6a_06hKifCOG%8sOmy;HLq;(?I*zZ2;=7=St{o3ZV$jB#=Whvnj8g1iT#xC9P~HIf2&KJJ7#;50{! zHAgSTBEW%gYt$TVji3!51)N6>2Da%FZ}gSx6-5Am9j5IzMA?SGUdN^jMhQd+aOYe^ z1wjCt@F8cyAU@FrsGf<)0K`E75JuYLnLZ=04?T0t=RmxyLT^8HbP$kPc5)5gP~7eoyvjp!Q)ZyHdWReEZE|cp_ujrTiV2iBR_C9sxjfH@NuL zlM;^{ll=`Qf&o>8S7g6G>=Q+Jk4^S-@tUa8E^qSr6t8jt30Vi7 z0&^HPD(+U!+WwYvcD zKHChE-7`fJQ&1aXUF3fR(BVNxWIQ0Za72{B2oXfoc;I}T)x#Ntdvr#Od)oX=xQDpE b)>_tI4e%J6|C9K|00000NkvXXu0mjfu1sf8 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chikorita/back_gba.png b/graphics/pokemon/chikorita/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..18c3569bfa4d264da7379af546f6ba1bbb22c8be GIT binary patch literal 569 zcmV-90>=G`P)Kk}+Fan4}C>ew`dT(mNha3hW^h5VX15C@iz!@C6p(emQ4uLc3wXPT0I>>qr@{}4N zI5W@!{xxLu#vheW8_2U3}{{l4vbM=Cm>fjrZIvAstpj<0mn^p9qrXY?M@9K z%n_<|9gw>?EDDVIn?H(vsXx{aab3!YB_KUa00000NkvXX Hu0mjfnD6j{ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chikorita/icon_gba.png b/graphics/pokemon/chikorita/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f9bc40d0e26145d76883441b1897cdf9ee99d29a GIT binary patch literal 334 zcmV-U0kQsxP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H%t=H+R5*>@k|7epFc3v^g61^k0t6kCk4z0+TgOqsVj7u2kl2v6 zqPtNbVcmbTyR(@*rGCD2dCHue6(j-1@&;#&m?^dtv0=)SSec1NKA;bDISFv3V{i42 z^o{O4UJOtLX<$P+6W|yKL^Hra2ml_uV{AaEU}m6;@IEr2RP-V)ME!HgzpNR9$QrN$ zBp7K>6-Z7rLRDcJOV07*qoM6N<$f^_d(|K^nc)mlMHYQ;)odnrNoT66ZjTC8(QltxAx00001 zbW%=J06^y0W&i*JO-V#SR9J=Wma%WsP!Psnhb+cYYEd>83>##iXD^mKfL}VWRrMR1 zxr+LiROy7ekxsFk41E(w-3*dJY;gzDF@667EC{A@cG}H%Z-|71$hY24zE8S)zE6mM zP`BSL_2FBV=$;IZ&p6=sXmmQ>=72G3Euf2a)`R#lKI1-sy0FxhQf&P|N~yW}P_jfv z4gpg6x}<w~QFr?YKpvX~(c^*C00S`Bi}&romuH|g#0GYs5P%Pj z!khp)as@#2svU54?g3&RQ<($-)(0sC^ktGD5D*=NGnKUqDanaDJBijh*r)19c%d42 zbRFd>zAnUUvL@gt3ouiI^#BLgo_!dd#0r2Fh*%E@e6s+t6}Yjr=<)CW0Ae0UAud_q z5-cv=(C{wZD`R*Ql`*`Dd1WjnipubNJ1?rwEa4U?)@Ox4$u_Cx#RnD;ZdLKXMt?=! zTTA`tF;DzD8J_aT{oRPY?)CLw4`>nwyRpv2*zz}b_yA(f56Y4s)ZP)FANqSo5K1{A zfx{f&Fb~N5@O1^men|kAZxD#UQ1QU^lL$|LYz)!E^`C;y!I+rJC~0zc{(WK`*&Q(0 zZ3i5ApD?BrkgoCpWP}GTWgRfW85JNzCh-G7LI((uMOx>Q>QL*UQW?8aTaWfFk<@zr z#jM$v3RMzcP*PdISO!|mYY!)xoX(MJD){s47?>ZRh-S-=1Q002ovPDHLkV1kvZ BN=N_z literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chimecho/back_gba.png b/graphics/pokemon/chimecho/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7a3fedacbaf0bced63430bab05b40767a20dee0e GIT binary patch literal 507 zcmVd(|K^nc)mlMHYQ;)odnrNoT66ZjTC8(QltxAx00001 zbW%=J06^y0W&i*Ic}YY;R7i>ClfO>GFc8L_fh9s}D<&oc%pKs&g4BWL+JOZs$kG{A zyao$$-yoStm3GNv@CKCG4}noTA=UY9M@VF2VJlK{wVsw1aIM@dA> zGB$FBKR{E(^k!3jjv85C-Ov;er;@&hNErZ8YV;m60MHt*qy#epvMkd=isje=T5G^- z-eLR@GJqa&dWwj?1UgtTz&;MwunW9pfY+h5q@B~Tc+3GO*1nUthJm$j9ME?Fi7q6- zf_qr7XBfIQpbl7zs z)EJ0G%>(Ju|1fabO?s?F;l7K4ikmu1N91!)W^Oh9#MVrSTjc;d^u7Ii`xPkxx002ovPDHLkV1is@i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HfJsC_R5*=eU>IuP{|8h)e`q|az}L{w59k8(QFMrehIAk+;XmWz z(b112@F(WX8B~EcM^EqAk1TNR$+_Lg0{myryy-@<_g_aRvJpTf|1sRofX1IQ6HVaE zd4d9`(G2~w8%^LhibEj|VHi1JI3*YcbpFqi6Ho>I&^N^Z0JOkoRR^dm@&Et;07*qo IM6N<$f=aM%OaK4? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chimecho/normal_gba.pal b/graphics/pokemon/chimecho/normal_gba.pal new file mode 100644 index 0000000000..9dd34b7c4f --- /dev/null +++ b/graphics/pokemon/chimecho/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +0 0 0 +255 123 148 +156 197 230 +197 230 255 +115 148 180 +255 255 255 +164 164 164 +255 230 148 +255 213 90 +65 74 106 +197 74 98 +123 41 65 +246 90 115 +246 189 90 +172 115 74 diff --git a/graphics/pokemon/chimecho/shiny_gba.pal b/graphics/pokemon/chimecho/shiny_gba.pal new file mode 100644 index 0000000000..44983802b3 --- /dev/null +++ b/graphics/pokemon/chimecho/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +0 0 0 +255 189 90 +148 230 148 +205 255 172 +98 189 98 +255 255 255 +164 164 164 +255 230 148 +255 213 90 +49 123 74 +197 106 24 +148 74 0 +255 148 24 +246 189 90 +172 115 74 diff --git a/graphics/pokemon/chinchou/anim_front_gba.png b/graphics/pokemon/chinchou/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a573e698564e515613f49d28fc89896fd231e921 GIT binary patch literal 962 zcmV;z13mnSP)OlVi=?V01yxm)9+#p00001 zbW%=J06^y0W&i*KKuJVFR9J=WmoabJKorMM2{;jsguJ14a~qZ{RgE%MQQ{=((pC|6 zlnK-tBf6NOAu~&4lBo;oQB@@iBBT<{2BlHDw*3(O3LX-wD1&?FyR*;6WNuZS#Bsj& zyZ<{I#QOulEdJL}6ji%3Zyp@f^yzuo#AC9E$HbO7B@e(Z9=5CV#YldRZAn(iYc&F7 z*(B)@m59V#a9IX|gWtmv*6$J)10|Zl1a;jbo1L9i-;Jl)kr2>%{p3x&pHvH<%4ERb> zR$)^scpFdO6JUsdPoBWjo2H^vKEjfQB}CXF!b7_O`<_7G?I_A?_ok`gXZZ!v%0mcS zeW0#^$}iZ#3KtzzBeCY6{X2xc%Y>X2_CBC9c2;F(Pa*}CymBA0#I&%bBHg(uk zpQ&3Ab~Jq~uhbc^)azY1!uqnFHw^@+l~zeB?5wZYcB4;j<96f%fW$S`3*FSTQtsjH zI~!6U?c#eh)N3t|@*0l3>WUCDfIeo|()_Sour!3NOArcopXJN=LH+EVIbi^#_qjYs zk0Jtit>)$F7s8DS;N#*Lo7O~z#)6kxxC`)9Yf}N>l1h`sXEBRe{Jk+JKjJU9%wjk% zn+I=HE?*4y#rdp>`^B1{M~&^AmpCLBj7Z?dCvwelk+mn%GQl<;#QT0eb;M@gRyv9q zzgu>Ffb88R+k7BZ4*;*R6X0BG)5U=l0QeNd9)J^xo>Ht!_rgGxF4KM85P-7eXEG(R z<*p=U+5zCud-a!7^$-Bcq(TJX{DDQ!*k#M&6ksq75Na_1_Z)nKfdIQrXPM&|AXU%M zeWHC7=V6fXV9O&u9{}PAOa}Ha?)1Ajl7t=YfZD*X0)x0R44v0uPhkke4HXp}M?>xrzellLpMg{6-e#Y9k7G k5m=P8TZ{u{7UkcLKj;W!e6kEWjsO4v07*qoM6N<$g34RJ2LJ#7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chinchou/back_gba.png b/graphics/pokemon/chinchou/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a3b11b2dc5f7ef57710474d46c2078fb139a55d0 GIT binary patch literal 637 zcmV-@0)qXCP)OlVi=?V01yxm)9+#p00001 zbW%=J06^y0W&i*I`$KlfO>fKoG{Kh-@h!MeeAr{OM!fAba=$l07RO3eLKW zMSR{8r88x^TfYHzcmR|j(sM=nhrF3?@_AzS~5Iu9cJI#K-`{tWH8Q`fNS?%e? zpL=zs)G;C2pBJ{itdy#MS^O!{pD(LQ6YcL&$4(KCqbk@UK>NLK)q3Q{G6=Q~*T6;< z1VN?y;}JNi0`#nZjO{n=a7ad;RM@J85snxE|43mq?Im{JM}>qwsLcVur(SNF zvtI8z`U~*bs=+$L*4uxzYK&t&0;z=6`JjV%lY=4Z!4e?W@6E0=0a&g-&wI!9gq&Py z+Bcg$(RSwS83Fv*d?PXHFee7(2*2pMQHP8I;3xw4nM3y|uIBh@x=U25`e+O`a6&eHgyBfFefmz^urVuhA`lp@#-$ zved-Cw_&(r0gDezN+GX!qF=lN8NReL_@6nKQeJC$zQCutv;GWBiKFEKPlV{;sT}nm XnpF$TaD`D?00000NkvXXu0mjf?|vh+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chinchou/icon_gba.png b/graphics/pokemon/chinchou/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1b585204b9559f6629d5e4cda1aae320b4a39500 GIT binary patch literal 378 zcmV-=0fqjFP)DV$6f2(X))f{}{=bRkd zbjkr7>y)%(AF3)NB{r;07*qoM6N<$f-3N;FaQ7m literal 0 HcmV?d00001 diff --git a/graphics/pokemon/chinchou/normal_gba.pal b/graphics/pokemon/chinchou/normal_gba.pal new file mode 100644 index 0000000000..fc382ddbb3 --- /dev/null +++ b/graphics/pokemon/chinchou/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 230 255 +164 205 255 +139 156 255 +98 123 213 +65 90 172 +0 57 115 +255 246 172 +255 222 123 +213 180 90 +180 139 57 +106 57 0 +139 98 24 +164 0 0 +16 16 16 diff --git a/graphics/pokemon/chinchou/shiny_gba.pal b/graphics/pokemon/chinchou/shiny_gba.pal new file mode 100644 index 0000000000..babb781788 --- /dev/null +++ b/graphics/pokemon/chinchou/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +148 238 255 +123 222 255 +82 180 255 +41 139 222 +8 90 180 +24 57 131 +213 255 115 +164 246 65 +123 205 74 +90 172 49 +57 139 24 +32 82 24 +148 57 0 +16 16 16 diff --git a/graphics/pokemon/clamperl/anim_front_gba.png b/graphics/pokemon/clamperl/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..21e547219de83ba1c17dd3b8c0edbfb5e48cc835 GIT binary patch literal 860 zcmV-i1Ec(jP)OEQgv!ypiakZX6%xL-T`e>-#IT3{{@!e`}@A{JKJ|Z zO)K<;6=ns|^8U<}k<5ud>_0w900NG8~3z5Nu*?YRW-v6F* zJ@~6Jq0()1VU@gE9<|Ajmx$+yLVyz^xPXw8vFwvyz>(}Fmt7fWr7U9|5% z{!H$+7XBf!oANxk$VMkga+lsCeku*1fn)K1lBB6{b|eEBy}>Tp6K%GUjo({YM`+y~ zcM$%_yTs_Y^K~S(S!HtvA9%~9bA-K~{NMrzC*FiOgm|RubRm?A2%Cg-iG#66CWMUT zCqImcsr#7AH+2%phOs^}`s4`X15ybsQ!!B?oEj4cLa!TshK5uEe=#V9R#-VTMlhht z_jgKz2BZNj(_o;AYaj{&O8JLIiUjK{JbFge<8K@*<;M#ZDpV*>r4^zKhPm-;v3gww zXL$}DqQg=U&7E6{R7HF1VrI=Z3m! zDddnNwr5l4+p=}3Xk-fO0wH4YwJxAkCpcxZzYx-BDIj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V6}qgn-9Z@>z|)(=~PW}vO-t=FHt zU^5x6SG2WvJn+zuldbm>Mj0uAUrqgR#br`UgIY>V&gh5zIIi5U=?BLM+5OvQH2jdX zmVO{px;7!|g5K)~G6K1K0+@4UGANuPtGhe=Q=(s)qr>GZ%o7VhK$&ap!XM5w`r;8_ zj#EY&%{lgU;RC=chgmvf?q_b;XP{pQX?mIJv2WzbfFkV z|Aq`eAl!2Ymyvq_B=mw9-9G{w=mRA!1>vCEb%h&-GX@|X{S4BLWK%&P2G5=q1m<9- z*4!{hNHaI&mwBsxfN;nj6-2v!$a9l|1w@;_!`dOM6-3)D$C8ufgHaG?1cqSwzzX84 g`oVkF58p7p00SVv6nPv|0000007*qoM6N<$fCmA|f=Fcik&O4(yaAtGV1QMW9CzCg!r%|J3U#F@!( zd4UdOMCuT;F_KqE7w%AX@I&<++XSK;(djPjiDbavkMH>S4{@CTFkUzx2f{d>jvB;q z%*KI;e=raNz{f`UHvozNU?fMV0ZyJsljIvrBFqBloDt%XM{2Uqc^JjUfOE>pB7Y!2 zkE75UfCc5uI}Qdr$hGDfjSTj8e8c;^MvqF2aq#i0{V!Unhbs^ z(qo=E6{uF$tsaB&%ikTay8Rpgfd-slSt`YP2YpknRa*t7Ot-xT3Wj9f zQ^u=atEI_+79>z_y1xd1AX-tl3A#P!Ql{RpzoGz8y;xMWtTS*N!UIKdxj9oUXRzEr zQg+|8FEM3!++ZUj0A~{)`c3VG5uQmsNpa=iWfe?E}Cqpi`3liIJV41AxZV zPBi3ZO2{+wL!D=l|_=WM(A;8D~JN~Ws1KvqHr3~^8IsgCw07*qoM6N<$ Eg0%cv!vFvP literal 0 HcmV?d00001 diff --git a/graphics/pokemon/claydol/icon_gba.png b/graphics/pokemon/claydol/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3f3f04ead94c3b877a349564c4faab2419361ae0 GIT binary patch literal 331 zcmV-R0kr;!P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H$w@>(R5*>@lD!UsFc8Q41T?2{VW7#eLoAy%eK>$-HZY1+@X^)B+gCX^#=?H7acYnp(I$0X9c)4NPnGItc9m-7_Lu6&55n z0O|;(E#X7ajN`(t*>ggIjdgp?89i(IF7zqeB3U4!$5p dhe#0ibKVF_ht@du;N1WK002ovPDHLkV1n~}jsO4v literal 0 HcmV?d00001 diff --git a/graphics/pokemon/claydol/normal_gba.pal b/graphics/pokemon/claydol/normal_gba.pal new file mode 100644 index 0000000000..cd7f876c53 --- /dev/null +++ b/graphics/pokemon/claydol/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +82 82 41 +106 106 65 +148 156 123 +98 98 24 +156 148 189 +197 197 213 +255 255 255 +255 197 164 +246 123 90 +172 90 0 +255 213 115 +180 164 123 +255 255 255 +255 255 255 +106 255 106 diff --git a/graphics/pokemon/claydol/shiny_gba.pal b/graphics/pokemon/claydol/shiny_gba.pal new file mode 100644 index 0000000000..e4203b19b4 --- /dev/null +++ b/graphics/pokemon/claydol/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +82 82 41 +106 106 65 +148 156 123 +98 98 24 +156 148 189 +197 197 213 +255 255 255 +246 238 90 +246 205 57 +197 156 16 +255 213 115 +180 164 123 +255 255 255 +255 255 255 +106 255 106 diff --git a/graphics/pokemon/clefable/anim_front_gba.png b/graphics/pokemon/clefable/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ee7af0d1bba897d8c3a0e3c4c4506ff15260f89e GIT binary patch literal 1065 zcmV+^1lIeBP)l3Qc^c5Z%pcAPzMT`?p0Sueow1nzxSLoE-(AIUH!v2-^JZ9iEqFnBM>=elt2S;5l9sr1b{W9?lxkiJ}0_I^nsFGq?DVf1wDEt<#D4qI<>?(RS6&d zItZ}fyq&BeCxQffC%;Zi7t-dCFPwa&@4^^}eLXEAYIl&G^4b8W4*I^7mZ0aZB5smV zfO%gi&Zkw{o4|ZsV5_DAISS~w*H!2Ax=COJqrVm`Y77YWN&QvurMpR5B103>L z&Mnh4E3dQwP__!QYfrGHUyM>BOXRB;9fJP?5P*v%uSJqe*`aTsPZVp#Yedfb$~Ry$ zbJJTT7Jo0fd!bBRN^{2I-B+~>~dSa?v$COIDK$w3Q7JfN=bCV(NUDL>FUlgTOfgk=e6 zep|28S$Fh3j$i7P{kol{BO4qC+jMfHIRk4pqw~6!^smx3P?giowzKg7l?NEK&u$dt z>$-IS!>UAIeNGhQ%?3+Q@T#x8x!H|dDAv`w^5$Y}35aq+vwOU8)JGo=nz2hA`gm}0 zN#2JplYqN;aPj-ALsAEUn2QJTub5$F30ypgk!vu~kr|kD@gQEjqvzMWGJvt8!*kov zfB8hU(PSq9H4;4lnf>{>-LM%Ks0DPG-j8cP@Kuclc$dNPZxjMGsQhHgcPQWgd)5^E j`nNYfRkY6-5sH5R6c0!*Y~<#n00000NkvXXu0mjfQO?_0 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/clefable/back_gba.png b/graphics/pokemon/clefable/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..42592b8d7b0ec3ee8bde766923f57f07e9c67588 GIT binary patch literal 638 zcmV-^0)hRBP)Kld+E5FbsyZ#aZ%pR9&FxX3AL(T^zYv7AeY7WVr-> zpl(LqqCgJ_{0t@K$P$eMy4-jgEJy#BpA<(EBrAux{TpbAFCzsKMLS%lSS>~E$}8B0-VUArF-supyv} zI>BEA;L-4DECRh*u9OI|^_Gvh2K;g$!1N-^Eel*qV`l>j)R%xawhuhaIs-pNsV%Ei zg8H0oOzaV449dR^ zA$yoB)CIxA(t0Xi8mY6rQpy6*o&&fvlmicWuH}YsobNd&(^4s*NV9uN@ylid6No5E zNyps`_<8D$9d7m_02fWLk9{EEQVnVikU!mj?v#}?n*e+QM)o>hllo+?39zEqpX-Cx YKX?9U`vbSgYXATM07*qoM6N<$f{>gf+yDRo literal 0 HcmV?d00001 diff --git a/graphics/pokemon/clefable/icon_gba.png b/graphics/pokemon/clefable/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4078e285491965c896f5c9d3ddb4902b2f41804f GIT binary patch literal 339 zcmV-Z0j&OsP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H(Md!>R5*>@k}(PcArM79fgULLNt0ux8$pXeiXB+5vap?nYdyjm zcS+)CiZmgF{6g?Cj*dJbemE+YW#V9oLK+T2R>XlIOwNc556)+CwEg4rtje2~Q3T7zQw9pcViJYk5QgwTILQ0HF>i zecAJIXXBd!5lYM?nt15IeC~h@;xD3N4>n;Y4vH}At1$cnc40iL`Ia#FMi@e*Mi{vZ l<7*G;J7IP|__&|;;|9Pe)ONOAED-QVDOaSvj#O!r>iXm(pj5P! zsdBP(IzB_BOA(DR(zUD?MNuky*W9)K!(E9uHV0UUE_VvagO!h zmd29U_9iX(Cm$XKH^J2tc^eRiPB~ z$4~rJ2&*GNS8$xACo?N6UBuiQ*v4PyWm#tGw&dT?;*IUxUcEf<2DhJ_R!Yh1C>&Id zb*y9k+tth&8`#zH7ON%fWjw<#oUxh)FwzqkV?5y9-(HldjR&7t_aEdC3OOJCH$NyQO**^zL7(uzuT#5p syS(KA=lsZ_R12)^Y;E9;FNB{r;07*qoM6N<$g6j%*tpET3 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/clefairy/back_gba.png b/graphics/pokemon/clefairy/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6720a786524eb5ce2c51a5f05d7597a10565a7b9 GIT binary patch literal 561 zcmV-10?z%3P)QVKld*1tFc5~lW`M_}b0;gx(2jY7im8tgRcEng;2;kG zb~081O!l^+X9J0C@&b|aOPTKDzyEv}#-4gqMM~@LZe>eiEUo|q>O1vS^1?Uj)BqS_ zVDa~M`|bmL1CYT8XkG1-6Sc(~hsxvj=>5 zb)dR$umI8!SWP2LTBkt=0vb0$x&TAS#{$Qse4 zcnBg!W=S??)&e%L0OHwSx3nyR?*N6I7@_D_o)#fXZCgmwfo|d)7-YJ}vavpeS$7Cf zG=Y||_d;0$fT95s0Z>m{8)6U0N5Hh7*ZS(lG*b!#l;nZq+IH^sPaO!r9*ZAh>26&M zJ6L}qqQzeRS{C;=Aj-|tfcP^24r3ilKLT|YhZ?7^jgAf=r~_^2=mLfF5^IxLY;JuR_5R0xZXaA#HXA#-~3yFsrIC%hTEkK$x%HSkB`bH7a*OP(l zeITw;N;O=hoD4cY16jyXqeG#j3jcXeJ%IiJP7NezQ@$_t00000NkvXXu0mjfU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/clefairy/icon_gba.png b/graphics/pokemon/clefairy/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7895bb93c438e9c9c87988ad45c976213a91164f GIT binary patch literal 305 zcmV-10nYx3P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HuSrBfR5*?0k}(PbF%U&_g6w@1_Ba-LEV~4fLf9f7%vHADVptF? z64;n!A(PlCf{4GH$IGOcFT{^0J%eRVa|5DV$L002@_QVl00001 zbW%=J06^y0W&i*I+(|@1R9J=WmcL8GKorMsFj9vQ@IUaS1vjCu2|AR5iB6SD(##4{ z&_NtiH<5zrCKZ3&zbu=~*Rss&DdhrtE&pJsQpRC1%t^Ku`O~XHF#Q zy9qHK`k}tfsQi~MqQ?M12_O$x+m+7(QRymxX)^ANlpWv~bDGO%<@y-8`yz$`V&@>| z@1-5?ycWV?3kWd}>uBO@atnh42$JrF^s_ET!nMDj0KJCnC+Vr@zWX{6&@ zXvTP-jx#N=l1=d)a{|(-wuVE)d!uN(8AXsoZ3!7I;sF;yKC6JS&PEUm*2>X4mDhS; z8#YR$%j{s?K#LG6p-%_ZY;URQ%$!FKeRAoCo*r=8v_4Szz}Evyw8s!shUqZ?RyoRz zdrw-xt^f~n1`q+30i!@~PY*mV@&$e{fF1k*%!s$cVHlF%<1&C9?kS>kz=nkRn^k

_3i3vJsn*aa+07*qoM6N<$g4D7MJpcdz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cleffa/back_gba.png b/graphics/pokemon/cleffa/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b110614e1b7c1fe0f5b496162c1586cc79561bd4 GIT binary patch literal 461 zcmV;;0W$uHP)V$L002@_QVl00001 zbW%=J06^y0W&i*IOG!jQR7i>Klf7<(Fcd~TBvm)w0lxtks&189gVKqrkU5o*qGalb zyLF1qRtX8kQ(rLy&6*m-pKag)+I%DD_+nrCB6Q6^&SG<#<^C)7<_zDqZ3ySN?XM?G zEFH-)fInd@B3yHTaMTdFQ>7B%S(rS_09UDn6&Ifx=jj33_26=veyGN6N^|IP&sfSb zML2Sv^umg!l+rI%$a)T(F~+%a6mdKZgdLX=ieQOc6GVYjAyI@(i0>I;FJ#`-KAZ;} z0?CWhjPS4*#kfL9>EOjAvB|%~g&IH_%@u03m@X`0J=EA%z!R z@EkjM>?@FsULvwFP6mR$3HhQOxa;;vV!gr=_h+aCV>qH=8{{91Mpc4WcHEquSQair z(r~j+$a<0>ByEgCBCB54^0DbG<@cYs;nM?t&EL*13Vog))sgkt00000NkvXXu0mjf D>;1=p literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cleffa/icon_gba.png b/graphics/pokemon/cleffa/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e866394f00a453b81f62b655653490dc6fc287f5 GIT binary patch literal 302 zcmV+}0nz@6P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HtVu*cR5*?8k}(d#FbqX=g5*G~-MI(ci@``?KyDh8yP?;dCe#LN(V zpUZQt(3t=kkglkOdRu!s<(`N6+2};strrKi;4{KMUt|%+0~JPm#hWmf9bppogi$HI zFuVwZn^Ov-7!V1_l#Q0E2a&yh+z@88t+hYP3q9$AgwAEA^Z)<=07*qoM6N<$f{ELL A!TllpK>kf|SQBy1Ow#zJ(Q$#MSg0g?b8Oy|5SZY&;3q?=3IcUxn)=3C6$N4ENPcCt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18NQqKu|{Aj7?9Nwo@|5*a~Q3>N;3i`G?c@hz!00000NkvXX Hu0mjffNiZ( literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cloyster/back_gba.png b/graphics/pokemon/cloyster/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fa69b7b59c14e64a993d04f26c6c8bcc1dfca319 GIT binary patch literal 769 zcmV+c1OEJpP)4R7sBGFbwp;zUC3~H7?UMjK|as<=2^_rC=5&-s3$pAkJ7`uYoZ`RAw6{{C2MN}&gZ{g|(So~H4W z$l2ItLMgt9^k!_lUMbw-j2pp13k^dgHJ{(}7YJx!jnJqf$b*cH18L}101{Wy}DVZ%CWOkl+R3 z>RAriq~j2Rju?Mnnaa-Ytxeo}NGV@hNbJi>LIXUkcv#2;_-^u|ln7VREdaHU0lFoh zAHwSyRzPM?bx&67Z;xf2(F)B9n6+L*rEvYrsND*v6gpJk?)8HJAe9C=NFj(>rvMK4 zQ2a@mgYHYRgN&*c6o4NPl$@ZfA28Rb_o9=G^w2Zb8G35@c9JmzW-tV9J#Gnf3_9xE zTXC3Yl6C;0lfD!#^&!VMKnSvwYixhS{_*$&uR$j)b-wyF00000NkvXXu0mjfrBz)1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cloyster/icon_gba.png b/graphics/pokemon/cloyster/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..71ca401c40290ca4d50d106ba2e7209aae1c21f2 GIT binary patch literal 507 zcmVDV$*l0k06AP_}!0wb&YTFC{n=oMI6=Ca;lg^hQhaD`Or zt`>=1b{_c`+u$Va1zJ|{1T(|`f4BSVE4ySrz`46Toav$1FerUe+>Scyr1 zj9spf28`#VjJ~aJ6z8a}8uAp&f|veEQo^S`-U`xE@ePn4j#|oEAT}<6fpnv}S*il% zkWZmV%dr4bVqfHWp=+$OvT@k=`AeuG((nfi`PU5i+GarC=Wp{MZUtaA)Cj<)zq1Aa z)t?&(zrXgxt7em^8;$*NZqqE&C+D(D&@}<~BvHQh)&Lg!$|4H9oR##Nk;Q`bAoU*($uAm zGkIG$=!VAxG3|%E58jHDF{s00cD;peIAUMSAO+@#A|y(xDNe?2)b{~2scRTM{7qL6 xfYBK(|GZ0-+2&li2hBR^oSSvs6uxhNt#7Q{6x^Q=sy+Y!002ovPDHLkV1ns{?E3%! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cloyster/normal_gba.pal b/graphics/pokemon/cloyster/normal_gba.pal new file mode 100644 index 0000000000..a53db8d442 --- /dev/null +++ b/graphics/pokemon/cloyster/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 0 255 +222 180 238 +172 123 189 +123 82 131 +74 32 82 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +197 197 197 +148 148 148 +98 98 98 +65 65 65 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/cloyster/shiny_gba.pal b/graphics/pokemon/cloyster/shiny_gba.pal new file mode 100644 index 0000000000..8a0d5bd4b4 --- /dev/null +++ b/graphics/pokemon/cloyster/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 0 255 +115 164 213 +74 123 172 +32 82 131 +0 41 90 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +197 197 197 +148 148 148 +98 98 98 +65 65 65 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/combusken/anim_front_gba.png b/graphics/pokemon/combusken/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ffa1748b3a370c447327b9987d8249390d3df24a GIT binary patch literal 1577 zcmV+^2G;qBP)p|7tnaS~*%dF%S?CH`2C%00001 zbW%=J06^y0W&i*Mr%6OXR9J=Gm(Oe4W*Em`Xdp6!2zeB8nwfg>VZAjb4s{OwG0}LY{Reg%6lG(F9%icM)@_C;?NUfmXlx~> zwKM8y&nqjo99cS!u?O#B*K93RlKZpJ-TEAmN0831d07f66m|^@B4%{`C zt{cWL;Tf(Qx?vdkP(Aj@fC{2YFpcF$hFPzN1LkAX+%nBVSPIj8^2THlmL;1d2TWfL z(N7VGm!|n}DOAtpFPP>hA^ON!fe`va*TdE@B?!j}4J!{~4jgiHHdG&B6=sJ4ANGOi z^&!B>bRRe!0649_HIwyfAY?WGEDA~O8*;_X@-fK;0ZtQycL-r7BZgr~n@0dn5kzJ| z2<%_kx#!IX!D50f@C=ISpi_GQC^^nOQFH-vW-J#3Ae@6bz2p*gG891VZz*+L zVmmh!P{y5x@S3^^rNKLz6NHi@BsRNw=Ycg{&cuVhzb~_2+)?66? zO3w_MXowSSU=VsmtQwJ^&b*%}3JxzW?1}qJEkeo`X|Sb28m(Vq(Qalo(&pn^gq(ju zY=;qYy|)^tEiN=O&ol5WkaOoq&PL8vN+r4fZ1G~MnZcPg)7m+|_T(zm0)!;XTE7ac zrg3SP-J`aozf7Sz=39y#wSdL!NU6BxWvG`HAL2Q(ei`&!T!159tp@fFDbQD`znj21YM|uf|76yUbk#l_U#*bWY35HRHmP;=W0Dq?zUB}q30IXC=eRD8F{I7{F@YV_p zMk}i?%}og%0q%DJqY7gU3>9<$P~!0k(FN`r4<4Ss8AmOTT3KKJZx^aSgUhs?^}l{W!MeVqZh(;h%P zd#T>n*>shg_W{6I+%#$k`j>vCs}0rPPN^mA|tr_BzY^6ETm z{lCQ>v9;?5V45rzPuQqzcFbxQaEd8EkkG_5G?_a4N>E;VtT~#Ke$UrBm0h8U)ePE5 z0q}HRZ>F(>J65F!@No2DoEg(FSXdROoyJYBuG+aBosz;UYLlbOT+ zkKxH+?}Z7b_aPo<0y_AX`bBB)4*`^Zx8*(<0vz+DRfpC1 bACG?k;`2F1l^mj=00000NkvXXu0mjfqcYz_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/combusken/back_gba.png b/graphics/pokemon/combusken/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6c6d094ddadff67da8ca54e5be2c3990fbaacc0f GIT binary patch literal 812 zcmV+{1JnG8P)p|7tnaS~*%dF%S?CH`2C%00001 zbW%=J06^y0W&i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@-5^A2viPi!cWEC^2 zTX7SuYMx7h7d%x407f=ESEDQeP)Y$bPgOzDVAAz&e0U8AbO!8oZ}G7OyyBIe<|F}> zH4&iHbwMe;(OAV*&iMK30i{kKd*5{_0(Y81#kOH2rqJ5Qps`X7_n}nMrs8`e1#B9I z-iIwuoVA#W9mDuYQh?QmCs)^C?+5q{3w%oM93|I?RGMjlmEBQDlKC?Pd^xVOqEdNn$)ul{{cL6~%Bg4%Cbi#b^p^ z3T!kQ@F3%I7q5)o(3-MvFt9n#y8S<|hL+_#+5_(JjI^ph8kS}0w!98U@|Uk0LIEe?M` zalm3T3&3R+pSg%!o|C^6LNfPHVpVD#>-cwLtp|Ui2iYZF^dLK4^dPTCtOvOjVm-(M zVm-(MgoPgD0L54ja)DS6@_God9^?YC9^?aaJu^#w9(WH`qL`4MVdT@_`cawN`N3JHaSPz&6)VoQ{DtQP%tOr&7LQ3_h zxeEaGfZ=vj+=LBQ5CEOc^`Lt40p~~pxCX^Ooa+HRm|wrpluzOg+s<4M!qDg?jZ~0m zr{BR;qz66Qc23OHk!m6yL+?J)gPA{YyPtgX7I@n{<}*F$&-`K8Pzw6tZ}gxT>j4Tz pwjMMVdVuv-`a`4%Yk&AZ;}?ydyOwpLKaT(a002ovPDHLkV1hv&w~YV* literal 0 HcmV?d00001 diff --git a/graphics/pokemon/corphish/back_gba.png b/graphics/pokemon/corphish/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..01d60377840eed872376cd38fa7d2c5662c77c70 GIT binary patch literal 662 zcmV;H0%`q;P)@g8%>k-|xD<00001 zbW%=J06^y0W&i*J6iGxuR7i>Kld+22Fc5|fR=@8sO1a>mS$79Ew#z#VSqzs43OLnW znR^{`r6ENgAg^H78%PtBe|6^<9Z^YxTe+%5b2_zc< zHF$^K1KASr(sAcP@lr>NLll)XB3@NQ%P#pMn2DGR((3{M_8nEK>wA&lEuicJ zuyCkyzl*-_2p$W8lC%&pp#%XAqM$;SOsVg*10)XM;X6bP9VVxE59{}6KvI2<5+;Rjl0x%t3fg-hl)w*W@Ao?csFISxD*!0ng687| zz)1W{fK!;P18DR#X@;o}4xnj04FahRyVzX=vqQ@1d?dvR!0GV+RyW8?(iJ|!^ez`alq5%ym42tjC_sF*UVnw`2w5;fU-euRnhg*pg1%J+3TQy^~@c8G)Zx|Nz00kY#umAu607*qoM6N<$f?Y2#pa1{> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/corphish/icon_gba.png b/graphics/pokemon/corphish/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f14b262d2b192882dedbce3a9cdf999fd9a1da6d GIT binary patch literal 286 zcmV+(0pb3MP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HoJmAMR5*?8k|7SmFbqX=0{0Fb7>qQ7u_nT~Q!J&I^5qz)2dP zffQJe6NYgGCg1Sv1g{!v>IV|EE06~cG+*?v%>9W|i3(yuORNBv^tlF~#U7duMDy2% kj$0ToO<~^Y^N#&^0Y&(FcL?;d@&Et;07*qoM6N<$f?eiyh5!Hn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/corphish/normal_gba.pal b/graphics/pokemon/corphish/normal_gba.pal new file mode 100644 index 0000000000..0fd4ea3304 --- /dev/null +++ b/graphics/pokemon/corphish/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 123 16 +213 90 8 +172 82 8 +98 65 49 +246 238 197 +230 205 148 +205 172 106 +148 115 65 +255 213 90 +238 180 65 +255 197 65 +205 205 205 +131 131 131 +0 0 0 diff --git a/graphics/pokemon/corphish/shiny_gba.pal b/graphics/pokemon/corphish/shiny_gba.pal new file mode 100644 index 0000000000..a3eb45805d --- /dev/null +++ b/graphics/pokemon/corphish/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 148 148 +213 106 106 +180 74 74 +139 41 41 +255 255 238 +255 222 148 +255 189 90 +213 148 65 +255 213 90 +255 205 205 +255 197 197 +205 205 205 +131 131 131 +0 0 0 diff --git a/graphics/pokemon/corsola/anim_front_gba.png b/graphics/pokemon/corsola/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c37d0e054af243a3e03c88bedc55803de1f39d01 GIT binary patch literal 980 zcmV;_11tQAP){x*Su*#cD5y&t`~mV6s#ck+E_TwT ziYoa%yd)wLe(i-W1;YZHjfdo8Rq9ZovZPt)d$w`l?g(3@O1xq)zQ@mde=PqV#`g8! z6)JzfDdTnb_WAmjHJnHlIHJ1lU9q7iU_G}o9k??PYKw5-by!wh4T0TDL&NaOjA{b#XSaAX8n^Y!-kc0`LSb=N6`8wTA;E1S(h1A}x&7y&yqZa+?~6 z52_#yXwY*3Fr8Yl(3WaNw430N54p#H6K$QBDdqy&NDSmkm8v`OvjA~6Qd{(#tDu-e zK;!+UF8H)sgvd{8sdn(b09@w^>7buh9d1DW$br+TXydFQ$8tfpgRF{9ixd2z=xQ0ei$4;6AxN0!Vr5?wvl#r*L(ckKJS2@J_O) zQ`(0kOhnYR?KcJid(Yv3^Vgzp+ih;LsPViW7WVlTLAy|#oX;1=7Hw{S;B9_*GG{fD z0SQi;%jK&>FCA>=(u>{~8DOYguk3JGCMXO?(|1R=@#IR?*xCNyExY(NOK61tTILsydwiRhSgab>CV{q!azol zmMKscXa)}OwcENg2}Kle>1pFbsw>l02w<+6RaXOFIRHg-p44Arpiwyjmw( zrdDz;jqM(m4()&rOQg^Gf5|3_9`Vm(MfrW80x0g);}qcOS3t$UT@!3U@7xr~O|*p|B8a3Fz6vK5|2RO%@DqB?NE=WNRTH zx->{+3ia0AG)Hotfl^^kA;22r4VQ}QIsh7;Y}8H2^g)M}j6P-ij%bvdBSWn8m`zwL z07|uHV}r(zK&%eZ*QQSc5W8=#ze$}MbNM`4;5J|WG$$u>(;?rw1+L%?B7ivo0Pjf) z5ZI`x$+%8n2PWhFF&M}@kWfk#@*N#~ptp5M(N5fStp^ww8z`)~LvB0^(UA}HFXfjb z9cmwl?O_S)kz4r77WEi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H>q$gGR5*?0lCchgFc60O1oRzncVYL19DFN>GpU1H{{&veI7)Jo zxY2~#0;Q!6#?g4&eZBwMz$e6SmCbsIj95^&9>6)D@W9GAW_-k$W&u4}7Dk7l?0N=V zE<{W-01UlcWwdGmkiCWok?ZxNsN+r#&Wt%D6+BSOd*$hZx+S7}0LKGR6RBc(=-vgW z43`M;tgyS433zO(a?1%Q_~trJKR}TjPsQSYN_H7A&6>#gRsDy00000 LNkvXXu0mjfg?XS3 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/corsola/normal_gba.pal b/graphics/pokemon/corsola/normal_gba.pal new file mode 100644 index 0000000000..95c7616fe4 --- /dev/null +++ b/graphics/pokemon/corsola/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 222 222 +172 172 172 +131 131 139 +90 90 98 +255 213 222 +255 172 197 +230 106 139 +189 57 90 +139 16 16 +255 0 255 +255 0 255 +255 0 255 +189 57 90 +16 16 16 diff --git a/graphics/pokemon/corsola/shiny_gba.pal b/graphics/pokemon/corsola/shiny_gba.pal new file mode 100644 index 0000000000..13daa4e263 --- /dev/null +++ b/graphics/pokemon/corsola/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 230 255 +164 189 222 +123 148 189 +74 98 156 +156 238 255 +123 205 255 +74 156 230 +41 106 197 +8 65 148 +255 0 255 +255 0 255 +255 0 255 +238 98 98 +16 16 16 diff --git a/graphics/pokemon/cradily/anim_front_gba.png b/graphics/pokemon/cradily/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b38c51c8eecac770abe4fd73f6c7eb722cdfb955 GIT binary patch literal 1342 zcmV-E1;P4>P)FI6 zz$zJ02^eNf2_cgm2Z(0RlQ^)g26ld;0U=4EY-U0!u`CPYc0Y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?w0z81@-CNQKxam*kFmN zUD6?Pu+wtI?X7;m*?=!|AHKTo1ZR!@_MKFL(TLkd03cAs67SFX^{wPf#bJPe??<>R zF#?gpUv5__Ko0W&Wi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*ILP*k}-~hFc3vKfvr6NyO&8DrJ}UbrJ=~}Xk2iHNTD1| zq-<#`kphin{tgN@B=r`%MndxA&lq`Lmi^@gWLWQId4RsX1j_mVtOLH*fv|wGh6dVH z1<#*#8J0G1M7}(lR72E~!2)_>V)P>d*$@>9`nX>JKNya?2o$NJxye2zY+!J{$xS@g zB5!CrhGLw7Fu*2+K(?Df{)OJ;md|!i!v9G&r|CUsoOAYDwI2ygb=Sg@b*ozvS9|(g z-(x1+8{k%5_V1T`^CcUqS6>*s_`(&?zFvIcfQGME25|)$CdnX)(UM`B8V4Q-p$f?l zHI2v*kElaX)D%Y7Ne2ds_P&Y<(Noi?y*$K(Fca7bY{u?M?48uv1Y6iyhsz0%Ehaza u>5EAf_M^Q-9fWfo`@uTA`*HduKYjqHd<)F1J;1jB00009 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cradily/normal_gba.pal b/graphics/pokemon/cradily/normal_gba.pal new file mode 100644 index 0000000000..9167eb8795 --- /dev/null +++ b/graphics/pokemon/cradily/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +148 230 123 +115 180 106 +82 131 90 +57 90 74 +255 213 172 +255 172 115 +246 106 32 +255 246 123 +255 222 41 +230 172 0 +213 213 213 +172 172 180 +180 82 74 +0 0 0 diff --git a/graphics/pokemon/cradily/shiny_gba.pal b/graphics/pokemon/cradily/shiny_gba.pal new file mode 100644 index 0000000000..32a3b9e8ff --- /dev/null +++ b/graphics/pokemon/cradily/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 180 189 +222 123 156 +189 90 123 +139 65 65 +255 213 172 +255 172 115 +246 106 32 +255 246 156 +255 230 41 +230 172 0 +213 213 213 +172 172 180 +180 82 74 +0 0 0 diff --git a/graphics/pokemon/crawdaunt/anim_front_gba.png b/graphics/pokemon/crawdaunt/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f150b6d1573cd029d7ada124d681f7d1c9a49752 GIT binary patch literal 1483 zcmV;+1vL7JP)TM2&)GA;irbtBHMH z2x=m8-8E+IBAhv}Z*4ca!j^R;AV>-$b&(8rn#OHFN~#0`Cz2*@$RFSoy503JL3nwy z(#oszuGFOQR+8q^yf<%V=Y5*?e?AK@=K#+KbAZkqVBz7M5cisuIVtSD(X?7Ee$a6= z?Fad~_Uge-JTS~i=R@fw0l=37I&}E~8 zfL}@iw5ubW;)JopDPA=@P3bYl6M?v|n&6A~lMq7a8{KaA&~dgH&ss7&O$a=!P~GX) z9LK3JZc5pjDn+5uV$3+VaeQmJ!VKAwEgDJVPNOL)Gv3&1%Z|w_%##f)Rs{G&eP_mr zZ5f!N&n$`mARNN+G`^G=g14&{y>KZ*prZgL#(;${Ey*%r3PLyn#vM1XR^3PGYSA>^2w9DHVoA_C^Inv-%6 zqr<0w_P_@Kwq&m(VdiB)olF2R2B=2|I>1Kpg>A1f!yUGb0#yJA6(dc#Uea{9wD-R# zmsiC_#pRePE3pCi3efR%3^ahMU8$AJ<=VRA;w8YChZ#VSrK*@3UmsL!wVJ)P40Z4e z3@b9Jb`9X5ye1x{mu%ay_}No{f)NF(IJLcEWz8&ZXRdhm1Y>ZO#^f+bxdIz7*fzh35%=ef*mN{0Ptrl9BBGt0C)z5`zQjq zeEO6AZw7ZO0_cxlAjPoG6HzS zK)en%y%10xNwzVwYXdpK#(LeFU23o#%Ta!9ApR7PVxTL4T^k6V&t_{918+MWno|u? zj{!mhv4#Y&9m6z$H+yIxFvPA**n3A0fr)`&=f$o^Ck7G%p@DFQU+O*$4P=}GKxiQR zi2~3b#s(4sm!W}-0SFBwjBp+rNNEg&1`-0*&9Q+@01(C?62TrD$Y&L7-579UAma%R zR&8Gy$kNvG2*8^{4~wOb`~j4K9HKwq{O8fjCh&{Z6-y`sSwnw#s(`|^U<7`#fjcbF zK+qqQU|dFlyVX^@?xQ~h27>;8No;si22z2*AC!Sq&>yyIJM|laq5MG^NCo`?${TP) lFrxl|tI}@>#;x{;{{XVlm~X)Z0*C+r002ovPDHLkV1k&rw54l)q}+KoG`-tzNiGcQ8_==0Ky$jSguG;YKeLPzr+` zxWc(2b(AJ>q)4{O1KeTKr8vkl_z{G6;X-1wnVFUU6q2tE+2RiE_tVU`GqVbU|8Iqt zhk#dyfVT%ig!P95fa+cj5vtXf1HhTSq~FE3e08-{wf?MB-H+-~-I1vEQmw{;z}5t; zD9V(NNcpw;Hs#TZUX#xkiItwPz^4Qto0FvoOQ5Cnqy^C-S#=XB!c+@UPxa$e>$QY< z_i0o={`!%Dq)aAye%cApSePhv+DVFg2hC`+j)eKqPvvNdf znhF5(cIknrgye}R*Fywo+T}uG@^s|SEWoh#?ULU+mg&KTmz{gC0LfkZx|h1~#&94D z^N06gzWecpwvK2x7?2zh!0jW@Y_=C1pkpA;k)x4XKFDyl+gxyKJ5J$&D1&0qHI#q0 zo1eb-1fXRgL>w}lX|R7byXzo0^NlGAHfab@ijpKW_Ql<1d+moq8p9T-IdtO^1@m+b zMZ4R6=Nlpx1c(rGNx(tkyglFCP-mnHae<8hg9ZAFao_H4hC2x8)N>%FKP2Ehcm!hW z0soAKbad@|uAIDqP>6>j6CLR|i1xzv1Av(EDG9)gXbRYibn8EBky6>TXaKoQu+DV67{ zaeJPPh|7>WLmPBTr2be#)u+|`YI!z(%bk)f=MR&xaR RhzbAz002ovPDHLkV1k6Ib`Jmm literal 0 HcmV?d00001 diff --git a/graphics/pokemon/crawdaunt/icon_gba.png b/graphics/pokemon/crawdaunt/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..605482d25313e16a913975ad96b302c9d7e20a7a GIT binary patch literal 402 zcmV;D0d4+?P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I5J^NqR5*>@(!EZ@Fcbw~Kf(3GFt9Nt9g_vGL_&(Qpm;#a-I@t0 zFUH10R8?`dYor#uVd^AyY9521||7e+23L ze;U6I2Iw1@5zPc<<$x0y-USY%ComSn+XCetO!RSneGkT<3#Ww{Odl3yFoSXHb!ISS wY%sHciGc^x(ghgp!6ZJwgGqb literal 0 HcmV?d00001 diff --git a/graphics/pokemon/crawdaunt/normal_gba.pal b/graphics/pokemon/crawdaunt/normal_gba.pal new file mode 100644 index 0000000000..7fe04e329d --- /dev/null +++ b/graphics/pokemon/crawdaunt/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 106 0 +189 65 0 +139 57 32 +246 238 197 +230 205 148 +197 164 98 +148 115 65 +255 230 90 +246 172 49 +82 156 246 +65 115 172 +197 197 230 +24 65 106 +0 0 0 diff --git a/graphics/pokemon/crawdaunt/shiny_gba.pal b/graphics/pokemon/crawdaunt/shiny_gba.pal new file mode 100644 index 0000000000..21b58b2a04 --- /dev/null +++ b/graphics/pokemon/crawdaunt/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 148 0 +205 106 0 +156 74 32 +238 238 238 +222 222 222 +180 189 180 +131 139 131 +255 238 139 +246 197 41 +222 156 238 +164 90 189 +222 156 238 +123 65 139 +0 0 0 diff --git a/graphics/pokemon/crobat/anim_front_gba.png b/graphics/pokemon/crobat/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1843423b7675a56b6ada8ce8bb08b7e91caf3877 GIT binary patch literal 1132 zcmV-y1e5!TP)PbXFR9J=Wm%WbLI1tBGh>aV=50FD(C-ngts&NVj7FAsUEtX_+ zjbF#!CPlD?w($W$09(yIz!mpON^BRG9H5(_z9@>ai!>?1YGwX3U!2jO8w5YJ!u0w+ zi&wYyi|hN#=c@+dWquV1A?X`vhc|#`+cgC@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ode 100644 index 0000000000..9c466e9e82 --- /dev/null +++ b/graphics/pokemon/crobat/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 139 246 +197 90 205 +156 57 180 +115 24 148 +255 0 255 +255 0 255 +74 156 189 +32 106 148 +16 74 115 +255 213 0 +213 148 0 +164 164 164 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/crobat/shiny_gba.pal b/graphics/pokemon/crobat/shiny_gba.pal new file mode 100644 index 0000000000..8f22fd4b05 --- /dev/null +++ b/graphics/pokemon/crobat/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 238 +246 180 197 +222 131 148 +164 74 106 +255 0 255 +255 0 255 +139 189 32 +74 139 0 +41 82 0 +255 213 0 +213 148 0 +164 164 164 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/croconaw/anim_front_gba.png b/graphics/pokemon/croconaw/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e7d23841b1a00a70998addc57d09a4d3573fa0ea GIT binary patch literal 1225 zcmV;)1UCDLP)AbS7+|Eya7S|H6S7<&K!|K?)mv{IaN2oMku&TozX00001 zbW%=J06^y0W&i*LM@d9MR9J=WmoaSHMif9fn2QWZaM6y10UF(m7U(Cp*h0h8RJ0T% z5`kJk+?d%N!lg}CyL*9B8rq>l%ntTapm2r)&5-3dB}NvVgf<1T$gLAfF`Cr9{v)NL zB|q(IJ!0p3J66{_A+}^twsO?4<0JTF*5FN&qNNtD- zqNBlSB@lhTA4U7$R&NmvqbM32TmVFo7sr)5D8K{rhiX8Nz5rb9YM|EzKLx82==Pu~ zB|zmK9e^k6(uR*>`bk?ZG=sId4Oa9O6<;w7)_i8002bYftA=_6cn>p>toQXb7;6!6RoTe{6*pO{T!D_A zW*;W^)qyfcmJ{d}e*Whs&j2wYO2i9&`tv4NgrI@+R8zp+D_jUcbfMAE>V}~*Bx3B* zH@}|)TjCMfCr#h}F{@!~yy$fCMY8fXwwm7s@dyFzks(gr{id!zuy9LCD;ffUR>0^^i1 z=Hp+n8M$x|uRZeJG`5tx{P1^vp$4-NYJ7 zaeRv9w{)}XkgtfpmnVrGUaeQ_|6l*vfO4P~SMRVl(6so=&ntmA8fx+G-mogJ??*$7 zS9{X)f!D)0EkVp{H@?BC-HRep4RG?mIv8p+n1a?HsV~5T>O!-w8jNGi4ZHktXJ?hdXDU^LnL- zHLiuX!ceZwph~mm*TOLT?AM8{iioKLpDQ2{%2VQKKyC6k4BzA;#ct51cJpztgMcc+ zc|ja_{k0px^*^|9)pPiBDuV)&V;mAV-YGdaL12n@0nlP#mhGVaFbJ;W4tQre2IU|1 zBn&^z^rU0tL$SD~YG9(CSgH!ja2hzQ}Y9 z-MJ71pkwKMHp1aQIVbhuDt4!DY~t+S5|loyfXAF105K*+4JD~H-!^y#EcBs3wAxA^ zu!gOrJ``44=>r-N7r8#5fD{o0pnxp&p{9%`wBX^Q{sEd4>sxtTjm n@n-(pAADJ~q<^fJ(I5T-1E)rN5|myZ00000NkvXXu0mjfhGs?_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/croconaw/back_gba.png b/graphics/pokemon/croconaw/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..991be60bc8bba33d928a422af39b523251fe7703 GIT binary patch literal 709 zcmV;$0y_PPP)AbS7+|Eya7S|H6S7<&K!|K?)mv{IaN2oMku&TozX00001 zbW%=J06^y0W&i*JLrFwIR7i>Cl)sMCKoG`VkR}wT8jPN`{aAl-M>Q zjyEz*uMUU^u`IbIgqY^-M%<2*5O`K0D6M)02g5wi1lYMT7`qibx|5cD>DEQg`4CjjUdnQqED{CTifYF`Kyd_{+q09g8Lq54OBHL9GAI*J)p z1_^g9IGa+)LYztVsQ^mB006j9n>gcL;9$Z61Yi;? zH-9qyFaU@^M}QVDrhg~`0w*P?BD}E{fgc(jWphd)%5}&k-HpJPiZWfSk)U)aH2@ys rohVAmluG?G4*+;AuBv99|91TWS=)iy)9O-100000NkvXXu0mjf9UnK> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/croconaw/icon_gba.png b/graphics/pokemon/croconaw/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6f57e56561cd13f4dd184ae5dddf986fb55ef4bc GIT binary patch literal 356 zcmV-q0h|7bP)DV$k7R5*>@k}(c~FcgM+0(u0m;ciKEftc`CdL3Mt80hRIiQzQP zIzZy|!cYcCOs&S)*Lnfa@5Kpr=#LdR+A8g7gLX;O;7m}$2qs#INy?(!~h zR~0>?1K=u3NF2cM8Rn-?f+7luzsVN~vkirzepq1+wOEi5v9iLX1esK=V{fY!X3UI- zKuLwchcKNJCITxApS{xWV2DiYFl02elMS34n+-#HTlC~xubetz%W^I88t zLhJZ9!x-H^^pOhif1#7JK==Df;4a8A=4U+>aLlqSJLufSDnLIJ0PQd(V8}eBy`u^s zrF36iVIT_d8^)kh=(6lIOWU3|V9+W2pE;0NjV@!OQhw+k$uc?u*&%@G2 z0=Nu6V2hLwfi#=O4|Znf=V5&V6JQVMRU0+M3}M*ZcxW{Mz>Lw=RT$=g1C>DN`q8H_ zeCKXp%Yl}SkXwtwFcN#T90D~#CjJ&h(R+-EL%>U+x%SH_`iSK+!5Kc=^&00}&k1=9 z=F#n5EtZ{5W9!&hP2cYN)U||pHHVE9?gU#F?z$LUvlB>T8KpwfgSN}SOdmycmtAC;x z0?pOmu~kFl>Q9`u1p|fpiyjW#p-_Jzys-vub4mSOP`j7Z9~Spz^^YN7N&Vp|HMcQW zf3SccEGJigMPB?Gvb32H#U9Lh{;H`eVWveQ*;Dl3#eKa^RYS~6DK7Rp{`dF|hK`9k TS)kbu00000NkvXXu0mjfDCL7J literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cubone/back_gba.png b/graphics/pokemon/cubone/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a7b879b40d95ae807692449f54ee5f331302d8d0 GIT binary patch literal 673 zcmV;S0$%-zP)KlCf{oKp4d>6)B!Fb?Ss1&kR0GAcl(8hN2E^7iX%M z_~OY#svKu(BY_=HX30SR1Tru&!9Noz!79sbCL70hcd3Z&qYGl|CwY3md-uL~*0hKD zf73~l`+=CT>AeO%tMKgax()^v9;n4>KIS^hQ%`wz?z8PR=!4=GkDKCHc!RkQ{*<;t zeAwnG699}yOT20VmC&)AtDp(!)xhWH!#t3P*8sW_2+ICSY|%7JD?2$2&KWbP~a>ovcjr6(~aguJ%{x_$;gtLP5KeE{Cs>;g>yfEqh_ z?E;~b5HUvp5aD_|+uxGNxkM--(Dh2w{dgbH=tKac%cp(vmT>@kNsYJ_#Aqqcf_fP;q3Q71=#+db^8sKq2*vvHOImMV_fr6H6gwV@+z+Dw|5>bTStib`3RT}_=AGS>QKVM`g4ym4MvBJo@}&VZ2aglr^3&Zx)6!gxu0NUw(2d)g4qCSmxKI zqw0zFb`IvZFRCIphFlUHKyMe>J?$Y;6YB9tSH8r<{OkM%>edm*3l!-u00000NkvXX Hu0mjf`W`u| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cubone/icon_gba.png b/graphics/pokemon/cubone/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..679d8e7e55bbae2de824a26d3154131d12537fad GIT binary patch literal 350 zcmV-k0iphhP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H+(|@1R5*?8lCcWIAP|Oqg7^-%Wr>iRGUXk+1xoWgh0?x4NT)y% z(a9xO4J4jIr*5VH=EvP}>L z{`r(r7*PllDl%cD2@Y{#Tps}w#;FLHFj9$J7-`KW%sTDF(k9I7z5}{$!ld8!;~It0 wM~gJo4E4fws5I!@k6_F)i7a#J%NKgQ0Y{;J{@W6}g8%>k07*qoM6N<$g84L=u>b%7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cubone/normal_gba.pal b/graphics/pokemon/cubone/normal_gba.pal new file mode 100644 index 0000000000..faaeef75c7 --- /dev/null +++ b/graphics/pokemon/cubone/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +222 189 106 +197 156 74 +148 106 49 +106 49 16 +230 230 213 +197 197 172 +139 139 106 +90 90 49 +255 222 180 +246 197 148 +230 148 82 +255 0 255 +255 0 255 +41 41 41 +255 255 255 diff --git a/graphics/pokemon/cubone/shiny_gba.pal b/graphics/pokemon/cubone/shiny_gba.pal new file mode 100644 index 0000000000..51b6bc8ba8 --- /dev/null +++ b/graphics/pokemon/cubone/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +172 180 115 +131 131 74 +74 82 24 +49 57 0 +230 230 213 +197 197 172 +139 139 106 +90 90 49 +255 238 197 +238 213 148 +205 164 90 +255 0 255 +255 0 255 +41 41 41 +255 255 255 diff --git a/graphics/pokemon/cyndaquil/anim_front_gba.png b/graphics/pokemon/cyndaquil/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3974d5b40a79187c8cfb8b6631b4cf92247e16e9 GIT binary patch literal 869 zcmV-r1DgDaP)TWslql_|N# z70r@~D;h{bMN(knh!?=g6MzfqWGwLj_B&85P-X9RkXD=zMq55c+tDM^iBr-#v z%9=vCT;Y6I$~2Q{l1b$@>Sda+W8>oq4oR|QqF%1xgdGbX&wVV9zzx+e0H-bTkQ-gL zP^nY^;IL)OSk7W8v!&N4RI4=voR%F=fa3Q?O&lRG<=^VPwWf(>A;`jP@!&h*x zx(+y(do)40=mM{~zKbKg*4_w5XgtE8h=3CuTQ{0(Vg+y+>jHFyu&#AK1q%l`0A6rx zlSRb@$;TDG)7e)o{slY$@u>dY7TR#zj^`u53==k7A%B=a$^)vAw*&ZP&7_`aP`J=Q=wGo~H_w-b#8%I>2!0icTo5gc)Ej;&J}c7w1NRQSiU? vR`dtb#)=iWdd8P{)o}X_pt$Z3A6b6@@~yBIfhR;{00000NkvXXu0mjf=L?e` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cyndaquil/back_gba.png b/graphics/pokemon/cyndaquil/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cfc64164e139c46dd124a091e7456af5da50a2b8 GIT binary patch literal 670 zcmV;P0%84$P)K(y?yaFc1Jx4eii@=s(2h4^&<}moB`uKwI<&igUJX zWin+b5X+Ma7>Jv|Ms~_SP(}FwStKC9lK|d7WGb?yM=G&J#cqlM-Ey!YoA-3QqZ9;B z@gJkym0*v8lGT@g2ioOuCotOV1grt{R$v#6vVd&|nx-S59|7tQpbW4EW;;+m@C|jy z6b7g$N(WkJMGY{zcMUKwtzAq>pmYG~7upTIK+Wjh8Xy7F2GoH|DOG4w&>!um179m257nlOKEq5EguIg6X%rd_-vwf_eZCoWh|^k7ymnLLB~}>yZyOA*Ld}7zx;KmUsdC z<2pSQB93mxw>JW=Jpgdwb{8UwZ=>k?Wh4%Qr}+E$4T5{U_^561*#H0l07*qoM6N<$ Ef@cLFE&u=k literal 0 HcmV?d00001 diff --git a/graphics/pokemon/cyndaquil/icon_gba.png b/graphics/pokemon/cyndaquil/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5f174dcf17649148b5da52816f2898163d8f0ab3 GIT binary patch literal 360 zcmV-u0hj)XP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H=1D|BR5*?8lCchhAP|Oq0*P~*zIc;900~292&Q8bQ+E@BI|gyp z+AG?W13PwW`m=r9fp}k*{X)Pm3~@vgjhjI9>{r+>3Q#`o4Ti$@s)@mYU&f}<5IPJO zBV|k@DEA|!p=BueBp#F@*l}K4OGC?0LIr2rLpaotX{u$obcwM>v@x)pS24&%*WKcR z-1=<(Mq05Hwb?%y; z@QB(ABU54Slazh@H<*cfbU^H%nq zZ-2T;7k`BiqxYG4Z+2Guz9QsN(Hi={$T;}EA1cR$I37qb2juMjo6Ip8nN1G>VsLs7 zTpx|V@&M%8w8W8Pa5S8v`j)A}dJYj((arKP?)*B66xmNR6JC|xCxLoQ|K zoIGW$CYzazHS({K{(EvKODRX7M{aJ!C{V}l#FH$Y{rnBfHOWn11PV>$XSTC+X1m2$ zj`Tx-C0za~oy8Q4H8WVQKSLr<>GV3*$T%m8aB(7Xkg($ri!ge$*Y=P_Jq&Q(YVXwh?1VD5wQZK!L^Fl}*w?P`q z?#;j)EfhdCzQEIB^I9a3pt&+-g2?VAQh^m34)aLrMK?skCkAc~!psS@x(uf68P4aUrfJ#Tz_ozqxr+WWD z-1QvsfEn`i_W9?BDq9fz;_+ z`gI*#;u?m1pB+qSD}T{Hsai)u2slFX=L4p)lRKklD%{C&9O*R}`Rv4JbH6=@k1~A* zBR@6qD;@RG5Q3BfK=izR5_?T{hf-(cjIKCu3o+RH#Sct9rIe~{k)s!s@@mERz*Sc1 z7M*$0a)Gv#gWWCS2fn0qcKZ#haHD2R+45y@n~{!2tHt!1v~@09fk%2$t?Mdw)o;+~ zXl4F~KTe2RFS%_w*K7B*(qgbDI2-!7Z?gldr@aiu6}V(*a!l#@#-Ii*O*R74Q@XrSIUp7*1$8AuM~o;Aj!RD~5$S zn!Xa{4w7hLUcgncq<$3+r1V{l!X?^=Tm;alyrRzDCfN;ha;_RLbu=KGq!k4uR+{Uo zQH<{2DcVf2sM+HcvQ3hYwFh{k#XAt<{$Y9m_@C-u&e(A@^P}NH00000NkvXXu0mjf DIrCie literal 0 HcmV?d00001 diff --git a/graphics/pokemon/delcatty/back_gba.png b/graphics/pokemon/delcatty/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..38bcfd5a74f266aaa8551d8903a39a80372b8d71 GIT binary patch literal 737 zcmV<70v`Q|P)Klre7_F&KtDAtWU3$E16fLyFWP%ekt=g4BeCii|AT zP^w7%Ge}8UP?Ir>FKk)BN0zd{eRm64Am@Cx&p!K7wLhSJ2RQqEc>VdaIYR#H&&vMd zx99FC5OV6-16WRo5C&jb-ri1XKv1xS0hVljU>>lIvjdAa21psI1}qulxfvEXihTfo z5rds7Fyb+He2|ez1q8742(@Gk8&Uys$`Z=QfC@-KMzBY<@3!`1fPvj~oPeGcAY{SX zU&bbK%eanU>BH!fl?zD1BmmbD=#NIq$6rXo);${naGXcr()jDyY*uZ&0g%c?9*obE zp4&Lmf|AgF%K5^2`b>wC;L29M1%e>X^Af;d6eypYHn$OY)r z1Xe5gaOVfuyOO0md76~_sDNZ*0UQ--bnh%7Y>Q+9D4=;#lnH6NioR6b0`lQjR_&(~_XWw^${Z~B7rwleT~yiW z8gZt9WS`hp_w*~HR8#HhmH({Hdx691kEp8*ggtLalc@`oRpN!%U;`DF^gKWpL0aE$ zK2YqkBsOjhSVT{LUXPDD6eWobanDV$@lEG@kAP|N<^*BD#zKyx9xAoNIeF94!rx2JJD7YsR zp^!kpOigyxq~~7Rxrm=L@r?P5N2o zCk-R{u26jffC{_m0D5b264%2IfFx;7;0h(2Kp#NQ*a@-!5LxzDEPnsY>=M5V#+xQq zAZiyZP*cpHK&Y(|4>gMI(W(@J3w_A$b>tR9cWgclUPBf z*>8#jsYh0SR)Vz3_JDy1jVkl=?8iHfMFs#JY9S68%+R!opLY07e|!Vw#Ll76Ncy$_ O0000AnX5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/delcatty/normal_gba.pal b/graphics/pokemon/delcatty/normal_gba.pal new file mode 100644 index 0000000000..7d7d44e120 --- /dev/null +++ b/graphics/pokemon/delcatty/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +172 205 139 +255 255 255 +255 255 156 +255 222 98 +255 189 65 +222 156 65 +115 74 82 +246 180 197 +189 131 90 +106 74 156 +74 41 123 +0 0 0 +222 148 164 +197 123 139 +164 90 106 +131 57 74 diff --git a/graphics/pokemon/delcatty/shiny_gba.pal b/graphics/pokemon/delcatty/shiny_gba.pal new file mode 100644 index 0000000000..caf7d7be8b --- /dev/null +++ b/graphics/pokemon/delcatty/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +172 205 139 +255 255 255 +255 255 189 +255 255 156 +255 222 98 +246 172 65 +139 82 65 +255 180 98 +205 123 57 +139 106 172 +98 65 156 +0 0 0 +255 123 82 +238 82 49 +189 65 32 +164 49 32 diff --git a/graphics/pokemon/delibird/anim_front_gba.png b/graphics/pokemon/delibird/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..43ba20e19489d02b67c3a02885824d8404e9a6f0 GIT binary patch literal 1198 zcmV;f1X25mP)}f`t1QWSmnE>B4YHDzSuc zN+bS^t@0O`+*cd8u-ZK&MU`6ABOxmeJuwdD&=YYI&Q*TUu+pYVnSEoYY1e+Hf57HR zV8i?Py|KqL->;@U#DBy6dKy2Yfc_bE`Ymvz-Tfa28ZbU|)$v3d(m))#33W)!LxLRS zJS0=xUx`gf+&XRqp&zDF-O=cSGl&>Ody@LpkfTed zO$>rR(X^%A1vW$UG`(?bOXLc2(Xw1ETzTn&os@s5BbK!li(jbefe53w2o& z&VYK*vj|vQApd#kxGs4U8OCybc(o&h+dijC_`r`Z5jd2R>VW{xw-CaSoc~M^MJuON>*))U!Ttnq4w2vWMvbsZw@5O#^9;gppcn zwLV&T0>J4g;442k0Jld0bLq5M0I{)Y^r6Sgp;5*f2rPpbZze$jq16}LUNTJ!-tx6R zh#nt7;H`?)>_3(mdsgO;@nMehiQoc`ZQC`**z!307z~-8h-RQf?76*zKnWl7L67r% zrxV;ncJ0caY}qI=mLDS^I!0iH|K0v1<*2m*6<<(gR~&a=!1L@xwj=`ZnF9EbLR zn<@f1c?TT3q1B^fE`OzYW%90jPQ2QGOT0)&LduDIN$)}!Qhut|bs3pgqpek=(-^Pp z`jqSaCR5W7@xO@pyKjD+P{1O6{`F7eZ2rr6p9J9Oz+3V0vw5HZ^bbuB=)WEYw--N# z(Dz>E;UUmK9N=n(=QaWTLyIB?eK^geJ^8;C6fo>S61NB?|FpcvmH1npf1rd@yR!%Q z6_KBLa&Hg*BCpRp`i?!wq`zYiGUm#3dyp}w+5^-RHq{;|V5&X9+hi-#?19qemBK>p zMU*{I0NR87YNS0tU>ViF;n@Rv7c1VWKiUIQx)In?Gby@~R)1}lKfSjHWQkc{{ZSJc zt^V4z2PAu*`d>r>M*EFYf4Ddc1D^UPjIL6D2abYy-SpL894qzjgcpad>;bC3+re>` zv01RktgrrSU?}y+3c&@6fT#Y-=kSSukUyU_O{M<4X`uRF2m^xddwof%KW8gK=Et8= zn*-9T6-|_XrOeV(R$&BZy{P=dM%MDB*A2g!*9a8e78S7Cn7Hl<1w4CSRM+oqPcGcc zKwcYrEmVH>`A*|Jtj&6s`ThBxU8@n=s^7bZ{YteSN~<2q7~nmw+7(*7^$lep19MgRZ+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/delibird/back_gba.png b/graphics/pokemon/delibird/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b4dccb1191a8fd9d2abb6b9b95db6051eaeb9452 GIT binary patch literal 786 zcmV+t1MU2YP)4l)sMCKoG{a;HpTDwxEhdqzxTi_O7}j61H1{;L;$$ zJq=RC8&E-g)fq}#vRu%R34Vac7hH$F(%v|aX|x+Bm|gm zB+#K+z%@;fE?w%HGtX-y9TQ--D9oT#+yc_{8vq1_8Gv}HX%q7>BcxjhY}yq<37|Vy zFMzcRV5TbQx*$G)7l`bR3K(5KU;{qNP++0U6Y`5O#`#EZ!AL#vfw6PX<2zXB07`oU z#vb8OjPxFTh=v&GRP5$Dj~)2PG0tVLT7dWk!2LS_yowytp63BXLbE@ibjEog_roE( zY6D$>a3W}c`6v_9tEVku7lsrgP{8y}3s||7Dk94I)9H(5-cV^AJBSYb*OOWwj{KAY zaw4_>(rL9 zk5_ddw-FgJw&lD4#y4qDuYrpe0t3!ViFKpM1uho7a7#&~@oimVYun!|3ihGV2k92T z@Tg!vSvLn;IGo{OoR$hs3m{@RECtYzGfrD`+m&Y_1srU3Y`w0r*oqSh;3Y0J&7C18QJ2h3sD3f9u#XLPx#07*qoM6N<$g3}0LssI20 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/delibird/icon_gba.png b/graphics/pokemon/delibird/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..438f808631b55d29a9870c31a69cb518c46db5c0 GIT binary patch literal 357 zcmV-r0h<1aP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H<4Ht8R5*>@l06Q>Fbqa>0wQsQb`JvY$t9R!3tJhG$i`VKBFg4g zM65L}X@0sf0^jDRFOG-D*jK0P<}+7n4ml_fW1ON9<_+_JHg5oxd4rJ!koiwe${uoH z$tkn;cwv7G00001 zbW%=J06^y0W&i*MbxA})R9Jc<(#}O%y`SHE^X9#IZxQ-GR>>_F%RjwREd&c;q%7h=%c+5u-}k$>LA*yTp9Apd z$tX>^KCh<04!`4f*#0Kn1UcfC{pgQT8tZ=SfQsJC_dC81aRWWVl0hCl8;KXQizWit z<$XU}-OOp*<*9eQ7>xliQw2FWvWevxWn}KctMHP~q=IxOrSo8el+Rp7W(yhe*uezr z_{Zt{MipVpGU!#*yNwK4KVXHmvJ5LVu9VlJ$bqB>z>YHj!!Enot3eypCwn+>$2LfJ66E6Oc7T87PM~zYuaz zz?H>aqI>1kfHy+3zS_%J7~qzRFzbJF8c0pU@r!)qY)1jeL`@U+`1B=IT5ir(-_db^WV^2l0QAXC_Ty{f4YdHi^_Y)I@=~v2_B)I&VaR{hs`#PpB}o+MjF`O< z=V5Xb{Hivx4>Lk{5Y7(<2lrHj$yjTj2Y){a1_Ra^s;oeP6LO7Aeg{lpSA>pE>ErB z$v6QFKih_GB+AFAELF_X2@3lJ(qXs`c{5JyYh}YsM#fL z6P~2Nb2kH48x_PH25v}}^=^1DyqJE@^$sBJ1Vb3vJ#gsdU?>NGT&d&PJQ#2>FV4D< zRr2ui&BL4qhoP7(FaQtA63FE*W`i*MlZOvveVqWNHwKYJ2f=|9a)O dXgkbu{R5qJ9En&e8`S^+002ovPDHLkV1lTs;ywTX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/deoxys/back_gba.png b/graphics/pokemon/deoxys/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d8ba065fdea90690b751b767ee83cca001b52aff GIT binary patch literal 1190 zcmV;X1X=ruP)n;cwv7G00001 zbW%=J06^y0W&i*LBuPX;R9J=Wm(Oe4NEF8{Uz(dTa_+94YSTkNSd;8&A&2N6XknZz zETnkxY;G=vG{=UN4GIK&>S944|4R!Y1%dySMBX|H6lULyC0Vg%)YI;%gB^(8N8k6I zUvI{Z#(&kG9sdA0V#jam;x=P^R0n)xtp6iG+}Gs53xQj#hrS9qrrK3S7h4xToFot;k>*n>>{}mti%^UJ9}icWPGIp zwS^#XN1EihjH7{3Wn10@{6Sl^_hCkHb}Dhp!I^Yvk5cs8<<)JC6HY{mNZ{gd^Xj%H zi`kIf)yDBnB8LeSP>nakT^h878ZK88Z)`{)pATIL-Uzde(M3R0mn;u5fH`WlQ~)%% zNMQg-zEa>73^W-CEL-Pw6|nM+tAK;5fQRXw0;pPOZtVgYs8JqhJ86Z1%eh?gomVJP z1zHs5oWH}_mVl;{t-$A;$eqz~bOII)aQ(>5mG8<5fEn;T+c5w?+yC5--_*ySvAy@T zfQ=WDdXYI2wIcQz615@^*Bq}5$+{7+H?gp=-+N{vy^+M{9n;MSOX&p?!!Kqc-8@6$ z&`j9yQW7`RNTlFPB0|C_nWmOto91zse%1nCatS}sR8(vq z+ZoXMRS%?2R#Io(dcX~?2inC|Sb%H&-T%~I0C*LdY5^PW)F}>|Twf8_z$Jv>>G;xg zr7ngtG61I{0#i|5m`IXS1sDYE$IIlVMnFX8mx-J(aiWjMada_7pN306z8}Zq=~(FF zYvTz=AU6GESUW%e#P$)mGWZvh_%8)a##%!7R|x!uKon0j@isg@#t}mg6a1cN;s{J4 zAu~uDt8s#-xA+>xS1Lmstpa%W3w$wE@|WMgPT2m*YMlDF4;M)s<4k-{{$BZUL+}RV z-!>lhlOz!r2+Uc(tU$Ix8Ei+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IEJ;K`R5*>*lCf^XAP|P{3E+|XFqQCB*o?Zw&(Xnel&D*x4#Z6H z(h?@3N^!4u*v6K}s!NcN%m;TM{~y4^4UC($ZPrAhwbraaGOwqaz_oyvkE2o%?sJ)Z zZXK#-0f24yRM{xsOV`#NE8EDfwEcEURVyG3Cd8P5M4CyVqH6~RxR3H?%o{QKq|L+7 z-AqIRZjaJag}ZlACN#+)qzJ;f;S7C!QNemqdw}qD_5@Jtes|G)r6AfjkhJKvpWh)G zpj}bcR4CMHmCxwyPxV{yFypT}EMU@MDVcOw^&E8o_?eH4I=~{xs6z&v{;UHGF{fX2 zV8H3)qyw-poc?Lj0a+MMf6_sJ9{6pPewcLF1yl^I0YWH=k2+BO4E|S# YU&iL;ptoLrBLDyZ07*qoM6N<$f-|(sb^rhX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/deoxys/normal_gba.pal b/graphics/pokemon/deoxys/normal_gba.pal new file mode 100644 index 0000000000..90fcff114b --- /dev/null +++ b/graphics/pokemon/deoxys/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 255 +115 74 49 +213 106 106 +255 131 74 +255 172 131 +115 213 172 +131 164 156 +57 98 90 +82 74 65 +156 156 131 +139 8 205 +222 106 230 +123 115 82 +197 197 213 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/deoxys/shiny_gba.pal b/graphics/pokemon/deoxys/shiny_gba.pal new file mode 100644 index 0000000000..74b8fc7775 --- /dev/null +++ b/graphics/pokemon/deoxys/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 255 +106 90 24 +197 189 65 +255 222 57 +255 246 139 +115 213 172 +82 172 123 +57 98 90 +82 74 65 +156 156 131 +106 8 156 +0 98 230 +115 115 106 +197 197 213 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/dewgong/anim_front_gba.png b/graphics/pokemon/dewgong/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..035275cc0f41a1719f33b6e30505b1d76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JOZw5dS#vu+tv! zB-sLCd(aof3dB3@0ins!<+EuIB7Gi;lMe*#fj~P7@!1D9gg)BW0Pw^gm~IaOpj6^- z38UX-=K)Fv5NF{#`D O0000Bzm&| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dewgong/back_gba.png b/graphics/pokemon/dewgong/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ba6c297ea4ec7331e5c9765a698ac7214e2d7123 GIT binary patch literal 523 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*Q;0eK701<=-GF3mh5#5 zYW~mg9}`_Yd$zf{T0lVH|NsA)PgJaddKpWC{DK)Ap4~_TvO7Ip978-huTI&R*K8or zrhHK5<(hT5PmPVaW=Jxo`o-<-pP)8#;xCpjInEm%72nyo^~Rr{pX<|S-+i~g@67~; zReFjI#ZC(I7;joIiGBRJhg~4z*mM8SJPpYr78gw#jzo0S{4;A1*l7E!Tzf)?tbW1i z)&nQxX3lhv>VK-epP4bk{pT^Jse(5GedbT(*wNF;J&|S8Z@v!Qa+$sC3MHHl`!+Ph zEX#i4SF$>YS7yS&y9;h{Uw$LAjb~Tlt25@zi~`#(ZAmm;(Pp{!l<|XJ%eD86A6WJz z@K>8|2tQ|T@H$pG-1#`;)wG28uz6hx(wagCE_2LG?+`6CKf>@an|b!ZZ02ZJzD~Oe z*DE>d*Etf_n@qkWx=_+1Yeu1w2dZagrJVb!J|7ff!sGfHwCICy7g;Ol2HTpR%vYu`S$X5(B^ zd6h+ER~^R&u9lzrD;8dH(bz8>mcaX~sp`OLPYJW%{QdF=cXH9#t?(2tDnm{ Hr-UW|#J=c< literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dewgong/icon_gba.png b/graphics/pokemon/dewgong/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ea227df7c55946ec8af154e9150fb1db6c85724b GIT binary patch literal 415 zcmV;Q0bu@#P)DV$zl1+-nAPhh~fj!GdaN8cDWUE*2P~2t&aobGlZ!OIJ z%RiVZk)S7<9i|btnd@;YT&-;YTs(;YT)zW7nY=6o(GQpg44B z26Y`c8N46UMfb-;>ajskNl3ZZ z&)N+`RJ@_$50DRt^`Z$Y{TqP151dFMgs3k~`Sx-rnH=;8qq8q@s%u?u^9@_B&-wsF z5XEf6>Wo9d*HPLBqQwOQCCekW1ioQ|6hRQgj04LrVqS`Ln1Lio!j8g!$)Nn)BnTKY z*U@^{<@lR4Y0_IO`0N4B7w&o(aW_D@@K}hI2l#(k-##xo_st>n0jT8P!VCpI^T_3n zhof=jun(}Z77i-|6uHOhr0FauTYA#kpJzfmkK*rQ=3tTz=p_y1tNQ~I_Ji>TuQ(}M zk53Cf%~)qETCjT58$ZoBfKqIh6|77r6zfAcA;|I+8tg=l!+oui3l0D>Eua~5p#TL` zs62zwVTJ&rl2U#xw%KrhFekc+4l!I?GKYCkzfAtBxle7j+y`f N002ovPDHLkV1haSAkP2* literal 0 HcmV?d00001 diff --git a/graphics/pokemon/diglett/back_gba.png b/graphics/pokemon/diglett/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7f0b0863b6152be0353ef6a20d5ec0b0c87c6664 GIT binary patch literal 409 zcmV;K0cQS*P)Kkg;xqFcd|ZqAc|9pe&WT)RsDBNgndl1r%9ozo8S6 zkn#o27Zj5jrGBV;Bfg=55ERvZM9R!v@8NKtJ#WgCyW=-aGuETgS~ov*U#JtH_Y~n5 zO6@v=0F3GZ?N+pc?iZB89|Yz=0$pF0U(|$NV9+_@TdATq;ODpj-N5hVhLQk|yR(2c z6vKo&4M(kS7V(kLVmBIPe4_Ag!;HJS)hWcV?fj7JNKg=)z57It#UE?6YiVF)! zo)FKy+*T=A!2Bh8$L`}C@|-(>WfZk-m9jW~-N52MFiVqQyG{bhn9R5Y`-*w+DB^%Y z#s%ZBv4L3#A_+NU04wegoCq%B5I_Jd;MoOCnc{hWIMNyfYQDfO00000NkvXXu0mjf DEUmP4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/diglett/icon_gba.png b/graphics/pokemon/diglett/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..43db9f62d30006aa2482bc84bfdad2be2254d753 GIT binary patch literal 249 zcmeAS@N?(olHy`uVBq!ia0vp^3P9|@!VDxk7i7!@QU(D&A+AYtnyag;_wL>D|NsBu z;eb>UTY{R4HKX9-K!%~A;s5{to1BiH1nOlh3GxeOaCmkj4anZ*>Eaj?(fT%QchMmO zfspizAIg957a95P^0;7-IbmVqrHLjr(xL%BrHj;0_q!}V&13v>i|Y1U)fH{AOS!n_ zwc4$C-0rfWV8!)G4!pmo3aXfx=$i^{2<}T@yc1Sg@tjjsVNN!qQFDcoM2H~AdI1GZ z789F;ZAzUVc4z6_sbW36&e7ZC`@D@0RSt2SRTlUl#mN`=H|4PDx|1xcrPM5@f4Sk$ zlFaKZF~8a%@9-OoxK67#EQe-UEs4I-`GDgj&-aOm=X4TZ>R8-f@8MBhqWjnG%4N;K z$BwMYK5mR34?Ms2jVruwLEhij@48<*Tu5y4Tgk1zKSOmh{c%B2TpxS>RvG?P2X7X$*zOdQ=Qp|8E5ZNnU4O-f zEeU4MHVM@Xkwrc1?rjafnXT?~&Jx=@eP+|SD-(==Ni7Y!pV|EPadt_)ipsVX;mLLu zmk$az&1dJ)Yy1)EaF9=L=MjCUs*Wtb2WzTd)|DjenQPZ7{p!pFL)jY<>38i7+8QSQ ze2{$Lfo$CIhK;uApImt)cE4Wq__bj|N}RCQ0gWH!HOyVL4nHp(eJ%-%QU*^~KbLh* G2~7a%`v9W= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ditto/back_gba.png b/graphics/pokemon/ditto/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..002635423699cb98bbf315d8d862840c8d4ae6d5 GIT binary patch literal 399 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*Q;0eGW`D!N8gUVdpGCm z)#4>vf|`ppqu}B|hM}S1|NsA+oQ|Ia>SZhm@(X5gcy=QV$maEQaSZY3d^_22(jfyL z*I+B(Jayyhh7-=4@478X+;;OwiOK1fw#|X57Hpds)gzkLZab}SGxNpM-=~YZk}fW) zpZLEn-u%Y9`$@7^YBpzO>Rd?@qZ!#JXT#ix#UJ$Mq(?u&6I8Xi1l3Qe$VcbCo{G5G3Er zcV|}u^Q81d1=j@%6Bl~3J*<9eP(PpdNMNDxw|Nft7p{raR6N<(|J`yA3t#3mzq1L? z4)=*gb{H88)J|Jyus*mW!e2dK7X)! g;Xj*hvA-*|)429B9ND$49~epup00i_>zopr0PA+JcK`qY literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ditto/icon_gba.png b/graphics/pokemon/ditto/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e6328feb5ac9083e37e2dd3a9743cb42c1dcf221 GIT binary patch literal 270 zcmV+p0rCEcP)DV$w6(MDIw(sc^o4jt1QM z5?hw;Q~F@ZL7=b6Vs9N*!zWn_u#^A*6imPz;hIsvYyykF_b{W?Nzn_4*0CdO&Aaz) z3zuc@=i3|ge?8QbePR2Z?JL_?wl8d7hW#lH!~Sg?6cmTdAT>_|u!ZA24X*~`1Piu; UZ}Au+0ssI207*qoM6N<$f+yy2Jpcdz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ditto/normal_gba.pal b/graphics/pokemon/ditto/normal_gba.pal new file mode 100644 index 0000000000..262742c15a --- /dev/null +++ b/graphics/pokemon/ditto/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +0 255 255 +0 255 255 +0 255 255 +0 255 255 +246 197 238 +238 156 213 +213 115 164 +180 82 131 +115 41 90 +0 255 255 +0 255 255 +0 255 255 +0 255 255 +49 49 49 +255 255 255 diff --git a/graphics/pokemon/ditto/shiny_gba.pal b/graphics/pokemon/ditto/shiny_gba.pal new file mode 100644 index 0000000000..9879583123 --- /dev/null +++ b/graphics/pokemon/ditto/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +0 255 255 +0 255 255 +0 255 255 +0 255 255 +139 230 255 +106 205 246 +74 164 230 +32 123 197 +24 74 139 +0 255 255 +0 255 255 +0 255 255 +0 255 255 +49 49 49 +255 255 255 diff --git a/graphics/pokemon/dodrio/anim_front_gba.png b/graphics/pokemon/dodrio/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..96cead2d15946842914763870b8c69853c31057b GIT binary patch literal 1876 zcmV-a2dnsrP)V=!nkZ^1*es%!#~ zlp%y9NV*^2dw2JE--pmgUFpUL#_M))`QOaZ(Nq689^bhPWGK7(y%da_JC}yp4G=&R zMfp~J+ezGc0USM}oW$S61;b6mUuM5n0@S7yslw_T$*3g)pylI`g8T?=imTnCoeY4M zpTWnA@V^w#m);a>)>g9mr||JK1UOMF37VS^W`F=?{P3$R3m6lP%&bBC7_CG=3d5Bp zxtS#x`Ro;@kQqT{BV_!X-w*3b5uD9ti82!**IuI?DJ1eTWKd>OqzRuzTNnGBq`PI-(a*pF1Ytaf$y?;r}o);K_$!g`0zZY#B+7L2fzrRIYR zAQK=}#a%3^8`35(7RnO4cfYy&kO4k>al+qle@VbMG0zt&Snn@A-fuR82v~uQQqNRL z`cueuc=4*?V4U0Ey#QVWY$xSwtNGGvOgaL;YN$}mZ@c@g-GdP5{?Xss%Hu*A)+fhf zVb$njndJ7o-Fr<|M7uNUZhXo?k7rwL_EC2&wfz&UIK|a^zMJ%xt zIQPi&_FMNM`C7*pG45-1bD#|@ECAr(tW3W4APE5C8ug(;B%^L>*1*hba@Mq1KfLrF zc`aBfm8TsZXNz{-IbRML+-! z3+qrqHisDCd~O()qFE|L$cF(C(pZ0KL`QCI$+2<6){17qf`*`;_c-iO6~h`si@JA~ zDo~wf6zo&8N65>)s3p|DRjJe?TgVO46&>S(S#wVt0OaD9N?q$}=j;~))GWT`mJY4A z47g||qS$#tpwVjS3WrJQuyp7Epp1JmuNW58h|&%;7LiMbU(vzues0pVnqq8+<-iBm zBc+~FwDmUCC;fWMsEog7dOqnD?S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qo{XNbJ-bL3TT35!DEit~(NiQUIJJ(&VNifv0D{N%{at6sH)QWYzUUwuLGRRSPV8 zexXc27{K|u%z9~Hcycr@eu}g!u+@M%s^MsAk^6^f_x=$9GWodoKK~w+_q%?8EdYNe z9;M@BDP94JZ6ODq>jI#TA}jj9kw|+u98yY^DpkL)L=ico`Wq|wdcy;Sel+LQS4#8& zOR3Af0a&OWUg5&K21wp@Q!L9(Ng5;V99=5~}r)OYRCny(5c8JgqgdIpGJRS1Df zZq!sDrbIk|b&#YA7c~IuU@8o?-31)sKplXH#VwzwEx=qAYve2|7QYr{ zdbjKYQUjnPr6V@02B7U*c@1Rv%lkl?Y7aU7tUP@km>R<%ktW}}fSsZh$1D{Qn?@S3 z$ZU9{QWM=gfq4^9xAT1{7crh03mEW}ryY5F80FC@#^}ZZny6h~PCVE1a7-3T>M9st zH4u#^L(jZll+J697-M77xEfM@o#U`mcp0)2pv^GQH*=~tW_AXM25fj5^zu_?)+ZEo zcE-fOts+$WN%yg=v-=BxJsDPeP^~BT&l}}HA#9T$zD;`CVO-fs!OG8XM@``q_Nf8b kv&K2x*7L5K3h#XX08|2OkuPfJdH?_b07*qoM6N<$f`NjH9smFU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dodrio/icon_gba.png b/graphics/pokemon/dodrio/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3d462999e5e45177e977193bf304450fccec83b2 GIT binary patch literal 446 zcmV;v0YUzWP)DV$@k}+<>FbqX?0tuPA)wgIyAEp4anOnSB_vw%`2`JzI z87Lb9C?JDb+q9iJQ`T1F14)Tr&zL`SY%pYZfb2WDZbt(3oe3MbwpA?LfNPPhL8R-s zFP0hsoKSJdq#$uV3!=!WQ4q`Q6Xu9eYtJ=#V64x;)jZZ7;~S4-5EzCTG^Y0;@X1`= zr=IU%vWOS_VEnp_fQ<8oDAPNNM_ zMH9y}HN)APDOkE&T98(LZ-Q-Q3sa?;RLpjhA`>%T1m^?k7jqXLa> z3@VHY6dPukg;@m3H6YBwECS^-qY9$}8HN&7m|39la!$AkGwtD$$DJ_on8o}OhLYql ohlen+bbk8&%>dWA;blL506(hv4IGh!F#rGn07*qoM6N<$g606k{{R30 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dodrio/normal_gba.pal b/graphics/pokemon/dodrio/normal_gba.pal new file mode 100644 index 0000000000..445bd3377c --- /dev/null +++ b/graphics/pokemon/dodrio/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 197 +238 197 115 +205 156 82 +164 123 74 +106 82 57 +238 222 172 +180 164 123 +98 90 65 +255 213 230 +246 131 164 +180 65 65 +213 205 205 +131 131 131 +65 65 65 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/dodrio/shiny_gba.pal b/graphics/pokemon/dodrio/shiny_gba.pal new file mode 100644 index 0000000000..e7c27940f8 --- /dev/null +++ b/graphics/pokemon/dodrio/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 197 +197 205 74 +156 164 32 +115 123 0 +74 82 0 +255 246 139 +238 189 82 +123 90 0 +255 213 230 +246 131 164 +180 65 65 +213 205 205 +131 131 131 +65 65 65 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/doduo/anim_front_gba.png b/graphics/pokemon/doduo/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7c0576996586ca5d3c98b1789d0ceeeed776edb5 GIT binary patch literal 1129 zcmV-v1eW`WP)dvj_r{{a7DVqy>w5dZ)GsDas+00001 zbW%=J06^y0W&i*K=Sf6CR9J=WRxxkmHWcP`aw9F4UMYQ>EWD#Q)M$PPAPRW5b}5xVxD(091qM+QV1E79U^;g zShys_69B+v$Ny8TE%1+#5K<;~-ow(Aaop>2DLX4rBVM44UeX^9Y{1DUO8;b0`~5<9 zNVwS0w|_B?+_l#U2sAysgBZoc;zIX2HnF5^39|MigzH6iW&z%SOaT%iL(0|*NUfuk zTwQ@oJfI9qLEqYFFIQKb*B)amMgX$_Bp>}Mk1%Kl<1*EF~8pIJV5uE})e_`cg{lI4Os_yC}AR0CU)K9X;j0{BmZpvTxtT zx9BAXkepX80MXe}W`pz6NkNiGS0pIh6!?IaH{@}0;|2tin)nlU4dPD`Fxvyjr+6;Y zJp_im*drmIk-ZYyYw?{G{L&D#EZzB{n3M+Kl5ktB3L`<44ua>+)8htT`=gPAqG~q5 zhUC|im;SILs7dWVKi`%c*EUQvn_ImXKWy=7kGHB6L_7XB8#`ug-8hShk2OV4v6 zs+F3MHA^!W#IKZ^ZDBaNfiddL5}$c&=9>6q#-6k5GUcf(?*H>p3I83=LK|AJ9j^^t>p4YRQ8!4@k2~u0;u9JRo&=Sa5!3@40URef`in*{ z7({&w;fY^HDVMcODl@zz`%2E$C>2R9c%yN8b8GJ6MkhE*^W zL0AqYf2z&0kXs95Tbz8-E*{_Jg|ry9LoPx00UXdk>}v40053y>V)C{Dd2tJ9h^4VO zuFfL8thF%N&^d21!yzA<(uD{f60|_NDV+#!F~n@8i>XTnG3KHo%^rVHPSBnduJLdD v!)%|&G5!H_Ke!CWKmNhxvtIqfe;0oPlx#sa^RraG00000NkvXXu0mjf;;ItP literal 0 HcmV?d00001 diff --git a/graphics/pokemon/doduo/back_gba.png b/graphics/pokemon/doduo/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4589eff60724b206d34276c3da35db3e5d24ce80 GIT binary patch literal 651 zcmV;60(AX}P)dvj_r{{a7DVqy>w5dZ)GsDas+00001 zbW%=J06^y0W&i*J2}wjjR7i>Kl(A0aFc5~_CDMt!ot>=^jqPo2MHAbih|=sXhs4$g zG*@z2DWU~lf)^l4gV098yux|xY&K2|JODRJ;mLgY=bt1tLjS{y_^W!Riqp^P0%MgP z@?s2Rgi<=|QcgyR`DdYRWH!xm6oLX94oc>vUz%x%Jn z)f>(fyIb=839_Y?W1a~C4YDV$!c7I z_6}7ev3z|?ao)q2-#);h4U(m{;1HR0U;4r%mr4KU@BJ1cv{h)kpPXW*G5 z65`Q-K1hbI1&;=J$r4WsQVn*WBG!>kCfM^t>bfZe*+*@(l@Dg4PB+b4v*9|M_4X># zG55~jo`$|DMrdcC&{sjSnSRsH^p!An$n>=^EcD|g3?K>phY}`c`fH^xG6?d5bh0pav`wIwrX!iZ8A8+|ImREIMaA5!d002ovPDHLkV1oY#nBV{a literal 0 HcmV?d00001 diff --git a/graphics/pokemon/doduo/normal_gba.pal b/graphics/pokemon/doduo/normal_gba.pal new file mode 100644 index 0000000000..d3213543ab --- /dev/null +++ b/graphics/pokemon/doduo/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 205 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +222 172 115 +189 139 82 +148 106 74 +90 65 32 +238 222 172 +189 172 123 +115 106 49 +255 0 255 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/doduo/shiny_gba.pal b/graphics/pokemon/doduo/shiny_gba.pal new file mode 100644 index 0000000000..fa2c1c8fb9 --- /dev/null +++ b/graphics/pokemon/doduo/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 205 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +197 205 74 +156 164 32 +115 123 0 +74 82 0 +255 246 164 +230 205 123 +131 106 24 +255 0 255 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/donphan/anim_front_gba.png b/graphics/pokemon/donphan/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..23181fc634ca29e680ebc5d1ce14910453914d3b GIT binary patch literal 1356 zcmV-S1+)5zP)U_nec0vC{STz7%UXBWXLE%&h~8EcFIqE-_ISdIvBWwH}z|fw|<$qIJf4-4F7W0 zC>+?df){%Lz}V9bL50Ri0Yb2`1TF6$Iwc0cIS1cgTY}*McAS0OpT~a}11c*IWMK`|^ ziyXVDfqS;&)~E_(5D8G?Vj{6jvx>37~t{=`a=3I-s7MmVuiv!}zTGqp*owT=3Re=cQN%Vj<8z zl8g0kf8#=Nj&?S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0Pd0;1(13a%7A!8U$V{&#BcTv zLQUU@=hzVeA_Ku%GxHBqUI4Z2uR_=KTIvtD+4*YQ-%Gltb%frG_De5p%etmp!XK>J zhCGB-WA*|91nU8A5177Kug3&c>yd%*zwHlPS26#;V*CZkRN_OOii~>z0000@_9~}pxIQ+eI@xac=i)a-WJ;l~WrhkMm+fZvQk@Ks#@F;iwWa5BjK%o+8wt1u zkhzp!i^mOsRw?Qy*211z{3U>Tg%Cg20k2$@__Yq)ttvI}O9VARgqZ8V~6FQ@xDu51Y9I8MAbWO8`o$b$OBYIKx zB4GPfeo05Xv%rv^E+Wc`c}+XIW4RIVYAvtt;R-oca6iWv>i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H{YgYYR5*>@k}-0`APhxy0&@pCSDsln>uL{|hK@GBS+17Z^d81E z&_oelV<5#=X%fbbz9kLzdqjWxD4(CEj-EoB1xv*2!>uIIk}}55`Un(z6%E_lR41Z& zW4D!#m;;wK&F2Uu0It-e;1w8%wsgo#z9vLtkCqL_nS}IiN{a?~f#hWi>uDaHtT`{w zVTMB!(C0-;-0KHF^eDkc4ThYo?LQjUwX6Tt>FDPZnqUVc^iNQc=}Eunpsr8)RR`mD z`aGRW4*I%|?DRLTBRhSr+&pFajUOyssr3V#gnsJ>5SAZ)gvGt~<4c0hkKr=*ehgao de$cP_@eQpK$eoyF_3Quu002ovPDHLkV1i&Nup9sY literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dragonair/normal_gba.pal b/graphics/pokemon/dragonair/normal_gba.pal new file mode 100644 index 0000000000..4297fb8e9e --- /dev/null +++ b/graphics/pokemon/dragonair/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 230 +180 180 197 +106 106 123 +123 197 246 +82 131 205 +32 65 139 +24 49 90 +16 16 16 +123 49 123 +148 205 246 +82 164 213 +49 123 172 +24 65 106 +255 0 255 diff --git a/graphics/pokemon/dragonair/shiny_gba.pal b/graphics/pokemon/dragonair/shiny_gba.pal new file mode 100644 index 0000000000..da7b6d02ee --- /dev/null +++ b/graphics/pokemon/dragonair/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 230 +180 180 197 +106 106 123 +255 246 164 +255 222 82 +213 139 16 +131 82 41 +16 16 16 +123 49 123 +238 156 230 +205 115 197 +156 65 156 +90 57 98 +255 0 255 diff --git a/graphics/pokemon/dragonite/anim_front_gba.png b/graphics/pokemon/dragonite/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..188c9ee595947a3f4ee6f838d8bbf9cc4bda147b GIT binary patch literal 1895 zcmV-t2blPYP)`AF_RZDRq@0{;)z#i}b8`?75dZ)G6(CKp00001 zbW%=J06^y0W&i*NV4F9yyQD~oxkUiS znn$yeu*M{8VXN4`_!+N|Y)#W8V2uEioM)XIGyHS)FC0T0lQO zJegiM$at7$^}Fb4{A6UT4ikC|F0@)`Juy~4PRrPigwpo(FglDCdl?`` zgAkM25YGsHtL~yQwsA@bVJ>Z9JOH#Rc9&8cfVGngDhw-TIcF-x6oG@E3&645_T1jI z9`s&70Aww_pdz~F!>#!qXzzU%z`t+|{Eqc}t2oCB+I#B=;3@dtE7tR#n+MT+(Cc=$ z3~r}X0M3Ispjus6&lb02|MCi=G#XrTiDWR$|ePR}JK05%7}!FB;S z_tSsC-a92tLfr%a8yz5E3kRv9fW5nkCrDk~V`9PYPkY-uN);oyjk`=J^@2Xw%@#NS zpj(_1Yms%kX&MB9OJS!oI5z_F7#cI65`YOq0hq0A4s6O?jva$%$$A}xp-V9x4^s}v z+enE>@*^L%=r?&jlrJw|e35{bIoxjJ4#BR-c>DIt`1Y>?&}S~cqYdAG^UmKT7Sb){ zm7=_qTj=*LFg=-%#4cImcN)VH&+>{G4*_`O<9Z_i!t1I4^faBY{cwQ90U?QSp(wXX zb*pAsb{YQRLky(VlrB^o`a&dtjSLAMB%$bnmu6ehZpJZBHQF-~B-nWA@H|IXV|axw z>4by5?DCQa31{R0zo{r24;9z2;OqP09tP=PfDXPu4$LBpsfJ*ANu|!M!=ZEjOOJU=fCoTn(;_y%r|^Inq6vu%WNnn3~)ks#eXoR)J0f+G0a5)g{ zLpeHR18xQZUIwRxhl0mQXeWSzcPwj|jUxI30CsQ)%SJbN4Y2^)B31xw1T66W%M1bj zMn?h(?jTpSou~N@NddIWfTDAtRdP@ZB=j3AfVcwSwZPZC zLBQOa5Jc7~13RQdAPWvK>z@7H}c%fhR*g94xB;NsKQaa~w}$I9O7D7?2DK+K$4jpDW6u`YWo3!vku& z)b6VKLofK;XmD*eB~Vd+91l)Sq3vd!`onnO5xLA7^~dpGD+g$e`r~-8)hz5w>MzCv zw<-MBsJ~G6&3U!kRrQzS!47m^Sm*tZB^JLs@5O2r%Q6SzlDMO^ z0?=pjLi6BD0IGG%Aq&8*3ScHhN#)&3o#!EGnk||;aEtaf&m{Dx5pBv1+~q$JY>(1U zsBh?hvfRGhhLs#&k0Jl~dl#j0p;QZj= z_`shhI&YeC4;XXA{D9+w1bA!(0NLmB!)^hH@qm;7K0i3*jzKDbe4FqApC6o}9=Ktp z49NMR0yJ{~_rUq#pePvHYF7Z2iur-kyvMk98+Ir%rFdd~n70@hD41i;i&vSn!ZKi& zdJ$jno^gJdYx;sTtH|=HzSyAxXbuJrVJ3?XYylj9Isg(KQU?X z3J32+2;4}dD$mGlZ+@Q2TY{q2H;>(T6*9|3OWYdCm2S<+|y>Q4xq4;5;f h*2#C8GA~~G^gkrvT8n$f48;Hd002ovPDHLkV1n%^d4&J~ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dragonite/back_gba.png b/graphics/pokemon/dragonite/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7107f90cff8675cf71461856b9a3df80d9792c17 GIT binary patch literal 622 zcmV-!0+IcRP)`AF_RZDRq@0{;)z#i}b8`?75dZ)G6(CKp00001 zbW%=J06^y0W&i*I>`6pHR7i>4lRa{zFc5_aMxi+bcrPHy=>)4*Iz?HK`ox&=0R|7j zY_{MFu*G((`I|vwJKgPoqIe&#UpFF({-=6)qf2)mIKQHP?kA$IZ-I|L2n|Euh>Y}O z|9%Vfb=_C(P>DTS9T9yW`;HY4!%)3NAEi@GbQ-!A%^ptG%AzgH2Hz>4)gd}#zxG(2 z$~6#mluHy+L0gjb@3O3#%`k;>+Aqld006RJN7aKqiTzdb$I+ zWCT>eoys7PdLZ0GsM%p31a=6d=_etal!;^q9Sq@AnvM?P9!6rZu4Eu4u5mU{@<$Nh z_rc)hF$i!#z-6ms+hYR219CgZZZ?4Mw%s=Y)G1|Pmu@y7i@>H9AP0Eab{GNhKmh^3 zEP#c>Ru@Zz3)p}`yaK##vk>5C=t$os`@4Ym|M__M9C+3@lZXZI&D{h{S@LC%#hK$qZy3fc*$u7Xb&}hasnYR`La~4ET?GnSt@n2Wn_uO4S7by#nwI{t5ya1A6s* zy5W&9rTGdF;CF`i*Hak(&@y238nDX{{;N#1g{xYhoqxan0&XiTBw*sHng9R*07*qo IM6N<$g8H5mSpWb4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dragonite/icon_gba.png b/graphics/pokemon/dragonite/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..efcbd8f11f69eb6150f6655e13485a68a1534265 GIT binary patch literal 414 zcmV;P0b%}$P)DV$*l08nuFc5`vg3K*w={SK&OT!6J^yqA9SBgt_C>6Bq z?N$_7Z4+6Fu;~WJKS{L90a(k0=jqLi$NsA7wwC=vpiRhgH1BLASY{4^Q&|v7n{cMK zNf!6)wTG>o5Ya+y5Hu9EkD}pOVAlHyipBR6#~kw7OaPc{s^Nn$1Ob*z5}fV;2PmKV zP9~h8H12gup$Fz4!0&vQuNvb1Ewq6u!_@N7pE~)zOjqBXKTnXyb>1&I4v?D%sE<`W z4jV^wy<7T1uxGr#r|FOlvsfYtDK8J`yp&|Ts!of8Km^R`-XiUy%3l6Wzvf_}1 z6$f{PL#najklU^}FsB*|4jQFR#-ZbKHFfBHr#`q0^AB+N1vQ(*QTmg4&j0`b07*qo IM6N<$g0l3x{r~^~ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dragonite/normal_gba.pal b/graphics/pokemon/dragonite/normal_gba.pal new file mode 100644 index 0000000000..80f21c5c02 --- /dev/null +++ b/graphics/pokemon/dragonite/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 0 255 +255 238 148 +246 213 115 +205 172 82 +106 90 57 +123 197 197 +82 164 164 +49 115 106 +255 246 205 +213 213 164 +156 156 106 +213 213 222 +115 115 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/dragonite/shiny_gba.pal b/graphics/pokemon/dragonite/shiny_gba.pal new file mode 100644 index 0000000000..4e04571b1c --- /dev/null +++ b/graphics/pokemon/dragonite/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 0 255 +156 180 123 +123 156 98 +90 106 65 +49 57 49 +222 156 213 +180 115 180 +115 74 123 +255 246 205 +213 213 164 +156 156 106 +213 213 222 +115 115 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/dratini/anim_front_gba.png b/graphics/pokemon/dratini/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b80476eeed182de30979d77886ad6da430ad6022 GIT binary patch literal 928 zcmV;R17G}!P)3^%D0zNtSk*|PfwfI&yTI&o|k zXnC@~X6z;@Jl6tk`7~mT^G!|+`tLY1-2gJ8$qIxLUvpUbX^Cr8&@TuHxWoN&E~5#UE(~xGR3$xf|UQ;^Ptx0Q#ll zyQ|>(;|u#s2bkf&XH*5;9qj?Y)WQgq zH(|Lc=b$@RKu`lLD`t~`&D5I}(`tFGe-g&jctE6MIQD7_>qDHdq^x7PCTgtk3e|50t%E|NZOaYUNK8AKa~Qx8xxMY%lnA7TtUTch>@qm~%zg z%_cdWccPHAFSG!J5Qq?41;E`ke~G|(PqYAL2-=g@W#i@7`5uK-dbbe3h~Q_tz}xS0 z49*MY-PZzPe%lVE^Uf#`YT_6|@{z$B!dSsS)gZ+R+x)~A!dTgpzQYkH-sg@q)sAA}g+&o?P=GD$Yz%maZ4tmoz_jz40H+3&LkR2&ynCwOu4{nw?(A7( z1b|fm(C`*HP>C4QyY(hafFnF}yC1NY2q=lw$PgfIh5O50V1W2j1!RB_*#+&N)x1{) zh-qxOm>*cb3g9M$wQt1O$92Fd#sg+D=VgHy_v(EqA&Ifsy_Xq5sVRZLNhN{)ZVVWb z5b?k)0OdZ5ctF4H=|iOu>bvRwJ}i@_`}B|X=IcLQz3&Q|28{Ut0000Kl)Y}kPz;4LWQ8bFUmy;1QRA!yN-|dJySClJf?&fm z4^V>GOK2e-De3*8Ln}LxI&+pg_`CM8og2rw=>KxtfV+_pNYCf~N&v=ZV($wnlE4!C zKuD29_Nog4;G(&@eh1)dcnB&*NjX4IsuA?cY?4DL096Fni!93l@q;%J!8TJsh$xsa z39@+@Cj&OY0R{?~RK6cSaKISwmQ)3d0>8iEJR)w1D91R3{*tp0ry8IdF}2L?FckZyctm>wEn4tONwfzz^3eZr7t7&9K6x?2=0 z%EO}qh8*BHUkad_NZO}U7KQPN>@u_s3*?_dTmz~GZKSwkT+)je*Dh6!=Qbb`TF@%n z0MkY^Y6MpF*lz)54S?x$CcG>oy^TeaOS7&fmv#^hHOwHMWS7dM0vg)zB%rfX+87HQ z(AmAJXT4n4r-B8#ZF1jnSfF;x%{`_I|gEMhU5G|x{`XWi+c;FbI8u58D P00000NkvXXu0mjfuFT^t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dratini/icon_gba.png b/graphics/pokemon/dratini/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c26efee60215607ea35102673b786c5e51d8c2b9 GIT binary patch literal 334 zcmV-U0kQsxP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H%t=H+R5*?8k|7SmFbqX=g8B{_Sy82#l;v`=qWF%Un1~g?<3Bb{>DD_Cfn@_jFS70p% zn?qf(JqMu*%*Gsu6#&b;Y0#A;%=ZTL4KR-a7X7`awTliE@@(J#`D_GA(V%o#Gf~uj zz%-I~Dg#7r!k7=RA_+Q~-vBOnm5a?4?9HZu_*hA$`;cd4P;r50?Z>w3(F)V^*$;00 g=pJW3x^MdN0%I;~o_zzO8UO$Q07*qoM6N<$f+J^-3;+NC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dratini/normal_gba.pal b/graphics/pokemon/dratini/normal_gba.pal new file mode 100644 index 0000000000..97c442e6d8 --- /dev/null +++ b/graphics/pokemon/dratini/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +238 238 197 +197 197 156 +123 123 82 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +139 16 180 +197 164 230 +164 131 197 +115 82 148 +57 24 90 +16 16 16 diff --git a/graphics/pokemon/dratini/shiny_gba.pal b/graphics/pokemon/dratini/shiny_gba.pal new file mode 100644 index 0000000000..b2e5cc7817 --- /dev/null +++ b/graphics/pokemon/dratini/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +238 238 197 +197 197 156 +123 123 82 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +139 16 180 +238 148 197 +205 106 164 +164 65 131 +123 32 90 +16 16 16 diff --git a/graphics/pokemon/drowzee/anim_front_gba.png b/graphics/pokemon/drowzee/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2e74d279ccfcb72ec0d00bcf5f6c47e8e92854a4 GIT binary patch literal 1082 zcmV-A1jYM_P)2QX9X#O9VN-i08rI_n^j$8rPwzB zb&7rwlVXjSxeSBANY#i138Vl5%rt!Ehy949n`N|&Oo!jp)o z2UQ|A!z_bYL*G@*zOnHit&eg z3xq|)7~gzJV`dlUK^x->Hou8~cX2iifujq?;x8m{egIgWyGPminavRZyXnpZ-o9O) z90Ha`U^=zHK#JXTVFmc|>~s*Aumv{?e0g#*IEM-2kK9I>1;SD9_!T#6VM`bQCY=9e ziC@j->N)^odRUv_f-Z|)P=lhpd^^@!U(6J0Wqi9RsV`q|xhi4gp9duv>yekpDgUylD+|LXOsfsmQw)B!L`b89eUdJu31 z19WhhG(ctzhFpiIe*-iIV}B5^1|x@kxu?4$9ssSuu)v%2(g#|DvBB-pJOny}Q4s(v zeF#fv36R8666j0r1RVyaP7(zTB@pgE6^U{HpQ7AV%xEo+p%|M;WIn88dxwa+`^xxwJ*mgor2U~nI}^$mu8PjTMm z2o1)O){mq2oxrfc_)WCoLk45!^_SQOEk#^oCaXbKm`gLi7Jd?=*Nf zHLGNKRftz&M~py&xy787>lmE^xcssc&V1e0+P7~lOV*#Tz+Ioew8hQ(;ZypGA?l#m z1nB@>&ou$2t60wXGCUVDu<+0BuVUnR)KKy8z(c+X?hAhT@Uz!&`h>WjuDw;Z(ZSoL zVQpY@pYE1@%#96wkqu_ryp0tqO{q^;HlO>i{@``;k##1CjB@+c8=e*HGYDi3F5}$K z_*8DV$s zf{3}J0XF>su#p9k*4#lc!3*uc$cDWhb4Uo8ZpI}bOw56eQ_sX%la9A1Q0W?ebr8JU zLDSSTC0MO?7(Nd}8XO)v6hqHZx)KDYEgF(7b0?2@`^bI-lEql|St0NB7<2oFHxnMh zP;xg~=m#~DOTZa(2XGGd4x(-bc!NuN-s->o=$8GxKYq-=^y3SwBER_>Mv2`30000< KMNUMnLSTZ7G`42| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/drowzee/normal_gba.pal b/graphics/pokemon/drowzee/normal_gba.pal new file mode 100644 index 0000000000..2fc73cae96 --- /dev/null +++ b/graphics/pokemon/drowzee/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 205 +255 255 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +189 139 82 +148 106 65 +106 74 32 +74 41 0 +255 246 65 +255 222 65 +222 189 16 +148 106 0 +16 16 16 diff --git a/graphics/pokemon/drowzee/shiny_gba.pal b/graphics/pokemon/drowzee/shiny_gba.pal new file mode 100644 index 0000000000..f192e20d0b --- /dev/null +++ b/graphics/pokemon/drowzee/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 205 +255 255 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +189 98 106 +148 57 65 +106 16 24 +65 0 8 +255 230 246 +230 189 205 +189 148 164 +123 82 98 +16 16 16 diff --git a/graphics/pokemon/dugtrio/anim_front_gba.png b/graphics/pokemon/dugtrio/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..81f462cc6f1edcd9327e3febe296b483d8652279 GIT binary patch literal 835 zcmV-J1HAl+P)as>@9LI%#e{tE^76bK0L|GWeKNUc|(Tr%gA>>g;q&+Y?CuHHurUd|F zY~{l|=dSFm0Pym^&lewD*_G8+39#V`)XVPy`)^_0+X7%yFL%}urtE_TG{L8p1J0A1 zju;E+>jg~9JMI!bCbvaD0l>$3B?oN!$bovj$$`UTzz&4kp5w64gKnc7Q2PO2qaQ~A zB;$hL5x^(#dU+LafY&j=CjfWZ48j!fqyXGy5XGxhKmx#BMghOhWc>)Rg)Rp~eLDag zp&MGiCIa|+AmK3TnG?3O@N8hFh}CBHTr| zKiK!6>pI4GXu)4c2Q?iV?eD`-Ce1t-{%?qC31%Emi6o_cJ zs%h0~MJubUvi_`2#{+UQ9)SDbs|8Z`e^Pgly1%ak!2R8aq6o50&HXg+q5@W_`{xZ$ z)Xx120q*`qK;r%<5(p~Kld*2XFc3gl+D^^iB?CjnWKbs-YAZw41rk-_AG(xE zmih(BA7DovQSn*q(0oH3$95obGFBZp30cZLy*uBT(dZigGeE^)o~bAY@>xDe+-F%< z0qoEN>@86A3v`J-g{#m9xC%n}YwS%0&iODP0OVi`Tusy0gaUGHfF2;&Zns8ImgScR z$ZG+IvYJ)b5m-T~dnr1O!1$#ZXy>W{ld3kr(N4TwBq;TseliQR71De@_UzQnsmSVX z+cn&(*eUld{p>Lm=DxfGn8#4m1|ejtf)OxwtOd{pOlzEvZ)rqmSgZ0Y1Stu%qxzNfL$;#tlHmYY_S`l`bQ?Nj{buh#jyP6AHUj{Zs-? zNxV=8#`6Y1IHAihp^Fe9l}R@0oZ{vZH&dL(VKj?LROK;=)rrn-d5bW44^fh?v;fav fCX>nN8h;$Wu&fQ*lyZn000000NkvXXu0mjf{Z8nq literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dugtrio/icon_gba.png b/graphics/pokemon/dugtrio/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a837c7f6f39974c30e02f988970be752d1599975 GIT binary patch literal 296 zcmV+@0oVSCP)DV$Fbqa>f<)l}u3+exLos-4wszz;3_TTLU^Iv! zl~{~HYW^+&NPJt~XFJPN>gU6^`fa8|4VDq>k^8;@>>KbnB6A5M;xZO9hS5*x%TJ>3 z`wWb&Fugn0-^$W0sfz0000i;IiJ&DCmJDZPsz-n}{I=7aY3#sB~Rm^<6i00001 zbW%=J06^y0W&i*KXh}ptR9J=Wmd{TUK@`Vlqlu(kY^V}2`Zq{+=|w$|edqz)#Mr&T z34h!OCdA4?%8hDb45vC?XcN6`A(40>cIbhGQ&|rtdeKf#4H&SKc*366H`6U0pwtVA zmwuBb?Y>XnOlEfXGlX>0&Do^zk9u$UVrO9WS6iTGA^Z}l{K~ciUjJz}D6D*FQ@;=# z5Rz66YTtA1MhG6`X9*iHue^C=&IKfybnVtXv1AmpZ zALl~aNeXWBtDuk%vp9V6?R8W6O$e`!>rB(wWfp4xmx%tjX1$5vo zF;*CB0gf202<`%m`Y~9pFFCawxmseam2{FW=id@Sz{IsX0qqA-ytujx8iRda&T6YP zJgI=6^TOIj;7JvVT)!K7-LG($C#J=&u-K*Z}7 z*m~%?x4zyMVhRxWEVo5lMhv)a!rp@E9cv5$N%;PV4#X`0@WC{(!G^E0r32?4#K5+0 z`T%21U<LuW|pAJ1er-E`BbC05Q)J##d~isqH3 zOV6}vAjK-pJ26AjL8c9WVy)Dqc{h6~T{;OUu`2VHUaTjzlSw51A)G?fyc01|9VLrN zRqpljl^+Udh*g?*>>Y^2vmjW&%hA=MC@Qx##VXCa22MH%f;aeH&sX+q1!eG1tjfHF zs;t)~;H~mvNv%vMR%PD86S^Ew`YKBd=JA4`Re%y}XkICIy14h9kSlDZ6zUbl>e``s z2e6#R~!L(Ew!Z z<2!1^qi;IiJ&DCmJDZPsz-n}{I=7aY3#sB~Rm^<6i00001 zbW%=J06^y0W&i*I&q+iKlf6m0t~deAk(HUY#S&ll~ICAd;^W_WFR4 z1mJN5I!9zUjy`IH$NPN*HV$9Om-35jHtCRQkmEUvZE0crK-bz##$W zG9<1z_ffdgJ5#f0B!J#(9s$%NEvzeGMsy-T+U2|f9wK0xfSgWXR(Y}?;4sH%;8g=y z%g?To0qg@+Ws%-)773<+$|6q6y{8@abPs|=dcl0tN=iXhz>Aj?<>H3AMJxyX+;r*oh55N4q&Q>(5IAbDL<^`C?KaQ zO!xrv*tS&;12UOiwg!O7ZyKl?pcVpIHdP8csOSKRMaDn;RK$9N*-g6Gi3HFPNzLN5 f*>R0S{Udz?-(~0O{)QaR00000NkvXXu0mjf2eAy& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dunsparce/icon_gba.png b/graphics/pokemon/dunsparce/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d2896e72bbcb3664388ac98bed2a1a775e1e6c89 GIT binary patch literal 341 zcmV-b0jmCqP)DV$@(k~9fAQT4hcY<;l4p31hFq;{oYS%$+rcL_HxLQTU zW+(}mnz60TC}1Y)ihEx^{v|(vT`rObllc=6yhW2YKx7mUTEc|V#DRZxNyD*j3HO$&yI{a>HP3ZTZIk&MFT^SIcb@|Vbp)*3@+`c=-m9>K|e_xAGbw!wItyR_) z09Hi)5VLCl5|#S=uNFm;B!!xP^ko>|PHq;33Vk7_>h)wYR4n%b=971S+%T2D_2dBH z!(TT_<)H^4=I)(aE0sx4j%gG-7pZyZ0rZRP>S?D~D5Y%8F+-IZV_1WfZHI#DtY8aW zgrcqIL#?S-)C~Yma|Cbzqwnz%!kQDn`9kLuA;aTV*oRYq%mu~IBCT`Qb}~!(On@|8 z6!Q5Lzl802L2g#S~`WBqq*+`8J0LT(gzH}FLz}B*% zz87UFr%Fn}S9JhZZJg2fNHNWrWMKmkIL2eQALs(5jvW(>+sETo!f9j7eS#XX*con_ zUG0tmduute43i|@T<*;hd)glZ0$KyJ21Ug0tyygmp;m}`idR@{qh89Oe15WQicMryEGg_B`~0o8)%`#o1MG!8JFa)^){+5nN&YC5*s6>F ztO16h#F=$_!@_9>fO)J}lWFRvaGQvlng+Dn+Q|&GV(`R9qgx>W)|R!63=@SeNjAU* zz%V(yc`k=V!rqATWid|@DX27!qaQ>FUG{veW;~{w?bi2fZ^4ei!0wiJPKJJ}jNHhX3vd1em9b zpfke04%DvGJlBv9p>`xI`^LGYmK2AEA^uf z@K%2}i9nvdx$CR>WO7qvkst8-r}qNQfS*51BBg|f{QJ=l?mgIFg`OP!EOR6u zt~})5o2kL&QWvXbRjEofd>Gm`#4M`>5GCvqO=Q)Ls|)t=c&$9(V`!MhnH}=&{-Ph@&I{o0^kpl z1XL>7C<25t*-+&@&U6H$~ zM+o3F7<_gOHmU$%=Hm##7HLT}U~ZDHfQtRU8l(RmSS6hoB6plRUhl@ats;Q@Ga`4H zN&3mLdKi_^HY5*F2vk~y0$0hVCNSddj^sfY8zO%p!2XZCE--e2T&z+D@*~)P=^6q< z(n!dHRB^@rt93(Qq1>Zy(NY`r$vezX47)=BsB)`}P0;002ovPDHLkV1ng8U)BHs literal 0 HcmV?d00001 diff --git a/graphics/pokemon/dusclops/back_gba.png b/graphics/pokemon/dusclops/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9362e84213d5b79b6d81574e0325ec760e133940 GIT binary patch literal 559 zcmV+~0?_@5P)Kl)G~4AP|Pl8+d2XC6B|*>hzvr)u(`-N;##fpfc5Q z-Zl#oHi{5M+LJA%kN>h*z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nnzZPP@ z00SwD^M7F=Pcnck12J&6qKt%qnhj(q418xqmzr6j1|lFzRAEF@V4AnA)G=moS*H%e zf9xhed8thu2I)#NkSn;ga{(y^i2yZ_*kLMmKLKEZ5erDE^Lly^CKyiaFpH#VCUlmZyDG3i%#tN|RLgqr=!? zbfo)JdN3f>`)48e1rVCzPy54wcs~w8($WkA<0QcV;PbB#zW$bFBpJ#CNcIcZlT_~< zTn4xnid(DhpB<9c7~s~dusa-qBtZIaicndJT+Jvl002ovPDHLkV1kGt!7=~< literal 0 HcmV?d00001 diff --git a/graphics/pokemon/duskull/back_gba.png b/graphics/pokemon/duskull/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..52a5c867d944a1e1acb1655ad745973c3748b339 GIT binary patch literal 537 zcmV+!0_OdRP)K)4fi^Fc1guq+;uW8!1b=i&R45B?1ylmb7ypiaR%D>-ohEE-knDe>V1?+=s&GV%#h@sTl20Y@7=2PvAQ5X0jZ9(g~YT76XEUbXw zYp(7!)i!_zic9@q1z=QFLWEsltuQ1|@;!tGeDIFKg#`jyQb=sBN;IIhK^(|{9uZ0oneEP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hq)9|UR5*>@lEDqbAP@wpz~~wX5-9*B6p+%=DoO!|5B^;62M#_~ z6o2gf?Pxjnu}Ym@JbPFNufdD~f-#{J0n01w9hiq8*+0qT{z_->>lI@^@R9J=WmpyM9Nf^gxiBg<&5*`o;n-_bB#wZ0c(>PT=!xrmn zuAwll(}Xq-&HAKRLeWVKQjpTcT!ciVYvL3~d*&-_9EwPZi#1>=O6AQnvu`sC#EO)X zM=n_Yzn$l0#Xf%{w2q&T-~YPo{t_-xfY;2zy)ofZY)r~y&u`jvGmfE`gWrM#l7P_vE0 zoHcMP0A5>U5y%gH;FQ-ubg%0&Jz>vn4%FX1$eIQK4(P{j&_J3#d}#|H|MtPZ06>ke zMVGoiHoE`PW>_3>J~T7Aa11`6K@ql{Ki~iv31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b/graphics/pokemon/dustox/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2f0d140017fd23b4355e9a1b38f10ebab2fc158d GIT binary patch literal 428 zcmV;d0aN~oP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IDoI2^R5*>@lD%$&Fc5%w0{l|Uuy7-9QOR38#&5w4OP|K0Lk23O zN--H~IYgpY<3GaOslDm$)7d__FU$U1kb6qe)z2Ncbm?9|OOW*QetPL2=cQ}iY1c;H zIe#jf5-c{5&n@Rmdnc&DgW|zCn`{X?I4jCPO5s2@8vfQztP#!NMzVl@_7l}of}bU? zDC^xFb?FD087d~V6cOYG={kJdN3H=3l;XO6)DdL2t>ZElW&E04A+B;PV}lKKQZ0H0000l?uP1N)wEF=$2HdqT${rFtIpT)JH;gf=8M30> z;v4{`0c4Xl9Egl-04w(+t|C`Ini2uRG}r@HL08Y}Sb|iwsB7q86){1UQj;(eaSR0@ z?<0fMC5dXf+8U#nkOrGlkdPKM-WDYZb8H=?tSF_cbwomZsWmA8pji@fg5@nHA_c%! zp?Sl~#23i>tikg}zy+Z+ddb#!9)KzYfUpFe5L)mmpe!m`vcLgTNE)-uXUPozcIv0A zR2>+$n_b`?cGoOx;MCo@H#jhMYE>X{U3AKt-`W?FF>$W}q`Vt{d|wiG?z-rZCb3*+ zHgR3|(;Qs{OfetN90h3h!7#+r%$Yz7-CxLv{W^1;$>RN12hhizmEV@r>ut<0bs8fdRuk?sLLf|nYP5pvBwJVw7`S&a1Mab0oLY{ z6UKNq1a`C6S)MSy2P$NgfcrE!00pw`CiknF^L7Sn{fP7^lds@7ZEY*U05b_=o|6zB zWr+fUq#<02@HbnK2my>hNsyG8XQ2uNK-o$V&qoQ_Vt|>q5>)513_J{g9<2m5vYiww z(MgcViRO)%Bxxl`=+0ifcN~trD?{l)=Qw_Yj|f26I*u6*$hL zavW4)409*xrc)GDVc_F>mu5`^5`-IyVccFb_E{(i(g1fLL2IcbNFx}QyO*H3=57Xs z=_F{O0g8jdEYmGofUdrG3M12419(bdysZYPR%=5k44^66LoO2o6vl%+WlIkM%o|TB hjCv%Ry*@@?`~eMW>FTl!<0$|D002ovPDHLkV1oXylFk4C literal 0 HcmV?d00001 diff --git a/graphics/pokemon/eevee/back_gba.png b/graphics/pokemon/eevee/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..79bd1129c6aac100c0e9f5240487025fac940d31 GIT binary patch literal 641 zcmV-{0)G98P)K)4gunFc1J>E?xvg4?)9|(?x721)b8RQ;k0~2T*{TcNHk^ z0oDMG68~*2P`n35+4B)#iuPyY;=La4`E~YuEp9)DfIV1aOsgv_WCkiw4QuPQ%To?iAYjU(c)|Cz z8LGgn$sh64!$$RDs6vdH=|pm!YyZ-BtHAD-pur*-Nfmr7SJW%yMbfhq|++F|fE b{%`yR^!&s4fHvE400000NkvXXu0mjf`t2vR literal 0 HcmV?d00001 diff --git a/graphics/pokemon/eevee/icon_gba.png b/graphics/pokemon/eevee/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..13b90c2e2d1a7e27b535f7cb429a88c65507e956 GIT binary patch literal 296 zcmV+@0oVSCP)DV$+&JQB#aro_a`9TzWC;#Es9VC|>?ZtHI-6Al1Z6_u%O?Bm#cfrtCg>6{9aH{QaS uAcru0K6(ga;ETd&D@@gB7pAWFi61Z5P*z)R0000^gDW*z5_Zw)N*U-ZlWzFX19-oPpMmu0rdJgA%X zeP46adHn}_*>`MedTsvjsJP2Q=6#3WIz{Z@Vi)-A&(TxR*sHrLI`bX^udrpwC>EBQrm#FY#XEsSvhd zhokmy1+6*3?BN31t4g{j)(0ND_BvCpcag*0=RxZ)O_0>c88xo(SA#Q pqWz9_SN<;e{m`JqUZehixUNj;hlq#9VnF{gc)I$ztaD0e0stRLkE{Ry literal 0 HcmV?d00001 diff --git a/graphics/pokemon/egg/icon_gba.png b/graphics/pokemon/egg/icon_gba.png new file mode 100644 index 0000000000000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~00000NkvXXu0mjfzU1bv literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ekans/back_gba.png b/graphics/pokemon/ekans/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e72a7a9edd89da64379cd7a14a90148201f969d5 GIT binary patch literal 616 zcmV-u0+;=XP)Klsj(1KoEvqvO>zrO(NPHAva3nh!Ys(DxD*mq;Wt= z?tqjc#l~;}BWje4Ie^2GHsZ0FS=+*oHIY&?1sKhzfBtzG%R0rs<4jDB=eH4Tj_0G< zF=7`H0OO`S2LxdB5;qFKX9SB*w@HEnMR5KWP8)!)83E4QboJfP0x2v!4`68mw$uQ| zQwU&^;E@){!eDb(%o_l{c*&Eo5J_F&C+Oycur_r8_TV`El=x7l7FxD*!V>2B7l{qu#)>#9m5iXp%kSn1&?X zp30;g3~0D#=A-*nx(34%&;q&V*&^4% zP@#{XXPBjfP^wmjU3>I}Ch(+GEM=8o?ts49fG@=yi%41Vp*>>YsYY9zMs3pCBL+u; z4!bJB?0)vd!=<*N$`Z`>@<%?!DhfL(tvmCWS6QNqSQTHJ+@p?mNH*iLiDB_qdka;7 zb-f}G)d9N*ywh1oS@aOty#t>Kl-hiB4*-7$EwCvA{(bhi3H8RSlg!)XBAP2Lur334 zB9o^-7=`)jz5{oh=C%I5DuDNL;~nyHT|byp{29N*PLl1iz{KGI0000DV$@lEDgtFbszK1o5>y2JTu}(feK@GS6brSLjg@oJXZ) zU3ZzOmz_4)a?8ixB+yTYUn@VyeL`JC5=Yc=u$DwL^9M~CgOY09RD6f6HFA(#EXIJ) zasa~nC@~lz7CddB4`7vS?U2JQQ+GB)POdJb*?>kzZJ%zDvC=dl17QRqUfE@EXks9G ziD)>0UQQw^*!BNZ-w?*)UKsyI7_$=w@{l<)VIU2ktK{YfsA+VWTFi?K=StTF^8=oK fw0l3A5Bl){Utyzc`sWND00000NkvXXu0mjfE7FZ; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ekans/normal_gba.pal b/graphics/pokemon/ekans/normal_gba.pal new file mode 100644 index 0000000000..55289888c9 --- /dev/null +++ b/graphics/pokemon/ekans/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 189 +255 255 255 +246 115 74 +197 65 24 +156 16 0 +255 0 255 +255 230 156 +255 213 106 +230 172 90 +131 82 16 +255 0 255 +16 16 16 +222 164 197 +189 115 164 +156 74 131 +106 32 90 diff --git a/graphics/pokemon/ekans/shiny_gba.pal b/graphics/pokemon/ekans/shiny_gba.pal new file mode 100644 index 0000000000..5298644301 --- /dev/null +++ b/graphics/pokemon/ekans/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 189 +255 255 255 +246 115 74 +197 65 24 +156 16 0 +255 0 255 +255 230 156 +255 213 106 +230 172 90 +131 82 16 +255 0 255 +16 16 16 +213 197 98 +172 156 57 +131 115 16 +90 74 0 diff --git a/graphics/pokemon/electabuzz/anim_front_gba.png b/graphics/pokemon/electabuzz/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7edefd60597592217035a88812b23114601ef2ee GIT binary patch literal 1548 zcmV+n2J`ueP)@00001 zbW%=J06^y0W&i*Mib+I4R9J=OS3PgsMi5=VthKP?(t)5vePZa!6ihTt;3M~MsSDCY zzlAh}0M~gb7G@LRmQ2A;y5(8k#yFCj8Q$@@OF1%vGy$>@1WEI5zIJxr6J!6e!^3|I zXukxwe-fbCN%|z;Hb&kVqLzK}8l zY1fvu1X#`MXfLEPLblbGb%c0SX!|~@U@2vXfC?Ren1y)zJ~DuxR87bc08q^UH@6E| z=B-q!3N1QleSp17TLAgtRi+RD9e!7CBTn8Wzn|92{P`=gsJc@{rra#C^8DpWn&)4W zT{m0-cmRg!8=1Ydo53D(15p89j`uQC`=e|8C_3=#1R*QcVR~^{3&WU+3eho=zA3BRi zTfI3Z>*R0=Z6V031$0mu0MYbLAA*aeESLqbu*7Q19;1hWTf_p&n)O`;aF4gu=%D~U z&24}kFsxTK4Mc{K20*WmK{_1P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ce literal 0 HcmV?d00001 diff --git a/graphics/pokemon/electabuzz/icon_gba.png b/graphics/pokemon/electabuzz/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4c9babe2a98cf3bb79bd76b979f57245bbe8e9cf GIT binary patch literal 321 zcmV-H0lxl;P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hzez+vR5*?0k}(njF$hKD39^*gOE?~t5*udA(CpPRV+9SyQ4_Sa z(UFeFCotis^xNSnTe25GEt^M?vx_$4Dbal=)(KREhV)D)qBraBzL!na~pHl4WSl6c%FAfASg5q)4kBs0`c58f4rUl1Aklr>aUWR Tje#R*00000NkvXXu0mjfprwY0 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/electabuzz/normal_gba.pal b/graphics/pokemon/electabuzz/normal_gba.pal new file mode 100644 index 0000000000..1a18eb70d8 --- /dev/null +++ b/graphics/pokemon/electabuzz/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +115 115 115 +16 16 16 +255 0 255 +255 0 255 +255 172 123 +255 82 32 +189 49 8 +255 0 255 +255 255 213 +255 230 156 +255 213 106 +230 164 82 +164 82 0 diff --git a/graphics/pokemon/electabuzz/shiny_gba.pal b/graphics/pokemon/electabuzz/shiny_gba.pal new file mode 100644 index 0000000000..df9fa23e84 --- /dev/null +++ b/graphics/pokemon/electabuzz/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +115 115 115 +16 16 16 +255 0 255 +255 0 255 +255 172 123 +255 82 32 +189 49 8 +255 0 255 +255 230 148 +255 205 41 +238 131 0 +205 98 0 +164 41 0 diff --git a/graphics/pokemon/electrike/anim_front_gba.png b/graphics/pokemon/electrike/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..396dd670bf912c579fe4646c3ffedf7ecdc2b4ba GIT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{A=eE39vs6Y4*^#`^KQ1yTvN|joe-4x(SNF^>X zR1yl1mmHO2BAm;lS1{hyxymt?s#2Wm1!J3?Dqt-oO9CSIwpmt*&k)N{b>e`?ty_rh z(;KX7jvc=wfPKvNH3lmHCEXw3hDrgYu|Ht+x(AS~hW@}+JrJsZ5d9(R-bv8?L8;DO vLx1Q1Q-5eTnEL~7^WWGX8jby7)F0D5N#2>f0rb6j00000NkvXXu0mjfR) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/electrode/back_gba.png b/graphics/pokemon/electrode/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..74ca458d39eace70176f9f2c4508b64ce51e060a GIT binary patch literal 477 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*C~6S{r~^}-Me>Z&z@Z} zXHHa5(0_*i2()F+|7x#ijtpB28JYz^;EvSW9-v;vk|4ie28U-i(tzw}PZ!4!kIuJ~ z_vSSlh`32!675u*xq4T1+YH;p6B3#pXT5jjH+cSLn6WU(-Ffm>j$7_8zVaXJEBqF= zQ~CbIkLA292Xp_u&iQ7LonP}^rgP@o+DfJ3o{woJ^OqRSXKHYl)#`tz81J@wB6EnG zB7;EH2kr~PaY`b8D_FTIN<>!nnLg0i;^4BWdGU+zn64P6;OL1wls^*r~PA zsIimxgz+=w=?RS2kgrKl#QUYwk9J6`? z7;fA=(Di7G8KYC2#@XD%=U64odDR5cS~w0EJUO;ng5mOqOs0e46Lo(J9V*z;;KsO@ ziD&8G(00iwGS?WIYne1OWW5T`ojN_=SmeM?my>#|+nS2q3uf;(*#Gy5dYz&}2q@YZ NJYD@<);T3K0RXFG%4q-q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/electrode/icon_gba.png b/graphics/pokemon/electrode/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e46c57974f17871f4f8e70ddbf137e2c69fe3d7d GIT binary patch literal 245 zcmeAS@N?(olHy`uVBq!ia0vp^3P9|@!VDxk7i7!@QU(D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 0 HcmV?d00001 diff --git a/graphics/pokemon/elekid/back_gba.png b/graphics/pokemon/elekid/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0d8d9428abaadc973389f7de2613b5943972ece8 GIT binary patch literal 660 zcmV;F0&D$=P)Kl)-M|Fc5}wAV-=9;AYeFN*VWz6voG0qd-n8k!RkO zIFd?jbHp1}aBRIZ2_!b5yuj{UkTswG`Dex}U71#CjVpg9qM9gu=T9Rd;!tQeq+JMy5=jDe>!kg&rmKrKpSsMU{103fF@FWrByqO*j3=9jM+NxT}B|s*ZX$mH>tgsmdkH$j!ZHGzb5CZtob};~J zwG;vH$z9YwunvKIA9NW_RDK2UlkMnI8LT=HAnjDUw)O4gvf4))js z*5)M9X007t;4i0-4UR34OMS_bhj9g}@un!aMSaTx*Ql4v&Y>NT>1?x$8gB|*Y}UM~ u+dyRB+BLiKD zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H#Ysd#R5*>*lCciLAQVOU0{9E*t~^1P-2%W9l^u zVg{N6z!L`%sGX#^ZmjA01j?sQMw)rURw=j!g#`D!6AIlCD77Rfn!)ldOaFp8ZS)&2cOJ Znm6}Yxi4gJK|3IRO8ADds5voB#m-=9K@<0M(QL)z#IktgK>UVh|7zb=_Z300001 zbW%=J06^y0W&i*NY)M2xR9J=G);nz5Mi>Wh0#Seffu-IMv;!prq&#>sV3I?ZDzL~w z1rpkNOtB$!Xqu^8YcEA%1cd zb^Y#+Px&#o?G*Xl{J)@Uz-u4IzZv@Z-ph1U_vxo39pst<|=_P@sU=K}gKdrTEKu zQhCrE!SHsCC^^)^*ha0k*bxS}~@_+Cyi|v z_Z`0%HT36~k6yzn^NOjT+iu5ATMlYled}0A4q4#v;V0wH+pqJAUN#|sEZa@D9o#-j zy0l1b_wfDNxRaxSi9ST_%m7v~81~y4m+fP3SA6%~xVK93ifZcj)7U+SZOp{Jh0u@% zcErDO)3a4sp#eATh%?%#b{9jh2o0R>me*F6BncAw#I;>TETjl;^$khVBnWtmsObEt29Gra zlrM8>OlYSxh~0Y zo%RWye+Za7kXK4@-{>}O7Ar+rsX#HKs8vb^FMCsi^D5g$lAw-SHeeUYI~(F;TIOr) z6Wr;su#3cwd1kURggcnu!Adqb1HhjS8 zT%rr7mLHf}=gvrA0mlnKRR`NVAPjnTZ%AiLI<{l8t56lgsn^}4cYnM)#jc)@Z0Ecu zTz#a1=zsS3KOx8V4HFSa3^~X%OjICo;D8;K!jv&9TU1ri!2h8)ZclS#u{6&fanoTxxN!^Dvj6^Lh;7;;Ed zAlxu<J@tey`v2kWd0hM6Y{7-k8G5*lU>7}PLJoG4(JKp^3}MGYeXLAYT8frKAjY8V(7 z@A!t{0ttaZ4FiPn3=;?>1O_$CCTgMgs!}N?ke~z@W+NahFv z0a1?Q0*L|R5`j=)TrZFaFfI`Y2gY>*VZiVO0>H@43q&YaD!yCu^jTULd|=G`;R;}c zez*V(wz7yHE(b=`4*@V-4h+_vh#!zEju0q&M9BWJXv QL;wH)07*qoM6N<$g8mvQ3jhEB literal 0 HcmV?d00001 diff --git a/graphics/pokemon/entei/back_gba.png b/graphics/pokemon/entei/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..902b4461a23a5a4756aa83eb39ababd46137d946 GIT binary patch literal 859 zcmV-h1ElgJK|3IRO8ADds5voB#m-=9K@<0M(QL)z#IktgK>UVh|7zb=_Z300001 zbW%=J06^y0W&i*J*-1n}R7i>Ck}*%)KorL<0b{9dU^A#X(;;hY4@^|}dFbS{@hwn^ zkI|8CbVG6{Po4S^x|Hb#wsVjNwp`puj9_I55<@Kaot<;+0Q~^%o8r9R{onup?hNBU zuFZFUX#yC=$&Z)&b{vHU`!#r}zY$aFFvebz*f^k;4L*&T8una2qP7D=+KT~T|Ea$t zN-e+vHjU$$zIoE8lo+vPzy+@NYa&444G>onFFbst)+Ur>;;XW8! z$7{f597UE(qbPQ5^vaGe*MNh#M{O4s;%`G6z`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Q%`>4R*;=q@C zJ?m5g;Nbh%xnAO)j29!!!@NI`bi~yZP?X|%U^eXKG{7+|6|xT(nVJOo2q>HbKFxyr zMGtUeXZUTh-rVEqCdb_1d(}*)n)_`qG1j3?>FHW@y{T`PyNUg0`=8qdp76J4?1C<+ zjm`tDH?_1bPc*A76H>dZ0Kl3SZV{6M@FKQGb~-A&r$dkvbhXI>{Vgu?Lk#MpI;T^p zU1asa&_p(fLoD9|Sep#u;!#5-0qgwnXEmGJ8+f#*fD$jUJn-aSiEDJS%uNJ5`_Sm=U6kT?9@FH)ou|gQs1m5M|`{^@Dl#>W3bxcmKLKs3?+>Jihws*^or}> zS$qo$eD;q|Xh-u^xtPW%dhh-k^@Sc{9AzmsK@zxCL639HwTX6Z+h7{rLEUFG)faeP zaGp_ZEryII`U0>Tx(17LT_yDemTo*OYYQto$cGpZR5D9kFYHtL0z*fO!NtPPC-emo zC9bxnnRYIrFNnZHtB=J$0kG1Zv{dO9r$Flbb2u33HA!Qb3=$6}qd;(5Z_uK2mlGJg z-8gUeo!lo>PyjTFUb~ZenG2#M1<~QZ91<8QKxve{GbFlQ8W5%;4PRo-R7rsMKrb+o ze{)nFmXYK^^F1ITFbG)D$Qk|c2xRob04%clfwF)KH)BpegfxND&*=wj(j1l`rypeg dpX86-z5x%P%^hQr#Z&+Q002ovPDHLkV1jgl2jTz# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/espeon/back_gba.png b/graphics/pokemon/espeon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c3e5d96dedf16527adbd16d1702c095ac6d6b362 GIT binary patch literal 554 zcmV+_0@eMAP)h(#HV=NK00001 zbW%=J06^y0W&i*Is7XXYR7i>Klre6@FbqXK%0ut$QI!xNqgAK7M8^lHm=n|>T&+Tad+xc&_#tb;UZ3GG+woT^H zBD5JWLeQ&cg9vlxVM18F(jvwjs3%;ATI;RTCk_k6K z*C=yR(Z~c?N)X^hz^4p2v<>hrK-Z3azHkh%z>w=lO$h@e^E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)?oZe8ViX781+ZTU;z0C`(}3PkB-40IdB@=s=sG2 zoWAzzZwQFaFoyEqsK0A4LL>jseWg+V z!ZjF1{z3n238VfD&|oVDTKR{rnj{A#**PR-L}yj0G%DvR@0|3-7>wk=2II(pnd0sn zG!wF@tifQQ$cOSj({~y>gTb~JhVoBK7AI^C#uM^SDhJu^3LAs*g#42O`I}5CHU?uX z|Lj2G-e8R7zjGj)Q`p=WU;aA>VyDEHf6sx8_EI_9Efrqh!2b%$Z$R7K!(7J1NrakUzNmyu#CrtBLDyZ07*qoM6N<$g0GfO@&Et; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/exeggcute/back_gba.png b/graphics/pokemon/exeggcute/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e340cd0361a7ff67feff5d33b59b0717ec6b9eb3 GIT binary patch literal 597 zcmV-b0;>IqP)Kld*EbFbsyXWF^PYwL|Z^@+@>tg$l?(wp6n5^=0%v`ZO&}wn@$ykhg%!+c1mI9u*5d+klEdZ#$YOLgYLP=u zD63!$BDy^y6UQlRK+G)w`?p2s0cO@F32c@pVD~e9>2U4>uaHuOgJ>8KLQdCMxWKO+ zZ4Fhyz;1^%%FY2IJ2@^K_)L3s4?i?>RCArPKgy z8OTSbhb+sEBk+`r7OcoQ`tyuhSF+`N=lNwh0Av%5D=bWh2i;r&C>f|$w$Zz5m;ulh j_+&rsUwubC;}PNy+64X;pA+Va00000NkvXXu0mjfGe8Y? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/exeggcute/icon_gba.png b/graphics/pokemon/exeggcute/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5d0306610c87cba147d75e8518954363b53e56cc GIT binary patch literal 383 zcmV-_0f7FAP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H{YgYYR5*?8QZZ`9FbvHJ;`{s#KE3}6TyL^9}#8~se_=WRL+|Kz!cX8s6^%)9Dp0&fHSaf06c*qFxbsr4{T+25RMal z$e&!9?dQ31HgaE66d1A!0pupP#M z(Jvh41L#rR#P?)=)o#%^2$`@3NZmwuvB0S0+LvWuXuu8klr+mTJ@;pZrt!t~mcc7$ dBc=OQeE`}mxu3O_pTqzF002ovPDHLkV1gfutGfUI literal 0 HcmV?d00001 diff --git a/graphics/pokemon/exeggcute/normal_gba.pal b/graphics/pokemon/exeggcute/normal_gba.pal new file mode 100644 index 0000000000..04f5ede317 --- /dev/null +++ b/graphics/pokemon/exeggcute/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 205 +255 255 255 +222 222 222 +255 205 74 +230 156 0 +16 16 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 238 197 +255 213 172 +255 180 139 +230 106 82 +148 49 16 diff --git a/graphics/pokemon/exeggcute/shiny_gba.pal b/graphics/pokemon/exeggcute/shiny_gba.pal new file mode 100644 index 0000000000..4b18e5857f --- /dev/null +++ b/graphics/pokemon/exeggcute/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 205 +255 255 255 +222 222 222 +255 205 74 +230 156 0 +16 16 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 255 189 +255 255 98 +255 213 57 +255 172 16 +131 49 0 diff --git a/graphics/pokemon/exeggutor/anim_front_gba.png b/graphics/pokemon/exeggutor/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f4100b755d781e3f9800a0482a83964bf97f6c1b GIT binary patch literal 1637 zcmV-r2AcVaP)w5dZ)Gkv0?L00001 zbW%=J06^y0W&i*M<4Ht8R9J<@mQ9G;MihVt8fvhx!AZ|s7;ke7)LPn`X}#{LunPs* zw-!=%bc!1SmQUTYoP|AWWLWmN8i6rM4z>nz>?vvY()5yKMRw~gF&UE(dP=i>Bdu-y z+3Brwkc8*coA;h%eS^?q41%NLqa{OegOm3G;1bIOn7r5PF9#e*La|o?2MCSm(iD(F zdk8sH){^IZkOi2&(%pwE?l9I*N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?zuQBcL4mj+`kQg>H_E|^Klx;&E#&hE9I;`M$QQ3-qgW?Uu11U z&OvA3tET=PI4}b!Y8_&LyY<%1Yygrp^c~sAAG3i@$IzjZyZ$c8%mIpM8XdWvEE<(^ zYAYoJv}b#;^Yl9rq|h{UKfD&_nJZ{|+S!ZoJ2Y|b){G(k7Oz$UC%<02d$MYU!n5h) jRRLfWpLJHw{~zODD6q^(`E?>E00000NkvXXu0mjfL=PQ; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/exeggutor/back_gba.png b/graphics/pokemon/exeggutor/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ff28c85550a802a4ab9ec9ef023ff012e299ea9e GIT binary patch literal 946 zcmV;j15NyiP)w5dZ)Gkv0?L00001 zbW%=J06^y0W&i*KFiAu~R7i=Qe98kotB7BBgf@4q=lZ?ZSPFkZcj(!5WO~I5WGFkj_CVlM%?pJiU4I-mHV*zpPOI zr4RY;zLL}3eNpTrm3hJ4x9EnKBmqYsfOew))^!&Uo&OmJ@+Bf#~xXI#b~n}0hERv8JvUQHA_@q(P|PC&_b5RC>klD+!#c2RIa3!dF|FB zicLgRDkpp>+Mw`KEJOfs*FtkP!YEYeju`Oc)dXcR-DUByots1IW&hyWET8H`XWN?IyEIB<6zG6=r=M$MNfW37~I$5f^g;a9)>+ zXV-Bn?gSOJLKla~vfG0KYG1$1WX%% zB7TR9U$Ns>tu@{h|tw2 z-hY48I#f$Q&;*Qv8LCW@O33eo*k%amyd&x#luF*c91&FH=Z7SDyEv zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H?ny*JR5*>@k|A!yFc3xO1ooxI*u=&;*A#eh4Qjptdx0Jz)CJap z38({R6SAHZu2j%|h4|(B%hLYvRD_^FhzV` zu_Dn&R-u+r*yjH literal 0 HcmV?d00001 diff --git a/graphics/pokemon/exeggutor/normal_gba.pal b/graphics/pokemon/exeggutor/normal_gba.pal new file mode 100644 index 0000000000..6c375af6dd --- /dev/null +++ b/graphics/pokemon/exeggutor/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 238 164 +255 222 106 +230 172 90 +164 106 32 +180 156 74 +139 115 65 +98 65 16 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +222 222 222 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/exeggutor/shiny_gba.pal b/graphics/pokemon/exeggutor/shiny_gba.pal new file mode 100644 index 0000000000..c06646a6c5 --- /dev/null +++ b/graphics/pokemon/exeggutor/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 238 164 +255 222 106 +230 172 90 +164 106 32 +222 189 82 +180 148 32 +106 82 0 +255 189 123 +222 148 82 +180 106 41 +115 41 0 +222 222 222 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/exploud/anim_front_gba.png b/graphics/pokemon/exploud/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8cf38b83ec020c5400613339549bdec479432e31 GIT binary patch literal 2048 zcmV+b2>N{j#ATHdruoO2leb5hkxF`PLVYB3nq-v5Jxg8%>kWUJ-`00001 zbW%=J06^y0W&i*Oen~_@R9J<@mrsZr*BQVEvcd}~9(3qYHhGeKs%y~9#)l>-NN;M$ zQl^pSksNBjOBnf3@F8VKhk|@4@*E5zgdVh}H7)euSvRJI9(HALdMVgeSt{r$%r2tj z5YpI_)jaPyp?UqjH#1skD=qZW&S^F8H{W~jdw;&)YTAGCta_c(feqJ-P7UC?-VIIj zZ!T%}&$z9Pj&{qvzAS#%ZFxNmv#_5tE&$#}gw#S{)x8eidPlC?YA+d~58t+9!(B4h z75V~zpAlksi)XPynx^Mf2r=JXoQp=eQoQ^D0l;1~03QHST!R2b%Hf5S^I^K)ZmmfS z69N>i2zW0Usqbeq@H(VHj05b!iu|s7=(QolE!Xu^;C&muH3$M+{?Og+dHyH3Hd$8x zLgC|Lg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FJ+j00(e(!ry0 zEf)aZ3}H}2`EE^=l!NezmYep>;3;e+On|*Goaidc0dbXg>;DI30I*z70fZTIvuVKn z535sk(#Ud1m`CuIw-K=)?$%dz`7E1-#G)J?6d_|=Qk32Lq%H)Q!KQHuJqqvU1BQ>3 z$?4?#GZo=%VT?ZP2+LQ(M{{@yN4r0ro;Bor3=B&_EbmBpWWx9bPtTg2Ni$aj-xB3HFB6@nN%8TQA0i=PAV$)>?xB&!X0g=Y{8W zs%aF410}$yKJAOoI|0@_8jUD9s^oy0MLo^=8`FT__v7T1zj70#o(@Y>)hNc8#iyrK z$ybThfa1nE#=z3`^pH3WgmI$*8=#7lt&aXEEG2HXu!<_xbbTrXpmGlH7d5k8lCP3S zY)+@DRC(S>w*eA?!$x(gmMS<02umsLtJSJn+Ci;sBRv(0IFzdI)RKxiJ6ToY`-G>X zK-pDP0Mt0p|KqNQI_E{$x#Xq!rFqo$s&Sj_LV&)$+545%O@JMQh?F7kKb-9+sZlz zn0YzT12#?rfDy^#@Aj3rM=9;^g~|l$^&~{#MrZi&XfJm6!Cv@b_f(rS)*T3Dv1X5%T4mAIR2;g3|EQ>-1>-l;0&$`gz zjHTGCF3bhY)BH2v;B=vv^WixQylR10vC|UFtOEeuJFG?GRVBU7#K&u4}wjCn}M#=*vwvZ2aA9t zk0sD@Z02~IHH!_1+6t(XnOVLNohPByc}pL|N9e7ed|w1EqPN%9lgI_FuDx5$I>@5i zWAAn@#-9Mb?r`rms_pEmpw-y8T)x>gp*x6;dnkP~&92E}m635vJ3Bd`ApnPQpuCK+ c^zRw}0KaVjiV$4h(EtDd07*qoM6N<$f*>RK4*&oF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/fearow/back_gba.png b/graphics/pokemon/fearow/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ae54db9a73308a31d879c5db73c7c350dd3d00cd GIT binary patch literal 635 zcmV->0)+jEP)5D@=^bM{g}%^(o}&3pE=TGgC6taA{1K>+r&TL1t5iMV2400001 zbW%=J06^y0W&i*I`AI}UR7i>4l(BBxFcd{O)SLMe+JpQ;U}!90Es8rdqs1wsLoFJO zXwe7w7o@dWL}zn=qNM@BfUVRrkujSG!x;nRQA$x*BB_o+I0%sM;eGc}k4ESdF6?vx z$hQkXOJMsDb)hk8TP1Lff_)YAlp;`4b?!81U2A?nl3I$y*~`6@>PiD zdGrX8+t=U1DFha?*-SL7E^nwGiRHna2I9|bzu(i~qzy45ezarv<;#fD{j==HJ#EAD zqu-3NrS-tvFiVx`nloh}MCQ(_zF70ia!Zh)P5*U`} zuMGCHA76({bfKtFT4&W=SRBivOx(6O6xCf>ln2Wmvi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IPf0{UR5*>@lEG@jFbszM1ok`h0a9oVyCrYq-0GWk^!xO%+kLA?d4`clVp7rsgD*V9L00000NkvXX Hu0mjf$#>Ng literal 0 HcmV?d00001 diff --git a/graphics/pokemon/fearow/normal_gba.pal b/graphics/pokemon/fearow/normal_gba.pal new file mode 100644 index 0000000000..6b73e3639e --- /dev/null +++ b/graphics/pokemon/fearow/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 0 255 +222 205 164 +197 180 139 +98 82 49 +16 16 16 +255 131 115 +246 82 65 +205 32 16 +255 205 123 +246 180 90 +213 156 57 +172 115 16 +123 65 0 +246 180 90 +255 255 255 diff --git a/graphics/pokemon/fearow/shiny_gba.pal b/graphics/pokemon/fearow/shiny_gba.pal new file mode 100644 index 0000000000..686e65a9c9 --- /dev/null +++ b/graphics/pokemon/fearow/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 0 255 +222 205 164 +197 180 139 +98 82 49 +16 16 16 +255 205 74 +255 164 0 +197 123 0 +255 246 131 +255 230 90 +213 197 49 +180 164 8 +115 98 0 +246 180 90 +255 255 255 diff --git a/graphics/pokemon/feebas/anim_front_gba.png b/graphics/pokemon/feebas/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9afa332dc1ecbc4e42d082624ae0e838aea979fb GIT binary patch literal 913 zcmV;C18)3@P)jbEK@r&EEg!-sb=R{}>n;_yF~j00001 zbW%=J06^y0W&i*K4@pEpR9J=WmN9GFKorO2$zTu3IR%j>q3CSLlp6aPJeo)c`8<*g z2VG3Itl5&Oo+X1b>jds>3rs#h0?7wxoqBMw2KC7al*Z3eX{HvxDWKo|@7-C-`)S&? z{-(+|IY2ncA;M_V&q)Z!*}#`U4si2!Kn0nA3RLzv5$IWx4#2Pk$;$yo-_6~YAA z-5emWYS6$x>9ck%-V&w|yIPsPP6VnLAx<{{#j3!BEP$sy2(v172Lq}JCtYuMOeXuz`X4A+I`!IU}$SQa>6ANE}7 z#zX+#Q>z6hF97*oxd3qTEd?MB`Xt~!Ctwfc7W4KTf!n=3=+JNOyfcT!9djzs@fGpB zu;?Mcm?53Iq9O{{*9?xCjzAoYs6CRWs|x2vMe?P(A-cqb59h}=GWC-3*PoXaV;4Vk z{gda-w3q*btz*t zOo+#twlmWTiImAs=GU3vVtW0yw)MZ(ALv6K5M>W$1fqV<7I{GMb|7!I2h_jV-+-KB zsvJSd1&TSqN*^}M!HYgLRz#T$_@xh8*e3&kKkLIrz{2TWOM&u~crl6=z>7YhKafDP zn(9LfBSK0KR)TW&F4YGFA`;-jMt!I@O5+JJ-JLXnF_X7afEXAKHefO4fMve-M?{a0 z2%H@mI*$0m!P4tfK&$=nK?mv9r{20>BVbwP{R-$PVm24Q3xMYR69PE>6}5#6?Pi() zV5sGKlZD3x^qTj#HUhCC-rd4u0tp;3g9Bgs1W~9Y?F5*9EIE%oqR9f^zrJKf3eI3>ijQ%i9Rp50gh5CU0(8CjuqNWnmhbP&a n#T!1)l{M_(Vj_K8|497=SH6sL!5EAF00000NkvXXu0mjfI-8>Y literal 0 HcmV?d00001 diff --git a/graphics/pokemon/feebas/back_gba.png b/graphics/pokemon/feebas/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3eabd602147ecc52e21adb030df682687bc167f6 GIT binary patch literal 666 zcmV;L0%iS)P)jbEK@r&EEg!-sb=R{}>n;_yF~j00001 zbW%=J06^y0W&i*J7)eAyR7i>C)W3_{Fcb%HX9}o8Ps)%kJ@E5jxDFv!!Q%}v+`m(7 zgXWGM?>|U?K*0)JX1zf6L=difDfAC0*)zCLaY9e(HMylrD?*IX$KUs)M2@2WbReFY zwswAE{+YE;0MnDeEY5(rIS1JK6ks@K_;*2s3wCZN*X9hs(?CB3yg3CLY(C#SBAUZB zl{D(#1v~72zi=QgZvF)74#*;mu(MScP)wXiWcoO$yLnk<5Jb%Oe*y}SM-W8JRt|Il znUa-+JZN(5YIH58D#@gL?bl#ducE%1bfC&5PcFh5i)p{86V_p8>*+anW+6Ush zxb^|Mjp#sH$|}AeT>B*&=9+{70j2U}%m*XCNrnbLKnyOS5&#_dtq1f0K$c~B2>|iC zTR#9BBR~NpNkRfJDiu)e$w_oi)D#jpyw! zhIZ>-BX@q2cx<|DTe@FtyhTvN(z|6gnE&U;PZN?DO84y7^Z)<=07*qoM6N<$g2iSk A>;M1& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/feebas/icon_gba.png b/graphics/pokemon/feebas/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..19e08797ac120aac45889dd21d460dfa9dd9e54f GIT binary patch literal 359 zcmV-t0hs=YP)DV$~EFlVvx!ib6&Ml`%ILNPB4|LsE<{yOD_ zsYcMe2%{1w%$y%FPMCxzUYJ-ItU;V}2oMku@!1>t00001 zbW%=J06^y0W&i*NyGcYrR9Je zYY!42usFbx92TM}euh!l^rmsKt!skTIpXQn(LY<)&JnCPHb?%oaX||K8k>{_ zey6WB&Ir~w*Bgz^jZKvazBbRqZ+_ZnY~wv-f>`GW8e5IVMvLC2SdI2s0c@>JnQX64 z5J>rs65J;3c#c!+&0CBuv{Ukakv=^$iN*DAf`tJaILJhX!XFn*S+8*RS0`8qx1F#T zuxL?S=6nc2&7uf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9sx#1AP)<`DB(ecjR<5280CAjKO~R>FiMxV z0*stMGQjZ0FU1gPWdxD~#<-vI$_XS=fKm2K>LW2Ekc0rEq)_}I3IYjL*NyW70frpb r^*nw^%Ybn)KUDhv#t)VM%n$znOdJ6`H{cAz00000NkvXXu0mjfv=Kvp literal 0 HcmV?d00001 diff --git a/graphics/pokemon/feraligatr/back_gba.png b/graphics/pokemon/feraligatr/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d996dd8ce0564f66a0e16e524664ca8742eb0bac GIT binary patch literal 999 zcmVtU;V}2oMku@!1>t00001 zbW%=J06^y0W&i*KWl2OqR7i=Pl)sPLHWbIbc<3!ghHeE8p-xK{10=n4h=7V(f(ANR zVz=U^u2}|KK#D# z`#}u`|L2^&z7Lq)2h5lE0Okbn&60o|5Y{d$%FH>mmck%EvW(5 zoy1Sy*#iK?ngE@*8qcbO97Noj>nRJhC*tTXVCFAP7BI#%#pSo6N-hs_;9R2tj0FU! zUos&ReFw-;KO{)t{l~W%es>2s0B|mx!qd%W^QRDX*v#)WMo1aD^CN(FnTVoh2sb76 z$o$sD<$C}d^^17p0Iksn_S6A? z{qxbshXowmxE5+#aSg!b_+#6YnSGBU)*6GF2tKw|#=|WU+YgO^$RP2CfXr61f{Abo zV*8;L5ZRN}0)P^ljcbj5g+Fh%U7P?}tTg~+;9-zt99FMv8y_-Ji6@+zQokRwQu?Lj(L=GX@6|#qGK^}hX|l+S>OB7)wQRVfxco%(X?MgX!}CAOx&whG|GK5$k?ULc`mq=sADF5gA% zfW3$ba0?~r`mS!D@Yo5&k`y#=S2BXF<|Dv&t`Q`V{J=!BlXwiSmPyRB$Ymgf)W6Az z!0Wxlw=SOKT*u)<*Cv%VXhkLYC$-5go~UpK|a$T4~dVBqHA+LVe05UGtFfEKh{?}5)x+m4e#7xlwJ zimFG{lR^L71%hCI2<(-VGP!D>KF(br#?dr#f1j~5In02pQdi1P)DV$*lCe(1Fc60G1ieS;00UbGE)r#k7vG8>29RKZr9(2Y zzE zoCza=NT!?#lbjI&bmXxKzwK9){ebRx`w6Kh3S3_mBz}8u$e`lfM(VHYjZ~l*)K3mZ zzc+VL{7~%r>xXdJ3llX491Qx(!tD1V(9xhQO#MVNVSJT^QRCJY+Gk;^F(7`3Fy3!x e$L9T?{rCn|P5H{e8vqIb0000J~bc%yQy15P& zWa}n>gPf8j6q@R!#grzs#K*~|4#k_++aTqqPu@qaV# zr+cUOp8Wm*%=I^9nlrAQ5PJD7Gp;_|Kxi8wy;!8#K>G-l zUL#c9YGnf;YFRr?vreN{b_$^O9@zG)s5g=v005=7eGvIHZr4g*1Qy!1jUC@Gc%k6c zjR2I}yG`u8GYnRT71;kg9nZl>7-Mo~7#0IQ^}h%}V-343Lq#{%!OBMwScF;|`)3A1 z{1UfU!pqhmTnh~rM+S?neiiQ6fV@*E1%OzM2GnY-RY*_TEdq!9=m09Y2( zN=Vu#xXXIcb|TUOW0#%^K$ix# z-Q07|iAP7cCj#sY24G4E8JL|`Mto_P1N&iz9Mz+&saj?L#sT(7k7iDlg82d1Aq>bI zONEUC-Zu#cvf@B-IiNjbKxQ0(HV5Ei;z{Nnob!4t2lI>bBa@?UBo?)PQByBWdPk}`0_uDg8u<9Kg|fjJi9iGN^#M=5r)#)kgj0MB7M zB*S5-_CC8qY!B*@e<}jzmJ_4^&G0xNr&WnN0W#u1(Q(8HBJ&R_anDICPqLrWFp(Mz zX2HT3kQoe>y?b~$mS$iMk3Xq~QVWyn!abM`j5>Js5$aoQefAN9*?-4#{i%KeCR2gP T72O6K00000NkvXXu0mjfp98KN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/flaaffy/back_gba.png b/graphics/pokemon/flaaffy/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e0ac771bf4bbe101b4cc058bc392ef28de904538 GIT binary patch literal 663 zcmV;I0%-k-P)KlfQ4%P!PwTM6*#@&+1kdUtHD-J$Fv)zOt60SPhdG z)cyxJ8w(=N78YR}wq29?*Fk z^$N`9wM6@_C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$NyB&)2%zdPnEPq*fYN{*?GXLb;Qj|zunMhD8XLn^D;y0}ZTJ6#!u8;2EGUNU z{t|t@V4>&FNBnxt{ja`=E{wpAnDyxm_a7Trh=z~f^#cv}XXZXWp7!U^aDM^-2{6}Y z_YXMBn%zI3#{Zf7huQ#+`@>%c*R<=+>;9pwNGR93yS?r&h}jVSsTFYCe}Vym+ya2P zZ&V~G?;^1yY_;wR=Kd$*S`7$oW$%eQd<(Dyz=v=yE;1m0Pd~!E4^UwaC^L8=uk*5~ zTTOtXWwZ=CeBn(PW_nW=9JqhRanVrb)X4Ex3qTf~w@QZd+26^nhI2E(LcVt5F@H`A z05~x2#?Qw=^9|-t>MM;4UNDt~nHtcUSPTR>jo53QCbYmc3n8@6R7xL%{|5$OA=u>s uW38?KQy{(~=~vtjfY5?2)E*-Edhri8$CZR5fqO~-0000TK}}P=5uq+F);uD0RR90S5&7h00001 zbW%=J06^y0W&i*J_DMuRR7i=f)xS^MKoke?i`h?+s&dnXx!I5`OM0FPsMXrZ2rF!u2y4HC`>q#VkcbCBm%La5zgaWQh;Ow~)W()*6LV*=b z@S=kArivx+rw71;IU3Sc30^dXUs25Ll?ikOPL6_yu%Z+0A`sP&dtWcjF-W8=fsU(z zP-|)b$7Q(>l!!TiAaGCm_4H1huv7 zKE{Ht5~zcK$OF6{pad0Rb>Wu~t9igH0EY@Js+VF6AOQ>1!66c(fbkQc5bUTZK#wv1 z=Rc(yj7SuqA-R(~EKig$K;l-q@HPji=5R66pvd?O*}OW5s)4kP7ms`VwOos@3Kf## z#nv4U$r^LTVdwdhyBChN8O zeOVj_p3v(lB~B>E6tIG$Ur*VT;~S=QL$xQmv!?gt-aJn0|xZP!1zKPX|pix3$A O0000Kn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/flygon/icon_gba.png b/graphics/pokemon/flygon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f033c9a880c6725d5d9bf4823b254b6f9bfc88cc GIT binary patch literal 411 zcmV;M0c8G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xuYMXYc?nc<_Iye*l%cR-UkN8jt`0 N002ovPDHLkV1kbH1o{8~ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/forretress/back_gba.png b/graphics/pokemon/forretress/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5761be13799dfc30c80e7d6cb7e7d90573d30a3f GIT binary patch literal 525 zcmV+o0`mQdP)KlRa*OKoEtI%mIv?E|*9&KyNWX9kD|n8I}`-Jx`P_ zS8$mw%AqndyT%|ainQ@7_}TaE%wvEky6djL3JZAJ@?+=RX$z>F8|_w!%8flW(hA^a zhhemY2oVm>?QZ}D7ifqG-R&%pJ4+dnVcXg@0A}C>tXljvu;ZPV0#>vP5kpFq2P$zP zv#*PISyPH55d}cRc3vVL`?NGx0XcOH03T-nrE~?@XS}Q3G}L-Dr8qK$oF4$?ZkWxY zehUC0^)cRDg$X(iuR8Z!#%>J_G|)NF?8auK++hV4}c|cgZC4 z3Gm_$;8W%@Lc}U`n0!2dri?pYy$pdrmB~M*2L*PW?nP7|3-bLLz+=dufPPXZ^nelI zP$c>?K78$x^hF84cJhGuaQyjBqUiH$>aSL&)d3LG$MgC8zWP7z`q%metkC52BneU& P00000NkvXXu0mjf{{7=f literal 0 HcmV?d00001 diff --git a/graphics/pokemon/forretress/icon_gba.png b/graphics/pokemon/forretress/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..056683bec56e914e2f0e30115f58f88c0005313d GIT binary patch literal 332 zcmV-S0ki&zP)DV$@l0goGAP_}8ftb^w!lB$vETen1NUaw8PA2+HNod%swN! zbi-DffqW%c2Ml~GsTMQAlqexkXo$K#x3sh@6lK@%AVnFPsH9X3W>O^Ab$DbA79~O7 zb5iR@GJYuAO&0K_Vcl-hdh+KV@~87(*9UYE7agkSMTaV0br7sWeuj0(NwN;yl6A;{ ebvOk3Ivw68;p%AjJGv790000y14C literal 0 HcmV?d00001 diff --git a/graphics/pokemon/forretress/normal_gba.pal b/graphics/pokemon/forretress/normal_gba.pal new file mode 100644 index 0000000000..285c562915 --- /dev/null +++ b/graphics/pokemon/forretress/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +255 0 255 +98 41 90 +172 74 139 +197 131 189 +230 180 230 +246 222 238 +255 0 255 +255 0 255 +131 16 49 +189 41 65 +246 98 115 +255 189 205 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/forretress/shiny_gba.pal b/graphics/pokemon/forretress/shiny_gba.pal new file mode 100644 index 0000000000..7b894a11a1 --- /dev/null +++ b/graphics/pokemon/forretress/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +255 0 255 +115 82 49 +180 156 74 +222 197 106 +246 230 139 +255 246 156 +255 0 255 +255 0 255 +82 65 32 +106 74 49 +180 139 65 +222 197 98 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/furret/anim_front_gba.png b/graphics/pokemon/furret/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2a0e35ee1049d0c500b9cb2809bd5ce16573c215 GIT binary patch literal 1122 zcmV-o1fBbdP)(h!pn%>5?W$ofpUpT zG{x#oWTH97&8ob+7o4s3USX^1f0JtWq_PL41tE_5LR39E-*q{YmckJLNS(OLDz)D z{HU#=DFuMV6jpKl<@lIE9LE^2;5``vC=zg!U3M=G{{h^53pRh$yN-M3-DnxPB)m&I>X)tcp?j>Lj zfadq||NX7ChdIaN@u?%RX_ueEtYczpQKu;M!*LYAJoYtwwJ*}R)zd1!T^_uU{=|AI zy(RwaOR&p>7k=Nf()9Y3b#=$oP_XCkhJYtaT%P2E0gz|JcPIG(x|%}~mj|t5Q6ORocm^~T z9a{nQV6u8RC_wahmnh)v+w)b3KL!#g)a+*UIUwXwK=IpAtsxHw`@m@$RD9ApB(Qhr;y!{rjsE@IbE({(sd0$^)9&I!t$q@?hujJB#0&$Kzu?pQqXxd~PnR oMx}@2F0z-SfKxqKluwJ(P!PZaLTFEZhXfH%LMCPH$wObw=ATl#vkv}V(M%T*715}e7OHh*6733g7Q^UH7MP3F}woc zU^oG{pGXz}_kD&GapI<$M$GwKQ5@9~DQ>=Lx&v?#)jCug#P2WLhAYnFR!S;@A78f> zTpgFOlw894{ita$O_nN_0p%n6-`}=^CEHvOIdA`b(4I1tL1qBkYPZP|%WF0)#won& z09b(NNx0Dh>)e1*dg1GVAU8x2=uW`~%mHv8w7@VZ0k4sn8-rU0@)mFc@9TNfnwxKK z&jxUtEzInDJ3JfOEtuALKiV0C($H+dFdf(f0oVml4S=u&78>9S0pk*gT0Ig#D>vFD zoq%bR!R-Nt4lnI)Q_QIi+}R9-o31$xK2aWoj~&2ZEhh|Y%TqQ0$_MDV$Z1FaZ`Rci1-8irD5qE0C=Z~D{;a_I2`ri}YpiIDDnaRhe8R-=1f1m^ zW1eDzi4&hRw<-2W8~lr*cX+ljU`a%B0K)unE$F-ULGiLhSX5Dool$5pkS>Vf`Nehy1^jhfnVkU!V{#L#p*NV00000NkvXXu0mjfmru3j literal 0 HcmV?d00001 diff --git a/graphics/pokemon/furret/normal_gba.pal b/graphics/pokemon/furret/normal_gba.pal new file mode 100644 index 0000000000..5996436bee --- /dev/null +++ b/graphics/pokemon/furret/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 255 197 +255 238 148 +230 197 74 +197 156 65 +172 131 41 +156 98 74 +123 65 57 +74 24 24 +197 49 24 +156 0 0 +255 148 98 +115 115 115 +65 65 65 +32 32 41 diff --git a/graphics/pokemon/furret/shiny_gba.pal b/graphics/pokemon/furret/shiny_gba.pal new file mode 100644 index 0000000000..24ebc5bd63 --- /dev/null +++ b/graphics/pokemon/furret/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 246 230 +255 230 222 +222 189 172 +230 98 139 +148 123 90 +197 65 115 +164 32 90 +131 0 65 +197 49 24 +156 0 0 +255 148 98 +115 115 115 +65 65 65 +32 32 41 diff --git a/graphics/pokemon/gardevoir/anim_front_gba.png b/graphics/pokemon/gardevoir/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..88067c8c0712edf14fac19f87994018c8b91ef14 GIT binary patch literal 986 zcmV<0110>4P)&Hw-Z|IPobl;)Iky>l^pN)Qkb`XQs!00001 zbW%=J06^y0W&i*KSV=@dR9J=WmOXFNKp4k8n2}iL?jS!kqEjO^9S}o9Oy-1znNPtt z0Hq&l{SENlt#5R^kWv;$t2&~M~{9dIgQfune~Bg81!4OCJD z9)&vq2829*Wd|~L3FN5r)(%|F0gldJ+cOL+m%D+lo!<=lJ2 z?HMvQL;$QA?#B$T5xle|NaCv;sG4=2#BwjYUcOwDShBpI@D;#ec9?=Ff7ttnWt)5dP=wg~2j~CzhsmAz z2e`#QfCX6j2eA1Eq5T7x{R7$ub%x9HdD}lU*X+ZVe<;}lb--`X6)V;hhe&_7H=krQE17>s%mpgqYwgd{+017YD4rWi{3 z2XcV^LATjn4a^gZ+&{&Hw-Z|IPobl;)Iky>l^pN)Qkb`XQs!00001 zbW%=J06^y0W&i*JAW1|)R7i={l(B9TK@f(wusd?rT+&B3m>S6m5*@_4f{F-vZ$G@);zol?e$G9*Zo|$)<{0hU86|KJr^Yy|n=0_c0apO0V`q}-$u@9PcDH1LnCSNfU~~eZ zrLjq8e&E}@89{SJL;`Rh;tA}3{vZL#HG~NJU%oOh-3D$MFtk7iJQOsm{LNsXO-f6| z2wuJ~@_buYfnj}uT=3$!$SWmLi7F7EiNK7Pxfo$n z1}3WhiAHg+BPY}^h`#qOq=ab+{OtJ?0=Luk-rKos;10uC8#{u5DQAfRVIBF*Px)0t z^ln8kPMZ6ZigzPPU4cQJ-O3;QeC z=m3#7qhZ}~thIqB5EUI1OK*u1K%}`aO#gLxc~qF07*qo IM6N<$f)8Rg3;+NC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gardevoir/icon_gba.png b/graphics/pokemon/gardevoir/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000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*&=O2anMGD$U#QFdL002ovPDHLkV1g|Pgl+%; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gastly/back_gba.png b/graphics/pokemon/gastly/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3ff1badde4394788d650180ac6864f2912946b8a GIT binary patch literal 613 zcmV-r0-F7aP)KlQC}NFc3vmlNH^$47N&XQ_HdLfp>BvX&n{AGM=ZVmIUiuvNU9cKw%ka4#HD+>0<;X5|1(u0zuKxW&yGf^CYB@ zFc4$x4b)z!mGdmEO@W4UYl`~IakzJZV(C5F>+-&7%;A~j4S`x1Z%tz+)rZYF+_HpW zDe?JQ>v}{S)H81Oj*w`;@1O6w0Q862?){wy?K|Su!OMstrd#+Hy9~VP6_zo{LYV1EZOM992tFDV$@lCf&UFc3ub0cs|0G&COAmvBr+~l>I96=}c?#;4O&j`i0oi=F^G`q55{!dYMao`dMdlv^y zL)xItUNXi2FGlhf7>OpCFC`x8t$OXZ0L=+#J~nR^G}-*+kWPO+JZoT#0;VHC-=0!} z^!Ebv%IQ?Aw|T1W(N`@#wIx?~(lk`Pf;=dvE9y1{s7$Upxi1^IRBJqLyBLAPaPKz9 kaoEMdmS^3eANqIo4cjBx7b2+>)c^nh07*qoM6N<$f~yU}ImN)QkbS`o7S00001 zbW%=J06^y0W&i*Lgh@m}R9J=Wm$7o=HV}sK03kH8+BBBhJI}=RwU;-r+f-5K@F6|--LW0!zk47I1Q9N zvG0F7y~F_9`{l*9`^nZa0!Zx%O{y(9zymdm>v#_%kSMmc+89`9E5_wM0cydRZlqzV zd4c7O33Z48szkY|g-}XuZ0qLLOA6Ei<`Gb;X0U-uTmV1`!MKnPaAe{FIH4er(gQ%K zYzIQl8Vqz6{K$b;u(A}xeBwg!L})7nSQvoV1y$?_<=|PjgTaqD3zglGA2`I&8F0Yk zDT=YOq}o&r4b)OuN3m@`U#Q3Osr=)iLIb6EUguF1o5ylfe!73CF^Tfm`;n6sV;lDA z{XOhm^XEGcm?#hbdf@dp0Cv9vpq&YN2!1w;<+b>nt*yWxCN?p)kOAqrM*Ab=6 zwwTrB2L4ztFp7%h9cHEkQ>4|Z`B=OV#dr=7yiZzgL724XJ-lE>z!^*k5Ew!==dWNO ziwc2S3fCAmCqPFH1_10EzI9-SnE+f{=-cfGm}!9mqX+UPM`rHQ_iak;^C%op4#3&w zfB+YG)bStF_XR0@3_~l8ygk<*HfvY{O_N?I0d3!y}+<(A~aWbUz`G2zphbWSjOXAsvQW7^%@lje4@aBUb-9R z4T}YaI^KY#Rt!#1#z8;ygk1vAevP^{y!rv?^o2dHt`X3ea|b93N6>J+SbBl6TwOyr zjjjVw@z$D#^}zLFX_RJiACx(T90MRf!_4)3emh^>Kr~G3YY!9}G&o2U0RYSg0A4Wr za0+ls0N^?RD|CSm!rS5@p#nL2;OYjy3#kJ@g#+M}Rt|WBRn@9~p5WWiA|M4u@y=D9 zu|qv*NDc~&RDqbRU}*mG9~I0PcuD{~j|@mFs%X=i9|JO<&w*I7P5~859nfPS*#U(> z0u&JB$8$U{asYhX2LeFpx0r)zn{${IOC!KJq w-wd|V)VoTihqVVfk*OTAr_1GkfNyO42QT#GC|oy+=Kufz07*qoM6N<$f{U+H&;S4c literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gengar/back_gba.png b/graphics/pokemon/gengar/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1132f45239485b84da406cbfe0b59914ce80af7b GIT binary patch literal 605 zcmV-j0;2tiP)ImN)QkbS`o7S00001 zbW%=J06^y0W&i*I+et)0R7i>Kls!_zFc5{gfWvqw>C!UHa0yzfK*jAy_57iEqpIIPV444RL-5df?JKF=;>$yiRgKpgcF}`wO#%G>> z#{fjK?n2Th7D$Fz{pq`W0u1BJ>X8ZlB(Fd zWbq($Rl|l4Wv>_4sY=o-}V1QjZ-uqE@{%r&b(5+_& z8WUh!KLS>}t))gcC|;}@S{zJDV$@k}+<>FbqX?f*RZf3djMnWY>YS^bFdC`UFL-&IVuVX(jR2tt|&Zd;>v!J!5`#y)5fFOk0=bI!ZH?Wdo&|HkM^5VF$6fz^+74z)>2+ z7@STVV2&{WKnEB%unqKX_dO~}ooyUD z@Tap+U_({l=;A$OaCXw6NR$9tvu~OP%T}@)g94LR5P(q=GKok4*1b0gCb9t^BBdKV zY|M?J5TwC9Nv?t}#O zx&+rOyOjn4m)=@_2}T-!acmPQe^Hz|^_Rl-I9}GOIz-9_dv}<^SvUp?YI-^ZDzZ2n z0Rg={N?{Q@b&#U0C0aTJbV3VTpls(?_))~6qO_@@Y`Yu(7#RYC0ykUSZ-xOI0HmFP z%@&~Q{llR?{KM{g z8Od-qm##dx`VLjx|q3;Tzk*UMMF zU1gs5;~)6)j5#2ES^NV7kiA|%{e#yuK_-Rpj)=WSh(qDCKpz>PKoi@EEHH;Be%NS1 z%2hcf-k|4wW?)lf>4chy4HtQ6h2C@_-kMRx$QH;0sI+bKO=EJA4aUSi4Mw>xL4YQS z>{MxzqvlbyD`1qI0-Z>X;s|o6!RA~;+H&J P00000NkvXXu0mjf_A^-F literal 0 HcmV?d00001 diff --git a/graphics/pokemon/geodude/back_gba.png b/graphics/pokemon/geodude/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..29a4e3f3dc36b70e6bb98b385360e548188371b2 GIT binary patch literal 506 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*L(Nw{r~^}?Af#b8UABM zXRkJ|*^*RTZRqGF00gaJNq2#I8B2ovf*Bm1-ADtnD?D8sLp(a)PBtuRG2n5nWqj~2 zy-`}hxk_hatnr_+ zE{lNa`Va5yVf(}#zvYxGbDnzVAvVj0E7+E(rAS?P(wUd$9NZAi#rx@s_4cA$9Zbe8 zOq0#4H$Pw8$>iN2$Id07U(N8{g)!NMdyo8e_Ch9}waa-qHeL1fSybH^5x~0k+e!z| z4E?5@8{Z097QHmS-M#Hk&4wNSCF7Z1A9U;#eB6*UXWo;$53YX8F2fzZ|-xgYPH`hBKn^x&Ft=RuHYn_^UQ_4*5 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hu1Q2eR5*?8lEDqbAPhx4L6I{+Exdr${g;V40Ks11m!u>ux%N`2 z^$9&bV0aMyXeD3-5mpD_5p~ZJ0Tu2YAZp5!B$FpdVdkn_ojWj*&~SlvkWpJGPg(ap zrizT)0zOU=XXcrX#_qhpuWv0~3Y9W{e))f$tLg2dv^{?^-8D4XZ5m?M1I^=VA0izz z*{l8VzGRcF0pa|TJ=#z0YYg^jv6Fo&C;Kb literal 0 HcmV?d00001 diff --git a/graphics/pokemon/geodude/normal_gba.pal b/graphics/pokemon/geodude/normal_gba.pal new file mode 100644 index 0000000000..0bb2d6afd7 --- /dev/null +++ b/graphics/pokemon/geodude/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +205 205 205 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +205 213 131 +172 180 98 +115 123 49 +65 74 16 +16 16 16 diff --git a/graphics/pokemon/geodude/shiny_gba.pal b/graphics/pokemon/geodude/shiny_gba.pal new file mode 100644 index 0000000000..d980620679 --- /dev/null +++ b/graphics/pokemon/geodude/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +205 205 205 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +246 205 65 +205 164 24 +164 123 0 +106 65 0 +16 16 16 diff --git a/graphics/pokemon/girafarig/anim_front_gba.png b/graphics/pokemon/girafarig/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fded8246b690cdd6bd453be82b989d4db8aebcf7 GIT binary patch literal 1504 zcmV<61t0o}P)hiGqeqv>hOmq0lhkKu)0O%tnIJK(c8> zPNE{Vbw$(w844tSKpcQlyh#dlf~Wov%JbZz)6N}ZZ5@({Q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zv{KNRGd}{(m&ZT{&)cFX>kERwC`^ctp9LK&ej-h;DWZM@L z<17wrzpj)yXYo}&@0kJX7U;{92;f}MER<5xJccEfE{&knz^tnN%X4+EPNQ<~r_yEA z@Bs7ez!HJV7Jxlp1LjF45Xfx<;@5XT-!%ch;xV<* z0Ip(FvxRy4ScpSv~e7(LmcAx>F#{koUksMu7rSYmKKrU(*T*w1pzB9sPdnGAfQcaU_A#* z=i<<|voO`BXWCO35a~3)RGXd!J;gxhKs6!Ls38R0R;dY-6aUNyM8--!vU4J_!q^#ed+N~`<^)57Y!iO|&$n_~gY3MqY0 z|F>2d0c!A_0FdGP%c}H!U``t0Kt^4G|7QIKZKQp8bGWNj00000NkvXXu0mjfKr?O` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/girafarig/icon_gba.png b/graphics/pokemon/girafarig/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c8b79b132d607872094051f09d0e2f9f2302ee41 GIT binary patch literal 370 zcmV-&0ge8NP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H@JU2LR5*>@(y`OCyv}0l5pXiBO`)pvW;$r zi?Bf%HUzhA%VBfxXt7Q^4jJX!^vD6vZLZT}8-lHy2iCJyc*MP~Eb8{Nq4M3Ovij8X zXQ(fqxi0mCn8nNEl1w3 Qp8x;=07*qoM6N<$f?pJ&#47Ot37I~1xC>Jkb6$=?EdkF#Auywk3ov2qi_!s>3x6&FAE5|$$9ur{v21TqcGP;5tYKdXR{Z4=m}#BKrX z#eP;%Vzy)WpXutbP1pE=KwC)9GjcR2C63;ZlJ>IzycCcpjtWD$r~S;SrGVNt$*E94 zHwGB5d5Id;9_dm6x(2Y9gXp^}o4OGOK!CeGGk|Ag3ueSFlyxtnDmIFlK$Z|r?42g=0`xex zp~=>bA~RE)l9$7u*}BI$d-Dl_iV0X#N_K|l@m7>ENR1^veQ_E zoD>llVTd*Ybw~m2N%8FLeD{pka2YKZ5*hH#pRLc%N5fz6^+uo$Z<9c`vBH?z*-lss$XjQ%V=pzXIwqToMp4{~b?%xtRXpcP+;i6{7UJCF9(Qw0>94X z0V^S(6PP0jAl$gq4{Lg6C}CbCvHxCRc&PxHXC>4R_5vudHp&At!dFyF7_W2(2r+wW z0DAh{9(3n^=AwQu6o}Rrr07CanhOjNvowHPDdb)ZtSb~CDd2^R9lVYMlwsz1W(}=I z{)LNM7!~IF0tJS-ib;(S7tc*J7a*uFxCva#JaP4*VGD`E19LJ@VM1QxhFoI-zOMmO zEoO1H<6deBQ$IMxvC9J$B!H6%ap9_3J~%nWJUIF)3E=o>57k=v^ryiQ#=+5O&hBmb z=MNvS88_b#4g&-N=$b&sjSfH9^i?z%ywjENC^6hSIq;7Np8I_a09CCY5`uF>!Zx8S zR;xYKa!L7+ndUY~aTco|9xIe20C*r;y)N@w=og$fle5j*EWGUX>T#cgDA{QZ%;@fD zgd#=@kQonB!!rwo_U>pnnsU(cpqHMm?dI0)+4;p3AJ+09Jzl%9I)G1AJ^lHL@tp0V zz=*)%j^E-d=W`Yv^&VzO%K8WMA@Y4cwLoLBk3aon|GoVUor@%GgF_)W00000NkvXX Hu0mjfn-6sM literal 0 HcmV?d00001 diff --git a/graphics/pokemon/glalie/back_gba.png b/graphics/pokemon/glalie/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9c73ee9b221d53303d662343288498a64ebf3458 GIT binary patch literal 701 zcmV;u0z&Kl)-Y^Fc5})A;)^`rVoHTJ!goVUNZ#4)eS+t(#|lw z^29PvV2PxL8`}OW*@iZOV-KC^z(M=*?Jun$ir&|Mvncwoy;!Fxt}YO?0iZW$>#m}0 z6xZ6Gt82@E(Px^(x*`CPtF?I(I6y!wg5oX0v48Ri8Tv&KXz7|S2^Q@-cSpW zIaHSZsynSw4`yy0HB!~l)qIBJv^C1ZScj%Yf-8G}GiNnS#`drX%s zFxU=_V^&yd#z}e5dh;VmZ*X#FAqa(bxX$teN+8YLeWv!9_Z<-Hf243H+HB%iJ6ITaZLxfdLP zcr3EKSYu0gfs`fBhjv|yRho*TBn;rC1#&M?-&z@2ys=; zMON|)pa&QP8z4ZLI-n8RjPHg8*;Gj{P`Jwg49cAlxF;_V)AfEKb7b^yJ={}iAH-)U znw0B!Jd26si!<#naz*Av2(@k?xMR^?`H8w7a0bnXslX_ge$bp^`UgO`3cMxhqXL*n jdB?wni+^zM>tCi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HuSrBfR5*?0lFbc+Fbsv6fC#t~#oQBt2VldF))`99RUqYxY-lCS zPZubvZ~pZBY)damE>&tc1N{X~5*3(^pdVZ2MDYq;m}{V{wogjiG!0ZzYvERs#ld|h_6^S00000NkvXXu0mjf DV&;3u literal 0 HcmV?d00001 diff --git a/graphics/pokemon/glalie/normal_gba.pal b/graphics/pokemon/glalie/normal_gba.pal new file mode 100644 index 0000000000..aeadcf7824 --- /dev/null +++ b/graphics/pokemon/glalie/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 230 246 +205 205 222 +164 164 189 +123 123 148 +82 82 106 +164 205 255 +123 164 230 +74 139 197 +255 0 255 +205 205 213 +164 164 172 +123 123 131 +82 82 90 +41 41 57 diff --git a/graphics/pokemon/glalie/shiny_gba.pal b/graphics/pokemon/glalie/shiny_gba.pal new file mode 100644 index 0000000000..c45ff937f0 --- /dev/null +++ b/graphics/pokemon/glalie/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 246 255 +213 230 238 +180 197 205 +148 164 172 +74 98 106 +255 148 90 +230 74 65 +205 8 41 +255 0 255 +205 205 213 +164 164 172 +123 123 131 +82 82 90 +0 0 0 diff --git a/graphics/pokemon/gligar/anim_front_gba.png b/graphics/pokemon/gligar/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c5ce592ebdf5538c11e5f70909b72a7b6cca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on/gligar/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8179867e9c4c1c622e30e22dc3599906e14543f2 GIT binary patch literal 768 zcmV+b1ONPqP)|MuSh7%_7YT9itQy<)}g)ml0Klxh$V5dZ)G_hi^R00001 zbW%=J06^y0W&i*Jen~_@R7i={ls${wFc5~#$=e=T@&nSOk3nmtTMleCof~_i~=x(se$Zoz_3p3>T-&JK%+6+0%`-KXs{!o2VdC&>mGK! zL6tdRT6aRAU2x7rOT9)lP*^QMn{Z>aCmN&el7;}+1hW&?8-tjI7VMJLy-Ao`DM57+ z9|NE~zy)F_keU&w-2w;b05nL2X(7Ow-l3-nkXa%WQek5g6X4G!ZS0bINOCa)EsFsZ z>|Kc&I3FDV*o{y+0IdMwEd$qy2bvr%1mx%k>7Bt2ei$5315{;}1y~vPG%IMW15hn_ z=3{+t`dQ&P+ybZ<0bCnD#aUue=vIKh$XElX81T5{KcbES??V3W=Tdkz+V27Q^g~A! zRQuaY-2Lie3IuqG57@}#lnHJTpF$VRMJUfXJzi|wuXZYY z9_r#y+Eb%ENsr?SAb%Ckjb(xJrCS{}6l|n>L7p5BB(eR;*(M}K$cm~amlQVwbg#di z=}mUEKq77gKq#^gYp^ZjfaJ%~l>p~-ab1Fa?u{N9=L)L99m^JAIa;@m4dm`Jx}Vsl y#fJP&|EV`6CqQih=06a$Al+3E0M}jq>*EiMJft^eR6Yy<0000g literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gligar/icon_gba.png b/graphics/pokemon/gligar/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..baa8414a75344e7b89d144b7da34d7b2d66084aa GIT binary patch literal 425 zcmV;a0apHrP)DV$R5*>*k}+;4^{iEEE{V#(LnRL=QKMF^s#;k zEUE8FJCd=3^ofX=RIG+h*F-0+aO;qr4@oQEQ)IqXq*$U%|1~dfPb_Cn*CMp#ltT=s2PBO2Z}bYz(|?V!YKiK80!eW$^*Yko`9H07Y|XvhK5XC4_b zPZZ^$<3AkW1N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&xb4`{6f!rl=H7Srji{ZjC`yQYHj| z{u21*XdHPGHHI<3^3;FmjpDqY4P5f8*gvG*M-*6~fUmL#GJ+rwS2+dZD&WCZ0R0F<=FbCje?YI_hdS`ZKr$LenF00001 zbW%=J06^y0W&i*JL`g(JR7i>KlreAGKorNlc*&5Hmx!+Q2dLz8mM#ojmoBbIGgmAX z-@t5DmhfQl%1y4+1z7kZM?Zlt;R8ej3DTOV^!n}`0%xqURGsplEWMxq?|<+4>^Lv_ z&vHK;0WOXJu73n*oCG9CfIqylmMx~>la#z^!g)xgOx?jWIZ&KCzAC<4Q7 z90T;fyzJ2pT=mVd?$c#sZ;ND#1lTp*w$AkozU zx^XwLfMv+mkN~y^Gyura$C~Dn8o=|Q&`Pk`iW_L(uK6CDbGGY;av0QXKMP*{Y~&B66N&7K{mD;6F6034j;)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hw@E}nR5*?0k}(PbF%U)P1j%jG!rLsQT1>HEt}ue^);3D(ZNx38_`L(25SI zfJxhk{XK)!COoMbOg{-qrFI6)9hRd-7beXMWBN^57=Z7>{N9fjo+7C8UlBlE00000 LNkvXXu0mjf_=Af4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gloom/normal_gba.pal b/graphics/pokemon/gloom/normal_gba.pal new file mode 100644 index 0000000000..7b08612490 --- /dev/null +++ b/graphics/pokemon/gloom/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +246 246 246 +255 197 82 +255 115 0 +238 74 0 +156 49 0 +213 213 213 +213 164 98 +164 115 49 +131 82 16 +98 49 0 +148 180 197 +115 148 164 +74 106 123 +16 49 90 +16 16 16 diff --git a/graphics/pokemon/gloom/shiny_gba.pal b/graphics/pokemon/gloom/shiny_gba.pal new file mode 100644 index 0000000000..c5e9139803 --- /dev/null +++ b/graphics/pokemon/gloom/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +246 246 246 +255 213 131 +255 172 90 +213 131 49 +156 49 0 +213 213 213 +238 180 98 +197 139 57 +156 98 16 +115 57 16 +180 189 131 +139 148 90 +98 106 49 +57 65 8 +16 16 16 diff --git a/graphics/pokemon/golbat/anim_front_gba.png b/graphics/pokemon/golbat/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c7ba99936a9048c1b60be1607ae909fea1833ce3 GIT binary patch literal 1123 zcmV-p1f2VcP)DuTPZp zE+n)-y9gz-a|t7mHD@zP*xd5c+P5{PHV0*YNrL{~A zB+1E^xGhVoQD~LJc(h$`m6vU+K_L-BJO(`=5oKp$1@-jwt*;<}Xe6EhD0?2X0$i&l zX8O3K6|k>>Cs2T^)ip<}6}3n1b_#+t7Qk^)dt^cFA#dxBFkPtt%!~wAGHL2)rRz0- zca$=XDVaBobWB|X1nU0ZZz)`ZR_ARO2$b_20P04*|K<;Pg}qg3H5zU7qeuh9nD1|2 z!W<;Xh3Xm&1XxZPVj!@kF=Z5bpW1+KWlG%_9~ZA_@E4(bm{KSkSea*mKfl}tWI^;B z3m0qvnw^#by899k7~Z-dWFu?|_$?{e&;K2sKgpvil`}oQL_M6d|NTrZv z{K)`h1Q0U&Wa@;6mw=KFL}j0K`Rbkd3OGFvGX;-sM(#8)pBo_RP2@b7KObs9KhSO8 zNu`IcVTSo!F9UBcjet-EybIzmqV52Iq8gwqy8KzHONa8?G1NjQ~rJajI+B9k$?NPT63s0&d_##_O=k@tPU& z^~BwJYw`VHih%D8rNgVM2B&*6viy1qGPeBZ@jU+bBMztQ*uVLgAj)_CG=XWnn-<{= zL`IRl-nk!Rs*yf}>)Tx&#LAcg;)ga6RcAUs@S~DI&|VO&_Xm?7@OMZA@fi@AvnoGe zCLz7Wy|9b7JnZrVlLcgkr5$BKI_&ZTlUgEMTFc-^9=7=b@k5^W0tC#UfhIq={2)b< zS#=b#f`?sx@D4Ih9(n>AX!C;yfD}J0fYXEIq0{7t4Lu}3Ru+IM04D&N{BTlv<`5fz zh5usceUl#wmDo#w87g4elC?2n9SPzfO_!&jx})1i!MLx zYycknrXcGgPrCeY9uH>!Aee@9`GKDO_vOH6lXdyQ8HzA7*UArr8OOEq0~x3zeP5Fw ph6n8alldWzuBYC(y?yBFc1b{1|;$TeV|mba0k{zeSmUwVCWEHh71fX z~25ZLJ&+60%{!sDX#2bp;TbX9M;hedO?|k1Doy+kfcDMdx*)L04UYHjXX(U z0HnPM5hU|@KS3%VarGS- zpeZBe>sr|q2KLl6|M0|)Hl{ptDuX_u-OeMJkZ00000NkvXXu0mjfV;JzN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/golbat/icon_gba.png b/graphics/pokemon/golbat/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..25b3f6821fb9fe2d0bc034096d22714c5adce63d GIT binary patch literal 355 zcmV-p0i6DcP)DV$@(lKttAP@ymPT;u%qEEH;N@&uWB1{`!onp5~f~kLO zt&xG`0ISgP7y}-@F>gJV8J_76AoQ>rqmtW{UcjM2g>s_kxs^aR>|k9hQQ5Yn?ClAp zatlViv*$M?+l>*u_3nhbMy}plw40#Rz}9_S_X3#V@&yDAxpq)cIaBv5T9mu>?8SmD zGV~JBl8o`CVJWMyr+kGyWiboMdDBDAyE*g|lzxIzId)x^g2O2Ch9xDhZ@imWl1Iv^ zheF=Xo}b>lc{9@d6y-ktyU?6wG0JZT^7_!vt73jiN4hE z%SyCu6&P*bbHw-BgWO!}g~485lA4iuq9jST^u*xBcgI{1d~1VKm7-@B6URb4+1_O{mNau?Dcv-Df&52tYUz1jez){-??bG=i#cNR}ziV>l?0E zp^Gshqa%sDp(Hn4hiZTN!ZC#JY2VL*>R1btdumR#l7QoPknLl{Z z+=kY-$WUhf;PEuDB>W+`@rT}l@P}lPQ~~)zaN`e;I{|x+VX6Wr?GK$j=AR{jd4FJj zvW73_{DE%QhqEFyGwTmzrAa+-W&Xeu@-6d+J|tA^JmU{9=|4SrWWL6_YP)Kls#|SP!xtyusT{gl#(r$-OOp4s2$6PNJo%Ge8)tJ ze6Kf#O7&&y2opc8>My7u4U9%Eak^AFJ=dmu|OkXzvBEwNtMG?r7uSRKME^G}rH4!24jEt|7b?Z=xmdZ3hkog@dzl z;0!~bbnamJG&RH@>b!G}StDfoXNNY{(dQY$GBcHv?#35^(8oPImze+rDO22#?n!?M&u0W6JZ6FTE_qVQ zr5jXqwNfK>uc-*(d9gkfE&3x+3!SBbhVbQ>^wCtfidbai+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H;7LS5R5*?8lCchhAP|Om0(l46CE>O|jLw0yy3xrgioir+c)FV~AqvCO-G$+6c45+yUkfwV{TPKw zI#e!1VfuX9a}?&>4kD{@4hmt!bS?hF6$Kyj2HYKcxuK%$P5=M^07*qoM6N<$f-9_- AB>(^b literal 0 HcmV?d00001 diff --git a/graphics/pokemon/goldeen/normal_gba.pal b/graphics/pokemon/goldeen/normal_gba.pal new file mode 100644 index 0000000000..d88f149325 --- /dev/null +++ b/graphics/pokemon/goldeen/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +222 222 230 +189 189 197 +139 139 148 +98 98 106 +255 197 123 +238 123 65 +213 65 16 +180 49 0 +131 16 0 +238 123 65 +213 65 16 +65 172 164 +0 106 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/goldeen/shiny_gba.pal b/graphics/pokemon/goldeen/shiny_gba.pal new file mode 100644 index 0000000000..d2a8815232 --- /dev/null +++ b/graphics/pokemon/goldeen/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +222 222 230 +189 189 197 +139 139 148 +98 98 106 +255 222 24 +255 156 8 +213 115 0 +172 74 0 +131 32 0 +255 180 139 +213 139 98 +65 172 164 +0 106 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/golduck/anim_front_gba.png b/graphics/pokemon/golduck/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..87b2327ce6f062995180c4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MN9QX{g)(@CP6gkJZ^ z+q$BMxB+k%m;>vG7CISkfFRl#Qsh(AB@-o(S~S4)dN+q&PH#04lZ3m8g*Pj9yHfHl z$+Brzqq~@?{aMUliD`MB+z0>{pcLu*x~bC(2s+0aHh|~q(2mz|5D<%|=XtA@HwkqZ zpu6_~NLSh#DOsl=JbqKR=2e`9Vu?0wzvf3S`7~st|j}-qbK+-`&$^ic=uEhdO zft08sPm{`Ry9S_EP!UZSzQ!d$8~r9A^R+(Dn%S~b*W)!{-!9Gb0e#dVSDEi}m3pz- w%nuX^E#(Z7jaM^2P$VnB|MP=uf8+e{7s<%h%4K7q&j0`b07*qoM6N<$g6Dfg4gdfE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/golduck/back_gba.png b/graphics/pokemon/golduck/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1422a73ae1d670fc07acbd8f45d9437931bff925 GIT binary patch literal 630 zcmV-+0*U>JP)a}fUk|E%8sl(f}ad#o{1Y7h_*#W~I(00001 zbW%=J06^y0W&i*I^hrcPR7i={lTC8lFbsutfKt9?rnx}1OplQJNYe`#w7fS#YUj>W za8{eWi%B)b&G5WfbHHv&kAJgmxy zxu?o)2ZS2)45~=Yb%{6$1v${nRP%tIfn!n~zzbQ0N!}Bnu!}YU9ulIAiou>CD+V5@ zb#QOOzFsk)CT913X+{g&paATD^ZNMbVBlw{-!Gl&e#o~RaQz7AZMh#{L;W0p%isWY z9JqcYY}D6BK)`GbEcUy5`W^tV!0ZA3xOU%OGoXbN1epk+BV4V)36!r(0=`DTWOqE% zHQ#Nd?z-m)7@dI*0A2&oGQb9~H~?v37>!|p8RYxIo0JP`dP)Lb18{0KFo4Pd$WGVp zX$=6Z8~R()h#NSsIP6c80L`YNYveiB1fUFQ4cs{| zWMNX^1C^C^n3nWtd8!dnvK-K+XKxp@VUTH3ix!>5F71Hb;()ou+9v-x1n}x2!Zm?! z0bmOq2$N;-H`<|&GAy8dhJSSl77tBi$_EYU`sQrbE$*^8EPI_)0RC}(0{>R@>_fiy Q5&!@I07*qoM6N<$f(WG-?f?J) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/golduck/icon_gba.png b/graphics/pokemon/golduck/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c0c922834545021c9681551281bfd354fc3d420c GIT binary patch literal 351 zcmV-l0igbgP)DV$@k}(d#FbqX=g62}rS}(~8_uvGX%1W=msXBCGup-rw z=oH#22}zkiVgOJ1PqJf6Pl%r?>2|=o8U-JG1-xhPLIK#I4##rlNo$4cBY~?S?Y7|& zn8T#e6@YFNAUdfM=(`aDpo9qK-gZj{&fsF1my8&Hne7>Q%?aEsJJzT|+Fu56(g2%$ z5TlS@v&!o?gBaVfh4y()1Jn==#euZ2GA}jm0g?F2`l>J)Bws#{UK^-h0)wTAYhHT1pWA0RMx7gAfo9X2s9E00001 zbW%=J06^y0W&i*LjY&j7R9J=WmN9Q4M-<1max58P!Bx>khmtQqL7BpzVr?r8ks=0n zTg5{WX>x__l~QaQa1lkRm_@QunptVDyaN=z!nsZ1gIIX+F1nZhEX#Tq+eDF);v`RD zF!STRH#2XUpJ9B8gB$F;(Xv4#X`J zYk&UFCf2{`BYV>|g04{6?50z?6)Cg*l8L_;)=;`*^vB$%xO zTL&|92{4WnA_kls&@hi03BVYC0DM+AO^fOIrUshCnk}2wfn)3wz8M2Vb0-TJg!1*` zk)Hwped!0{zDjRI$4y#D=@KWi9`FcngLJpOVf*I;eEVIyBQI#S&n$|@3)f!(JKc60 zy;xtg+g*e(8M~9-r8`W4zU+2Rv4XocBFN#4Ssm%OWu$@?(3kQQYroSGmVoPb+=WVx ztI(4%AW(vi;4|y`VsY(zDp_Ws9|KJ>&;fc1KsoZt3onh(?@0w98~~K0{9~)EJTQJM z0mAVx23}(RqN03mRR$hjS3t4yW~_+uuma!)6M+bOZiLqrP?}6fbj!mRsG#;z`9xJI zm84Ze6f4E@WLt>(uLIdDDMe?mzoJlHaK1Y3Ns)|geqy3Z50Qz#uAbq#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;V6shG zdXd^%>5;6N&Xt2TQZv83&%xW%i$=I|o5B;q?Ny`H)3UR?Bdi}MK_@21G@(xD_#-_zYmCrh%|4mmJb z_x$v}@7?L{9?QCEt6Q`}Uk?wL1J~iK_{Cq#fhhEKhOi*VdX&6Y1bE)n#id^gcs)W= zT>x_vKp@k1KNHIFyRziq-3_ylz(F%6i47?x+n&SCAz4EFV}C{O-mc{yrrKDoZ36I zU#`QUFTUAQ0?~Lc*N9&NxK!>t@}ew2d{pp&Y!`=cZFQ6c+l^8{?#X}^g@`k#P3ycY z1Js)+UnWeU_w|nk@b(#!;$Ud;@mvC#nQ(;th^MJ#VZWdV2keDhsBY3XGJx0~$c0LKZ#NE804nzABG61N zinIszB9MBN*dD;u-5eODe@Ovh4{UMypG>}G0G-1V_5d#b=H$u%{w4t0A+db`V44wC%`oJ7+>1`y^G`{Gto5vHa)Q-FnCNFeY2<4JUw2gJSC z8N~+TIOBuYm1RXccH{0tvC=S4gCd~9K3@Ko_e|5s06AuA8ri}3@4dXPEx5bQ4!8u0 z_cYW9DL$F*CDWir21SD2@QVR4&HJB9b#?oLyC~6-T&H%490!2&qTTM4oNN#PtcfL% zVgl*01JW%7(z$7OO6yQDPWM+3__VVe0AfW53wKulH|>9J{{TzmDfgfuHYfl9002ov JPDHLkV1oZ$`oI7H literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gorebyss/back_gba.png b/graphics/pokemon/gorebyss/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..aaf24366bb10ee9611d4283c7efcedd17b865209 GIT binary patch literal 560 zcmV-00?+-4P)4lQB=iKp2L*(U8te{tySp@)N#;fwhM*9UKTUIAGFH zV)`Rwa53UL>~!}8?nHwg@9*pYZxVK7 z148x=kE=ci9Xz|~;N-wj!zo+f76>gkgbfNoIiX1p20Vh62@ehE-hf_B`uxGl357X5 z#w7@cr37Ju&=3>Ky1a+dT#Bb8By^=yDjGP1TnIpK4}^2P3r<%^F!u?|%?n;Q;;SmS zn>d*PxC>Qi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H{7FPXR5*>@k}+z;Fc3xO1UqL*yG?Gh<>nghdB~1r1_b&~qXD5u^cRZ__JPROuaNT`$ec9o1FS8vvpEBP52OQe z^SBZNEpg?c%P+_yCAKaBz`$m%0y>Vb6>uT|4*Vt+Aa(uJ|G=ZPo8-GK`7k~mci{Ob zz4ryUPEM!uC4;Mr$G&8`Vo2rbAC~Phe})>Y4S=+r0VIJ~0IVT7QHE~gs_&1V!XGeS z698ehZUh`IsjGmEPAU)$k{1BUAP-7uZ0PZ2+W85=W)M1dH|PRjGYBNP8+0zj c?+vQ!229AIchO>rYybcN07*qoM6N<$f*dcS1poj5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gorebyss/normal_gba.pal b/graphics/pokemon/gorebyss/normal_gba.pal new file mode 100644 index 0000000000..432c0eccc1 --- /dev/null +++ b/graphics/pokemon/gorebyss/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +255 255 255 +230 222 213 +205 189 172 +255 205 205 +246 172 189 +238 131 172 +213 98 148 +148 74 90 +131 90 131 +98 57 106 +123 106 98 +0 0 0 +205 115 255 +172 106 213 +148 90 172 diff --git a/graphics/pokemon/gorebyss/shiny_gba.pal b/graphics/pokemon/gorebyss/shiny_gba.pal new file mode 100644 index 0000000000..6933750055 --- /dev/null +++ b/graphics/pokemon/gorebyss/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +255 255 255 +230 222 213 +205 189 172 +255 246 180 +255 222 98 +246 189 74 +213 156 41 +148 106 32 +131 90 131 +98 57 106 +123 106 98 +0 0 0 +205 115 255 +172 106 213 +148 90 172 diff --git a/graphics/pokemon/granbull/anim_front_gba.png b/graphics/pokemon/granbull/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e077f8b070e68f8907bc3e789678eba432213b2a GIT binary patch literal 1268 zcmVN6jH1YE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?Enj4&h#NF8X(cX_$75u*7s;KaZVSdieo-q2c&@Hr5$ zafdW|a6Z1gHXSF0;iP+Ca%g`n@>dRUs5!KYHFFh6sP+P6xBWf4m8mHniVncjJYUqo z*MZUkFDVeZWoI1!7r^QVk3W$1Y|?4gJero;JCf88Y-NG52O#;-OWEJhU50000 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/granbull/back_gba.png b/graphics/pokemon/granbull/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2ac044da63c60ee0a35a15952cfa4c8a61734447 GIT binary patch literal 627 zcmV-(0*w8MP)4)V=PTFc1K6OR)82BKaRLER`@UjQIXbM&e`04zGpO zc5?Fs%_Ed|>Dht!_=-AKy(!{;+?_vy5dU+?%(*w|L?XrMIInyjo1=VMV)qVEev17b zY1#HYRgm%klzrc~2#wZi+as6sUfXpY!iU!RZIkZMQtP%wy9YGYp2ve)Z-CE7aN&SD z)9^muMNkyQ3{rZKOTRc@zz;zqT(r5C6A1g#pr1Xw{24$2h__dP1%Lnm;FE)^UtEY> zQVuSDM{chUJ-+szN@PC(1|hz>(*#LkD0=+A)(LM;v-hF<1+c+H(xbes3nlf)`&IlfV_vqGbjWTOC(E>5jaz+fsepJ zW!FHh0C;dd2Krm>Dpy31A_ugc-;FjJ;>}Oipb9@Ku@CeFOa%XS`~hT{oBgGL=V$-` N002ovPDHLkV1jGtAs7Gv literal 0 HcmV?d00001 diff --git a/graphics/pokemon/granbull/icon_gba.png b/graphics/pokemon/granbull/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..89beb7a8c1282c2e3a7bdc6706cd07538bb46db2 GIT binary patch literal 352 zcmV-m0iXVfP)DV$@k}+<>FbqZ63s^(O`Yt`V3eaKfxW(#zSj3UA? zX=2k^v$Xwy20aj;0`!P}bM$L_4;Z)P4H#7^*!hWIXaN=AJ}AQux9}Z=b|?58kRO0V zMme=@o*%7p;sRMZiRy^_k?Oj;T4C`ZbVgF|z;}lj=M_j&%h`ij*s{5=~+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LB0S literal 0 HcmV?d00001 diff --git a/graphics/pokemon/graveler/back_gba.png b/graphics/pokemon/graveler/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..79e87cee9da8a531063cdcc256fe849e10c0e77b GIT binary patch literal 490 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*L(Nw{r~^}?AfzZrc4nK z5ctpV9}}Iu+Pr2azSMnHtW{f3d(SsbXScsoHpyNuQ%=?4deWwFpmw33%Hm~}uj0AiHTr*v z+8CTZQ`=!Rb9?quhtrMcw=y(8woa90YEstES%{&}} zmI_<3&C$N)E6iJysY8 z6S^$2%=5@@@0kxaFkE^g(qHGTnKXx?Ve+%}%mx!oB)wVH9-U8SoZGmRW&VpDH?199 zj-Qp;BE!2pkKwknGrOhaxyz!#Y=L+9b<++AzpQ)mQ)M^vr~79uJ}#A zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H>`6pHR5*>@lEH1mFbqXCK?rJq5aIygq4#G0E$Z~Hh#bHy6TtJpH#RV6^beyG=U<~LE{t$Xx>6`>A@^UOn^8Hvy26;tVUAG zqR1wj5x>li6sgM~Kw>V)R5qh<7LSlNX6Go$io-Cz@l$!CaXWb2A_J*y2J`(s#_Dyc zwL0z{Da{{`={n83VYNnwer*{s`IUUnNJj2+DZ2r&PGCRpI{kw>0|O%MsL9NvvbFDd^NY_iZdps{{ zGl-8~E(uzZ^m3aF z;ZlNlmjOzuq59NsZeOGoQT3CR$3_7^Dypt$2EgLdZsS6a(kv9?MD@6}CDOdB7^G z0)hz@$p8g;y^KKcnq-~1WX-xsz`d@rfMW__u~>wAt|$jcEyLZfvzLo4qn^_=uN8pb zXS3NWHpWhYVxzPOSbqtCY%>AM8^u+d0A(sS1)L_<^?Wv)TL5)81sv+9{d_*R+*NX# zhOJk41mwLZ?yRJ7(-lP5l43*QS7${v2JnooHv-p40OO3?VGbK2Ezpu$q8Yll(Ga-W zVE^=-(J{&xO?sHdTHxQM?bw7$$TnzOkDAVs!s#Y3Te0Lu*OrD&SH?z6t;XH~h*uqc zTeM-zyU^5dWXE48#}1#xZo*M`X{JqAhJerF+HG*W4deAM;UiW)xqOI29O4i^WPG>E z72f}y-C(D3CFXW!W`0$R=zcFXsurXMJVkA|4eZv#BWx1V)nFV!;HuKFS&QD)c; z7328PP;d>XFMfu_43CP!SQ;-M?I{YkleK-U&HU{lz8(JqaE}0+@r`x<00000NkvXX Hu0mjfD-qMO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/grimer/back_gba.png b/graphics/pokemon/grimer/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..593a1ab549fbbfa90d72ae5df18b528b56553bcb GIT binary patch literal 568 zcmV-80>}M{P)KR6A0`Fc3}WRK5Znfy=BWIe=EKGNFi8G!BieTp)#S zmnI1`6u=B+*p)xB9ZzUshS%8R_q3n4TF++x_>)MUe-O;!wjwDYyUCY;Hw6|H-b#_~ z72(;sKB$2lq6#rOH&zKn zfqd5hfvD}&D%(K3Iwh63+y|?no`_baP>1MKhPnb_G&B=Y4*CKk0->OZVEJ||dQO+j zgb2{w32%4{VuUm@4PM;fUZprj?%9jj#o3BY%_PN3=lKgouXvKCF)6s|Jjq)pNZT2; zcKcd7B_IjmFlDV$k7R5*?8lEDhXFbszG1S_)R20nyOAoMoTXC3sG!|>cdUtxpY zgs5z{6=Ol#ZW9slCI))w&zBIwmn6Sef-m#GMKen*qOK>nC=dYxVohHhS0H1cddxO? z3`C8X_4zOfEN)jYnlN=_Zgstj0c&O+)FJd-%~c)B5&b5jGWNIzE`3j0thoP) zIZCXQq?~(;ds<@udxLu*DgPiTtSLGF%`wHr&Hw-Z|GmAOYB4!EIS>#KGmH3600001 zbW%=J06^y0W&i*OfJsC_R9J=Wmd|S&%^AnH)Civ}1eIRjMAxAdzhJeI@geWQ#Ts(3 zL5mOLHN-?Vt$t7nWpl)m1)P~}}{@cs!Qj`3j)5-$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n*J^N68c0(A!;&^He5A=Xj=0pSDYi%>6u2zh+F@PKg= zyA7O z9FS_lP!g@Zxm4Z&Qu6@$FE}6ww^3joI8R;*Lg$QQBn?2qO?5 z-~M?oU~pj8C>-G-N;~mXAZ&#(kL($xN8NzI*C^;lpPC^^;dHAWKmlB$==1^xui3qliG@0=@0j{-xDlHqaq|>YPH>^;&5pkJLKp({ejOUI zXq4yDdM{w`ac07i501I_qr;CO0Ihm2V7O}-M?#+RD96Vb`ae_ZmjQzhQ}7-10PgU3 zBg$pK=pOZX`I!H6FF;f`oR0y6kK_S8>E#E~{Cin$)r0*3Lr7D3vl8p%2kFg0S$?Z| z0)~*rrY7C|AgxnOty;A|U2^hYBZH+oz0KQ`z=>MK3@8k#QL=4GMt8m)z1dLvO@bmlt8b%uM28=86gC}5I gl^^=I@c;bqZ*rR#lsJhTh5!Hn07*qoM6N<$f*;D^zyJUM literal 0 HcmV?d00001 diff --git a/graphics/pokemon/groudon/back_gba.png b/graphics/pokemon/groudon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e2b711932f3fe3b6ab2882252efb23d8717c9b9e GIT binary patch literal 890 zcmV-=1BLvFP) zIZCXQq?~(;ds<@udxLu*DgPiTtSLGF%`wHr&Hw-Z|GmAOYB4!EIS>#KGmH3600001 zbW%=J06^y0W&i*J_(?=TR7i>Cl)p~fP!z^9Wo()uz{W$s+%6UaL!u0BIv`P`l31wf zRfOz=s!DDK;ydBFGn*^Xp=0J$eGDo^t;FC2iC$l!%BSD81BpXIAAqxDI6t57JAZCU zrKcM0@1&F%L+8b;)g2k1+YvbDvQ8i?JJQ#els0ftN z0wTa5SbvBHgF)aG1%^XoQB^T0eH=ySR#E^C?Wsk_0A94+_*?+WSsoTQmF&OQWT8=Y zvZO$FgXPtEgUCzviDr|?9HM=yVvf-lba3>QgE>I_-Lo-ev&%DOI@qc2HuS8|N+w`? zSOhFaQMBz@SG$c_pNCV6Ue?3adHmD2tkG9)7g~VD6H_9r$2&~`_3^!fah4bDz}M`w zQ_I?EzO}Yq-sda1f*G_7Q;Z0}jWwR!1Dxge6B1g=TQs@#tC{j_M$c5P5Rkd(ThpX! z&OV32pIia=ii5o}YbqDcjSr^^RP9N57QGmkia@U5=L&-3QKJaV6aWb9+qzr;$aOKr z?8$^K7JdVRVh+F+whUly&Dk50;Q09|h|rXP4yUok0}B!|H(i;2zm83W$ezJV8jk^l{F_oJi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H_en%SR5*?0lCe(2FbszK1c`D3Y*&c~Xay%Rw$Fl)%$98RMqV`# z>29;yL&T#=%T;$_f(?O(Ncr?zcA~GUesgI(js;-$t^}As3Xs6TMU(bU;L2SF-jmy% zBXb}*bB<&Hg40g)DWgTC#VG-=lQPMLUh+q9s-}d7J X|8?na$|7()00000NkvXXu0mjfYD1@c literal 0 HcmV?d00001 diff --git a/graphics/pokemon/groudon/normal_gba.pal b/graphics/pokemon/groudon/normal_gba.pal new file mode 100644 index 0000000000..24c99e510e --- /dev/null +++ b/graphics/pokemon/groudon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +205 57 74 +172 148 164 +156 123 139 +123 90 98 +255 123 131 +123 32 41 +255 32 41 +172 41 57 +255 205 49 +197 197 205 +255 255 255 +255 189 189 +156 106 49 +57 57 57 +16 16 16 diff --git a/graphics/pokemon/groudon/shiny_gba.pal b/graphics/pokemon/groudon/shiny_gba.pal new file mode 100644 index 0000000000..6c0a16585d --- /dev/null +++ b/graphics/pokemon/groudon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +131 131 8 +172 148 164 +156 123 139 +123 90 98 +230 230 106 +98 98 0 +197 197 74 +164 164 41 +255 205 49 +197 197 205 +255 255 255 +255 255 139 +156 106 49 +57 57 57 +16 16 16 diff --git a/graphics/pokemon/grovyle/anim_front_gba.png b/graphics/pokemon/grovyle/anim_front_gba.png new file mode 100644 index 0000000000000000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R{0R2Tq!uraBHqS+IiilNDz2im*Uz2C{lPw=p5+c%Q;*CR;18pPeJ3@HMaJeYANO{Fir+^ zw;M$mFIJxhkW!K-d^6J^`nfV_8`Q~AOr#?Dk)d$T-PF{p*tLZKOPrv&j5PujB!=x_ zxKT2j$YMfKU%2@Mlt^%Eg+Klrc}+KorOAAqxY#7%>njmijESAVtDwISoQ#1 zaQlAU?z2J#z+thzYPYpQE-K)5-EC`yTzCNkcdkAw7@%|k!wqoZ1b9HP^cYw<6Sm$0 zR1KT~a3$ygQ1FRjr-HJ8a}jz#h6Dy&3Rq*7G0<}ZevZ-rZ-Wa^N@0Si7U2K}d_My| zy?(I@nw~U(O2Gm>JiuXW6KaKc<9Lo!q!h0dkPyX> z4Iud>S_z4imo`CCbhrU{pQ8wG9+g&sA}I`jiy%qlc%0O)Gz*V@^6NP;10)8d$gOr4 z{jl6_0y}&pU_zCFJqwqm7n(%~Z7tIj!5YAderMmk(kl4+P~ihmR0*M;TLUHmONW{n rkY%L>d})p^1~6cRpNqyn`@h#8GfW~5Cv43r00000NkvXXu0mjfsX`b} literal 0 HcmV?d00001 diff --git a/graphics/pokemon/grovyle/icon_gba.png b/graphics/pokemon/grovyle/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bed04dc98a638ffe7d78239f7933bb499a2e337d GIT binary patch literal 363 zcmV-x0hIoUP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H=}AOER5*>@k}+}vAq+)z0(69&CZ(_8ZpUX#52i{f*vge*Y3vF` z!DBB$TO~7YoKK}UAI-o#fR_qN(V*I>2wF!`0WVBrr7|r%R+uQF2JgGVKX;HmFR8Q& zmK9K*A_&wKgs`7T0Nr{^MD|1leQQ0Et`o-^#XdTjuG}Kl-)G|jdg7(_CFi+PY^Sd< zfc1?+pKs`3IgAfZCm{t)&S?e}$-E;4khoZgTvrtHp1NyRr^8|z0d%bj7F_ei-0Oe($Qh8z4AS$-eM$0q{( z3}YAn)993sJ>09x?iuF3{9(4-qbkBT&m>@;Ij;Lg&j7hmKKk%)Qw%$IUH2FvZJ&MD zL;k7+JkLW)2^Rb2p$ksZ#MnbH7iw+;*6pY3BTUF-95NG$=xk4L`*9cz$0I_1srj2N7S`BkKC!(>ynxT{Q~vnjWe}T3mi&i!`Vx&(=1PL^PK`M78>5%w~xMCK0O! z><8IgYnIIP9+pJ;c*vdtzH_<$nRc;@UHnJ!goAA2DF@l)g@e5MVZK)7Ae$%+LU#}m zzOhyi*Hdq22yAqmx6&|bp4-$M#lZW4&>&MzfDp!NY0in`^x#=5Z;qZ;+Vg=UG-yy7 zh-O-*;~l$RF0LlA0Mbe{9kYEoEfAoq9}4TeN$5?Bxzh^hzoF#38tnt&$ZNnBwd z_KozYL}(I|hH@&i{|1yjeqj}RCLjeCX-g0TfyUtpjw7Fmuchtxdz zX&b25<3#`t<3EyE0I4b%{4lrwZi5C11-XL}nqa`Y4HI07*qo IM6N<$f-YDTcmMzZ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/growlithe/back_gba.png b/graphics/pokemon/growlithe/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2b89351a32f8b30abf83277afb705500eff0c694 GIT binary patch literal 650 zcmV;50(Jd~P)KlreJRFcgMqQL(waC@p9xv9^JZ;N2Mx zAZ9s0p1l`{%y!ufB%7HO5LQHamTh8VX^U->SE%_v|L=dYq)z9f{;OiM&fLIci3=IH z0YZ@={-YD~&;JCn6KGqDDj_5{ zwlQmfZOm>w!<~2oE8a%#*XzhbJOM&k7dZj^T(J37u(EDPE(4}QPA<$Rt4ilfA zE&5vTS~HNaviQ5!TE9SYJ8J;*N~hn1Km?L~10ZLe4#etOE0yenCU9;s==CAZThO}2 zd|ccJT!v454L>m?t&iayiVK0z5Hsq0pJ?Nm*&96yOJE05-qtO;roo7Zl$8!r?&}W3 z7%VvR8CQ@RheJIj35)^9dppH#Rw@T3^^_W=F^?Dc=N#ZBA|&@& z)O**d>{~YXh*< kM=5WLiz)Bi&-J^kS6%q!ag-iUoB#j-07*qoM6N<$f{V2vQUCw| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/growlithe/icon_gba.png b/graphics/pokemon/growlithe/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8870c8b4f0a6f4ddfd8927916542f02727cdcd1a GIT binary patch literal 348 zcmV-i0i*tjP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H+DSw~R5*?0lCchgFc60O1a{L+9)gsSK7^@j!-AU)3*F>ZNleOC zNlan$Y=FYS?4YsReeK=-O+G???6jL2_`0Ti1D>(m00yfe;6$eop_P;Qr9xm|^(KoD zIOtoFwFDrLUOy5=XdH(*uRAN1-#st)cjvD4VFGXfAk~RUG4)U(1kat2Ft;$tvq&u2 z9OIo<^HxG^n&!n3ea0ATatxa0s>>RIovp1U|8u@b7`n_Eg+Z$ZVZ00000k zl$3jWdtzc@N=i!qwAJp5tkr6R=B)0`i`BGqy?auNoJwN$&Hn%Z0RR90r}Y5G00001 zbW%=J06^y0W&i*L&q+iDdNSQOAu=I@TRgWSPv#;Po2Ybpo_2`rVW;OX;gv-@z53q;wIR3TL;#w z;QGBcX`9TvN${rNgF@-|>-T*#?|W~4lJxIc`s-tW`Rq7=bVdUSGCKxHs{;*b(R7I% zoc%GO5kb8KAmB8<#^3T&ZC_9VKy^HC&6gIYTAv7d=mIqEdfr~Gr?iY{0S3%1-|#$I zD_k~W0QZGiN~yVU+4xWpM}X!Ta7Ss~76S5BdhaLz%3|OKP`2*mjB;7jgS7g`Q6IRy zBmyR@X$F`zXc_N`fM=#=z|0ozcGW@_Luc!lLBZ0PR!>(lt0aM%oIn5<^_*skQ+i-0$qsnAnQ zR)GU`eBJn@YBPL>pQ-sTv9ZGn3UDCQ$jh>wW z$skkTk>?`-o;|-W8SPfZkM@HX?1f~Arn3u2=aM0|5cOO##1=9_GLj7d1b&Z`jHFv7 z1YVUM#!1Gew}&@)W-eATT+hQ4#Eq2<_aFdbCBwC8b(&m?myD!M3yN}Sgk&_T0LqJ_ zB;z4okyl1ZMv@UB$r!F8<6fUjM({-l4NO2(oIaqVh=dx&%l!IJLEM5OAxdO|F~#Gv z1k6Mf)rh1x#*JV=kz|16)KW8)Lbdsq6@d(@2muhAf2vOd(7Q1z}c7MSzp9C?85@7#WoZBfzH$8U!=G40KvyK+bN| zzEEDSITm5SsS%bjIqPiXm_aZg2Zv1MhBQVdH_>ehjYjD&yXL@`EDB-ORRX95xj9NVZa_-&PAD&VKx5BJ(pZ+jd>l!UeWk zl$3jWdtzc@N=i!qwAJp5tkr6R=B)0`i`BGqy?auNoJwN$&Hn%Z0RR90r}Y5G00001 zbW%=J06^y0W&i*JRY^oaR7i={mA{J(Svo5kju*;A}i?CgP9q)0|NtK-%m1TjTW@<$wcAS{wv2#E7$H_2}1CFulTlj8fy z_x+eRvzqq*MQL)m9=IZ{$p!~P))U%zxPcgXL$bDxYpyqJp-REN4?o+k>){p;jEbEA zE^bjU3a^d(wEPXI>(_|l*h+YFsj+PRYg$5j<529z<& zah{lWPa{fH;Jxn);GS5Cm`~{|6^H`HSVxSj#ozsjp099VHra`JZ~FW6Gw#6HB<7q? zI%<{KAap@|OA<(BMD&zS!4r|V?^flMZwzJLEP{sODppUch-?dAXg002ov JPDHLkV1m8GNpS!G literal 0 HcmV?d00001 diff --git a/graphics/pokemon/grumpig/icon_gba.png b/graphics/pokemon/grumpig/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fb3cac59d9db5599f68df0c6b3b9f60d74672448 GIT binary patch literal 329 zcmV-P0k-~$P)DV$p|hLE$2WmIA%1Q0@fDPBfOF;q*a|JAsTmMd+A|{-ZL)KRhi)VjD-q9% z@fZTv8mAWKy^lU?R-y%q~fWAiGfvzTOeMCAdJ@`2;;~@hs2Ln2Ni2i(&>8Rx*gGtvV bB0f2HLJNegRpyfq00000NkvXXu0mjf;eCfJ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/grumpig/normal_gba.pal b/graphics/pokemon/grumpig/normal_gba.pal new file mode 100644 index 0000000000..c49601f910 --- /dev/null +++ b/graphics/pokemon/grumpig/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +148 148 148 +123 123 123 +98 98 98 +74 74 74 +255 180 213 +238 139 172 +213 106 131 +230 172 238 +205 139 213 +180 115 189 +123 82 139 +156 74 98 +246 205 255 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/grumpig/shiny_gba.pal b/graphics/pokemon/grumpig/shiny_gba.pal new file mode 100644 index 0000000000..b9c88ae3da --- /dev/null +++ b/graphics/pokemon/grumpig/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +172 172 172 +131 131 131 +82 82 82 +57 57 57 +255 180 213 +238 139 172 +213 106 131 +246 222 106 +213 189 65 +189 164 41 +131 123 0 +156 74 98 +255 238 172 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/gulpin/anim_front_gba.png b/graphics/pokemon/gulpin/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8381bfdc763da96697f38c7a832b026fd8f27bda GIT binary patch literal 595 zcmV-Z0<8UsP)R9J=WmcMR-P!z_Cn=TfxLnm`Dwkx?DnN12WPzw;_ezSry9R1a)ZJuphs zPi=#@H2Kg1nL43nMyhS3?_ynQt_vSEQJa^0m5W?>)z-|d>>gkdOKL~cie zc@6j!Z{Y|aC;_~M0Z{2(GX~I9e2>krTfoNw_Xv2#b}T#s3#SthJ5I!oMG35Mz-~u8 zsY?ie+|)o6p@0`OXWk)an83iRC(uZJ*#ou&vs!|HMO9$-P}KcHC>T}W^&~h{Is^ak zhyVq1;}Td?niER+DKO4m8pjaFQqC!*DzTT3MY)`p-|C@bi?%gYI!Gd`M8Y{H%i?9} z|2lp3)z=@cUk?yM-)RS=U;2EoIg<}We$e{AbpMxb`G2_okF9mN|AIP@>)byJnGP_3 zi4_;1aevkZj1_L~PICqB{*5l&6FI|Z^M$lm3}6irW43CvFVaVS_Xxm^nJjDBvl$9F z^#=1`Arc5tBT8_n@`DZQ*pl{rf*3(o<%gWQ)DoZ5A!C?U=|IRtCJE&?!)aC#+?4@i hs&2{q{Lt4$)Hh#G?m1GwM<@UQ002ovPDHLkV1hP(3Y7o= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gulpin/back_gba.png b/graphics/pokemon/gulpin/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..928f291d1da1164fbdf9e7235839525d0ff3109e GIT binary patch literal 497 zcmVKlD%%iFcgIo2Bc0YKb<25m{DrN%D~+#s60n%D|_z{ zzeYQE>1(t`>W=y_l!{6SBx)y7VuxUFOq}(8IpLDTjaBAL0xlRzp`~=ZJBbep@u3M!y0)QNd;yME;0W?3hNDT@AA6du-P;{sPI%wQ4 z4Nz3A*+66VR2m52M}JWlQTANUQM8HiwN`P=Sb|hwrq}3D9hhLO0S#fmSg!;^0jM=y zDuG8O0%KoIXr_RYAqXEh7Y& z1lm;*nud`4`)PL?54B%GNRm)SGJ`Ha82LKj5lRSo7~IPZC4kqf3Lq5(15rNs1vHC; n%02w0^Gri=vui!!qI2jU8x_M0)Vzd>00000NkvXXu0mjfC-cgX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gulpin/icon_gba.png b/graphics/pokemon/gulpin/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..53eed645f80360219720ec32487ffd0f88659d3e GIT binary patch literal 293 zcmV+=0owkFP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hqe(IrWGUy_}beJm;r)9<% zGK07P7`gUAh!u$B32?l|l@Zu;X=gloB5_zSX22>>4JGQI_mUf7@+)DIjb9QbFmRhN r;5FS)KESWsTKq6x3bXmKs!!z!9j;~?Mrw)#00000NkvXXu0mjf+-rEw literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gulpin/normal_gba.pal b/graphics/pokemon/gulpin/normal_gba.pal new file mode 100644 index 0000000000..588be1e4a7 --- /dev/null +++ b/graphics/pokemon/gulpin/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 189 131 +74 106 57 +131 164 115 +164 222 148 +197 238 180 +156 189 139 +65 65 65 +106 106 106 +156 156 156 +172 148 74 +205 172 16 +246 222 90 +255 238 164 +255 148 123 +0 0 0 +0 0 0 diff --git a/graphics/pokemon/gulpin/shiny_gba.pal b/graphics/pokemon/gulpin/shiny_gba.pal new file mode 100644 index 0000000000..83373f072c --- /dev/null +++ b/graphics/pokemon/gulpin/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 189 131 +74 106 57 +98 123 164 +131 180 238 +156 213 255 +98 148 197 +65 65 65 +106 106 106 +156 156 156 +164 49 32 +180 65 49 +222 98 49 +255 139 82 +255 148 123 +0 0 0 +0 0 0 diff --git a/graphics/pokemon/gyarados/anim_front_gba.png b/graphics/pokemon/gyarados/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7b1864f1b505a579bb98fddae0b13b07ab24baed GIT binary patch literal 1834 zcmV+_2i5qAP)CSq(MPy|NoTD&4X%cTGfkU%`q{QAOHXW0RR90Lt~Xj00001 zbW%=J06^y0W&i*Ns7XXYR9J=WmrZLMM;OP47`&+t0tt#ChZw5|7ayz`A9{;&SVgpl zoIJbqB7BHu>K?X=(eB7OsF%8xb7(G&;>|&Xkm6XB=mR95ph=s1A!eOgZ>An07n;-< zZ=YvYa;z6S(Ds-Ct=OHP=6Rc)|06<14{^%#-q0SXuk5M7&HX4`&uyH#Ks7!k&Yeq~ z1x%aqkK)6?*rhHoHNhw2Gs8f_!|Ob`8L@fPuM9ak<|`m^NvqiWLS;DCv3&*1c|_QJ zV?-_zQ3S?1aCO9}Bq(4W*11eHdJ1rvBofiaEXgH@EzFPk(aI4?d>vb!C3$mriNw4g zsa_Owkyy+lUu0-{5UBnsZcNSUbJ5szmW=1F4%ukGrZ*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mj=@%XW#g@gW~ z#khq)Pi#>)yMX^U_~5ommR9PceHbe#o>P(aWg5a;S!HN}=1 z-{`83{X@4s(E9(W2xk$)SX2GONFmmozzOId_^A2dY?N}NSuA^_0X1M3%d_U+kNCSq(MPy|NoTD&4X%cTGfkU%`q{QAOHXW0RR90Lt~Xj00001 zbW%=J06^y0W&i*KWl2OqR7i=HmA`M(Koo#2Me0c%Dme^D3`HD6wusV!k>%WOOgUfL3<6n*ajT% zRtcz+dia?$<~bbs*xcV$Nr&FT_!i*MS|8N-0wrBti%;&TAsN9>#s)1reqYG6rl{ z-KvnLJ&BHAo;j>4(|E$%nGAdQV+k`!PdIRr3V43+S+gx=BrPCgLAC*g{N9ky zWYEJ1#0HRA5>)_e@-MuN6Ij3;Vyi{k6PJ==u&yzN%mOe4W{`1D1^{7Vnz#ixKREUv zA;$#LKPJFWo!da$)CWKt!3<$>Y{!cx0hqqP1UT*trP>~8lZgSKDA2?SX7k2Y4~@kJ z7|-%J9N}U@X)p9Juef)L=f4S1B{6}F(ymdoW~tC%Uc`d9%w<_w|9zW#}E-hw!UE6cQk zaiIv%`sN{C6K#mXQ(XCm{Pm7ZE`6_HPZZNHhYw2<+q0zOh6a4d)XbUF)gC z)Wi?z}E5p3Si6o z2FN!+dQueg6=2#LVr>S=O<95kAVK2^&}-l`&boV%Tu(Dg^!em+d~JGkcFq6iRZ^5w zjszYT(iEE(oNwkH-&31ibxEZ0SlCy*DnBsaWYA{U7Qo6oY)^W$?2CT@o8z_x_ycY7 V$1z=hS#1CS002ovPDHLkV1lu6#6$o9 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gyarados/icon_gba.png b/graphics/pokemon/gyarados/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..13e611d0908e2f84972bb6b46c6963afab2e235a GIT binary patch literal 524 zcmV+n0`vWeP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Iib+I4R5*>*lCf?ZF${+93B-5smZdGCC7HBn$aG%nH5u|INd|Q> zhfD?v=yg0CaIYYs3gAf)qBx)c0j%zHHqeZj8gBfK$DbnquKQ8}F@69_RoDS999Sw& zs>@O}0#b4rRfOl2Z6%3+k3%haz2G^IfWuHQ0=FCxY}u2Esl=IpCAJ19z-lhZl!?$V zOnqu_&b6Qh3^>Wc&gO)SXbRyX%J;u4ktyR0;PSYk$7`$WPxGMg{pa!SLB46ir#5-G z4Y%7>2sa1srd)`=f^S;)htOV9LGPT`LAwQL--}KJ-Jka3>!(nOI{^_szy1F&7(RfM z{xt|E$?b}#g6fY^Mm{r8c_@jWih&kIM8}|iVr>rp|{)9`F*dQ6TxrY0z`F&m>hH7$Lx&Ho8m9W(gY-<%<>rk O0000 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/gyarados/normal_gba.pal b/graphics/pokemon/gyarados/normal_gba.pal new file mode 100644 index 0000000000..63b325d5b3 --- /dev/null +++ b/graphics/pokemon/gyarados/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +222 230 246 +172 180 197 +106 123 148 +180 205 255 +131 164 230 +98 131 164 +65 65 106 +255 255 148 +205 205 131 +106 106 90 +213 139 98 +205 49 49 +148 32 0 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/gyarados/shiny_gba.pal b/graphics/pokemon/gyarados/shiny_gba.pal new file mode 100644 index 0000000000..a8afe9dcdd --- /dev/null +++ b/graphics/pokemon/gyarados/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +222 230 246 +172 180 197 +106 123 148 +255 189 172 +255 115 115 +213 74 115 +123 41 65 +255 255 148 +205 205 131 +106 106 90 +255 98 57 +205 49 49 +148 32 0 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/hariyama/anim_front_gba.png b/graphics/pokemon/hariyama/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d71ec4704e9444e26a7a895e034ce2c04af89920 GIT binary patch literal 1808 zcmV+r2k-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z%Q5A3gbUF@EClPRw1XK|1w$p~n ziJUzq0Z4S9;IPg{Ap+b)3bJdq(Gndd3gP@R0bt9SPxBRGtP z3kNli1L2}Ri-7j~+mFgNb#H7!nlu!wBg`-!fZmaiql0kVEBxV{z&2XnT}hx~7t=%K yYCsY2*H5nj6wD{~H64-?5gz~`GWY=S5$!+kJRt2EYY3D80000C)G=?`KokdX1_rtyk$!@nGiUH2C6h(LGux$1QJ46b zP=(5w2}O|rPwe)<(00Hc{F$seBEiFbhQ4=aY~xb8w{KwJ|I2&t&M}R~e_r0x<-Em4 z$wjbq9v?1(mE%nQ1{U@2Y`a%%;GF@@PUpRy=PTz7_}GCO>J8b*`2#S91>iN%#Qe&j z3Elzw1R(hxToFpG1c6YXOUQxs>Uq}5gY3i90f6r+zw>5{$!ZP_4BE}q z3Xnt0*z>Rg29Q%L(7;|YcJDkslgf$%%;74dAGU4NC3CndrleO+z`epC%9mW;<71wZ zn<~(`26y<3#8+}%0aoaT2zDE6rof08NeK>q5I~FFlBMTBBlE)$JFFRdfEFtaXj0|@ zRAq#D5aT#+6DJ%Y9$=>ODchUc3UpqoFAcgK9kaJz8kn4#S*$p?AF0k4q~a_yw@7gzs3-#G5BJvPQfe(u{`AO z?wi_gegr}RIEMl_X1~UpfYLzf%aj`6Nn!^Z%vF#1=H%`9x9b;DO9i0eYd7ft0000< KMNUMnLSTZd(rD%Y literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hariyama/icon_gba.png b/graphics/pokemon/hariyama/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b16b049071a0b2ecd0ddf698777af5ae7835ecda GIT binary patch literal 387 zcmV-}0et?6P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I0ZBwbR5*>@(!oxIFc5&@J^@Y78hK`qlNkCS^#wL*=o1XxJ(7hA z@wAa~#9dmT8@+48r9bTf<`d$tE$03H)0knqm&Vv_;1A=*a`WCl*iotV2>VB;$}t6r zz8raSgB)T&F5h1!O@28--c6S6AqC0SeLvX8JGwp_Lk;2*F3>mUS3-w}0gfrOp|ce{ub~Lxq}0>y56$f;_64#ag7~-VcQA6uz>wdA zk(7ZUj9@s01r*cA*@6Q_LxgMA$T4UEGKOigRJf@vuO1DZ21o8fjjm?8%= hr#mp>4$O}}z5s^D>FWc{m%9J}002ovPDHLkV1oK2r?&tA literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hariyama/normal_gba.pal b/graphics/pokemon/hariyama/normal_gba.pal new file mode 100644 index 0000000000..99b5902d94 --- /dev/null +++ b/graphics/pokemon/hariyama/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 164 115 +246 230 197 +230 213 164 +197 172 115 +139 106 82 +238 164 106 +213 131 90 +172 98 65 +131 74 49 +98 98 148 +49 49 98 +246 213 115 +238 189 82 +205 156 65 +24 24 24 +255 255 255 diff --git a/graphics/pokemon/hariyama/shiny_gba.pal b/graphics/pokemon/hariyama/shiny_gba.pal new file mode 100644 index 0000000000..14281f8125 --- /dev/null +++ b/graphics/pokemon/hariyama/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 164 115 +255 238 172 +246 205 131 +246 189 82 +205 139 57 +222 189 197 +189 156 164 +156 106 131 +115 82 90 +98 98 148 +49 49 98 +255 90 74 +205 82 65 +156 82 65 +24 24 24 +255 255 255 diff --git a/graphics/pokemon/haunter/anim_front_gba.png b/graphics/pokemon/haunter/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a41b867fd4b68981b80032602ea11462898e0024 GIT binary patch literal 1321 zcmV+^1=jkBP)Lh|^tX(#~JhAkF?onO3u*f|!UMML57<2lX%CpoVNJpQ%K zVy_UO+7?2JzN8#kn}95UF@}l`12|5CEEHzSWWH_}kVOa-L;SBLOA_4WBoJJ~rfmuh zcQ0#B5)RVo9M0nV0KXMqSg8Qn5zSe;zOO|z23Zv8d8rWktynndYh2$4|AquF-!4jv zeYrcViV2frcq)o7ef)l;z5Ryyw0iczV=REXzl!f`E!c*8jbi#_d5MAyet#|srp4%q z%VxDvaT$qgo`Jk8zDp3#g_hD6LoCMrt7IvVcU8)-TjL6WQl zD=ZQl#z~TxXf^|@8%RJkl#BeMKa=Z~`=0RpO=&YFn&Y)63eX2tj z_dblVJDMplbgecpcU;XOvjtto<<~RzvHlrDKG#Y$lEgbFY}}r1Zd|>wQsC0Me~l9> ztCZsK;&kKY_n5-bt>-qscRFnsYcssIYqJ^pghBU|LHC4#b9Q3Ama-ljw#YeJNvMIh4@;RNG0B?8$IqC7VUr02N!CN4044)nWhoN`3`KwuMIvNF%-=Dn zhap-nFbS0qU@Q?ZqA|uQl%9(IK zq{bzbMZ%5FePghiVLISt(?F^Bg{Kl)Z}EKoEcpb}f+H2Q;e(xa@3o2}_W+@&)JRt}zEk z;M^!h2;`~=Ql&h&SMW({au-yk3@Ecdw!B(_9w3>L5l3`qYQ%<(I1xVpHkuz-51Q@fDM^boAD7~~MLJz7y{6LC>mp5mW+a|smpcUghy1XFZZQuVI zx&DNIWEf`21Breuu<;S?rs85`lf2ZHC@e3_>s`- z&1Ea|G=}UhxUsZ^>oHy4wvukeCU_~fU6JS#pYwE0hw?lU=xxTjLU~Ia$gX(~H~9pd lQ-?XdxAN0|6XgH(_zU%b+h;qKQwIP5002ovPDHLkV1kxfEi?cC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/haunter/icon_gba.png b/graphics/pokemon/haunter/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..aac3e15f80834c6a332769fe408add67c45fb354 GIT binary patch literal 485 zcmVDV$*QZa7BFbvcSBycw*6n#JuX#VG-v^U?(~4BvE!&50EYJ+QEFYEmE%J6`mv*`tqKGH zZ~K*ow8Qz6lA?a3>rDjrUPOfKF#+f0i0PKQxh#k0rth^V(}?mLfpfKF=ZC(_w-w<5 zKF0C|XyodDw)MXfSjm0j!VGQC&O8wqIy1H^Yyb_c$_n?kqE=vsIB{=wfY=@5>u*aA zrhcM}t68UP8Jz^SQ2=MCjV5lqsx4}VN1#Hh9b70BpY{}0;}sA9`(0|u?BG^o(9#%k z+FTX(DAH~|g#0fkvs~ojLQN;MW00000NkvXXu0mjffimHT literal 0 HcmV?d00001 diff --git a/graphics/pokemon/haunter/normal_gba.pal b/graphics/pokemon/haunter/normal_gba.pal new file mode 100644 index 0000000000..1f3ceb070f --- /dev/null +++ b/graphics/pokemon/haunter/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +213 164 222 +197 131 205 +131 90 164 +82 49 98 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +222 49 49 +180 24 24 +106 0 0 +213 213 213 +115 115 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/haunter/shiny_gba.pal b/graphics/pokemon/haunter/shiny_gba.pal new file mode 100644 index 0000000000..d6cab25889 --- /dev/null +++ b/graphics/pokemon/haunter/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +213 164 222 +197 131 205 +131 90 164 +82 49 98 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +74 156 197 +32 115 156 +0 65 106 +213 213 213 +115 115 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/heracross/anim_front_gba.png b/graphics/pokemon/heracross/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..96af2d24f6f337bd45fb2c555780e74e22508b1d GIT binary patch literal 1273 zcmVjb00001 zbW%=J06^y0W&i*LcS%G+R9J=WmOXDHHxPyeL@X1-g^L8T3sP#X6uD&}V|UmX0VwmM zb8de{YX62SQU?YM1j)ZJaPI6}4BWMG45V}+NGk+aF*DSMW$kL+BtQxi_6pKI%Nf3$ z<-DEF|7>)Rciw_@&36OoR<}Ri4UAs``gBpd0Xx76IJ5wK+{uO6dB4*YgTPe_z{HRX zXaPFKP^fkw7XU3ucAOS5!lVTVLU&>d5XO1i^E9lQbae@hH+PE)IwR& z7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vi4 zstzKPJOEtgnf8C|iI^GK9(&BZ(Vtsete)6UGUKrM_w#-^G_R9K4u{6A&Mk+a`>SR0 zHHYku9DHW*L9*bG1CT(=0TU!(_Ea52TOY~eGl$xTzfjAe_OVLZrhn?=7b#@EnBc*f Q?f?J)07*qoM6N<$f>eE~I{*Lx literal 0 HcmV?d00001 diff --git a/graphics/pokemon/heracross/normal_gba.pal b/graphics/pokemon/heracross/normal_gba.pal new file mode 100644 index 0000000000..06fe289a5c --- /dev/null +++ b/graphics/pokemon/heracross/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +156 180 255 +123 139 222 +98 106 180 +49 57 98 +255 0 255 +255 255 139 +255 222 90 +197 164 41 +139 106 0 +255 0 255 +213 213 213 +156 156 156 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/heracross/shiny_gba.pal b/graphics/pokemon/heracross/shiny_gba.pal new file mode 100644 index 0000000000..c85ace38b9 --- /dev/null +++ b/graphics/pokemon/heracross/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 156 213 +205 123 189 +164 82 156 +98 57 98 +255 0 255 +255 255 139 +255 222 90 +197 164 41 +139 106 0 +255 0 255 +213 213 213 +156 156 156 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/hitmonchan/anim_front_gba.png b/graphics/pokemon/hitmonchan/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a08e0a0da997c8440fe5757cca562b1f18687c8e GIT binary patch literal 1152 zcmV-`1b_R9P)=Vq?Dv{VsrnLTIOOoy)h7rAOQaW|L)bC&9r-@i&AP*5D*X$j=E}hG!{W3pzb#yJ9jWWtFWw@n~Z#c zQkl}prX~e2kVrrbeFo2D-Fhpaqt&%Qk95a^lqJVTF@=#&0RvY8u^=W<9mjFGCj=JMlKUuQ1Cr<$ks)7*X<>v(GWXgPIB>)>Pah2w>ztsscA&wJ32{eGa*?R=K z?d*o&|7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#7+fKNDrDmC0HsuZNzB7_jx5Uf-rSUQv3*RU;}AcpAshL7Kym=Aq%tIpK%)m2 zN<@H1TW8`VG~*C3QG39{C!20U346}me&I47SkLu}fcrlpH!Nz^_rJ5^UjAIj z^Sm1&ERn9?cM1q>rtW?h+_3<>?xOAI11Pq>zKse1Vt3<0zi8^h{|}cVD@{oTYODYN N002ovPDHLkV1i}Kmka;^ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hitmonlee/back_gba.png b/graphics/pokemon/hitmonlee/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9aa095a6ab85cd6719d9e996c23f9058497a7802 GIT binary patch literal 534 zcmV+x0_pvUP)Vcq@;6VV($Nx#m#ebdmt$(DgXcf(~@>m00001 zbW%=J06^y0W&i*Ilu1NER7i>Kl(BAuKn#YFC@T`Y0lqSHiP|%)S$eD}g0S*DQI-zb zo1sglJ`)l|>U3S3DYZk|gwv5um0BrY82*pnzkLUebFF_`ZdKi1(klrds>?c6I;tZg zKoo>CyY3+u0YPjBO6-Xs0INlBfGDFdv`%s~K#U@=_4qO%i!ihSHz&aE@ZEt&6+Z#C zF&<9~TPVo3;}O4f8kz|lIVzOS0cP*k~ZtkUt7s`Z?;86(E~*ZKqX Y30VuNOKTT4w*UYD07*qoM6N<$f~qp)?f?J) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hitmonlee/icon_gba.png b/graphics/pokemon/hitmonlee/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b45c936868bb37cbe4c04c4c5375651a9de1ee44 GIT binary patch literal 335 zcmV-V0kHmwP)DV$aM7Y1J}0A{Tm#KPP{Lm!Rc@&phX%3G8p zI5R;uP%k?OPpc7t?XuLHwMEf0EQV|L8KYwlquz5gFnc`|LGD*+IxfP?Q8t};RQKN6 zvC^{dYvb)he_r1QMje3({s0X58W=U8PQdU63}XTYg5PF10fV#~!bf1*h+2+5MPL*a hSrZ?syyl~Pya1;XiPc}m8e;$e002ovPDHLkV1lYUj9~x( literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hitmonlee/normal_gba.pal b/graphics/pokemon/hitmonlee/normal_gba.pal new file mode 100644 index 0000000000..e70409a90a --- /dev/null +++ b/graphics/pokemon/hitmonlee/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +238 197 164 +205 164 131 +164 123 90 +131 90 57 +106 57 24 +255 0 255 +255 0 255 +213 205 205 +180 164 164 +115 98 98 +238 255 148 +197 205 115 +115 123 32 +41 41 41 +255 255 255 diff --git a/graphics/pokemon/hitmonlee/shiny_gba.pal b/graphics/pokemon/hitmonlee/shiny_gba.pal new file mode 100644 index 0000000000..74e6c64524 --- /dev/null +++ b/graphics/pokemon/hitmonlee/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +172 180 74 +131 139 32 +90 98 0 +49 57 0 +32 41 0 +255 0 255 +255 0 255 +189 164 139 +148 123 98 +106 82 57 +238 255 148 +197 205 115 +115 123 32 +41 41 41 +255 255 255 diff --git a/graphics/pokemon/hitmontop/anim_front_gba.png b/graphics/pokemon/hitmontop/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..69365ac6253d83fe92fc7b5c156c258afcce36ae GIT binary patch literal 1153 zcmV-{1b+L8P)Y$#&CSh}l$>H>Y7h_*fs=cD00001 zbW%=J06^y0W&i*K|4BqaR9J=WmN9SJMij?yFoz0I1+9kd0<^kxDbS;VAd3O{9h!D1 zQ;|2si@rn(svSC|Fy$pc+MqcNmIJu3M7Ypr&{#vU!y$`dyY1EnhOJr*UxPZ*_sIWzoh~VSM(;&{y|!WhT9Zz2mZpW#F2~ncKpTnJTH+i&b!So zU%WlSOKdnn_zPXJROa!wAD#Q)-aPQ>`OEIv0Uf>ts`{OW$u8bMzo4s8xuXpPDsIZm ztZ>vP{(K5hzzlHDaW;SQ{dqS6+S5R%*|PP|H@@P$>M!oQ?)?N%*l5&rz2o4A{>9+9 z>$-5~25^KxMRvGFD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=I8l)AGOK*Z3B%7in#}0RlkQQHfJ|QIk zKPl*)J-Eg2Dd9Yfav4DH;a!YsG0_UkJa3@w_Ih=Mga_ESAN;R$EDWTBw8#@L8hTFv z^#lM9o=pJnHC(UN)(FbBq(B}Kt(hN1Iq}wI4H4eW14<DV$*lc8?JFbszK1kJ+~4CW!GXy8Cu%2u>9m^43Cbs!+G za_C?cDOv&oJhx7IyJLeZvGT{i<=9`l?q7XD0#Q9H9VD2ls50)cEQTbxc(Iga(2^qV zj4p;M080eLlN_TawzC*_M*+{5#uEj#In)9sBV7nGO6|p*r~p9~)KHvPa|XoP1Xl`) zJvm|RJO(vG20*B9QXLDNfz#Yx+t0XVOz+40Z}fsW+3O+nc0z5}Un5$reK@nSKAyY& z>v^u%XW@T*s)jmco~mFFzsEM!MF4STlq=;#Aon^*3dzoR{knSgl`tPiS>9Yw%)`+5 zQ^kziuB9elWL!=@RD-&FGCd3gfvmf{eT;P3mRkWS#`wg%0PaL}Q9HNufvs;EC}rj; z=cec`Wy0K`+kS?Ajto#bw>}w%nQPkf^%&93PIR_+g1Y`@V_NSCtULqq2R?oP+Hd7h T)}E}V00000NkvXXu0mjfmWbC1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hitmontop/normal_gba.pal b/graphics/pokemon/hitmontop/normal_gba.pal new file mode 100644 index 0000000000..b49c96760e --- /dev/null +++ b/graphics/pokemon/hitmontop/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 238 156 +230 205 123 +189 164 82 +131 98 16 +255 0 255 +139 213 255 +98 172 238 +74 131 205 +82 90 148 +255 0 255 +205 205 205 +148 148 156 +98 98 106 +16 16 16 diff --git a/graphics/pokemon/hitmontop/shiny_gba.pal b/graphics/pokemon/hitmontop/shiny_gba.pal new file mode 100644 index 0000000000..8c6bbd31fd --- /dev/null +++ b/graphics/pokemon/hitmontop/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 246 205 +230 222 180 +180 172 148 +131 90 65 +255 0 255 +246 148 222 +205 106 189 +172 74 164 +115 49 123 +255 0 255 +205 205 205 +148 148 156 +98 98 106 +16 16 16 diff --git a/graphics/pokemon/ho_oh/anim_front_gba.png b/graphics/pokemon/ho_oh/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5b60f009a3be86229d5aa7ad37ea051a18a5b256 GIT binary patch literal 2369 zcmV-H3BLA;P)oBY7h_*)*a~`00001 zbW%=J06^y0W&i*Pzez+vR9JEe^!!A}Hm9{~0+ zW;=_T9_Mz}+TUxlk1LvMpE6)xBxVoYj&`6bb0B?SYZ?QbIpEx$rVetS%`5JTwkk$} zyVKNu?#l(xQpI-1odce21JKeTu#(&KqR6{?i^ob%(Ja#N{j;AL?q-kPzeck z>n%|i+W?i@L?W3D+gFJdEbS#xcb0)PQOTax@&!vo5UW)9arB8rg>iXUI;w-ArRA#RZTPiGrQ9Ec=Xo^Z*bdW|n|F zmH;rD_wHM21bCEYfVSay9(!V3+j^npi713^Jld9h4Yutcr)#%Qcd$l2RGAZHLGzdJ zchYst<4+inU92EsiA>85fK`((mmorsQ9{PA01)?Dj(5hY9w!=QJ+A`Da%$>nmV2wn zlAviDmL1%^W4)|5u%w(<-lft+rsikh;ek8zCFqUv;d5;#rMV6X02%jU!^UCz8g-+5STb1kPaTrQ z8Y4v(3)I32)Yn+9={MtXjxa#bR3gZ7p6qS3?ciQ9AW^T^zZI$Usgs3#L6J4#77wgr zPZ+SO*N#i$F`@MOcMOmK>_MSpckcNkzs;jnyydyBp)GbJ+zuZAj4`h> zSDT{(C736&Y_pr+`GH@b16Ne+Z20FQfZl8Tf0*%*1|{R_-p#{*68XnHfo3G z|HT0MqrPs==Re~0>+5s*iU;t7=aU&~d*e#!I9y^i(Wqxe+0XgMtN@?oMJ|C>mrQ_$| zrv^U6X9ap}zGhD5-XQZp-187?xQQ>?K@X?$x8 zVtovWra3!{pupu|xJI$xv^u3@ETN+X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YfRagw3wOj2r0=Mri(>m&OI^=Ns(X3;UtSaKS z1=wB!J*_Rk)e?BA|Cm$Q$yql)C&1Wcj4)?;p0k5MkIf;j&QQ;T;2oHOo%tyNmv1C| zGXmSE<14_e-^!nr!Ntu71ga$6*?uj;=@~g(YsKND`ZDwCzYpqLB0ccRO=y&H;ijK1@6m8v?aIX$f3HdesR?&Ai8Vm;BV~7T; zY9xTXr>+dcaNVE+7)5ZtqxH0mqA2{dmSew*I(vIld58PEFdWu&0`MjTKXCa_I+hSc zwe@eXF6sxtA-)h%v{&M0)|b0qT_pnW8H*OACv}7B1i>LarN^YlwMo8S0e5JCi;HLB zxaz3^0-B__($(Xz8_NtZg`nUt=A46e)!?yB|8xX;B8D=KK`U(JL!(y#Fha?>MgyI3 z?Bm`F=sy5GAyOe?B{7TP;In#Sz=BfXD=hGt!Ym@S;oo`v`~{8GjnE7;sZ#&|002ov JPDHLkV1n16fmQ$j literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ho_oh/icon_gba.png b/graphics/pokemon/ho_oh/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4cd5ed871f69ddb978de343c2039e75a58001c0b GIT binary patch literal 480 zcmV<60U!Q}P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IUP(kjR5*>zlCg@zFbszC1o0!>LkMzkL;Nhaq+2rtsx5t(33F(h&5lD1uRwS7DeH6>99e>LWx8 zL9_D{U60VjXzW1ApwACPobJ&WGk`Btj26*hN30}ANLK2Tr@EzDix7#Dpl?xHh^!?( zWvr5w_*!f32TT%>8RTVTPX}(ADk6CphI?{8u&dhnN6sC0KKLH_li_E&q;Hve(0#KApxz2M-m7hWP)q-5p00001 zbW%=J06^y0W&i*J5lKWrR9J=WmN9GFKorMsR3?3df+_TS6g9Y0CqX&|O8m%FO+oF{ z6l~`-DMOoB5XcAd;JNr9pP(gE$xwVsYE+51_j;BRYRm5lGGqz*3q0KWN$+tw^OF#5 zo_H{&R^9tm*LuK(1dUP`xjZI; zU^-T~P)glQavod?{P_W3ql`q(eW^vcBSnX8C6A8|b# zuSmMy8yS7#o*+lBB&Nvyb8NOolAW;Z(f5Wu{&pey+j~9WCS2z8JelXu8UXh?y-u52 z2-jY1+O&C`wDy1M_P2nw|2N+L)&y(zClamNpQy{-75g9Mn-ln@{l8T95BPPD`yYh|8;@ACKNcYYtl2*yfQQ(hIWf+?{pqb1|LxDZyI^9ch&x1CPoqvyc$%Mh5nX&)?002ovPDHLkV1mafINksN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hoothoot/back_gba.png b/graphics/pokemon/hoothoot/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2ab2253bd99e89c06cc9b55fdcbc5c250daf05c9 GIT binary patch literal 618 zcmV-w0+s!VP)q-5p00001 zbW%=J06^y0W&i*I=t)FDR7i>Kl(BBxFc5}4N{jU{@}7l4(aA$Wrk%W4XKTt*#Ld*9 zsC%9gpoT0i@sla_3)Bi=#Hfe(dX$rxlw<|%+WvqC>i_P)BVn@B`LA{n-M8Dh1rSwn z%JUzzdRac^yte(|XPy%s*98NG1FSh=f6s{nUS(=I)(OTa^Ya{zd%l~qBsF1P^a zB2oqk3bIGwA&B<0nhBPSlbc}A{@w< zb%FYnuL7w9;H)~O2Y&>N{{nD#iLU@-L|p@>P5{;qDsuwxa~+u4{-g%@8Cw3g5op)f zX~y55`ZI6|qr(Mxu9uLY&hS~n{3)(1!VguV@u*E?!mjKVI)xN5o0a}-*^4RwMv5m$ z$_W|J6!Hc5aP+-lPe;lCzYL(49omF%trL>TtIhrNCoaBp4&=dfu9eDUT&T^PT9 z&Zb}skWOf)6TNJH-2%SQn{;um2d7^@FBETt7@YJwUxfT5`YnL>_5Jo?+xET&1pTHh z9F^+%S)1=`7+$xu@D~e>gR_%_znFZST*mKC6aTV)16~bgrQXSg$N&HU07*qoM6N<$ Eg0+erWdHyG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hoothoot/icon_gba.png b/graphics/pokemon/hoothoot/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c25065113a5ffd959ef1153181c2381e91595313 GIT binary patch literal 350 zcmV-k0iphhP)DV$< zf*?-8Qizb{_f%@{($PsgN+BQrU9RO*>bFbZa!}I?8F;}DzzwKH4=f@dgy^DmEYL$pB8&QnPD@VU1|nCWA2x3zjI1@ny$Xz4%=vzBhy*0_way z1esV~S4xr~6aQ4mLI3>UT%#T%9a}(8FZ_UYkiuB$$4r=%2}39Hg98$V44THig>iNQ wCKE;*s=Z^2+{qvzi1yxB9RtNon6LbJ0QbfFglGXMYp07*qoM6N<$g0+H_W&i*H literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hoothoot/normal_gba.pal b/graphics/pokemon/hoothoot/normal_gba.pal new file mode 100644 index 0000000000..f1a3ee54ef --- /dev/null +++ b/graphics/pokemon/hoothoot/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +246 255 189 +230 246 164 +222 213 90 +205 189 41 +172 156 32 +148 131 24 +123 106 16 +90 74 0 +255 230 172 +255 180 106 +230 123 41 +123 123 123 +82 82 82 +16 16 16 diff --git a/graphics/pokemon/hoothoot/shiny_gba.pal b/graphics/pokemon/hoothoot/shiny_gba.pal new file mode 100644 index 0000000000..3b951e004e --- /dev/null +++ b/graphics/pokemon/hoothoot/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 255 189 +238 238 106 +255 238 115 +246 222 57 +230 189 49 +213 148 41 +197 131 32 +139 82 32 +255 230 172 +255 180 106 +230 123 41 +123 123 123 +82 82 82 +16 16 16 diff --git a/graphics/pokemon/hoppip/anim_front_gba.png b/graphics/pokemon/hoppip/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1295bbc84b490967f97ec5502196f877556bf1cf GIT binary patch literal 857 zcmV-f1E&0mP)ERPA@8#`ocA>J*)xiHQzL#D$976H93;v`Cn0T87Z zfU%m2W>6vpVr@025lW7RDoLEK(-RP7<2}LuFHAT)f}}` zC15u=?+#tvw2u3z?1FI7@oq1isVCF`LZa(h-*N908%5|Q2tp*p%5~jGCEz>Gbp8Ti z*BjktuY1RF=eG_3fqI)a5Cdom6;^?&!~}Ak9&m$Tt}3y71-wAnW8yDwVUF*8i3b%C z`Ysgs(F4kTO!{os1jy{!QrklA!wXm1Apw}nuq@DOS{&uQELKVY`DY+h4=Ild>My<4 z)_f3?8N@~FsnexG-xJ}Z_Ir{|7PhASNp^!w`Bz=_UyHGC#(1rG*e(AVdN=_13zn8oR(_nZ9!&`Djl}FJ+Z{)!=+^-NXA5F+jgs}ryg#4#7s(|cb-&6vs3(UYC zi~%Wu>H-YL;aTf1CgFq4yY_zS3gw%JzBr#AdjBxf0?w@W4-27u+X0yN{=r+UbkC;Q zKS;prA0{992Y5FBE&rf?UElZz&3&HzgYK+P{=tXa(me1-{~(r{d{79W}L;cvf=s6Cr@100000NkvXXu0mjf_Uev! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hoppip/back_gba.png b/graphics/pokemon/hoppip/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a5d042909610279d17b0d57fa2b2dbc540679c26 GIT binary patch literal 582 zcmV-M0=fN(P)Kl(BB&KoEvqKmm>4!LG0IKp7#$L+w+*HIHHEnv@=B zD8tf(F0jqMOxk+~>o7XW&E6Oe5Z=wEij*Q#&j0cMGsA-Ceb*PSo)B(eOC&cR0JL-k z5D6;Z2VM)-9R~e8dn9s=@LD`CTnUmyCbc7BwJ3^Tt!8h1jqHmpp&g}xoJPgICJU(TDhzuO71@osBNSteFAFL`!fNei(2o97EDUWE3v zmgbIr$=9X16zjUIYbo3MX$%tLrIrlT$_nU4SG7`79nv&42<`3o^HMROD*#B%@1no) zwN|RGbsPmjm{@W=UxS{_rmRN;3xMf_y%A%G!VrJ945D7 z3<7{=ws#CVEQM@vb}$UOK@`FGNF5Cl;|hE3K3oh2l>zuM;GeSrz;tFD;eg3?2f(p; zCY=PAEAX`}Ka1({kpH)|0Nn`;_bwpj?&y+W12C=Py#wf^FhZUp-8TuAEjoZPKc!(X zV%<1(0}N+4MTo07*qoM6N<$f}2GI$N&HU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hoppip/icon_gba.png b/graphics/pokemon/hoppip/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0692f69d7b03427653547d3e26ce6e3b61e7d6b1 GIT binary patch literal 367 zcmV-#0g(QQP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H?MXyIR5*>@k}-0GFbqX?g7u}Av{YNWarO!-GER<_qfnX9QK6v# zZAl-vp{C#`QWEWu0AaZoWPf zpnYqZ?cVNfZhaZ506uuLjbjEL(QNZz=9mr!bNV#kMTL(#lP(>P)M)wQ>Ip%Nm%cLX6eN`dnTs~uAfuv!j4QEd{gO8^C^ z1j%6u8GB6qDTnki2lUiMK)~C_6JW9Sobl&3c=P>~V&S{QJpsQ@i0E^;|2hCgo_T;5 z8qyzRumipcR`iZkFU65<5+n(vRL4#T+i`#eD7T2#cZcAp(<5TlUiyGcm%@H%&7Sjj z($sy9Uut>q03me`QzK2|vkUwW$vdkeYy!b1?DZ0or}5vlTFa_*I)l4_9%k^)}^zxoo<5p1yB2Tq6gF zIX#u7c^267z#vCh|JpfX>$b{Ycb%+vDJD&tG-*`NJzy-KLBPO|;{hW`vcCij`>z3m z@T6yGLlFMVQhLT+>Y1-==K#E?`IvHb<^U z6vab+&>1|ifHdSlzzsmp0<$O{@Kl(A03Fc5|_AdxB0#9$aMOD~y1ht|#%bs_20 zi6t32Rf2lxGw>)GP+Kwh1sKZNNeXE%AR)2!mMFSU|NZ~jiQ}B>A4_&ME=Sdak2-)! zU?1*a+5rfdRzTSSxDfpS7y~KnoOl)kIbw1Fym~73Sv*1h!J?? zfCA#4(NXOH#rg=>L$ zXJRI&0)A0$EnqRxHsR&@YN^W1^fRzPShj(pQ2tAT{j}O8w2#AMOsVA>8)gp%5Y_ej z@~}dpZvfE7Bo1o<&U>MlS~eN1(RL0`Ddj)Qx)P0frtP2_Jv2a4I^I^cb2?dHzg2tE z+Pu5E-FF*xwRFgm)kTuNTF^iWc7KvF8n~?Q;#jFG5^xVdUj7XbHQ+OrkU-i1Y8{cl z2C5VYkRP1^f(qEs-|ei+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H;7LS5R5*?8l06E8KoCaf1nyzdrVZo(v9(ESmo^8OKycd?0$#_! zpjWVnkbtZmZ=;?q= zMAm=7DX5Bsf4*d$Fb0@}(Va;cVRY*AAWW>Ec-z7-x{kuc3%KJXOfipid=zFE%z!n6 zFxW0YrS$h06$bEv2iiVVnG0TyAf8hIkOi#E2UG=)ZV?i+UjP6A07*qoM6N<$f~t;| Ag#Z8m literal 0 HcmV?d00001 diff --git a/graphics/pokemon/horsea/normal_gba.pal b/graphics/pokemon/horsea/normal_gba.pal new file mode 100644 index 0000000000..a14e2b4c53 --- /dev/null +++ b/graphics/pokemon/horsea/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 0 255 +255 0 255 +255 0 255 +156 131 74 +189 222 255 +164 197 238 +106 148 180 +57 82 98 +255 255 172 +222 197 74 +255 115 115 +197 41 41 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/horsea/shiny_gba.pal b/graphics/pokemon/horsea/shiny_gba.pal new file mode 100644 index 0000000000..f163c929a1 --- /dev/null +++ b/graphics/pokemon/horsea/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 0 255 +255 0 255 +255 0 255 +156 131 74 +115 205 213 +74 164 172 +32 123 131 +16 74 82 +255 197 222 +255 156 180 +255 115 115 +197 41 41 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/houndoom/anim_front_gba.png b/graphics/pokemon/houndoom/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..adebd878b09d05a2ff9bf8ceb4a368b7ebc18a68 GIT binary patch literal 1439 zcmV;Q1z`G#P)!=#UgB>bf0*j_um5{%hRW>roWxz+HH~AEb07MRhA00=6XH z$M+uZ$a|lnyn{y_0MJ_r*saxo0vvm~63_u55h$LurSDNs(Mf@*8QbiCYnz8)B@~FJ z@rI5!4U-eR1hSnAz<{QK@wJpm0_vs_P|Cs>A1sQMLNqriKm!0Ghlm$nJDXOZbm*Uw zECp&CBP)mvi_o}I4!8hJ%>s^rV@f1*Kt)oGnrZJE0fdAwpw8!DC;{90%-*#E7ou5X zS_2(}5+k@s#+K0D$B_#m3Qb^`p+yKBO!GjG06>X>74{6X6Aa?9G_E-GApjX*%&f?Q zxSR!?a4PWL^ANj?F)aK0R+%Fb#G5z!W^I+`=^91 zNDl{&!-3bd2qFRN=daj`0rK{9$EH=D#-%d(ihz5b*SG1tjyZtJ06g=b(;|?fEd}-f zyyri6G9WJHpa5Dw@ALg(SOL&eItMg}N>$cbYzjmG(3KpKQW2^x0AvGxDV@xGh@lvu zK`Aw+F?ymm(bsy%D5EkxZKJP`S2!BE} zI7m~_nUW@3?TdM&`v$z9=E^-Y{aM5TwcXwth|n>D@f@f%dO)mAL~b0HUpXV~*&L{M zI*_ElG+O{VA<}cJFMjlAz4G%a9cnB37oZW6#>$>U^eI_2{(n7ccfVc@Om?2US_vE< zdQVpp$G+!1eZ6A#&iq5~5$ILV-}gjt>>sgyLzIvMiuM2; z=<_ny*!YBX3WQRC5(jigoD-+#KZw@5A2!l+8r>{)>FtIBKw)mvkXA?CtKhQU?S?6l@*C7a?!0Fqp7gd0}2707@tns;(_*|4Z!OiNYjdjg1) z08_yb8(h5vxNWeH6DAmJM^bYeMFa*T;L^Q}3kGlCZmy+7Zqwodzy(8ecqIpP!)xCC z6DAl4B2su$^llhLqWi~7nkH*^368{km!hXYk4$*?U*5S{b3gWY_m7K$F$aG1ME5TW zMtUr|e@QShAnX1m!4Suy`&S6YqWf0}1_eGw!vbZOQ}# z6@gR_RH_GEmV*>?qJO45A9SB t%KpHAQGc+j{2|Ns-}u9d@psc7{sACxkWpEm8tVW6002ovPDHLkV1jcakoW)q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/houndoom/back_gba.png b/graphics/pokemon/houndoom/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6aae855c6a37f918dc2e5b7c8b861fd7a31b0de3 GIT binary patch literal 626 zcmV-&0*(ENP)Kl)Y{mK@i7JI%tu`5=EMgWc&bzIa(CkdkR(T2)2bT zZMyIZ=cmZCt;n?lQc`o7ojnBX4ZJ|I1+17K|M}i5`+shp0XpT^En<7iJ>2cPb^x%C za`k-usM!G?0x<|T^OkrOyD{6~K?A%1;K^p$7=U~VjKL6*;ScBdz8lje(1W`N+mQD} zIQ3u-RA&kBi}Py8&=#ivyIBf68Oi&=0s;^{CO}NP&jJjXHBnNir&e)=h%*?z&UQ%> zUp~d}J_BE2Su}t4HvqG+)|N>Y*%>gz!rIqNJ^c{_HNLRKn+o*qC%9T*!4lnmM_@FX zvKv--|E(dDdzQeUF#qvg1D;ud0gmDG=9>;oM8Vo>vr&K$LR6SnRiyy=DTJ!|sm6E= zVgCN%rU1v#C<1v5;UyGOv$KbgLlG2IJ9{{Wptq`b3PEqgDTgb-vj|)thF%o78bXfF zVH<)540t2KEn*0z0>tedE~JdgxW)Akgw>NcuD`FBSAe2iH{S66*E$gXXPx8qr=i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I6iGxuR5*>@lCg4xAQVMOK0xNKJ%+Vk2l;^g8@EelE6e<Dpgh9lHoqSAMYH0zMi+N zf41QE$Dg@?##S*doIsmPX?zho0TD+mO~5$!P@S`Sp2TjzpEHv;l^ck*nQk?ua|_;f z6l4=!0w@-IRiXrF%!6-Ffp?t1lbg#r0?G-j^m?Z!q6B!~>-7h3%YgVdz{i{3@uyJ< zusRrgU(YC@V&4QQ^NWkY2>5FP2%Cu>udy^!8E~ReRS4rTi-Kte0Awcx9J0x7puq*y zU>@k*sc-_`UTaNSfWsyYRGW3Niz_&R+C~DgXly{zcLBJ16M^m#-AEkbaMTE)JEVa& z?!MbkLO2-F0PbHNoV*J`Y5EX2LB~h~5R-eX*a;L~V+Jv~LQ8Pj$?#bpIQh4U65cUW zQvl>muxEPqCJkp^WXzNR_86Pa4!=CdsTi9OQzTJ3xdwx)=PV$A8lFwn@ST|2j-($vaZJ9pW> zxy;ecTTWo5*FPJp&x^6c}F)PGT^ z|H=7aBuFD*S^dZODW;X-dAItPPI*_7a{YVaUjMYb`HMUKI{*>#JN*ME?T+3o^pE44 zq}{8sZS@bZ5%0L{Zh>PAJ39`$qyBjp0dAajxBAaQFpdm^{ZU3`4RAzOtABhJkD*AQ zSOJZx9RTJBDDnf^Ur~o>36QeL4}u0TKgiqsASDIZ{9tmMA1ZZ|6W%QHgR%Lc!dMV5 z0yaOGB0u#x)g46c1AUAHUJ00000NkvXXu0mjf5s9D_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/houndour/back_gba.png b/graphics/pokemon/houndour/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..64e10495425a00f5e3bd13b69eb12600f373145f GIT binary patch literal 508 zcmVKlf6#EFcgI&)txK9K!&;xK<&(^ZEog(n#>&$Q#UG} zfNsFpiDyHU)kUZ+WvQ{9pM_%>Vd$AG-7m-Y-0MWqN&iuuvtIx?Xpe*eIjT=gTp%D7 zViYl=Q8WnvQYLK7<24BdfvHkr%=J2zirxZ%91u-}3II&0zLd&}Fwj*}2>ZE8fllb8eN|mR1XDz=J!@bca#-*5MdJ_x)XxsA0@9!Zt8Q>1_74c?iq_%d8oiBP8-n&X z23e$S3yZ6H2uOU0yTvU6rp~}Q9F~jw5a3%lESG2*tZ9Kh%?bg%W(s5;aR^bbGG9Hx zb-&BHh1}p5=bsY=HxZ?!RpkKd-Am4STsjB)>j0f|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l}@eUd8(2+}%e3^~1by-}T3_ri0^Yny6iG~{O8@`> M07*qoM6N<$g62w!=Kufz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/huntail/back_gba.png b/graphics/pokemon/huntail/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..23ccaac12a3a8c8bf09b8c809e0b8f90c2b3997c GIT binary patch literal 688 zcmV;h0#E&kP)1a4 z|Nri^V&0ShoN7U|?(Ur4_It(NN}RMYVtW7p0RMxO&2yBLIa<}l)ue-z<_VQw00001 zbW%=J06^y0W&i*JE=fc|R7i=flre7;K@f$vaFc5ga)ao&bwO+INhB^1I&X1uk)Lsq zXhEDwg|e1z?kXfC6uUA`l*pSRzkvThk0Mc17-*@O*}KEoH)|xsmVTe#d$Vhg5dZ&l zw0^c%9)zLPUY%q*J`e3wsrA_7@4nxQL#Y-l5ECFt=YftS1E&x9gdPPr-IG8-jQW_@ zMT`+WsUpkELIjxK^VvH<#d5Sq7vdsPqkXyvB0Zb!0}f_snp(fd!TU5l$+A-)L3);f zdg3EUpMZJP%};p)^q&Bj`yUSTw;qFu16C2d_84S2z_dT_!ho@G31rcK*oFQZzG99J zVEPiw1J4X-05CcP^Oyr%h5D#giQg3f=BpXB2PGhP9iX&!l`j~eu7JSpw>ej#)}gSs z>n|+OG+c-u-?<9#7a;osxW^=e>$OF_BN(73#R*6l8QmXUf z^QYZ0wgI^Lxc<5DbSy%JCGPCibKf<^YDfLPa;x+_8!C6eBl6SN!7W+mKDJK+!}x~ zBJfxQIEJYJ-XeH)lEJ_M(Ei`jxyB88Rsnp-^~(g%0$bwGk|TnVO27~>)xJso_51?e W!cd<i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IAxT6*R5*>*lCe(1Fc60Q1o6vMWdSiXQkROp1zV?9@f79ZKx8?G zB@zq9*}4=f5*1x8I-I1`=PZb^H`$+l-`Vmf#1)imr{Fc(5((lF$}++=i)Xnp^H38shtFUI^pb25eK=KYyav+@Bs|OL6 zYs59zUwZhW$(HKqj2C1Pf$!XggcnAfy7tne7e>C=Fr^oUN*nGm2m?jvHwaU1Cc-d- zMqxBFs22tdOANwrgL+{q(*$6>FtuY-!CD>t{wKg&1QMsFIwb$m;RoVHxDiS9iFW`1 N002ovPDHLkV1mPYxU&EN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/huntail/normal_gba.pal b/graphics/pokemon/huntail/normal_gba.pal new file mode 100644 index 0000000000..192061e018 --- /dev/null +++ b/graphics/pokemon/huntail/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 106 189 +255 255 255 +238 180 98 +222 148 0 +156 106 65 +180 238 238 +156 222 246 +123 197 222 +74 156 180 +49 98 123 +0 0 0 +255 131 148 +205 115 148 +148 57 90 +213 197 213 +164 131 148 diff --git a/graphics/pokemon/huntail/shiny_gba.pal b/graphics/pokemon/huntail/shiny_gba.pal new file mode 100644 index 0000000000..713c54adff --- /dev/null +++ b/graphics/pokemon/huntail/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 106 189 +255 255 255 +255 222 115 +230 156 0 +164 115 65 +172 255 172 +148 230 148 +115 197 115 +57 148 82 +32 106 57 +0 0 0 +255 131 148 +205 115 148 +148 57 90 +213 197 213 +164 131 148 diff --git a/graphics/pokemon/hypno/anim_front_gba.png b/graphics/pokemon/hypno/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e3cd338ed8d7daf76d2bf670d8a11970b23668b4 GIT binary patch literal 1215 zcmV;w1VHw5dZ)Gr#3ph00001 zbW%=J06^y0W&i*LJxN4CR9J=Wmd$J9MijsW8Q4<{c6%=5NwBA?jYi;82YV#8H}_xY zNxo!lSQqEi_+RTOCuLb!@GZ8nL~>bAF2=dER^RB$*33Aeu!llB#5j0{$djI2~^HGyr6CdL7b zzLOK~fU?0rtMQ@+1Q!XV8UR%aNckhB)K!2pfHDAtP748bqRK(a=J#4Q^*|W~&nHqg z+aI<*;I~o)|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z zX#|JdBEZf|+Oap|%!0$gjhN2tIhi-IxpEWSiHyxh=0{U2A7BP1v>8q7)Oec4g3+tcDC{@pK4lU;)UO08e^c_k_ zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I1xZ9fR5*>*l09z3AP`0^r8i1$5MKZ(K7h|TO{iyzzKaj)R?J0&`uiLJ(^Oh26 z>HGf8c9{0dV;Fi^l+lqQ&UZ;n8U>6urjg#ud$b(F$Q8(^LFj&f5bjNzm;V_*5QZ

002ovPDHLkV1m(qrIr8y literal 0 HcmV?d00001 diff --git a/graphics/pokemon/hypno/normal_gba.pal b/graphics/pokemon/hypno/normal_gba.pal new file mode 100644 index 0000000000..96218054ee --- /dev/null +++ b/graphics/pokemon/hypno/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 238 156 +255 222 98 +205 180 106 +123 98 49 +255 0 255 +213 213 222 +115 106 131 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +156 156 156 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/hypno/shiny_gba.pal b/graphics/pokemon/hypno/shiny_gba.pal new file mode 100644 index 0000000000..af2643bd9a --- /dev/null +++ b/graphics/pokemon/hypno/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 180 213 +238 139 172 +197 98 131 +123 24 57 +255 0 255 +213 213 222 +115 106 131 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +156 156 156 +98 98 98 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/igglybuff/anim_front_gba.png b/graphics/pokemon/igglybuff/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0947bca6619e78e623f2bace7b2b6f004d34f3df GIT binary patch literal 532 zcmV+v0_**WP)*m!1G@@F=&3|0A{^ zBG`)nFfdY$=L9f9jgqh$RK0_s7SMuIS;9x&nnAjDMYLdR=AhX8o1ExCn- z-(JI;ZU~5ba}Kart`o%N9A?-GWJzTE+o)K;v@g{)twHpOck45N%4qy=G|XH88oh8p zQriYM?SoXFsR(0czsy=|a}>8**})%jfWB`4b~n|$_HSn_pvUCTc4PL$Xj7J@>I%T1 zw)jJ-UU|#O$;s(_jm2!I|1m<@|CjV92t&pw9yd0!ZQBK@OUi{@FwQ;?ut?epF6Q7ok5E Ws*6=*6j>1f0000KlQD0DFc5_qaMt{XJCyD|%36sy?MOw{c0~+cE3x=* zS50?nhlb$epz2VmL!QLK`*?RYcS&;9|CBL5_^z{Se(E}a_Z6Ua-~sjAECSxg>ecNQ z3LM%K;5wAcJahx#9}!3$>;iBPK$Qfj0ibpXC;_q(DA#~8;E#~epj_->ejr3&!6+0XN(eu5P$Bp!+&H%u;RDp%h7qz%>b7U(vbyc%Z!O-EN@ z&MSC-60pfD9#HhrMf5!nI5h08KX`#;29O@}!|Zcl8$Q!;-k$k#oq$ofuw2K;7uI)c lCce0xpJ&1tDd4I<*B4j|fzAd``49jA002ovPDHLkV1iNlyFLH_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/igglybuff/icon_gba.png b/graphics/pokemon/igglybuff/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..55d1a9eb1ab6b6670718ed29710bac8b819736f0 GIT binary patch literal 322 zcmV-I0lof-P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hz)3_wR5*?8k}(cKArM440i4KqEU5hDPJ*iCg{Mm(_?~H!mXc$WAK$E)4wD0QUPp;@V=~*l&v3CfUPj94W?E-GcjM(2iksf UWB|rEf&c&j07*qoM6N<$g2ds6Y5)KL literal 0 HcmV?d00001 diff --git a/graphics/pokemon/igglybuff/normal_gba.pal b/graphics/pokemon/igglybuff/normal_gba.pal new file mode 100644 index 0000000000..9b5beb0791 --- /dev/null +++ b/graphics/pokemon/igglybuff/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 205 156 +255 148 115 +222 115 65 +197 74 0 +148 32 16 +255 230 180 +255 0 255 +205 0 0 +156 0 0 +205 0 0 +156 0 0 +98 0 0 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/igglybuff/shiny_gba.pal b/graphics/pokemon/igglybuff/shiny_gba.pal new file mode 100644 index 0000000000..fd1f6fbf8b --- /dev/null +++ b/graphics/pokemon/igglybuff/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 238 +246 172 197 +222 115 139 +180 57 90 +156 24 49 +255 238 238 +255 0 255 +205 0 0 +156 0 0 +90 197 24 +74 172 24 +41 82 0 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/illumise/anim_front_gba.png b/graphics/pokemon/illumise/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0d20f3357af180bfcb38237a6a87b3afcd9a8088 GIT binary patch literal 1224 zcmV;(1ULJMP)N}PjIti|q&tj$_#i~s-s{8d~m00001 zbW%=J06^y0W&i*LMoC0LR9J=WmrsZrRUF3$97tfHQ1EC~COvp5NZuY&y9;qoqhlSc%P!EN=39T1F4{sKhh9=OwX+_auGXq{M zThRL6qzcabf(I#h*zX||=J%QR`@P=_^ZQ1Uj`b`x_vOFb>=hy4u^?jIYobU_%1s$Y5hE;{KiWfRIfHxNzqk0oW$9$i*~Z<8{mCz_(A# zQ5UMx!lCu#14<9?HQI&+0VEv${sLu#m%^IS0fC>{ugi=bzBnoqYb}bBK&OHm-=7K? zV_6Jo!9zN^w7KR7_Ia7(?HwN_C2B9_M2!v)rN`QCYrk~fX~`n z3MwW6P3csS>+W&jtB$JVHWP65}((JpY5;C20Kfw^aS37+`@# z-U5IcUY|M)!hQlhNDYTX07I)WBqo%>7@FK4(96Fy91Achnev6Mx><_#W*3xg|6W^4KwX<#vIIF;Pm-DZX=2>^U=Xrb1nxYhv zfTk!*+BtXUq32yMa3GaKL#U)K_HVL&e}FoGNs%=)uZT8=Y=GwVT)IkG*K_oM1O9+l z2+pnNI6(c$Sd4c$wE&lzqhsp(Gsn9CCVUO1=3WKk*)3%(fY_rz$~2Wl0nGF$?Iv$9 zpS}59p$-G@<);n;%>q_YOd!;SftoS(2dH4ee=xG-sm17+@MQh(20||VZ6Jy;fSfIH m)n@qzNiDn_Uyl95v(TSE)<{ga(MGKR0000N}PjIti|q&tj$_#i~s-s{8d~m00001 zbW%=J06^y0W&i*J6-h)vR7i>C(=lt?Koke?gBluY$cH#Bne{YWQV7NpSYN|k`7LWqn{g_60hhYnp@XXzSu$QMvOcaaDrkj2pl=+vi^CF0X5nM)toGXDSc-rZRy zYXvIUS;36?EO zKp>-4J1Fm6wN8k!^8BW?ffx^mUYxA+7Et6U!jDO=&G%$JeB*}?saA+G_c)K!^hN__ zascL>U;Mt%ObEsp`&`y+95#W!jZg6vdc(8EgrK~cZ|-G_w~aOO$AEk9+Q4bDE-u0N z{o`~$Cj$j|y&aHbooYe}xC)Z22KO33Hl>(4P6d3T0t_4g*d%vyIg?$0Gk#?e=J2ov z%XK*4olvw$vm!rE*T94?rs^^5Cuw>sK?Wl5PSl)`Je4hukqI97>I5mafZ=Xj4VdM5 z0Wx5G5>Xwni$%gMf(YnA6NnJXV%!Fko;83w*#V6f9aeP!fx~E{MaPJ1Q1qgf0{RBC z>lrS-E1*LGDgf~mg|g8XcuODZvK&WU0$4rUsDar$D5ppIU_JrlIt}A#KuvSoBi4bv zlY?_?Q5=WhBMo>tI$TiW^*q8{eW+#4Mu+qB=)?RgEB-h-;InV+6I(`tPn^a>i#70U xIGRT>{uX^Y&;U1>09)X*&ux=h+I{}B^%o5W9)5F{Oicg)002ovPDHLkV1nACDHi|$ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/illumise/icon_gba.png b/graphics/pokemon/illumise/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ac812de37956e2f3ef5698e698613ad3f65e2f66 GIT binary patch literal 325 z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0O2T^qb{yF;;NymXcQ+lt+@dK>i5r?1jY~3p@EcRY6sS>3wv+Y{ zs^7?#1$^v6YspA3Dr`E}nUqW;O^MR}A7fquMO#`0TStM8AV4_^&>>n%0+z14r)4FC z`vAJAktdu75Rg^Qq>W1aJ>N$kef05-DKjR3 z+wN72xmg$q?F7~zRB;KZwHS$DfxV~?c|-yj4f{*z@^~+}jpASZ2Jn&vAhj#YdKB)H zJg`88vGqADKsG8zk(<@bS&(8iHbDF}AP15$x2Qjy8IjAg=vj#w(}((Fa6vZiOAyUR zJn#@iV{u2%$OVMcrvMLOG<5?{3=lpaA-7tabaGD9PG3z(BjnZb^N-NAco0J-N zu)PC252n?%1>U?pc$DK#`j9u)fph~s(%@&Z15CPQL~2bIq{~aiI&ZJ-JWA#=7{2WC z&i!u*DHZ2v55TgOF`S%gAag+&=H}+4F#y#$F%S?C|INk!tfc01Vx%z;UHpC;00001 zbW%=J06^y0W&i*IK}keGR7i>Kk-d(CFbsg%k;voT)@Ne70Vz-5JV9}KJH%m!!Z}b1 zHuP@2lj6wf#5g3u9KNxQ1O~o&=ljkrK=r8s{>%648eaqT zCP1n_j=)ZE0u)IAkNanUNdmwPxTsYcAwX&_YEecAkVpfq$fGCy7Q?>440JyNTtiM# z$O`B^$tjEi*q{ODltFfBwk@v)4g6+Mg20AJG!cYgHlWzV9kn5b+a4GXf+$yIq#*S` z{T|4@5U^p4VvIZlCFmNR^ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jigglypuff/icon_gba.png b/graphics/pokemon/jigglypuff/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4c5a33cb834e95f129d9a7dde4357357d18d5e31 GIT binary patch literal 315 zcmV-B0mS}^P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hxk*GpR5*?8k}(Q{FcgM!g7h#hq28y9$H?MYo}h!^kblTkIxB>N zOVJ@!smV*`LMilZ@8jnu;eA5<_*}eyBw$%#6XpT4z;a-yu|8H<_!gdla_m+hf?3;b zH(dZv4HOyZ>ym-Fgi@Mf$23%`);PcSwc2jDGLbU0HT(CZgNC)XFxjVS`PM* z$$)g?Kj(Z^n0VZ`FcF->1TYTBglTT6FuNZ`BFNzf7v%6GJO3yBcmbn@r_#RmFYo{W N002ovPDHLkV1hd@iL?L! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jigglypuff/normal_gba.pal b/graphics/pokemon/jigglypuff/normal_gba.pal new file mode 100644 index 0000000000..f7f6154c1f --- /dev/null +++ b/graphics/pokemon/jigglypuff/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +205 189 255 +148 131 255 +115 98 222 +65 49 156 +156 106 32 +115 65 24 +230 230 230 +164 49 0 +213 57 49 +16 16 16 +255 205 197 +255 172 164 +230 115 98 +164 49 16 diff --git a/graphics/pokemon/jigglypuff/shiny_gba.pal b/graphics/pokemon/jigglypuff/shiny_gba.pal new file mode 100644 index 0000000000..bea601916e --- /dev/null +++ b/graphics/pokemon/jigglypuff/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +222 255 164 +180 238 123 +139 197 82 +82 131 16 +156 106 32 +115 65 24 +230 230 230 +164 49 0 +213 57 49 +16 16 16 +246 238 246 +246 197 246 +205 156 205 +115 65 115 diff --git a/graphics/pokemon/jirachi/anim_front_gba.png b/graphics/pokemon/jirachi/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b414a28cb3b2fb7114ba0feb2d77aed42dc7704f GIT binary patch literal 973 zcmV;;12X)HP)tSLcr=I-`VbN_>+|7vq{#Q*^AQc|>wG3Lcm|K?i%_LTqs{{R30;V8PU00001 zbW%=J06^y0W&i*KOG!jQR9J=WmO*P8K@`V_NC?axWELUNi%~o^hXy2`l7li($i;)` zH3y031_FENAz#IU5ZK*dnl_i66_1780Y5<8@32askOa1Gb|rDvaYN~)w7!F`zTdnz z^L*p`Beb#KH_Pc~`td06Gl}i?@pKYq0lj0+Cz-$z=R6}s0*teOE&zT;h)xRtK8)7+ z@nH;@e7Gh^0{9N+o;rwAtu6q_qws5iE&PlLz+a7_jRK2v2Ig|{zOs)|5O{3K()G}S zsqet|x9<~wyCwU#+s}~QWUNH280d6UK<^1w6TPg@->m^6W)J3+HjBDQHC_b{BKxWc zz^MS7u+uw`30QG`bxLVtPB?>FZ>ND;3yr=)3VKdl)<-CJmI4l2`2LpC3MIrAMas1m z04q`O7uNzl8~W?%D|LP;*c&GG}e$&kD3b zLyIZ?1{i}EJR@ZHONbeBZqoiBUkHny>U!v0tv;JdfwVq7W&Qkgy*OQ6b8Itt@It1c%`sUyn2Mc{*v$)os zWuO)V3w>YUoZ4Q5&KCEatA5EU+4og+*_$Lz*{i>6Mc|ZkN<~yc|Xwy z4{#O*umvX|1VV`MznTLgP+B1SW}T3Ffqql~`E$tc@<9Xi!LG9BX1j*rK7Xf%F)OP4 zC?BE=n-A!tIbPfO7bhmIKdGia7`DBkkT?W>_n6S+$tgNY}*~~8* zQArm7w3jQ*W)KKdZhG@3nl~5IU!MPB`g`#~@}UZd^~1~7t$4UE1F-^m1uzVESsrNj vY#B&`EN9SeAc-dx1%jmN#QJDs|GoVJx3XbHnDxsT00000NkvXXu0mjf2i&_p literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jirachi/back_gba.png b/graphics/pokemon/jirachi/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4fa283e0dcc6d4a2e0e998241b0d41d059741541 GIT binary patch literal 738 zcmV<80v-K{P)tSLcr=I-`VbN_>+|7vq{#Q*^AQc|>wG3Lcm|K?i%_LTqs{{R30;V8PU00001 zbW%=J06^y0W&i*JU`a$lR7i>4lrd}DKorMCLJ8P|xZuf4hzJC_v|u`S(bTD6+%Hh< zwK!<%(yyX~bU8U(WCqxVTpreE3F-Lo7acJ@0Nf?XqXwSeHyci4!^(-olfMWTtcsz2g9Pf#Vwz(h-N zzQiiw#(FqjAeN9)hy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SlFR#axqf)iGmspb$JW3y!=d8>mEM3%vjj7|92yF~(^2Ydu9LvElz;UOEza9}B!36{IzwLjV8(07*qoM6N<$f@MTUh5!Hn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jolteon/back_gba.png b/graphics/pokemon/jolteon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..19dc00a7cb059dff6a2c45aebdd63fbe420927a5 GIT binary patch literal 726 zcmV;{0xA88P)oQpYXQXu~T|GhCWY5)NL0RR60|K8r_i4)K9OPKo9_MlIpFRKzr=Pr5=6BW93$e`rvLrul<%i zEy$ti$-jxcZBP^H$v(aSwRDzU(8?Om?IapxemgtME-K1@AB{&~ICxM%eE{BQ55Vvd zcz#z0j&s$*bFU7D>iY}Odf#iHp{o4~cVs|QHCJ4ZWEEf-LP89YB>^J@VHU*@iX{MU zBaFxVDwP8rV^f*Jl`aD?2L>?q#v^1)L4yIW>vc!^9e`N{!$SsufdnW%6TYb%_zq}- zFd4%3s}vN1gT5Rn&500wd7k&lVsxj%i^vuap2>a12sL|q~EUdjF7LN&IRanJ{)R!2Eu*FSD|U$+a7721IUTRmx*qH(wakw zC?nL`7GQjnU(5-~2%Cm(S(oVV9u|wD1rouBY}r!M;{HJ7mpRY#2=`}^SDcc?b8?9& z52s?JSCp6(EmnCb_9c!5_*k)4H5`_^&c$9$5gYBX(?MA_;}syp8m1l->XUFp9!YPDWqZwXZo3yxC$G?R@$=?cnD1#*B9@K&dm-$OMvzfJvoIqica}V zyLPz>_;F++6>W$YZ>&`3DX|@htGo&2u8&*WuIKU1dHlEI54w<9a^8J|_y7O^07*qo IM6N<$f>!-Pvj6}9 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jolteon/icon_gba.png b/graphics/pokemon/jolteon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b98fd78b2779310dc11e1d2dbaff73ef7d99204d GIT binary patch literal 324 zcmV-K0lWT*P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zb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byb7ng7XQbfN|DX!(PUi5vU|{2^cg;EkS*D3(Q4;Ksp3f zQ{MuBaM@)J1ZHlM3oRW2ARq#7+7RBj1Pp_h5OVX>1;EvVuOvT&R7ziz@KSM5E0zkb96 zQ0$nQ0rZw%1H(fPYDF52R&@V!KuGM@jK!1m$um<2ZkI{F)o3)EH)9Zxp0pNMPXP+> z5MmC1MuU(j0>KTOOcrD8UvqHUEbXJ9*(4^~J3bSKF$P0RDdwFPlxUG6Y7zn32rB5- zbWTVUqY&H*T(l!*%$5vD3*$hz1u7Wby3d%cZwQAxiRwr0tAN>79daD)=%WT~Vc#Is zdPPnJ-A;(^I{Y_;VSFlx9@|53&ylGH=Ya0R>F0KE(nHi~kI!8Dcr0i~QFnMQh&spl nyV0fKpn!CA7suyDV$@k}+<@APk0cf^ZlQ9-!8-M|L1sEXV*f*&W&g-Yg*O0RaOy;A96t zb7+R0nHz8j)6R?80f-{OInX2J$WuXW|u7IyP~PHAmmOldQ%RvLW|6b=8RejyCdNf?4&7=n{9>W2X$DwGjM z*Lz_yorKA{+6j}1mTzH1YASvR1Mrw~%te@xu^uc^gb8}pac~hPyaOKJUxW!)Xg(BS seBzTZDVhH+!p!zTiZC50Y#n~AFZM{7v!pINr2qf`07*qoM6N<$g6jjMf&c&j literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jumpluff/normal_gba.pal b/graphics/pokemon/jumpluff/normal_gba.pal new file mode 100644 index 0000000000..4221849766 --- /dev/null +++ b/graphics/pokemon/jumpluff/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +98 65 8 +123 164 255 +90 131 213 +65 106 197 +57 82 148 +16 16 16 +255 255 222 +246 238 180 +238 222 148 +205 189 115 +156 139 82 +255 139 41 +213 65 0 +65 230 57 +49 156 49 diff --git a/graphics/pokemon/jumpluff/shiny_gba.pal b/graphics/pokemon/jumpluff/shiny_gba.pal new file mode 100644 index 0000000000..4885690b66 --- /dev/null +++ b/graphics/pokemon/jumpluff/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +115 57 98 +255 205 172 +246 164 164 +222 123 156 +164 74 106 +16 16 16 +255 238 246 +246 213 238 +222 172 213 +205 139 172 +164 98 164 +255 139 41 +213 65 0 +65 230 57 +49 156 49 diff --git a/graphics/pokemon/jynx/anim_front_gba.png b/graphics/pokemon/jynx/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..db5d0d4c769b95344150d78dff4f8d6141445e99 GIT binary patch literal 1764 zcmV{#X%Tz5CH%7tpDC>)toVdK>z>%0RR90v$ns<00001 zbW%=J06^y0W&i*NVo5|nR9J=Omd|h7WEjV-O_NrZL`o4iXh{Xf!Gs%*-C@bCVv|zu zLfLK&J8*2=3T;9h7W*=BT4E{e4|ts{(xhGd#-T#0MB~??hr*z-OSh_OB2rgna0!E# z=e3*0Khiq_A6hBT$KU69UdQ=IT+13!!R+$a(*Mp-8o{hEO9| zzL3scIe&xWV)cQFI~Z&AKi7f)zkh`XpoJ*Wi2(}qG5h@dl_9Y=C!|3D(V9bS3nMx} zyYMl)$(vwK5N?6MHv@~<#MA}|X-p!0gZF@ao&m9Hy+(*d%0A8na7sbA{dQ{`Spv`Vf>p0-7;g&c+%1kj*}~bUzY&DiDFFN; zs$z_Fxa$V*^|;`0scCvytKOzBdHQl5sRjV=3WAV6J&JSF)X?eMRo$8`OC=AOrpc+`mm;=}swWD9ft%CE zll>6TLA8a<&HQpED;QccIhhIpuXT`aJk1L1(zIqOHAR{sK+|o!kj41vqK4XEI=_a1 zO9bnM&JQ2kHeN(%LpCtcgMbOZXINhnI~G#A6#(#N5NI&q$EEyTLsNT%U}8i7aR}%Z z0HzT*%GjpWc(zJPOX6LOn-yX<+F{@jKdX?E$bg?KRs`U74~-2%Hbl|FSm`sM69hP` zqqiNRDBHMM27qi@!8(^P^{(U)v(?aDU^fbwT}g5dwN|%WVL;>+?>*~^D+hNQRY@ic z2-mrucp!=gpIc4o0kJGIQs*W_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a~PJnWp3Lx7;?kL*1Lz(p|aje36F$Xx@>7>xIN`*sj&5C#aS0q|o9@HDszSq>%z z_`L)KUOo29zo+p*(S~b)kb&Tlxcui2=!6z+xKIPU561|`yFMLKIw|)lTmmwZdW1k+q|cNN<2DFk`dx#aw2vkB+5rE- zM@jPK=T1tVhGmy7*C|ngZ>0a|^%rC#p2RkA>yb2F5VF2m9mUK9{MPHIX-ddueO3>` z1UDqF@Yyke$brZ~7Igt=R4O!pX^2`FCvL3VbHHiLrI6`t}08s(`%0*YW zKq8EH$Q9KD8gP{)f29djo~(hw^OhZt;YYkXUH}F~K98cc80r83002ovPDHLkV1h2> B7qkEX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jynx/icon_gba.png b/graphics/pokemon/jynx/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..431b6bf194ff6345f1edb24eda83319e02948476 GIT binary patch literal 378 zcmV-=0fqjFP)DV$`W3R)6cNZ^xd{G>4AHr3xAwOC_$3hfmHKm|aa!+7V^^{` z5Sgv988B>k6reF~hOK}Z!%Zzf-*KedtufbI5$zX`$e{G&3s8l8Nzrz+d%e$zsdKb@ zpN<(Q$wYlVGEtg7CobZ}p2U0gp9lD{JF^n)ng>}26<{D6qpg8itOVvm5MLQ$$t(f! z%%uQb$Fe#Ln0b7AS|xD6Gb6|v5-`_!FFvU4KC9yuJh=qKPG()2KmY&$07*qoM6N<$f~QES;Q#;t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/jynx/normal_gba.pal b/graphics/pokemon/jynx/normal_gba.pal new file mode 100644 index 0000000000..ac1da75970 --- /dev/null +++ b/graphics/pokemon/jynx/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +213 213 213 +98 98 115 +213 139 238 +172 106 197 +148 74 172 +255 197 148 +238 123 82 +197 65 24 +115 16 0 +255 246 172 +255 222 106 +213 156 49 +131 65 0 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/jynx/shiny_gba.pal b/graphics/pokemon/jynx/shiny_gba.pal new file mode 100644 index 0000000000..b6838c13da --- /dev/null +++ b/graphics/pokemon/jynx/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +213 213 213 +98 98 115 +213 139 238 +172 106 197 +148 74 172 +255 172 230 +255 131 189 +213 90 148 +148 24 82 +255 230 222 +213 189 180 +172 148 139 +115 90 82 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/kabuto/anim_front_gba.png b/graphics/pokemon/kabuto/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..101560ce664a9e76aa24afa9b50cdc375e36114b GIT binary patch literal 578 zcmV-I0=@l-P)d5D*X$F1@&Z00001 zbW%=J06^y0W&i*Iz)3_wR9J=WmcLHJFc62mc4+bhJVki}y7Lyv#_CRC?Uc0-lS<48 zr?68eof43m3rLj^Qt@#P1&Vy$=;q&$I5Y{73=lWTRoi2e*ajRROd{#1k*Nf>gNR$14fl{e<=Amwt^vT_zA>4j-Y`Hc zGsx*aTA3ToeRLx!XE}|at7ZYQkTauh7qdCNEpCJu;d_kuj3@+h^^lN|kW(h;LC}L= z;Q#c%@Ol992;lzRM#{sCh6iHuhi`!Y``d%V1dm{dD6!&zK%hqtz#b(9vHrm80r`V{ zqcHdB!Tf7W|krwt!_G Q7ytkO07*qoM6N<$f;I&V5&!@I literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kabuto/back_gba.png b/graphics/pokemon/kabuto/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9664ead41a7f8f312de4511bc54d5bc3051da740 GIT binary patch literal 499 zcmVd5D*X$F1@&Z00001 zbW%=J06^y0W&i*IaY;l$R7i>KlfiYuFbswnpwJ0AL$~7E8@!&n0vmJ?XM@;u0Fc6s z16a=MJx!$;h-`-e+Q)y&%m3+@tT?mTL;qDsME<`0gtal1rNbS6;l(z_ZfV-zv1e;$ zteqmn7cXj}%gGo;Y|8+X0A-V%sf^5UP3W^Gb7Sgy^sW1TD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H5fn3@Lwlg!64o^?404qU;t%>_0bAkP4d zgff_B7pCXj2K&PSocsZ&_3p9+rn3{ZGXwKFqDQ}aH$6Z)l=P!w<|+o^en;h3hS%lRq{2^`97a38TKZMKcFJ~b`} zEP$~n8cfZWpH1%AcrIb>~T_1O=DcN<58QfhySSfIrl^vu8 z@aDX834j|yKd$t{s^Erl27b@xey-N9JaU6ZSq@Ojq$+@uh^1?3J5m6M>Sa(!uBpcA z3Gl$x literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kabutops/back_gba.png b/graphics/pokemon/kabutops/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e1aab4de24fd9a3cbd513bdaf8a540ed33e56314 GIT binary patch literal 753 zcmVL800001 zbW%=J06^y0W&i*JZ%IT!R7i>4l);YLFc5})SdIiOk5F~bNQL`qx4pL&j|=+*waxb2 z%s8rgBeo-<-f-L*2S}Vkd#&mN2>%~5|4e2g#D9F;U-Uv&e+Kqj%r7ASX}@fBb}`+& zX1bJ8H97Ed&N+3Cb(xzeHd5Opx^J5;%TAgMc%eHakxu%%hI*F)s-#<%)8D1EBVejf z4vw+_ke6Y>^}1#qWL8EEJ>il*0!q4RSq0^wJ7oqG3c%E)_a_IY1dvY!Xs-io!lVFr z0je=jQvf>QOk|B<6UWZM4L}^R3*g}fFf%EDclHJ#Y6gt$>(C?M$Qjx}9o0C3N&$MC zc^_zwSxSJp3d{&FD0^Tu*6C>kP6MV(VMYLHCZ)Myfs1JBG)mV4h$9C`*;{)p06i^J ztB`ulCj3|zGiXZ=fT2`AwsiC1H^6#u6hL-6b9etK18j6a$$dNnpGQCpz$r>iDLP=j z$O6zbFhE-ox)Pq=EHa&XWCH_CR6wmeQ;CGY4i(5&3e*U!C){Z@jB%DDtc zE!o21`O>UnqkXif0ew6&QNN0(w?n{Hv~Wls(IrId$^FA&HK?=TrQ#x}RTyI{f6N!} zR|A*(Q(~Zz+48*8xyV!%K&b%S6Ct4A7ABN~2#sMqXfZ0^aqrKTE)2 j`A8jcr=ib)fBgIcx$5teDV$JdOxiFiKz~3K?F<#@e@{AAI4b_)|bT&3VE0^ee@bCTj0tNz# U108*|1^@s607*qoM6N<$g75T-4*&oF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kabutops/normal_gba.pal b/graphics/pokemon/kabutops/normal_gba.pal new file mode 100644 index 0000000000..09a61f8e64 --- /dev/null +++ b/graphics/pokemon/kabutops/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +222 222 213 +189 189 180 +156 156 148 +106 106 106 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 230 172 +222 197 139 +180 156 98 +106 90 32 +16 16 16 diff --git a/graphics/pokemon/kabutops/shiny_gba.pal b/graphics/pokemon/kabutops/shiny_gba.pal new file mode 100644 index 0000000000..9217ab55db --- /dev/null +++ b/graphics/pokemon/kabutops/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +222 222 213 +189 189 180 +156 156 148 +106 106 106 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +222 255 90 +189 222 74 +148 180 41 +82 115 0 +16 16 16 diff --git a/graphics/pokemon/kadabra/anim_front_gba.png b/graphics/pokemon/kadabra/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cabd2589f5877994b6f573b557a98e74cc525565 GIT binary patch literal 1579 zcmV+`2Gse9P)J_CYb#v{I~tDT`tdVle>T-rlsdwEzEm|L!T(v;d1@01yxmia~|x00001 zbW%=J06^y0W&i*MsYygZR9J=OmcLINM-+fpG(nMatD~cEFf@r#Vv4wnQ^loSI)B1K z6{>JF(RIEp?l_SSOEF4H8W%1XV<{`wQI*HN&muO(OIl@-l9Sl^ErT!#P1KD5M z+;YRH{W|UvDfGcry~zN*{-OeYD#5l_h){y?wE%{>7{CCce(DoZ7)e)70Aa$>7I%HC zBO6UvtOuZEtir2T#9UnF(e4w=vf?KAJ7M68d6jx&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8elmcA|iT7PH&1Wh3iT>QSzCFDQEIXb<-7-NiafiXIeuR9PKFlUS6bO&;K=<~BB z13Loz(sP8FW`%bL!oHj4`Q3paIS}^MGyCk4$ODlBaqJ`p2jVb0kja_@%66DRlnn;G zW8Fc!3`x>5{A>S^3jd%QPL zZ<7X?u)(EnFlbn+!Du1yuK1tEOjRI%p$brh^(Vj>|7-jK#*x}W665{800000NkvXX Hu0mjfi*y%& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kakuna/back_gba.png b/graphics/pokemon/kakuna/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2f5455238f55679ed999fbcc97d6bac558245b46 GIT binary patch literal 490 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*L(Nw{Re_)bN*k=dbTEN zOEp7x6vKap{}7awm1SvZDIg#K7s=WEF#)KTu_VYZn8D%MjWi%T!_&nv#G~`=6x+PR z20X2%SLW4lNuOZ!Q4MZmTD13ybD-x;8b1_uiGoSGMC#%xOed^zM7Mx}f+3Wub| zUlJY5e_XtM+VsKHK7*Hkn;FdZH?VWPSjUw0Nj1o!DeKe6i3~wKELNe}Oak#1E0@+x zoH;r6YqgNT@pHS&Orth6dv~tBn3>Ic*J<~cYpYjHc(d?tO~)k(XXeO=rXaqo7d*~4 zCQUivvrznB+$y>LY3mjwinVX>>0YC=u*i7_PYJi7h#^Z~wp7I1LmPh;o@S7J7t^+Q zYpgG`bjR!?v-n=dr|wu5W7NRc&p9E{_h6vUpK3H8+uoo+Z0@$ b|CLuWrg!hW)@@IL5y0T->gTe~DWM4f$UfSe literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kakuna/icon_gba.png b/graphics/pokemon/kakuna/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1c857d4429afe13f83d0db24f030c5482e3942a1 GIT binary patch literal 266 zcmV+l0rmcgP)DV$k literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kakuna/normal_gba.pal b/graphics/pokemon/kakuna/normal_gba.pal new file mode 100644 index 0000000000..b14a689689 --- /dev/null +++ b/graphics/pokemon/kakuna/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 230 156 +255 213 106 +230 172 90 +180 123 0 +139 90 0 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +57 57 57 +16 16 16 +255 0 255 +255 0 255 +255 0 255 diff --git a/graphics/pokemon/kakuna/shiny_gba.pal b/graphics/pokemon/kakuna/shiny_gba.pal new file mode 100644 index 0000000000..0a45b029a3 --- /dev/null +++ b/graphics/pokemon/kakuna/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 238 90 +197 230 49 +156 189 8 +115 148 0 +74 106 0 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +57 57 57 +16 16 16 +255 0 255 +255 0 255 +255 0 255 diff --git a/graphics/pokemon/kangaskhan/anim_front_gba.png b/graphics/pokemon/kangaskhan/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ec534bcb6953d52add015c5bc13e5f1dd6b7016a GIT binary patch literal 1739 zcmV;+1~mDJP)!av*@sS+kbq&_N_}Z-$>siB5p4 zZYz=da%OgScIHu~@}I^%?+5dv*7xT>uYOQ3O^$c)P z>Hk^(<@MoBSqS%@tQu`;qhQ}YEDPatb+u`<-@hS&eOw~YM!z-Jjc@k;J_-)YV$en? znAvakU)#1_x(W>iEju3N`_MCt*85mc7DPpt#xuVkDGo{nLEtf%U4KJC|3gU-IuE!D zqS|4Fb}xnI3J&ri4V)`)aL`v&*v!N zg7uG=b1n*CASHJO9GK}X`p`KE_^=l60WJnCDKClw5NIP9K42sSFo)w|(F9`w&4k?I z96*e@zf%Y_MEf`|0mdu&(PQ&c(xS8Uk*y zGjPQy7BpKrn!xp5Cjy|D9Y@0K?^w{Tg!s+{KNe_$?D5m8dA-(@Q}WRz9{_LT5Htu$ zaa~;#4|~%#O4hp?ElD&|fgt^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$ hsW+JV!Sc9s@?U`D(@$d5+u8sC002ovPDHLkV1g+v8gl>u literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kangaskhan/back_gba.png b/graphics/pokemon/kangaskhan/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..babb41fce6380ef40051a7d032d90a5e91fa29f1 GIT binary patch literal 881 zcmV-%1CIQOP)4ld*4`KorJ3W#|y(TFsbBmO6CCdxoHHRsMu}x<-kN zw~(z{e{6RS6ur6XZxM3p~sZIa$I*?LX%4bjwro`QMlU@v3DDhc?KxAX`(UpnV1`iPmj`w zZ1>Qp=P?${U;8u_vP-rGuHD8yV=NpnB7|(eIIWw|;v0r5Bx1&R``NJ8V>hNe0~pj9 z``&(Y+OO3a8?g0y*q@OKFoilV0UTs12NrvUc4-9_iwIQfd{P7W2FRuAfY<;5T!d9k zLI=5#kBBKqWtZ5Yx>+a$}Og7AesW-!sk$XvP5 z0ty@CagfE5hawyKWMqabAoh65rtlNuS*?KgLatjt<^}bH2r+IZ*a-yVkr4egAOV1% zFaUuR?WQvh?+Oz;;2PRPa|DK2dM84d>8b~OBmx0=!Axo9@g~BAmMcIYfNus9VDpin zYyqSQhzLqz5a1sq;1(9Zj@YblsPLB68vzlj((|gtKfnF}c6C6bA*e+a00000NkvXX Hu0mjfAe@eR literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kangaskhan/icon_gba.png b/graphics/pokemon/kangaskhan/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..177a688cd1ba43df0c49d4b2e3cd0a83c480e221 GIT binary patch literal 389 zcmV;00eb$4P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I14%?dR5*>@lFe$vFbshG1QEJ-3(W%zb}SU~oVrvmQdY`NVTK&~ z0v$d1V$$X$nxT16JB}YwTXUG;72~ zM}xTPW&k7N)0XDlGU4iLLljGZCTlwqjqihv+Mbjc_)#*djw-4W0m!YM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nchU;HM4LfR+MhvjJ>@AuI_rx{8p};z8=rxayuLBbYD5z67qi zr?014XgnZJj6eeH8|^eYEw!td!~ z`EU$uyjkDOc<5o(?`a6^$_Q(prhqx|%_R5kw_8cZ#t|Q^t*&Q0O1w$5>KI_6&M*11 z3@|5wW~-IVkzIag2W%+=X#BYZ_7a^ngg9W?YgypDNaoMS0J}U|65+)(uzU+J(GFXg z11;1MC`Fdpz=+<_3HY}I*AQ@PeKL@M5vTqd-LxkjB_u{0gJIOf21cqs-h5?F-mnNm zluZzdrucf`TvPCX4_&{fo({+)eT?hqh?M+tz}hOaPIyE}@Qxd1h= zQavd%JFIvJQIw7$8CYJIV=6l+mXX9JPF~mIxWM9Au8$>>*YVcbF=L5AU($J9!`Ln! z6f6J~iJ~;lS0H){P}u@k1VmwS+@L(KL7v#07*qoM6N<$f=Cc^CIA2c literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kecleon/icon_gba.png b/graphics/pokemon/kecleon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..98b108fd93c9479846741ffebf5e3bae6a6990a8 GIT binary patch literal 384 zcmV-`0e}99P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H{z*hZR5*?8lCf&UFbszM1kp>WQx9vgryjkRJWoEF4&G|W)ICEw zg%cT)Nr5zlOHOW=u7&=aK7Pv}K4boP762%Kj3Pq;P%euG6H3mi0^t;}Q3Z%~#Di`` zAClfNMcyN>sHB^<0R4r2O`=Mq%hn*VGW*60~(s_O!rDK@$SjxPCC0rBFrFGixA z3#BAH9Z3lTkKs6z5(eJ}BC+*h3$nkC8k=HZRcHrzV$e3={?WAlk&a6;S`7*SoevZQE-J*l@&8Gs7Wg_$NvJ z{YVL4^cA3#vn0i*XHcsBESY{+M<-!lT7z#LooBmgZed&$@#ykd;*`fPTg3roM4=1= zJt3CH7Nzks5f1?`lC3Q%)8hevrrH`$)MEgvTO?R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*Tqu$< z(#Y)P4)Asykr$rwD8L98BhOkR9o zfr6<;pS<`!0DR&0>5l*yU-#*c*VnfzRX7R)C8|GuS+3ajf;|}11)wfievr2~yBpV4 z2dpk0J_!^SAl;VxR{$VTSfa%Kw>)|b`UJqDp=fnB>viyfmwV(z!wSaqmNtj+xWaDs g&m)fJzbcf!0V_%$1sMdAvH$=807*qoM6N<$g2^Snxc~qF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kingdra/back_gba.png b/graphics/pokemon/kingdra/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3e6ec7789ad2f29c286a5ce9f745584251d20795 GIT binary patch literal 743 zcmV?P)4lRb{xFc5_WM5-6`Pq__cA3z?eUz@|ufb5Wils-ic zkYfbM4RVDPX_K@$NB}#v@<`eFk?8F=1Z=~aPj6=442$BwJbZXQR@N>XEBP8LDG%&4 z53&0IJ*8N62e3qKWx5D-`5HX60zkx1fmmQsc_I-Z$|%GFqc#~LW}5+O;#i&-=4=Xx zC;5O6gr-(jDK#>1hnVLdnI;lqgah9JB7*cz)d$acr&2La>9sdmr;-;DSjingaRO#_ zn`t8fS_*HDGfgNWLzJq973QckxpR&vXEl+xEdbL|rjacGv)hmWV4o>tJHtZMbxjTf zI~$pFQo%|HAd1%kg{ht5eVT_y5k}gK86`=7VZ3hm{CLWkQMJt7CF=7}_3kpwVOxYc zW_)XT^LFY*tikXF0ByAE*~u8Nu?fdE5gNa86DgUW($>bM4VJF^#nfJjoz^Q(0G&DfSksXCp@;YoM=tDx0|fd z)kq>dZXfU8e;xrC!dyk7*E+7%m$Af_8r5jQr29GoUq6l{N;NmQ|1F4f1oq!PO&WRG Z=NI_h*p?y>bK3v_002ovPDHLkV1m13O5Fee literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kingdra/icon_gba.png b/graphics/pokemon/kingdra/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c0fb5484af487ed719e01bb8be539847089e5b5d GIT binary patch literal 385 zcmV-{0e=38P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H|4BqaR5*>*lCf&UFbszM1gD3|(n7$?y+Wby)5QlNUN3O;UdMx| zUm-(>bTI~VkU^kxhsILIqeH9BAHRf*K4boL!5$O_$O=#?R)UpFPzmP9Y6iu4VrUEq z!-UjtU4Zc!9km1@;=sOjpl8S6w*>hNTyp7tX4ECY72CauRls@s)C+KXb!Cvd-CoXK z?fQ8<4>${OI4%x9WF#fGjOu?TjXUr)%^Dn%`Hz)%Z?HMD2GMphRd3XLm0)5u29VZk z7CJEE=@Nwwgyj-^(*ddtAqpKR@LC1fP6vUjbrzZqY<^D%dAe^Mv>+)hqm!V9mSqQ~ fccUxK=CQg1&x)ohoLLDG00000NkvXXu0mjf_q?TF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kingdra/normal_gba.pal b/graphics/pokemon/kingdra/normal_gba.pal new file mode 100644 index 0000000000..9dcb7ab851 --- /dev/null +++ b/graphics/pokemon/kingdra/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +189 222 246 +156 189 246 +74 156 189 +74 74 131 +255 0 255 +246 106 82 +189 57 49 +255 255 156 +246 230 74 +230 172 57 +172 106 0 +213 213 213 +123 123 123 +16 16 16 diff --git a/graphics/pokemon/kingdra/shiny_gba.pal b/graphics/pokemon/kingdra/shiny_gba.pal new file mode 100644 index 0000000000..c458692836 --- /dev/null +++ b/graphics/pokemon/kingdra/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 197 238 +213 172 230 +156 115 180 +106 65 123 +255 0 255 +131 205 24 +82 156 24 +255 255 156 +246 230 74 +230 172 57 +172 106 0 +213 213 213 +123 123 123 +16 16 16 diff --git a/graphics/pokemon/kingler/anim_front_gba.png b/graphics/pokemon/kingler/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fbcafec0396e3498de2eae258dfd0ccd39a007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=E!%b z5I8SNo>eVSuPouO>?RATAZ8#z;2tYR%)H+ z3Ewn;<~We13$tpaCaMIWXWJaKbEgZjS3n5AT_R)r?!_X*e%H2W1!F)>RG9l2=-}6P zKwZH&bZ}laz=q`^pWpd$VAeRqFa*B2?r0kFlI)o$w-%_KIH2`*7LYO25bHvSAshyu zrt|#(L=7f;6M kAC(>g6qvs|BK~*#FA=#krEP#9{{R3007*qoM6N<$g49k^ssI20 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kingler/back_gba.png b/graphics/pokemon/kingler/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..11338630f362e74710f968529fb5f70e6947aebd GIT binary patch literal 716 zcmV;-0yF)IP)5dZ)GCT~wW00001 zbW%=J06^y0W&i*JN=ZaPR7i={l+TWvFc8L(Kx$4%pzOVvJ+E5KN_&a`!xf3DM16rc zx7=3ADO#y&+Ebn}Dy#O!Gjzr_e{5iTtU6Lc$o!aZzOjvE{eNNS`G>di`A4t*%$DBH2p zgTA;7(?@itx?2G3pzeT>M&e>PxT};zNFk<8MqcIhX^J%x9mqUXP-#(O0{Fg9=o>%~ z1fv3=Vf2s@D4+rFbrW>dA>A~fac=s-*)`> zQEITb!i-aeW8isvIUK(#z?XowW!`<^{QFt9Ac4%+7JPN+f%c~Y^l6`W{CJj&Rm=ic z0HDdT?FNt$9dLL1Q{KMf&w|AGx(Rh)RqwBGvEktqp9LV6x1Ei8kIIkh4j^G7Z@W=S zpa5@KC;;4B#bEWaMZgIjlsZGesRrPAdwc-^rUS)$;8PE*cH5JME4V=b+G8OA=`ag- z$Il3WLr{+sM{J6em_P=tBX9!%%A{d3NbJwT+YL{d06;8I#|TaE{fqJ@044x30KYi8 yWK;o(02rMC5&`7+H3hKsIL9^bzlDV$@lTC`lFbqb0g6J@YbXOmypxM=nLcEKw8Ym>YU@%y_ zexndKKZPD(Mms$u*|A=X`CCEBq%(*V4fY(=!7JKAQeiK9Qv+X6yun<-)8#fO^L+)= zlr!I4k$I>y;V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git a/graphics/pokemon/kirlia/back_gba.png b/graphics/pokemon/kirlia/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5820cd0688f6ff076c67914785e657fe4f8cb013 GIT binary patch literal 723 zcmV;^0xbQBP)l^pN)Qkb#Q^(u00001 zbW%=J06^y0W&i*JQAtEWR7i>4lRs_~)Sw7>vfe2BI&v4Cvz*=a)Lea#Z}Z z08Uib7>VUrW<~}DT+X#FmbsLr39KR!!yl1KDXvXmAw;ZX5lfkfuVx1R2tc<2Z5}7_ zqb^f%WdQ34f)Ghk1H!0s6`{5~j+H|$*Cw#gK%yNK&}_rupKzYbKMu_*Yao?6)+oXR zt|0FK+5mJ8L?&dKH2Yj})m?3|Q9!ee701izgDjxC0%leqBh?+-5I42~kp@VMl{JuL z&j9i-z?2=?fuhK>swCSEV^yVq%J>*Kaku*bShqqnWsOYe0cFQPW;U5rl!h0Rju(b@ z!lnDOl1w_?RuCQ^TDIDy%*~#FT}sYY;6;>Bj_%@SSz1a5-w|FYx}s8}(m(!>BPScJUOr zg&v$JAXQa_)278Obnir^Kn{5Hf(GDjF`oy$^EXHlc)ezo?tQ;<>ZPxsdwru#w_xm<>^%Sg002ovPDHLk FV1knsNj3lg literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kirlia/icon_gba.png b/graphics/pokemon/kirlia/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b99dfee25723c36404e4605c4c18f6b709962edd GIT binary patch literal 351 zcmV-l0igbgP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H-AP12R5*>@k}(d#FbqX~g5(HD=>aOyoi23l60glk;F27G3aKMa z)hc4cq(xQi&M<(tyu?wQ{{VigdLRvY(SMj z7h7DY+`3kA*G<7DV4WQ=c>>TiWDMDKt7?IE8riKd?TyEpy-eSVlH>s@_;8~cjhJ7D zF)K<=lq)jP1O0T6f2Q0MWVP_G^#NhjB21Th{9BlmzMFwdVJkZeLoDoW7AEJ$_*obR xKu2K)&Et>4$YG)nBH2Zl&4F(S1AZ&aS}!%qh7d305HtV)002ovPDHLkV1iF|l^_5B literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kirlia/normal_gba.pal b/graphics/pokemon/kirlia/normal_gba.pal new file mode 100644 index 0000000000..91b428af2d --- /dev/null +++ b/graphics/pokemon/kirlia/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 164 82 +238 238 255 +197 205 222 +164 180 205 +131 148 180 +123 82 82 +115 41 57 +255 156 131 +230 82 57 +106 123 148 +255 255 255 +205 255 172 +148 230 148 +115 189 115 +49 123 74 +16 16 16 diff --git a/graphics/pokemon/kirlia/shiny_gba.pal b/graphics/pokemon/kirlia/shiny_gba.pal new file mode 100644 index 0000000000..ff944e5516 --- /dev/null +++ b/graphics/pokemon/kirlia/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 164 82 +238 238 255 +213 189 222 +180 164 205 +156 131 180 +123 82 82 +115 41 57 +255 197 90 +230 131 32 +106 123 148 +197 238 246 +189 230 255 +123 197 238 +82 172 213 +32 115 123 +16 16 16 diff --git a/graphics/pokemon/koffing/anim_front_gba.png b/graphics/pokemon/koffing/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..430dcfdfb41b96db2f1a356b850c2405cf63d15a GIT binary patch literal 1189 zcmV;W1X}xvP)ZX>}d(ilh(zkmy;bg3$cO1HVnDle}h z;Hp`~aZLh-9>9Vcr3tuXWgH-YLqbg|aVcDJfDc;k&5)EVeo1}cEo{O2)6DGb?9AW2 z-s@^#0#58p2}cod90w*{cEm(T*LBGRIFr_|7k~rosM~@A0IuV7#0cbo0k_o!d!Yz( zpu++$yCFihMwxEt#{gqNQM!jw3dr$+PKn7dA`U756v@j_TTHFioBf}5fI}XkXONc0 zh=EEfDJ^sXFv+&cXC_J;0ObYT$skk;V@t@U2a_s5>2tvlp#HfaPx0Wn0svo-yiaI< z{^89wM$FP``lLe_NWe_Z-=8bXp>C=Kxg2Dn=c(Xq7Nits9UzYhhL1CaTCKjK#jFbO zTKnqJ^Dzv@UlEP%)eE8@D(^8hsD2R;CYwqkKuib-z4^r@85kR15pZyw!lfAczVEHh zF3G^nHl#y{gOU-Ft0OhuYBdYSw_kipxb4Y-*7TLU>UoB-R* zQbEug9<=XO&wBy@=xRQ@VB7oKivj0YcVd7tcGL$qr{h7K3bNODa`peI^@6kp^)dF1Ni>F<~FfJIkb zDh*KW9Ya{lJIVmw#EseH#YvKFs{_?Tz6Z*}PaNyLUzw&e^~h z)(@EOOPAVvZY)EUuzt8%vwk=LL}_74cNP2^-|EE`>4zwONkfTFx1=B5j21 zBh}LIZEH>PK>c_crS;1a_o@&WKUrWrVOrmZ9U%W=fzbe@yhpsFnq10nBrt|<%>%U; zH$hku;Cv&2F~T}Pqs-c+0}lu+FrvB#RtM7gPv+`@1V*#q1gndC=ex#2U^FWd_+J}( zb%nraE7`nj5RnUvHjz*WK0G2Y@^x%)XX#a7{J!gd43S{0#D{p~00000NkvXXu0mjf DH{>dN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/koffing/back_gba.png b/graphics/pokemon/koffing/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a76b27fae698a605a9ca481e01c70614c830e157 GIT binary patch literal 634 zcmV-=0)_pFP)Kl(BBxFc5~h+JF`45!#_IkTpP;jIOu5MbT%;DotLk zr9fA)Q?i*%hjufMF0$I9gU+?p|3oL2NG3t|90b9@{rc|iCw)S^#ec@Ad__fbE!L{nOppQljt^C^~bUxf%tOJ22@&Lm>&H4Gqf#A&B+l{C! z(a(#}$@X|exYN!N{hCtf)SjLK*V?+#9KUa8LH^i<4>OGpb6CS%eoFj>djeFL zhAoK9vcJtEBWM8&BI`!9#}c!lk63XKp!>!XZfDIp03i0%J{DN-1Di%=Rh3^`apo1f zhpZK`pflq@c6W#d#D-a535~F4fmkQ?J U8&2SkJ^%m!07*qoM6N<$g0~qVvj6}9 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/koffing/icon_gba.png b/graphics/pokemon/koffing/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..683df2b859be5bc1e790a999169b8f34909d8de4 GIT binary patch literal 315 zcmV-B0mS}^P)DV$*kueIxFbqYtda)1Fwa_bi^%c7G04mAQF#=z~dmscn zI-oj`#A<2^T|)aO>sd12`T&0~RfTpvIRG=h05(%Qie5t#b)E&d(=5?5&2=Y0oPif3 z{!Ay?k%%6Vuw84LI8Pw9n-3G28BsjS*W0B`0BGctu#v!FRw!iX9X1kx?wc@_GJjtO zxg-Y_*&6&sslC%Tu)AK;FXVvqm0i*vTl;pWQcoA!qABzGemMXD N002ovPDHLkV1iwbh1viB literal 0 HcmV?d00001 diff --git a/graphics/pokemon/koffing/normal_gba.pal b/graphics/pokemon/koffing/normal_gba.pal new file mode 100644 index 0000000000..7b248a340b --- /dev/null +++ b/graphics/pokemon/koffing/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 205 +255 255 255 +222 222 222 +246 238 148 +213 205 106 +255 98 74 +213 57 32 +255 0 255 +255 0 255 +238 213 106 +197 180 41 +222 156 213 +189 123 180 +148 82 139 +90 41 82 +16 16 16 diff --git a/graphics/pokemon/koffing/shiny_gba.pal b/graphics/pokemon/koffing/shiny_gba.pal new file mode 100644 index 0000000000..bcea2e929e --- /dev/null +++ b/graphics/pokemon/koffing/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 205 +255 255 255 +222 222 222 +246 238 148 +213 205 106 +255 98 74 +213 57 32 +255 0 255 +255 0 255 +180 106 164 +139 65 123 +189 230 230 +148 189 189 +106 148 148 +41 82 82 +16 16 16 diff --git a/graphics/pokemon/krabby/anim_front_gba.png b/graphics/pokemon/krabby/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b7f5b3b77095af3090db3b52ad75fab5a2128430 GIT binary patch literal 875 zcmV-x1C;!UP)WGhJ_lhU z^-~r`Qh&gBd|EIEe^$u^jE!pTv_NHyWx0}f9N(4xUNEW!ANHS==VT|ya#bMsn#`iD zAgYr^H-j=y=G(I`VxDr5AXc~S^J6aTLKLnx?dzEpj|2gt5rZ$mfeb$r`1{a4mNuag zu?6v!XG+sK3wZ_+1m8md`gCyx|KUYWEKvZJ(&^yciv1W|i846K{2QJA8eFmIuS?@g z$B%T!aoBV)_y9kbxLbmAd#~%O=sgIc0V%r~h(}C+&B^0}@l+^SlH1~elQjoh3Tgy_ znOdHH{lK}e3k7bPv zm@Ne| z$_7Bjb;A#ioqI%o-6>=f8-}f3OlcVcMnmmwTmdKNf;-}`s6@s zD(4kk3CYASHk(~C(rccac5agJH|Rk*ul}=v{Q>rs13@ly3%39O002ovPDHLkV1m3@ Bnppq< literal 0 HcmV?d00001 diff --git a/graphics/pokemon/krabby/back_gba.png b/graphics/pokemon/krabby/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d0501e77af2666aa3284770f2fb0c1f56ce843b4 GIT binary patch literal 710 zcmV;%0y+JOP)KlD%@9KoG~NELRw>@J%6*i4Jg&0@9GK zYxY3e%5i@bKr;%2XczGyP@p(`R3ss-xSOSrn_59S9!jLS1$bDQF(pY1?=~KG3Vpx} zIo-Pr=4b=%9>{8-=mDsCQ$h`x9-t%-0JWB-rsxBt!~s!}DmA8Cqzh^*RE~?rY3(6SmyR>L3N3*NE3@Cg zw^Qfn|$10ztEg(gxxnxs0qyDJw2x#zu>)zXHjcPZ(q84ZuCd)}QcUPsTiP-W;WO z1fnrMY#dLD8#C_({E{!&m@|9V1mF#l`X~tk=I=&M%SySoH4DRlM}8c30HyE@HHBjS s$iogmSBe(%T^L`?csOqZulDcu3+T)h6m`8^sQ>@~07*qoM6N<$f`ZREXaE2J literal 0 HcmV?d00001 diff --git a/graphics/pokemon/krabby/icon_gba.png b/graphics/pokemon/krabby/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f9fdaa6d5f8bcfb6efa9f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{qdRs2hVh#wCCM=Y!3UkXILQ8*j~Sk7^zAFL68 z30m!!lnw*`EC~XJrN*|D*0H_ln;tWrqAOz@@Fa^MJ2&^QS9oejEwhJ&=VqE~! z8A|^nJ2>;aejtw7?yNHjVEX%J6Ah&QYa7}^4}?E3=?~uaz-EQ02b}ak`va7QzW1aD zcw{JlI7+a+p*=q*J?Qy^eJ_RQSJZdl@Av6J==0a9Rr~Qwv)o;0Ko44Bn4%r^0b1Px zp40=CS+A8qba!)R6C3chFuf_dwLsued8m?!(w|xs>As~51f8y89*a=X>EA#-Aj7Dm zKtx7}H)OUYpwj=POBJrM3<*Yrn{gPIZR+%ISR@$N$RB9m?SoKhXD|INAsEUZj*@W| zTix`3F6MfsEi6Ctp`_=7@E~lg!#_x3Pxc&96^vBkYIEQq$vJ~A~DzcwaF)ns-jdc+W$WZ^!(&5&00001 zbW%=J06^y0W&i*IZ%IT!R7i>Klf6#EFcgI|po)bj;SG?O=qq$3Ovw|p&Qdx>$xzxE zv32YVP~=Lim2!ia0101b1PNkgV5n67Y$t9)i?Sgx*A=ym&$7UBiq zp&_Kj&e3$AR*04?9~c0~R{LOLrT`JmELYmPX9i$z(}|e^Ai#BtjLVi%H{wy%1Bh8f z=P|-k0c8nfk$yWy23O}7fXwyO*2)qH+8YgUM|=g8B`Tnd09+C~KdN*akcyK_&(2Rm zYywP2@t~XK7tVjlkX2Ts^Q8|n7;R-JCDgN%{6bH+GL-nNYhzXbX(~;)5LI#&`cG>> zaIVHuW!g*F`RHf5zN(g*bwxkKD= n&>pX0=TkfnYJP}Djs8O4c*)kQgCNEi00000NkvXXu0mjf_rKG3 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/kyogre/icon_gba.png b/graphics/pokemon/kyogre/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..544ed9daf96a7850f56f95f15cabbb05017d3c7a GIT binary patch literal 444 zcmV;t0YmDV$@(y?-bAQ-@LoqOE_7kZ zD|tDm3}{kZGDrcDNZRhbGI;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P4EXko}B4m||SLmci16x2z7P?~kwgVno0K>EWX zwh{FQrBx3VWfuYZo%9FUM#LW!3l#->*u5wt5aSQZ#|WT5{AS)#T8{IFRN!Ef_RisO zHQpbTEz~eD49svvSYa7X#Px(fAkeT*WZL3NmMsSyru;#%!08Uzmu!_>T|Wi{Kuq|9 zlD07@E9fhkJHQ@J`h)Vb&@uiE4t??1)5w$EDSuc{Z%WVf)r|c6_X9?Aohg6#h~nhG z8NE&&6sgvk@`r^bb#+CIfEqcbc<-b?)cb$hWK>cHKKH68)Bb?&AjY(4c|zWr=nqQ0 k6B07*qoM6N<$f^`K;1ONa4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lairon/back_gba.png b/graphics/pokemon/lairon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..552c013561ed1f48e473d1f80d6e55ef7b47e8f3 GIT binary patch literal 575 zcmV-F0>J%=P)&CUP+|ExJm-fC+9gM(_l{{R30T)@xq00001 zbW%=J06^y0W&i*Iy-7qtR7i>KlCf68FcgM6365cL^ql$toMRurr_i|*!c<%uWl;y= zhJ_6i7FV0aS1S%wrug3^a;WEUoZPrWLb+eR{7IT5$2!(OR(JeIfAtY&IsnYA&i!0H z9RMm?@Vu&)^&x=J>DmbHRc9OkMbiMNwxT=v2!Pgj_0(ETZ@<&k(Lgz#0JIe`9UJh& z18v3pJpwRHla&Wd-3B;53`A5|YhQ^}-U1X9oe8!{LnZ*U)|kI@{0BaVp)#hZ3=I1* z{o;+a_@4}FYwk(wd>=skjWHYn20a6yR6I@jW1zth1CYe+ke2JDcD!fl9H z!Dog`uoX-`KHN(XkFLSPmiO`E0hmC=bW4ggV#SmJ1Yb;c@y%`M%SXdR9RO@l`*a(n zNpf4t(lC)nVBz;yIL?17xx_huS6;&d@eTRP9XGOXeXL9tG zjEoKjT5$N(r6?$XiE~+c04H#L!>1v|XO=P1@9`i+Q?|eDV;$?S`UZn(Ospm}5LW;I N002ovPDHLkV1h%q0A&CG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lairon/icon_gba.png b/graphics/pokemon/lairon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6d450b08da58f152cda2ec070307ad1644374643 GIT binary patch literal 362 zcmV-w0hRuVP)DV$r8(~t!&%K!iX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lairon/normal_gba.pal b/graphics/pokemon/lairon/normal_gba.pal new file mode 100644 index 0000000000..b5711fdada --- /dev/null +++ b/graphics/pokemon/lairon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 172 156 +74 74 65 +106 106 106 +139 139 139 +172 172 172 +57 57 65 +123 106 106 +156 139 139 +189 172 172 +222 205 205 +255 255 255 +172 57 74 +222 106 106 +255 131 131 +106 189 255 +0 0 0 diff --git a/graphics/pokemon/lairon/shiny_gba.pal b/graphics/pokemon/lairon/shiny_gba.pal new file mode 100644 index 0000000000..eadb9aa81e --- /dev/null +++ b/graphics/pokemon/lairon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 172 156 +32 90 90 +65 123 115 +90 156 148 +148 197 205 +74 41 24 +123 123 90 +156 156 123 +189 189 156 +222 222 197 +255 255 255 +172 57 74 +222 106 106 +255 131 131 +255 123 82 +0 0 0 diff --git a/graphics/pokemon/lanturn/anim_front_gba.png b/graphics/pokemon/lanturn/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8d74b75fc0b42d4feac9da02a44bb68858a66873 GIT binary patch literal 1216 zcmV;x1V8(UP)&`*i{?3M%>Yu1|L%ML=2F$PTC|HfgHi|(5D@=!0JH!AgvIE^00001 zbW%=J06^y0W&i*LK1oDDR9J=W*FSIKW*7i)qy{{I2RhMK9XfY(dPCI>`&tQgDlaUD zgml z;g+kEcZh)J$MgQN@$)2+_&<+Sbq%PM?~XGy5!Qf|P-=!h-QWu| z7nq@VvU1&e>MTK!!k}cP_jXqw*GL#78;Nx1E`X~#|1J>+Qgs;sYsP_;NJzQrz88tq zG`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zL(NO&2WrhAUa9cB=hmgKdB8ug*|2;Zt zb-+!QdR+!aF>r%4@^_b=?JB@=B>{Sl%huhwJYwLTPm$K$4O!)r2Z<;RX%M2Wv&Zl& zk6z3~;#Y8o&?jIGipQQ$C7|?shO{cM3Ag2nAK!~29nuS00e33Uf!6w+JembOSt;;1 z@aee<=wPu5s5qoFn908T1ULms;~=;WW#0zCQM#B30t|Q4Wd@&4>Q2jNL z^}8{@T3rDjGYBW~4U;8+`nwhO4K4vJCF0OD8ekJZ>>%spHXfACSiU+o#Z!&D{z3G e(Lk*5u0$_w0w*euQ9yzK0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*II7vi7R5*>@lD%rfFc5(C1iFVYp1XAEi!Zp}r;Dv!c@00f<0kGkh7ht=s7r{mVouMF11a3N^LMKcB zP+Ub}A~+UFnC${=6ebxZY!oKw0b+$wm;jh|e$2v1lWO6Ygvo-8PMC+?{&h)t6YXK` kZpvr$ptZaFm!@8dFWWxIAds@F1ONa407*qoM6N<$f-z#oasU7T literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lanturn/normal_gba.pal b/graphics/pokemon/lanturn/normal_gba.pal new file mode 100644 index 0000000000..7baa22c6e6 --- /dev/null +++ b/graphics/pokemon/lanturn/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +172 172 172 +164 205 255 +139 172 255 +98 139 230 +57 106 205 +0 82 139 +255 238 123 +255 230 82 +213 180 90 +180 139 57 +131 82 8 +16 16 16 +255 115 0 +180 0 0 diff --git a/graphics/pokemon/lanturn/shiny_gba.pal b/graphics/pokemon/lanturn/shiny_gba.pal new file mode 100644 index 0000000000..70360c0296 --- /dev/null +++ b/graphics/pokemon/lanturn/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +172 172 172 +230 156 255 +205 131 246 +164 98 222 +131 65 197 +106 41 139 +255 255 106 +238 238 65 +180 180 41 +139 139 8 +90 90 8 +16 16 16 +255 115 0 +205 49 0 diff --git a/graphics/pokemon/lapras/anim_front_gba.png b/graphics/pokemon/lapras/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1124f14aa33605b3ef009b80ceeae66377694357 GIT binary patch literal 1259 zcmVoW16Al+8I(b15k)QyG3O00001 zbW%=J06^y0W&i*LX-PyuR9J=WmcMV?Mij@nR)8sFH&DPs#||;NW}>EmW7+I+6JCY)gik-Ou{07_b z`|{m;?|!_GVLaIX-1y|%{w<%YU#7TE5c;r0|Fy^O5zKwQkdv9qluonCE5k`LnDYoA za2W$Fm&(!@_A8xb<<%AwGuLG^#$(Xdc=_CLE}f(0@YD>M7~$vsJb-Z_IR8UZdVbU& z_KhfHuE!W>zAhNpgG6w8X;gtJ}7>^`7H&ViceP(-5LA57GqH#)9v|7fSoEHcrTjq$xzo4bGj;D^p#mEylI?)cVSrW)Zh4Q6(`zE+M6bb0zydr*F$3M6_+Z`dvM?Y!a;t#73RM*|SvXqBBTUMVD zQadm<6j(r0bxo$-EA^qeQeTorxjE%dtv`LR2m5Yq>)xr0V^jSI{RxWhya!vaCwO6f zm~73wcXtWQ(bzDhT-`C6GYkC{`o_`&eJE)b`JsA!na_njShY2>2L<2w=uSZu$Lecf zz(auYQ1 z#{+z`u?gFoO~~=!BC8Qf8ESaYXF-_yb%BNl{lv`$`AzSEjt8-F-#j5iFG0tHODPtg zc7G`gN_gP>C3knHgy>x?;embmY3FBB5^Uf>|M#CT068cGWjx>?8p_`&{AE0lb9RVN zKGDXWS;hm#-ii-I6PVEk9;or7r!e2d18n7ct%%6o!~<-#CQ$tF6&^rQgqcMA3J;1L zqipXt@Ss)*im;&LL0*K;4>}%bJCX4NpO^5Ugb#`zxMIWt4{GtGtib!M058Xb=El7? zBLyH~jt8|8a+^Yg86RYLP-|KGt%$N63fFjGwFueM4toW16Al+8I(b15k)QyG3O00001 zbW%=J06^y0W&i*JEJ;K`R7i=v|No!yv|9glC4cMdE%$u0UY+_8 z2i#bYq;nAtBfVE zbgY0`DV$FbqX?0{afSfPp5RJ(LAJg^N7>_^%N1Gmb*46+B{5uk0qJ`)dud@%8$|6UB6D_|_&=39#V!S*;Tn@ZHvt+{(T4Y6 zz+>V^XaI0Z{E+P*@sRit3?A_<@k0Q}uA?7!Q*{Ewk44t}Ot*ISV1KIqEP)~?ouheIUs5v0RI60{{a8R#l>P`Vh|7zmvFp&00001 zbW%=J06^y0W&i*Jq)9|UR9J=Wm$7c!Fc5|{h_lflFF+-80G%{=5+IU8y)Y0(w4L+} zoszXvlgueG<0H*GCCB!qtImN;)6GSI3D#M`Jc1w6#p&EReC)KlLo~3 zYXP+cbk(Z?ZIkPwT>^>)z<~*=bpuf8XMQ~|3nUVIv{C{RY>K>`0bunMQWoHYV)sy` zRQ1OmSiqHqd;i9<9g)WZe|~eo9aKah1eF8;0`NfX5omY-g-~-67C7#a05ZP>WL`sB z&t7Yl0t9LiGk8+2++2AdkFn7`^|A9_UL4il9;_x(v=?nF=MNEqzpD_Xbf}|h-1_?7 z5{)Z-S@>auFs*k_164wp0D6hQ_WEuh&e`G#6&BIB?d{GIHFkJ@Q^r$l_D`1B!=VHQ zuZ5~MyN8|tgzt5{S4Qi{0|lTA#$vZ2@YaxG2t5YW3V&v#`+f-7-y6fJ7LVWY4->) zYRuMb!^loCqTZn+H9vR&w$ZY9AagfIb7z6y=FU%2W(mk<=S=|q=*`-$$SKE(Q7kAz&_Nw|y^M1V3a8&GXbF~QfH z1Cb!dW~!R9XoB1AzY~Cn-DGblXXOkNx<95#++X2`urU8;ed+<2fu*NZ kP~Gqc5R!i}PVut%1y|?=J1W8%V*mgE07*qoM6N<$f=+mD@&Et; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/larvitar/back_gba.png b/graphics/pokemon/larvitar/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1c28da425ff9c2f4baa47665acd07ed005c25e4f GIT binary patch literal 517 zcmV+g0{Z=lP)~?ouheIUs5v0RI60{{a8R#l>P`Vh|7zmvFp&00001 zbW%=J06^y0W&i*IgGod|R7i>Kls!_zFc3yl$OlNl3~8ksWTiTTwXO~NsdEYrkppl~ zW^C7D*BMA;ISKwtnf;6Qg(AOQANK->isVpXCc z;Qg0?#(E8_?^w3q0O~cIu3HKQD$fwkX$$6NgmBUVjk#$krDEXLD;JUmDiIVQ6-VHD z#2m1n6YOe)m;)5V7|m*g-Sd#Z%g)1EQ?GdF0Z+TvHBABY{R})lz@Y>h_#E7xye=g! zfZ3h~T}s$1;B8p>Jp31+j|p`7N-qGw8X&IL;aI$KymDj<2ziSjV+K&wydfQfkgYEi z=&u0AWmJM~^>79jEtznVHm4<^Pvo2LQD5ggfPSOEOrIyVj2Gte(<{Q3C+AULDzZ-45y00000NkvXX Hu0mjfP2kxE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/larvitar/icon_gba.png b/graphics/pokemon/larvitar/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..85a5504c348ef7cc1cd7121b726f5c46286fb1d7 GIT binary patch literal 304 zcmV-00nh%4P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hu1Q2eR5*?0lCKWJFc63P1k~_8GYzsB&^6oPdXBx>46lJ*0tuGO z#CC>+qY26S2Z6x==kDw8*H(N=ecMQ}>uxAOT>v(3fM&DKz- CR)4Di literal 0 HcmV?d00001 diff --git a/graphics/pokemon/larvitar/normal_gba.pal b/graphics/pokemon/larvitar/normal_gba.pal new file mode 100644 index 0000000000..3bcc1f1335 --- /dev/null +++ b/graphics/pokemon/larvitar/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +197 238 197 +180 222 180 +123 172 123 +74 98 74 +255 0 255 +255 164 90 +238 82 41 +189 57 32 +106 32 0 +255 0 255 +255 0 255 +197 197 197 +98 98 98 +16 16 16 diff --git a/graphics/pokemon/larvitar/shiny_gba.pal b/graphics/pokemon/larvitar/shiny_gba.pal new file mode 100644 index 0000000000..aa6a59c365 --- /dev/null +++ b/graphics/pokemon/larvitar/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 246 82 +205 222 74 +156 172 41 +90 115 0 +255 0 255 +230 156 172 +189 98 131 +148 57 98 +90 41 65 +255 0 255 +255 0 255 +197 197 197 +98 98 98 +16 16 16 diff --git a/graphics/pokemon/latias/anim_front_gba.png b/graphics/pokemon/latias/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..63f4a1d1f7a42dd6a0d191981fa385eaba5ecf74 GIT binary patch literal 1201 zcmV;i1Wx;jP)Yn4K@boSgE`O300001 zbW%=J06^y0W&i*LFG)l}R9J=WmO*daL>PvRk{ie)r~H9Td`vfF!w*Qe+(7#;;4ct~ z-iefBPgZ~f+_-USt=Vj(9#D%XiNp=Db~mf460$vBD)mI{;hVA79?#etRiQUV$~x0y_u8!~HFc z`wDFAZ|!{M2$`OF$8qpB6xizlQgRkzF?tki;!Wr?0W7} zvwQjT4sLp!TYp`)fUVtMzxt^G>`Tk`<_+)x0Ka{y0&~j_erSLX9ZX-p{jupGhO3ho zjff3BzJ5EbS7A@Z2W>>`Unpe3poqlPU8n$|U?r3`A^_lV4cKHU3c#pEKAPY` z(g30bix*T8$@mD@4=XOO6E&2Tpc2`u6a;XUC?b~Jl_jvcYK}nUyM{m&kX+TLpoHJ7 z6*&^HC(1QYq7gxk+;TQm_C%tJY?eTxKIa<%YLUNT-{L)0L26L45_upiv=oF!5cs8t z-1*pTDTopiLOdz5?>Jjf;^wLaST{jHeD9C%*(Ma&-UeXa1`t#rp68KkQ9xACH-1dW z8SziA<+}%Ws?g@Ge+Wqkc_lj(gX@4zrZY0dt9g8=16DGf1qy@ z>B-dHH8fBpFCBrvw@1_Beh09K$(cKd$&*J%BsYOPdK{Bz3{}1ko}Wz29`blPh#1U2 zeFRMq<6Z+0V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/graphics/pokemon/ledyba/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6a84f405dd71e6ff30c7e12420360861094d4cdd GIT binary patch literal 642 zcmV-|0)737P)^PZOY000001 zbW%=J06^y0W&i*J07*naR7i>K)IV?9KokIQe}UfVhHO@luAN(n=dMI8$4n&Zt*Sq3 zc2m?3KpZRTmfo4#jQI6E8~aQUR-~%xl9OP$AMdYC5WJrMbsT@;2*~IovJqg5mjE{c zB;^-lHM|JOzW~<$jBf*X5eRkt2p{9iAir8oH9&F+h^rN7{TASxy#Q7K905M5hqF7L zprI4fJ(wTg&$6pYfKzQCidPVsulHx=D}`Dcj=%U~%;GtCx(lK8} z3D`%7mc}G!p#IGP^m}W|$W#P`D+b_K=2|eb79+DDkl#&)Mb^{;Wzd#DWtJumY#t6m zNQcJ~tRrCJLa50Jz;gP5d!PV_#_VsYaU49FSi;Oz)Z@%GAPI1%LJwRC{M$Le4K`qj z)~U1yBBTHWhymU22~a8Nx(9g(4XA)a?0M9PhwZj2@{I~P17+t;(yACx-Th-D)Ee6I zJs3`rzy_dp9WX~A9!>yPe+u$z-$d4es>{GNh&=2<$P`;pdQca;dq1cHwiB9n_XONd zJ@r7=B}8or78{VDQ)=T!Eh+et1I&2Y3?wSG_U}*5ms|l)s{sL~>DmutHzCo0W>rm> zhpo>*4+nKn9+zFUK%x&IRZ26Ma~&;63UTswGC;Ti(*xS&a2t|VkMyK=U{PD#j{OzB co_}%v0NT`T)5lA#=l}o!07*qoM6N<$f-?3Q`~Uy| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ledyba/icon_gba.png b/graphics/pokemon/ledyba/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f417e2d74e5946e4dcd4893cea964629db0473d0 GIT binary patch literal 314 zcmV-A0mc4_P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HxJg7oR5*?0(xDE*FcgL1J^_6bmW*V`8ES{2NG9-9AS(B&OBQUi zq-iS;471Z}1cbVNxwkdH5Wjv<+~r&l1m+x2?7-$CtxbjndwXxz>% literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ledyba/normal_gba.pal b/graphics/pokemon/ledyba/normal_gba.pal new file mode 100644 index 0000000000..2cc003adf0 --- /dev/null +++ b/graphics/pokemon/ledyba/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +246 156 49 +238 82 24 +180 65 41 +123 49 24 +255 255 189 +246 230 115 +205 180 57 +164 123 0 +0 74 164 +0 24 115 +205 205 205 +180 180 180 +115 115 115 +16 16 16 diff --git a/graphics/pokemon/ledyba/shiny_gba.pal b/graphics/pokemon/ledyba/shiny_gba.pal new file mode 100644 index 0000000000..472f0974dc --- /dev/null +++ b/graphics/pokemon/ledyba/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 222 41 +255 164 0 +205 123 0 +131 74 16 +255 255 205 +246 238 131 +205 189 74 +164 131 16 +0 74 164 +0 24 115 +213 213 213 +180 180 180 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/lickitung/anim_front_gba.png b/graphics/pokemon/lickitung/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c3dcbfd1a668f653489278778945f6ec2421c08e GIT binary patch literal 1337 zcmV-91;+Y`P)0RR8ZwEv`o?rKuaQZbYe01yxm0r&HY00001 zbW%=J06^y0W&i*Lw@E}nR9J=WmOYQ#Mi7Qsq`egsyAML7vkwNsl$V@~^rZ!}8$xXcL1`T0 zlx4Nae37k+Fd5X*j}`!w<4|6#Dui^%+^g>4BRU~vev(ppDNA%h3H<%xAzjc2QqCI$ zoR6rT0a|Cp8FSaVug@F-smm0BpHs?;l@O@m{wsde{nZpwi3HdxWW`?KobF;c6wnIa zg%&nE@Dji=T@Sabg#vy0Y4`{I)R0PawX<9d)S_$Ekp)L{mn1`n74ACo3c-ZVW`4ZZsA6!^AklX}KH! zX+4aSU<<4e=mF5%AmKab*6C@&+W^@kbg!*b>tP#Uo*}>)0;lsDVD<}uZLAs)l>qd( zfD)E`!`HwUs+Wdtm-uwO%oj5zO` z)ecB3D8DWUSaPiZL})XPTRg~SOzL^9gNKj;GJqlv(x3qlI5F6-RK{9}Mhh(#LIgL4 zVSKg>*)QGW1`sA`y8HlMzYo8}?yUwu;442Zu37?Y1E3#wk7kX!$|@dryN0(1&{F8z z9KAv``@WBN4!CrpeX0pU0jeo><_TPFKn!;hM4;dRvAYXgrF0Bkc25CEeL;{yh z0Od%aaghE&)kRX|Sp@dLNfEF;-U6g@RdVMR;2Tyf24i6_s{qd@ zb!{v%fi7FXmx5caBv~QCyy^%%%T5vIDbRddfT#r`Ny5Dx&D#N9JSn#-DLYKj9puxh z!iszeL@)yGnQ{^xfu_OE>(E$^5LWherONR+)PsCILBq+>mR*1jy$ql<$Umea> zAdp93dusqjzuq>C_0{L}Bn9zo5k2|@XP7-V zFq*Q8ep`oC%)|u(>v;nR(ZsUpO!z& ve$nk7wamVazrbMZ^#`36V^fX)x54-icURw5(D%zg00000NkvXXu0mjfua9I+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lickitung/back_gba.png b/graphics/pokemon/lickitung/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..adf354eb3f5dc2e4435cbf311e24a3cc24551ee0 GIT binary patch literal 551 zcmV+?0@(eDP)0RR8ZwEv`o?rKuaQZbYe01yxm0r&HY00001 zbW%=J06^y0W&i*IrAb6VR7i>Kld)35KoExW0wnK%Jr?Q3m!Q>(bhh$N$s1&kFoR{z zU=4$zf|;C&IL>GhKsOs8w+Z?H$`;AY{onli@6MfJoa;Z=bC#vQ$Y$!huA4pms83OL zJ#V-;A!c}}3f=VqMom3!UmB)g8h8Nfh7O`@2||6)VhcbWhO~$XYJ*xwAklz;1Jr>s0=$I9!RQpA zXw@4jL$)gO(4qWF1hDi)%=QwED&%%PmtQ-!hkb`5@XBPv$iqkn(#)vUMg$cgWt=T) zfE6k@Zd1z1@~%c$k^_-bBg`@ajUo_`%l-`mT6G|Ddi+x642b6wr+>>b_#O>dPARwX zhr=!M>bhe_+~UCD7D)x5f!vvcdqsc(Jk;Zm;f(l-DA002ovPDHLkV1fvK_Ba3l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lickitung/icon_gba.png b/graphics/pokemon/lickitung/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5b7804afa50759e38fbe4fc30330fc59439ff91b GIT binary patch literal 368 zcmV-$0gwKPP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H?ny*JR5*?0k}+<>FbqX?0_i5XLJpOIT3n9irek$6kTH{Lqf4d; z*{GogLnVqFBZvbK=c(j z&RS4_HIRePT0v-yRiGpqaIlIHZ@}UZMK9q7PQyHvR{O3?Ow;)jmIiD}X?g{BcK+!9 z_j|YWz`o7@`#8DwbEeRNOhuS2=9mc3Fg>@;MGtgp%_HJGz=3t$p>9`D3%XjUf;izY z-j%{ffKgwU2WkK!qvX(paYLMkS#@cCtTD!)BX54#OZ@8nuxT;B?8gl$F{}$s-EoNk O0000Ql(5^D{FN$4UmBxI!bAVNZ11rpSY zdvk5Td1DnkwuU7^7+M4%z+)SMlY%IT+Mb}~JiaS2Nz27yEZ+DW1wz4BPf-QvrwEJC+k2bHA5f031x zH}7lSsl&dGaPj5(_HTeV4~fD}NSZNF0J?x>ljnmdOOb%ZO1?%HvR=y?k?5ZQGlL|BPxV$+s#PfL6aqCN-_NfCTTKd;xL? zpx+n>jDi{#pWOt4m2RcruNI}q&m!*Rh0_J_q4OG_>r55;)CAxegU10Go$_vw15R>` zek3tMr_cgCUMXOQ=@i=6Y=F1{v^QnJqpv`w8xYuW*iUhd=gKJ4ju;TY@jT#28D
111- z8y8Bo!TVstjDU5Z>Tu)rEMIjVOsYo?h_UR^Th?9BuYbB9lsw%J|E2r|Q%KaBE7T(% P00000NkvXXu0mjfxGDY9 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lileep/back_gba.png b/graphics/pokemon/lileep/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..75360209100d616329c60aec196b372a09816c19 GIT binary patch literal 679 zcmV;Y0$BZtP)Kl(BBxFc5}0G&O+?1&0Wk-8V2j1juN1sRj-9P@qHM zh1O^T2~VSp6rnahL_5W!Jrw5PSIT4<=-}K@QYy)|0(8zl3Azvee|MzB*t`Bq0MpjG z5n_^_c+a!^ZASHz3rMu0xD-~ccdliWaL<_NF>0EM%USijc#D8p)R5lrU@ zm{S1cz+|q+;_(b%sJllnnBalhJ~$*T48Nh>5KNdUf0nwQEut$fV3JF~R*R}em(GBE)Cq&Z%?xnPlI7h@Tv&{@6hEo2? z9^|cCD-}KC`5+Ki>S7?>N}~Ei9H{9EkO^@mZ&zIcq{5VMWIhj|$iTS~aNX`_4}@zK z(Y3)-PG5IDzLKjFK#MP$2wMS?^n0({rHsB(ATC`k?yW0)fT^rAi0&Z0qr*E|gceef^;{HSz%7*mJs| zJ+;&s8_M=N+x%*;U%F*$9eZ%?z@>~@>umG%2H>8y?Z7B}19;bYy#Ndi{$I^|2IT+% N002ovPDHLkV1oYtGE)Em literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lileep/icon_gba.png b/graphics/pokemon/lileep/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b875a53a733b97f0c2377ac2cf23cdeb75936d28 GIT binary patch literal 361 zcmV-v0ha!WP)DV$@lCcWHKn#ZO37VI3wvXZ{6rr;qx;Qu#9fe!6bg+wk z0DXw=Lg^r;hC*x=yh~k*n`X<;fB)q!pE18yQ1x1hl|(Vegq|Tnk$vPWfHD_h&qDR? zz6!-TrYIYVoq@5rP1w2&79q^N41t94DlWscLOoKmHhHE6$kw5LoQQs%3AUnza(Psi z;CxEQ+A&K@edf~ZO;DKst=@+ju=>+0iqxJuVAwi^BijMv?N&Nqyv@K17?(jUFm)U2 zuEd6r?K=bH35>s8ShT?SlR=XAfjJBS=7W#)3qA@h4Cmtkg1(x04(PL400000NkvXX Hu0mjf4F#fI literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lileep/normal_gba.pal b/graphics/pokemon/lileep/normal_gba.pal new file mode 100644 index 0000000000..a739bf847b --- /dev/null +++ b/graphics/pokemon/lileep/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 213 139 +230 164 222 +180 115 172 +139 65 123 +98 24 74 +255 172 106 +238 123 57 +189 98 16 +255 246 123 +255 222 41 +230 172 0 +213 213 213 +172 172 180 +115 115 115 +0 0 0 diff --git a/graphics/pokemon/lileep/shiny_gba.pal b/graphics/pokemon/lileep/shiny_gba.pal new file mode 100644 index 0000000000..6402a8688c --- /dev/null +++ b/graphics/pokemon/lileep/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 213 139 +148 238 205 +115 205 172 +82 172 139 +32 123 90 +255 172 106 +238 123 57 +189 98 16 +255 246 123 +255 222 41 +230 172 0 +213 213 213 +172 172 180 +115 115 115 +41 41 57 diff --git a/graphics/pokemon/linoone/anim_front_gba.png b/graphics/pokemon/linoone/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e95180de065bfc84096a39f9ef675f60f2cc70fc GIT binary patch literal 1087 zcmV-F1i<@=P)()wKWi_Bm36dyC%xthE2d&HwKIeAZ!b00001 zbW%=J06^y0W&i*Ky-7qtR9J=WmO)S3FcinrA*DSMb{Z$o9+PdK7Iwc`!hq@tBpoC~0azUyNKboG`Ds_CR&_I!jLu&z7 zt&ybVax}=tq;l9TfNvRFF2@OlK-7HXBS`1u=^MbSj$YlN384P+vM6NQE%Zfp-=XmDT>vj_8>eF^mP_W=pJVwT+L^=b8U zehISu>sM)=FZA+_KfE*4;)_y$xI?+`Z2&>JTIBd7UhX$#oFNd?AWhTj1S_rmjGo=5 z=?ykc5ZgA;9yf6ul=^+0?hTXV+VgJ3EUoY0FLeZNY7LsB>wT~JbNc{Z>lXI$ty|pH z?69owv3~KtKihQA$DffyFDhBMb+5TY|6g_G$MKO9803sPZZ@npx!genklAmgq7Ef( zdoGg(WOU%nQ-|{tvhM`cCpXZ5&%1yf`|#m$7a+bkfp3N!#D5|r77ya2@{$k28>dl4w!0UFvmU_!_^%b(gd1D`|2SZ;0Lz2OQkXm9{f z0QM)br-9?A`gl+RQUmsL?jk@Vy93KHM3CGXgP6cgQUY}Wqm`x%b%`00)&_jI$(%AFNaY0 zzgz>xltsW07$ERP!>boVP)0&Cfvf@skdWd1D8#q|m;qyXhf)kVYhXKIV2qlq2^gS>Sw*h|j5N`5RW}31 zLI;5Ke&YlB8Zd$+2m;IzTM@+w7+AIWU>L_||MSB?u0MIrEyWQA-?jh%002ovPDHLk FV1l*y`C$M6 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/linoone/back_gba.png b/graphics/pokemon/linoone/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9fc8fad388d38e7751158cf7dbbd5c8b648f92b3 GIT binary patch literal 546 zcmV+-0^R+IP)()wKWi_Bm36dyC%xthE2d&HwKIeAZ!b00001 zbW%=J06^y0W&i*Iph-kQR7i>Kld(?1P!xt623& zArjvr->iRMnRP8tI<;+QeVlYub)K|)Fd?||8A}5U;8_FU0B7V|mbLalYhcL*Bx5PT z0k}E-4U}*LYQ7bKd~cEgP{FHq-t#6Kfb|8?4?WM_0HouYCqRIXkq4Zw04)k=15f|~ zZ)jO*0XFDc#s>UI=6H4T8$f{^02{z!Frxq{x%q}T#?>W&5Hd?v4fqk_+Y~S^3dC_t z0EU2|RnQPc5dqi?0mFO%0qQ*d5-@8dfqa7k%yCK!Ah>wU2C%^aBFqtjI|?p`0d(D5 kKvOsxj-jjXX|MmI9~^`0S!wWy^Z)<=07*qoM6N<$g3#vbn*aa+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/linoone/icon_gba.png b/graphics/pokemon/linoone/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bf0ea0caca5d6a95f3a3fa78a293470c2ddddd4a GIT binary patch literal 390 zcmV;10eSw3P)DV$@(yd3e-8rTW9%Pln#x`ncoxAMwrmyX)sj=TguaCBmJy-ZWEFyn zBUVpH1zidho)Hb;90)+Xy$q;J+@fjsU_oI#$b+U89;KA?l6z|uBK5}*@W%BtQOiCA z3J&gnJ=9?Zhn<$P!k+i@ru4hI4x8m#d>qH2?panNhoW~8`>Xmj2OnTL;(R0y1V%U? ziG$FtZxaV*_b+-&lQ;x02D*3<55~g6!Gn2Y;xL1u=P$qzpdtDQU@{*8OqF~DFnC_B k;lboS92lAPzP|hT00cmMT_)T0AOHXW07*qoM6N<$f{WLvOaK4? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/linoone/normal_gba.pal b/graphics/pokemon/linoone/normal_gba.pal new file mode 100644 index 0000000000..368b6ac6f3 --- /dev/null +++ b/graphics/pokemon/linoone/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 172 115 +65 57 32 +139 98 65 +172 139 115 +205 172 139 +230 213 197 +0 0 0 +131 115 90 +197 180 148 +222 213 180 +255 246 246 +57 82 131 +123 139 222 +255 172 180 +255 197 205 +255 238 255 diff --git a/graphics/pokemon/linoone/shiny_gba.pal b/graphics/pokemon/linoone/shiny_gba.pal new file mode 100644 index 0000000000..7988bb21cd --- /dev/null +++ b/graphics/pokemon/linoone/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +115 172 115 +65 57 32 +197 98 65 +222 131 74 +238 164 74 +255 238 197 +0 0 0 +131 115 90 +197 180 148 +222 213 180 +255 246 246 +189 139 49 +255 205 106 +255 172 180 +255 197 205 +255 238 255 diff --git a/graphics/pokemon/lombre/anim_front_gba.png b/graphics/pokemon/lombre/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d1aa1e35176811ee85ca639f410b89f913b56a39 GIT binary patch literal 1032 zcmV+j1o!)iP)f*5niGPHazX24a3``aVu~xD(bgL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egK6IOB`~SfSHCr^HvndqP=B(;@6*#EHa|g7I&c07=Luvo>W>0Kkwu zF*aKPuJa?MG1_du20SU3#q9AIo{&G^8{jSvMNB}(_IW4*fd>n)JP&OG0XCKh5`SGk XS=r;C>vGO-00000NkvXXu0mjfQhfMD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lombre/icon_gba.png b/graphics/pokemon/lombre/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b3e661cca8948159df7beca86d7fc117c6a523dd GIT binary patch literal 319 zcmV-F0l@x=P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hy-7qtR5*>@k}(d#FbqX=g7#7_BU$oSve1rY!xPpN+^W|nQuL|XQd2v&ed4KS#Bcn9c)#xjo?YyogY0ka`PV3UE3 z4K#x?z%l^h<1x)JlmjV}o=J;U>vP&XmVi>zvFk{J+PS^o3E(YUO9z*!zhX6nN@dO+2r>%Ai R1`q%M002ovPDHLkV1m>XhN=Jn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lombre/normal_gba.pal b/graphics/pokemon/lombre/normal_gba.pal new file mode 100644 index 0000000000..69f944a222 --- /dev/null +++ b/graphics/pokemon/lombre/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +98 106 65 +90 148 106 +148 74 57 +131 197 148 +189 230 180 +222 255 197 +205 74 49 +131 148 65 +139 180 49 +172 213 57 +255 115 65 +205 246 82 +255 255 255 +197 197 205 +255 8 57 diff --git a/graphics/pokemon/lombre/shiny_gba.pal b/graphics/pokemon/lombre/shiny_gba.pal new file mode 100644 index 0000000000..d4458373af --- /dev/null +++ b/graphics/pokemon/lombre/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 197 205 +98 106 65 +90 148 106 +172 90 41 +172 213 57 +205 246 82 +222 255 197 +213 106 57 +65 131 139 +90 156 164 +106 172 180 +255 172 90 +148 197 205 +255 255 255 +197 197 205 +255 8 57 diff --git a/graphics/pokemon/lotad/anim_front_gba.png b/graphics/pokemon/lotad/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b2eabc2128cb90cafd8aa31ce4a8b7cd95df41d9 GIT binary patch literal 740 zcmVXyA$v+Q!XODa{HCBIe)4y-#UH7B4x3@!_wYn22divgpH?k zwFcj*g#Rw8lO?OynWn7GE;sG`Eyj=f_;#Fnjo!D z5G%DDruOp+c*;<@+IGDWOU@Y^XXbI2duNA3kZoxxwJ(;aoIwmEaA|*8dPc-9Si+HnxOV1n&2K z7_LVf4^HOJGGkyYYfV)J@N&lDiJIN9G&S46j?N7f4qnI$)vy&& ze4Zkuk32UROSoO=k~4g5(g&D;U;zQ=6aX5j1YiXWDvAikjnt9IRv$!UmuK1XX{2HO z*G6pngR|SmhzI++2yyHH!jNX}m(Sg^c^KXj;{7}AJLAFNPI$MO?MDuq02xKmz3$=f z-HKl0R<3FcgO~FodZWE9ztdQzwjb03ba;;^(Pd5^Sm5 zDBZdsVQ~d6P^s_PiDQDw1HGA1f0875)IY8isP5pBF~<2H3gN;faBe}4p7DsY0r%-O|RQ!B$Qc)aRID1RHTf0Oc`Ni+=gD!P;7=C>4LZm z-r%LOE$8`OMnlv^&!IwLL)Xl8@j8rvaF4<0Nyc{QusP2m2q})JpyC|UfvuUVIp{%H zhI9nj!0)VLK?Q>XvXL-dLYR;OIwKNR+6%a3Hvt*t`yiP91arZHQ4a!N%9Wo`)XZIV z$GIvZVP!gQ@MYoK?cov*RS9MsKUjLY2^)xnh6Ae|x5v^&m_|V8fQJwQYR9c@Fv1uv zAQq;)f(9H%K^exWOZ-P^0a`h3wP0&EWE6lA8uX_Zjv|weUy^G>wO?LP3;I^-=bT&{ zruD|L+)4WVW+NeaYCEGY3Q!08av2Gewliv}%)y?=JefU{K|KuZ`#t6pd+H;6-E^>) ig!a@6;~5|IAL zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HnMp)JR5*?8QZWv~Fbwny+8@D^&Ryy`KkEZB@FpZS2B$-^#w4m# zUqLW2Ako|IWc$w25&Z#FbYF-X h)K-V*cVC2W;sFZ8gi44`eyjih002ovPDHLkV1l(nc18dI literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lotad/normal_gba.pal b/graphics/pokemon/lotad/normal_gba.pal new file mode 100644 index 0000000000..efb988ea0e --- /dev/null +++ b/graphics/pokemon/lotad/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 213 74 +213 172 57 +139 115 49 +49 65 90 +123 213 74 +98 189 49 +74 172 41 +74 139 41 +49 74 32 +172 255 123 +148 180 222 +82 139 205 +49 115 148 +255 255 255 +16 16 16 diff --git a/graphics/pokemon/lotad/shiny_gba.pal b/graphics/pokemon/lotad/shiny_gba.pal new file mode 100644 index 0000000000..36f2715909 --- /dev/null +++ b/graphics/pokemon/lotad/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 213 74 +213 172 57 +139 115 49 +49 65 90 +148 197 205 +106 172 180 +90 156 164 +65 131 139 +24 82 98 +172 255 123 +213 139 156 +180 106 123 +148 74 90 +255 255 255 +16 16 16 diff --git a/graphics/pokemon/loudred/anim_front_gba.png b/graphics/pokemon/loudred/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..13fe39e53aacb6dc76e7e86baa31569b6c6eb257 GIT binary patch literal 1328 zcmV-01<(44P)3(_-*t>zD?TLv3%6ObW)l&RhN3 zeXA&^LRvB>oB6z%**Bv%UqyLC4ULV3e#29pBp zii%{ERRi$JPXGWEe3`HS@=z?RB0&0gD2NbXhx=vQ708!FOWuExp%^~(rx2a1r1i-= zBVgaQ2*_!wR7>*lMQH_a-MjA8=^89cE!a^YeUYOi=Gm6BX$hd9My^v~>z=N`0M;Cb z-9*_I3h)x7%YCBPW1q2_?$>-LdH-car}o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index 0000000000000000000000000000000000000000..47490411b66daaa9688770c31074e0c6b7308ead GIT binary patch literal 379 zcmV->0fhdEP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H`AI}UR5*?0lCf&TFc60Q1oqQ(&Z4f-P>T+Qc*_f9Fr|Z^Ba`Rm z1wy&fJs|uH9&AFekuvBAi9;_kL{>4hb4h+p_wnE9B>o`y=ZePliD>_$rqk+ZIQcr( z@8_H`=ZRw0lFTd4uK-QGlbc+ic7Viexx@sW!_+2G8W9r*1V@8fJPt!eVoxkwM{lu; z$?p+SFPVGrlujN%%3((LoG!%6N8tc=*?0O1s&b2&4l-)K=Ch)_ws6R{P_U^i-D_d} z1~oeu!!-@Sr>3?XfCAgWl>f0%NmUDP=sgw&H=;Wa%wZImbvg=+)!%^$n^9nFI7;

N@V_56ofrTB002ovPDHLkV1iyAsAd2F literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ludicolo/normal_gba.pal b/graphics/pokemon/ludicolo/normal_gba.pal new file mode 100644 index 0000000000..6184143948 --- /dev/null +++ b/graphics/pokemon/ludicolo/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 148 197 +74 106 74 +106 139 90 +156 197 98 +164 238 90 +205 255 139 +246 246 148 +213 213 123 +180 180 115 +255 255 255 +205 205 222 +197 131 115 +246 164 98 +139 106 82 +213 180 74 +41 41 41 diff --git a/graphics/pokemon/ludicolo/shiny_gba.pal b/graphics/pokemon/ludicolo/shiny_gba.pal new file mode 100644 index 0000000000..442eda95ee --- /dev/null +++ b/graphics/pokemon/ludicolo/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 148 197 +49 115 106 +82 139 131 +90 156 148 +148 197 205 +164 222 222 +255 230 156 +255 213 106 +230 172 90 +255 255 255 +205 205 222 +197 131 115 +246 164 98 +164 106 82 +213 180 74 +41 41 41 diff --git a/graphics/pokemon/lugia/anim_front_gba.png b/graphics/pokemon/lugia/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..930d817329af9d48c69abf164825e8ff8da5e63e GIT binary patch literal 1699 zcmV;U23+}xP)w5D*X$#_CKZ00001 zbW%=J06^y0W&i*NAxT6*R9J@o(2uwC6JL{=^ z*eLd+gK3ey<|Poo&d-GkcJvgWrP?(Y zV`zZcYW4`A5m-C3`eTX#powdzHzbg8pv_!xMesd}$2@SLl`3G8i~E5wIZ%P@2*Sm~ zfab@54ARQmwUQeFxRQl{*ic}OT!+p`AKeQ~@Q*ig5io94Ko`J3yfAMD2>g)&N&>*< z60NyQz%tahJRC+qfQgB|mV>o`fMCV34-v)(0?OEvfGwsJm}_&&vkmfa2IrYt{;ai3kUpgfkq1Ways zTcPVB+@no%Av}x+S0%oUH1b@pF8A45n?X zNxUK8Sx{S5;rNAEh^F1!E0=-T#Nf8Jt8C5$aBOw4lb-|J+RprQv7j-|tRXecvjDU= z@YiC2E{+$@7LO9ZItXrJpnALA)i)A2Tl6^h7;Dtue^|%)UHcf;zY?%`e!N(`<^w+r z84K6R0jPygf4lh`ffr{83@MYsVZc*o5(r^SJ~r>|qW#+H*eC=Hc$UOR~Sp zkARce52ja8Ok+Tg04^$T&KoV29!R`IOZ4U#CnDp8WkyRG9C`;7yM zl2%>>Dv3l zblwt)qS{HEvMpAB$6ltyU>o( tO-hvEyvvL1Q79-;j*4VX<_T2?{{lnovizR5^0NQ{002ovPDHLkV1nxi6Wag) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lugia/back_gba.png b/graphics/pokemon/lugia/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ece7def85c9f8d454ba7ed0891b7067960ee9d64 GIT binary patch literal 783 zcmV+q1MvKbP)w5D*X$#_CKZ00001 zbW%=J06^y0W&i*JjY&j7R7i=nl)rM?KoG_$q!O5uachrGrpg2+I$UEhb{Rm#Zk-3E z$P@4eNW*xN4y_P>s*F)~?@o*W9aOmj3GGk2-?zHkTJ66qkiYeXDc*<|>S9a)Kty9^ zh+6?`y-L7P!(zCQuxF+k0pl(akqHPH=bVje35-oO93huPR_50Z;TNd0typY9v7P z*1RfOnDE3%7yxBLh>h?KfHWcc&8^=pJ#HNKhLqrmRjrwqGbAw_1E*gpiBffAGXlip zY2{@B1WLl0zGbX|PyuKAUrNV=^8tVGmb4gGJzek zp6MpezhT^YNaBxU0MdXx;mv36Q-Wax>k|MnhFf#{^M{WmFhRB?XjuW37#TLhT1P5N=&#lLfL3Jhb|1uD+w=s@@cyu2NNAc2jJ zV~;XN0yb+Mx*godsje`ONU)D*0zcYF$1QgAnfgk>3{qDe8vJNQ3X47Vw}MhQOEe@; zRc}Opp9)}tWeNBmL#{StFC#!(30id2@IebGF3&9`U`|if2yeB8`<&tu2qoYtnPI4b zn`cr&v*m>;K-Ji4i;Q85)aa0k7;2R@b_alYzMMUtPm&y*07WYi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IL`g(JR5*>@lCf^XFbqWX1r}262`cRoB<}M6|Ak@iMr`e6kCf#k z1-cg{U_?AxM{RFz>FuW-A;IsFNvA5 z+KXVFOGFf#lc%vdw9X&* z*0Iyqghhef=mQf3fql^5M6d!IHlUxs^dkgzd{_yZ2Ka=HbV?YWum=dmyud~rR5)Qn wC^VTD*h`^B?;iaroQ1pV+kZB!Z}VU48*ss_&-pC%#sB~S07*qoM6N<$f`01MWdHyG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lugia/normal_gba.pal b/graphics/pokemon/lugia/normal_gba.pal new file mode 100644 index 0000000000..483157770a --- /dev/null +++ b/graphics/pokemon/lugia/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 197 +255 255 255 +222 222 230 +189 189 197 +156 156 180 +98 98 98 +123 164 246 +90 115 255 +0 98 189 +0 65 131 +238 90 0 +156 65 0 +156 156 180 +98 98 98 +16 16 16 +16 16 16 diff --git a/graphics/pokemon/lugia/shiny_gba.pal b/graphics/pokemon/lugia/shiny_gba.pal new file mode 100644 index 0000000000..42db26696e --- /dev/null +++ b/graphics/pokemon/lugia/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 197 +255 255 255 +213 230 255 +172 197 230 +131 156 197 +74 90 139 +255 139 172 +246 106 148 +205 74 123 +106 65 82 +238 90 0 +156 65 0 +246 139 139 +222 90 98 +148 32 41 +16 16 16 diff --git a/graphics/pokemon/lunatone/anim_front_gba.png b/graphics/pokemon/lunatone/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..75b483b423b495638c99910d8e382b22dc9a7c2f GIT binary patch literal 1015 zcmV&?;kugb~E2 zl(A!jVppzCtH2L=Ib2AoBLf_`GiQVM)OQA@C|20;Y{AzRx+jZHwp zwKPSAsf-GTB3lR3qZHOLWf?E?i0+(ZlcPPOV7Tmhy!R{1vLC5QFmzqN?uwHyAF_9_ zMoEBv-*Y?Jr;E?0>5vu$(hm`CW$!OOo*oXOf?&z5gWsD>r!vA}DMD>L2IusAJeD~? zcNCWpf=iQC{1ntsg_4K^+y`Oas4WN}Uc8zf?Qa zZrbPCcU%PSJ#MA(B(D!ZK~9ez=w$mQDAh- zKMr`Xtq^4vaz?TIt8l(5ghmv4To$w&;T1%=dYYr#%*pwomm|tmL9K~L>>+72VvQ&> z9aZx+Ke*T~3Q^|pgF=+!S%KyUp7X~Xeo*{j=LgLnc79O&VdaOMKdk(a^M{omG=JFn lA=D*U`9bl=f*<~i{RVnA#3(Sdr@H_E002ovPDHLkV1iuw%2ogX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lunatone/back_gba.png b/graphics/pokemon/lunatone/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3f2247f8ea8a40226352f73216cf15e43c0ade1e GIT binary patch literal 719 zcmV;=0x4lreA9KorM4RCo@N_yA;JtdI{eqU4@!GIhX?!URZ8 z8zx-Iid&W}w7E=lYi?rh#20{1z*p#3z|9IsF?Z+l`R;nz5l^wA=>7bE|M%`)Jn#RD z@)%eg=X=tA(Q6_u-LDUu^ur)Pr9-6T$;W|=_#WY_Gy>p+ooD(3ndZT&n82ybLmLpmLdeXl&^94v5EHr~mv3yKSp`0Wv#<5dhP;1k z0PlKgSHjP`s=gr?3xjC76z-$Cs_uSmF5%IM8<^JB?f2gs0#AD?>d?flr_l_kpqiLF5_$2C$~|x`04VeAExHT$GQE$#Ma3PH8Ct z7^n*~7j0gb6aHgdOAlFhp{8H>pjI3htDX0t08J8org%) zY>&*3r2Dpu1j2-Uw||44x6pwJ&oZ3^o45QQj=xfJZ99I!iYEX7002ovPDHLkV1hHL BKz0BC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/lunatone/icon_gba.png b/graphics/pokemon/lunatone/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..27a42ae412d8d91c98634f53bb6f2ec122f71ab1 GIT binary patch literal 261 zcmV+g0s8)lP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HgGod|R5*>@(J=~yKnw-YIe~+vFqgLcu$Z%KDFo&U9zbNb9GE3; znV$m)nl6u@G(V-=kA1?fl_aZb_0Yzm>Lb?X5HS>nj8a#BlWn#}0Q)hhF!WXUN0;vl zbkZh>+mGW7EDrW@0yYN&IPky0vL%+VKWZ*(Ut{|{v>!l);hF89F=2pelA_SKYHV!c{oivR!s000000000002mk;m43d200001 zbW%=J06^y0W&i*IUP(kjR9J=Wmc35HKoEq_egT7!taJ#FEcaI!9wUWqQ6YqK7FCMK zx8ez$9s#dOmDb!(+8Lv`y=nK;?52Qx= zKml(c7Wb$lu*ZO`1l)|41CzWDZVL!xlYIWLHR}kNU(`WA%5yKHK@OGCG9H={kKi2S z&{*i8Ht|Ek8B{(j0NE})rrAQkMBoJhs_K0QgCDCjZEH9Xgn?`cC?WvYRO++@6uiUP zf&$se>`4dTWajmxq@<+Fb$`83KaMm$`0EajftNqtmRN*%zEH-A+O4St$A>I_NOBdc zC7|s6W8(Or${_$aKIA@u@Z-O0yH)An954v*zjVNWXu*JDDL$xMZs0V}yq=Vld*b^BU?e8!R>zhDN3XE)M-oX4Injv*eM zZ!a(8J7gfh_Fyd=XBSI1Lmd0TWrBOpF($p1VZ3U~pt47m%lCTTj{moE4!+&~{pq_~ zYdwvg^3Pm*-sZ+k>uB*~Gg$8*m?6!*W!+9Or`uN)7tEBry=`7>MLH3pg0kml!VC(jYM7`CG-DJ`N4@M#ibU_Z>B_GwN+rd2}${#AEj_;k=ixH%apB zNHjxx$JuUjC;7JTd}xBIFVdQ&MBb@0PuN@FaQ7m literal 0 HcmV?d00001 diff --git a/graphics/pokemon/luvdisc/icon_gba.png b/graphics/pokemon/luvdisc/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..980b7349242e33821dd3da67aef9115a44ce6cc2 GIT binary patch literal 281 zcmV+!0p|XRP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hmq|oHR5*?8k}(d0Fc1Xq1;=CD<-4i8NYK;dE3QGZBGK6e;8g5J zNacsU%+M{ z5%5`ndA5H}*?9Qo{fogejSQ-Ma`S^qnjbt{nSS#_bciD1iiZlr;Nu6KX*#5z;P8We fIkpI}oa}0L#L!w&i%Szs00000NkvXXu0mjf+^2hK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/luvdisc/normal_gba.pal b/graphics/pokemon/luvdisc/normal_gba.pal new file mode 100644 index 0000000000..c443e06337 --- /dev/null +++ b/graphics/pokemon/luvdisc/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 205 148 +115 57 49 +164 106 82 +255 255 255 +222 205 230 +230 156 131 +205 148 148 +255 164 123 +246 213 148 +90 98 189 +90 98 139 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/luvdisc/shiny_gba.pal b/graphics/pokemon/luvdisc/shiny_gba.pal new file mode 100644 index 0000000000..b1df53235b --- /dev/null +++ b/graphics/pokemon/luvdisc/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 205 148 +115 57 49 +164 106 82 +255 255 255 +222 205 230 +246 197 49 +246 172 16 +255 230 82 +255 255 131 +90 98 189 +90 98 139 +0 0 0 +0 0 0 +0 0 0 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/machamp/anim_front_gba.png b/graphics/pokemon/machamp/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bf4b640c88ac7d80181cba46b7376db3264a2e7b GIT binary patch literal 1350 zcmV-M1-bf(P)K;|<55lh)(md*0pbc(XtQ1yV*E$(i@f^LyWX zGyVpHe`V-xb9Vh4y}I5E$5onFt1w5eW*hOSn5vSNvu|Eo)!v4V7jv02Onw%!dO_Cf9qEr8P_O6a>e#n0URopbg}m>bJtt!odDvJ^v&th53yDc zEY?=cyr2r%t}sPP|9Coj^vfP=N6N;SV7;J?$}5{Hvi7kaKR(~%FTP4il{ulzuK0pV zHP3QOUw>Rs{oUT^;5Z|NSwap}5lsLvl&9lI09<}M+CMnSYsEAdfK)f39K=tv@y@8A z(ewTNvlGR>sOQMB2IOfrezx-wmM8wx6TH2l6=3iN|7xAm_{sjx2M0&~_vD0XCpmNO z0KlnAXGG6m{I>7^IDeZo7UVgdscJzX7-5ZyMxXrf?)?1x?V&A*ozoTDuFZi5mjd|t z$@hqVlT^s2onf|qr8F>)7mW|TMEvYzDga~Hgj$Y33!NQ%fA*Q1b{rbt(|VMHyK#cy zc?syBgd$UAMlZa7$6NuR+y1hZAksJvig6*=VDpyd`Fb>^1(l zZAd8>)DRccK+Q&Uj6Y)=X(i}Fm#QI+D9%ES1EB@LYaXJsR3!*B=!F?SQ}+RJYK1^I z8+r-g;CC+yN|=y&!P=Y(#XSHdl9@`5!cbThK>s5V6BTCI9R=Y@ z0DW0UM7JqxKbtGs5bdC(@SQOe&+Y(%oI|F~@06ub=Qti4C#w?n*KdV>>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-F{cD?G!-K$l(pm^)Y9)M*6=h|C9(iz;q(00Mjml3NVYH0!$Xf zB^VJ@f)PO_m_^V5hF3uc7!g!}Nh0V0j0pN=Fv>oGsea_+8{hy)+<;Jci~s-t07*qo IM6N<$g4^G;RsaA1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/machamp/normal_gba.pal b/graphics/pokemon/machamp/normal_gba.pal new file mode 100644 index 0000000000..b3c4a313bc --- /dev/null +++ b/graphics/pokemon/machamp/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +238 246 115 +197 205 74 +164 172 41 +115 98 0 +255 57 57 +156 0 0 +82 82 82 +255 0 255 +213 213 213 +205 246 213 +172 213 180 +98 164 98 +49 90 65 +16 16 16 diff --git a/graphics/pokemon/machamp/shiny_gba.pal b/graphics/pokemon/machamp/shiny_gba.pal new file mode 100644 index 0000000000..6e7cc549c2 --- /dev/null +++ b/graphics/pokemon/machamp/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +238 246 115 +197 205 74 +164 172 41 +115 98 0 +255 57 57 +156 0 0 +82 82 82 +255 0 255 +213 213 213 +180 197 131 +139 156 90 +98 115 49 +57 74 8 +16 16 16 diff --git a/graphics/pokemon/machoke/anim_front_gba.png b/graphics/pokemon/machoke/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..45744a87130cc21a4e84a2eb60d890106dbd05ca GIT binary patch literal 1255 zcmV00001 zbW%=J06^y0W&i*LWl2OqR9J=WmqBmcL=eY)2qzj_If4j>;+!KPK0)++;PjB8H>!LP zk_tE#(FnnQ}b|8YehtT*3zXR^P>z7fWg55xItU~dvf;bgiRh$r#%6~Og0oVFM1fOvA3 z%T;zCz;(o{fvaD_4iKwi0Epv{Gv*bEDowN5j1;pTwR7@kl@jG|GPh>LzL})YkCK$0 zZ2`zef)q*q^S4QoKeqr07pRgMfHeQ(Ex|3^ zm!hU20MqG@7pRa@wi26F#Qv! zS_hXI@>DAR{Ne35G62r{fY%(HKR~8W9^MW=G62$(^F9!qpu|XGGMO4IasbcVw}3Q8 z8&i}cfM*l{rIj)*apN2o5~&N4Yyp%?Imhk!r!z^iER|{jz{%P0#w3qgdmFU{sBzNt zZY8O}ZIZffc?DpPQRvdNSqBWWus4EOnz}POZfb442plBZ#m`E36r9ARhv+0k{TGWXrKi7Y;B5V9KtOtpIjH2&4v$ zqXUL9o`%!i@Gjd1$76t>#!Eoh`Dq8opw|P4c6RWwC?xbr;Y^F5%G$QctpKq=ry}~m zcc<9f< z)j@w6yq-L=$%$=k+c9GR9-QIjc4S^P;zy94y6kQjYxcBM6j{Yx~5@o7t$}Z2Hv54^e z!(jwvAO^XFMA3^(3dcc^3rIa2gHgr`IcMZGa*=jLGzvE>b477e!(P~7SyzT#0pn?d zbGGMXP>!Ki?251;X>XhHR9(zQfZ&R9Jj}B8e9^X|924fyyFy!_Ze{BNos@3v2}#KB z%msXiDCjTjURsed^7Fw;G@|)x;9vTI$AOpnp=BG&-Ng(2;G3}@K{spt`U`TYT@syc RrZ)fp002ovPDHLkV1n|MTw4GD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/machoke/back_gba.png b/graphics/pokemon/machoke/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b3c84c77cd4a6e25850a4d550ceb2dc32b23f60d GIT binary patch literal 675 zcmV;U0$lxxP)00001 zbW%=J06^y0W&i*JAxT6*R7i>Kl)rAg=&v|9|6$| z80dopAe*c%bQHRWq%vf){uFLDOLp!gS#~8h=+Z6c!Nd3C$Gh)n_j)h&pK7sKJS)$g zch3>?ku!E3XZHE8`p0wkEo08;msLMw?uc~8KD@UAUuLY*8JpTH&c^O}t&hi-7GPKb z7ipSKr=RSA%h)8*TBi?V+aUAb8^#i#G7q*U9ub%*s0b_YxTy^Qf_vK)^UXzV5azeG zIcK{`Z4kb>u>if|>){6ZI=3|uD|KkW3iJgWDtP5vx*YHZkZJtg1{^IQ;6E(@KLxrL zeO_C{&$*F2~i(Dapdfvu>U$o4p|>9nxlRt{J?D|FP>6Vo`9L@TL*0==$7z$c^4 zzGZMHAjB!9L366CGolFB98%gO5m|c`cO2IICJrbnQ*?DqIpiF53R9b1XO*}o#Y56D zOxc+bUjj%>n3sUSDLM|6eq}&e>262>3S@NyhJ`7#fMLC1GAJF|cMPco5aoGM0sZv; z6rjhd0xXkOQKvCK4LdUg;AsS5qS2VVgOvv! z7;OT~OCNy(fe=lUf9(rT>Lel{+h<2$r@{zeb%h@Sa^T#^<}YBNb%CcqUSE0s%9q+8 zKzSV;h6EH*9D97pe|*DTVQ3hb{1Y&FyyQzkKu)QNBk)rHP)~xFASe(l|3Lr%002ov JPDHLkV1lrmCK~_% literal 0 HcmV?d00001 diff --git a/graphics/pokemon/machoke/icon_gba.png b/graphics/pokemon/machoke/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..97d3a6bf0f1839450c956f88c7fed5c96a67b20f GIT binary patch literal 415 zcmV;Q0bu@#P)DV$@(lKtsFboAypTI&+&?EE+KB884>Yf_N9t!4e5%m?a zw+NIiF@>@=729&Q0v(EK(+5R~!Yhiuy^K8UZ+4qVeXB!W@M>$>1lC%>JYZqKyi4?O z!Tp*T@%=NxoERCRA1VY#;a<-O0L(7-T0lK>B^9t7wZxE@*b;$I^QHkHM1jvH(xhOu| z`}SWo{SWK6z+_PZvpWrF%S?Ck{*D>00001 zbW%=J06^y0W&i*JT}ebiR9J=Wmc4G&KoG~>P~KjNgh+#~1_{9%+_jt(DJ?t$)phU~ zAypn^{RWx!^<-y#R4CZHj!qyH$@VgPJ`zx7+=AeyoxgTI?fGTd!TyYWJBin0{x>h5 zzgUj=Po5ml=L^}tcsAS4=W{v6@p86(6@o0-E@xjox)H(R>1zNiMZp7K*TEVLK@fbb zE{jJNTn$2$PnWuQdjvJWniqT~!Na3M=f?9-T#?{(RB)k-506P8lsW-z0l-vJr3#X* zu@wcji0C4=28A+XjZKFmf~+=(O+*w0D#RX0%>c?xlz^<{Z4g7Q$NZJ|DHGPS}vB?5LCHI!4*w|os^;vDmkX;TJ{Orwq0^lM9Y5NEj41O zrsH?6yA7=(yK~d=Kj^^@_V3#N!ViU&k7D8n_+mj84E$i^7z00m5epgk0h~x613v)$ z@Ax$K{ICb_|X+=R6&(6-jui8=s2z7J1TD=Es#q)mkF7_?mF0oZp zDq!8VaxW7<&}|z*lyrGEM4roLnF;8%XAnNR#Teo)+9Jn+L{2Y&eb?FXXjh-;5b RzC{24002ovPDHLkV1n>vOY;B# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/machop/back_gba.png b/graphics/pokemon/machop/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6b0dda04cac7344ad7350af86e275baef70af298 GIT binary patch literal 584 zcmV-O0=NB%P)WrF%S?Ck{*D>00001 zbW%=J06^y0W&i*I#z{m$R7i>Kls!(vKoEtufHJnIppL}}ELtM*bAiBtxYsybV8;eT znVoec%B&57GBIX$?MSh;3ndgxmFRtWZ+2!BA^z)6*1`3`)%7>})qHw8ora0S)8urT zrs-PYA-X9*|NN-kCbhgtHT)`S3yKo8F!@8_gY zLgCjZFCXWXLarx&MqKEMte&6vfh8)ZV}5k!1=bmMl^^@xxt8(=Aj@{Zrx(~j?|?|& zE+g1Afw?y$>K%#@AWY{#uMIJv>#<%}+PV{wF8Le4<51UF7_0N|*Qfdq4uT{8PhE8UPh!Dp#oZ8Zx_WGkRh(&Y=|1)_xkF#6}vo zYSR4bhQK;J?gxL4?}%@gh%txkOf|HJ<4x9bZY W?6KkNcGX7!0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hw@E}nR5*?0k}(d$APhx)f^dSKDNFYZxvmixh(iz1pbn4;R}`Zv)Z;_^~p~8l;pSDlkpg@e~-=w6@@*ONOi#ZxUWwidLc9>Qo<4|lXd{Wc)2vLEWoph4L1rbb{`6gb%5)K`Ro zLl_B~FiNRI7}JTtvoKVJSr-YKFw_BX6Gkdk{jh=Mz1y2GANAu2RyC>_PD}%M00000 LNkvXXu0mjfy5NCY literal 0 HcmV?d00001 diff --git a/graphics/pokemon/machop/normal_gba.pal b/graphics/pokemon/machop/normal_gba.pal new file mode 100644 index 0000000000..0232ea1d02 --- /dev/null +++ b/graphics/pokemon/machop/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +238 246 115 +197 205 74 +164 172 41 +98 106 16 +255 0 255 +255 57 57 +197 0 0 +156 0 0 +213 213 213 +189 230 197 +156 197 164 +115 156 123 +32 82 49 +16 16 16 diff --git a/graphics/pokemon/machop/shiny_gba.pal b/graphics/pokemon/machop/shiny_gba.pal new file mode 100644 index 0000000000..2ceeb3c568 --- /dev/null +++ b/graphics/pokemon/machop/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +238 246 115 +197 205 74 +164 172 41 +98 106 16 +255 0 255 +255 57 57 +197 0 0 +156 0 0 +255 246 189 +222 205 148 +180 164 106 +139 123 65 +98 82 24 +16 16 16 diff --git a/graphics/pokemon/magby/anim_front_gba.png b/graphics/pokemon/magby/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fa7c91f0b84cac961c2b24574d84e3bc86e26a89 GIT binary patch literal 799 zcmV+)1K|9LP)F(Cf{|NsBA_SHGntN^To0RI60{{a8R#l>@Tdk_#1F{)ql00001 zbW%=J06^y0W&i*Jok>JNR9J=Wma%TzFc5}0SgVDg^_T>ZpP)W!$YdluqREibsYtXQ zQawZmCUav{o!h|igJn(vG-DG7me#N*XDm+zx)tyNp7fb_JRbS~LTuvyjGkM%Nf)4C z45s7%SO9=?EO3xX00hY;>17!JA#9S~Xb9_If&5@J0;we~8RC6591cNR4(N@t;fSix zEC5+sfz)gbFMHsDgqolfps`$$79He>HM@(%ZNVECkO$;0jJGUXgGlABGX!u8JOt3b z93U;wzm0tFZz=o1&k!fVo$SO`_zCswszMA6;-?t!3-XJ@%9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jOQFG|1>nJ7K!X76 z0JZS00@TB9jK&8I{4d)-Z40>BWCgZeHW*{BZn6$8YT$wZrC_=TGsYWVgN^|@ygG1v zuL4cX^ELA-pwE~t5583`H}6Ii>dE(+=T#ZZpaIihslSinDKOu!64)9I4O*y_+Khyd zU?Ql2vns)KBgDi4Zks$?Au5rG2Lkth0Ne9Qi0L@W+f3;1iLYvR!lJwA)n(SU#&-rEieh3R-RLLN|h;6EJx}6egy}q_Xm;Y zE37~q6X4K2-hFS<1Y#;uIzPT4kO-=wple#Vt5z)Li1Y9ik*Y1I0Z>jI2vO(+05_O_ z7Fm}E_O^9}I2I-5MaUImcA93Afa$SGOGt#^i#Q9FJk3@z8gkiX=C+$c$Czig8PC_S znPxOX;Je=C9te4sKJy$U0VVgqVMaIc3?-_lTwykx6u5=}80>&kv=4bX3H4=istVmX?wFw!6@=>36&UeAJflhPw8D-cCRQRY&@6T7sa zphvO=vj~dk5;Gc-u}4!v11vG*Kcf(&EO4lwod4*&#y`g|3(^}}K@CFT00000NkvXX Hu0mjf&`)s5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magcargo/icon_gba.png b/graphics/pokemon/magcargo/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..46cbb8cb58d992f1d47de3001a318cda9831bbd5 GIT binary patch literal 444 zcmV;t0Ymi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*II!Q!9R5*>*lCgG!FbqZc0{nGOwlYPG>H<1hU`v?FS|=pIehJ(6rcy)1i!urGODjoVS(vWz*eJ~l8F%zbyQnhkJqC^~=GOUtz5 z2u_QPIKWi&UEd2RsjB_?D8LaB;Mo`fB>`Y-ST2DW!K8|r9Y??$P=vF?!I+!OU_vxu z5TL+02!qVbF3Ef-n&K`tr@}@6srm;zI2|%&koPRj(5V|K!!6WFr$YvB;xUpfp;kp*U&=LF`%V&q zE(MZz5yboP{Wu=^Jeu}ChFAoQ-`>d22hQ%=xw$|O*-QTkFn&Qcf*QAHbz(4-LQDC3 z$j*OJP!iF@G>XGUk7oe=v}q^hmnk5@s&h4gUM*;kDwip&>{`UGCeTR*yE_-x65<3;TGtB{cSy0et!beU z(Rjj7#v|GuxCC2I+olTey?C2kH#oDb`?!#h#`Gw}4k6_be+B5yzYLQ4a49Wy&5vAeqDIA`(0?<@)rPOt+rjFR{D-O{q$HNiZvHMDsRUI zz-LZR0VFm+Bgz8og`iGPp}SfFbV@Y4?KTw**@_nH#NG9}P2Z>BFBIYr7DtSmU=RYR zkWz_%eXA34-URV=dNxuykcf3-htX*<(?*Ih3<~NF`pzAeHc?7$!Z?cW2Yq(>7Cbch zagN8aLjjB8^zWLtP(~8}DXNf9Inx#Z@wZ2xv;KdLzW^`KHM>r?;)wtN N002ovPDHLkV1lFzE71S| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magikarp/back_gba.png b/graphics/pokemon/magikarp/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..66e874bb96f207e1a9d205d0624b836188c14bce GIT binary patch literal 673 zcmV;S0$%-zP)K(mik5Ko|$`8$ee{oFK7ni3=H;z)6joa16m{R#;3u4 zKrX#g-}CE$PZ9Y0K^WleI?xR8b`U(&g5hwusD7_DA6lbT!nLY)%x`y74u{`US&e8< zH?5a}A0(-cs#7d~t>q-}(-?%PMx3uB=9AI2LIAolg`GznO(&y7aR9BO3ixohidaq| zRT89dKvaM!SKrKMpcDYt8lHM3&|nGt#?9nF;OnspEcrl=ZWVC30uk>XR{%>QvYdkk zTpA)l%bx$2Y|W1WZOaBgi~LKT@2sy*cql=Ph=K z=^f-9Jatx}y*;i5?Yv_aT+P-%fFo!x)%<=7XvenX5)*h{;Rq`QwHWLGJ+@_p36Pxw zI1q!nVB6E`Q`$9k7B91%I9$gUj1CIGFjTfjor9QvVsri+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H`$*lCcVdFc5|_WKZ9u6nAxqTOo_i9R#O>gV2n=QGJ6# z_d?&I4qXJX0SjKEf_D+Rb?I&Q`CoE|kFme2X4S*N?ZsgYVzo|y9izbLMwA4YQkNni z0j+Co98lD{CBSIUKjl~4%ILt)^4&7v4YlV3AhVTkqU#t!UK-H(m8z7i0D68~cuNg;00000NkvXXu0mjfch{y; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magikarp/normal_gba.pal b/graphics/pokemon/magikarp/normal_gba.pal new file mode 100644 index 0000000000..14b625cb9f --- /dev/null +++ b/graphics/pokemon/magikarp/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +222 222 230 +172 172 189 +115 115 139 +16 16 16 +238 255 131 +222 197 90 +131 106 16 +255 180 148 +255 123 90 +222 24 0 +255 172 115 +255 106 32 +222 24 0 +148 16 0 diff --git a/graphics/pokemon/magikarp/shiny_gba.pal b/graphics/pokemon/magikarp/shiny_gba.pal new file mode 100644 index 0000000000..d6eec780af --- /dev/null +++ b/graphics/pokemon/magikarp/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +222 222 230 +172 172 189 +115 115 139 +16 16 16 +238 255 131 +222 197 90 +131 106 16 +255 255 172 +255 230 49 +246 189 82 +255 255 98 +255 222 32 +230 164 41 +156 82 41 diff --git a/graphics/pokemon/magmar/anim_front_gba.png b/graphics/pokemon/magmar/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3562bda29978d3ba00d6da248a007cae622b1667 GIT binary patch literal 1744 zcmV;>1~2)EP)|8o%TF#x0x0RI60=9bOf00001 zbW%=J06^y0W&i*NPDw;TR9J=8md|S&M-;~gyEN-^CTHxV{D|4@@9!xPIj#xRkR2I{?yC7 zOZIrK`ZQt(@}9Q{NpN0~C}3+z({BH6^8)@RT-g(n^K8_C{d0$NyF~)|sv+Lyay%0e ze8)L2013UIfr4_0Mk92Ty_INqy~cq6S4L~Id8bg2Q!dUY7*Cm5?Ej5lV>Q=xu}u15V#W!Rg921kBm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d|> zP5}mU)MC+{s2v4PMgfMBoHJG*Cg=kOj_2xYAOzm*eZWxk%vJ{wMfHZvC15ai&IS=h zA;u+OWEt-ZA_Q_JP=LWl2oQv>0plXOI*2F=QWRIHtyvj{D2gyjNFXKLnw6o5Ldc3s z-R&9zMtvxv;B~xm%@1Qk5k=>R;fSK~!*E2=_+dDrX#6l7Q8a!Sjwl*G3`Z0l35Fwz m9&I?HXk$2{Xye~Qlz#vmj3{|h5XRsD0000|8o%TF#x0x0RI60=9bOf00001 zbW%=J06^y0W&i*JF-b&0R7i>Kl)s7_F%ZVL*v5u4xN>(zULp4Y2ifM}>~~oR%-TgN zL*y=nVUaP1i+~A)yuc-0n#9tQ;>wk9z~CHMdWOvGpR=_q-@U+%3&GA$-^_fH90afN zOniDF-xYb5&-bm=uFBb1(>YP09{;Cz~66QffQCL?(BXYW3(kY6BvIPQjr^*;JiU z!r09HqYOt!fEB^7cODlEzBf81%+Gb>QWs^6q8m?nKGbUK0vC~0rnvH!b8fXV55a33 Z<3EC({bLLCqq6`2002ovPDHLkV1f%BHBSHl literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magmar/icon_gba.png b/graphics/pokemon/magmar/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..af5ece4f7b5c8ea235b1d21fe557b440366f7140 GIT binary patch literal 398 zcmV;90df9`P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I3`s;mR5*?0k}+z;Fc3v`0_irp7YHe{jVGyk}vYNbMHj1Z(YE8_t5xb&E&8UgAe z!chZN8N%d%f>~088JU=KlOV;zZ8qkUToBn&3O&B{h+Wsb}@*LW~Kidai?yH?2)JpztV`#7buf78l*2Xy2Qu1P;5-504Qv?X0 zG};N^P+q~Qc`P3?LP!`tJO4hTa5Scc50M>`c}fV)$BvPL%1q7IF47SfNWs4Q;K61d s^xor7z?^Z&gM0#WzXfK)!?yliHz?Ac64zfWWB>pF07*qoM6N<$f_-4H4FCWD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magmar/normal_gba.pal b/graphics/pokemon/magmar/normal_gba.pal new file mode 100644 index 0000000000..d94c6d7603 --- /dev/null +++ b/graphics/pokemon/magmar/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 213 213 +106 106 106 +41 41 41 +255 0 255 +255 0 255 +255 246 106 +255 213 0 +222 164 32 +156 90 16 +255 164 65 +255 115 16 +238 49 0 +164 16 0 +255 0 255 diff --git a/graphics/pokemon/magmar/shiny_gba.pal b/graphics/pokemon/magmar/shiny_gba.pal new file mode 100644 index 0000000000..f4da957cb6 --- /dev/null +++ b/graphics/pokemon/magmar/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 213 213 +106 106 106 +41 41 41 +255 0 255 +255 0 255 +255 238 255 +255 197 213 +205 156 172 +123 74 90 +255 164 172 +238 123 131 +213 82 90 +164 41 49 +255 0 255 diff --git a/graphics/pokemon/magnemite/anim_front_gba.png b/graphics/pokemon/magnemite/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..60081cacb8219d5a395fca6e7e0ffa2352dfde05 GIT binary patch literal 571 zcmV-B0>u4^P)=7&ro5UqjHKxeT9mF)zSlKaJYl9XJ$&|(k4jpi#q-~ObTyB4Aomo{%q&r|Ko)IPB8TT7b zuX`m47E+nJ{Nqm+(cV06{_jLti{34^NulM(h9p002ov JPDHLkV1jrr^qK$w literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magnemite/back_gba.png b/graphics/pokemon/magnemite/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c1769ec5136047cd8c00a498a87467aa28383ce2 GIT binary patch literal 391 zcmV;20eJq2P)KkTFifKoCV;(4+`f>U1=e6kH*dZ;%6!f(y8eMTOFU zC?ZS)r8Uhe_4o$a$Opg+;Q&DtmVgar*j-Z2&_+mp%@p(W|LjIlN5{XVm+$7SB%ED` zd2{^63-if1ct`oYBovt&@ySJ+u?=(%mr?(f-qV!rI3R-J`w@}SDcjH_SD;>oh#$ls z*(3$1!2q#pc_9XXtrtpD@vpF;aN#NtwG^S;(nshuA3iljK_UxlZX+<)V6@pNQh{SyVDD& l(wXk1m4#U&2^}5#=Lfg7qh7mUHQfLJ002ovPDHLkV1naCubuz^ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magnemite/icon_gba.png b/graphics/pokemon/magnemite/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ba9561d21c011638f96a6b1904847b1758442718 GIT binary patch literal 289 zcmV++0p9+JP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HpGibPR5*=eU>K3$KN_E3=>sbN&pTu#^8f#wIdcX{$u}jSfX(^; z{{`SG4jZ32b6;sDToJ#qvCY|!@<=M|jcxCKL>Tf@-WVi+q~hOWkND|M%`)q~yS-_<$e9 nVSIugfMTd#1&R^yJ|zGEgJ*Hj6D}r900000NkvXXu0mjf_Eml9 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magnemite/normal_gba.pal b/graphics/pokemon/magnemite/normal_gba.pal new file mode 100644 index 0000000000..4ece43e6e4 --- /dev/null +++ b/graphics/pokemon/magnemite/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 213 213 +255 139 74 +238 24 0 +82 205 246 +41 131 172 +180 180 180 +139 139 139 +82 74 74 +57 49 49 +213 246 222 +180 213 189 +148 189 156 +90 131 98 +16 16 16 diff --git a/graphics/pokemon/magnemite/shiny_gba.pal b/graphics/pokemon/magnemite/shiny_gba.pal new file mode 100644 index 0000000000..50bb00b888 --- /dev/null +++ b/graphics/pokemon/magnemite/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 213 213 +82 74 74 +57 49 49 +82 74 74 +57 49 49 +180 180 180 +139 139 139 +82 74 74 +57 49 49 +238 238 189 +197 197 148 +156 156 106 +115 115 65 +16 16 16 diff --git a/graphics/pokemon/magneton/anim_front_gba.png b/graphics/pokemon/magneton/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..40e95aaf4a90dcd9e9491755818d93c420163a4e GIT binary patch literal 1269 zcmVDv2?@?|+ii(Y{g&&~7 zywBggd-v{rpQhc%(x~0BuD{s79dK3o@z!<5EAbbo=X)z|Qx-`PP<<7r1WwF0_t}dA zjs6(o8-h>f6DR_z<-PrA2nq>K%`LYGI3B(FD1=mJvEtt;7m5IQBZTnOnZ>!Sc&$(j zmh=%IlvBqvm2>#CaEg-gK57fak$~}?(<0#AnqjO7pVK*=*C~MI66w7&45RJQIgthc zKV4;u{*}=~K;H{-NpZI}jx?47l#Jd(0<^jz0vub)SSR+WLD`ZNKF<== zxqD)Fo5I&hNJZxx z5Hl%z*ff{dQ$TpUNPyqymW_S@U4pv{1dh%5ga8BC4GEsTOHIeSI#C3;K!Bu|Q_oQx znog`MKAkflz}-#wZyAaM)21|_gGtIcfYra<%51R_(}Rnr@1ue60-yx`+QjgnFXK+0^IOBi(P=QnK}4cub<)P~~2(ybBc zUch&7o+)RE9fM!fG0badAb4$aNiBM-(MR$RNO1Og2_W?ceX=07I_4=LpGavHN8l5j=}LKiaXd+-N#(CBnFP>mN#PBWy@@=J22IFm4y(Ht)hRjKlrfLfFcinVW@*%!t;@m0a4a|7a9JpG2d0~@5@KL1 zOduw1;v|reE1@tTB#cnh*`@gaP3Z@?xapo=Qvqs~q~T#ZPU|Gx1mpdOR__1j=lA@c zi_ne!vy3D0dH(vvb-#uruKKCIBYP0!Ak(0Nn^+BP7w zXJ?W0$+`-d?au(AjkC*0__zk3gxD!{fsN@LFed!KvM>;5aEnfSN=Gp!PSrQgAoCVtN?6(b?I2B7$> z24Gw(6PejqniJ;J_%A*}8NVYsWL#r_*4=8e1dwY6zv-rB->CtO+z&!ZqfHB*>K>L! z_}un|Pe;&;d)gVsiA-tXdEO+HnFgC5CBQlsUt12$@~etr^9<=gTZCwEARNek0ESW( zzlhUVE_sM4Z8pVSxe$~J;IkldHy7U(@QuxM-#B$r5jZka1yFW5*MV-D=LR7isF|Q8 z;EDP%pnHww{RzH?CLSm=G<*VwZX(foY!r;g4shD_{96kU&fvoP2t` z521$5_gEm#m=Y4dvb){W9bigd%+t(Nz&Ui!I$9E9yU-k^5^!v^?mXNBnWwZujd18C z{P7~Qqs^3=@At(0H$uuo@FKC^t*i(jh~<)ed=Tq4GC|%@RII_Wj!Hwz|5CP^k4)?2 fu>Ll0^iTQ&8Uiw-W!-pD00000NkvXXu0mjf8$?~* literal 0 HcmV?d00001 diff --git a/graphics/pokemon/magneton/icon_gba.png b/graphics/pokemon/magneton/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..91a25f3ce3a3abe263755224c3362a8b64af74b7 GIT binary patch literal 416 zcmV;R0bl-!P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I9!W$&R5*>*lR<97AP_}40mv7ydxC6cTY8sXAU#hu?qRw`>Z04= z;6|zxDZzFuRf?1_p#=jb>Y~fcZl3-a20asUZ-rUUUeiu7JoZV1F81Qsy-*!MC&Ws zoTP(;lv-MIF*#cQ)l%-gG0mJ(|5{4TQbC+jK>z>%|K@vpS~&m!0RR90gpkl900001 zbW%=J06^y0W&i*J*GWV{R9J=WmN9SBKoo#)Kw@$vxBUZknGwoWFj1k#0(B_cvlq-# z{HzSFDv|osq1h_&3yLz7f5Voc1F@$=MwQwL{|4Tji;~#SM1qA%c|$zBPw(EHefgdc z>-hgdJ`=)GC!P6$yZK5u5OxudT-V(aP7I+CN-@Ab0h>Z(5NQQ4=7Eh;3 z0EGDv@e6a@h4M4RbDg09m^O1YI?POeILwB(7`Kih#}B@)iAnVwgQ(dgtv-;41+7w5 zgAC)iYyl8T3ZH_iNZ9~x%?|0SlDqzEI?0cox7Pu@pjUy(H-G%gavxr4fSi{*0S7poOtiM{X1X+TCtz}Afwa9*D|Z6& zTJDVfjoi;DZ{*I{e@X5JVC+Aad&hV%mwVTEP|MxCO>R6`kbA(52TOA2#)BI0{eiWA z*LV<;{kz5k$I3rc>aWKG@q0Wld3HQ-R*eUuST!Cv#j5dutpAVWfk^8AxVxfjeu%TA j6f5Qj^IXpl4>o=QhZ6^a3q;7a00000NkvXXu0mjf>co*O literal 0 HcmV?d00001 diff --git a/graphics/pokemon/makuhita/back_gba.png b/graphics/pokemon/makuhita/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..45423f822ee98be1562f7de6288f517441d03c74 GIT binary patch literal 579 zcmV-J0=)f+P)s zoTP(;lv-MIF*#cQ)l%-gG0mJ(|5{4TQbC+jK>z>%|K@vpS~&m!0RR90gpkl900001 zbW%=J06^y0W&i*I!AV3xR7i>Kk}+<=KoCW(1c_>qoZKL}K!kgwgjG^ej;WjmJkS`? z;H{viNlBSAQDCTyETu>lpCPl0F}rJ%R8bnHz{vmU|C#YP&ZYjf*1zbx*Prz!oCDH> z^$hxFoS~o6g8}$iolXM4S|*$WLIMKENdT}GkP5(*T7Xe~4=t1#vV}=S^SlT8{URbr z37Fb?+jVbcY>t=&H7#7bu6xsw|MEHX!C%-0S0&(VF~WIehDXxxJ$lVj0v6R7pQKIz zn?ZmWMK;lB-;wTRqywa65?DloRPV#fq)sCshSt~YlHTz;O@NXxExI@$gHBQaJ`twH zGvc63I9M2~V)8|vG0=gD1w_R;lt5$vLd?~joO&=a*hm41322wkgb65JZ$bhhbCNLB z^zmC2@O}U2kGOo-y4(@4aGD`iA>(+Zuj*4-FeHm3urxN+lE8wYRyBagww8OJdLCy+y?In)6<&y1A?G}$qKAmB zyJXSUs R>b(E}002ovPDHLkV1n>22_*mk literal 0 HcmV?d00001 diff --git a/graphics/pokemon/makuhita/icon_gba.png b/graphics/pokemon/makuhita/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d64f2c4181067319b36e470211fb475a57c4752a GIT binary patch literal 326 zcmV-M0lEH(P)DV$ELFt_ie=e z?>P=e77NCAHw(shHJD2U#z_Un`5laYcL%ff>R*%x(i}D)WH@|$7!JD+%VG0j?#Fz* Y0ol5RS<3(Z761SM07*qoM6N<$g01<7Z2$lO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/makuhita/normal_gba.pal b/graphics/pokemon/makuhita/normal_gba.pal new file mode 100644 index 0000000000..7fc578bb11 --- /dev/null +++ b/graphics/pokemon/makuhita/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +156 156 164 +131 131 148 +90 90 115 +49 57 90 +255 213 82 +238 189 49 +205 156 82 +255 90 74 +205 82 65 +156 82 65 +0 0 0 +255 230 123 +123 90 57 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/makuhita/shiny_gba.pal b/graphics/pokemon/makuhita/shiny_gba.pal new file mode 100644 index 0000000000..2f3aa75fc8 --- /dev/null +++ b/graphics/pokemon/makuhita/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +255 90 74 +205 82 65 +156 82 65 +123 49 32 +255 230 156 +255 205 98 +230 164 82 +255 90 74 +205 82 65 +156 82 65 +0 0 0 +255 246 189 +123 90 57 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/manectric/anim_front_gba.png b/graphics/pokemon/manectric/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e91cf8850064b2a316dee46ecb8e04a6ac0e9279 GIT binary patch literal 1150 zcmV-^1cCdBP)&Vd|4QEGYP7{_i+e$=AQ0|SY5)KL00030|Nq6s<`@_l8?Qh100001 zbW%=J06^y0W&i*K{7FPXR9J=W)f@iA= z2`!5luWzeR<=M9?TQ%NWQtdkJt=cbuv>f?1h#L|hapIUw*@|0uf%?gSPtsRI0epWD zjMwU0y+6UDC4eXg#6A|)ilSKtOp-rdOCUkJr>jqYo82NX>k8BS0x z0>m=|p#Ra=zg$M^V9V+0a-smcg?{(PRy`W7_sDrePA0kxnGSt!JI5QqIhGf`E>Br) z3X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338 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/manectric/icon_gba.png b/graphics/pokemon/manectric/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0b8fe933d33121070a3daa99de40f69b798e2b01 GIT binary patch literal 316 zcmV-C0mJ@@P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hx=BPqR5*?0k}(d#FbqX=g61%#C!pDoSmF&O1LC$WoPaa}u|cTR zW-AJys&&$x0r;Droye9RV_%jqt9j8d-poNA)vbKBA2i}ysT0uUrRL#CZ@NN2kGBc% zF%S?C|J8%utV*?iE1T*g_h zonvI=&|@MQ=+&`=4!*f|wgSDbQgRG1gj8=rP>ZtB0_|2?94XtiB{JT5Mc&PMA0Np_ zMjrtl5osXqy6 zZXvf{PS!+g+x27455Jj)QH=8{aOw0+LbLCWczPER66Wk(DQ`Ge7?$MyhYvrAEFGW?$HFUemRr-Y=8sXdsC zdp;L~nV5mnM9G6aI6rTbRZzxGcojf?-{N_?B3Lqb&Sw>3B&OvlkxL-?M~qpfPGb^G zQ%YEPBj6LKS^`9)V$3LKchOt%>(es@XcOGWw=|! z;ZpSB3XF3VFnsw(<3(Z_-JuQ`_dE-XiMVWr8;o^;HSWXM4@6HUx;rU=rT{#D(8C5+ zZ@t*Y5Ltkly-~BP8NRdI0J-}BXgZdz{%(oA<3;Qr{}_+)e+`{DOQ92Isen$LB|s<6 zBGw;2y*ObdcUAy8ajxWk5XmY!ak5z<_vs&Uq)wcR*evA!q5w1>sn6Gi+@<~HHg?5X zE86zYtGRT$v_HVBk{2(Frr1$^V}AkM?*KLD%7(K2p(M`QnIk`|8@WsSn*Y5LW&k_&xz(Qm#_aZ-&`q(aGWDjD#T+2O7X;y4uvIRuvrBqjPCoEfKb^t(=-{?l}l;w#6 zfPp*9wcOKe)dSNjpC{rQxznUrf>FJ-Tl?Ri$lrfgwZ_@T{vYqf^Wd|i+?bpc_NN)| zFwUK`YF<1Kr~p`;XQ;!R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oM6N<$f=I-rzW@LL literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mankey/normal_gba.pal b/graphics/pokemon/mankey/normal_gba.pal new file mode 100644 index 0000000000..bc405617a0 --- /dev/null +++ b/graphics/pokemon/mankey/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +255 230 189 +238 180 139 +230 139 98 +189 74 49 +16 16 16 +255 213 131 +222 172 74 +180 131 32 +115 65 0 +246 238 164 +238 213 131 +197 172 82 +139 106 16 diff --git a/graphics/pokemon/mankey/shiny_gba.pal b/graphics/pokemon/mankey/shiny_gba.pal new file mode 100644 index 0000000000..55703c37b0 --- /dev/null +++ b/graphics/pokemon/mankey/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +255 230 189 +238 180 139 +230 139 98 +189 74 49 +16 16 16 +238 197 139 +197 156 98 +156 115 57 +98 57 0 +213 230 148 +180 197 115 +139 156 74 +82 98 16 diff --git a/graphics/pokemon/mantine/anim_front_gba.png b/graphics/pokemon/mantine/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d310da6e572d95aa6af989e0b15ed2a0f9299fed GIT binary patch literal 1556 zcmV+v2J88WP)h2*2u=dn|6rp;3sd8#}r3wWU$sP_S ziJ&&VHh%-^Vd0Q+WH}UCH4z)=@~W*|ox5v!tE6p$jQmPl|wicrW}BVvT&^TZ|d*&J%SC>L=u zg?!dPap^Uqn7U*+Yg(}jEmurkQZoTKk$^;Gol;kN# zNoa<3>rfSJw7)rj0gIjIAIL6 z62~~F06ov~Y2Rf86yo|!fZcVU0x*R4R+d6Q{W2F`UjxfC&%-W#ZTPFfxe&-2Ay7tW zv|0sXhXSp^g&?4amd)}Qs$rpOP+bE815giwNk;zY7j*_~;&&7XZ&8LWozMqiLJC2Z#_({Bka{M%y~(DyTLA9`F8MbFwyrn*8WEbQK?Tq`DpncbdG)OuOx}y#)*b^f2p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C0F%V;%w+=V;sN+erw+3(=<1+27fYzFBv-ynp1(l)p<1O}T Q*Z=?k07*qoM6N<$f-6zrs{jB1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mantine/icon_gba.png b/graphics/pokemon/mantine/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cf0bb2223674e71b52ce15078152354fc8e44af4 GIT binary patch literal 374 zcmV-+0g3*JP)DV$*k}-}0Aq+)1!El(>+yL55!*Aj0Qw*&WX=Z9KU`#}| ziPFUtJbhyeJ!8J2?BfMoGhkjDuq@pEtVwc6jU0dkKsnXWl~|Gy5lGDFFE$Vy9FJL) z;Q=_Ec?Pr!3al4!8(Up5*Fd-_ICGXBefA_oLA~kjQ8SS`Sg?C4gEMjz5SQJD2CxY* z%TBJg2r!$;aVw-OE15=BUU1wkq{dE>&4h?XVq3EC{ zfoRg9`7!BG{rFS|45w5FU9{^kBC5mFkEagmhv+bX>JSG|9SFY)L07*qoM6N<$f~cCFc>n+a literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mantine/normal_gba.pal b/graphics/pokemon/mantine/normal_gba.pal new file mode 100644 index 0000000000..36e0777c41 --- /dev/null +++ b/graphics/pokemon/mantine/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +148 164 213 +90 106 139 +41 65 98 +24 41 74 +255 0 255 +205 230 255 +180 205 255 +156 164 197 +246 230 246 +230 205 230 +213 189 205 +164 148 164 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/mantine/shiny_gba.pal b/graphics/pokemon/mantine/shiny_gba.pal new file mode 100644 index 0000000000..5427dc275c --- /dev/null +++ b/graphics/pokemon/mantine/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +164 205 238 +123 156 238 +74 98 197 +16 49 148 +255 0 255 +205 230 255 +180 205 255 +156 189 213 +230 246 255 +205 230 255 +172 205 238 +139 164 205 +74 82 115 +16 16 16 diff --git a/graphics/pokemon/mareep/anim_front_gba.png b/graphics/pokemon/mareep/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9435ca82999b681669b9cd534cec0e6a569e69a9 GIT binary patch literal 875 zcmV-x1C;!UP)S<{*^407{eqAZq{K0OqU!w0i)gq@+?(QVNOCk6y`^Fk@??Ghv;q)zGB6{$NC-B>!%C~?|UL^|HP#I1ejbYjC#vJ&fk_wM;} z@qL6e@qdO9M7K9b&vc+oS#0=1e!u_lP|LR{rF=wrj5psN4K`F@69DE>>I~s#a6A|) z`3IYHwar|BqNomNosOvOGBLAPv4+uCdpN%sQR=S!9>h2iA%UpotsiG&O1-t8{WAa^ zXz)S-W@2iyFcZfD0FHq26f^Pet+>j>cVPnn4SrFYv`$|oNxCB@C%7CF9U#vyljLzv zbU8H1yBlO(1uOtWZ^p3z?*uDC1@7S#y|In!$+;VAfSD%S>FW~&poDj*0qyr`nr1kI z1o}rx-k|#_%y0vI2^FA4pQh;^FMx5bJp`p zMZikj2{fREx%nzV_-c<5aEtof@wF{WOj`oXfnUP$^%ls-58Sgq+dPCt@FRT&b9*Nq zUMFwdF%Nw|r~y)eRF=mg_x)I(!NOf^_5>s+Q6zMrpoGZewKU9LM$Fwi0J0CsPj>;< zaDFw>L=#Q?%RmD${BZf(1q}o)cNwuT5K3#_(=z4;VpAt7T&F5J3j?ufdoC#;I{kz4 z1UCjU7Yrgrr&OYBAW|?C6RH{rlL-)=5>PP^Hj%SdM5kgPESE#K$_H1~Kwe;KrRq5q z1L@$g`LcSflnjLOj=MpA9aPu6WFT~vd%@QEQT6OB8wlgxpRYpsO^lL(0N|~wj$)Jy zgz?-9)x)`6HV~)dsJp@_83-Qm8X&jJ!a&dvwBz3@^n=+_FzOuUb~yNhZXoC|tZ2Zm zF_6MxQ1$$v=J-d4k^8p8{aQaL02rUw2?jb0AJeGowv2a^0)+jEP)S<{*^407{eqAZq{K0OqU!w0i)gq@+?(QVK(?5^XFcbjr4C&hHR@iLu1^S#hsBspSoSIfhRHC1Q zjg^fLaV+jo-5L-19!Tx6+yZJ--4(%cA`iPx6UXHONR0P}{?YrrKTciGdyM}a{P`d9 z;-XXdmruk+7kF`YmWi$w3P^F@F+p5DmDz`fK~G5e7hu`3!>fht+`;=HWF~eUU?7BO zCh+(apjaLoT;q_Ohz+92`|)%>B7{2Q`YSXa{4t?15CWkC)`tq8kBO?j1r_ZUn=Ad@ zA3Y;FLX{8kQwtQjd`e8fSAeo8ofZ6%nm#fhorar_3$#~2Pv>Z;^AsY6XXP$6osSLF zzPa_NW{Z4GoCxuK3k+Sr?%rBJ5CGUh1o z?Og+s)%MFx05+iT-8w}y+seE!fCA_f0lTw)?kE-uiH8Kyw@JS;`%0xjrhyU^jxqOa z05hS16)dnp4}xr2+_uGe3&882WxGZDTBiUwpVTd)6EFY>CcG|A!8wK3+eg5ndVH*! zI3P*w{bFD#Zv!4#fG5BviPwsW7EuHE-T`~AM71U3d!BIT|3BdTU=Dc=(0h!3i(drn V1ODtgDV$@lA&$`F$_Q>mB+YfA2DfQc(?`Y(T!wg|^NjhnLHQ zh-LwYUCL3{4g=qz(KcYtMm)WHAqaSzc+2z4W*Zd7H{&{e>ez^bWz{6Vy-aF8| z!E?%>0AMCVMuY;c!dNaPS7EFT8DwFQ&b=^o{aF~YtuUmpcFn@*0*Wx`D!3ucvTx}< l>Pa_#Bw@T04QbO~;u{T!w1jn%SziDE002ovPDHLkV1l7OuNeRU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mareep/normal_gba.pal b/graphics/pokemon/mareep/normal_gba.pal new file mode 100644 index 0000000000..bd24bfe72b --- /dev/null +++ b/graphics/pokemon/mareep/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 238 131 +230 197 98 +197 148 41 +139 90 24 +74 180 230 +32 148 189 +0 74 148 +0 32 106 +255 222 0 +230 172 0 +180 123 0 +164 164 164 +82 82 82 +16 16 16 diff --git a/graphics/pokemon/mareep/shiny_gba.pal b/graphics/pokemon/mareep/shiny_gba.pal new file mode 100644 index 0000000000..587f7493ff --- /dev/null +++ b/graphics/pokemon/mareep/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 205 +238 148 180 +222 90 131 +172 65 90 +74 180 230 +32 148 189 +0 74 148 +0 32 106 +255 222 0 +230 172 0 +180 123 0 +164 164 164 +82 82 82 +16 16 16 diff --git a/graphics/pokemon/marill/anim_front_gba.png b/graphics/pokemon/marill/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..51e0a14443939d7147db52698fefe0e69e1884f2 GIT binary patch literal 933 zcmV;W16urvP)f0Vq{hBVn~-r@6Z5TjuHi{Z4_ZfKaYyvr-!w3@j4?ZdHclX}iIsQM! z*80EYJgW$}QV;cB5Zi$(9_IrOJnI5Q;Oa!phF0Ko2A4R1QYy6piBgF`K&bf?fwZ(r zGFM4Q%2cQ<`^K)JYZ5Y>&c;~B`5XZ^4B(vsY-Q6CN5O|I^XfR3fv;QxFwcewjsr8t z{0cMh2q5~xCYWMip2k*Z2j@LG0`S=6Ep$tO+iAlXd=1q5{k~ZP8;ddE`UyaXIoJJu z=|(VeqwqlhYs=I(Gf-$sk3?X0->WUx;Oemop&zHy* zmv&gl$%#GdY}Dq(Mn>a4C5wKAp$;HH?;L!-vp-Apj?0ep#j5rnVU_=FZnIkK)wT` z%1@tnxVk0lPGxK>g2io~-IB+jlVwoQ(W1jZz$*b8d;v5NFb|quwsZjm((*!X z%Hbm&z29mER`We)IdCZAlL~jP=@#UW%XUR;o_8^afru~d0CpJI!t8;l^#7XfFpjDL zO|*R5CKp5tFL|Z?Q+vNkwcyR4fU5qakP9mc)LQo^e@{OEBfV|@Em8J_00000NkvXX Hu0mjfDYUP& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/marill/back_gba.png b/graphics/pokemon/marill/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..49bc29d97ebb578474cd9f839c93905eb9928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N$n{M)a^A=8`LAJx37}$Jy zs@HSy#Y0AnIi#)_JK5{8**Z1r8Y(nLZYX->M88L{sZ$`4%MjQoQ&dzxpA4OJ@3x|p z%M_=xHL{cSOY*wx1AIZ|AcPcske>k5n*yIv;_}fXm1~i0EHP`D8AG+X5h!6#&kYW6nI(m`WH@>8>{R^Tj8i^22Pi0@;LA z9}_(j0+SahI+TFAVOCLb0Q)`J&c5?fau8Kr%Mh4`_u1rs{>_op)OJ1vp#BZ4<()_g zP#6eciF4FZ(9Kl)sMCKoG`VIM+tb8)O_qpRrR%&L(waW9mpbZHIXc zUH}P1K?TxBj=8BW!V>S*Fc-IXrOyTDH?Khui|5(=l`n$4+ zjna6kzMftdl@?>Y_vEP|mq zMBj0o7}00YGXr4-AcEPVMIAay$G+LZ2B*`-if8};dPkl5%nU$C0F8kvh#P_E2w)OV z3>j4isDQ{b0Fevu0IHDTSz<6yK&9jGVNct#7W&kJRe;ZuKnG|q-3cF^Ok&Mqj!I*b z`N>4Li2b85Ia%m2&wTv7^d8oH^anB1EshEO1fc=2tn(55A&dJiM>NcmJkA+ooa2CT zW(4kUIp=c0iQ}dYWhNxmV&CH2w7$%inaHKwzBZ}WuFSIUney1a*c;^gjH*~>S3+!G zebV%{lCRceK|ucD+2=YyOG#R1MJ5QiNVG8*`z0+cu2+;nGb> zdL?pt#nf>y0wrY>5tz@DO|vNr+6uba0grJ|Umby$Bn3Il1O9aJoY%KYy$t|r&~#vS zi;I`_4(e(H4un{z8v@>48UVWZ!4r|nRLaYb@3lWrFUR9_$2XkL+}+}>;V1v?`U%fd V3`{4&wWR<6002ovPDHLkV1iI#JktOG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/marowak/icon_gba.png b/graphics/pokemon/marowak/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7efbb17797b0d6b86a5982dc7a0ed6a0e1a24bc3 GIT binary patch literal 388 zcmV-~0ek+5P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)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i%hZorio%dJvU*aKYu4uH&3S zJqU4lr=$nmlQu~J>H(xH_n_1R8PF2`*xARh%iKy2YwhkLf0{(i-r@p37Y&_GM}L^pfkAp;G(6CCcvd~e904_4^9N%# lZS#licHZU>#=GYae*@$!t3FlwnT!Ac002ovPDHLkV1hIDFNpvE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/marshtomp/back_gba.png b/graphics/pokemon/marshtomp/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6c530aaee87ff83d3a251950b7720ff2c052b51c GIT binary patch literal 748 zcmV^m0fWa00001 zbW%=J06^y0W&i*JYDq*vR7i=$P7L@6s*4YB$*$<%GRp}AMpL?`+n$IbUOdxVp?mjo(Dm&_Ufuu z9-s=87w82w0A;&D-mg`u+JPP>-~*~Y0qrT|n4u>}7Q6uTLIOM~gphy_$V*lFieP~O z+H>r`0Q8^>UI5!vuEeZ$94aVrC1AB>3BXR!Iv=E4l`0hvoD1=I7Fbk}fZ&`@geD7h zVsKZftpV<%4_MUrINR>Hf(QiML~jt_i6goa9;5Lm1^HnPH&FyJy1ba!Y`^iZor~B2 zxFQ0I#1-5v2)O%bfiF>XdHWWDIbT~~+Sv>qCd&r6iZ0*tsaTqhED}Dw*bIbQ1Vpc) zTniLa&VLT$Lm-ah0veVYK=B3taR^+!0$>4vn4``Ts683R?;LOs@@)+fY|j}OaQ@r(mMt~H@0m#Bs zXaH00{Ajey8r@ zri0LVyZgTZGSK1Hww+>d{~N>t&}`8AssZ35AnOj3ZXhz!mAz{ieGWpcsSk9VMn3{n z9)vrXhjg!NS4OSO%0rxonboy+4p@cOL}?l+%1`e@7>5#fC>)3kb@Q9+pbY^oB>=V4 eJ%23!c>M*Msst`eN@_p=00000oneEP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hq)9|UR5*?8k}(d#FbqX~0{0AL<_NtHOC>h46mhvqEba|R+OV+1 zZp*?_R3sLh42TuM-~8k+dw2j}mSsujVim?54D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StB16T06jx8F12|N}b@56|xDxvLmny*b#Ua z7;sYC$n6LNe8$1c0w@76mQHJg2AmlySfRiWf#Z$*^7O`-+9!Y^BHS8K+Q3A3aiqZ? z8`L_&Qwjdt1iWfMA`6&ZRBf9sfR=+-4dOtyV3lZF04l-)<;nEGL35b`a~86P-(6|} zXyI%C97a_GxJW=0DEXvEKtur82q2Dvr2}X>5uw3ZoVEhr+6I~!fk(#l3nli+!B0^G zKqSG*0+njwA^`6aKml{mCnTDH8W0f*;Pc;?%-pPLhP&jMh=VjntgOm}1)Z{V2ps5{e{<@IJZ!N+BZ|GQ4%)--%bAM1coC ff2Ta-p0E7_tC1xlw|-gD00000NkvXXu0mjfMBgxF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/masquerain/icon_gba.png b/graphics/pokemon/masquerain/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5487241e2c809a214f687b501858e78b6478dab9 GIT binary patch literal 371 zcmV-(0gV2MP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H@kvBMR5*>@k}(RxFcgM!g61#}TDKm;!2<|y5;_FQ=$ffHlpq~~ zy+TI^i2=b@5Mt7#v=&DPHIR^e@4b+`|0m>!2AzY}j4?BU$+q43SnU_?0nPFO^dW~+ z$Gh5xCg9;_3oMkRMGq)Kyn_{lDno7K2=^vn)U{b+|KfO8e>a2nMQb|@$62RlsF@9pq0^`8l9$h&cg RlL-I-002ovPDHLkV1khNq%Hse literal 0 HcmV?d00001 diff --git a/graphics/pokemon/masquerain/normal_gba.pal b/graphics/pokemon/masquerain/normal_gba.pal new file mode 100644 index 0000000000..54690d35b8 --- /dev/null +++ b/graphics/pokemon/masquerain/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +65 65 90 +148 164 197 +180 205 238 +197 238 238 +106 74 32 +205 139 49 +255 156 74 +222 222 205 +255 255 255 +90 16 8 +131 65 32 +172 16 8 +222 57 32 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/masquerain/shiny_gba.pal b/graphics/pokemon/masquerain/shiny_gba.pal new file mode 100644 index 0000000000..09ed3ccf59 --- /dev/null +++ b/graphics/pokemon/masquerain/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +49 123 74 +98 180 98 +148 230 148 +205 255 172 +82 74 32 +106 106 49 +164 148 115 +222 222 41 +255 255 41 +90 16 8 +131 65 32 +172 16 8 +222 57 32 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/mawile/anim_front_gba.png b/graphics/pokemon/mawile/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..56261208694d434c4adcaa8fe8f3501d910fadc8 GIT binary patch literal 1448 zcmV;Z1y}lsP)oJyQ~IRF3v#l^*>q@;s`gHlpbh5~ZP00001 zbW%=J06^y0W&i*MCP_p=R9J=WmoabKMij@{ZZ^>}_LQwafJ`2Og6fn})TE(MN=+L2 zDGJ(c#sVP~2kj=EjKEGgfwwuhrBU18UT!;nu!G4RiDc*eQ(R|rHvp#%tk3oZ*K z5E$`k;Z8K$jsRBVFyiogz!0NegSuxVzuQ3wtIGX%(<$}%S!ZQ=#z7r~g= z4%_xsnU+|4W^LOq`FIn7@3yWE6qY{oD;pMg*mwlMH~p(06*cVx0SuuA3hnP--)|}) zkpQ%J0K9~Ata1cCZzGV5LE~+kaL)TxenMayc1Kavq=y-Q2ha0qzd8eeH0|s;&cHf? z5H^{lNc1vx4eS&6TyAU$MRj{ixsL!U9M=F)+~vET%@vNHpaSU~ecI5sL($>gC0`65B|?faw$h~U^Tm=FWV3qmNHoiEZs4MzwF(||qr zYdhO*IBTEYhM?JmN9pX!WVb-=l zVBKmvUB~ToZtdy>UN|W>&DtXnSlh9iw&Rk-g=wfS`bS0s?m=0PfKCz!(2i#i=b-0# z2=o#_WY-_hlUSYp?YSM2NQnULWw6KlQmLP39c9W;A8bEJ%Nd zb5)7XO5UyiX?@CnUv2+$c)qH;f_->)Uf3CxPu>o(wT%mbmK_1SNP<9Pi-3ak!IJ-U z70`+SXpZ^aH)<*fz?+f_L~Uyq8+d;Ijs&)MhcIQZJV0wBU=N`fh+N={R9e+I85D>>=+rq`y1?T!-NsLP8867dXXAHwm#ADgB06njvUh332_5 z0As0?P-FWDzi8d>Gcl#f0YW{+Iyu2=%tgK4=(Dkui4vloM)D&R5dAu=009VQ@q7f} z^ODBEz}*L89!4+;Z{mY0H3taUmqDC&>WvkynELl(06XWti1Usu%z{ESLZAWN*|wjH zSOTU58JmGu8*`v-I|K@wADsbZIQIDXgMryJ5qP%u>mHlub|5G{(mwJPN-yiCQK?iB zIQr$eI-fmNaP_hBmk$N=(liVsR%m?fs5h-KDuEhQOI8Par4o!GNaM4nlFciXp#UBv z0Q!9dSQ@wlyV0Ptu}dI%5RiGmJw~A&P{)TkD4i9N2cx>ls7Fr@AhJB5TrM54fjb`{ zXe!9aL#d=w0e6)hAfk=dQJ}0d;SrJ@AQmB%bRA-JaDd1bDix1WFY6^afSZB=;yf`x z+=Nipb^Wopg6`i-4-nXwFa)scUy5!MdN)fA5CCkk7$~uU-9?Gy0D-^*7$3@Cd<7od z2!Qb*9l`|ywTG{naGSQ>C3}jJZgi}Vz~+`5v=KC2SM5{0wh}?Pyql5snE4? z2FU=bz-+2gv5r8q?Z6O|1yBKUtmD}T^fC&pU$0auST+KfAH1%!975e}Ff0n##^r3O z9{@muMM5<*44R#QGOAKWyNkymQ+C00004o3 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mawile/back_gba.png b/graphics/pokemon/mawile/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5bbf44ca9ca9e3ad3ecd7209d9f58bed298869d8 GIT binary patch literal 825 zcmV-91IGM`P)oJyQ~IRF3v#l^*>q@;s`gHlpbh5~ZP00001 zbW%=J06^y0W&i*Jw@E}nR7i=De2cIi*FzE~{yuN}Zr>l|a%u6Ifqqdi3&a=s7fa1*UH;#`ta z?gJv!Wr7d1y+W=_neGCjB$H)|7MFOe)MXO$n>GtksY{u)01oFu8eqE(2OZRah__vK zcoY~Q+Xm9wBF1mo1_-AH?w@Z1aYSn%>GtEzL7+!!RWeKzSDc zBHIKq4zvbzpEsL22SpujfMiWq`X)gcAOYFz(@wPxz-mA;XaYgFKw|(Nk6HnH87>kK z>%h+w16=(Hudyh5Bv&csB^G-)`9$<4lm?` z_w-$yn=N*iWewoMb(7)8?rD&lg`l|43dkfIxUM_={O$BIjx-<&pfq9Q0zDu=X0Kn7 zK>8H5g1LpPnP9ZK<~ITq0i7UdKh`rDYXK>XjAl#pjav!kI;jmOD^Zr$vL&9@8?|} zvuf*@Cg;SXlPPh}{pv0PV4x}hAAEX%F2@Z5R9T|{ENeU>WP~&K4WN!nK$BA!0Rs4U zLc-S@18nx9c4@(n0UZ;M1%lai8NJv*8R6w&l_ zaSY*@nVbLwRtFADVsNUFm-sPJpr48PF(cbIcAhuv5;LSF4lpo$DV$*k}+<>FbqX?0vYWAESOss=?2a9?4<@gnNtvS>(DdF z>e6&@Rdq=+RHY@$wlZ}MH$Ht5g#Ksj-phNN^#y>+hyx-00000NkvXXu0mjfPPM#5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mawile/normal_gba.pal b/graphics/pokemon/mawile/normal_gba.pal new file mode 100644 index 0000000000..ebb40809c5 --- /dev/null +++ b/graphics/pokemon/mawile/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +205 205 205 +213 131 172 +189 98 139 +156 74 106 +0 0 0 +255 222 139 +255 197 90 +213 156 74 +156 123 57 +0 0 0 +197 197 197 +164 164 164 +131 131 131 +82 82 82 diff --git a/graphics/pokemon/mawile/shiny_gba.pal b/graphics/pokemon/mawile/shiny_gba.pal new file mode 100644 index 0000000000..ceadfc93ea --- /dev/null +++ b/graphics/pokemon/mawile/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +205 205 205 +255 123 82 +222 98 49 +180 65 49 +0 0 0 +255 222 139 +255 197 90 +213 156 74 +156 123 57 +0 0 0 +238 156 197 +205 123 164 +164 90 131 +131 49 90 diff --git a/graphics/pokemon/medicham/anim_front_gba.png b/graphics/pokemon/medicham/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7dc0762c41cefbd4d4d51a29a8204407a73e710f GIT binary patch literal 1055 zcmV+)1mOFLP)Qc3^-0Hlj*q@<*SgMJNR9J=GmN8G;Koo#)2xhA{hN{yA#tI3i3@}t8mn<2Oijx6U zDX7E~YRZHJD*Y|3)DFo|m9#{Hq3Qz5LDUXRHR;q24QHlIcHDb*5>R~aQnghp^(4sf zKEHQ&KEL}2`QyVVj{zRdk4cct=u;Ss{U$){ygp7g@@4Hpin-FUf2=7$(>{Ov6^&2K zQR)j12OdyL@Ao``PGU&{Rwyul<>ny6nGomdIGtH|L64S&aNDZ5L8mJKux{1osu~8% z2U$upEIVK2%AIh^{>nmwu?=fpoq~{#U3kk_iCI+)m|~3O9#&Wx+3n7h&6d}LvO|3J zLT`O&hacCwgqWAz(U5@uCg<+wJM!V)=w6x~?!mAB>8|URi77@C^aMY>0&r%+sZYXSOm08pE!}suRrmSHn^$;(=S|MHZXZ3t zfv5bWcHp2jCTn}{&P$u+Fk)$SPaN9JvXC~FqJ`$ScQS5S>J&?Krup5@0-#KhqI9~s zW<%V%r%pg=p%_(A*8pG|fW^8Jn2>RrhBX}48ovaj>M@W7K-G@dYWuSN*o?s(RNZzJ zfJ~0b6jlZU(g487DOL$3EXM2zQ1$DHx=bLSjQ~XjV#xi2SVjJo6mi++vl##!Ih1j@ zN}}v|E3d@U)AV|W!D%ybfH-hobwJ!&lHFkh&3LU+7-C6o^@!KSW&w_lH;@X3ucJhy>z2<_|-G0Dn*(+@V0^5r4QA2-F{j z0cfiT7BH#qc%NFb8&8~#AT zE3@Y%W*_@QBq_oZ2?2@yAq2tr{h@_D5Az%653&P|@dvW) zOMlQbs>#<}`a=z$#a8SO2RH!!P;x3Lup|AU$Z&rkt9w!pvZy~0R%q_VdZ11L{;+GK zmw)UJeLYb6L+XYJh0Q(>%002ovPDHLkV1n+h@jn0n literal 0 HcmV?d00001 diff --git a/graphics/pokemon/medicham/back_gba.png b/graphics/pokemon/medicham/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f4f58839b4c5907a6180efa47129ae556e5416b1 GIT binary patch literal 696 zcmV;p0!RIcP)Qc3^-0Hlj*q@<*SgMdP8O`+zpoR~CmCU`P&Qk8k9jOQI zn!v)49^u%!5x)qXfRBsdL zB_%^ora16SC5Q+a$rRh8=S96ZR>VN2sD*Yf7vdIrF_gH+)^j*Ru>?Yj6ruAW>}`91Ut-5lRY8a2mmDr|O84FIp3q%G#mjxB)JlSy5#h}72 z*OdDkb0va}Sgvg%5a(u^Ko>P~frCu&MhC(MrotouJ*!ssBjVSBtG6zI&x^Z>{fH=_ zE|V#IT$Ce!f|N*kGOg>PSgXDI$S&Bo8$YS5(v}*4frJj638{fS0RVon9{{e$Ma98; z0MgR!VD^j z7W3l%OGGq*0WkmDBGH0Yb}WDi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H?@2^KR5*>*lCf>WFc3vK0l7g65vm2q19*lsDcr??S)`DrG7C>d z7g6DYAVk=On(uR^e;U9@uDgeSJQ94y{Pl9sJ(f}TaV#o-xrCzf0(fLu4qpnO-UCKn zgFX5ON9t}jqtLN69Gl`gTKj$MP*(s0!1wD&MKjN!Ew%5edYi-Dw~E-aZ(|~Gi=T%$ z5crM5j{-If;l$vY(-bm+oQ%yMMwd<9i!dD- zriSlW*1CZ!clAA0kXhE11NOz~DNGFquFWVTO$#mIGW*Ml6^-%a-oO P00000NkvXXu0mjfY`vgh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/medicham/normal_gba.pal b/graphics/pokemon/medicham/normal_gba.pal new file mode 100644 index 0000000000..ffc38ab86e --- /dev/null +++ b/graphics/pokemon/medicham/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +139 213 139 +255 255 255 +255 156 148 +230 123 123 +205 90 82 +123 82 74 +0 0 0 +164 139 106 +164 164 164 +131 131 131 +255 230 131 +255 205 90 +238 238 213 +213 213 197 +189 189 172 +139 139 123 diff --git a/graphics/pokemon/medicham/shiny_gba.pal b/graphics/pokemon/medicham/shiny_gba.pal new file mode 100644 index 0000000000..9a1d82aa73 --- /dev/null +++ b/graphics/pokemon/medicham/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +139 213 139 +255 255 255 +139 189 246 +98 148 205 +74 115 172 +74 90 115 +0 0 0 +164 139 106 +164 164 164 +131 131 131 +255 230 131 +255 205 90 +238 205 164 +230 172 139 +205 148 115 +123 90 74 diff --git a/graphics/pokemon/meditite/anim_front_gba.png b/graphics/pokemon/meditite/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cd9516ad2ddbc7e5922a9517fbcb17517ff4df3b GIT binary patch literal 744 zcmVP)$lzV&sgKFklIkZ7Bv^iRHDM0`L0L9+_i@o+@l+8+WtV&vQquN*X00001 zbW%=J06^y0W&i*JW=TXrR9J=WmN9eFFcimq#8Zak+Awvil;e(U)$;(p5@JSpb5#+JNx@c%A3U*1pe=}A`f_q;|A zRjqLizy~z|)Br6?Vkf{Tai-ve5mySIX&`jPDIo+V)(H@ufB;yE_+$$(uoP(#Q-J~v zs)48gn5{+u0Hu|HFSr3HV1}6(m&a2Mtj{Q*LVPMEp!hQcIt(JguiX?r2oMLH!|~*C zm;}5606sf772-(t!h{E+}_=G$hI->6OQbuLQ4MJK`?T&!g>Qc!BK(EDr=MFV9A=GmwI z;r>XeYYWhxf9dm{Zqx#J?OC5tby;fQzx+NPZtHjr1ccg8zZSmMt_1qUb4;L7qej(o zpF5QG(*38JlZp1B#$P;Qb^d~p!Pr$nU+x28jr*XlX2*XJX9lpj1MMHSfUVco)?XlC zNfB)UyxuJaqp&begTYLKYM?L}CXNQ9V!SaJCJZ4X4uc_hXf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p(3;`3B;0 zpM)(m_JQRr9tRK%&py&!Y(K(NNX@NkmW251*5xWwkY2ZgQ!O7 zfncz1RyR1n%YU$t9c~~70Rv(EEFNIUrZUrm3?Yzj6pX#ww42541!If=H!KSf6b$%u zzr%N^Ip|H!5Kl1V(INwpt%eOlu!Q!L!)^0U~fKn<_FJ1poj507*qoM6N<$f;c8&!~g&Q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/meganium/back_gba.png b/graphics/pokemon/meganium/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..be01710af5ae0808efc8b31ec3f7ff3de88dd13d GIT binary patch literal 736 zcmV<60w4W}P)~Am*$9qs{`600001 zbW%=J06^y0W&i*JUP(kjR7i=9l{;(OP!z{CID!OBr_Kfm`~mbRv{P%#Lx+~&N1;Q& z&^BY%tLh6#3KYCaS6~RZC9xnMr65QP$)K?r?agD;bM&|p*1dB77+qQCr~f(UK9D5s zshg(B{()o_78XRMs-IuZh4p!6SgBseAfeVR*0igL02gv4nh{%o_808lf)NJpF+ z0T?UV`zHX*#}E7_CTf4P8v@Y#+{htg2?OoLW``y8o;SOIc{);ouD7BQUd0{FO)jw1%xE+Mw(Md6RKODk|_K&~plC9Vg$%z>Bj zTjCJnmVgv`wrwNe$14N^at%3c`zv$s+{^$JWdQs~&l0PilS?k{=3_Zsl6h@aHrFd2sczX?e9b)a_dmn+h(9{F|HOBxm-z2`YF!1rmr zqa|C;^8Ju5DbJu=yzbLF5YlSbJlx>xA*D2;p~rBx+)^52`a)rz4brhVgkzeb9suxj z(F!;rp1=G(#GQ7Qu4x$N*(j^w+V+;yY$sZySxPGcB0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IK}keGR5*>*(lKs>Fcg4cPEensCqPx1%F=et^ce9{d-ae3HU@@f z>rrx;Tp%hUqh+ZAq%N<|1{<){y|u*fK3SH9|0Madi(w4s$Y{c|Ntg*@P@ytkc>t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D- N002ovPDHLkV1oMikDvem literal 0 HcmV?d00001 diff --git a/graphics/pokemon/meowth/back_gba.png b/graphics/pokemon/meowth/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d87e7aa145d92b20c6995ad8f7b40f4905bf92d8 GIT binary patch literal 576 zcmV-G0>AxgNL&7=VTb5hk>IS>#K=H}+^oH5ON5R^dx|NpfA=7Z+6L7Zv;;Febn00001 zbW%=J06^y0W&i*IzDYzuR7i>Kl(BNcFbsyXvEhf|0Xmci%9gucf#-l1;2Iu)D~t?X zoH8;LnUT8|3$`pcs$@cO2+*)Pfg# z1)yAjChc5&d9&6z0~4Z;<4R!J)J>arUYiK2fJsW zrlI&Fpfg0pR%?Ko23ueN3BZuBt4n~vrRHQItT{Jv05k_!xC+=CK;+oM(n}ZtunLd| zEM%D!Dgkvms>+A~1XwO5X~j;g+}o)_4&)Gy!6k65T*XFjo53j%zmnw4W-kN)U;Be` z^$-mm0w4YUAdPPUFM~84UkA)25o<@QtnC+X-ZG@-I2 zin>1pw}AyJCP-|eE%$q1cL`QtK7b zhKI$c{qeftF{O=Kh6z03_1tIBs7BC6Cf4!^Okkn$?oWvBK-gFS&xJQ-^2C)@_*r!T z!`H_bA=X_vkr3xHm0^#p44Cp$wUyTg6$MdTMmirU{ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/meowth/icon_gba.png b/graphics/pokemon/meowth/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..146c69093e1f9e94729e7726b97487bcccad3d24 GIT binary patch literal 304 zcmV-00nh%4P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hu1Q2eR5*?8k~<2*KoExK1UrST;2FdNJWmdK*t35=Y76Q z7@@;cn7Ga(4;>)pr5D0 z&CRT=tdxtCb82(m-rj>sO8;tV)k;!>&Hu&T|5~K~N`uuoVze^on~2X00001 zbW%=J06^y0W&i*LlSxEDR9J=Wmrrk_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JOj1CT3e&{zNp~(AK?0BZf#~0t0F`!J%*MBR^E@f zI>sCURQaI*qd*K$`*Ej6mLwXHiOsD5Nup;Q6mZ=UFh(;ry1=^uDi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IHAzH4R5*>z(oJfFFciS?oWL;MxvA7$H`Ald9lApD)2FQ(0y7s4TN5Wd(fKxQNerWVvt8`&N)2iPZo^| z4=+9p7$yJG#rW16pqshp(gV&iTXl0ktQ^i!{iunC>zvm61w!qD}Tfv~Rn6 zfGUBi79!zIv~3Hv5^YmY-=CBm!t7NL^&*^J7H1*sn{^O%^6O8y;qj*rzwr?{%s%9b z1N*pe7$zSp4#CIB0dV#aIHaT|ACZGYxcZnlOg;h!Vh&dyk%MIp7at=B)FiJy0*7qn hW8|>%!MlI;@dF;B|D7+u=i2}P002ovPDHLkV1n7)!NdRn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metagross/normal_gba.pal b/graphics/pokemon/metagross/normal_gba.pal new file mode 100644 index 0000000000..265dadb67b --- /dev/null +++ b/graphics/pokemon/metagross/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +205 205 205 +172 172 172 +148 139 148 +115 106 115 +222 222 222 +131 74 74 +255 106 106 +213 74 82 +131 205 255 +197 222 255 +90 164 255 +74 131 213 +57 98 180 +49 57 115 +16 16 16 diff --git a/graphics/pokemon/metagross/shiny_gba.pal b/graphics/pokemon/metagross/shiny_gba.pal new file mode 100644 index 0000000000..4ff89d816e --- /dev/null +++ b/graphics/pokemon/metagross/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +238 172 82 +205 139 49 +172 106 16 +139 74 0 +255 205 115 +131 74 74 +255 106 106 +213 74 82 +238 238 246 +255 255 255 +213 213 222 +172 172 180 +139 131 139 +98 90 98 +16 16 16 diff --git a/graphics/pokemon/metang/anim_front_gba.png b/graphics/pokemon/metang/anim_front_gba.png new file mode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AadnVl05idx+gwD(zA=5yO!2uKnH-~t$NmnInG8`~NIhgK(@pq~KT%WY+s{NP1; zfu!Ub7-WW$#I=@EeC3MH4*AolP-Fc#S%Hp|+xkjohLT2S)?ba9Jh}_KrxnL5 zZGF?DdQ%HZkoSXpkbpDIEdp59{<|buueRI4G6AV*3!_ z&CRT=tdxtCb82(m-rj>sO8;tV)k;!>&Hw-Z|5~K~N`uuoVze^RRe)=00001 zbW%=J06^y0W&i*I=t)FDR7i>KlCf^vFc5|{bZr7AUOSlRoHr;?2pZeGA7P_Ukwu{V z0ESKu($zdA=vG9ejG(K{{-h{ZMw<+seKuf8->3ghCuiBY&h`Iw;hr+*-rzsgH&?4y zjf<{SORAN6dWBo1)B+#G{ENTemJrrzfiL}K6rZ!Lu9RAq(IN7u{GFJ6t+g(fC4^FG zBHEn_a&AcLY7MF?RY7>1;-Zk!5F)f*E2TpKnccL3D46OXR8*>fsiFI61Mz`qy@asR z!~GC8lOFkvCEN>LxCp~<}vvrz!8r~s+c1VkNe#MQ@9&?^v8d>SSU5iNdRcTYjE}Mwu=zX#xfrR zymNlf_(!bb-57u!w?P;J4&1ulbEvRl=WJ^knJkOM*&!nEHh#l__uf7pc@X;jLs_Cn>s+Vx8@sLU9)EDX%>V!Z07*qoM6N<$ Eg3Lf1xBvhE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metang/icon_gba.png b/graphics/pokemon/metang/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cc095e935412d14fb0cdd08cf13b74c659a1d91a GIT binary patch literal 445 zcmV;u0Yd(XP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IJ4r-AR5*>*l0k~YFbqX~0{af$b>kjwuAxAQVOA{!avcW*xq`{c zg`f;sloUcVcH6X0H?tfnuk^94FX;*KSwY0iSuQmrV5W484iE04A`Z1Ctl+hNIcnpIjE__+l=-?l n--XTkrPN`=N1E#&gJ0tpB;p?(ee?%*00000NkvXXu0mjfAfmu- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metang/normal_gba.pal b/graphics/pokemon/metang/normal_gba.pal new file mode 100644 index 0000000000..41b48bc089 --- /dev/null +++ b/graphics/pokemon/metang/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +205 205 205 +172 172 172 +148 139 148 +115 106 115 +222 222 222 +131 74 74 +255 106 106 +213 74 82 +131 205 255 +255 255 255 +90 164 255 +74 131 213 +57 98 180 +49 57 115 +16 16 16 diff --git a/graphics/pokemon/metang/shiny_gba.pal b/graphics/pokemon/metang/shiny_gba.pal new file mode 100644 index 0000000000..56c14cd756 --- /dev/null +++ b/graphics/pokemon/metang/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +238 172 82 +205 139 49 +172 106 16 +139 74 0 +255 205 115 +156 65 65 +255 106 106 +255 74 82 +238 238 246 +255 255 255 +213 213 222 +172 172 180 +123 115 123 +82 74 82 +16 16 16 diff --git a/graphics/pokemon/metapod/anim_front_gba.png b/graphics/pokemon/metapod/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..89843520dafd0112603b48bc4edf4092d05e02bb GIT binary patch literal 574 zcmeAS@N?(olHy`uVBq!ia0vp^4nW+%!VDxm*B3Eaj?(fW4U#=K?& zfi~MC!OQvP?vgBhb!=v*uEk_=t~*br=eW-JQ)DUb@yOUEcGap$^_?um``@4A>#|qe zwCSJQiDR33kF$%~PpCbswn9s4(Y8AbZ%s8^_??q9ripy|p|_#&lqy?6am-Z?j_3Z@ zN+TT#PWUvNyGKTqsbP3YeEkC zCt7LxD$G0a;o*KU=iP}F3wh43FSf}v(&9a6~VBCM2Cb z$5gby=-C!&@up{ss|CalRqqeB*9L;u*N<|x+FNS8bLjZDl~aDg(b60ZQJ>eg+a?Jd zE^ubt_m@w;J2QhpLf*vd;>Dg0SoV&guvCu;>)$9&Kvwl!VVpH`24?)*k90q26 z@#Xvy(JVrY$J89|FdpM`xWkal&QQlC@%tl>MC5;G@vV1vdNfS9=n9Nf22WQ%mvv4F FO#p3$^kD!1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metapod/back_gba.png b/graphics/pokemon/metapod/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..42b80d17cc6b1db545303932cc5b77eb50c1fb21 GIT binary patch literal 430 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*RyBW{Qv)d@BiXCSG|hY z7zQP2{%80PM@Nqy6%Y^rDu9D&k1t&Z>SZhm@(X5gcy=QV$ky?6aSZY3d^^Rk=!gQ3 z>voQ*{S*Ao#5L$^mAi%9PT|ShwEQ%$(PqD=r*&^wuN3f{F0wkzKR#Z;V(z?;`O5z$ z)Gyp_XApg#UFcUsqTBX%PR9AR3f$$4%0j!;rl}V58^k3Yx>Pv9bb-0d^(hC7UNR|(KUJCTUVCNTA)AKPlh#YeH{K}w!0WIv;_)}@ z2G_eg4yRsdWGoOn^NKxyp=fLSuPs6+qK@QVZV+`@rxW%kh|zt@>E3=XVPToM%||Of zzuhatGDY^!E|q(;a<4s5-?X&zzFJnK>=K6OCz)pIl-JKn|KoUv(T*YRZ{P%H0bn39 Nc)I$ztaD0e0s!E)yGZ~5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metapod/icon_gba.png b/graphics/pokemon/metapod/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2316b24081a1b99d39fab4894080163583e4922c GIT binary patch literal 241 zcmeAS@N?(olHy`uVBq!ia0vp^3P9|@!VDxk7i7!@QU(D&A+AYtnv08z_wL>M|NsB$ zIbL(ldQJJ}^{#l%w<+KDE{Xc~O!M2fHCL}@J@e8`N{VuHbj-A@jRxvvED7=pW^j0R zBMr#O_jGX#vFLp}Nl~o9fXBJI>8*iG<2j?t5oKRFP53uvI_O=MkUR2q|CW^Px# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/metapod/normal_gba.pal b/graphics/pokemon/metapod/normal_gba.pal new file mode 100644 index 0000000000..7475228890 --- /dev/null +++ b/graphics/pokemon/metapod/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +197 197 197 +16 16 16 +255 255 255 +255 255 255 +255 255 255 +255 255 255 diff --git a/graphics/pokemon/metapod/shiny_gba.pal b/graphics/pokemon/metapod/shiny_gba.pal new file mode 100644 index 0000000000..149d03c64e --- /dev/null +++ b/graphics/pokemon/metapod/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 180 139 +255 148 106 +238 98 57 +123 57 24 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +197 197 197 +16 16 16 +255 255 255 +255 255 255 +255 255 255 +255 255 255 diff --git a/graphics/pokemon/mew/anim_front_gba.png b/graphics/pokemon/mew/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fc6dacbfdfa65ac771aeb1e0f7e4ddece11fb336 GIT binary patch literal 854 zcmV-c1F8IpP)a2SF)1l2?9K`V00001 zbW%=J06^y0W&i*J)Ja4^R9J=Wmd$e7Kn%zC0r2twd5S(lUKeKiF}+2?shwen0X?#22)aVBq!f0icN2twIEN{qg`f0A5K%2dffzgHj2> zucyGASYq1S)HbF??Xb=S_0eW)UmL3erVmISPaNOt1!Y-+E9CByjv7$QdA1gvMHP^G zfCaSJSSqxN*|Yy?0iMp5c77^?>*x$mfSx)|wUUSs`ic|L@(Lk8&Av@nICHkqr&v46 zPj(6zsmc^m+&MmO9k5(e5h$(zbKZx;Loq)YMT6KIKM~kT3idiMCvw!w)xJ>yK2dV< z;acbqFP~`NxrVc@M;Nw3t_^T)fsZiyX`_a+a~O;4lOwoA^#Z`QN|0Hj4vDydmWB zUJ>_|zw0leAHK^M?*^c_khCBC@YQS?h%1CqXAIKW`Q;MW7>^<%jM}#q;3phe geXk3=+rMvr0Jdr|+2UsNi2wiq07*qoM6N<$f@rIjz5oCK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mew/back_gba.png b/graphics/pokemon/mew/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d73526245ef23433f9400e033764bc44f1fdaf6e GIT binary patch literal 551 zcmV+?0@(eDP)a2SF)1l2?9K`V00001 zbW%=J06^y0W&i*IrAb6VR7i>Kl)-MpAPk0ifsyxr1)_F$9HsY`raMo~l=DEe=cUSK zo21fW=(O|pON}b|<2S|zrT+B`={P(Fg4sMKUX9s4%wSMt@r0@RIH?#VP;bboZlkFI ze}i;r34lHRYfRl-r9=Iql(&Qefcp+8Z>$A$^+0F_2sH|G1Zz3obn7xKIw0VY0|GAV zLOoz$&_Ez%IEjs}^Qb1gH zYf*5tp7)w3wBsU~$r4qUw&<=CSWzkILO^hM(i1#qEht6cPK+i~$-qDwPibgz0NQ10m9t%TBD&J%~>Qjyy z`zq!#?TojH@un~m<9#f}SI zQ}NBJ@cQ3e_pyG2?!x=)E}yr(fm|<1c!Vduhow5krtiq;c+MX+9z;)}(3b!T4a+yH p+wqKz*8DBxpa)1h`A+?5eF3|;k1Ze;O literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mew/icon_gba.png b/graphics/pokemon/mew/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cffd1dacc9c1b2ddbf7ec6e8b593511b9ef67d19 GIT binary patch literal 377 zcmV-<0fzpGP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H_en%SR5*?0l0izvFc5}wg5)qlFC@srNdr zMc&pHf*^==7I`Bj=_EH0e<&nhW;%g<#{B)b-0d0pQv;3}Q4uE_AsWc{7E}q#KR41n z$laif<9I*GUYBQSP#}VR-c$<^{HQMRHR8@gUE*h)ZyrI%(2sF`pAs#X0#?jV6Q$)` zfJJys$=Fl@o$Go}x|si-UKk_7^dK|_8Ml#dOI+r*WY?(8)|V7e1a$?7qrc2?8N(cd zIK)+42Iw2Hs_h2M_l!eQ_l(;%d00000NkvXXu0mjf4$-7} literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mew/normal_gba.pal b/graphics/pokemon/mew/normal_gba.pal new file mode 100644 index 0000000000..d9a50cdeca --- /dev/null +++ b/graphics/pokemon/mew/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +213 213 213 +24 90 164 +74 148 213 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +246 213 230 +255 197 205 +255 131 123 +213 74 82 +180 32 49 +41 41 41 diff --git a/graphics/pokemon/mew/shiny_gba.pal b/graphics/pokemon/mew/shiny_gba.pal new file mode 100644 index 0000000000..0bf72b2d86 --- /dev/null +++ b/graphics/pokemon/mew/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +213 213 213 +24 90 164 +74 148 213 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +238 255 255 +197 238 255 +139 197 246 +82 123 205 +74 90 180 +41 41 41 diff --git a/graphics/pokemon/mewtwo/anim_front_gba.png b/graphics/pokemon/mewtwo/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e3ef74e032c61a526fee14eaa850bebd315c705b GIT binary patch literal 1500 zcmV<21ta>2P)wEwh&)r(rJb1{_v0RR60|Nj90{{a900RIpW5dZ)GvFg)@00001 zbW%=J06^y0W&i*MT1iAfR9JFrDgtyECsf?VFZ6 z{<^&-I{yKrjle0HT?d+gmN?bilN78bU?jvxAw&wN4ZsY#4&m5zrks5FQde z0noK;rkk5h4$$g;shHa#=i%!t1}(D!w3lcPL;P~k$`JTmwTJiGeYlY^x}pd0N5#H) zkALr0SSqkQ@d@Bv5kUWB*Nl}+Vlqnsin};E> zUlS}h#p&d-vxO{8x!Ym;jl9d*CU?C)mr8aVh#%>T9AFWfcSWkJa zmobaH&InI}fw1cK*0Y$|!u;m}&&z@1I^Y~L0zTMy;-&)7yXlZIZ_p2HtQ3nH0Nal= z-)F8{2Q=@P4SXASq<0dg@X-D}*~Mhnbi7b(R|oJ`PP2;8)gFwiz!3r)?Euss#&Qo( zh#xNFX$82(Q1B0%q#^YaX#@5@1NTD&%fba9S$ zd{$fnNht>-T;@OuKjPObOrUhRwJj0nU336H=RkSgVF%&ofOb>n$i@`_-$xi;Q2#l` zbQYKOD?u(oYC-tHSG5Sa3y&P&QaI4CNl^@wJgr&1QD(#i8<0J&rI@W`D}f}6RS{$! zK1-5BGnhIAE?@pMZUl5N37Fs;QYX;@z!zb#KDtm6SO$E21oXg48UZaynCXJ3??iVp z01*&g9nd{+AG`Di5kn1_rJZh?A5x43sYQ@Lp1h$<(F|0b;joM(QuzIUR;y`tKd#Z^ zUK#;t0$OBnU1$VGpT?~rz8$9lXbJI!-ZxkcfS!Wr6VMofTI7g;&vn~Pa-Ycqvx}4Q zq2_{~)%(4EsNbd)=QmqygL?^50kD;?aJaAOTFZ4(331J7Ja5BDCV|cRva} z37~OA`^M(ub+FFhRxZRNaEpLB-Su$r?zGm^LWpHHjjk7=hws9-1N^;X9gudWF$}&4 zcl~F(iA}fG>pKStu$2*LbVif7XAOgy7<)yvl|95;j(SP&2RPeL(rK+&a%`3bwS_0bH#4`k=}EgAltbKR0L^Z) z+m#Hm;Y@%QkZe`7$vxovN_%1c+e15!YW6k_%M37WpY3YI0l)}sH8`zyD+!Q52qpmE z&!;|{s({sIg8Bj8%wJ5Z9Z>>{@Pg!lc{QKEbN%vUl;eL9l7O%n0+*;fqZ+_3~0>997x9!S4q)3@a;JF0000y literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mewtwo/back_gba.png b/graphics/pokemon/mewtwo/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e466856e50468578aba89b58585cbc18198eb3cb GIT binary patch literal 815 zcmV+~1JL}5P)wEwh&)r(rJb1{_v0RR60|Nj90{{a900RIpW5dZ)GvFg)@00001 zbW%=J06^y0W&i*Jtw}^dR7i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graphics/pokemon/mightyena/back_gba.png b/graphics/pokemon/mightyena/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1885625904ea2c54ac0e300824a9c63d520d36ab GIT binary patch literal 724 zcmV;_0xSKAP)5D@?W{{R302+E$r00001 zbW%=J06^y0W&i*JQb|NXR7i=_TeHx zv=27B<($sTC1blZD8R0HN3bO#9b(xVCyriIj0 zw}8Ei2O2jSQG<%01++=x^L1#Dpv#~mqBA`_>4@HS(@N??2RwU#TodKJ!`5TL%h1c1 ztF0#j67>~QEYB>gd)Yg17Cq4m+d$KGk){Dn911(3H0yzBo1xQDLm#0TZ$go^3f~th zXK>I1wXl!1HQ)-aNJFP*cLUH5xaN&f$^m9@6Lf6Nt`x((x(hSRz}M^!-!>|6i?>Y1 zyW$9*Ga$HvT8x0Gwiz@}l0^kdN-g3aXS#LaZg{tW9qtE!Z5~|?4&Y+&Mh<|;{;Iua z<;KAwO)>y#>)AQDc_{lYQyqbbTW?!vr`*2GxEf^m*XIvPvwLhaLEZuY0000P)DV$*lEHDrAPhxSff-SNHK>5)kV=yha!aaOrvNX~Eqho+ z*kGI#keQX40lz`thW`PcvCN-y1u|-@ZGZ?iAO*Degad>f%w_LDv*gP#TNh)+0@fuV zXi_3Wv;!bt&?T`n!10?Gf2RhN^G6i(rY3TK=M+UX+0nATd}Zdo!4IX(oRZArn8KV1 z2bd~&;B^4fNK+aB7FuRlPj@q=WrlN2YrMkmTK|IQu24d|<+2SBlV&zS$aU)0Ij{;2 zFNI8L1Gim5G^gs3+?u8_B@a=TbdVx1B!~H+DZgD1kI02jzQ5)Qdc@pm%;dk-6J%zO xOqr?Y1A^zl6VW$pAFla0xgT`P#{mDIj~~pSkLWJ+Yy$uQ002ovPDHLkV1i=gu{Hnz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mightyena/normal_gba.pal b/graphics/pokemon/mightyena/normal_gba.pal new file mode 100644 index 0000000000..42cdc8fc1a --- /dev/null +++ b/graphics/pokemon/mightyena/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +57 164 164 +0 0 0 +0 0 0 +172 172 180 +148 139 156 +74 82 106 +49 49 65 +32 32 41 +222 230 238 +197 205 213 +255 197 90 +172 123 90 +222 57 57 +164 16 16 +255 255 255 +0 0 0 diff --git a/graphics/pokemon/mightyena/shiny_gba.pal b/graphics/pokemon/mightyena/shiny_gba.pal new file mode 100644 index 0000000000..7881952af1 --- /dev/null +++ b/graphics/pokemon/mightyena/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +57 164 164 +0 0 0 +0 0 0 +255 205 106 +213 172 74 +164 123 82 +131 90 57 +98 57 16 +255 238 172 +255 222 123 +255 255 255 +172 123 90 +74 98 172 +49 57 115 +255 255 255 +0 0 0 diff --git a/graphics/pokemon/milotic/anim_front_gba.png b/graphics/pokemon/milotic/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a80ed6f94d572419b6a554ee7c675f057408ffca GIT binary patch literal 1786 zcmV zIWeSaQr^9s|JAhr=GBy}#f!!N)nY;JgIcswLFR*t|D=OzVte-X?f?J)v-9c300001 zbW%=J06^y0W&i*Ncu7P-R9J$wr`Nf3W-Ca&EISPB-3G-wC?*7US{!IE^1&7R7o3%*P#V1F zd0)xDB+(ZvzkZ*Op67XA>3yHC1!1lw<_Bhsk|1oXLr1(EZO35-Ff`oIp3v4gydJiT zDF&qYuT&VgjyEOLcz}i7P;Y$(P(A}>ldd;P$B1j1N)Ll+oRGJdh|T%FT4!js@UZDze2iKFyL7jAVdJ837;AO`v~mM`Nz8r51;_3&jDy01K9^wV-`UFefSv0Q(?h+ znSEf}&3V8W19k)e^8=u!69B%ln_48G*E+=Q>vvp&+9+w zxK0NEscmN&VD@@au-+A;=G7dx3c%SvHUK-eZ7;t)9UMzRfEw|t-KwK^J~2R90RSd` z*z*aO5aK#602i1e2O#k$y<;9FNvcj4TY&S84 z%o+mN2M4$gOS;+Zx0|c9J_R(eU%(V#eq`WuAE#P0R~I=T=W=$gjvcm;$@778bSAW< zg$W?RdyDoVe`7|YA*)y^A&4QbG$;1yCcg81qscU%N+v3^{CS4k8RvzSlCCx-v}Fb*;ly0ivh4b?Jo=@v?B8!uJC?{gz5v~ zB>0XO{aqOWa8;0r2Y3=$MHx?1FEr_<$gZC`0J}#103Y$&PeC&lQj%FX{B7!eZlL!Qm|nz|YdnsRw~2 ztB(L-6OlCS+wI(RW$W{j^4eul#P^z(&um5jo}UH)g>ODKW`RC0J1mWirrvqKYKH;C z2W}|J?fRzu(=*ntK0Jp_oxo4^4pt}XbQ$st)8qy%x*cc4LzcJnwj3k(;R9{CP% z5_Y{eLo5%DyiN`QaG-9Z2sxY~F3cmnle3ruO<};`FwhTd8isdKrqr_P0dVc)@3DTs zBnDG2-O30CPbum+DaM}vY2u^QK2DWyO^z&enNE(7Z5pa{Ljk_iMKrsNgJm3%0G|XHb_6iDwZ9ZL9nE*)>j-R~%V8tI@ae2VnRZtmw z61>QuAmmjJ6pOw*!1f6Mw+sN5cZfx?_7@641W4i#v=YfNAWz|+783`>2_RhQ!qz&2 zPFl`OIht$o3LZoN7Z?84LxGT^64wdS`aoRcTaPEf?~l|6!U&`RzdcR>tfjd*@^&5t c<-^$gKZ7B5!VVXuy8r+H07*qoM6N<$f-6uXdH?_b literal 0 HcmV?d00001 diff --git a/graphics/pokemon/milotic/back_gba.png b/graphics/pokemon/milotic/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5d91dfb635a23a908b3295a430432514d9071b1f GIT binary patch literal 588 zcmV-S0<-;zP) zIWeSaQr^9s|JAhr=GBy}#f!!N)nY;JgIcswLFR*t|D=OzVte-X?f?J)v-9c300001 zbW%=J06^y0W&i*I%1J~)R7i=v)WL3oKoACCmKP|92lRx|7a+sIcp=LA2K9Z)ZRy2$ zgWj56n!Z)vpvKOUD)bsxR@sl1fTlInEp8<4~n1u8Mu4O+= zEE+i0?e7sxLOI0#>KCx`9fBVPu=JE8Ri4c^SA*7#n z2`~>uU^hnqsz3tt5(krl!ISG{hN0E~i>h&+$FK+ZT4Tn-)b9?UXaKw#vrjq_2pr`M zn}DFq<*REGz?c%`n>oxfppFQ%RKhQc!h%OSF(H8m5QrfA5Wtj{bC?qV3GhMfi`bYK z$fXLj4zo1Ij;S<2F@Q0GqqJ@-SRgI874q~Aci92<%V%R82hnzPg0^E^{u&C#*T6uBz)xq3SKz5;OuoPh&3snU46IXMiIZTwG068*||EUegH0!0`qC a`1u0QM6)m^N~-h#0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IMM*?KR5*>*k}+6a#|~E z`3zLZaxB)>7HqU+hzAF!OqEbr@)IAJna9|lUcu~t3%2aQ{qZAkf5lIcr8vaI!gvA& zG}j1bL%RyqiUlL{P_N(yR+NG94cy^b1U#bd3A_VHZxFoIbS6CAymoAwOaei8-8eqe zEnX?%k2AP#1zd)Q@M^xC2YRSHS5~UAPnXz_(}=)TwMhV4E4*>3JdW>Zh0MyIA`l@f zzX7a9WLai-a>!aNYX z5cm@2Xt>tt%qWa<#tj=lVbq}=Y5J=$N<&A0gwcIv66k6nm988mth@jUqtidLWgNag xY{haMJ_?h!WQxM%3h@auIl$C4?7R5AJ^^wW=+;SSU^f5&002ovPDHLkV1gl%$;JQx literal 0 HcmV?d00001 diff --git a/graphics/pokemon/milotic/normal_gba.pal b/graphics/pokemon/milotic/normal_gba.pal new file mode 100644 index 0000000000..df5cab01a0 --- /dev/null +++ b/graphics/pokemon/milotic/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 148 +115 57 49 +164 106 82 +222 189 156 +255 213 180 +255 230 213 +148 172 197 +139 197 255 +213 98 65 +238 131 90 +180 82 65 +230 131 139 +255 164 131 +106 98 123 +246 246 238 +0 0 0 diff --git a/graphics/pokemon/milotic/shiny_gba.pal b/graphics/pokemon/milotic/shiny_gba.pal new file mode 100644 index 0000000000..8a57b80b20 --- /dev/null +++ b/graphics/pokemon/milotic/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 148 +115 57 49 +164 106 82 +222 189 156 +255 213 180 +255 238 222 +222 197 0 +255 230 32 +148 156 205 +180 189 238 +90 98 148 +230 131 139 +255 164 131 +106 98 123 +246 246 238 +0 0 0 diff --git a/graphics/pokemon/miltank/anim_front_gba.png b/graphics/pokemon/miltank/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f702f11436d5aba9723eb7d6ebc9bd30b03fdee7 GIT binary patch literal 1271 zcmVd(T3T8$F)kn-&l#hO zFabXRnMF4?@u<+5SPbl;mfciC+kD3lL;{`g$TEE@3{5k@q!UpeY{1q=wT$&|FOJvL7RpN4=-3}~IV+g|S6e@?KA zfpLgUP8n+tvvK7s(4D~nydMGcY`nAs4cBeLE}r~zw#a`MB}?D+Jgeb_KrVq&zJqb^ zXxBR;EyjohfVYl4F}g%n0Y5#sFNmWaE>k{%qFmuQ7~%g@N9i$HTv5qtp9{u<#7C)M zsLx1So_sZM1~&q=ASk>n!ZG`Y3jdFnXZ(AHF)sun!&qJv#H+DkWUr!ltPMk+qWUB@ zjDi%^?_+}hOwklpyp2^!J zD+t2{$z1$I~ h-}x;34qiHq_#3GooTb73<#zx8002ovPDHLkV1gQkOqc)w literal 0 HcmV?d00001 diff --git a/graphics/pokemon/miltank/back_gba.png b/graphics/pokemon/miltank/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0cf5b21e68b906d25ffbab3139612459dc94efad GIT binary patch literal 731 zcmV<10wn#3P)d(T3T8$F)ClrfLfFcil#a6@&MNL>$!p}Co%_DCb7xDpE$qSy7l zMq#-b7Q_Z$a zGCv<~>~vz>J;&_sG;lur0a_1F16pTmDUGIYgivPdwaj6q`||_*TV)afkmar?S2+pR z5)hDim#8FEt1Ke{C@Jrc^GG6K1-%M|k7g*S0g!pwU7?g~QzGaCP8|S$lCl;gFMEJU z>&oVj$)(o1r%|jurxl81*cTf>k)hx({`Br;RSO{Hmua$TXRtLuZD2Hx6e`EPwk6cS ztSvaGEdfSg06uLCG~=|{jUnv<>~-V}DPuyk0Zme61yC?H74KTWoR+PuzyLZ3w;jL= zun3Mlv`*t0=821Oh*_|xqz9Z4ptZ~Ks22FZ5pW$}m4uY~aWuM0nSh;N1n2KZW5!B- zVB-;vn2FY#Jx`~jI5vCCVv}=m2zQ*nS2-ze^1{z~vqG35fS)5c%ALRgAqie7C~V%87-9_syrqB+!{*Hk71Gx3 z>~SeY0OgH1njoD=hwcz~B>o znKvC6!<)|@@WmV!bx^m+kAUw4Tu=$tKs5>om9V;4y1#pce?08s zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H-AP12R5*>@k}(d#FbqX=gD6|K9D;?dXJYDDb;1lN>WDZ6TO}Wb zOEl`xR2@EPD-w5O1f1>3-;R=})OVLws^5X3*X6EZ01l!>dut4k0nBoYBqhjtlS4YV zVWNu7KX$~utc;? z)+|W&?ux#M!HO7cs{>2bfsKKQPl3eFXQ)z9cX}To;-2fYmGbUcq5=kTORW6=`rrB4 z$^8H}^+(FdYxKkD)M`k>mBGp9rhqU^s;f-CHwIJ&(xqH)Mgdg^ts4w?t^&eHnp&KP zQL<_!Wnvg1x{P&0ZCLN%M%A}^7E^#LrT?R9WeNZ&4)BTo{LnW}KoK!M-Ul;IaXwgMAE@qo^@h^Eb7r|FoRk z4j4`v^8d2BQuD^W4!F6~P0i99JN-z?uLeUQtBrU>R{43YLo}=OTm1E zxK|UL8v`_8_}|KllmUor#Sd+o(6qk`;)ky02Q=%naqxb{56u4mSn)&W_xYif_pie^8?Tir(mG|Iz!bF g1}J`lP5tZo1;6_GL?$by-v9sr07*qoM6N<$f|TW6s{jB1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/minun/back_gba.png b/graphics/pokemon/minun/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7c1377d59b5b0f04a8a1ba0a11a915fd2a7948c5 GIT binary patch literal 575 zcmV-F0>J%=P)Klef~kT~xlSf<4Zvct43SZ5 zl1ZXmnj`S77QxHLIAgicBg&ebVT#yRXH)?dp=wTwg_XV$o~mJjL=D(SBntR}QJU2O z5fQ`a(Bl&zNos455sv^^41$2*SCLjktR>J2D5aMIXaooXgReaFY0n2gZ~92&;GcIp zg1|NEJ}RHMt}7$PS_7#TRREZQ3GKR_Juo&0C>;eLx-<1SDS!cwO~9n+Fl-#Q21G{y zh&VL?7s`iQY6MzDQEsMRE)9#1`^4SPlyTzLNiX*m!ppfPWw`gOxcz z0e)!lNju`#qJ?h6B{Q~f#&cb$Q;d1~0 N002ovPDHLkV1j%y@lpT) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/minun/icon_gba.png b/graphics/pokemon/minun/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1aacd776a20ada82094c745415e8f576bb62354b GIT binary patch literal 296 zcmV+@0oVSCP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hrb$FWR5*?8QZWhwF%aAr+`cMx8V9bB+;`IDAHKuliokurMz9Jg zE{z0ZI5qAG)`~dY4zshfFhoCx5?^NPhy}@`i=6$`i0n$qzN#LAeNm>)ZH1wrw$gV7 zlpe$pP5=gul1QV=)6-;wY#pE48A`hzX_m>(y@rw5y8wjMH{H>!6ht8$=#RJfU>&GP uqSk?ZWA1gh*k*I9gBCkW9c29PtHTw_hjlv4^>jx70000T9p6Q#d{zCy&xF>S}FgOz5oCJ9iTDZ00001 zbW%=J06^y0W&i*KBS}O-R9J=WmN9SIP!ND$%;IcuoFNs7YHX0wrNVw7rRs!zNK}y+ zB3tU;XqT=~I@k>dMyz9z?c4VW%>jl9 zK%PF+1VA)mGpZ4TBGnyoh~6w}cC3P;QeErzc2?85a*qXYOR1&n&=}8CK=t%!Iv9Yh z8vuG^GD{W6d0r2E0H}KaM`t(MDp2w~x6yrvc^6@kcFl?0&a62Ad7SO^1~Vv|KTH6}J$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;!o`p%< z<^xQOc^0Nrx65B)sv{0zoKlA{)3Og?{I(wpGx?#yOn~YU=RlK>@W=TEWsQ`pM*?T8 P00000NkvXXu0mjf8}gyN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/misdreavus/normal_gba.pal b/graphics/pokemon/misdreavus/normal_gba.pal new file mode 100644 index 0000000000..c57ab5ea74 --- /dev/null +++ b/graphics/pokemon/misdreavus/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +16 16 16 +41 74 65 +74 106 115 +115 156 148 +148 189 180 +255 0 246 +255 246 82 +172 16 74 +238 90 148 +255 213 197 +123 32 0 +189 32 24 +255 90 41 +255 148 189 +255 255 255 diff --git a/graphics/pokemon/misdreavus/shiny_gba.pal b/graphics/pokemon/misdreavus/shiny_gba.pal new file mode 100644 index 0000000000..8814515be2 --- /dev/null +++ b/graphics/pokemon/misdreavus/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +16 16 16 +98 82 16 +156 139 49 +213 197 98 +246 230 123 +255 0 255 +255 246 82 +82 65 32 +230 189 65 +255 230 106 +123 41 8 +172 57 24 +255 90 41 +255 197 49 +255 255 255 diff --git a/graphics/pokemon/moltres/anim_front_gba.png b/graphics/pokemon/moltres/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2f49fe6a7acc364e4d80c50a7314e51f3a697b87 GIT binary patch literal 1851 zcmV-B2gLY^P)4z_gn?R!x=+hy zs(T3`L=K$n9)lpDZrMbY^$D@%NOd=+@HkgOs<8fp2YC>Q5|q6dvUo6{!fGXI3xQ>q z({|F0SpuVr=x{rRoYsj&>V={ju|Wr2^F+vuy>YYTHfiNqC!yf9b>1$)_e1oLfn&N?a1H>ZUhxNMmPk82=kx7h{5 zdZR8`RP&zivLI-X+R0wD$M)rBQgbSRjb=WDx?64w0}v9aTa@P0PzZ2FC?(`6dJ=;H z%%fR2pi^;joI=pyxZAW4Xubn`4TT#dC>X$2f`O$mys89X9p10;WXM6#f%nZN-qZ5U z#U+}=2*^`@8AV+X^kII;69~>z0*f@@ni=gu8ZiXZ(K{INwKsE(PGB*bF%jVe%v1-47k=1yW#{6j z1hqDfmIRQD538p&S?4-!J^{fHmgc!2NwVzW+Ky=pLB)5UFg)o z-dZ1T-Y;U*w!_;ycOg@(i#f;f=b^T_rj;!0XlQT3yDZ7X3NN(HAE$!(EVnl4c4QV- z$6!{w{w(mJkj}&8`uGNcHj<&w!(?{T{J%WN51)OIABr#f_3n=R(1U9s7hE@h{P4DD z*Pa%9GB5anPOpeyQR<3E@I&2J7bP5T=$U0t1V0c{Sg6W7=;|_p9}L;uD?MHG{wtmW zKUjvm+<_n7Qpailf|S;f{2*OGez2f%7sw-`M1H8-iXY&5uzl*6?mfW|rtBZk+u@3} zDJ^4_;D@>+d_aBxLA}gnf*<;ZB~HKSXoh29_tpcEEy)iAo0up00ZE_^0)H`26Y_(? zAmj&_H|nl7m#?DuL3X{I9}LHZuAw{-`~Yc?fgwMbCPYm?;Rj8VOA3B4M5HBtfUOA1 z{2)>xEl7TV0YfSzKVXw80fy+z@)FGX0R(n_^XB}ZHY?``VmnYZu15=gKn79egZu!= zcKvDhM<4qG?E`+`x+%dD$?os1wRlvE&H4wYQSc$ z;)kmxBKaYJ-uFoH0~&B_<%Hyirzx=uen10O0Wk{$_L9APOiTO#Meisd;R%?(>^AM7 z;0MSfbyS_hk@1&(7g#+g^F!0JAJq z(}EuiQs*lNa9D+(F7|E_I5@uEL0~~9?4}mT!!pGkRpYX$h z;0Hr;G~Pfr^MjFB%uIebn+j^|CVn`R`w3A3!`;Xaj%@C}Rhz*NrxJ{-&P;xgKRT+v p&E$vLzwtw@C&vEghyMmY`~y>=3`~S`kv0GT002ovPDHLkV1fora{&MV literal 0 HcmV?d00001 diff --git a/graphics/pokemon/moltres/back_gba.png b/graphics/pokemon/moltres/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..11ed8ced86d6f78cf0730cb8fce542f7e5a9b8be GIT binary patch literal 682 zcmV;b0#*HqP)NVhBg_Suq)l!caknGtjFW?{h$7SwGw0hX+hDac!8_l zrG;CqdklEN6$hybnFhF4T52h!Qb7N!5Fo8CKw>Zn4I1@iggzykb^-o`3{GGqWj@BI z(@F&nS^{bS2myuY5a7TxYVe#Osc_8aZ`= zM$<|sft=u2V7!r-8r>)|d0vZg)zm3kQNLtx|kTdwz(euj3PHdr&^EN)k?BfuHpyS6UsE!2M>#Krln(?sSCmWLO2Z)cq*cIKGi zE#I7XG9rL1+8H-Ng0pC42ygJIo%(Rm%18n1zLg=O7U*RwBlAFTfcM8??vj8wHsJvq zUV*y<;C8u)0MWegJ=zEeTCm|II#!)vzxC)o0Rj8#@q|929-{;L`}~LX7cbAPE^iXr QCjbBd07*qoM6N<$f`;5T#sB~S literal 0 HcmV?d00001 diff --git a/graphics/pokemon/moltres/icon_gba.png b/graphics/pokemon/moltres/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e15d2164abeed1d312d20ad5dd43ca44d7827537 GIT binary patch literal 421 zcmV;W0b2fvP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IBS}O-R5*>@ld(?3FbszC1ocA^#6}maY-Bsen|j{xt9H19t%`IF z8I99890wB;3uH<4>$m^N{_5OcJ|JI&!jiU+)Gi22X){SQAuuzz1Yv5HjKrk~7osj; zDO{L{Eky-pp(#g;kw_)uom}#T_xO-WtcMmo?N)yqh(Cn4z4ut-P04ZfK4YL_g5b?4 z8itlT9FFIEHz0=RCcN&Bes=DJNb@GVEXz`jCwy#<#lnVV{=pdk%>hX1O3+2}m7!3m ztXg7oF*!=^tfb~*O1(-sgE2Ax?(YB1&F-wEi&|3u0RIpW5dZ)Gx8sX3SQgQ^@qq z%9d6;6JL7u(@A>&dGGD)X#PLLxQfvTXQnRCFImY;1sRjZPu z6F?gC%)F*Y^ZTE6DE$HQ^F|~nu%_@-)2`7f2&U!o_Go@A-W4%=R-(kv2jZ4ztdmt z9+pcmRm?r>4rjm#gi`3w&1&sI_17XHUxrXLHu;5biWEv#xIml7oR{;fBxj_|DDv<2 zHU6^rsen!h6+c@g>qf}6O#6eOpvf2rgp@!BvW~H9MsN6@qgj1TR)h?2+ zC;k@WAn1`TAxe%@{;CJP%)krfD}s=m5I3Ddy^W#>#ey5Y())yvE!Qk}*o($&%HP0? z@x{IX-R7)L*?c=#;QnF{=HG(m*E=;<53VlX^ zpn>AAiKOqDw2Gz63P=TCxLj}*S8>G;1Hu31hnLjH530k%UFwC$59tx(y%0S4SPCRR zv`3BiJf717SU)TIAz-{00*ME+RPuvjyj};A?++pIAZWaOf#e6ecUKC6#(Vw{O}bC> zqS|* ze`6|Oykkjw13n%WS#U~k|kvitl1?$3@{K!8#7->&HM zgLMBotB*cHJZ*~Zn?F2$0Qc_%X$@E|Azb?w;0@pbx)tdJ1p=YC=)JuV0I`gYVBj=@ zy@~btp`tl$MhKZ7@qavika(bp(^rFuK;xi4DF?IFXc=01uj8gm~(6hmk3eninmSbH)0!-ptW bp^N_j0dY>^iM)FB00000NkvXXu0mjf%tdl& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mr_mime/back_gba.png b/graphics/pokemon/mr_mime/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..129fbb4e2c3c23189b6c17dad86875a926249ca0 GIT binary patch literal 677 zcmV;W0$TlvP)tXg7oF*!=^tfb~*O1(-sgE2Ax?(YB1&F-wEi&|3u0RIpW5dZ)GxKlRsC3oXc`UqJzb3l3KV9=cuMJL}KMgm!Mpv%SyryZ6qo zUL*9N|6i8BYlwF3yQH0;ki1nNyY7)`oE(tn1|fVxjt^QL3H1XYx{Jl!7J?9{56zB* zf&y`u#qmc<2^m3YUTP@=bQ;I;ds@mj0G}>(o^jp)ORoWFU@2?CLDyw2=%~3N$Zgd? zG9?_vBq(EBV#Y5?dnM|Ic&(HZ2p zz!>+Z8ep$CmQ(-=d)gsojX$u4GNX>qA1F|0)9&A zg${zJ=nk)NEnTh@K(T}1Y4R61lLmMU!T1y7hF;Hghh3h2;S+BQ zz#l3%fPo8u&H0*N*UOlq+g1ZN2XoEm^(y5CFc@fH&C?2a(7&SJ)*oK20VdVU00000 LNkvXXu0mjfoRcxT literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mr_mime/icon_gba.png b/graphics/pokemon/mr_mime/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b1e3b2bfb5c52e25e68bd75bff4f70e3f3a8219d GIT binary patch literal 311 zcmV-70m%M|P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HwMj%lR5*?0k}(d$APhyh0e4_v&4ARUw@Ia}T%$PxQ|7R+mrJ2U zLP;5ZJq4G{m0H!~)5pf}g!t)_XaL3}0Eu*veS-JfIMp*#e1yAWkrHEI0U@shTw>rE zjYr_XuY=Du0uTs;Jpv|!ii3;pm9A5z%DRUwtcP4WQ`i*hx*B#*0!gaV%5!=Ln`^-7 zmHxNBMi|iuBXANXYfBbYVaTAHL16}A=@b`+_5ecj`}-&TcmYh}m7dYOpAP^4002ov JPDHLkV1nl%h7AA! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mr_mime/normal_gba.pal b/graphics/pokemon/mr_mime/normal_gba.pal new file mode 100644 index 0000000000..269bf45edf --- /dev/null +++ b/graphics/pokemon/mr_mime/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +205 213 222 +156 164 172 +90 98 115 +49 57 74 +238 172 164 +230 98 74 +189 74 57 +131 49 49 +255 238 238 +255 205 205 +238 172 164 +139 90 82 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/mr_mime/shiny_gba.pal b/graphics/pokemon/mr_mime/shiny_gba.pal new file mode 100644 index 0000000000..c20f8dbf4a --- /dev/null +++ b/graphics/pokemon/mr_mime/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +205 213 222 +156 164 172 +90 98 115 +49 57 74 +180 230 82 +139 189 41 +98 148 0 +41 90 0 +255 238 238 +255 205 205 +230 172 172 +139 90 82 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/mudkip/anim_front_gba.png b/graphics/pokemon/mudkip/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..712f3ce5a85e3e0386d2de0d15244bdef8b26d6a GIT binary patch literal 962 zcmV;z13mnSP)cL>7^l&Nh(!pyf)Kw^SNNB)I7jH^B zwAmzkD(#RsOADshXoyoxK1e@+=2Q<06sZ>%789~!@3K)ac+FoXFDlQh!8?A=d;ZXU|$)M*c zGzFBE%FgALhHVqeYk3tV5t;_#%I3~^i1Fp{P+G4@r3^yJ=@BaOYxp-F55Gy0^oll^ z-bK737wCMpDNEAYdkQ@9&5$p^g8)RP9bg4CeUhqL$P?PaQUH)jfesv}sHJ5>j?mVY zlve>*^5vY$?IKza3Y%}vP*P0#0XS@zF71wfR4p;%8({(v>r8YBl;z*#O_8H?dYJ;Y ze-Ah1kf-U#6Cn6L(c;PRY7%nC3eVxKC!HMRPCGn@o7bYym_%LAuGxq8ra6qf8bW`- zCHCzF*8S!du9@+?=JmJBBJ7;6V>SU=!`~UXpaWpd0GQSibd#<31UA`f1+&8M)&Ofr z4`7LrS`W_z+Oq)0j20W^ zuV!u$;$rb*nRW=u9qP^^%g5pbWag_RxYR%2*@4o9UXn;yu1tFIH7Xq zI^t5!AwR2UnQ*!DrkGA+1I#Rj%AN1xujxm+F(P&*RPJ33AEkTP26_JqleH;u1}rZyZf~Lv-4l8= kAh-kife<~yy#DX{4GPFAWV0zc>Hq)$07*qoM6N<$f>C(DF#rGn literal 0 HcmV?d00001 diff --git a/graphics/pokemon/mudkip/back_gba.png b/graphics/pokemon/mudkip/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1b1282d42b42a76bb443079eae6d263e7e3c9cb1 GIT binary patch literal 627 zcmV-(0*w8MP)4)IV$6KokIQK@9N{hljjm=!ZBwgg^>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@AE4FwH%NR6_nOkj-NsVNq$2{#A(ND0cf~Co240qQ|ES-`P!kr}>{$>&W=)!SJ z8+8;2gqse+&V{)pfTx7eG{oPx*L3U_56s+4Y;@V~(cNssg+N#aI;ilnB@#LcfS8N$ zI|mBooH4Tok9>ZyOOVz{IoBVzVg73N(S#n59}G-Ff|?5n5?2|23~tFQ72cr;@HlFW v&VQ8`1A@ZjOL%l*PE&$NxpbW@%|9HU1+vMCcLERk00000NkvXXu0mjf35+Yk literal 0 HcmV?d00001 diff --git a/graphics/pokemon/muk/icon_gba.png b/graphics/pokemon/muk/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6d8d09350dd4fac4e4df91216aa4caea61f5dc6e GIT binary patch literal 441 zcmV;q0Y?6bP)DV$@l0A-uFbqaH0UT&rItngJ=ZG92R=5Jibcqborb{&5 z`~Z_-wFlTu=cmt(A+Krv++p79vSY-h1|c9~9q}G4zUmf~9%Vg3v7g_d3&_iC#5E+~ z)T0NzUjq=KA7`^)0Ue11IEK&*H4(&{%WAEBp!#}%^tJ%&K_CD-Kif3{leX552LnPU z@Ej$3b|Va^Ga$=6PTm2K$)L47AjdwdU@cQ6vlB>ysO-@ifVfFNU*Be9ISofXM`&&6 z%>RSaF@MzQ2h}!o3w{dINtka2DHf{g>4Ic1wI7RPf_G2xLu^+dUNQ9}!4E%9aPyOQvwnaCwuGLq}yRr zdlA^y?6rB4BzxcQh&u~fg=rd`hp}s$zY%!*?2eFbKnokuV=V5Q$>AWGY;~q+K}Dg9 zc8mk0b`Ki8{yq^?XBP0ZXc2M7eEb@X_dTsEXs|GgHXad0pfSAmQgA7q6^F@j2}-FA z=E+yjf(*Y4fFXNi)Un~)Co6DM2^3eL(!t-b!AdiqS!}^T&IujJs|^Rh;z7n14R9Bn z;~{KvDx^xOSTG2LaJc{y=JOC@QJ3Wkd86W(am9Vh|Hyp=M!S^^0-Sg8K8-%B03Giu z>zVVO3eYIc=y1^Q-zxxcaEpV%`9*b~(!vv>F*#N0c$}wTj%##)erlf9>E__ZRCXx! zljQ8^s80Vlxu{#(7L~G)HMK*rdFN7s#dkCnlhS80KNn;BD+p*LYvnC#t#0n zr!|27rX4K-@M%arH4w^#K~yP5r}_KGTvdQ*;rolf_^KyEI*0VeF=1T2+#(fYFm}KOIKu=od5%EY!ia55Mkm+3 zBzgD4D_P)Z;%!WsjosT}@0@soENlZ4N*pm<0~+J;5EDi*z&wN;o+lJAhx=7~lqb}p z(gLi&ssQqk^8jRi)fD8bPiek}#cBD?c!&-DhUS3YVsuuTlirpN7*RM0@vO7*|Am1L z7$rAxH!aSx^0mi{+#$qva47_4B|sNq%DX9Ocw;k8XI0T%Lmf01{aH{7QTgujtvOt< zQqC)2GDFR(Lek&D2qjecC9i%8H|I4vrU$T&57fF$56~Zvl)6k0=Fj6qK|H31!-He= qsi>#)fFEh4!&7=ltMyg=)A|FyaC^v%{ayKl(BBxFc5}skOFk^Lu5;rzJgIuDY^(5d^Eavvd)`3 zRUG>YSzBf3+`)S)APA4UJr zkIFOoNl{sf9neI*Xhut&D|qp$oB|}70;DVFN`!g20LV}Q;M8#y0vJSGjC(jGA>P@A z=vDy|iUi>n)daC1R}$fZ4OD^>AXt;ikFr5zTNpxdjQ`>*CQ=oocLYaw!7>7J;Ys-b>%AtxW2Xf z03`V>$#K*B)st3Lffw_zf z1AT(ORsccJ5t%7?zm=Y-QOb3>QDR;6W+2X)^6aJSs~_Ch(s_SV9GHNSdzGGd+SQf)`u6J}~)~ zfkrNkXsubKt5O^yKx@r_51RoiI%DV$@l09<7APh!1fi+yfoFPqS(m2<16}NVpEw;<8cD5JL zEiUv$p3DMrn<^3AgAeiZocmh^9i}qE3FK%3$UY)<^F9c3N)=I15*-==I3(iOmV92l z0eN}ApigX literal 0 HcmV?d00001 diff --git a/graphics/pokemon/murkrow/normal_gba.pal b/graphics/pokemon/murkrow/normal_gba.pal new file mode 100644 index 0000000000..1d8b5f991f --- /dev/null +++ b/graphics/pokemon/murkrow/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 172 139 +238 57 65 +172 16 32 +41 65 65 +57 82 82 +82 106 106 +139 164 164 +255 0 255 +106 74 16 +156 123 32 +213 180 41 +255 255 82 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/murkrow/shiny_gba.pal b/graphics/pokemon/murkrow/shiny_gba.pal new file mode 100644 index 0000000000..4524256e43 --- /dev/null +++ b/graphics/pokemon/murkrow/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 172 139 +238 57 65 +172 16 32 +98 41 90 +156 57 139 +197 90 164 +238 131 197 +255 0 255 +106 74 16 +156 123 32 +213 180 41 +255 255 82 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/natu/anim_front_gba.png b/graphics/pokemon/natu/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..02e1e7894e6825266c5d4f66021b9bf370ac86a2 GIT binary patch literal 512 zcmV+b0{{JqP)as2N|Zq{Vk!ULLCvf=gJK~6N&w9{0D~z2&CSh}l$26ZQYk4ZL(dC|00001 zbW%=J06^y0W&i*Ien~_@R9J=WmcL5GKoExmDhdJ99F`XG-e48d2_9Gbzp%P4XKR&o z2PtxSg~YoFPQp~E5zv&9lz(g*l|DyVBOsk`&4~3NZkH>AaLgM-3x4P1waoje*qR>yN z8n*qg24b0xY6vDJx$GC&k<|2$<(y!`hz`Ju0DwgYAa+4qpke(suhJ{#gva;0w9M}5 z2Iu4XVUt=y132u627|%yFVMeO-`Ht~Ka?5!LB{|_4}KJo70lOM2?ke}f-(HPV37VG z1EgS}Kj=?E15tv3{-9qr8i*2%5N3Kkh|xfBh8SOey&j-}L^z}L2V$3A^5qZ2Dq6t^ z$>+Zn4B8)B!C?I1RS5>;4~<}Oe-|Yf48|V}2E`}EGqUSKtsYkZ0000as2N|Zq{Vk!ULLCvf=gJK~6N&w9{0D~z2&CSh}l$26ZQYk4ZL(dC|00001 zbW%=J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68~4F|M7*b$Xtg+m+}8wxnX|StWvOO;|V@%w*dou7un7JG44;slqSPl02We##gW_n zq~`ev_h>}8XZI5_q5={viig_fCwMFR!h>7~{jm87)_WR;g?`xl1TLQR3%k&EKdF1n z*u{JFA~S(WMz)de9H6pTMh| zHgusM;2-ONlTLcQo;LcS6T2L|=ysp$!Y=H~@|$N5JYx(CW`R zPf(01&wWNV-g( z@!5h<4@Us_QcnPog~fc}7y&WonLu!v5VBt`=T)1WJ}u)7kkx3dm7Q zDy`ua=jIuIA1LsP%ble@EP%2>NGPL5Kw4-Zya39Vu#Q1$VM`_YH?AQs=M~X9<+;`n zs|*&QQV~`99n?^s8{31#_H~|5D*c6EOwcckVEC(Lq!0}FLxID<70Ol=s1S@|P_i)x xzYxx9t6v+#^fRruwqnXIQb6smvK{s!~NcBAY_o8SNd002ovPDHLkV1n++C$Inj literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidoqueen/back_gba.png b/graphics/pokemon/nidoqueen/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..339582c54c368c3f0cd7b71d97ac46d16f6849d6 GIT binary patch literal 761 zcmV4l)aAIFbv1@0&&n6=)FOg1G;u-`UcHbq*F2#eL*Qc z+-yqelqII@U9x;jr`T{wIf*ShKe*8&kvG~ty`Rgx$J&gbJqe0WtmP@xfCLU`f&gN55@{9 z)f`At3uGG53ILn~)~57(u0ab4%FJu9R(geKa?JsL&VZG$LRE;?SqXUBJ^)ey28{p< z>a=?RWZ*z~AvGn~ZMH=@1%Lq1mfBFb-))_mc1d0YFbtgb`)?qo)29R#=0^&|0Dw45 zfQA7afGnLAp$y3owA}w-QGFF>=>S{I2f(@PW$^Msc35KrAqNlT1B`dV9;olmc41x> za>q}4ES41q&r1h^VBqy#TSfqB-~?|3mq&lE@0&4@(2QwSGPs+5YD}aPpEWQx7Y!@{ zM3`7SQIavA05~pUu|h;O0ph#SBI?1}Q8*I=6r#QRkDHc?iUHdew;~k&-h9Uqur#bh zdT#^$*Y%eghb|IfN+)hA8DFi}>(9^i+X#^6BIH#<2f8Ewr$}g8`O7teV5AYo6_XUM|LkBitGO~UmhW}%qr3*%`Ly$VhSU?LK!bRDL0^v;k{7>_a$ zFIe>@07$93t{s40M%m>zfVUQlA;nU7YV#%|%T(oRoPkdJ%XM4%aq23H6$2zvbDJZb zDV$*lCe(1Fcd}e1zOC82V_b9j6r&LIU3Aqw8xu`Bc?kp6TXXo3B941w=hfb)-Tf*u>7$Tou?Tda=Cd zAk|r0-l{cq8@pr9D72(ER))DG5&?4Dt9*mBX>ghxs9SnJgE1$n0IWwKsvOz#+W;`B zw3BEg2dFz8T6X~}SG}S?DCyG`UkQzV2(s)ewpc&t1$grPBhfP9z3=9VoLaeSAZ`Nx zbbd`3^G#uLYZ6A{S{N0zatVA2b08e^SB>{4VTOkBoFc-V{a~Pc=EV=V8T_yxA3DLN U*A(z^C;$Ke07*qoM6N<$g83+<8vpImI9lN`v+gVzd}JbN>MU{{a900RR90{}2!m!YqX+00001 zbW%=J06^y0W&i*Jcu7P-R9J=WmOX15K@f(o&=qPdPDDk@%<77yIO82{5f_q>Zd=*f z)k3=a7j_>AIGsTRqAHLy;eJ)PGlVqq$4N~JU3QfaT&7u1}W|=Ra z!q0s1K>=Kp^48ZQ#Cd+Tm;*?@@&O|OdH(gCh63W2Zwh&?Vw0)kq+1Gai*`0Va! zAoWLZ4g{|$AapHWl=zwgw3B8zLccD$=K_!vR(1$gvyuc!IbkS%5P-7zQ7P9eFW?LY zl%s_At)=wWw+4el2`brTFcNMJ2BoY2(qQ<3M+U?1;2#+bV$**Oh9UezxY9OnQb`JY sYmL3L+U&6ZTmP`jUs&ScAD(pl0zv228@?pXp8x;=07*qoM6N<$f)Z_7#Q*>R literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidoran_f/back_gba.png b/graphics/pokemon/nidoran_f/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5173e952efe4602db3e22a186f22c9bc27cc668b GIT binary patch literal 593 zcmV-X0ImI9lN`v+gVzd}JbN>MU{{a900RR90{}2!m!YqX+00001 zbW%=J06^y0W&i*I&q+iKld*2wFc5|{gtH*IeSxF7$^cJXvZ%7@r9)uR7SJhr zisl)Vy&lxDQ=`{%fs8dQduB+7CLUV#{>jw1Zpwy+3FPXPcH z&1}9^teiP2rT{P$yS9D$sc1nRAdiu$j0dN#2bA9{(?rMcTm4w7Z4c&i5*Rw%qT{1^ z`eFd)++M0@89FgIDOVQoY~-s(YDVw^L3K9kVkShr!_@o!!?RsEDV$JNR5*?0lA#X6FbqWV1s+ib l{6%3nHj*|O3iI23d;pE$hj#{ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidoran_f/normal_gba.pal b/graphics/pokemon/nidoran_f/normal_gba.pal new file mode 100644 index 0000000000..daed295698 --- /dev/null +++ b/graphics/pokemon/nidoran_f/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 189 +222 255 255 +197 230 238 +139 197 205 +82 139 189 +57 90 98 +238 74 57 +197 32 16 +74 131 246 +16 98 180 +24 57 115 +255 0 255 +255 0 255 +255 0 255 +255 255 255 +16 16 16 diff --git a/graphics/pokemon/nidoran_f/shiny_gba.pal b/graphics/pokemon/nidoran_f/shiny_gba.pal new file mode 100644 index 0000000000..5b6e230fee --- /dev/null +++ b/graphics/pokemon/nidoran_f/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 189 +246 213 255 +213 180 238 +180 148 205 +148 115 172 +98 65 123 +238 74 57 +197 32 16 +98 139 65 +65 106 32 +32 74 0 +255 0 255 +255 0 255 +255 0 255 +255 255 255 +16 16 16 diff --git a/graphics/pokemon/nidoran_m/anim_front_gba.png b/graphics/pokemon/nidoran_m/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..84e9aa98e0db9e9f39f53e38fe0d2f6c013f25bb GIT binary patch literal 951 zcmV;o14#UdP)R%R<-piO@SgZkox9C+pU()V$rT)15cMKVVQ7pnmOl=&+6%GZIO#i zHqmk#tfOE10jK*Y62RJK$N__?1b~T;?mL}U23w&I=1)NP$v%Dn9uXblh?B7?0Qx8Q zEhRBi4V>(=;2wc~osnw@O(f2T3iCM7GQw14YrUZYenelP5s1$}s5CHwLFj?@@o2$g z$7>KW&8s_s+w{CqF|Rat*;!{%EI`0Ht=@vO;|x%AVF%jQ(-Fvux$6zcK;%objQyPR_CSUYtJMtvk~9gB zrPxv)$$6{ht^5vPAaiWz24 z+FnR(n_=d%fBcj4qtEEFc$P(NS!bBNuUst=33dPuHBP@nSLK?yLAxeY$repq~FaAlKqnzPIuB Z;x~k_M>EJ?8D;JP)Kl)sLgFc8KqYG|%bfoS#=yvn;o%Cqd&+uS}!O3)SO z>ZHL@zHW?vN_{TT@KBLtC_`ASI2j%zm)uji(?NzCYfxdnK zbayq;*$r%c7gO~1z5=bWqC^Bc8A{VP#>ff)U@8Khk0Njbj=3)SXFdJ_xHt)@7GPlD z+WZDE3|#7mfX9Y_s{~M+Bru@s57+BO0>UDIAN#{u1j>#T&~Gi_tRNVg9H?s6db;vrp5-T4^@QOX$>!v0cjodQ8XI0PXq{-D9KXV zYsz7hwUE1tEL9zms+j!@-`X6gdYBz@ryk(#vyfx=>M#!(|ht*WNcIq;9iPlWcUi5#C` Q(EtDd07*qoM6N<$f+(9AyZ`_I literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidoran_m/icon_gba.png b/graphics/pokemon/nidoran_m/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4467c5192515e179c1dee97dd8d69e8a17a0b729 GIT binary patch literal 326 zcmV-M0lEH(P)DV$Gnbl$kbQME`aNM)}x*(WDKSt2#DdGJ=i*=GL2x1sE`VtiVv4oqsGJ YFR;#}>yfBmmjD0&07*qoM6N<$fDUrOkqGuletC<=-P+`NnK@`0I1YQidj%6pGClKlgW5TBh7F>Er4AB`;(Ao z`*$qL2q~Tfn58o4*#9jBy9fePTM&i69Apq637ZzlCz1d_I0B2`Oq1eqp!_|K-@pz4 zyYT~*G1?vgA4r%3#s#550p$J&ipA%r2t>-7RQLffM11n2SB}{#QKDesVSZ5p-Zcl6o<-Ls2`Hnz9YA9&guQ~;R?kT1cgaui0Z(C@nzTgm53V@qJgI84y zF}$d@D(!Zagv?uLE#da(Mu8)w6n@z&uqw|01b#%O{9IXps?q38F-U6sePOg4TBSnE zIkKLgqz;fws#-H1+L;uSEXqsX)cBPJfXJqdVKu7k<`H0G7}J=_1q%-mUCt7Q^Qaed zCIjaW0lvUxiW=)F)6gWblEg~Uwl0;ve+R5qmD<$dTf%a@0BGA}SlG}Jr$dA3rJ1Ve zu@0?r@b~dc{HfZ_V0-jAbV3L1{^?-T2K>+VY|r+evri-nHsrlUB3l0OG*DjcPrly- z93Z*7a!@NN73j+7!COrfWLYT2iXgzjHK3(o@i-KrYeEj-C}ie=5E^zs^3f@sfOeox z9OX`iH~=;U?MErG5n79YlR}F|CVe0QF=1fJ_;hqOZc@>2%D9T<1e}`iLuLB4O%enc>L8F# zAb@m$y}!CiG{mRLbpzI^ITs7>a?8HWHF}Hk=w@|o3zoI(-@bR@OYW#S^BSwUxX4tO zX)vn1nTWnZp&x#=TU`E}t6Y_r0RXarF>Hnl&B0aFJ7KnsWXVNNQM_PxuS2g0bb`Xh0gc);Awavemk!7YO#@=FlNXLs75QwHr_?%m zF>q%Pw_>~6zVznk_KCpImeDsvxiI*n>{D18qU5J1R78MKk P00000NkvXXu0mjfW-1{! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidorina/back_gba.png b/graphics/pokemon/nidorina/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..14940d21f01c88a36a945e75bb01d2e2aa4f0900 GIT binary patch literal 693 zcmV;m0!safP)Kld+Q8Fc60I0ydL(BI(kFJVDMKFD4Vxv$C(FVP&Vb zEt%TF#y#f9O3d6LW9FKhNpo8;%>1AK)vkUq_F4b0g8e%{lfDBKanIP_N2+El=(PAvIG#z}FXcD$*7ZB~Bf}@KtA;7z9%7CxFlZ!1D$$T0Q_` z0^lUJQB+N}2pX${vA`1ZJ6$)<08$ZARd+zZue!(`u*{|pKocBAwD=h<<;$4pP8Pt- zY@ZfHRHwT+X3oG21kAq@aKB8l5E(O6yV*xVAKx#hU+*!eQl8@_pNy&c&l7zs(&5+F++$7}z4o9MIzVF4*ia)6P+>H2CUr2yLl zkj36NFxOY*LeLI7`me`2I$h%ql7W7_*X_Qi(@VNW>Xp{kNcO%iFh|{0nA={1yG-_3 bA6owaST86Q)p`kK00000NkvXXu0mjfL!>Vi literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidorina/icon_gba.png b/graphics/pokemon/nidorina/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ad90d02ba3ff1712708bbfdafa0b019319bdf479 GIT binary patch literal 325 zcmV-L0lNN)P)DV$@k~X8C1b^%Qa6XGba zcAF}pKw|VBKaEm9HP+Kw&-sWn0hT#SuqvIVN;CuJ#LTsrFd}8sIw`To5Zlh0**hDt zg01vjz?MkFOel_Jn*04OA7J>=gIQW60)XY~SU1r*4$)BSD2FAq3=MR?lwcDN_5_Bk zNL-v{7C?m%CVM;llDdy4&;|9EAtwylg+Xc1%MX$UedWg! XepHQ?d&=Xy00000NkvXXu0mjfq<)Gc literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidorina/normal_gba.pal b/graphics/pokemon/nidorina/normal_gba.pal new file mode 100644 index 0000000000..9f4acf8be0 --- /dev/null +++ b/graphics/pokemon/nidorina/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +197 197 197 +131 131 131 +74 131 246 +16 98 180 +24 57 115 +255 156 139 +238 74 57 +197 32 16 +222 255 255 +197 230 238 +139 197 205 +82 139 189 +57 90 98 +16 16 16 diff --git a/graphics/pokemon/nidorina/shiny_gba.pal b/graphics/pokemon/nidorina/shiny_gba.pal new file mode 100644 index 0000000000..634e882d93 --- /dev/null +++ b/graphics/pokemon/nidorina/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +197 197 197 +131 131 131 +115 139 90 +82 106 57 +41 65 16 +255 156 139 +238 74 57 +197 32 16 +255 213 255 +246 180 238 +213 148 205 +156 74 131 +98 16 74 +16 16 16 diff --git a/graphics/pokemon/nidorino/anim_front_gba.png b/graphics/pokemon/nidorino/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a048b8b0644a42da7fd4c9f60219ea2cf330ca99 GIT binary patch literal 1277 zcmV>|K^<4y<)wCDTBqu#e;)`5D=0S00001 zbW%=J06^y0W&i*Ldr3q=R9J=WmcMHxHx$RGU07kRH0(KW_b0e^bJyPe8|x~qr#b%* z^|6r#+y(7Ck##sQ(nt=5G=`Xq%Ror-o;EplG_!=134X=yF#3$%5B>PQ zEPJ+pVdLvBk1!0(zdSAf0ceV0pek&9V9SgRA>%4+rfzlShk-f*tWrS_xnPxyz)Ett z3#em=%iNnmU?F8ep3ZZBO)o-9I7vR(JkR}_ttpv4fIi$g0!3S7?Ro%EYn9H@DS(^qrzH$`-w*<_Vte>h|R1ykzJ|zHVYMt3$nrZ`_f&gSgnno)D zcmyI`F00O3Q=OdL_pR)$OH(I48Q|&AVVX&d0?d)S)l_1gyEkF zVY`|u{A@LU#OMH@FcX2Ewo<{(3f}SiM(L);EP}UK z>fPHj9Bv+OCPK>@M1c2Z@TOJTa<#8DZ=_9qxY}#R%V5R94Ih;ujgl>DPoI<*69`2- z2E7dt-v}!V?gQp~Kqcde9U04MB+xt^z?)58oAJGaaL@&w_V2b|>^<;@ZW2#LH}4`# zNC1gvgNzpEQ4BXB-c+cH)7*=K4W+??xuOYz#x7Y~!Me@1CyPnhzza~{}>#l=F%D+UB3<;H_ z!Juj6w@Xi|iF3pou)E|IulL1;C%HtceZRpFVCEMS6h#7Lzy?G2fU~oSi~uQjYm!?O z-``E}r=)RIlvFI3is4&M+9;u^eWKi01%QipC?qCW>JWUQ+|(qM_b(A}6)CFMiE>vS z_}jzxs9K8(Wj6#PI*P=k;_S`qqf0@;O@1IzZfte4A6_BQMqS2gTj-o~>XcD4mtj_O z9$PI9=^19InKsO*+;K~YR2AkoT=L$&WSpboTd92M z!8hrah{n-smcChvUKFD!r6Y2I5o9=! ndzA6rkIxeVpTD72!00000NkvXXu0mjfb#_=A literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nidorino/back_gba.png b/graphics/pokemon/nidorino/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..01b866e00569dac4dc191d992a0a2572146ba04b GIT binary patch literal 741 zcmV>|K^<4y<)wCDTBqu#e;)`5D=0S00001 zbW%=J06^y0W&i*JV@X6oR7i>Kl(BBxFc5~l8n94!?9#_mCa=}xcW_5R(hHEyTu4U( z>B#U1B#Q%?yrE-<0(pb>NJ+LF$KJZ-213AnKK}RL(Tl}L{D)Y%r`y0me5ad0=7n&# z3Fxj9tC;aO2n+PY0LK*_Sp{X|HQ`laX@s=8AhOqpx&%-~QILms{UAgpUYOW=^$xK_ zjwS)c7TUMz)x)9;CZK=Gb0+)+@OaNPs({sxJkRgA#O@7ni2l?q8vQjAmp~?=Uj&VP z0`kJY1r`;+F0+lRiU{0Yidb4`Gh2s>IKSC%+w(?|1z2d%xC&^WZ}e8{hqES-eE?u1 zdQfh^0k1$4(Xq@y&=RdebjXIfz*E&)$dg}LCquv#KmncQsr!KD)Jxzwr8J}uF5vAv z9~E$#Acf)r`nNJ?Ueug-FpDqs%nEdAn0`pvbgs)8@F>WuK|oZOuK76!G8;XxU8DV$IRxdJEE0PFh+(=or{sLnjhet8_lr1Vu=M{Xpv-NH&t| zhuVmkrgRfP8-p3}P8|^qkY#|z0RV%9=9&T2PDIxNUGfqrqEiIRI|=~^djUEKQ}7b( z=1cQJD$HXGx`S7ni29p(!Jr~cYfu(O81xi|4XVPd27Mq5|Nh&;jM9&XFkXP~`f&$I WVz}_kxH-xI0000XhDkS$uqU+;qb=2Lj&$|kU^+jQs~mH zLW@I*fdgA8ZW(IoqL4y|K$o80wN4e^1U;x2uGbHzmLvyB>mZ3eGk5U%yt$aKyTnQ8 zaR1>F-sgAk7a`A&kT7AcFl(38Z#=jRh_4ab{yrGkh`%WVNcLc0aXXbW00zt3kMNRW< zLUAVmCLOcRe$eHj_H(tjJfg_+rvRpR+A)&p$r2gCHhYwknzV0-eV1^Qq;7~>V*+z07_z|Fxivjg?u zi1E&Qs(X6iuaD-Ny?asj^uYI*KDtu{Da!#*5BkqBx|0SdRC#mv^q}7#3h7!F0c`G$ zrw4uhAfzkA*-EPumTGx=(B}`vK0Z#t4rL+h(!bHH`|{?K0T82thJYrj8q?&VsbKb&=T9Ow_nT^G9);1A;MPCeKkx{P3` jKky9q2NL>2n5)h|HX4ELZg+~W00000NkvXXu0mjfY15hp literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nincada/back_gba.png b/graphics/pokemon/nincada/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e35b19cc7bbc8eb35e2ac927ba78ba3cc2266181 GIT binary patch literal 576 zcmV-G0>AxKl0QqsP!z@QDzufm#kMLG!M*wc1OtA86kOcwAP5=! z0&nZ6LxqYJ9DSjpoAPQjqiO7)(P~6N5wxZq9E*BilGb9y*`a4h0_T@=&wUBNNF)7M z6*m9&$F$`F-CVa0j&phO8=z$h;4(JpA?B0yVPZR*&F(6S!tf6BTa&{;Uenf*fF>$3KZ$sdsoZ$aI(SEYKVrPW0|v5?7sO3_V@V%~ zw~bcaQUV|uKYSHtt*Xv{6A^xRdxgjX!hSdx)oxWy&-Q^PH{VdAV5vegcZ2aAt2|kNWQq00LU47SmBJWF}Vb9l3#9xfI6p#6>1WYzEL6I zGlEm#&rtR782#Vpg>yrch4~4Qee4VXK?Q(UdYNo`4gmP*C5$xEf6^DfTE@_9H0nnH O0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H-bqA3R5*?8(yZ(^FTrrd zI`-6MX;DR0)0krYnvkei^I#H9%O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`Vw~6B)d5xuU0#Tz@8w*ec#|h4Eq7KV;odn?4rxl=yDm0OO*2%F114SK6 zq6NG^5rmZYO`Of7Qt8CV?m`8fx8PRb7mXhz)*0Jcx$f9a(SoGA6%dNl@peK^ZOE&= zyzR6AIaJSNXnk8=@AML@nRM?8ON6)JeFrExNXpMUHcnxg}w9j3pvSpnT!o@5}{vx3iG)1gmEjs%8X72 zCMYzY!aQ;WH@G}%xBCV)b=~mQI4Zo(*^c1!)FviK8vYtL7c$1lr)q(<+l-h*H++5C z!?OX~kl9GtVU3;nkg#hD(`EDNPtyG0Ta?oMP z5j34BAt~=Ggm2nSmmd%;=J;p9AW$fzyyWTdLzf>29KePrO_5m$I1qUGK_Ci#tg0nx z+$ABoDL?QyorosZ3Pp||JG=1c^23!#AS7#oF@VItTz=?}!}U+07*qoM6N<$g1sQnKL7v# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ninjask/back_gba.png b/graphics/pokemon/ninjask/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fd2daf29a34c618d3efe6abb0269951129384ac3 GIT binary patch literal 797 zcmV+&1LFLNP)Kl(BEqKoo~FRG=zD^@6aPSfc7Bb1QL~iRy#}iCRe5 z>P9m-3ljrk&S2(xW^uBxF z@9eV+h3kyM3rbba>l5x|JFIG}RM#YkoxK8=Ks<|Tm{3s zmq-YZ4}{RCBQ@4~iU5|e$$W{}z%--x2cwa~g-r2E;v8gB$znnW2>cupFh&3<7Jho? z5kXeoeMG@bjZef|2rvXqB!GV7H>ju|L&`AL;x$d67Ue%{Fsa4LiAWSW1%fljBK|B> zigDq zfMv&XysbWM!qd^7()-CXBfa+Rwy{N5%5!|jcaw|0gn&xl4bpG>UBhW3aKm+6cRRgr z8tdspS9H3byPN=pPN%bdwl(zp-Qv0amgjUY?cEFGM#sT$?oKX1gzvb$d?0Z@{a5{Z b{CDFw?2%c{kG$_u00000NkvXXu0mjfZenMF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ninjask/icon_gba.png b/graphics/pokemon/ninjask/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c51533c675a239217ed454a32694ce7866181075 GIT binary patch literal 324 zcmV-K0lWT*P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H!bwCyR5*>@k}(d#AQXl<0mKV5v3qS&4$yPf!OmsjDqcWQHwQ_> zo67RU)+j0aKQmpVP=3Dv3I$N5sy2M z`2}M_DePPxHS^l52Gbp)*2k`C7r+cnJ1hXh7QtXTf*;iBb+xwy_D^dc+2SSlu(<*} zn^qe8wXKFzu+b3|0R0Vcrl6#tAQ|CCkeV3V7bxXy9NTxYnva^=4>}sA_G7vK+x{D* WZ;qQFvO`Az0000^U#@kA00001 zbW%=J06^y0W&i*Lfk{L`R9J=WmcMV~HWbH&!iJ*Zh727FTv32_F1Xc{8)V59GFibl zG({{z(9&!dWD6QOw5B^CXe~{4;U5wY1#aoof23+r;r^Xjs;+4JGq-uEIn**LURb{VHzfhA3`dSYlcVA9EYN6ml19%8| z2WsNgTKgK{1R-=$PHL#BsQ~f)b#fDET8xQF1EHFxO8{yYta*eFfjrQ(P=)U&_~fz~ zz~orB%x@9eV+|fdyslfNWy>y+?6A&tam$kL%CXNQJy8A7lJR8B*ia8VedZybAJ(V= z2%heKCVt%g1Q~%R&))^Fe~1w=03GjqN`&z0M!-eWHbJOm0s>5?(-9%q1XM9TJa1v_ zQqw*_aEu=StPWPgR6*4!69@xfjZ}gt=Y|x{H!@EAGoI)H{?*&J*dLg@xwqQ0&xYvKo5L3Iu!0hz;y?J z$rY?Z5AbW;oVbLW0Bd@UamOXcW*}BS)+tYVdLU0)5T|d9fODP)ghb+fk`A;d!bwCd zL|eS)MV4uaLd22q#c{8=OSOd48Eyv z3h@RK6zSkzd#oI0v*DdEg>9Zdm%Rpdcy$Y&wm1Kbx8yTGO?Rpjfy4lhg2>;WuN0m~+KdXs>%C@bv&g=$^K2w4N*k@ZV^KxonLvVc&!4nT?{ zWe-4fcoz~-x@cl22`B&|E;A6uWd%wWKwkocg~}cPKsi)^&nf_qEKv49Ru2^rvtkZp zK`a5G>_Jxop#&CP_A^of${yr$MVkP086?UcjAc6^^tc2-%VMASj4FEo;>x0s_>d!- z0Yydv3AB_wAaj6{_5z?p0+-4jEC7E6@D(st_5emGq7s;G#0mgE7K`a=CSnZ`31tt& zn4YGCvHXh6c4|igu`is`9*pVBH0}3dKb`|l24S09c4-d+_5sfDpntIn*y>VAlszEq zu8@Rf$L%>VzjI1^aGK7<-Jabw&f@es${vW+Ebhu4n8h7ZfIS!*#a#j{?;5pTt%K&w tXse}v2w)jT@mK!A&E3}j{^4(pKLJ%BQ_)I0zs&#u002ovPDHLkV1kr&OY8su literal 0 HcmV?d00001 diff --git a/graphics/pokemon/noctowl/back_gba.png b/graphics/pokemon/noctowl/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e9984ea5e6b21f73526f6dfdad477aef1aea9246 GIT binary patch literal 659 zcmV;E0&M+>P)^U#@kA00001 zbW%=J06^y0W&i*J5lKWrR7i=(k0Iks&*3&h0{k`P|Ffk@9mK^%a3 z%py5<26AHqaB4)_-avB;xV**%Ns_aHEG+>22B7T(Eg|g5{HoFA4FQ7=80ZrYzfA#D z!{@Dz0+u29WdP5lQxKv7ax&(qAfwQwc>n-(0+?Bp8~eA=4j1mzaJ_%fPm=-RFBD=fX^81 z!kDW9lwisM+d<$20yczy0c6}!0aCNI8m}`x2k=aX&j0~mcTs;}R|i>h-tBh-a(Bx= z^V6DN>_u63!yi@S0Pc69th)K#Rx}m>0?{;jeh`q_{8fXXDOF7lD>U^ylP-`zuh;mk_K=9fsg>a?FAerrF=AjR|Qo3ZVPS86D%k5VA}}gt@vTLQ{=k| tNIjR;Mhm2Tunc;x04DV$@(y9c0B_*Z1U7jVmK$X-(UC-VXPtaC zA_?Oa(gZfny4X8RjEjSI{L?F>{gnElrFFjuQ!k^=d*vn>$mJpsEP^AG6Fb$Jt*L=+ zA!F*12S-G^lJB?{MJB?|jRA zj%^Vwh5?CO#T5FSb~8UFr=U7KEQY&6gYS=FvJNx zU)O`7*aHdwGJ78}e|`_9LMBSxIsm~TS|OtJaXTFv9^Ux41Db8B5PW>$c>n+a07*qo IM6N<$f)|yRCIA2c literal 0 HcmV?d00001 diff --git a/graphics/pokemon/noctowl/normal_gba.pal b/graphics/pokemon/noctowl/normal_gba.pal new file mode 100644 index 0000000000..7107592362 --- /dev/null +++ b/graphics/pokemon/noctowl/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 255 172 +230 205 98 +205 164 65 +156 115 57 +156 123 106 +123 90 74 +98 65 49 +74 41 24 +197 49 24 +156 0 0 +197 197 197 +115 115 115 +255 238 115 +16 16 16 diff --git a/graphics/pokemon/noctowl/shiny_gba.pal b/graphics/pokemon/noctowl/shiny_gba.pal new file mode 100644 index 0000000000..859222f594 --- /dev/null +++ b/graphics/pokemon/noctowl/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +246 255 172 +213 222 90 +189 189 57 +156 148 32 +213 164 74 +180 115 0 +123 82 0 +82 57 0 +197 49 24 +156 0 0 +197 197 197 +115 115 115 +238 246 115 +16 16 16 diff --git a/graphics/pokemon/nosepass/anim_front_gba.png b/graphics/pokemon/nosepass/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4b7f7b362277af6cf653a197cecbd0f35da4079d GIT binary patch literal 949 zcmV;m14{gfP)Wk)0000002mk;3q(bC00001 zbW%=J06^y0W&i*KGf6~2R9J=Wm(5PwKoG}c2_$Z*73WroS7@}RS7doiFGx|<9dqfe z*ry(YHkFWijL8c$<_SpN0#V@Nharkkj_H3lPzt*?M|#LeIn6KgxtW=?S{r#ok(4y6 z^E{6l^tqPoU9+CK&cvgh>4Q^GYx~TSoIbYL0J0YFIL)&xJBEik0FtJ%76^g_M3yBr zfJg6t6D27p(g{q8k*X@6m=m&ro#JdZyC_bp3T|RSRvnhJnE`I9O9BvDm0S+brzM(k#&Wgk?x}lHSpYb|CPcnL^tD z00ls32MECR-n!~UQYT6Dd!?RT#@61E20|&(3bKYex*UozcFrqZz8gz-Nq8{a4H$ZHbnon^J5E!+884v*1 zybqxDD+qPju@*6=tJ~A+D-H||xQ3~BTa2okw7SCXb^}9m1YMDgm}2`xY3+=Q;uMFL zBxLIZW)rjfv7Q4bFrJnpoDc&5pGnLe2BwoyQ4|_LN9R_Q<5@Wwjsa;P68=kIXI7R4 zK5GCqdkKs$N+SSt7JaLf%fje?AxNy}aA5&$++n3seuuE&<9%T_W2t`5eIJLUw$Kr- zGpW_?2w~nt-E#GW2-j*M9F^37J`H+ZitQ}dvIvFv$X{@RI1L~OA$mD(9ExjxeBOMu zU~T|fyZ-&rNla1ws9OP$VaHj8hd5brg8|5%;(mhx{U=2B8;31!5c|136K`{1ypj9? X&HQ&dv93sf00000NkvXXu0mjf#q6L_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nosepass/back_gba.png b/graphics/pokemon/nosepass/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..21b41a3cd187be2e911dc64856e75bcba17170a6 GIT binary patch literal 517 zcmV+g0{Z=lP)Wk)0000002mk;3q(bC00001 zbW%=J06^y0W&i*IgGod|R7i>K)4guOFc1guAYPzV6SYizg`zX8Rb-pBLb9_~4DsA8 z9XrygE9nbV;^}yVp3iaOI3F_uHz1Mw>3`;MlH^ubS4#kx?QgX)u$~56V^Em;$pCE5 zime5u*1EWx4k#r8y&n}6pp+sp9e^c-)*}%VpfN!S6#JJ^fG4y8Rt&e%01B`b4{=Mt zYWgCN#Ih)gG6W)zK#A1@(GZ3SdJd%81q9&nvk#i;&QRA?)tO8Vz^bl)&sFu+2deF- zPMrTHKuSZb_!tGb-S>*b#Q`-0#R0+Tdj=ScI3B0L&Ky>! z0sQ-(roh^M?C^F*K(P?mN6$$JlxP5llx|)Cq@w%*@NdAvU1tw~0LRq#Hi3&6aQxDO zrE=$E%>=+x0t+uzMiHDf0SLf>i@#Df0vHDmFa<)8N!c`+odEC<0ZicjClXi#&EWq1 z*hsi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hm`OxIR5*?8lCcrOFbqYtfj3}0k3g2R!vdDW0I>oMY3zs#4PPl} zxHP%^PVXe$FCNkHqH1Ty{4k(Kp3FiBc?){Mn-&6FkRp#axLBB{8ow)U&=wja@FFF{ zlh@U^j9=%@SJQ0nG{ua?w50xyRi76r1~_FlfJlVS{K#IyD3DbcsbI`1j3!j*Bg_C` g7h!bS2=kX8Z}}0DDMALIsQ>@~07*qoM6N<$f@BePQ2+n{ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nosepass/normal_gba.pal b/graphics/pokemon/nosepass/normal_gba.pal new file mode 100644 index 0000000000..ec36812884 --- /dev/null +++ b/graphics/pokemon/nosepass/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 255 255 +57 57 82 +197 197 197 +98 115 123 +131 148 164 +148 189 180 +189 213 222 +139 57 24 +205 90 24 +246 139 41 +255 197 164 +255 255 255 +74 82 82 +0 0 0 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/nosepass/shiny_gba.pal b/graphics/pokemon/nosepass/shiny_gba.pal new file mode 100644 index 0000000000..b17260e5ad --- /dev/null +++ b/graphics/pokemon/nosepass/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +180 172 213 +106 74 57 +197 197 197 +106 82 49 +172 139 65 +222 180 74 +246 213 115 +189 57 24 +230 90 24 +246 139 41 +255 197 164 +255 255 255 +82 57 24 +0 0 0 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/numel/anim_front_gba.png b/graphics/pokemon/numel/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0d3ccc839f98730fd928b5aaf0b144ad3ae5f2a0 GIT binary patch literal 835 zcmV-J1HAl+P)r zVj%Y30L`>H-pwHP_N3L-l>hE(l-?M$_Azs$Ia+gSl$28D-tPbZ{}>n;TuTxC00001 zbW%=J06^y0W&i*J!AV3xR9J=Wmd$DtQ547T?4$%TA8odhGZ6v}$m9eR6oz*41j1zH zM#R}v5PSpE&FIc$cP?wTT_%t=#Z?MEfxdtsiGnL(Jm=1x=FXQ3H*V%nDJAEZGiS~% z+@BClnpEWG^6&K)bVch%{&{CMJ1+w(aLpBPm%Wegw`a2oAovY1;QAS-MC^}o3veXF zdHj~@ar~hG7>Lej?2ElvK84_pE^2K1*O>wPodVDNh7Q3In7 zFy$6gc#|KYI{?J3u=`X7>H)Er1FpJV*F!XI00tO4)t}LFEzfh-*B%b(>p*!J<3EnYMW5mN@!}RhN)d1`aE?w2xGwTic25XHItK6414c+WTz;7& z52+fIfRp9-MK(gI!wUu$->%aJ)S)ngI0(bZ%lYC5s0Olwqiw1aPNHc3S=G}KazHzx zyxQ8kB~XU?X(UwN2t(Eb1svbkPb*1yaonOuHIJVFIUs$Td*KsmFs3R-l|VNPpVKZ} z>_pEBkC3s!qG9(5@FFL_hzxLvpx@|QSPcYtH<5s7=g(WsAiu?!&+k>L)57>=?Os*) zLZ5PXJ?YY#G-=Z0zoc40cBxSitzNAl%5drxWCf;Fr8)(n+uLig>35hG{~q^kW7P&It9rz$iiv`(KM)9 zL3SEsY4^VlWExbbAQF(4lZ_x}&=&EDH0baG*UC|pf@r%uNHu7!y#oP(nFF3KzbZf( z#t3$s=rFJ#Pf`lv@y}2L*rcL$syRK`o&dcAnbagYVNYTO83hCs1mYKaP-5AvAkJ}* z45P4!HW7&d9xDj_PoN+DESy%GeZdB_6kxTh1cE+HSV4kDAe#JR{s45}MiMNGJxTxo N002ovPDHLkV1l|Wa&`a! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/numel/back_gba.png b/graphics/pokemon/numel/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9722ff438383802a4dc1ffb9e1e8aaeed32b49db GIT binary patch literal 573 zcmV-D0>b@?P)r zVj%Y30L`>H-pwHP_N3L-l>hE(l-?M$_Azs$Ia+gSl$28D-tPbZ{}>n;TuTxC00001 zbW%=J06^y0W&i*IyGcYrR7i>Kl)p~GP!xyTl`zVIYCTC_Dy>OCLm* zE29%-LUEApOjX05=mPKHBdBpRCiR?4OIzULWa7XHxh4F*eD{>oTTR>5zpwm!v^Cc! zaI6gHV@3YzfR5nK7b#YRAi#Cq_%=-elvi2{LS8J+-RP;*j|5ML6O;l{9E6mI zS`1v;6th8M{3&T+80T{S6>btm)CoPc=|P%~!+o`Q5gUNKW!oqX5r8YFW@0)?i>(+) zO?qO*KawK)QgTj`9bk%Ul?B#ww92q-LbrbdHsthv0M+5&)nC;Q>XZ1Jl#-%R00000 LNkvXXu0mjfoNM~i literal 0 HcmV?d00001 diff --git a/graphics/pokemon/numel/icon_gba.png b/graphics/pokemon/numel/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..62281e8bf711859cea0891f167bb65c719a0cc66 GIT binary patch literal 301 zcmV+|0n+}7P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Ht4TybR5*?8l06E;Fbqb00_R4(g_bTpmohlBH6#ZJ_9cdK>$@>fIZte2u?YG>yej=a(Mv8z4 z^Bdm}z6PD|{Xk?27&!ui_XH#nUl7r*3EW6q)EW~I7H4abIWNZZ!nX7g#IgaBkMqxY zz9@`&R~V}N*o84Kgel*B2(#w-Sr{3G`M{3{WtX4F)Uxhv00000NkvXXu0mjfmalya literal 0 HcmV?d00001 diff --git a/graphics/pokemon/numel/normal_gba.pal b/graphics/pokemon/numel/normal_gba.pal new file mode 100644 index 0000000000..74388d36b2 --- /dev/null +++ b/graphics/pokemon/numel/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 148 246 +106 98 32 +246 222 0 +205 180 57 +222 205 32 +246 246 164 +213 213 148 +255 238 106 +148 222 24 +180 246 49 +115 164 57 +90 115 106 +148 148 82 +230 222 238 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/numel/shiny_gba.pal b/graphics/pokemon/numel/shiny_gba.pal new file mode 100644 index 0000000000..2162c155c7 --- /dev/null +++ b/graphics/pokemon/numel/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 197 180 +131 98 74 +238 197 156 +197 156 98 +205 164 123 +246 246 213 +213 213 172 +255 222 172 +90 172 230 +123 197 255 +49 131 197 +74 98 90 +131 131 65 +230 222 238 +255 255 255 +24 24 24 diff --git a/graphics/pokemon/nuzleaf/anim_front_gba.png b/graphics/pokemon/nuzleaf/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..02aa6b1d4b88c32e23191c6e977354b5e765bc36 GIT binary patch literal 887 zcmV--1Bm>IP)Ryf=sToc7S3nj9AYf;lBpWt`b;sK7^J5#mf2lY2o_l@NiH>oE;C&M}vX{$4A5C!3a)qb~GFgbrBF4sq5kJM2)}- zU(kwD->hq;N65Xzcoj_UwB1P@%LpVK`Yi5CO5Z?)L)tWr2mo+>tMM3POuImeCsopT zaqs>E+GX}8-qs0izub68-}P+kZY8~g=0<~VbK7&69MJB*CIZ^A0&aXjBi|5|a2qg* zqi%$yCOR6J=KGj@=DxsE?sv#GXKSBwgwMDqH6V7kIbVzWxlZ-vj7!N)u>Dx%I`t)I z9?yblFb6m?Ty++JumQ;x^KiP}n}&kt+wg@H!d$Mm(^y!ZgfFH3rFZEk-152{rF=gF zq`>QWAWIT)oc3bfwXT$Df9tb+4>z4=04f99-T(r)IE|+U*d?dXda0v;^DJgSHz6XhJC}G-z+pPP5(ufNHQwn?X<~5a5u_v;=t$-DRa-sZ&A%`%^M0a8;KG zpbF@Y$61w-7MMWqNvGIlb%{X%md^1Ps7CM!HQao z@sB)k#o9@x2jAmZSU%w^cB2P7e%u$9&&#{K(Sxx$vMoSup$BuZCu|vN3q6>Bl-7Y! zS?IyePiY%TsI<_7of_v~ZNP6mP)TAtBT6*V{$liC#%q>!Mh{woUswTOVr=xF zm7nYxp!L8vdN2n7H08`UGjndAni|OTAOyy$IU`eG44$MjZuFpMoBUanxzPh?E*oGk z(}NHKT$$+scoduIA8~G1hXr8Y34a36Q#9fH6R`A$r9b>tXXy{Oi(fr7tlEPK5TF16 N002ovPDHLkV1iE5p2z?I literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nuzleaf/back_gba.png b/graphics/pokemon/nuzleaf/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..858377c116f41aec7c3127571fc31bd851312403 GIT binary patch literal 583 zcmV-N0=WH&P)Kl)p~GP#DF_0?j`;Nt{c~?SnK*HhwrS3<=Y01Ts%a`* zmKQG!fHK>-RRVVC`^?e-V7mW2@5(?D;N#-}`v@Z>AV`6Y6Z?43xeTo02ENIBfcbT` zfv*CNT4R6W!%zmi*!R$h5`SXcbgO`$0a?K0{;CdG9|HgsAR8eI05I-q0IvvuNgeQB z1`G*6g^QvA0coSqXJr5eG7$C=hzfvI_d4*jDnO*y)qX>OM*7j8QpT)mNym1a0*DxM zW->sj9+d!q>J%NOJ61k|PVtxVEdf?ufIys81zHRWf)EwZ(ET8KYHP_=1tPEr3XxX4 zR29hOkV}BCs;{*UaAa_o^!;Ai2h^eO9EpWGLb?)G>S+cn5}(xuRG%d!*5Ri%AO~hR z@uAKyfF@-Cl|MhFAyc5XKM6>eN$rLJGX*BbQxou*0cL$i&om$KUx^wvM4a>|{Q~u3 VU&J%g&!7MR002ovPDHLkV1n04{^9@t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nuzleaf/icon_gba.png b/graphics/pokemon/nuzleaf/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8c9f4038f351f364e79cd59f55b0f4d6e95386e6 GIT binary patch literal 342 zcmV-c0jd6pP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H)Ja4^R5*>@k}(Q{KoCXe1iR<4&lRja#vlYe$5wlcARE$#5Xl)V z1e>s0L@W&17zy~t+9sLqKW5m!@Q8kGbOoMk!Y@)j5`FJH3&v# zcVN4K=fQcG0?^k}j9{o+297j;iQyMt7^+C#$^jV=d5T!obZejD?k17zDF0uLXRCX`#j>jAby0 o)FezQKGQOL(fuO~=8gS$11=1fzPtgOJpcdz07*qoM6N<$f|!Mr;{X5v literal 0 HcmV?d00001 diff --git a/graphics/pokemon/nuzleaf/normal_gba.pal b/graphics/pokemon/nuzleaf/normal_gba.pal new file mode 100644 index 0000000000..fd8ec8bff8 --- /dev/null +++ b/graphics/pokemon/nuzleaf/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 148 246 +74 57 65 +205 205 238 +255 255 255 +123 148 82 +180 205 131 +230 238 180 +156 123 156 +205 156 98 +230 197 148 +98 197 131 +148 238 131 +65 115 57 +106 82 98 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/nuzleaf/shiny_gba.pal b/graphics/pokemon/nuzleaf/shiny_gba.pal new file mode 100644 index 0000000000..1706d316bc --- /dev/null +++ b/graphics/pokemon/nuzleaf/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +180 213 156 +74 57 65 +205 205 238 +255 255 255 +180 65 49 +222 98 49 +255 123 82 +115 90 90 +156 123 123 +189 164 156 +98 197 131 +148 238 131 +65 115 57 +106 82 98 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/octillery/anim_front_gba.png b/graphics/pokemon/octillery/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..82d366484e331369c551c45d8bbcd1c540fa4aa1 GIT binary patch literal 1019 zcmVlUVI)~#9hq@ysHR|1|)uN{C&!jfP5V**rA0r+w@U;xmZ!UlOe zEC6$z7Ra~hCtx5n?*J!KI@N#`(~3_eqC#U4uVPSA0eCVn1D+4Qgjh*HZ3F@zJcocp z;lcMqPbcR=@3@JbedBo7V4-q@#^*!uaZ%SVm1W>oAA-_vS%=%-# zSD0U|^d{VDDP3zQTJ1xtcfnhHECJ2YqL?O(Vb&jh4eiF+j=u^O-fo=K-jVXD!S-CS66VC$vNKkkac9#8_g zy@ki(U)Tcz9Cr&yS^NueXP_<4%j=E)GzVl3M6jvttcvY5pp|L@5(7|d5wSlILa&ud zH_8=-f1umV{$MWb_2X)crmDO04>>TIi;^GnQc&~4Kd3~rKM+ajz{#sp<+*kS`;eYDFMUWVC4P*Iw>wT3Kls#_3KoEsp*ax6aH&zNLch(ocvu%j5w~NFv;07TF zK#3`lP!u|fbU6-Pq$m>c% z&^zq*y5Zs10TuPGcKhbegIZjwXv=_X?4u6El)k?zYAvj4Lh>oye2l2Iu%u={oSyQt z0R)wSB+_4O&@pJt4uy2`YDY7)7(iJdik4Pv9Lfr`@7!CRAnJwk6gA6cA_}WRD09@w|AdxBY wqDUdzj0&JxBT>i7X>4x3u~7ChFZ!dt0kLw#iUTRKHUIzs07*qoM6N<$f&@1EkpKVy literal 0 HcmV?d00001 diff --git a/graphics/pokemon/octillery/icon_gba.png b/graphics/pokemon/octillery/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a21e60327283da1f49e208ed24151a1edac51c3c GIT binary patch literal 349 zcmV-j0iyniP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H+et)0R5*?0lA#X5Fcd}m1?$IvMv)-U%%b+@Rx>uY{uL7y`;{e2 ziYqm=VhN?oI@Z==AY9k;?#rt<2>n{HjKJd@5>p;%uy8uERz`pkAM9BO#Db>H~_DHt}~yJD~^w?wQPOd0@EzsX3EQaK^IcR;6xba|!e(*X`JHgyGg<3N&u zPH!M!SwTYBQi0YpQ>o}t5D~rqEMF-Mj)fWJEKI)?><=bkh;am8hyi8&sLc!#u;Xs> vqjnXZO~L?&#ehTzokAge1J>!1PyBcR$^VeI7P#qziFTMuiBJKA3a^ zgZ50C6gI8&QKS@(+$cdFm_CP;j>ZK%CNi0Dgc0e9#Dd0DkCP2R?ZB_sJ%}4`lG8U%-RZMSvg3 zaEAwYki07JgJB1l0v@nU7~TLLqhZ7Yd!I0XAF%y%>mU38M8f)K>19RWLBx3(_a;2J zDDE$KAjZq^*k>!0;VGK{J@hdi|Ktove>h~8dkI7Nnls=%UuT;9(BU8PN&mC{0{)XZ U;-UuMrT_o{07*qoM6N<$f?};Cz5oCK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/oddish/back_gba.png b/graphics/pokemon/oddish/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bafd8bbfff395ffd60e2006f376d63db54a325ec GIT binary patch literal 497 zcmVKlreIHFc3xQsBB#d=LB9TNnutcE-b0!f-t#&73TuR zX@DwLc0H~bt-8#l@GmIX$KSuw4q5inf0YaAx-E+DR6Q>Ws8hhH0H{(10OisodKl2b z;!y^=Fr!5+RGoXLDF|q@JT@#1@OI1$1MX1lB0(G_JesORN2AoSq$hfBD$qLshz89| zfT@Csj-rf?n(rE@tD3$yZ7ifam|%8$ zX06FYi;Jt=>}(ej8{@ npg7)klrt)>sWH*xrN7iK%|`4>_7r;`00000NkvXXu0mjfSTNZ? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/oddish/icon_gba.png b/graphics/pokemon/oddish/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7c46ae7e7d5e1048b1c5ee79e37eac4350233670 GIT binary patch literal 284 zcmV+%0ptFOP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hnn^@KR5*?8(lHLgFboAypP;@072Xk-@a`p@b7%HSoFJ+qXLj4o zHWM(y-}?0xcX$B55Zl5h;!;B~MhOcXLj?W67BO`jm14}UKw)L^k95^|w-e3b%AM%y z7f94ovBm|o8(qS$Ppv&6X3E7s?w5dZ(I?&gcl#cHgiN@7|NgU!WatfV=Edk|Vuz3%He00001 zbW%=J06^y0W&i*JFiAu~R9J=Wma%WzKorJr@&Hm%BBe`rmi{*#I+IE{ArLUy>OYV( z*`peEhdwXq0_D6joyF$K4{u&73{#fc&@&|jsn1=jD*gs9@8|cvceZpNW0hX7YTlId z?qBL(gqA&hECVC}_(F``l6t*(UwCtnEgG1aw*_$rUP+6YX_}VyAU%(s01u`)1mC{r zK+dR{p8+O9%sbE__n4WMr6-8{$;c;XXbXi&TZ)lOx`YSaU^?%KmH z3Dk=fv`4$`dhV12ZV%^Vf7bxr!8#nZEnWI3>j1h8;7P9pFfAw;+xMiTJk-Q*Ib-n2 z&pB}%{l7SlGm_GyfXA`_RXDysAGy?on9aXkN@slWz5_7W{t0B;?$ymZe*N)7S3*uq z$d*6eat-iLO+G*ZSgYODO*7RU`e}~Dh=x+vm;E%kXr_By5j!+cg&YxiPd`EeU^$`+ zqCn~Tim*_$Ky?tVk_|~bWhziAQhB^fNuZypSOvLSV$7*J<0=@aWfG|#bqrbtCW#8u z9)@%S-D1nJ#f=`h+GKE{JI#h3yDT|LGFBoatN#rY{7tSJDuM*bWR_UjF?1bcIg z2RXKO1W@FMA|7m_C58=Z4aT$JDOw~L=VjNw_K__(#^u-lp7lb53Ry2QTC6O7RC*2i Y1!=SWigQMwj{pDw07*qoM6N<$g7yA5)c^nh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/omanyte/back_gba.png b/graphics/pokemon/omanyte/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6cd77bffcff0dd7ea8adc9fd802b12d48c4aade2 GIT binary patch literal 661 zcmV;G0&4ww5dZ(I?&gcl#cHgiN@7|NgU!WatfV=Edk|Vuz3%He00001 zbW%=J06^y0W&i*J6G=otR7i>Kld+PUFc5~RD2^hP-!GGbiE+j)o;-jpg`QzWj}NIy zMUd2|B5kTLmlwE8=8BZL>f;brikCe+Xr*HP_RL$uXGxcrAaX zG-E}vPRx16`gNk0*ubp=Sg|G`^Zdk$o&nSqTaoyb=Z6C}pb>y-DUo0UrxRnK2!P`C zs=$G95ZW=v5I9d00D#5^bXX&K?`Gf#H0c(BDyVUDb{1KHGLuS+1<*T(7}tY zBdzwkjNKI0>QX8iQ*MJXVon`!t~zW$;=2GU7wF?PfV&_-T>#ZB6mU^Ag^{L_JF7i~ z1m-XkfF)|rYW){bcACO-GTL79%Frqd0qGi`bWH#{3Bq_1G1XA$AJ(8MxL_c1d_wevE{#xW;;@{#AVH?*mkZGcl00000NkvXXu0mjfRW>T~ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/omanyte/icon_gba.png b/graphics/pokemon/omanyte/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..94684f5c3232ad0d6b70d6e13f174ed04419a17b GIT binary patch literal 308 zcmV-40n7f0P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HvPnciR5*?0k|7QQArM750ehG=E1Fv|uO9@4@y<9);OVi#05-5Gdab z*p749a1OBC=&*V{%t7KlLS#UcS|bhU9Vw;p01_#(_*F0RnuLhD#1B0H0000+q%yS8zC*rp zZ3Ilq6M)~ImUnk;_YtriG|AkyiK$^sY_kMB=5+(ugL%UorZShdT%P@i0AB8T2zYv| zHciNe!5Au-;|WtI@k(vBAsbhQVeUL=JoVdv>-#eSxXj(I)Yc&6t83F7Vw)qTI`OhS zDf!NrnRfq1^!Pqji!R{WvemcdSamhfgGLu$h%PSYqdC4zSJjd%7}THtw2_S;a6IoU z-(yVAf``T=Gv&;AfG|t|fUhb93D-h>q5=M4C6wwpUseEs zxljk+7w3@TXT6+PByw2$=dae(Fz-u17fecti2~iVB?TDMg2R1>jhZ)G2|OS3BHQ zn&YkgTPgrSC@lgUi9>lr|z z$IqqSiHBe6Usx~kK>E+cg93j|+b$3B;5}b?j_Vzd2fyWf;B@TneLQfT__M=K#RCVD zE`>up@bYNz1XOotH6CcMA4-6Hr~`+1kbPjH3-VC!VjmA^5PtUYv#h32i3b`F2RKO* zRF_6I9>gWk%NDgxYViP61ye?SXVl_Bl2VkZ3Do0(*#1!e)lHl6AgY}gY4Ari9^|yX zlM22J9)$YZzu(7$>iL2vAA>ct)v))MLQv)b~hTceZ%PvHGXzVwvE=7-)QY`Z@I tB$Bqr(*bG{P}*15s@SxzeyM+6e*vd{rM2_P(ue>6002ovPDHLkV1lkMG%ElA literal 0 HcmV?d00001 diff --git a/graphics/pokemon/omastar/back_gba.png b/graphics/pokemon/omastar/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3f746795040e2e153254b60bc293bfcbb768176b GIT binary patch literal 634 zcmV-=0)_pFP)Kl(BMyFbswnGL@Igz|fG_=^eZQcC#`dymatgK`a?M zfc*^NkA3F zm2L+>J_B~|Xh%o``TULmLf~yoip&S$W4?VP1t16IK}nS=fK^3V6aWe!(POTvswTn! zzzF@mKvTI25*Fa!PK7H#6OoC}PVHc86kO+$r@U%f0)L0^oV#6s#({KUSP*U2^ zAE$c=)OB4y0j_~MI94aB(1#jPk?5ps89F;UmhYkfs+HuuteUiHuN4~x61Ii+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H+(|@1R5*?0k~klZk9_*5^GYM5^tGX^jzVO?dpUM9&!6{^6B z>hNug=mB8_392({Z1vg@1!|&eY!DIpL7dDXfk07*qoM6N<$f^RgB;Q#;t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/omastar/normal_gba.pal b/graphics/pokemon/omastar/normal_gba.pal new file mode 100644 index 0000000000..f63530b4ef --- /dev/null +++ b/graphics/pokemon/omastar/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 197 +255 238 180 +246 213 98 +180 156 65 +16 16 16 +255 0 255 +255 0 255 +255 255 172 +238 230 139 +205 197 106 +172 164 74 +106 98 16 +156 230 222 +131 205 197 +98 172 164 +16 98 90 diff --git a/graphics/pokemon/omastar/shiny_gba.pal b/graphics/pokemon/omastar/shiny_gba.pal new file mode 100644 index 0000000000..b17facc09a --- /dev/null +++ b/graphics/pokemon/omastar/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 197 +255 238 180 +246 213 98 +180 156 65 +16 16 16 +255 0 255 +255 0 255 +255 255 222 +238 246 90 +213 222 74 +172 180 57 +98 106 24 +222 172 255 +189 139 238 +148 98 205 +98 49 164 diff --git a/graphics/pokemon/onix/anim_front_gba.png b/graphics/pokemon/onix/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fbe64c2ececf5b8f9177ef4715d37b83d996ba96 GIT binary patch literal 1554 zcmV+t2JQKYP)7;eKjHjUYy@b0TGUSnYpF5;C>ch8_2sNHaI<2w}BonhD=ePUp&KvjJ4W&n1I! zR%`rx09aj2`1Rhc-yw3OUH_~{JzS@{Z%G$H6rC+JKPx%oxIU(&0vFsBod6g79k)q} zIO?U3T~h1L0Fd*G=?>_H6O(Xf5kOkZFMJGvF9*uzGf3sjv3dnAZ$N$^;>LTQ%9o>| zd(^F5RhfMVjLVx zH9yUOZj9u0nNN35Z~UaJvDh1Bf6-*S6VD!Y0?5NP9^gfTR5bV-KHH}(N1`3`!1qU9 zSBnxe*BQw43@8r|E1(d*$_WPWzLr4vMXpWlqkH!8DH5k1Dx-_*VO5C#KDm4dvR$}0%t}8k|u7D05FR8-ypvwoH z^~dCoRY`XFiC=-@=L34U*KQ5yOxnG6>8br)09CJh7hwtze@#z+{q_~b!T|siWqk)~ zSIIpU^merOlT;(84iS;1!|>6?G8+9c)W~D?(sLnY{z7wf8q2-jZkxTgxrN$R>ay^Z-C2my2>h zi;mlixXt8h-M2KrfQP%qVzJ$NSeNK(-G8yle z&3;U0%FiMI=wL~oHb9$U;8sfWn5Ve1Hvnems5GWQ&6+UXH{G>M9ZDX(+3-AXHozG- zhsH27C{Sprext}<=)@Dhd;+-vKa#)deMxLR6<|v^J4;yvjI#410{6EDD|Sv6ok2-o)Me#&xd9d0kQ$2 zCP|eZC{d=-+=n^}VT?zphz3e9=Sh>>9MoAxqHQ$l-b^-ET>wDvRydq~6#dXZ@7XoL zIQ^{By)H5Sc|y(b>eh+TQ8Y_Z4d)F?A`qONzRz{6X@Yp*DY#DM5EV)ltIQFp04oo5 zdVd`L8+%0FngICzx?eZ|umoV`0f&q-?qr{(=(R0Zz%HetCOX|5-vOhiX6fNfCs%*_ z^8r1DH8I4PU#1EM9P8@A%z#D!Y^LQgz<||x#uXaFYBh^*qgQ}KibUwDPA&#HB)sN7 zKnq2p>6nPThu#$c^|u0M6SK;4Rbr;b(`o|6G;0n!=gai$udU)$@Ai@eiBMC4Llhy= z_*G30cLgd|tcbvNn1Ug<$2|7)K{^>;trXu1h@8yy8${+j++J|l>xztPG2td2cJhB* z926W}G_!%GzgB9v`nH(@4|`D+Qs{A4Qdy&SLy=QpUxt2LOv;?_j+ZqMjVKq1-11~A z-SI|(>~Vj}L$Ti*XUot7*6r;-Odw6@AXuS*`2VlJ0iloT8wzx3umAu607*qoM6N<$ Ef+EZAx&QzG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/onix/back_gba.png b/graphics/pokemon/onix/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..233e66d919b58a60fa1248518dadf354398ba9d4 GIT binary patch literal 696 zcmV;p0!RIcP)0CD&IUjbU}J&<aq;ygm&Esuo>{mj&Q5 zVAyVO282c^9Yz2g@|gq~uJRkOEFWW>79w1gf*1zCVC>RuT87ptZPAWEVJMz_y0z$7 z!Xkdo%>oH42^hEFaW-r3gj5sM~_sFjNS=gJH|+z>d?nb+ymU55oj;e zhIE_uGMlnv%HooE(g><%fWwfJm`urda+3}EJV&bl4N-u89WeA~-^~Z{4#-p3uK+EM zhk?%m@N^H99-trC<=;$6n&E)1vkLcurDE$!90X=v9>j=+}$4&r54#!HMP z0p9!bu+3@y>I?u4%V7Y@PwaUd$CW-2py<#ruhpQs@_S-lsZ;6pSq3No>({D8fF2fl e75D@H1^flc_Of~Oto1bj0000DV$*lEHC=FbqYh0FPXNJt+66g!JD9qyP<4?yG#;!0u8( z!U32!l59zDn*Qz+ci?+_>m6+C6Vwj$24>Rr0uc>tp9gU=0#Rk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n0YEmca_^iHQ^o;pytC1?muOE8g$=89aD)3YEhzPkdk?c>tIH@USZawSLE@5Nt4G!ETyeddwq{o=ZH3(##mx2==#2$Fa1McN71fRS%_m@sY=Y(T_D zUOQ7TaPoE=FfeC?7K$&29=FCvz-&~YUjM&UU9D;8sDt6T@-TGOmeIXc9im%j9}3Lk zLxEX*C@_nUT!4YQj{;2k@lk-e``E!iw6hPHw(EyJ%s#^I19}q)!|uZbAdjK+ks@04 hYl%6iKx_GBeFK`amKr$-8595j002ovPDHLkV1jsYtj_=d literal 0 HcmV?d00001 diff --git a/graphics/pokemon/paras/normal_gba.pal b/graphics/pokemon/paras/normal_gba.pal new file mode 100644 index 0000000000..46c089f352 --- /dev/null +++ b/graphics/pokemon/paras/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 246 255 +230 230 230 +164 164 164 +255 246 90 +230 222 65 +255 148 148 +255 74 74 +189 16 16 +255 0 255 +238 222 139 +230 189 82 +189 139 49 +164 90 16 +255 0 255 +16 16 16 diff --git a/graphics/pokemon/paras/shiny_gba.pal b/graphics/pokemon/paras/shiny_gba.pal new file mode 100644 index 0000000000..77d3220752 --- /dev/null +++ b/graphics/pokemon/paras/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 246 255 +230 230 230 +164 164 164 +255 246 90 +230 222 65 +255 148 148 +255 74 74 +189 16 16 +255 0 255 +255 180 90 +230 115 32 +189 74 0 +148 32 0 +255 0 255 +16 16 16 diff --git a/graphics/pokemon/parasect/anim_front_gba.png b/graphics/pokemon/parasect/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b22a7ff8930c80d1b8c99215617c279fef1881f0 GIT binary patch literal 1137 zcmV-%1djWOP)p2c|sQ_XouXlB@DLu^S!fo4EOvETPmlqlJ1kHfHhhXfLT`uHa)LqEnI zYoLxUFMs*e_@$KcW_=x~wxIgDl#azn47E3-8LdfY*i=$_=+0Ov*^Wre@1Oa|B zUz`ujv7F6joO1~Ay1A#b?5??ZLBKQyMk}S#Kwt#S0KlsdVssM`7y(xSfNWBZS62>+Hm212*V(K-t1}3(n6@cDc;Nj{Q$Gi+^;9nS_jL<+A#Sb^c;I0tFZfi- zGyZqTxJs$R!@2BMy^gV>()u6SulmK@Y1~N!a+l?<$};CX{A1lhYiyt^_x5Y&zHrW| zG|#fXDB!buaiUD5l+5_N6k824tpDQM@fa9i&f+bY)u5&}kaE*lJ` zJHWOEwsbCLA1GTu(+v0s{ci!{Z?OTzRVInoSsG>yy&c*|=mT(pEymcuFDEt0T@2WQ zxq^*Sy~!zBsf!N461u(Bx!=A-#oHLIHr!4QkF)&n?Z^n>x;j=(3IbD5-GX_8CNKO>tqyhLKfRZ!sNlsHia^^kBi86Z0k^FGVMsj3Na-s&Y z!|VZVgTCan4d^5qd*}gA#IqndvM)LC@yOkgm<>n{j+dYmLJUX_qc5G(4`M)a@I!`Q zV>2I;95z~`F&HT`Umy}PmK?VAz{b^8s!i3AoGlpxILu^X-%XC4zlbE~76DDb?$60_ zxxP{+mYk6yr7$QtdNaxK(pa#I%7sO&Q5h^`17FI>VL)eqs0{=F6jE2^BsnBO25dzK z0~wQ2R65T{ay}3M&ss1L(*ky5GZ2>@&7jec;CUMWm|<5~JU&-ZAo2tFx_jWZ28`de z+HnB5OE&dcffns*{B|7_r3Eb9Dy#>_jpM|C_JG%@pePJSE9Oyn#Ia^N?U!Fa9)NHz zO#{YS#jp*~I!>pO7HAx&TX_H)$JrwS@HvP1Hyr091_m}QZX0jD00000NkvXXu0mjf DG_Dat literal 0 HcmV?d00001 diff --git a/graphics/pokemon/parasect/back_gba.png b/graphics/pokemon/parasect/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f313d5a911e738b7a06270166f4a8a3df64e098c GIT binary patch literal 602 zcmV-g0;TKlR<96Fc3xAX3=sfq@KVMy#ToZ&IO`OHiT7a7Htm_ z)C+&D~@Y$FK zFaXb^7&!x13P3Ar1H96Quo>Z4J_C58fztO`pNMek0G}}kpRa+{LlvNbW{p+P0KodA z?blU}`(DqCfKwLYV|xue)ByTvl3Wr$ysiKR?j;gS8`yhg08R*_a&?n;%kKv2kyQUU zK=nK92*=Z}#57P;-^+^Fn}B{*LG@9O`h30sJZ}NQ)aZhxs0PgLJ2a5xyUPmKz+9fj z%>X+=uETSHui8KBO?gF`umD|T56l8ym4}y=Wtq%jT+W~`NL>W3W2|oSi09|{MfcIg okeCz38u-Ql^@rEge*a1R0)0IjK~BwP9{>OV07*qoM6N<$f*sosyZ`_I literal 0 HcmV?d00001 diff --git a/graphics/pokemon/parasect/icon_gba.png b/graphics/pokemon/parasect/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..907cbf5cabd3a05260f1ccfaa2694fb9ca44422f GIT binary patch literal 329 zcmV-P0k-~$P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H$4Nv%R5*?0l06cGAP`150Ujx*08fxDmrCe7D>Ioux06QgG@FS0 zm=h%Vx_$Do!}x^wx^&wKEcVgNn{%d}2W^_!UNw|X*E?sS0#iRQg3?(WgZh%iag@p( zIiEl0rOr7fHGhK(E*BpJ|Ex} zUV<-;k%;dpub1W9pX4`$34psWbNZPP{VvSmM`U3F3zPkjuhyp@So^^Ou`rb%k*JzD b?R3f$+IOA6jM6O200000NkvXXu0mjf0#=Nq literal 0 HcmV?d00001 diff --git a/graphics/pokemon/parasect/normal_gba.pal b/graphics/pokemon/parasect/normal_gba.pal new file mode 100644 index 0000000000..158331c680 --- /dev/null +++ b/graphics/pokemon/parasect/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 246 255 +230 230 230 +164 164 164 +255 246 90 +213 205 49 +255 164 164 +255 90 90 +230 49 49 +164 16 16 +255 0 255 +255 131 82 +222 106 49 +180 65 49 +123 32 16 +16 16 16 diff --git a/graphics/pokemon/parasect/shiny_gba.pal b/graphics/pokemon/parasect/shiny_gba.pal new file mode 100644 index 0000000000..3574c408fc --- /dev/null +++ b/graphics/pokemon/parasect/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 246 255 +230 230 230 +164 164 164 +255 246 90 +213 205 49 +255 213 90 +255 172 49 +213 131 8 +156 74 0 +255 0 255 +255 189 82 +213 148 41 +172 106 0 +131 65 0 +16 16 16 diff --git a/graphics/pokemon/pelipper/anim_front_gba.png b/graphics/pokemon/pelipper/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1bf8530ae2321fedafd08430fc301b71bcad2051 GIT binary patch literal 1187 zcmV;U1YG-xP)j005kvtRP~0slp^n00001 zbW%=J06^y0W&i*LAxT6*R9J=OmcMV?Mij>-13?xOgk+$AgJ$q4*_;fP{{v|)5Cjzh z39-9b&JbktWg)nkT!Kz2a0YD85|H!{FgnDZin4{=Cb5;^kV%6KJv0e(a`889vb&hTThKO=)Of8}gvw$bgDk5Kt@XF?|va<3G) z^-cHV?CoA51;mU!7Eo)2&`Ecg0~Q+XcDoe>L8BS0>`gC5`3NV>-Q>20(2WtZTn;ZO zrFF!uxwcwk!1H2u7K7;PV}OFW09fr?`VgU)^&6uX`FRF4u;90&BYJuhE$h8XluDxYq#k;@Y3)3d;w5HRM*)$eMjjl_TY;F0GVbn zs_bK1u2l+*UUcp$fNE>YGeTx$ZzMPUL!*4V2jJA;}k2b&XpJj7Xsc z)Emr@2Iz%bt*5_(UCik+R$T%3H1ZAg>Qn)Kjt^s;Yh=+!Dv@4Sfr4;nrghprQO0BA`>-Wd+r7b_gwjuY%^n#<(*2D>gN{ zzfy|}i(;#v?DxKt2cjR9l{|mq6@c^p*`x|2Vn8SXfH{yUkfr3?Pe_~5F)Hxfe61rfpj@gu0YW34*UP1L4hFD z>D)&K1%i@epp4Nd_|Y8|$SDwRdfU?#2oI3!i<$xf%il=40x68ZV<1xiu+#tWv)egE z?$EL;Q!0=WKS#I%DF+e-VgQ5!F#tk=n1KJM{R@5pLPj{Bo;d&j002ovPDHLkV1k=( B4s-wj literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pelipper/back_gba.png b/graphics/pokemon/pelipper/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4b155c28de12fe97b24265e3df884e72c954cdd5 GIT binary patch literal 737 zcmV<70v`Q|P)j005kvtRP~0slp^n00001 zbW%=J06^y0W&i*JUr9tkR7i>4l)rD&Koo$@;0?8L5JM#p%Cp!~A$*KwKco8P$6z>9i-QdOh( zsaA1ACsGkW_vJ;cU?}od41ji$B)M1>NJ9VsHbT#KcXwJV0%>RiSMac(t_dar0P6uj zVp$fHiY%!%*tQLp#W=XMcxL%6&&xxcg5x-{26WgJQhL5zioBXazzr(8{EmlIg_=@O zGC<2PnO3CpjT{9~7+@v|mkcd7pEaNj+R)(xDg%76!?ylCY%{=H z15W<}M0*9mOL*ljM=Jnd|BW&bim$i=n3H4`D7xeeVbb_>6^MG}9@#nLZgmh*SOvTo z3WZw+Z21@UuAo~5hN^}mchW>qDEK)k9ZSJ;Ljzh7%Jt}p&CZwlirvj+6&UlplfM%8 z_~mWo$B+xwLkMl>3w>AI?pAb`{bpTC;C#Oj7j`x0god(&8FlyB_DEPle|L` z=mQ7NQj#7DLIeIoQ9%IUiY)v5!b*`6JX=6|OneS>Ug5Wgc#!&dfEym%e=q(3R`Lhb TNl}gx00000NkvXXu0mjf1@K39 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pelipper/icon_gba.png b/graphics/pokemon/pelipper/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..55a16bc5f96e96e73c9c5f5d903a97ec1d886227 GIT binary patch literal 374 zcmV-+0g3*JP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H^hrcPR5*?0lCh4$FbszC1oacJa69Pm%tZpT!T_wt!!q**6gn_M zRbA2%jGLowa?43<2yglHJF%6|m{%|0Dh1d4mZQ9~o3SjwxQ44TAb7)!5 z^?F59M9tLS%Bm%9!Wt4hZXs UBgBNtu>b%707*qoM6N<$f&j;)U;qFB literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pelipper/normal_gba.pal b/graphics/pokemon/pelipper/normal_gba.pal new file mode 100644 index 0000000000..c78d73c37b --- /dev/null +++ b/graphics/pokemon/pelipper/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 189 139 +131 90 65 +230 172 90 +255 213 98 +255 238 156 +82 82 90 +148 213 230 +57 156 180 +115 189 213 +222 222 238 +246 246 255 +139 65 90 +189 139 57 +0 0 0 +156 156 172 +32 98 123 diff --git a/graphics/pokemon/pelipper/shiny_gba.pal b/graphics/pokemon/pelipper/shiny_gba.pal new file mode 100644 index 0000000000..41686ffed1 --- /dev/null +++ b/graphics/pokemon/pelipper/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 189 139 +131 90 65 +238 189 90 +255 230 106 +255 238 189 +82 82 90 +156 238 123 +90 156 57 +123 205 90 +230 205 255 +246 246 255 +139 65 90 +189 139 57 +0 0 0 +156 156 172 +32 98 123 diff --git a/graphics/pokemon/persian/anim_front_gba.png b/graphics/pokemon/persian/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2eda6b1ce0af9679d1afba5e1a9a99172a4999b3 GIT binary patch literal 1342 zcmV-E1;P4>P)F0+?T{W1nTJvt3q@1YWCmB@2Bqyr`PA*Fkw_Ey?mmBxh${9Gpm1Svvj;l3`@#V-Mx+Q(dZ5@=@Xi5G ze;`1_Sen(gh%I39cbx{Rq2NNP`gU!GBFgQXFuD1Y`p0iCgasXA4Vl|(#b!sq{m)d{ z)rDMXN>oDTs}#F7!gl@=;5`8xT`xy~ZRZyN_wx&7Z4XodvpaxwP#4ramT?U$+w_3R z+AUyKnj%9+T~?e!CKO;5uCr_akiKRRS zsEEV?nzmvw1~6Hr1i133jZwg*5T}8lb3jQY&>KGi(6?CVfR)&ebm4LkP(?x4q8g15 z65!6tecb6$Am|97jWC==^UWAQUH0!M3c|5{nsz2eL;qudnkc6LMkh{92XMz>B0xqd z^c0Z83a29263R(n&dZ{l0>a=vnoo`);3p>hasBTXJT z>Z)7y8)386X6Iox-s3F20ohi!Q+MZK$iisyII(jNFl;0{(faU~w}_fA-^6QYFow`< z5B$a((y(;-I`;m;+Xtriz$bNn_X0~)&f}~H4`Z@;xb!-@0O9J(Ym#O%2U%A8BG@`B z`Ungw>}w(p$QdydV6kQb$-^>3O(SFIg zpOs^S(e;|^0&PYOh8ZlV2SyAAeUe`9j5oU@27?Z)&uzRm9~%rO+6Ta~!EmB2dZ2&L zj|>LO8ff-49xt}4d(l1xSdo?6CPp2|JZ*}m^5cS0fV0^>_j5b}1Ys2V9?Da|u#ACb z3SjMln;%Uyi`%%HN)fSHIGfma#Rk(d^50#51AGnTyCmQg6951J07*qoM6N<$g0X>b A@Bjb+ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/persian/back_gba.png b/graphics/pokemon/persian/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..10b7acf6566e24ba6c5e5984850a0cb4d02de149 GIT binary patch literal 705 zcmV;y0zUnTP)ClfACnFbstSWVuV@S23WW8JgUO>d-EC%1{sed8jTO z!hS|koqvMl>~D5bzs zO4e*W|5Ui%0*olIRrL&*!aCdnfXU;sj7zrzfWjg$fE3FB;6cjMH31dG=nnFNpBeQG zpg?mK8{l69a0W1n93yaQatF*#<_q+K03Cs=Y(9z&u;3=+ac2=g%kuQ;Jp;VM7;#Y8 z4FQcn^C6D}P0s{if_gyPlENlH9tr4$2ohSO0K9dQ0p@yfef`D@aT(H{UqZnOSW)5B zs>zEptYHXv`g#jMm(a;?0Pb2eKNY5r84%UX0M|6?M;$lO<#rPTK*z(t+_(aM-hjc% zJg4>4W<13lel5#DHNd^jJK;aQjfeE#eMy zVREwdgN~9KNFd_218}|4Q2~#Z>hFa@O)o$vAl2_Y&=YEdf~B9?{suguKv0OopT-jS ztdc@ZRi-$LZz@>;J+7k(r)iT(y3kQUeb2VoeV|946gZG?)RR)#g5CqM#k(L76}CGR zuYJ9CNEYy{Hh^4`=YyvDB*11D_Sprcw#@=1Kqk&wZvtjyz%dp~u+?*q(IviY;L&p+ zny7Yw-vMXpapvo$-T_qHP21`c?hA|1{+S8f3m`svMwm+h9NYjrOh4`cadD0Vu52L= nGbfC5y(kH$;oKj9e?5Ky)#cfNL_*uK00000NkvXXu0mjfi|{~J literal 0 HcmV?d00001 diff --git a/graphics/pokemon/persian/icon_gba.png b/graphics/pokemon/persian/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3d6f72feeb81d07ec6c1520099a4817fc0a0f4ed GIT binary patch literal 328 zcmV-O0k{5%P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H#z{m$R5*>@l0go_AP_}4K_|VB@t&?cgFBO{?b>ug5715b5~523 zaf%Itg~X*MIxFV!`3&JJ^?L<;&4I@*2hR4n#A`nk9?-qki#P%HG_Yd6$0Ja?rmh*W z6AwO)=emhSJ(rG^MeP zHleer4|_(h-(~b#{xm5B3sQexWk8@W0s`$NmjD$&u`7T|KmsG5`#vyo;8N;&@B)zxO$roorlEiWX!2@Ea7~)ctbJUhW0nVq{1*r@A2aJQ`2QJe)hZ}$2N&xZ z2YHFeI8TFw9u^U-xZz)CU2Gsyx`nw;#dwBamk3bD zEU@-%3SU5SdPahPs8)9u0oWq&h=8OHaezh$h#>_Wvj!-xXL3vdiE4=A{)Zg@Bmj0) zHDcxyQBJ7~O^n*DwbJv_JS}soMdGUIQT5AmJzQ!_o?_lEjf31|-R_>2d zhQ1K5-1*lLb%+>z3F=q!Hxc`q&On5K=(K7-CfBgw223_{j(3>$Ca=4LM@)lvRrvT2(@_L zZL0-*gvU?_*}?6$S{-WpCjpE|Z-As`^f=u5Gf19_A@QV*y1cP}>Fxh;J|k*YfWZ9( z?f)Fed;)qw*Oc>#ET?BcJt1HGE&%QS*VE(-==l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zUkSI{q_t&$xxcPEflY*C!0aA&c%I~T4w%v3GB&r~>;CB%KD$?cL?1t4zGCjzLAT!r ziS>;zvF^^XdVM?E;?w&A2pDfR^)T^H-1^V;ha?R8E&yPz=@B5_dHZMmaqE5v42A3_ zMEHIq)D#zP**1wXIS0V{hOTc+uEAk;ZjhLBR@dL_@zg)PKXud`xE>PUQx3}i11{X@ zbW57~Eu+~VK}6fH&>Ts#+hK)0dbuGVinpaZjwIY7202w6Qh;@ zph7PM71|rwDS%h#g`h(Fz|~DH(d5M{wEtilm{jP1m;$ns3LOLrK)k@71{Iny8U&gI z#8agy^Mlpa6bBUd5&`U-`yGdhP5&)*XJEp`0n-ADDnX(;v*?2*Zk0~Aa9;Sig zlS}e$%nx1Q;VS7vd}b39EmONU3PJ?nI1$1J0A$vyKp5Oe$I$)8m&qKEHm}N85QeuG zmV)qau@LMA2tb1aFWVI!BSsQZ<1qpNt*BhSqCJR}UgLsrG03K9c`^yY-pr=5? zvJ?y95K&V~e!+ z6$sDbA{dVjERv}I*)EkWng3#tu?hl&JZTML>&!JY?%MMIY;y3Zzu8Ryf(5>L*AAd+ zyd}SEPIm`w&*lldst(w*X?rGc0Jkh^*7 rcV+;AdiHSqJ!1za=BIun|F_3K1+`}cWrVhe00000NkvXXu0mjf{ow}0 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pidgeot/back_gba.png b/graphics/pokemon/pidgeot/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..22d7d27028a368621b7cfb402be60d87bdf6ef25 GIT binary patch literal 729 zcmV;~0w(>5P)p<1fxCS z4-|&pg-i(e0tgra=B`Ff?vlC#srqC|MwSf>z3W>ryx;xa9~;?m{!^?k;k`7?e7@I+kAIcJO!Qfa7xxoB8^1^0Y_FJN&lBhiU`Aqe=P&eEYCzTf*^|6QzZ|X zpIn5bOrViKdZ<#vDO~K}(>)FwVm#o#l|LmAb6~f(TGGInfddMIV@Pt~`91Fiu@;2P z5k+F|xSUCVzkAMNeRGD)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beKlRt0TKp4guQEc%Es(zLZ_7YgFE>=cgrCN-<9!?qE z8xT8em5>m2gfetV4h{^2we|jbWs6>x?3p=9(sLqks0ulsJ^uQcYXVH{spmhKk)Bs~sQ$q4FvQPYM^L-H8VUay~Xp1-@T z05K84qZA~3<_NrBRshixT`7Z}(iizxTCosa(cK90lWX7?e69dnv0aOtAAp+){TFB< zvYsWW0`gsF5>=~cHSUr`6Zy`WMAb<&?BNIr1&p29?*iyAPl0IxIG1c@+NVdtDjl3l zb9T*`9M`he4yghUNJPylht3-E4hY#g=f*4P9%-yAKqHtJ@ zO<@-uf;Y4sw_P8BA4yUGyAuE)>N{=6Z`j|puDakQV0AzPj^i6$1B()H@HYSjc$?$| z;5ER$(9^>{O&4R8gRM>gCC_CEeA7jo0Loy#;oMB}!p&X+TE~yEu-uOY@Mm8b%s10% zk`{oSt$f|5>pksnjE*ZwiyST3dD#KT_V;^L0P4eG!b{-V^MN671(d0apC?0HNopEx zLG<9=Gq&=s@Q-~y7+?vi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I0ZBwbR5*>@(lLs|Fc3h|If3U6IY5d8wv3PBA}|ZvOy`uojSDwA zfFZt$Ns%TX1R@eBu(J+}<%x@}wu&n2Gcrg#fOlB3+GDd61aW{|<&vZ`5bsr!Lt+Qv z9(g`t+GLzmwVMaNxFv1^=MzLMk;{1iBpfB2{4R&b;3bgX%mMpeN|JgBgZK|VQT``L z3KVq!B)Srf>SA_p$*O&EzHId#im|xq1J86=y-u+jc)Rr%hu@$$IGjEe2Q;Z$ap)#N znnU8wpym*g(HyX)B%g}I6etiY4nn0+R2(KAqB%VJ!G~C@Aj!XQz$cg&4ruKDV8YM+!j~_#Orq`zh7T5p)002ovPDHLkV1mdrrBwg` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pidgeotto/normal_gba.pal b/graphics/pokemon/pidgeotto/normal_gba.pal new file mode 100644 index 0000000000..bf2ec6af11 --- /dev/null +++ b/graphics/pokemon/pidgeotto/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 197 172 +255 255 255 +164 164 164 +246 246 164 +255 238 90 +230 180 74 +255 172 115 +238 98 65 +213 49 24 +205 156 123 +172 123 90 +123 90 74 +90 57 41 +255 0 255 +32 32 32 +255 0 255 diff --git a/graphics/pokemon/pidgeotto/shiny_gba.pal b/graphics/pokemon/pidgeotto/shiny_gba.pal new file mode 100644 index 0000000000..09a5b5cd3a --- /dev/null +++ b/graphics/pokemon/pidgeotto/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 197 172 +255 255 255 +164 164 164 +255 255 205 +246 238 172 +222 197 131 +255 255 65 +255 213 24 +246 172 0 +197 180 123 +164 148 90 +131 115 57 +82 65 16 +255 0 255 +32 32 32 +255 0 255 diff --git a/graphics/pokemon/pidgey/anim_front_gba.png b/graphics/pokemon/pidgey/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8136556d58cbf156007cf8e1b5c75af4944e4a35 GIT binary patch literal 936 zcmV;Z16TZsP)s=Z#&-S z?%vZ$=mB7r|1H`xb*dpP&#|8j*0sh(yxw>UfRoN?ysk&4d?_|>0FVJ?XBK0#amGi0 zlS0Suq69j2D;Uy^GX+L~b*9+t;*xe|LCXg8wXX0{09;oG= z4|6$Z?k~XMI6xuDYTl>AiRU<0utTheMHAw~@dSy^xQ{ppIS|Y2iWNEQ9c1UYkNDOy zKtWb4Ri{26qY7X4E|vg>M~c^iWm8A!YH7Y7jj!A?3^X;pf;>9`0B*6xFa<%;l;!n9 zf?oiFN~i;{%`i+62?nX2*=9DGf`TSQfZc?bg(CXeB>@}@6<8MDCIfUA;36yvQ(@n- z5`hhnb&)YeLUou+1n%n;G$5<&?AGig;C}G>`z?e>7*y-YJv{8zOa&opSR)()d^iHM zY3Ww-0)E!2T~pVMZ;2f&^4`>3-N+K_{ukF)b>dCa~2a;dMRaRMLm1pwDKnQs>5JDaegb@1CK!`+WAmmv1HZTzK3VA&+kQ5*{c;g#L z${zFG1K&W%Kz6=2>5IdX!AlsFW-zG?40W%wLIWT{6AOXnON@7H=PLIPPZJ|5A5fzU)??YDu@uhIZrn*f^xeC`6% z&`e?-SRmVUrPSa5tgRYa8sOMtL+hph*}qbdR3K20)cPv_F24Yn-<)r!Uq=W40000< KMNUMnLSTZ#y`M4w literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pidgey/back_gba.png b/graphics/pokemon/pidgey/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ecb42e8f122b44a3033262ce2a563c6902fa0564 GIT binary patch literal 702 zcmV;v0zv(WP)Klrf6iKoo|jmc_yzA!m4UBSZ*z)HouIqb3e}4X4-x zq}nEx%oYa8g~x*l#4grjj6qVu3gI&toXQS!hJBK(^(ZTA50Lzg2EA|o_iJV}g#1^d z_~sQLa9$yTE^h|>uH9@ASw=GuI<&b*Xc;%nz^8g(D@(wy2Od31v{3_~vx$s8;2`!{ zeTIawJ?w~Xnob?SxSlW$?=rxe)c^scDFPY!$%JRwhK-3W^@LE&igWimje=kwhB=AUW{5fFq7bq+Z!c9 zr(->L7$WcoeBVB2&}aaVD8PCTW={cHwCjVFJ3bV^1Wc#^VD${1lo6%~_~4u)EXRQB z!+1J+D1gKVh?KpWcQXRNF7i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H>PbXFR5*?8l09m~Fc3y{0?i$qJ_f6B7vCidDp#Gh%#CsZ7ru%i zuv-L-$$$hl>=$h#jhr@B$P|Kk4D*AYQhzS!2;%w!KoLp~k3j{O%V_YNKq#Phrh&5= z@a5FC0WP;-pK{A(68H($nKpxcVw`VX1~iVi$II)S!2~wZ+qv}EzRcC0#pZfxo|jnw zwJe`io@!nW=jubjf7J2#G^qoA+npbfDgwCI}sR9J=Wmc4GL>%=98EiBU(4)OH@KBw-MJOuCV_;Z{ zMn725v0J(|Q{k;$6&SGUp@sDfJ?fw2#SYM^Z4NLX=sq2f6fJ&^^KXTB4k&kj3LMKb zE#yOhDd**n-A%8|IpBMH(>o5}0RYWS*UxjVpFITiMF{yL2ZRj}0o<@tZU6xQGj_%o zGKg`$Ob7_L0*;IEXf&3TM>g*`>4-w*>j7eG2&e(Mse2u-3?PBmqme9qStZ;tm_Ssj z{xA2kn#_BU2H?&v6>zM9Xe@D|17db0Kn+0&cO=mS(n$d+A#Xn6?!pJOfS&+9KnVAr z@sQB-7Vyi5$#&}#uvjnA288zoVEX~!e!C7wsR9BGSZ4%${RnXVkibL%i=9?rEa@#> z69fzT6=t4Zwp0lf3CO_CJ1Ne?h5#hMSVr2CIB)Y34@QGk6xbJ_dgcgJBIybQj^IkP zEy(#w&@`=8Fs0k`il;qp%3!UB=m_9AQNK&!xX=&WBQ9Z+!lKAudQ5isy# zrbJq=q}nOLA&cx1E@J9Ky_2#H_uovh+9ebj|2ZqLXn-d^W}$L;CQsfgo~1st(F2h2~ksN(D=|0Q1He~L4P^BjvhM;uvg(Ev?+?1EnYt^Z?_ zM_HakmNaXxqnkW`w8q$jY#t&F;zWvW@7fEu7oI0-q zN|VA^X%ep7IssXYY41F16)5;24Vu@Dr=8_Iyked`T*Vaz}i>-guVjk z;w_a}XbwUCL7F66$(ZVoQ;>9YngpuC!O=s|x!k3dgji>nSF}x5U2+!GYtk}HnG@R7 zB&))+HHlg%FthW$sVTs!Pc8Ue0SqGMfNp`xa_*QC0=qm08K-J$C7W%)|FK$0deUMJ zST8X$t6U8+&D6;3BG)4%vKm>GrTM0t3T@}4Y%7-N$Z~TU_$%W#WqXERain;b00000 LNkvXXu0mjf;}ED> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pikachu/back_gba.png b/graphics/pokemon/pikachu/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea5ff592ea8c17abad26fdaf2c39f86fa00ba2a GIT binary patch literal 587 zcmV-R0<`^!P)(R7i>Kl)Y}kFcgJ70An7ZgAFf`n=o|9KnzPIgrH`uP#_-j zXjS)0eTWX-K&YT>^)vM5$6y{ZW{_*tKY*sT+?tpJd1#`!HUs4ZZv)Brnp01_Y(FDYe$LA3DzNW?3OLLYvU zu_3k$>kJ^8dFx~lhK)gFMd*uu=vzsz_Nh9NXMS^yo1`hlTZ;K2p}1e){! zw1It?ld5kl+F3SA%pS|eSF8*m@&GVC8H72Bo=#>E(W{wK1CU&R$1dQh6L_=ssh6)C zeK&VOmU{UTGX5a<0oYhTp-{UN#@8{7H^gS}XV^lrUP~!jLdFXRV36msQakcAwt*~4 z%XJOpsV@h~_)OFe`AX+-I`CPc%;N$(!(hl!8i+Vgofa9c@wxt(pE-9f0G!26Tn&_S zDOEiZ@zO>_v!h$aGc9G=jG=1g0RmabW(?d9V5xSDV$t-pKs5p2siq>wFRWU1$AY$0D7>|E z$mMA8XynDgig#7Nt+1osf=_VK54}j5_au`Z0DWt50BF+~WbUNJiIfvaNyO19X-j9Y z=u3mrO8+H1-V=m*4gkW8PY{MR6QeL3GCy|^#x&Y@g+jL>@+{mt@HB;~It-e^n0}fD z5Qa5Au7bi8{gPK<{8^ZyCT^Xe`Oz8(e%p^9V_cnf)%Qne00000NkvXXu0mjfKjE87 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pikachu/normal_gba.pal b/graphics/pokemon/pikachu/normal_gba.pal new file mode 100644 index 0000000000..bb60c24a99 --- /dev/null +++ b/graphics/pokemon/pikachu/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +255 255 255 +255 255 123 +255 238 0 +238 189 0 +197 139 0 +131 82 0 +255 0 255 +255 0 255 +255 0 255 +255 74 74 +230 0 0 +180 0 0 +106 106 106 +16 16 16 +255 0 255 diff --git a/graphics/pokemon/pikachu/shiny_gba.pal b/graphics/pokemon/pikachu/shiny_gba.pal new file mode 100644 index 0000000000..d4b783b0e6 --- /dev/null +++ b/graphics/pokemon/pikachu/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +255 255 255 +255 238 139 +246 205 32 +255 131 0 +205 98 0 +164 41 0 +255 0 255 +255 0 255 +255 0 255 +255 49 0 +205 57 0 +180 32 0 +106 106 106 +16 16 16 +255 0 255 diff --git a/graphics/pokemon/piloswine/anim_front_gba.png b/graphics/pokemon/piloswine/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ed0870abc5a7593171d42ae40e8609392793548a GIT binary patch literal 895 zcmV-_1AzRAP)7*{wABeQq4kEb<5^gp^}s)sIF^8*dwqNdP|Jz7#CQgYG`MTh#}?Ve6Y@?<{8ImJXUfNJ$v zJ_tgxI8IC=w1Q3z%@cbhH3B%|f7;Qv~nXo?!46xVPpF~$+1U$?_3zQ>(_Idgn0RA>3 zU>+NQumN`fh-n}-fMf(L$PnO9033mp1&H>O(fgo*iN@QA^2$L_k?xetrJx>guZU zt^u$`B|(~7_15!$zJB*+?Y$@gzdU?hZUFAu+cuXUKdn9g=I{>!IT#Bq*8bg(s@n7b zj`eb9R`751v_E~81xO~ME-<|IuryxEnt*KV^% ztAH$D6e`K|55)3ZlLoAsD?l}5R7&v!I&ABT7sdA7`Jq3 z3&sY_!LJO#;2CO;b%N(RW|?t002ovPDHLkV1gg#mTCY1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/piloswine/back_gba.png b/graphics/pokemon/piloswine/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a9a3bfed8e7701416f23c738d35c765f8345f7e5 GIT binary patch literal 436 zcmV;l0ZaagP)1R7i>KlDl%lAP_}e1bqnn0jo)yf~9tWa2wA!<2JvZB9l7H zLuh%qPsX?9=xFc4>GaG$jrR|ag$KA_ADrK$l<+zw;<=Q1N~CkC)Z0X$6QBV;hk%1D zP-8-XjtWf%z@K{uETD1-SkKtiHDri^0N}U1bR$3!&_B+bzjgrR@5!(twh9L<20P$| zp9cZj`X8ba1Oxi7A+W~GffbEO0`!-m0ZaUQy{Dqcu{Gc{YZ$Wm29SA&*?14!E#j zXbr6Awj0t-Cjp=GwhOYM13tDV$@k}(d#FbqX|f^Y{8P$bylHqMr8@kZ~%!j&pj>gX~h zQU^lXCan{R4IzOyKYd$q^s4IDYUdw0u-If|hln~GkcfswTnGRI(?B3P3zz~JltluK zhINUPA;7@AQv(N5&LAzZ=p;4(b_LEmG(4y53Lmv3)boYyr{wSLChqS)2ey39em<885phK#c z#uyzUl&y()x&USysBLYn7E#k%L~ORnVhn7o1l6XdKN5h8W$yuiSSVrI!2y{y<2Gm= zrTV;EIzWCJ8m|pU6a;kiU+odS5|MBvilw{4gQiBuKq66c1xEmZ4+OC>5TkfJ&+EhE z88D}H&xkmO^J!kUr?0P^x(L`E!?%}t-M^e(xxg#{B&E4XDNq1j3(;L^fR?*wvuk&X zd*??hBV7sD(4pMXZ5b)G2zzUfu(8HSquMcWKU7O=?E#cKHhzf?Gv{Fsg|oWs>uv;y z3KVH8E&%i(M*wF(0Ld9+yajKLXVUX}HSi2bB{gaN^WB)4aA%h^to`Eq zaIY)!iGIDNEmPH=4~@?Dwl6IK)N3WY5@kgfmxAiMDHt!-BLI@U9i(&nK)uq?{+Ngw zfHtGsPrx!CP#xLl8gRfY_IyalgMut#ET`S;*>FJ$MH5Qe)iMhLE2)T(rq3%J59yQ+ z^l++98dK$1g|0vk0}-t;JPbs6m2^U>Qu7#tFQIsrFfxgJjQr>7O{JFMH`tpR9US0Y zsR_3CuH+UF@sC@WH0fW|`o{VcFn&wG5I_L~Kwb?P94TPrm|YDRz$jq2kIl7!q12Nx zyZ<6!z}0}U`XyjwUci|0!#gtNho74A!{4m$jjH*SW2RyH00000NkvXXu0mjfh?`3u literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pineco/back_gba.png b/graphics/pokemon/pineco/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a92454bb323ade872f5fe3147fef2b25d2bf784d GIT binary patch literal 520 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*RyBW2nY!LXZR0CnqJkG z#Y=+LY-zrFb<4YNbCxXm?_~*<{r~^E{_hz;y^JM6e!&b5&u*jv*=?RKjv*eMZzt_7 zYBmsPS^4Igi9x0HosJ#cz2^ds@}4NkoN%6hf`o1AHx;3OHh%Lzp37i)vwZ4~U=iD| zSD5$yf0%DCKU0KZ=KD^q<%?cv-wx}$_wMJq=iXs=%cd6ZjTM$Yeu2TDJbQu2fnBrR z7>YNtX)sJb6l-{&S>;fiZ{t@V?S^|rof_-g_#S8k-@NnOPt!tm_OsSV&7*gx+<0_H z%!lDY)V%*5S2zD>JAI|=Ft@)_kxIxufmL=VS~T*?gd3{9eNCMGiNVB#`Nf?;ZBd^k ze!Xq`8CD##*zBjp?w{<_=<8J?(iQSZy;t!3D+ys%^@R)~Cl^hr-v5gIM0f0#D|T{> zvg>P;_Pa9#UHTmMK!5m}lUmlMp99@qFLs^O=(TF5Ji}9dg=kOHERQcnT|JUbB7iwkJ-#VENj2;G0S3j3^ HP6OkkG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pineco/icon_gba.png b/graphics/pokemon/pineco/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3c12df5a2f0b05053023c899dee0e017ca70589b GIT binary patch literal 290 zcmV+-0p0$IP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hph-kQR5*?0lF<#qFbqU9K_Uh~9fgrt)F=z&>MlT4gv3|O5x(M< zPlSZv{`_?ICDMiPT}oR}m(|E+4U(uRJ+cNQyAAHKGwqgo;y|n2k_xJ1Xa}Z%x|Qp3 zXe)H7saq07$dWDz!)(yZ`_I07*qoM6N<$g7jT`zW@LL literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pineco/normal_gba.pal b/graphics/pokemon/pineco/normal_gba.pal new file mode 100644 index 0000000000..91acee124a --- /dev/null +++ b/graphics/pokemon/pineco/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +41 74 123 +57 115 164 +82 172 180 +131 213 213 +180 238 246 +156 164 164 +255 74 57 +255 0 255 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/pineco/shiny_gba.pal b/graphics/pokemon/pineco/shiny_gba.pal new file mode 100644 index 0000000000..a474cc3e84 --- /dev/null +++ b/graphics/pokemon/pineco/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +90 65 65 +148 90 82 +172 139 82 +230 197 106 +255 230 131 +156 164 164 +255 74 57 +255 0 255 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/pinsir/anim_front_gba.png b/graphics/pokemon/pinsir/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..576e56b7d05f80e4944d2af5c97455f94120f2d4 GIT binary patch literal 1460 zcmV;l1xxygP)1R9J=WmcMV~HWbGN)EXl}2yVNJ0qL?{dZDtO16!VbkmISi z{-bhp=xj>v(kZ57H`gf=Wyi@>$?T(khcwbPLp203`61sAlJENz<*j|{&40`f(e{<; zo;tJ!udN@tCi?msFdbS~t%W1#jfqALpq|SfniiT|H@`kgfD1soZ_k!&3{BJqsZJ$8 zHBEHY{<7?`K+FJ`wPVlr=t9`w(n6>md$Pr(P62S*G1ndoK0p=_>$q%B1Yi$9GuFGY zB;e6PuwKv58XzR4;*m*@w_<>A*MZYYyp@ePrH6Q9;3vt0 z2bjzFY!KtVfyMn51rmUxVmUj&Uuj;$V1fg|Zm`R+F98Y6`32BtpEDdD1qkd-(^JMW zKU|6ch2T;`DcLdhnUD;x#UKL6BY|%>Uz~y0Kf%8 zauSGn_O==hcpA71VNPQ1gT|Vd7%y()7*mK6{3MZ1@<3xO-ZhU|i@lg1QksyEkgdWF zVGKL&-nC9FZi9dt14vg|yg!P4=KuMwu|YFT>E@Il7b*PHNo3^FthS+fOYFx1JMe^+ z0i@4HPWE-#3~8K)K|)dz;;0(a_XDQaz?~OF`R0t=X93OY6zK3zRS!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cmV?d00001 diff --git a/graphics/pokemon/pinsir/icon_gba.png b/graphics/pokemon/pinsir/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b05b075b90c229ff21182ea5c14a5745d845bfc6 GIT binary patch literal 334 zcmV-U0kQsxP)DV$UcT^d|%LEa-ljG3%ha$qhaOwT2pEfFPh4}cSG-ro%I>n(h> zG&9$oa3Rh#iy!Jdbkh;q_%r-VFtjBk(~uMzUv_}~D3uxl#!*YK3nM`hrZEWkePQrR g!pyui!hGh(9d7xX<^u1K6#xJL07*qoM6N<$g1*&^SO5S3 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/pinsir/normal_gba.pal b/graphics/pokemon/pinsir/normal_gba.pal new file mode 100644 index 0000000000..9ef4b91f2e --- /dev/null +++ b/graphics/pokemon/pinsir/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +246 246 213 +213 213 180 +164 164 131 +82 82 65 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +230 213 172 +197 172 139 +148 123 98 +90 65 41 +16 16 16 diff --git a/graphics/pokemon/pinsir/shiny_gba.pal b/graphics/pokemon/pinsir/shiny_gba.pal new file mode 100644 index 0000000000..cd06d2111b --- /dev/null +++ b/graphics/pokemon/pinsir/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +255 238 189 +230 197 156 +180 156 106 +98 74 57 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +123 139 222 +98 106 180 +57 65 106 +32 41 82 +16 16 16 diff --git a/graphics/pokemon/plusle/anim_front_gba.png b/graphics/pokemon/plusle/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..123efe4ef135b4afe81d52f04579f100c2cf56e9 GIT binary patch literal 830 zcmV-E1Ht@>P)bHlGvO6hTfCp4)r?~3Z3eMkdXU)ckf~8J|PbAFTzOf>hnu~ zRsNMEOg<=q1W{AUSW`Z&^0?X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|WMnvq&@kn4XR4o_~-d|&P}`eXnA002ovPDHLkV1h8g Bf{OqE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/plusle/normal_gba.pal b/graphics/pokemon/plusle/normal_gba.pal new file mode 100644 index 0000000000..e225ab56a4 --- /dev/null +++ b/graphics/pokemon/plusle/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 246 222 +255 238 197 +238 213 131 +189 172 131 +123 115 82 +238 156 115 +222 98 74 +139 90 49 +238 82 57 +41 49 65 +98 98 115 +65 65 98 +148 148 148 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/plusle/shiny_gba.pal b/graphics/pokemon/plusle/shiny_gba.pal new file mode 100644 index 0000000000..f1305ea504 --- /dev/null +++ b/graphics/pokemon/plusle/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 246 222 +255 238 164 +255 213 106 +205 148 82 +139 82 16 +238 90 49 +205 49 8 +148 16 0 +164 32 16 +41 49 65 +98 98 115 +65 65 98 +148 148 148 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/politoed/anim_front_gba.png b/graphics/pokemon/politoed/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d2b8b43aa688b9a6b6ee58dbc674be3a476773c9 GIT binary patch literal 1191 zcmV;Y1X%ltP)@gAfo9dr-|N00001 zbW%=J06^y0W&i*LB}qg$By&wGcmu%e{pFgybB>NZNLJ(3tNcATsWSv0{FcR@D>+y$Ft>-@vVR| zE3g8PWEMaC-0yQfZE~-ceY6OmiTFK6|Nc)8UVyob)q=mm1mFJs4UCO|H{sI$5D&l{ zq80HN0r3?9V~Catz(xK78bXLtMi^x1hc|Vn%X-*okpkz@FYgUGf)1TaqQtLHPd-AT z0d0RSFG~hFL!e%S>k~4NWqi$ZaW?y?72y)H#xcj2S)PA5pMhRPKsbLb#PP{2|Mh8Z z0NiUl;p;EQ$Fux<9}IxwA#iwheDeOoqb?+=p_c`Zj?PbK`FDO7rzX__4`B2x&k3Og z=a3kN8+#NI^b6T=8C(u0)gOUCf?(Vhf=YFFyL#S|oBKdfWJ;fQwX zz>4&f_QPPEi2^9?>A*gJMcRaYeprk@QQEBo!^c?tkAy`dQj9$su4}+rM4k-EgeSdZ z?1gQu$hZ5$B~T<|N9f1Aiib~N2^gogjE9eb_%Tnw3}laJHBmU&<(UHxs#$dzfY9@H%DHky-TQyc4Bd97k3Yx-ohfh zO4e;8wgY;vOsSXqjQjpp$ z{c)rNExJ3!SxnV1@PX#XPITs?#O0U@oH%`=@gSY5^0H|732~RZT4JfT|Ad^(^bWjJ zZDd%P+veQ|xX;;W+XnpE#@Vm|R~?)UYYl>Zwx;-R+CLE!Z?u^{Ry+Uz002ovPDHLk FV1nVCLbd<^ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/politoed/back_gba.png b/graphics/pokemon/politoed/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5337b6f27727e25c286eb666341e62e497bffcad GIT binary patch literal 565 zcmV-50?Pe~P)@gAfo9dr-|N00001 zbW%=J06^y0W&i*Ivq?ljR7i>Kls#^PKoEtuNkIe32{;74L2zwLmahO^N@gutcF9sX zQli*Y>75${cP=PQpC*ywGL4~dWLIovH%`Le5-GKx1QhSvH?uncA!q$xI_LQxKB@)a zd`AqPDSd;#iMzUpsGoA8tRcd6o@OloUYV{2xCB~y5bf)nD0g9`nT%1lkPARp`WjEw zCxi;`^ZY$*@g3)S=eQ555cH*B+DwGrm+u0Mnh4E10UiKM8-Tg%%Jr@b6BFtY8h9uN zFMusS)FbBLo+JQHs}UN=1hHNKCd_I9D7jn!W_oA@zBMsHEoU|~RyGy|042_ayYM|JdlY5Ts zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IDoI2^R5*>*l0j<2Fc1Ls0_zERL_bhU@g)Xdvb_YNOS6}N`-1+W z6bhyNL~btiIUte`#NdkqML{vR_A#o98*8QJ16iFktai21Fm_qNP33}$jXY3sH-&R! zT+kvqq}wBsLp;QXTZ}EJTdc1_VSz!ssl!P{ONjc8fCj@kJQBbGrXP81L1of(g*Jm{ z%)C6$Vd$$=(PEN7bV>>C^&(ZOl*5@_vK+5xpPK;$@GVQwnq1XHN?bb+p!ad%0Omc} z1&8kk@0JU=KdkvTy(i4?cN=eiMi}BpFAVwpUKsF&0b8~gM!XKh0KhgEa&u~u9rJvJ zP4xZ;lsZWHmOxDW&|jS&w&*Tdr0ZE`RSsY|E}0000P^gNw9cYLr1zVh|7zM`7U)00001 zbW%=J06^y0W&i*JyGcYrR9J=Wma$LUKorJLYSuVD(9Z^h|NW)klgrHG*)>jjuU_vl?84*2taz36cFy-0%H!8H?9P)Ips}^x-8~%v z&KIXV18Bs743dvuOtV3a zc$|>mj1T4;GBkbOA6M*lyKN`pq!!?ig=uaE(Py%4o1~;kdqoX~1ba{)40^uNHrYv z41ucol&cj7(m;SfpoZOPbQwQ6NGw6Bf?5P^gNw9cYLr1zVh|7zM`7U)00001 zbW%=J06^y0W&i*IQ%OWYR7i>Klf7<(Fcd~Dr7Ma|JJJExHUlDSRk~N|!)64j>dbYb z?!HMLAaNP8rqsqJTnOX^$~SV4&;9sgY|50I@wRGzYpx`~T8+<-P-m3zpvY=sY>R{} z%MGyUT%Ik{R*+dmN#`-YPo3ZbP{keRj*yVM6&*#)9pM2KMPcW(=9>ZdLu!CLcLKV@ z0({91#^C0#CP2XLk^|6`#PDU8bb+?Sj0cu@?*MHHeVd{N9_d_=5-|_HYeEu0;+~Ya zRtOqZv%7@!lp1bvcKv>pc3j`al>eSTY*AyTV7Sx@00000 LNkvXXu0mjfk@?U$ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwag/icon_gba.png b/graphics/pokemon/poliwag/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d4cd95f1c0e7ac7a4f6d6930228d8309de1394a3 GIT binary patch literal 339 zcmV-Z0j&OsP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H(Md!>R5*?8lA#WRFcd}K7j$8AjycSl6f?#C4Ghy5YUqFLYr3E? zT~iFG4x059NG6udZC5nCN4(~x2jKUzvwAvJ=mQrTNGd%T$}1PprkMwQS+EHd8BQpL z;o4NxgG*EyZj)SlAZ{b)wmu@Dhd$wBZt>OFMvPnRFg+NvMuraLzCSHHbV_y25-15o z!9Smd$Z&T$v{~r04kX>^K+XX;9d-%BzjZp8n&Jqj!IqUpj>TMu*30 li$-;F1thG&%(lCKHBW$|X<3^DyGZ~5002ovPDHLkV1g*jk5m8v literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwag/normal_gba.pal b/graphics/pokemon/poliwag/normal_gba.pal new file mode 100644 index 0000000000..14f781ec90 --- /dev/null +++ b/graphics/pokemon/poliwag/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +98 98 98 +255 0 255 +255 0 255 +255 0 255 +255 189 172 +255 139 123 +238 90 74 +180 189 230 +131 139 180 +98 106 148 +65 82 98 +16 16 16 diff --git a/graphics/pokemon/poliwag/shiny_gba.pal b/graphics/pokemon/poliwag/shiny_gba.pal new file mode 100644 index 0000000000..1789edc4ae --- /dev/null +++ b/graphics/pokemon/poliwag/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +98 98 98 +255 0 255 +255 0 255 +255 0 255 +255 189 172 +255 139 123 +238 90 74 +123 205 255 +82 164 222 +41 123 180 +0 65 123 +16 16 16 diff --git a/graphics/pokemon/poliwhirl/anim_front_gba.png b/graphics/pokemon/poliwhirl/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..df878ca7b2b9e000b818ff79afe9a4449c1a633b GIT binary patch literal 1073 zcmV-11kU@3P)KorM4mH{Kv1%?hemLMfU$t_qa;$LfEah4{+ zOHYcFzad$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>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H+et)0R5*?8lDiIrAQ**t0*&wl!eS>DGlB zSe#0$T*OWtoSL4naPnUcHEh`};73x@5BcjV&*ue^RFF!8?000000NkvXXu0mjf{PUM# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwhirl/normal_gba.pal b/graphics/pokemon/poliwhirl/normal_gba.pal new file mode 100644 index 0000000000..50de4d6313 --- /dev/null +++ b/graphics/pokemon/poliwhirl/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +164 164 164 +255 0 255 +255 0 255 +255 0 255 +123 123 123 +82 82 82 +255 0 255 +180 189 230 +131 148 197 +98 106 148 +32 57 98 +16 16 16 diff --git a/graphics/pokemon/poliwhirl/shiny_gba.pal b/graphics/pokemon/poliwhirl/shiny_gba.pal new file mode 100644 index 0000000000..b6aa45616b --- /dev/null +++ b/graphics/pokemon/poliwhirl/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +164 164 164 +255 0 255 +255 0 255 +255 0 255 +123 123 123 +82 82 82 +255 0 255 +106 213 255 +65 172 222 +24 131 180 +0 65 115 +16 16 16 diff --git a/graphics/pokemon/poliwrath/anim_front_gba.png b/graphics/pokemon/poliwrath/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ec68c4aa584a1ab3de662eef8df64e9cd300ec49 GIT binary patch literal 1201 zcmV;i1Wx;jP){)&n7@J;c)(dRDVsc^SZ`iLIAPCr$O(~tQdw<0>DK;Ph zAIQ)6Tm$S+k5~R&0`T<|{GKmiY8?j=Fnz*W0394hz|&hC@aG)hBZLD9%q#G~b5#`B zdke3827kyp=A36m?wLOi8)b}d0>0t=F_SGS~R?XhkSV01(BPHxm2v?g5;5f!DLnQ|_oKyE8EX1mkQ3~u~ z{QC9|IjxeE7@%)j7QrgeLWiydB8>q)#JB;#L;?Ev_O9p@o$rfo&x-&un4}7*WC2iW zl{yHT@JN%$&oxbeSEz;Xr36}K7uQnYY70QsG0?|HGy)oFf)FU5Fj(%DX{~)ux`f!I ztBeUo+a{}Gr`)$F?Ndq#>C&+>=pIOr0J%lCazrup=s6t=p=1CJOy0bAd)*<18mjb~ zh#kNf;%Z~^p>}=<>8WSa4ggDar_2HA8Y4`HN3sA&a3aKmu|v=+!~9@Vj}St`1me-i z#hBPq0@hD5B}7q}dm$06Kjagb{NW3cA=fnt;H?+SjYvWR-1;*io#%!MWX6!xAeQT>w((-7YZJ1^#TP#Nx+2zTccvC7FrFkfK_U;pk&tu;H7sck7^eya zanJcImqG%Q1OT~QqXp<9eiEGdGtF)&$w1kWpy_(OXD zSF_eX{KOIm!hh2O?|$YX5b)EBAanOiz-P{%k-<2<-~pfKyM!YqG8jSV4zel0U_c+K z!N>s_g8`AzPz{CzW+DS92BZER0OB%p)+z>rVj#q)UBFZf2BjDjK8cTe^mV+v=XACP z10B%e4{%0Z-VEx8G0?`ft-)~7(U63|S;dM{>>=xPYcSk?l~&$YcM zD#bE27>|DgM2}j7VamHb{>QOcXo?(hq1^sDV76RGfGPOwSyN@|5!VZ!^L&az+TD7= ze4g(EPM)~-^#c4uZW0CgM#mmUEO;I;mHAQKW=P;6(S?ELyU_ml5^?+mwfSq!{kkB; P00000NkvXXu0mjf!Z9W; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwrath/back_gba.png b/graphics/pokemon/poliwrath/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e5bee3663468ea276223c9fdfc4e171a29bf8c0d GIT binary patch literal 638 zcmV-^0)hRBP)KlD%%*Fc5$>2ekmIOPWpf)QslRqmN{C3xvtf_Q z8a&{<&rg(R*ob}LNqH@-5qL9C(;g_D!Bt3vIQ|(8dTkO5G?TR`Sujg}T2uq!{f-R0w zTHsSxqEWnvI73cAu2$mM^}r=2w5dS%afU68u@WcLLi?d;8MBzn3G|imA7{k3bv*AW#T=RVt z7}EeWk1{^>fun-MFwxw}S@f_6RF%EYaVO(==>x&F8ALUUPJ(BFLjiq^LEIh)UgF=! YAK;-M6)kI(hX4Qo07*qoM6N<$f?nqw!~g&Q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwrath/icon_gba.png b/graphics/pokemon/poliwrath/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d1afb4511fcda354555dfd6e168245cf64dbacfd GIT binary patch literal 389 zcmV;00eb$4P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I14%?dR5*>*lC6@%AQVPfSsBG zn0mol9)O(J5-RYf_WTQQLJ^N8ST}MQuS+N0#5!k3d)cmD4dbPI%ewTD8(vLdi^pg%-`ZVfLq@Q%ik9pRC jSO_{~u=o++fBNwNZI!m0Zd}mp00000NkvXXu0mjfl>fIs literal 0 HcmV?d00001 diff --git a/graphics/pokemon/poliwrath/normal_gba.pal b/graphics/pokemon/poliwrath/normal_gba.pal new file mode 100644 index 0000000000..14f4493d4e --- /dev/null +++ b/graphics/pokemon/poliwrath/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +164 164 164 +255 0 255 +255 0 255 +255 0 255 +123 123 123 +82 82 82 +16 16 16 +180 189 230 +131 139 180 +98 106 148 +49 49 106 +255 0 255 diff --git a/graphics/pokemon/poliwrath/shiny_gba.pal b/graphics/pokemon/poliwrath/shiny_gba.pal new file mode 100644 index 0000000000..64aab4039a --- /dev/null +++ b/graphics/pokemon/poliwrath/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 222 222 +189 189 189 +164 164 164 +255 0 255 +255 0 255 +255 0 255 +123 123 123 +82 82 82 +16 16 16 +148 189 131 +106 148 90 +65 106 49 +24 65 8 +255 0 255 diff --git a/graphics/pokemon/ponyta/anim_front_gba.png b/graphics/pokemon/ponyta/anim_front_g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G4CHc4i!$}IqhWLg9Pq{q4^0IsHCpDw@^RK({{1X>te@eV*!6GrM4uYv3W zD2m~Z9kyD>HIV$e0C0nr8G7ow8W?}N0EQ|zD02@8NC;Uc`RIuYG4sH< z=|}#1saqVyG2CY9qzMcnMicbgP6-7Fam=Vh1L)gLRDF<-K4KhS9si`+A!e% z54`FD64pzn>G2)d`!~cbuO)6Me>Q72F|7Vo?p}d}yxz;P37}DLehpmcfa<+MXq6V# z6i)@98SkVoiUw&bTL7f3b?y0#_Mw^q?PA)>&?6roX%9%`w}B7+TYmw+Q$qr_YN`JK O0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IM@d9MR5*>*lCf@tFbsyX-A2?GxR*ez?b4e&lrV-)W-Cnb#=R<4 zL2MDysdT&42}ww=W2ZBc75{OJ<9v+WgJnZl8T!cP-p9N*xG;W2^eO9%XY!5p&c3mw z1Z>o@l`@T@5*z_Gfj>f9EXDw|zNCb)yaKLf@g*+$RG(4TA!e6ch`G;;MGrxE5%M!H z>d?k>@l?L%xu|2K#Z(G9R=r0-oP>}wvL*guWawmXFMzvA{S!W-nM^93Qc9 z3k>mb3(R-}O!~YQ7}@>dqaPB1_<&@T|K#Hb{avXn;?O-w00000NkvXXu0mjf`FPDc literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ponyta/normal_gba.pal b/graphics/pokemon/ponyta/normal_gba.pal new file mode 100644 index 0000000000..68dcf8d3bc --- /dev/null +++ b/graphics/pokemon/ponyta/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +255 246 180 +255 238 123 +255 197 82 +164 98 32 +255 0 255 +255 0 255 +255 0 255 +255 230 32 +255 156 0 +255 98 0 +238 0 0 +156 156 156 +90 90 90 +16 16 16 diff --git a/graphics/pokemon/ponyta/shiny_gba.pal b/graphics/pokemon/ponyta/shiny_gba.pal new file mode 100644 index 0000000000..1210e5228c --- /dev/null +++ b/graphics/pokemon/ponyta/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +255 255 222 +255 246 189 +246 213 156 +131 98 41 +255 0 255 +255 0 255 +255 0 255 +222 238 246 +98 172 255 +57 131 255 +16 90 213 +156 156 156 +90 90 90 +16 16 16 diff --git a/graphics/pokemon/poochyena/anim_front_gba.png b/graphics/pokemon/poochyena/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0579a1fa9b169cce42f4b74e80d51f49a1421ad9 GIT binary patch literal 980 zcmV;_11tQAP)rF)=~Kz0LpCTC|H=-bz8NIYIyb{{R30k)OvI00001 zbW%=J06^y0W&i*KQb|NXR9J=WmcLHiKoG_+O}K95f+$zf)27W!P>hY0f>3yutAN5D zTNGDBhmR&F3Ln`flt{?~ASFf0q)DAB&j1(6e<+g8>>7y9>oZ+MaZ_2|pJ!&r_I_Wl zw~9v@?7CwSY4K*i11Q|@&o zSg);0u?{l{#txf_n83+otcig3F`o|(ngFlV$)8eZn5oi{vTQa%HAe4CT9-208ptzi zH&g>BW?i1Hi?)$gLU%CK861ZQ&)TUWOp0BeB>?us3KS-T90q}aV8;R?j+kg*2CfU9 zouMy;FeNeo7~2VG7RY@KNPh_s)h);@%V2Epf`GFc@O>Y`mR&G!wx!nt2r}?m0VxNW zoP}-(?EoaZGV?_!2-t3!LqG6N2APjbf!^3Xk+6-issQ#p*9LOP2~gKP=DL`VY@mP~ zV5+Z5fqBayN?rzmX}-i!%W1<9%SazI`l_WskHw?3USM(D`u`{uiTX*k$HJcL&l zL;WZ_)WQUfHVZMn+Ppv##{JyEGfC39NRV!S*}OE;d%Erf35bOz`V#_rCF3%W=y2r;H6?$zCEcn~$IyG-sfz%lGB5Jh^w4Vk$H5RGxGicE}eEDF6B znB>+gt)j>zNP)a32wU0mwDvG@C}MCU`vc8gYGEMVy-=ybZFZmm5W`c4fLLkA(+Zr= z2NL*HX?3rF)=~Kz0LpCTC|H=-bz8NIYIyb{{R30k)Ov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9NS^%;;xRg=`eLkQTAEB5_83-}$P~aqt z=L%q`i*Iy?JM+Z=^(9lU5wYqHcZ!eTqXpBzh;=J~(it0~fd+bvRo-GIQD4U0!^Dza zL%4gAvnQX*a3?w@Qt%9&O}K{>3b-NG0}OYmr=}e^i?xY%4b&js8cG7|K}~`9vmP*N zabf^d4{8cTVX?0VbVn*@^o%w2ot_MN2 zAGk8$nA~Rt(A`87(Ba>`G4-HD3Pe#KeCNj015zMN1DQD1dQj8{d|+EWC>n^ZToe{~ x!>9qk2I7k*z}W?2WZ7>lf@a-*|8f42`2~8t6r4%RuwDQF002ovPDHLkV1fgYWdZ;I literal 0 HcmV?d00001 diff --git a/graphics/pokemon/porygon/back_gba.png b/graphics/pokemon/porygon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f102465a8f0b0487923abe9a6695fbfeb4b12dc1 GIT binary patch literal 537 zcmV+!0_OdRP)*`P-sb-R|Nj90{{a900RJf|DgXcf{gg3<00001 zbW%=J06^y0W&i*Imq|oHR7i>KlfO&DKorL_6zmj8{R7mCvxAqploD{OQ_``ZD0C4zYBu4Qw6bt)A`0z^32(o#wdgq+(YohQZu`0CN`aC7(;aHfH9S+|Z$#)Z)*;{J bPJdosSt`z=kMo!300000NkvXXu0mjfn`-b! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/porygon/icon_gba.png b/graphics/pokemon/porygon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..306ea8d3184cd3ae0b821f5c3afbd45ae30f0058 GIT binary patch literal 386 zcmV-|0e$|7P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I07*naR5*?0l09z2Fbqa{0`m?Xvu5k!>opm=D<~SE-54Mmx>q?-2&R*QyComeh(7~n=_$h{n769@PfmNri2Hw(O&Y(zl zz74d zeBt+()g(y|7}<~<+N1}d*$YuKEWl-v9sr07*qoM6N<$g2KorM4zD_fk5x$ckkVM z@O_4{xBt{i;JqpGLldD_Uka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syN`4i)C0^O=MAtMihA)r3k?1%MHb_=A^# nC|PQ~MO=m!bAO=tK7V`w18JHXDO+Bh00000NkvXXu0mjfau1Ui literal 0 HcmV?d00001 diff --git a/graphics/pokemon/porygon2/normal_gba.pal b/graphics/pokemon/porygon2/normal_gba.pal new file mode 100644 index 0000000000..a9de005496 --- /dev/null +++ b/graphics/pokemon/porygon2/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 172 +255 148 139 +222 98 82 +180 32 16 +255 0 255 +148 238 255 +106 205 255 +65 164 222 +32 123 197 +0 49 156 +213 213 213 +180 180 189 +106 106 123 +16 16 16 diff --git a/graphics/pokemon/porygon2/shiny_gba.pal b/graphics/pokemon/porygon2/shiny_gba.pal new file mode 100644 index 0000000000..4c0d2054c5 --- /dev/null +++ b/graphics/pokemon/porygon2/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +123 180 255 +65 123 246 +24 82 205 +0 49 156 +255 0 255 +255 238 238 +238 205 238 +197 164 197 +139 106 148 +98 65 115 +213 213 213 +180 180 189 +106 106 123 +16 16 16 diff --git a/graphics/pokemon/primeape/anim_front_gba.png b/graphics/pokemon/primeape/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..babecf3704f7fb3137cd6a7fa2f6c96589ea3f23 GIT binary patch literal 1309 zcmV+&1>*XNP)TYNJ;76tqO5+L61 z?s>U~cYg`OlWh%*Zt3_=lPFdhaNHoWS_b@r0Hl`yBjI)DWfOr^6g!P3d42z@LI?ti z5K#VW$-i2S1|e1w00cgc@R4-EA89WUcy$MecfhZKC9KALN(&!teTXe0D;UFC4lbmT zFIfo4tt0?AUonL>>0GQ_KeVI;=o%s0%xwVOqzJ4oMxG!1wfdkNkSvWzsc}lBb#&>u z9-B=@&QQTslZlJ9DgtX4jj^}mcHclCSvv9CeM|CY90-D$-9FjZAzge*yYYP2o!^Ae zKB@OJ8>~Yo{K&^=9%IlpDa~xJ7DZk-idVP}SzA}BkO9`N_na|zvYt#BV;W@pqe5qs zT_N+{}0p z5%}R2U{Q#PW@^QE;_T>X1MoyaP473a^7!n?*^JXZ0X^^QUnOnSPJcdZ{gc3 zXkZoqmSBR4!CSmXi%&Hj@C_;)xizs`r={nexL3DJ0gckq6Vt$>D_5X|Rhmk(bb$&v zZsy;)Bmn279&pd?q6#NXe4v0&_GJHsJzMgAlpb!%XO~yHjW{wVSA3Riffef}v@+8Ui@JOl*Z=m;eautGogz z9vtfUnRcK!U#%X5+@0b0KmCbV6Fc8PNdj>yDZheHl5Zrr+;0fa9(j#@IQ(qh5 z_yH=FYYSfKo`7JcJp~)OD}PDGOzxfjff*0`^M60Ah0*B0dJ2L!fFeyA^a>ywph$+| zp~$oPa=RKLLMfMrutHaQ02m8hd@m37D&Gv2P=ZJ)QV2N+xY`#?h+P0s;aaoQ{-I;`(*C!bnidugy>lj*!aC+nc`g$9gG*sQS_S97Wybh(aU9Wyp%Q3I5l ztSdq9e@0&(7VLI9i$2yskaY&id}UF5g8-XF_iY#5qtK_tES}#`2~h`>+8Wpr*6e|O zc!wDrAlxkN{dNkkbH;wZ$0iYIiVTvB?zdCW&ojpUAi!8#BWfx0dW!n>t_GYMaZ>h> zS*Zn!j*r-cQzK2P)8{BU@&#saQf%>iTp3k8rf<_ZT*SJBRC!oKnx6^T(Ju z8OjaEWut{7fHwGr^O$!Bh9?1TE3Pz!?TQo8od(p2wi-VO>`X29%m$p3!A`YN)PCeC wCBV4i{`RKIi<+0G-j5LYag)6D=kbr}FYpTf)aCyupa1{>07*qoM6N<$g879*`2YX_ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/primeape/icon_gba.png b/graphics/pokemon/primeape/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d2d42f7dc9bbd51335727fbeee58b8baca66d172 GIT binary patch literal 370 zcmV-&0ge8NP)DV$3 zZu^6ExCnp$Js{E|dM$#~6|lnd+WWKd1zfhLw0b-#@%b&|<*a=5HS>=jx$@DE(mqUn z{Al~?$K1a9F|{x1hiLoi$JBmj)DKgS_jc+>tsbf$CG9Ie_VLM&V|cG0e~wJmB03*B Q1poj507*qoM6N<$g1`o>V*mgE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/primeape/normal_gba.pal b/graphics/pokemon/primeape/normal_gba.pal new file mode 100644 index 0000000000..bebbba4067 --- /dev/null +++ b/graphics/pokemon/primeape/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +123 123 123 +65 65 65 +255 148 90 +189 74 49 +230 205 115 +205 164 65 +156 123 32 +90 49 0 +0 0 0 +255 255 213 +255 230 180 +222 189 139 +123 90 41 diff --git a/graphics/pokemon/primeape/shiny_gba.pal b/graphics/pokemon/primeape/shiny_gba.pal new file mode 100644 index 0000000000..02b4f4e168 --- /dev/null +++ b/graphics/pokemon/primeape/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +222 222 222 +123 123 123 +65 65 65 +255 148 90 +189 74 49 +205 197 106 +164 156 65 +123 115 24 +82 74 8 +0 0 0 +255 222 156 +238 180 115 +197 139 74 +115 49 0 diff --git a/graphics/pokemon/psyduck/anim_front_gba.png b/graphics/pokemon/psyduck/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..51d323716c44a146d9a54d83ef774d719d0ee25b GIT binary patch literal 962 zcmV;z13mnSP)IHKrW0R8H6aqtxe&uj;(%*FjH-YM_Up(KQK-FW}{|=k-T(I>{KLV~Qs($Q;u9p2h--eBwUUNVJxb{WgR) zhuj|$z+^g{*-kqVV#@uXoa2BGKF#b~#^L~ha+Pym-oHO`T$ag*3j&z%YumOD-Hwdb zf&kzL_fr5enEe-D7ePNhsl5S22RVg!C0OF)|vz)Y8LqW$Fzh7mu2-(j5s zAil+V>NpN7GDONSOED~|7;7t0lwii?uaQMc!2~oB#l*R@QlU+U$U>sbtN;QHP-TV# zeWnYbJShP1P$Mvv)2uuxn8Y*C%^psP67+vl0Lne1POVwgAb-HTdL05V;-U!z7ztQK z4_y}k`tMumAt68pFd98|ia=F>2E2NrlDR}LyC$G;|Y`?J!~g3 ztN=hwW+;rY-cfFL(!etScgOaztAYIbYP*B0E4XNf_R$;HZNsD#=i6(_obwa`l*W!2 zfq!R1Fkyu0`c?xhRs)#$wkRRMryD?p@X2=6ISIvp2L<3}Azu31t(plgFLw^Ki2(R_ z&#sl=cEcRh=Y*7hO9n!upag7Dq3(GEG17%n^!~6(QV25{0HitmE#6UiI{;I1iYHP7 zYwBF0;POotVtp_^_ue@fe-`(05e?R3t>!b3mjg6#1n{&DyKV k`gykZLaq0|+COT)08&<%H13&ZDgXcg07*qoM6N<$f+>c;oB#j- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/psyduck/back_gba.png b/graphics/pokemon/psyduck/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..65f8032a755b71fcfd85fd79108b450dfd1c9e5f GIT binary patch literal 534 zcmV+x0_pvUP)CluLGmAP_}efi9xw$so&bPd4BKH$Z8ho(8oSfK3W) z74XyZZXM;^IG%?Qx!5u5v(mV3BvwRkb?c zmH-{3;uK|x{Tw+UQL*MYWNHBZ%GDq#B3HnONFpkNGsJ+FV|xb3+O!eSIY0#fP)7jo z4?0=_o*}WRq^<0P0LaT3kUJQ4+$g0XXwe2J z{MZtA8BpIMz>SH}0L^Dqgd5}JUcF!I{UZdPet%d*b35*rTME3IpwtTpJ7F+e2)AM` zSlqw1z+~c4YAzvAAQ3P1YsiiPu62lBiDDC{_+Ds89VMXT)EoSKo6sP=-bPlXGyyPV zDd2WzK9s8I)4MxL!mC5@{Z0YhOeba1wnpCWaXD^cyT}=!dHx}=YV!h(Z4}>o!~V8@ Y0occih&D%1!2kdN07*qoM6N<$g7Ss)K>z>% literal 0 HcmV?d00001 diff --git a/graphics/pokemon/psyduck/icon_gba.png b/graphics/pokemon/psyduck/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f3ebc9f96c0a6aa95bb34d5c2cbc6f28984bc8c0 GIT binary patch literal 329 zcmV-P0k-~$P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H$4Nv%R5*?0l1&Q2Fc5`vf)wdW5IlsZoo=Pf3C60`Qp8Cn5mW%|ry3x3XMJ0beaZ0)WUwEmTB^MAUnw^Fe`S zWAn!o^8BqZHWwzog+V`F!YDuLOqjGT3}wP7KURdPlpiKCpIiLgmbq)7V!cq;fI&ur bVEl5P^Jtb6=rf!!00000NkvXXu0mjfp+t}x literal 0 HcmV?d00001 diff --git a/graphics/pokemon/psyduck/normal_gba.pal b/graphics/pokemon/psyduck/normal_gba.pal new file mode 100644 index 0000000000..c69e486a91 --- /dev/null +++ b/graphics/pokemon/psyduck/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +238 238 238 +255 238 189 +246 222 139 +222 180 82 +131 90 0 +255 255 255 +222 222 222 +148 148 148 +255 0 255 +255 0 255 +255 0 255 +255 222 164 +255 213 74 +230 164 49 +148 90 16 +16 16 16 diff --git a/graphics/pokemon/psyduck/shiny_gba.pal b/graphics/pokemon/psyduck/shiny_gba.pal new file mode 100644 index 0000000000..889cfaedcf --- /dev/null +++ b/graphics/pokemon/psyduck/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +238 238 238 +238 255 255 +213 246 246 +172 205 205 +49 82 82 +255 255 255 +222 222 222 +148 148 148 +255 0 255 +255 0 255 +255 0 255 +189 255 255 +148 213 222 +106 172 180 +24 98 106 +16 16 16 diff --git a/graphics/pokemon/pupitar/anim_front_gba.png b/graphics/pokemon/pupitar/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..910afd6143d53ad71095018e176609b7eea13887 GIT binary patch literal 689 zcmV;i0#5yjP)&CS)UtgL%`gZ}{k{{a900RKTjVh|7zqTm^H00001 zbW%=J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.png b/graphics/pokemon/quagsire/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9233569b88d12dd35843dacba71a8d1cabc1010e GIT binary patch literal 602 zcmV-g0;Tmlwy?sbF}{e{}2!m)tj4)00001 zbW%=J06^y0W&i*I*hxe|R7i>Kls#^PKoEuPAm;{73Q{0jP8*Yzu{&QOGFrK`u*Fa! zCDLwgU{2(Q^e)0-tfWkl>@V!HkP9T!!TXqbJ2T5*@E?5v7~@~$YfM?Z%zO3iYf%)G zl0HJ{#gS6zCPqRRDfZn73Jp*Qx)M+WIP^LY9y)7`Xl;Q39X2&^l)#f)fzn!MfNO#Q zROaUx2P8E5U&S)wxd40fcW=r4ZNyT$~DFC4yHV z2S{DOm%y238Ng)L0&au_5rlA$dFv2kWudCxGj0)fEntYkQs`wV^tOe;F!sxm%L*_P zAS6usrHm8TH%0=4W5nB_fp!5eULDCiVip=5%uy~@Y{t(T5czEfF<&w=M(gH#tIeLg zOZ@=9ENsgX1*j4qlNwkmAYL1Xga~S4EB7#oL$eJS>vizd3MF+LN(sb|7C;j8RT?SS zUjzpVfQ)a@)CLw9VR;gdjh-zKaR5APfQ)UB0dNm9jMcbC{E?77vWL0*#=6`0>@kBJ zS*K*fdbk(>TR>#>$(&{+UuXav;7Y!kTBGOyK5ZZk8bX@bgjNZ2-rA*a5f`_HxwBnB ot~+^huFXvCsR5+zd-uoV2c;{;oqXH~%m4rY07*qoM6N<$g4DtOH~;_u literal 0 HcmV?d00001 diff --git a/graphics/pokemon/quagsire/icon_gba.png b/graphics/pokemon/quagsire/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..62c7f2e460f5f63614fc9c993f2b57551e27ac6c GIT binary patch literal 362 zcmV-w0hRuVP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H=t)FDR5*?0lFh2ZFc3!b1nDF6b-#cl+g=cTod|<{g)Xxib=QIr zM`P2e3K#C~;Eaj?(fT&zHgB^5PfCN*xBJVOT`q7YG&)!_ zsMuP23Ld$#f9;dW4IJ_3(w|>6X}f{PEi-Dl|TNA5*V8>hN!e<#BnAD@>_K>R?JdS>Yw*(L14h-EsGVi<=sjyM5Iu)LW9=7^1>|&QeY2z@K~0%_`?C zSFr48-*f)(DJEa;m2D1|eQH*hR2vgjIZu_D7$%6ZU%Kp^w$|pHb>fH z>%Y#UKaV3$t)=sFyl~R057LddHHD5jbp#sCJk6rNcePRRVy;(iPs5g9of0)yocrX? zTU8rR6{$CExbv$maQmEHnOAey%gcOy@v=SK_TMkoMRAV5RF}m!vo#+~Fp%JB+kZ$} Xr`&(-rW2mt|oEJ={|6P7}nZ)+$yZ7C;wLe_1WcN>s>Eq*PGXAsnHz&s= z7>nt%PWamtz-;#UYEdR!~X{G;Kp7JM4 PKq2bs>gTe~DWM4fhQyg8 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/question_mark/circled/normal_gba.pal b/graphics/pokemon/question_mark/circled/normal_gba.pal new file mode 100644 index 0000000000..681f1cefe9 --- /dev/null +++ b/graphics/pokemon/question_mark/circled/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 205 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 +0 0 0 +0 0 0 +0 0 0 +205 205 205 +172 172 172 +255 255 255 +0 0 0 diff --git a/graphics/pokemon/question_mark/circled/shiny_gba.pal b/graphics/pokemon/question_mark/circled/shiny_gba.pal new file mode 100644 index 0000000000..aa8d08dc30 --- /dev/null +++ b/graphics/pokemon/question_mark/circled/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +123 172 172 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +32 32 32 +172 172 172 +139 139 139 +222 222 222 +32 32 32 diff --git a/graphics/pokemon/question_mark/double/anim_front_gba.png b/graphics/pokemon/question_mark/double/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6afe02dee07bf343d0b0351e666cced7d475cc77 GIT binary patch literal 317 zcmeAS@N?(olHy`uVBq!ia0vp^4nW+%!VDxm*B3)XkRe1{b{T6@hi{15E;uPE*)xZ;f3X`$(# z{%w)3UFtPo^Xr6e2!{y{213}$bPi*zm0#;=Z>>4Y@gqkF1pBiI`^{jiD|z>V)ms^ z2;O)m@av4luQqVpo8wyY{EvvU?<@6tPN!Y#tl4c?j6Sz%9{O}e;-B#0tl9mZAsQlF etxgLss_ChSES!o z-n^h(o9T4aK@J^neYXcc;+W<(Cr_}~pZsObwu`rl|Lt8c!QbUwdziAjT(IX)qbh`im literal 0 HcmV?d00001 diff --git a/graphics/pokemon/question_mark/double/normal_gba.pal b/graphics/pokemon/question_mark/double/normal_gba.pal new file mode 100644 index 0000000000..67be6bbf42 --- /dev/null +++ b/graphics/pokemon/question_mark/double/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +0 255 0 +255 255 255 +0 0 0 +255 255 255 +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/pokemon/question_mark/double/shiny_gba.pal b/graphics/pokemon/question_mark/double/shiny_gba.pal new file mode 100644 index 0000000000..67be6bbf42 --- /dev/null +++ b/graphics/pokemon/question_mark/double/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +0 255 0 +255 255 255 +0 0 0 +255 255 255 +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/pokemon/question_mark/footprint_gba.png b/graphics/pokemon/question_mark/footprint_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8da752a46b30d4f1163cdadd9b84f2d418bd9e75 GIT binary patch literal 127 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!D3?x-;bCrM;TYyi9>;M1%lai8NJv*8R6fyC1 zaSY*@nVbLwISB@KhXZQ+7Z%AiGx9V4W@h^-&toLUGp$(SO|Hb7EQgq#ToWvqnHhM` Wa?1+tpCtp-&*16m=d#Wzp$P!*rz1=N literal 0 HcmV?d00001 diff --git a/graphics/pokemon/question_mark/icon_gba.png b/graphics/pokemon/question_mark/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b31ebacf7191806b4ed1c3555919d9f26802e42f GIT binary patch literal 271 zcmV+q0r38bP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HjY&j7R5*?8lF<#tAP7ZmCwSljf*X|mcPm``jJiPEq{JUij)26J z9v$0n0Yo$l4rr8^5Ix_s2?$@gX0ro80W^Sx#9AOYU<-*=AvhqaW&sL-R4+?002ovPDHLkV1j&+ZT=R2>k#n)X#G0ChgrSOwtnahp9T1*pfzj4@vU z=qe+fG`ntRaFHQ0Ff- zjnp36<|+`!FoAIJm|JX5+i!Go0Fi*_@K-;wz1>!$d0&}A5}eyjCWi_j;qq5clRDG$ zyGVOnvTTDDAX#Qw?iRQ#KHDC`24?jSmUX7C z(ZrkH>*mdjY^yB>gVTP}s5ghJ+TwILoXJLpe1_ZBXtdg*ZsU!cPo9{`|393aDf>WR z_;-2;+w*xrosjvw=)Sx0KOS@~uukw%B@nI$s2^4&02G5CkgL*#ZV3=qKz}U-A`wPz zuywIjM!+XsaQE$n7ncE!5AJn&nV+fexKPy&%LGk*{Ag?Jke5tBeV4Nx_TVro-Njg% z^-)=U<4eZ0A~!F_=TLw5C(G-9`A{~%dXGK^U?&GGw$y5}_SbLzQUN%j5ZkoC2H*Z+ z!ZJTofB@Tkk$mh;1rQ+-aR5O2IX}(-a()qje}5z4hG{3-WbGxe1?naO4q0473VdNr zm|AgAUEKq6^>e2XTI1co^P5^4+$cw&D-KI-5ijD>PQcd!E?-y_ZesO`&#Y5cIb zAHxNDm-7k618qN%yYZZ42`Ix7E+HPY8i_oOTs*)AuQ48|a;GR=Sc7|+#)Cxe=5h-8 z6d+(sUO&yseZ}2U{=(1Jb8@G!)z!KpcL)d=4?5}lQY80thzFh2{)KWs&)C0E?zi!v zi*hfG2h#p1_vZ?b!~?MZnO!fiKRHd}fwVsv6~u!RQ^tdVwEw6m9wb&D=-oNKmw5nU zfsw`oyr}tM^XN!wKLynMu-WVNvoopr!Tv=yxXTa!)%X`(htj5H^eO)U0000*!ptJ+r53mL3fM+sDNxHxR?g6|uKp;m3 z+B*tI17HDFV(0}301g1n*4L#4kkXIg#z8JVS)eC z<(UI&5U`sD;2!{gp55BCOozb(>QJfG>KItB*W2w-3+zQESF6=!_;|TI^W{gguirLd z7*3;L+yh;?#TbiA0$~t@J_do9p=GL^7r0)+#1gdSi9lxp_; c0QmRu8yZ*oa2P~Y-T(jq07*qoM6N<$f|E{GPyhe` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/quilava/icon_gba.png b/graphics/pokemon/quilava/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..62d0608dd8d1648ae9500109179cec5780f84d4b GIT binary patch literal 402 zcmV;D0d4+?P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I5J^NqR5*>@lCf&TFc60G1Qxdz+&)CtzG+KKR)O#X$Yc+QEZG8w zoUx=F@>+6L&&f${Jr%m;1Ty-hA1vLsTHRKebopc%3ZkGabFAPqnaDB}a6AY=#(d2h zMgfS2h*!YutN`bnMg(*@gSAm3jCMVK!JTs&F=!uP1hA<8VQ>vom9=C59sy{3P8GEK z9fj~QC>Wvj-UkXZ@Zq_q71i7N4N+gVry?4f@Dp6%A0O`qD=pTlfk_L%3t+GSlVg(e z982ezV>byCYxkx7lOH?_BOr?~ybwla1uBe1JyC_}QUOJn*^fz>`}en@f_DEzr|r3b wqX-lH3)Oxf!SASlov+{c&CvW7X84yM-=y}*@scez*#H0l07*qoM6N<$f-=>wNB{r; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/quilava/normal_gba.pal b/graphics/pokemon/quilava/normal_gba.pal new file mode 100644 index 0000000000..0b37faf223 --- /dev/null +++ b/graphics/pokemon/quilava/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +98 131 189 +65 82 139 +41 65 98 +24 41 82 +255 238 164 +230 205 106 +180 156 82 +139 98 32 +255 222 0 +255 156 0 +255 98 0 +238 0 0 +180 180 180 +16 16 16 diff --git a/graphics/pokemon/quilava/shiny_gba.pal b/graphics/pokemon/quilava/shiny_gba.pal new file mode 100644 index 0000000000..e1baba127f --- /dev/null +++ b/graphics/pokemon/quilava/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 156 106 +189 98 65 +139 65 57 +98 57 41 +255 230 115 +222 197 82 +172 139 49 +139 82 24 +255 222 0 +255 156 0 +255 98 0 +238 0 0 +180 180 180 +16 16 16 diff --git a/graphics/pokemon/qwilfish/anim_front_gba.png b/graphics/pokemon/qwilfish/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4cfbe002e9f861c84c59c962d104a07aa086993f GIT binary patch literal 868 zcmV-q1DpJbP)h(#9+fnh00001 zbW%=J06^y0W&i*J;z>k7R9J=Wmc38gKor2e*b*BzBq;rR_yd~Z93Y}C!@Y|NO9uNa z5vgJzIaLg-WMfFAxO+chcBpb=8QHp0DNEIjzOykP?nA1os!QJbetz%WS@!z{!7Bb& z03-gql#+S!(Fg$Kx(7(r0^ryU^acuv#0~I)5{r-gr4xvi5{Gl{9s+^O%m+kDC@&Bm zi0sM-1fZ^pIruID21UN-&La^YPQ5@7zMZ%_MAiN5P$$sGAt@mZXYsT_g%D|bJ#5+HQzY#T!H5uXb_CnDL!`1VdZUfB$z@}9Y5@ec=>x~F zlQd>C6X2NDkPdd9n`1&!y{Q<1?m005cGnRp!0VqSU=A6u`GuuK2=sR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l5DV4g-&vXpSn?@q_662^%YLvV`fCQw za6coqrW|4>#LKg~bK;!0HE3F6cnu&72DTOUV*}XQhE)ffY=}BAk!*-M1kfk&(IMNA jbm)=|Ne7wNZbyeV9&DkS5r;HeZD?mcp?J zM`D8QOoo7d4v?9@I52RR;;Gq-10-<)P;(-3&9uV6EedDPU=iR{{5#>mM_D+%U)Cdl zE_&nxAWQ2z(SylLByvcoPd|D_J<{rd5!0@)oafX^OUn=EktN_Z`)=~Y8=ehk#fV6f&-WY-VpX=(!K2Nl*N>icH1Nq|V&C9w9 zxEybKO_eK!x}EODB}m<_pMQ@>vV8*(_@Z)D@&335z>BnV@%kMn)(pad7HpvAu+3O4 z2nSotH`WewevEaP!yBp{%ok%Fz&Vo@aVd2wjZ)mZAslD|fUB_NU%U|s%OF7jY`+*U z0O0^6G#psoJ1C$4W~=1Dc?GsQ3C=Bd5aED0S+rf++b>$H(M5=GKy2Zv&b}pEy9ft~ zEShGQPW^2?cB9rV!odfB!q49x8RlW>nQZMm9L%8O{o}y}8+<$=0K>t|FaX0Ran}vP zLEfM_-&9pVHIaLbe#8O!dgI=opnshI>$~n1z~Fg4aNV{HKseBRz(BK^lmQF}Ha)j# zK)4cs;lKt@r2(M|2O15A?Ce1}umivtQ-_1g5@YIcfPl5gdrT|Cfo)SOHDC==Iu6$S zP552#aG+6ph?}bYMR^^7a1S01Y?|Z1K(5Rh;Ox8MWh`+8xdm={PZ@K}iB|ZUMDOo_ zM+soy3{pq7y84h&^D zIHsdPI51op;NgH8U;E)e0bn@5Bkg#e({IN#;ArjQCBoNdQxyP0x;~&O;{)-|azBgO zYCvaeu+MEDP(&2Hxm6bNf&50t73QutgZMxW%1oUfT>t5RmmmHE?VF20&u#h-00000 LNkvXXu0mjfaMF)% literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raichu/back_gba.png b/graphics/pokemon/raichu/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6f8a0afcd33b30d0a1206af935ce69b82af31f0e GIT binary patch literal 625 zcmV-%0*?KOP)KlRa+RFcg5bcqky~5b_Q9+$9mbG(fhZNDk4hqv=8D z>>*P|ubo60Mu2Q)UQWQR-L*ZtwF#Zf#rzeNPw(E&X=X|0igz-5a9kA1mu!x@YD-X4^m2n z053;?Tq*?#0xz=gR(MhX8n~0gE>W;KKnJ8lK#8L`uy{HKsBIf=E2LEmFn53=xX}erkhTr}es+Lp!n6QVrH6%? z)n-&w6UG>Ap=xvXcR_+|sQ#(<~M7{m96fdTr! zVqq_HVgxWhB>xQ#U<3ed+cn7@0GzmXfLj-seGSe7SMLJ#dBClJpX9Hz70j*Kz2=kO zP6fK#JG?fs^RPq>fjlR|Sa7e(LL$a4w82Q|WG{C`e+Y9FuMT>W{R{e+b!TxQr4XhM z3uwB-q!8W2mtKR}($yCNdXq-*Ccq_OAkp@Rz}_C;-lwqg9})ZmrH@D?<_0c-00000 LNkvXXu0mjfXy6l- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raichu/icon_gba.png b/graphics/pokemon/raichu/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a34997b47e71fdd01914ae08c93178cff9510e33 GIT binary patch literal 411 zcmV;M0c8G(P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I8A(JzR5*?0ld*2YAP|P{31CXcz61}@SLlMW*_+2MRl^p)DpBQ( z=aV9n&GgP3SjpU_Dii)dKgaPI;7<*kpTJ5232fbfJYQ$n0ngXNJHSE}F0&JJNx$%_dXdC!;Z}Sjms^8|-xirMK4hGQ;ACE1gxPN|ex%>@;|Ir4wV>SxQ@Q{E002ovPDHLk FV1nrmxGMkv literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raichu/normal_gba.pal b/graphics/pokemon/raichu/normal_gba.pal new file mode 100644 index 0000000000..c04e9d81c8 --- /dev/null +++ b/graphics/pokemon/raichu/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 230 90 +255 197 0 +238 156 0 +172 90 32 +255 255 131 +255 238 0 +230 180 32 +189 131 65 +156 106 57 +139 82 49 +115 74 8 +106 106 106 +16 16 16 +230 0 0 diff --git a/graphics/pokemon/raichu/shiny_gba.pal b/graphics/pokemon/raichu/shiny_gba.pal new file mode 100644 index 0000000000..40e16fa6cc --- /dev/null +++ b/graphics/pokemon/raichu/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 164 82 +255 123 41 +238 82 0 +131 24 0 +222 222 156 +205 180 115 +164 139 74 +172 115 49 +131 82 49 +123 65 32 +115 74 8 +106 106 106 +16 16 16 +230 0 0 diff --git a/graphics/pokemon/raikou/anim_front_gba.png b/graphics/pokemon/raikou/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a0149846d1b2af3bc70a4a4b84c76a9cb084bfc5 GIT binary patch literal 2028 zcmV-P)f~^)to7dVi47||Fm=ednw*Q5R}CL0RI60)z#Icq@-$UY7h_*^b?1P00001 zbW%=J06^y0W&i*OYDq*vR9Ja=prnG%8q{*Qnbkwf_NWHkB@>sOk=zAkC(gu|pHoWQ4gr=NfF2 zkVv&64deUy+;h*p_ih+GM@q3r^lxTeI`Wb^yI{#*H4b` z8ZC^#tvz3IueM}hT4xyHj*ghm>@67>Ez2-k^v+b2nW8?L36@}-wGE2EaJIh%fDBt* zO3gdEn9S@xe@L_;!PXt6mw&T<+@JLMG6CEOIDsVYFZq2x;BYy90t~MrpbINFrzUe3 z!PN2n|$zTJZR_A*FK26{Jg)hH;`@v(ATs(!1g)~e^llJ$&a5tFw z9vjEy9@+z}(@Cpy);0H)Z;I}%&)9&)z@F`0y*LHnzby*;pg;*2>n{|ACBXHI)8AvE zO-tGDG5#yYmOVvTCz-J`_KVXqtYep6C=->z1Te0qfWfYDMokV$UIG9azy#`g1^^`Q zUxsnXsX;A$srW2_2r63#5WscEfQy>C{vkJ3avoc-!F3AA*a)=fN1aS21I5mH1Ad$A z_v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aqGfR^4_BF4N{7-Qkcv%$YX>;-t(vKV3ZihN@1qX91R74S6@DO3zis&P#9_91aiJq z(kgin3>{Q51qg-7g2HILlox&>x_{yiYlUgNzd_)YrfmYT!W{8Nsaz_2DWD#pKdb~} ztuQj5lVYRv8jAI1Lon6~g91`)pkD~bNf}6_FhW2|Mf3}B92E^@Rfmd literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raikou/back_gba.png b/graphics/pokemon/raikou/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e187eda52ec267c3bfe31033f3b312d28ef2a4df GIT binary patch literal 745 zcmVf~^)to7dVi47||Fm=ednw*Q5R}CL0RI60)z#Icq@-$UY7h_*^b?1P00001 zbW%=J06^y0W&i*JXGugsR7i>Kld*2wFc5}4DuWepca(>4G8aYY+3gc#BhwcUsVSXA zYN?h$vZg*lpCMxbCPDWaiP6=SJP5D{SLz)l*Rc#|C<=7RL9&Pc(|@9TB9gA@8bml4-ED{uD2JamANUkMo{2!MrG zbR#%SC>|wD=-A-6z4@YRAel%Q4|HVEf_NQ3$&dxi7lFQ6TZ_Ri;K-2kgmXU8H)8`u zOw~$S>yI#l1fEWOUrZuOe<5+#0-7=QA=A)Z1YjU1F{SWU81uM(+UQW3fC|7sPfGfh z+~q%~xdj|63&B$W;Fh|k0GPYFx-5PMT=Svl%0RSVL za9|UJ8(oN%jL`srYHl9gW(*YjUwz|lqx zvg~s#l+`J9VbQxlfJ;ijprjW=N-v?kYa^%@NEmJj77hCFjK14$ur;tpkrOZ&LebG5 zAZ-nrtdTA+EHLf@?OzmGgXh4q>Ch&T*+myvH50&}8phOgID77(ASUhrT&|_u0NYcn zBv!1H!WfOiIi=f|@dzXsA3%^sUfYa2z_GTKDzy|!#TFQq+c7{73#{;xvZna_s2ulR b>tEMzG&!XczCtt700000NkvXXu0mjfJ6=go literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raikou/icon_gba.png b/graphics/pokemon/raikou/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7847a6f16e5eaecf176445ec1c4bf002c6c0972f GIT binary patch literal 486 zcmV@P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IWJyFpR5*>@lCf&TFc5|XSxbZio(1V1hiI>!!GqT5b&|<*C(||b zAp%)K5%?7nN>+#LjHUJcUKC%uda_2KGUlfjKV9o z3*=1(GJ@y?k5)9z+Gm9DF3r@nVXNmRpHtr{C}Rw0*3J{rDG*JZH4HJfMW|^KXGI#v z*mVM`Yp-`Am1*SzK%rq1sidNz4gdC9Ox*?ajeflVQdO=8#6(6eRdpV~7-cGtXZ|rv zcUq>h9P`-#N_kqg=V3_U0| c9)H&#-=Xi@)K8k19smFU07*qoM6N<$f{BUPy8r+H literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raikou/normal_gba.pal b/graphics/pokemon/raikou/normal_gba.pal new file mode 100644 index 0000000000..975f92b23d --- /dev/null +++ b/graphics/pokemon/raikou/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 238 148 +255 205 65 +213 156 41 +139 98 16 +213 180 255 +180 115 255 +123 41 222 +65 16 148 +197 0 0 +255 0 255 +213 213 213 +164 164 164 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/raikou/shiny_gba.pal b/graphics/pokemon/raikou/shiny_gba.pal new file mode 100644 index 0000000000..73bbcb405b --- /dev/null +++ b/graphics/pokemon/raikou/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 213 82 +246 156 49 +197 106 8 +82 74 16 +255 255 148 +238 230 74 +189 180 41 +106 98 0 +197 0 0 +255 0 255 +222 222 197 +180 189 164 +123 131 106 +16 16 16 diff --git a/graphics/pokemon/ralts/anim_front_gba.png b/graphics/pokemon/ralts/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cb19276d82e96c75983b122fa660a4bf139f1b1c GIT binary patch literal 666 zcmV;L0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6$Zn!!W0mZ%6;$03%nLmTB9eK`~Uy| M07*qoM6N<$f;Bd29{>OV literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ralts/normal_gba.pal b/graphics/pokemon/ralts/normal_gba.pal new file mode 100644 index 0000000000..1e513ae876 --- /dev/null +++ b/graphics/pokemon/ralts/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 164 82 +238 238 255 +197 205 222 +164 180 205 +131 148 180 +123 82 82 +115 41 57 +255 156 131 +230 82 57 +131 205 255 +255 255 255 +205 255 172 +148 230 148 +115 189 115 +49 123 74 +16 16 16 diff --git a/graphics/pokemon/ralts/shiny_gba.pal b/graphics/pokemon/ralts/shiny_gba.pal new file mode 100644 index 0000000000..b588f6eea0 --- /dev/null +++ b/graphics/pokemon/ralts/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 164 82 +238 238 255 +213 189 222 +180 164 205 +156 131 180 +123 82 82 +115 41 57 +255 197 90 +230 131 32 +131 205 255 +197 238 246 +189 230 255 +123 197 238 +82 172 213 +32 115 123 +16 16 16 diff --git a/graphics/pokemon/rapidash/anim_front_gba.png b/graphics/pokemon/rapidash/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..69ba93ebebd395c00d2e5b662dc66ebe59bcf434 GIT binary patch literal 1871 zcmV-V2e9~wP)Qhn)00001 zbW%=J06^y0W&i*N%}GQ-R9J<@mrZNjMi|F+@}VoT>{4C%z;^ zm)z@S7hihFw<(O)u$K~$6o{e0AkB~!B?KG|*>6w^_1ST{s-dxK_5aLh-)#pV&=?;o4Ha;5ygoRA`$Z72O(k^?A4}# z$`uyrgMkepe!N-!706Iw(%pCDK6#Ki>EI&FjW8%h0l|4=y|No`I#w3ilipi3#mt^@IdFgWPtl;RO`1wSOR9` z=@TzcVC{pqRTi9|XB0d67od(&EDyeEH18r=!=|^XKL=0+jyM97Ro*#`aqSO`MsM2s1E zRqryafxjE`LAbgm<&bUCH!{x<%;r2`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u@~d-x@=qrO4m zX13s6uLe>NklN6Ui5!3^m0o@}$7Kt|rMp#-HwEx)gYl1JppuN$0K+qR*Y${o76^eA zwO~Dy5Pxc)2ZZC51=<xUEg@fnFz9wk#ztYwTMaRQ7YG()QXe*p(t?{)U!b@6$Kx-(M5_0)4scok0000< KMNUMnLSTXo4>Mf= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/raticate/icon_gba.png b/graphics/pokemon/raticate/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..40fbd79c54cc8c9b34ee9228d627d0e01f374452 GIT binary patch literal 374 zcmV-+0g3*JP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H^hrcPR5*>@l1pmCFc6041oB~WfSz+`h|f`Es`;Fh#Dcy_py*S>4MBc{24b=4Cgj<$YS(q;pt zAVjYph?kl{k&|b%0{APq@-G6Vh|7zik9q500001 zbW%=J06^y0W&i*JTuDShR9J=WmOpRPKp4i4(Hn1CH0tccRmP@KDh39Gl;AC`9mivB3Cty8yq63NUHlAQo}cc0@AWI) zgHWYP|0#I@TGG~HM;QbdH1qwM;XBX)9p5HoU>`s=r0xMzJEVXCZLhDYL~lVo$aMdh z16lz#$)2bjAn-M1X7L`hE6B%)eKZN_UHuBhzzTmqY@76O5&RV1!QzDV+@vo~gg!D< zcSA7y1SnvrI!ea)!Ml<807>oZNJ%d7Xf8fL>Y6%|PFM317=zR$8CoW@_}mu{Qhw=V z3XX@-V+)ux%TP2M*TW?R)`7W5NihzR3!n*EM@Ydq#M1%*vyZ1IdLK2O^ZL=y6r)grN5HnXhM`B>Yd!S|^sTvj7%BUD`;sF`xv#>Ghg7$g^+7vxox|OV07*qoM6N<$g83v!7XSbN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/rattata/back_gba.png b/graphics/pokemon/rattata/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..72bb56766f42b12d4c92b2522f8e66c1b4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{XxaM`YE3K>w7| zKHLEnKcKckgno^{@gAt@)IJ)3z!C~D&sni++sm2&gGK``V-!Lp0*DjP-2#k}1&RWo zM|VA^^Hm+XJQ{!sTn5Z3kLrERKLUPkP`CqJg4VM@Ad-~8g?WE|1be3QC~(uBim?GD z+Y$oHvt&LPz$OH;Y&UV5fOm|2$JPKe83`OVQs&?ytuz5>G5|UVfH-d&s{=rd51nrY zCf(u!n)7AZ@&&*eNRtN$L^iFxld8r*+N#*d(+e5JnLnSl^jwyfC p6i5Em4Ke{efxiZv6~E`loG*Cnt>f6ni6Q_1002ovPDHLkV1lJV>%0H} literal 0 HcmV?d00001 diff --git a/graphics/pokemon/regice/icon_gba.png b/graphics/pokemon/regice/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..46b07b3aa88c0cb3dabe1fefcc72f4344ed7d4ed GIT binary patch literal 334 zcmV-U0kQsxP)DV$@k}(d$APhx0L68TAE^sCf9=bGV>J5{js}%+hom`q$ zU|2F#s;aW__o(L1bq8 zAJcL}n|LBzdf?do?fHf4%FrWGH0AAmM?%h%&#Q*>R07*qoM6N<$f{l=m!vFvP literal 0 HcmV?d00001 diff --git a/graphics/pokemon/regice/normal_gba.pal b/graphics/pokemon/regice/normal_gba.pal new file mode 100644 index 0000000000..2d599438d6 --- /dev/null +++ b/graphics/pokemon/regice/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 148 +49 57 90 +90 98 123 +156 164 222 +189 213 238 +222 255 255 +131 115 180 +255 255 255 +238 255 255 +0 0 0 +0 0 0 +0 0 0 +205 180 32 +255 255 172 +255 230 0 +24 24 24 diff --git a/graphics/pokemon/regice/shiny_gba.pal b/graphics/pokemon/regice/shiny_gba.pal new file mode 100644 index 0000000000..0c3dc8a37f --- /dev/null +++ b/graphics/pokemon/regice/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 148 +0 98 197 +0 148 189 +74 213 255 +172 238 255 +230 255 255 +65 164 255 +255 255 255 +213 255 255 +0 0 0 +0 0 0 +0 0 0 +180 123 32 +255 230 98 +255 189 0 +24 24 24 diff --git a/graphics/pokemon/regirock/anim_front_gba.png b/graphics/pokemon/regirock/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e278efd82d84996a3449ae5a07e74dc7c596fc73 GIT binary patch literal 1637 zcmV-r2AcVaP)+S^IT#oi7Wt&300001 zbW%=J06^y0W&i*M<4Ht8R9J=WmN9SJMij?+nzDr_l8&7v)zM)CF9G>jt%k{?w*-hI zW=jBB?je~Bcd@cnDOyur3TLQAZ=I5G>1PR$e2f4}zJUAQNs4%s<8B>_9)iI3``vr* z?jGO!Th_n3IA8oExNVw>pUIy4L@>*0RpT?$UX93}?*VSyu&u4Pr2*WisxfC$$|MRc zhBgFBy8)Cg0@4qy_42G$tpby?yhi}=Vtj-tltzpj)w{{rr!4=3z$3pU>ihzr%4zS6uPu=&~r)&=s ztYm@a|4`C|2Yy(pv{CX=gyEX!uVxTvR4_aM974f0?B zt*-#y6NnC8!mu8}VoS43q1&(C6eq?tSx%hmav(c&6(1IbV^pp8806gE-R~-g7b6HQ zGX{XRtLLvEgqSea6<0n2N-2v0DOl4BxVQ)prZ&Fq<&;u48JhrEjWj$UlMQ- zNB3;Y;oPae1y8{V`sE*Zjx>dPBXpQRcjmbhZjzl0*=3}5Aff3sH`RpBHzZAhL5UG9J#m_W2bfuprD}W2a z-*yur6at&^Y6urgd7CAa9ZS+Q4OT+PWP6H*0QW7H#BqGzYOc%6>8x__fAr9FFkfwa zj;Y1sc>8KQi-e#%)ZVTHHnGEeWAi*yJj*vW&lcX%^}tR2F8{B8TC6E7YU@UUc5G%y zv^x9>`{`Sod3lZk!P-JOu>zb{Z_lV#`o7(&in44HT0&5_O~7syG~9U;csHh&k3iVI zSegD5p&UK@kU#r?z)u&XA1?lE02BVe%b$AqVenH8{AB>&A0K6Ni6L%jiBb)X%GxMV zVm$n)CB_a(kc$SOCB_5q*+-HX1T+Q2Tw*-+NMax$sy8N3ml!)$CCcOBxdF^224#_j zXeWtrTu)*yG4Q0lUPsI%#-s);Bu0-UMyH&Kly6Fm8DJ^|Lt+G4q?{L511K>P?c)5n z4j2+6+UMHC@XIm@Q(_3k2{`#u>r-`!5p|W~8$;9(V(FqGG5R>?xKmdEro=$`u@)z? z-fbBLfH+mpi^3ia+7bjNs#hOarDvB!m~pP)RTjX33-7@%4|;1h}2=w+(|R-d*l)5xDTO-3N;UpM_J j5L^q8=(=|L|3}x~m^!Up4Y?;q00000NkvXXu0mjfe2Va4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/regirock/back_gba.png b/graphics/pokemon/regirock/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7175fc90a6c7ae0597a45e1bb23497c416c1b394 GIT binary patch literal 859 zcmV-h1El+S^IT#oi7Wt&300001 zbW%=J06^y0W&i*J*-1n}R7i>K(=kumKokJrn5i2%Vg-k#*aoDq*@v>nTxS;Y0}>?f zsDmA*rXBp8rHU8(SWq@{OaB^DkP2JhyR$YLf*%F@7~?DTA%9!7l8TP^Nx3g zzkpJ09Y4K}c7eH4YDr&CM?!czz)=mn(X|j_M-c+&?be>~FoEa3i(7?KUa@SQP*_B~ z{SL@;Pf8cTCFi?AA#oiD!8yN(_;42}r?Q{~oNod6@doaeJ)076?r#97M;1<8VBr8`O zCaGF<>Jsj;E-V3nnt08Vg>W)Cm$UB(LhfBh#~S3aB=Ay!eHmo3l#o#hPkbA>ZA)&z zD}c=dn93>q)IFSzMk5y!R8p4Ir3Ewm6>F49qPqyak;k{dehu=nsx-I|9%qkKL6)lx z2p~!FyarLA6lie21yV>CH@XQ8R7OWUrAawJ|Hx99&dj8Q-@8|;2Gg9$Ds{RI2)R?0 z09gZY*i4oc%=iZMu!SvP<@Vw9Kj2gic+!AQ6VLY728`)XY$7qhW@3nQ%9V(l9oga%Ys_v!U&m#k0cFt@o&`RMfB;8<@fu))nZCZy zQ6Tt$u^8ha#Sx56g5L)C!H^B&NlX>`1mxK`NiYGJ2e6OVg(mG$2My2}@+b2M*8yZX z>*_riP%!Etf2betkU>^ei#JfXcu8=QbplHavoz0h0-*+HZ7aYne663kEv}pts*2|1 zhZy(bc84=&*Uud1unwrB?!*sys5fchd4ysEqBUJvh~tS*gFK7d1o%mGWx&3_<}9O) lPV`a41dxUe_*@^e{sEhrj4s63k$30fhdEP)DV$@lCiFZAPhkL0{BZt+-%~2pJT!xzjP-^7z&dl4D!TW zE1JCF-R-`Hg_E|lr~^P!T*pcdPhU@ermf4`KLk!Vq~2lMR)8DvZyRu^qzb za)Cn_owjne2vryp&T)4SsxTN%A65|$Vbb~r4EH02gJ!`hj2m7T*c}4d0){nifAj}G ZegKzx)t=7tBw+vm002ovPDHLkV1mQxo{#_l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/regirock/normal_gba.pal b/graphics/pokemon/regirock/normal_gba.pal new file mode 100644 index 0000000000..f577420cbd --- /dev/null +++ b/graphics/pokemon/regirock/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 197 148 +82 74 41 +148 139 115 +205 197 172 +230 222 172 +238 230 222 +180 172 148 +139 90 57 +189 131 57 +238 131 57 +238 172 106 +0 0 0 +0 0 0 +180 65 0 +238 115 57 +24 24 24 diff --git a/graphics/pokemon/regirock/shiny_gba.pal b/graphics/pokemon/regirock/shiny_gba.pal new file mode 100644 index 0000000000..b997589cc4 --- /dev/null +++ b/graphics/pokemon/regirock/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 197 148 +98 24 0 +148 74 32 +180 106 65 +205 139 98 +238 164 131 +131 65 24 +139 90 57 +189 131 57 +238 131 57 +238 172 106 +0 0 0 +0 0 0 +180 65 0 +238 115 57 +24 24 24 diff --git a/graphics/pokemon/registeel/anim_front_gba.png b/graphics/pokemon/registeel/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..17ddf8ff1f35d401b6bcef79e489a21f53f3aef9 GIT binary patch literal 1587 zcm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}1bB5CDXU2Osfn;t!Tg?wm_!G*18k002ovPDHLkV1m)6 B5Ly5L literal 0 HcmV?d00001 diff --git a/graphics/pokemon/registeel/icon_gba.png b/graphics/pokemon/registeel/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5a8cd3d19f43393b4bc3565acfe5a0a5bc89bbb8 GIT binary patch literal 351 zcmV-l0igbgP)DV$@lEG~SF$hH60dfVaPXX)Be@)3R0BnvqFd?zn_3kOR zMB&DW84!A<{OKaxdgC|hi(ss+&#*5nEqG+{*Qh=;goGF9G9sVEhh@Ux0zCufWi*S72i61m?s66PN{u x3Cw~6zJOVAn7}MJ5CWKfc@mvxX3Wp|_yia6)=?`CDuVz3002ovPDHLkV1h50o>l+= literal 0 HcmV?d00001 diff --git a/graphics/pokemon/registeel/normal_gba.pal b/graphics/pokemon/registeel/normal_gba.pal new file mode 100644 index 0000000000..9d7d328f42 --- /dev/null +++ b/graphics/pokemon/registeel/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 98 +90 82 82 +131 131 123 +189 189 180 +222 213 230 +238 238 238 +115 115 90 +139 131 106 +172 172 123 +0 0 0 +0 0 0 +255 255 255 +213 106 131 +255 180 164 +246 90 172 +24 24 24 diff --git a/graphics/pokemon/registeel/shiny_gba.pal b/graphics/pokemon/registeel/shiny_gba.pal new file mode 100644 index 0000000000..e0489363a2 --- /dev/null +++ b/graphics/pokemon/registeel/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 98 +90 82 82 +90 123 106 +115 180 164 +172 222 197 +213 238 238 +115 115 90 +139 131 106 +172 172 123 +0 0 0 +0 0 0 +255 255 255 +180 65 49 +255 123 82 +222 98 49 +24 24 24 diff --git a/graphics/pokemon/relicanth/anim_front_gba.png b/graphics/pokemon/relicanth/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3a6216ed7dfed93d006dda1aa801d9f392fcd93e GIT binary patch literal 998 zcmVqyPW_q>F=#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f#$Clmmvm2a=V4_)g&<$5bHP7bQ#gF& zd3`4CRXreN*LdW4ALH1g{KM@)0lGHK39x@T$PxDmNJsrodtXhDemQ z+KBUc&`J^^5SaKzHx;kStLn5DhMy=;ai12EO%g-pEk3Zs`wJr_*n{t(%#qe&g#alF zJ75Cu&QyRTs0d_z!^BfuOaa=%$68GSjkEy#`2!=i=#Og>h$-+n2ihvo+F*#R&%g=a zvj(i+U=gQ?Z&N`1SFSILJU#c6nrZ{QDBH0&+GJ_p=R6J8uroYUf#SU51e^!=Wye+l zKNs*ZNJqwX)$v}B94A-EfY+7zUpu~ERJj9=D$Q6snZit%I3H%fKn1eXhLE^&)0tGi z8+)VOEoLTle17?z@RiDHUt0uHJ` m>ahx`ydD9OQ3Y<}pW`>KB>b}k3=~rU0000h literal 0 HcmV?d00001 diff --git a/graphics/pokemon/relicanth/icon_gba.png b/graphics/pokemon/relicanth/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..da17eec334bbf21f9c8c12e92d28c517ffe7822e GIT binary patch literal 413 zcmV;O0b>4%P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I8%ab#R5*>*lD&$!EdCsN5% zx<|Ysc09$0@gbmUxTK&@kP05b;MDfD%%BUSIc>Y8!cM+xX_WLF4dDexy8_!(T`;Cw z_rtyYpR0byaJ%QQ4tqUVhghyQBpu3ZgX*vctizO-C^{4hR0pp>bU2U#(V?Jo0;tCu4`DvoV3PgtuNIGn6_@@p({p#C6&&{+I00000NkvXX Hu0mjf;m@(; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/relicanth/normal_gba.pal b/graphics/pokemon/relicanth/normal_gba.pal new file mode 100644 index 0000000000..2a95fb3cb3 --- /dev/null +++ b/graphics/pokemon/relicanth/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 246 255 +246 222 180 +213 189 148 +180 148 106 +139 115 74 +106 82 65 +189 164 164 +0 0 0 +164 139 131 +139 115 106 +123 98 90 +82 65 57 +246 90 65 +205 65 49 +255 246 222 +139 123 82 diff --git a/graphics/pokemon/relicanth/shiny_gba.pal b/graphics/pokemon/relicanth/shiny_gba.pal new file mode 100644 index 0000000000..3c37804706 --- /dev/null +++ b/graphics/pokemon/relicanth/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +98 246 255 +246 222 180 +213 189 148 +180 148 106 +139 115 74 +106 82 65 +172 230 246 +0 0 0 +139 197 213 +106 164 180 +74 131 148 +24 82 98 +246 90 65 +205 65 49 +255 246 222 +139 123 82 diff --git a/graphics/pokemon/remoraid/anim_front_gba.png b/graphics/pokemon/remoraid/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..73b643b99236fff5051483a95e2c0c00698e4636 GIT binary patch literal 756 zcmV$q3i=;V9dy4=7{{a900RR60|JBvitgN(qdxKh9S}7?xM3K2@00001 zbW%=J06^y0W&i*Ja!Eu%R9J=Wma&f7KoEwvxOIyxT`pCGZf)`ajBy*Cy{6@CpWUPY zVlypDk>t&2?xm0dq>9L_mqZG?doHd!c?yu2&%3kO*8ed!)KFDVpU--L^09A$)hmIg zvIi*h9-zA4_l)og;HE+(AiQ(+3n2vZ*@ICy z*>BX08@XWIIA}Q)LH=R40ZFxG#k=bf8brv?J7}qoOD+sxH2!+ZfA3(9i1O4-4S=10 z{LFn?LCmE*q>!4A?XPdM=O(6;wu?5Bfd%*uHN?0*ANCv)VZIpzK%~w<_n}Pg2Hu8E#7AsWshO>`ay5}m;TF+!ZR~2u10W$``;akv8#1c)#w1a zB(1a_q|y@qD%>|orw46j*MmxkP(Y^#Rv^^juJqt&^#_&yD%_PG*!+RgzYBMl9;o!! z;jZ++kOQ6m6z%}=k@SGy8bFu+6zd$z8)NT2Oi)L}EEcs|+WWODRbY63Y|gAzd49k5cX_{3j+r z@s6$510I@oa9L&E>46to>_AtwJgw+|_a9sUhk~?`<>|@+urdm$*SG;*_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SjuQc5UUwUh&DDlh7-W7o+!!Kf^6h1pIs!X*CQqq z8^A5#0-a*WWHAAY9l-j*pw9EpfwAJkonmb2INUiLe&Zi!bMean_eH_9kR8BT z1;;}K{`gRE#>&h{5W-~$G=cIC0|c_=m|hnWqYB1DVbCPYF~Q+5i!|d#fS`R4Uet2K zaaSh+B}(jpF|@DnvtZD;;W&Bl9QXOMFG~reLkdhQPuJY<_G@u9t$Z2b|3Oe!c|{a|9A)fqrUY);6)`JvXU@R%0}$nXf!g` z35}N!^@`NK*c)6Ami9It`~K5C+)8y)0kSHazxM{71%4h5ugRdi0#YcOx>}{3fTuYc zv|0n3Q%mdJ6NF>j)?xN^aMFEVPz5{GP&; zs(i5pczA2yV=ztvolJSbq2fZ z>TcN|hy|Syd;hk9UOz7TF*SrsEVybH@XW%E>ETsBV%L2woZaOvtfaef+Gp{O32Q1h zcrHG^->CcK{y$#c-^tB>b!YSmAG1J)Hblj zx)BL#u!)c)P=!;wq7V%xP*LGt+W6SXv z{SZ2d06Q?#%NF2L---utth6grsed2ZmcQA`T1AWOYE3{0@uJ*Kb?8T zaX&vjJJ-ULAdGDbYYn}%ydp#y&1dK|2n8ooYd| z6C{*PjyO&{Edcp4w*arQs&E!C-5aP7s0C2kiRc0@h7w<@C4jZNdxyP{uL5mFKn18R zfbrGvh=RmxV5^>cAfEY83^WV7d%6W+d-nrNq*(TM0LL8omcR`Ry~ep^3m^f$Kg5os z?YQ<4fCy^?O6VHt;svL5AAPO5|CWSV102=ezZx($0^ZcX@F;1`sg8%>k07*qoM6N<$ Ef>8N3@c;k- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/rhydon/back_gba.png b/graphics/pokemon/rhydon/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4acc986bacfa9828365e9bafac4b85c0994ad36d GIT binary patch literal 880 zcmV-$1CRWPP)sN=`00001 zbW%=J06^y0W&i*J?ny*JR7i=s#gbr9vDi8p7r6CkJhfeN&; zUqyIXo`0DX5rJzrh!8y!>rS8DT+dSIc)mwhB#EE*=KOX7*c||xC5}(JU&~1f!2(Yk zrN$89zBY zabOqdsVrwHV2w(dbd(-k5eKOBY6c*Z#K0zYsyl8-==-+`kYSG`LAybhDxMM_tNUq^ z5z`>IG&pyfo@YP`f~i*HP+n$DRfi4G^}VRAX8Vg$Nr*P4WDwiwdR7#W07rF1D#y;( z7XzK9Wnf^Zqf%kpF$^BS2|uGo<uz55y9x4`p?t4u!f&;n>X1E{01 zmiuG`Fgt)P%aMFU=jCoP&=a6ISx~9W-VYvxaGXVCE5s0~A{Q5#pjb3|gt1=v80JGG z#K5z42<_OFR*cHlMQPWnS literal 0 HcmV?d00001 diff --git a/graphics/pokemon/rhydon/icon_gba.png b/graphics/pokemon/rhydon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3bf63368040bb72096cd2f8e4b75349a4bedbbbf GIT binary patch literal 381 zcmV-@0fPRCP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H`$@lCf^XFbqV!7Z7{;01M&=RIq;_AD#d~_aYfO2Z)`u z5F&OA0@fL9G2T1093So|3U^KOw}-B4kk){;kXoX`lCIVg6PM~Ejo?(Of_B0jf?2WM zbAVOc-qUA51yaC3Sv=GQKqZDn@~x_PtetNo3P_%RJzCS;KCg9e z1~``qI|Ih_D_J)4x}y99;J0JCyQaRBI*{p$$WDMUkxL&7?2x1O#f#v@5QwkC1c3CE zPpK~m<|Ew)cGnB6E`3kaM61l>MI=~1(cNlc!iznvHe4hVUS#SbKufyeyh;Hv-UsF@ zGk-(yvr0LJU|ekbNz{NxX|O6Rzz2YP&Fc_oPJ_-2mr-8U_7&BioG&2 z39Prtlm>$GvISgXfEyCjHCjtQp@CwjKm*AU_M5VH zFI?iWgi`&@EWpCej8F@N+qTp@0wDP38?KZ|VulAIykWg<&#i0DiI3-TD)~m46@)Ma z?aq|KJYI6Y-?L0B69@pIiw?j6O>k#EJwD@70l;y~H5TB(v&gKD2Kb{X~KQ_U4=L`6qoiB)M~yJKX}Gf5_hv-S3}GP@e<+a2VWMWU1XB z73yF=DvKP9b2hYdRdBm|c=#$m2TUsZ^8X*>W4!nH|LDQpMLlpvP4}llSC{nQOSgc~ zXsbhjbH{Xld|T`{4*hBfzz)7Fp$|JEGgV13sfr;QnZgFvNvQivhYw*y7fmk9(T z%ZET`2SWQVOz>2R3qWHBGY0<{6r$4yYX?FC!UsLS2o$#YbA{$U09wD$wH-+OmfJG` z`mi$Qz@sTVYTX0oEl~0XpoQ2TzqgGZ#LxqI1XS1sG48T7%^9s|X8?Kx;zmH~?jB~* z48o>Zc>=V05M~K>q*A>+<2ry@O6gnj@>*0t_5Omdjyb+ z2>O5(j52Kjo$^8r03#U2A8_nLw0|04H)tE=$XQy!X#4@)-81c9v9{Fn$O=Zifbj=n z{J`iz3!qU#Faqljya9w@>$XRAf??+o0$#y|x>*-lyV&(7-gDf z5R7ML&(P?%em&%8{s28-+&(g*`NJVU^#^IH)Vwpv-R@yKj6cY%(F0SLJ128ahW^ll bcOU-(df6t>3VH~Z00000NkvXXu0mjf0}@X* literal 0 HcmV?d00001 diff --git a/graphics/pokemon/rhyhorn/back_gba.png b/graphics/pokemon/rhyhorn/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..67d006205c08c72f3cbc52af81cba5135696b6ee GIT binary patch literal 633 zcmV-<0*3vGP)KlRvOP1IYZzGbgSWx7`@#O}4Kz3i3W zodgeKYfRJe$48{}K8Y@bz{&eeMQi8_;bx6;F zg~01NZ<$6EAin_MV@{UV%sldQC-)kYu6cSZmPen?w^g<6?X2B-O-v)mkoUj*{V9J3 zwC#t*3FtUR?g@^-9ZK_`Rby5Y0FHZtpY#MARUr-swaBH7)gGbi;|VZA^Ul6Mhq`G|81!-QJL&W!qI5{Vz6{<&D`|1e-kNe^eMD}g?OR%&hKW09aBe+^S?oIW~u4qwwgUnD#+&OPj8=WAZV zGFhK2L8S zb924Dz5o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&tk!Nwe~#@ z`tczfa|(GEfW25Sepqqe1G~t8+6)wA!Wc;e!w37|0$5}K69t%*2u36yeh^-#z^BgC zo`c4a{a7$W7Bp$S$N*bN47=+0W5MuZ{aDwt7W2rn#_EGuFrITL5b$-X7trD_1~*C~ ziC}=A1fU<+8-1t=O_DZ((TE&qu>laa$KoRuj0P8qQ@`UEnP6bJ)gJM37FH%0bw4*B z3r3_cB*#zCzZHzKN6>b`5dKiUdxIWqDPfV)DZw8Q$uq25LzGT{?){-K{stsGLwK5# R%i;h4002ovPDHLkV1l+TAiw|s literal 0 HcmV?d00001 diff --git a/graphics/pokemon/roselia/back_gba.png b/graphics/pokemon/roselia/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5275c801dc24127441d7290e7192a15707fb8860 GIT binary patch literal 774 zcmV+h1Nr=kP)cV|D?SsT9i_h)nc^&d}JD=00001 zbW%=J06^y0W&i*Jgh@m}R7i>Kl)-A-KoEwtg%St^GzB|OOcK0Ms>ewJYVc8qEaX-j zihQjgWUo2Ypj*${9&*;|34{;v14zLSAca0a%2@40R~jvmVTe))5E1&r`cB#Bn55bU8U>-zrT z$Hex-V~43!r+O8W6(s_7y$Ff83PaanI#CIR$a4Y?tJ(n7ZfI&m33Q$)t#aB0!vq$X zpHcra&d^slB#xOH025RMl(!6t5p8K7{Z+0pD0&=Gm%e4?z}cwdA2&djD3z~(y2K=v z@A>{I{}4KT3+P9{Jg92llR$TmhX_yzt8i!{&Vz#bA~5&T0$HvVg(Luk=wSaMo|1+n zAfxj%rvZocA{OERK*U%905DAw3K_G?161fIc5N5fJ{102AT_K8gS~3H;Ob3sj}J7h&~LBme*a07*qoM6N<$ Ef^KVE3IG5A literal 0 HcmV?d00001 diff --git a/graphics/pokemon/roselia/icon_gba.png b/graphics/pokemon/roselia/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..fc63c9644a59d4cb09d725ed0837fb53e1f5072e GIT binary patch literal 414 zcmV;P0b%}$P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I97#k$R5*>@lD$rZKomyj35FNg=d;jaUjq_@Et`PGh5`#8fMP?( zBv)+Q@&a~b0~c&{bmVt-hs4%IZ#O63%zTqMjQzQ>I%CC{G=S{XlL?9d4e%Kt-WdQ9 zgU$dAVsW}d<#~dI(vkOlT_-uh0<4F94aue{G>GFb0B8cG<{ekDgblcb^ry@*yu633 zc9lq{E<6g`H%MD4#PhU=$a*0{=?Jl$%MbWU)$ZCm19g_$o?R~8njBoJoLk+#DamD= zbbxWjGq##?4gS&mzA$VpjP+;=GZ5WbaB1Mn8zoAN->q-)BJN?xPY*OaK4?07*qo IM6N<$f+(rCkpKVy literal 0 HcmV?d00001 diff --git a/graphics/pokemon/roselia/normal_gba.pal b/graphics/pokemon/roselia/normal_gba.pal new file mode 100644 index 0000000000..a96e5081c9 --- /dev/null +++ b/graphics/pokemon/roselia/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +0 0 0 +180 238 115 +246 213 74 +205 222 213 +65 98 49 +131 156 164 +98 148 74 +123 205 98 +172 197 197 +164 49 74 +246 90 131 +255 164 189 +41 90 148 +82 148 213 +98 180 255 diff --git a/graphics/pokemon/roselia/shiny_gba.pal b/graphics/pokemon/roselia/shiny_gba.pal new file mode 100644 index 0000000000..eebb104afd --- /dev/null +++ b/graphics/pokemon/roselia/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +0 0 0 +189 255 115 +246 213 74 +255 238 172 +82 98 41 +213 172 90 +115 172 49 +156 213 74 +255 213 106 +123 65 139 +180 98 205 +205 139 222 +41 49 65 +115 106 123 +148 139 156 diff --git a/graphics/pokemon/sableye/anim_front_gba.png b/graphics/pokemon/sableye/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3b70ec40f5bee8a653c8566858190b1f6f4cf926 GIT binary patch literal 839 zcmV-N1GxN&P)$9 z2vl^O%xwUsnViBTw5AAB`QxquP*(%iF3LRA^l4V)4u|Ujyj-paHrnW4(Z*nCZ4Aae zu+Cs8V2#1hT4ONEE@}oNaGFHbU|f^537l07hC`Y+bGvvj7{a5CBHCp8?3cknx6o)q zF8)*+3?W@f184);S!#nJ{eyhIrH_i3Ksh4)g9e~}Z%x?!3v}=Ft%>Unq|I2_7tZ9F zkRdRzYK|U@RvXirWLyKtW0erN&w^Fe(m%+Tt#bHrrHIzKlp$~1P!PxcSWB$D*q{NnN7sapVV zcOb%#D#tiTog6zbgqV~{AqJTP_+W@|Y=GrRJ2@&Qo+de}JZ=XHBEkuh!nzIc2}s_L z83=Se(oPYaBcT(JmYJ^GfC7RB*kqa%x8yhgl!Ig!A!X025_JIf3?vq?&)2d_^1K14 z2n}Er!Do<3S(-Q(0Ve>T0my-_OhiR-3Yaz^XifJk+@+3#X~Rkz0W86BV2dPe09_1Q z9LPcs^ieygoR7!X^&g-by3_J%PYkp~oJwkA<<5d7U8=jN&7?#r3Pl0LOKRY zHNZPv(_=W6_UCdIahy_=InP?mvdISv`1WGrQ|k4)$MKokSO%Y8O7cgDd7xrOw6>aY zcJl*K<0{=g^Sn$sPp^TWzam^OBA9zVC!zgEupBPF-{akvN1)1|o4vrk4SdDb-Qtml z6gBZ!SirOoKmhHcKz&c;&{?;y0a^jLU3?mH3nea{W(%M#Nw50}za=nsrX?VGpv?tS oxma%p?Eo~ZB<9_}{C`fr0a=VCa6tiYTmS$707*qoM6N<$f(EP{nE(I) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sableye/icon_gba.png b/graphics/pokemon/sableye/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e8ac1307edae045dfec301c64d984489e4fe8241 GIT binary patch literal 319 zcmV-F0l@x=P)DV$|`El)cbMyE|BNmg%(?!*e+U~B|r4kl5z9s!<%DGJKL916-gZFAna-23PBp$1~&>Xzdh+Os%WKDbN zVUvQBJuD<4WU{xg2cz5yg)I6XvQWB5^{^zjt$Qt{G=Ge>AtA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}9e#P23oeHZHlrtPnl4ofu{UY&oKHyHK)K^lz1hy8;z7}f&+APk1E2mkvA?O*2~ Z{sQoMdty#DD&YVC002ovPDHLkV1lRNb$kE- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/salamence/back_gba.png b/graphics/pokemon/salamence/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..748147e777b7855f7b8bb82c9fe0229e69acb7e7 GIT binary patch literal 578 zcmV-I0=@l-P)4l(A03Fc60ACul62g@tE`u3@1|6|)yrsSpcOyml&` z847s~)+{_gr@j$V3qu*;d>iZsU67uf5kVx3C z9Nz+e7er7_WxRlIQvwp0Q{9swG6zM(<(veVP*tODqevJ##4Tumld5TEtPRMm#ef{3 zxNa8AfNdCSNr3ekFDs?22Xd@G*8F)44hf;&ESN!qraGX13>Oooz>U(XnujsK;Ee;4 z>P2%`;m_ce1Db&AhdP+}nIWKi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*ITS-JgR5*>*lCe(1Fc3if1?fMO1(qe~li2<`kV!BFEvL;dm zpTRG<(y9H0C_@`Wb;?wCurTMiPHDR!Cb-G>d}rC`C&b^5h-g@kIw9yyN^9)_tVG0l zs+oCWx(_L(eoPYC^%%3I&h@812f-p??0@pQxN zK9Uax)j-f}SEUCz^xcZ`0ua#ykw`HBAV>E(gn%()VBcwg&;sUJl##BcM8{%s1&Taf z6CE2b0n*U`drSh1iA>joaStAY_N5>?K<*Mln+tW9`#+3Sl)#y?%l&#HZc+rT%Lg^^ z?4<7hncA|+cwPeLdMgRc+ajTWj^nEm2-bm_g*+huoXJ^v5GGv*_ALx9C!`-|Jtk9o zLG$H$6Fo}3Wz~5jflDS(M>}!GxbzeLnq6 zjz^iFDSjXG@I~W*Pp_kRbl7Mp-bC1%HZbQG*Af_yxAR8Oy7-RyB#z_LjHw<~5FpZv zi#QFH0F}Ufk^kV>%7?v|f&_-c;d|fqRe&LZT;_*!U%7%jN#b@BAr`eQO3^G%`vq#u+5acB16m7+vV`oU5loB(4b zApKw|5EjK0*HvpsKPUtOF!kJp0;owpkOE-?M#`<4k@N#85Oz^Ol@BmVCKK@vQQ|4b z9)_bYiv{QB9#PF46X5j`FJfXVuge5nFM(Kn879VaUILo?p3SbRfs-UJTZmot640{x z%K{_U&lSIy+4`CuEDMa%RtusnB%IB@p&}oTvf1w(f~dO=1UI)XDg7b8e#oN;HhK+i zkxNQ{$ZS6hoy}Im09O7$GUkT^vAGq~1yuS&hjen)P6vRh{lUl{^M~5bAD(>t1$ij2 Us@T#$t^fc407*qoM6N<$f?{ox6aWAK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sandshrew/back_gba.png b/graphics/pokemon/sandshrew/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..86fa10ec8f7fad65b8c53837b333cc841c1e4478 GIT binary patch literal 606 zcmV-k0-^nhP)Kld+E5Fbsyh*lWL$0v;T4xxofZak(K6 zcm;~S(E&}my1$$ZQ4*u`0mseOr=LG5vZ_Agqeip*2bld4&@wf4+yERcf5i2(>z@Pa zY;FV1&Tj$6V&rE}8-TH&gQ-&Y{v1dydQZ`aH-N#z0a4#=0JRJ10nmAjPXW#ra~w}k zP1bH7$P_>#no9Rq2ZwA?DUwoQqH)v3!JI8d-2jHYt@^9RkFU4D!NYXJLkJzR6B-r2 zf4c=V1GRJBdo+oVLVlM3S$;_u0{mG-74oG3EQP5WvH;u>G}7zO+cInXo*D-Q$^aDj zv`DwO2qS5*S!ZE*40M|gaFzXL*mN4@lsVv?~cfk?h}?$Sr3NYWNS zHQ?_&x9dwIor<_}9_AJo+jc#VF%qjU0fRZrqS>0lI>tuUtP)DV$fuIgl7bN%yYXNxjJ8{?Lk8MZ~?UbhXwlr1(U0F2q)7IOmV-{MEjN_q5 zBxL&%+|D~t?Gpc7pA<%Bi7?8qT_TJYACfQ_h1upLVF1~JD3yeX2EiaoC1Dn%%%IrQ kHiaWC>u)i(v$b3l7!LZX`Sx@R1xkbciWKkkY20asnaQv8^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zakwU_EMwLa0D<4FtW~d=5b;QKyzi43GrC5#wg5cJ@SR!K^!yIwg2`Bb=nE1>z8n|GPA0{lX8x^IbHSqKxUch`=XZ6S z!blFFJ_j=540AJN5hkNzm;7V_$S90)ih91JBz};?ma3N~V~-eX_>m_LWfN4GD{Gd+ z3Up)HLj*#2`6&PoPfFm2ABq48fL-EDh){r8P*^H2ZptencwSYw5$2)Vns3n)W08-( zKC7DM24YC8g)IybpdJkBxLU2LjYG}Db=AnP2y}Z9ZaOhdRo}F~X-lcb(HtPsIgW>% zC{?#!+Fvc(e%){f6ExH z@61|P*5*O`^L4<0`X~({pioc03~m4tFNHt>D0KtCBd-I2^(DZ4-BtepI=)E7md8?G P00000NkvXXu0mjf5e0g} literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sandslash/icon_gba.png b/graphics/pokemon/sandslash/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..08198e6b2c3f2069e57c25c10af7db290fa6a0e1 GIT binary patch literal 402 zcmV;D0d4+?P)DV$@l09z3AP|K)fqe&8?zV813r))%63H4jriIE^i@ZHS zSqVY)mQDEaS}9XRp_@Q0OiJOiam<#BQ z*^J`3b`mf;%;b^5EdfOYqTGSei&h|664AUx%?vMV1(A7SRd1Q56iA^`5y0o57R{kO ztsibLiUX?x>}43k%IkZcyI}`-wPj8TyN}$)uaI4zf!JS9;CelQ&We9>eh{Wd1JQw8 zc=AI^%)kL8VGvZSJcJ3{wv>gz0X&3B;^oY@Fwzs{i<&SwQH7ye$-)#3+SV&)ELM#@LV!3Ku96AE>!x_Zm(GfxF5M6T z$AP>*b(OF<7wE;5 zG3DFoIQ4KU2h1d+`>)lcICdO{lcpTlQwu_jAio=cU!>srn4>?y3&vO!7b7toy5~ZzjKGPg~kQ!GDH@eHUz=C?b_+RD{xMPf=b zLTro6Jk%PR5ET}MT8IakfdLE)Ws?|DP*)WdRl_)v(ZX5@c|n4r1}vIw286}NsLeL= zd<1NByJ&PiBAaH$8f8p?)jg<$Hm?ogf+U4aNI`69dccvrZEFAKQf2q9ZyUXO^!82bgWnEdskDaJ;<=(`u9)eHbrGs`uk_^K9M^mEXGv3{`nY! z$8`+BD$p>%nFQdS@C;-Dcqi8s4y7&zBm6ZOXuq_4|Nq|I+0#y5%Yh%C>}gud*IgAm zP@BVe&v&3UK+*M+cK^`p@(<5(D{l1<&vCDN*XAG2`3BhLA4XU$UYmb7@A3~}hkqD5 zUH-x8@()gje<0H?|B$+9T-*FZiuR$+KR6Tq^_BaF)bTff#6R@G-$U2exhqpRky#M=$ru{el!#^gyZJ7vl_xJz+002ovPDHLkV1oIjlgI!7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sceptile/back_gba.png b/graphics/pokemon/sceptile/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5b7e8696ef5790342484043e20a6f362ed3eca0e GIT binary patch literal 838 zcmV-M1G)T(P)(VZTv{NJs;;&$2YQ_o} z%EHhcMfArMspX$wspOEQLIwHRMPdn(Uz`yXJI#nxr{>+Ao!H?*CvJ$6dmq2|z3+SH zSk`}8W8Kw|jw?-gRGWR1Go4vLom0^Ex+=`X}sDM_h zwP)e3U*flm#y9B#;^pWhRdb#4EVe>P9r6Kc(XK4&62>&!p?6K zP)NYOEC60m29o}QM!$Szm}deC(^|oU1qogmNd5w%(v4x>0zK#wtb!x2-;qKa^_{+$|G+sFYc zQGYBGhUjS^E&}AOOyPy{Bn%r0z@biZe53d zRb#|sYW0~0KnY8A4{lUz+larmL{r-o!9l@c_U@eeAS?gqpb4 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H{YgYYR5*>@k}-0`APhyhK+L7IO$yOKi;tEYWKTrKg(xF$0Zj@k z@?wvnPO}qr|NDc!hiA+Sj~FYDPFpV}xWS;{2LpnK;Ru2I9E=;?@BI=R{JXP#L{i#* zhKvZvheqXc;HK?rJ{&6!!mOHeyQ$JzswQ1SZI~Ib@2(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H0ae*sf(5_fZlTe|=N002ovPDHLkV1hon B(@G-E61-G9S~}56d6oFa*l8gkWkcE-02Gr?c04pc}mhMUb&arhUWWe4%Oug)Kb_|`|75EgVuPxb^LCgST4Hvwu&5((&^Vv_i{1XKndvxF@G<#h%GfGp8Zt2L1Ggm13{DTBTD z@FCfV(@R&UQk-qi(Hvu}K15!s8DM@J%bp&O)-Pv3y>*&zBR353z9hfsJg2!QaNp>- zPdzpV2IOJD-BkksHS5i~c>%h#Ebrv^`5vjo^lGH(Em6BYUvPNJ-r&X#~s>{j2C z99y4nMkye6{3*sP?zl139O%ffX6hIfR)ET3KLfTu@5#;qky4BKq`0J9?v*K*glH^t zB)v*FJ|9PPb*cl%2@qyEDbu-|`(Zu^M<;K9DCb;lt*-=H;})MQBzVq}ce%N0{4GGj zyj;tgC%w+Y&F=YDXsA0wH=;)Cr&=l-aG{`naT7P#AYqzwj%n=T>d0eeC6fR0`~`@H V9fe3VN>Ts-002ovPDHLkV1fZ|M2!Fd literal 0 HcmV?d00001 diff --git a/graphics/pokemon/scizor/icon_gba.png b/graphics/pokemon/scizor/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0a8667832b81528381d8c2f312e08578788e8a71 GIT binary patch literal 447 zcmV;w0YLtVP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IJxN4CR5*>@lCg@zFbqKb1=c@wxUmQQk#7BhqM?KJR~}rr?&*+U zDJgh4hz$oCQi#rW($wvAaLaLq1pE?7NP0^B>7zl#C(zxb1*Q55aLZ9|E(;hwKQLZb z3jo)6(wiDM48EHINQ8skk?+>i=UYR{(=M2IDYc=o7#V34cBcX?ZYhXo+7C_s1&DLnHPD?YAvIdZ)WiWm;RJ9Mb$KF;W(e~1( zrvjKR-aNqd?FHyOyz5#$AKj~eaY7cR>P2T^Dm@ZN!hEeNkcFv15vF?rNf@&Lks^$_ zj}Xo_W??#!3EUh~5#})OdcZwP5{9?OY1w)6V-kkt*iJc$AR)b7J7-18!mzlz9};tz p(D2xQ5$0Z2{YV&m5$1P(d;_Yj=Kjq1PsRWM002ovPDHLkV1kFY!t($C literal 0 HcmV?d00001 diff --git a/graphics/pokemon/scizor/normal_gba.pal b/graphics/pokemon/scizor/normal_gba.pal new file mode 100644 index 0000000000..a9310feaed --- /dev/null +++ b/graphics/pokemon/scizor/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 197 115 +255 98 16 +205 57 0 +123 32 0 +255 0 255 +255 205 16 +255 139 41 +189 139 41 +255 0 255 +255 0 255 +197 197 205 +148 148 156 +90 90 106 +16 16 16 diff --git a/graphics/pokemon/scizor/shiny_gba.pal b/graphics/pokemon/scizor/shiny_gba.pal new file mode 100644 index 0000000000..93e8e479b4 --- /dev/null +++ b/graphics/pokemon/scizor/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 230 98 +180 189 65 +106 115 65 +74 82 16 +255 0 255 +255 205 16 +255 139 41 +189 139 41 +255 0 255 +255 0 255 +197 197 205 +98 197 82 +49 123 32 +16 16 16 diff --git a/graphics/pokemon/scyther/anim_front_gba.png b/graphics/pokemon/scyther/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..90b7ad4a8d0bbb60692fd77966f040819f7d7064 GIT binary patch literal 1543 zcmV+i2Kf1jP)TL1s7_U3!d#af(;F}?qDoZd=ey&y_zAP^7`G981H00001 zbW%=J06^y0W&i*Mg-Jv~R9J=8mc36KNff}RaE0Wt)=o>%ty3O88R|$Fr9D#7rc6o7 zJyAgGb8(cXR7Z2Vgy#N$HK1G*DVbd>=pvBt?3yScC%iK@QLX|r_hvuFvmcn#bvMYu z@P7N|&BxCC5Yih)Xcx_D9L)oArL?Zo!_kOQ~|af*!#@mFncmV=cQ%s>Hr$<+jf^g z^JRk0%bzVPT_vQDfa8xLLFeUj%i7G$0s!#*XbcG;4hgpNz^NPfsO+4`_$b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>`q1QLemE+82O7=(+7Bo3II(XLcz!tq3OeI{*dUy tzw-y@E`KPp9MxDT7`ZAn;Q!_i{{S#mjivsze2M@7002ovPDHLkV1mKg*7E=W literal 0 HcmV?d00001 diff --git a/graphics/pokemon/scyther/back_gba.png b/graphics/pokemon/scyther/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a1b9d1591b92ee42c84cd6e6605ceacc8c645473 GIT binary patch literal 744 zcmVP)TL1s7_U3!d#af(;F}?qDoZd=ey&y_zAP^7`G981H00001 zbW%=J06^y0W&i*JW=TXrR7i>K)WL4kKo9`X9Jpp9C}*UmoROLjK;i@X8~lQ+9CD4- zL+_k8HlX$kY&fHMyzU*(IxP}VWxaMwxz$-_?ZkG%x*vd8B~g-n-kq5pyVv_a>_c_V zuyTq8mt8=5;&H$NBOU=g8F-35K6L{K{FQ_*kmU>@6wn12aQy&60!ZDp0nm$v_|UMcu9X#+G{%>!JmB3lSm02N5AL2g7471kgc;RD$AC@WE} z5CFsrTOI&Rhgxr7N_@N0P30?ePe zr-(NvF*m7Lz}$6H#GmdtH>oaqEW96%j+zI-@{0k&buWM%<}Ahg;okEmPdS?&6L8$I z0m*9l8S~q{7d2oob0%5~=hy)8TS_m@pR~bz>P!&y)H#Wj)^BA5#bWSuR0BD8oYNTa zhvS@6oxjV766w8Zftll^4H!_x2;8>783Cw4kGh+VBd-C2GZR7y#^p_?P205qg)mVH zD9<%0$6$2X1_ zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H*GWV{R5*?8k}(d#FbqX=g7^+x0kN_WHk2%Q_GKB7dWDLX)rugQ zO+U&Vgd}&lJB92HZjzI6Z{{U%)6#$bTuLFmR{=QV8eTk3pD5Re+K(1x&&e r4Zk8xZx_O7UI>%e@B`{eQQk&o}I zXGwp0tR7-yAxnf0++rWbU1O0E>R4@HZ~-L0Hx_w^Pyw`D z*p3k{8-VVj&fB%!4_qk4O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%tYF{2XS5o5JQoT+~eN>Fs*39!w9p#0JSQ{ct*Op*WIoK zX$9~S4bX1e9@BXRSZRGNi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H-AP12R5*?0k}(d0FbqX=0=Pq`Zb+TFaW|$vkwdXCL~sSviJ?j( zbz!jNIwc{=-VRkgApIYI$G}tS*Q(}HI+}AW(y+_UXCqEwc*mtNM8=p+r!kv1K%>he z4DcL7Omlk$M*VE}1|z4?&~$Mj0V&O(CJq$=c^u2tvI6_Ap*`+7o&A_>{hI}Bx1{YW zvtqHCai4l*QmJ)X`{D~#C>xZrR{c?Z5142jzyur;FcF6Xm}ZaA7=htELR$o82oZ1u xCS1!Z0MjKf1sLFwy`TWo7k~E+Om2J@m=~!+(p$fEt78BF002ovPDHLkV1o1skwgFh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/seadra/normal_gba.pal b/graphics/pokemon/seadra/normal_gba.pal new file mode 100644 index 0000000000..e29e999bf0 --- /dev/null +++ b/graphics/pokemon/seadra/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 0 255 +164 205 230 +131 172 205 +106 131 156 +74 106 131 +32 65 90 +255 255 172 +222 197 82 +148 123 65 +255 0 255 +255 0 255 +222 222 222 +156 156 156 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/seadra/shiny_gba.pal b/graphics/pokemon/seadra/shiny_gba.pal new file mode 100644 index 0000000000..7cb7cbb5f5 --- /dev/null +++ b/graphics/pokemon/seadra/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 0 255 +106 164 205 +65 106 164 +41 65 98 +49 41 65 +0 0 82 +255 222 180 +255 156 123 +172 82 123 +255 0 255 +255 0 255 +222 222 222 +156 156 156 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/seaking/anim_front_gba.png b/graphics/pokemon/seaking/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000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back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..302ffb7f2f02490bab6ac5758e9634469a5f887a GIT binary patch literal 503 zcmV&_u005kvw7tF6-roPcoO{)@lhe&Hw-Az5oCJ0FPgm00001 zbW%=J06^y0W&i*IbxA})R7i>KlD%%iFcd}&NU$OWsa+x=)EB619)RX%w8VrM)5Ub{ zLU@AUjhD;nhhS+(*H&Y4{R3Uf#y9$&oclQmA&=ZA!^L7Tzcpt7@V34&=js+QWJ;;l z5aku%g?9j?6+{WZ>+cSk$dlG*Xahi+<1bgBKAn|kcs6r!kWIH_CuOcY zLun01*J3PFK+_AxvUykj3TrqX96-eGGXPfd_#qp2Pcp9a0Dw)sm+}G-5mW$p+STH+ zfsg?Yfl?f*3IQqvRu%pjWEKJb_Z&bBOz}K}@Dlz{l~Eo8=%*S`mH<$REDcP10R@!+ zmc1Ye6w6+~61RlnwHMe5JOb$22`tb?2I>Q`!2#J7LxBOxO(FpXpbZU$GuR3S2n~!; t4`8jYpoK9k2?9KWJursLtA6A^@&kCdGrzxFyDR_z002ovPDHLkV1h=`(Wn3b literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sealeo/icon_gba.png b/graphics/pokemon/sealeo/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2d21e883705ef26cdd26c29b43fbf6c1dd5f2afb GIT binary patch literal 387 zcmV-}0et?6P)DV$KxOd@y+g}+4AEJf#fg5pIK=hZfA(}`i8=|Se>m$O8u2~=Q{P|8#wEF48yV%EAu|6JLIhhjc<2Cl7i1pC|CzSPZz1&dV hhlzRQeb8_A@eLa3Y+#llnl}Id002ovPDHLkV1f^BvP}R0 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sealeo/normal_gba.pal b/graphics/pokemon/sealeo/normal_gba.pal new file mode 100644 index 0000000000..6644440c0f --- /dev/null +++ b/graphics/pokemon/sealeo/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +82 139 82 +57 82 115 +65 106 164 +106 148 213 +139 172 255 +0 0 0 +156 156 180 +189 189 213 +222 222 255 +189 156 123 +213 180 148 +238 205 172 +90 123 148 +189 205 255 +255 230 189 +255 255 255 diff --git a/graphics/pokemon/sealeo/shiny_gba.pal b/graphics/pokemon/sealeo/shiny_gba.pal new file mode 100644 index 0000000000..df44748770 --- /dev/null +++ b/graphics/pokemon/sealeo/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +82 139 82 +90 49 139 +180 98 205 +213 148 238 +246 197 255 +0 0 0 +156 156 180 +189 189 213 +222 222 255 +189 148 82 +230 189 106 +255 222 164 +156 74 180 +255 238 255 +255 246 197 +255 255 255 diff --git a/graphics/pokemon/seedot/anim_front_gba.png b/graphics/pokemon/seedot/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..95007fb3ff958fd77a84c84612f5a3eb5cd9e86e GIT binary patch literal 800 zcmV+*1K<3KP)c~^aw#D#j0+`0ij zsoX$c6wU@jUpOoRvAOFNV6U&%N%Gj2R${doZjvV{Yl}&+-Xvn($hvRY$LgtRnp%jS zl;jctR*`7XqoQ_-9X5?vAt4LWqg)$@M>{x^04UVNNe&!Lr%9k?$cAU~(8uDa?ob?I*x3@-t-b2dQ9!foOg z7>N!fDBHjxL$Q@eBxXBUhm>F_g$cE)XIY~Bnl0+C`^pYMW zc6fIVcgiD>#s6roh$R9zH;C#>BL00GfJ~L)jSp1llui5a1f%ypC5}75NQY2?G5~d* z2bD=(2jD}Rw*WKgP6a}kY6GB;1?Vu10|EoccQycr1HFTA@@&c85g>r!ZH@n*Fx5*0 zYy*Zj#^?E|P6IbDn5m2V%o_il--`1^W(RP>;JjVHGGJgJ=BIi}r@ycDteqgThz4TC z-)5!`+yZdEZEt{9U?Kl(BAuFc^ekV#R6`AbE<)OFLGA2Z$7wYz$$pmBBDF z@n?)O1dkcgfh}u!x!Sl%{R1IGJLaTJ_i;X-rC8QO|1F2#@i+8i6xdMuG73CV%0>YX z%5lKv{EvX;amLAr?=T*SijZ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~}XR0tmVQT)@GVUyi%F*eb1?p-?JxK-;Vu7>R?As^0aJ0kBm- zU4`lo)Y=Wraop$$tAJMXQvkWl)>$bYg#vKf3;A_%3?l3pAHt%k+7B3IG5A M07*qoM6N<$f@U4%(EtDd literal 0 HcmV?d00001 diff --git a/graphics/pokemon/seel/back_gba.png b/graphics/pokemon/seel/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5268657f584ad43a372d0f35c78dd2cf9707c891 GIT binary patch literal 581 zcmV-L0=oT)P)Kls#|TFc5|Xh;sq5nj`3_*|2 z!A^VaF<#mTpt(4bBjC<}Mhr)C1?(fBCSb$g+e_eA1e)m`fmqD|>Ig8=&b;EJKobsM zo-a4yDV$@k}+<@APj~%0U4^Uy~EQlhA!j`Rpb@U)unHLL(dcm zv2<`Mp{%7e3E-ExOY6;_jKStp>hA?B&9lfg<^U@|$pDCwKroXLAoAp*lRf6(v}{_s zQqLEqa*`nBOaQeOLs}_Ium=A~<%n-59*8KJ1_r>dFJuIE&{5n#zXwvpD_EQYB35+Fu4TLM&KOZZkeI^FeBPP;x!q5Q z+Z91snx7E~++1Q3e`p{dmZHpQAjmN}&WCgp z$u#e|rZA~t7b@IvcVJ@2t|Zj~M#T)V(PU0-PfFS7GeG!w`6RcxN9Oz?6Z9EZ{2z9N>4A>hzf|l?fW~I#R|A;J?PDmUSAy`f4ZI zR@8R-wt-zBN9bCh19cMEk@t~+8Ugq?1zA-psS*3_;~i&)Xj4bZ0-)64(5Q6$-!`|8)|xz%Z_O2`HN90UyEe}p>QeK0BueH{{2zZb%uaB-5uly~mtPp* z^M$w>(261gG?427BM`wLAB{P{D#}ua$(K0{V@baN{QHtqc`}on)6D(%`c!ff!eQo; zLpaP#a!7}nN)F{PGs&SGW+pk5!^|azbeO5+{Jz6X0piJ-OAg^EbIEb%Z|S56#A#l+)mfd~~OT>>1X#6oq! zEK~JJQ`cD6e)%=6GXhw#g3)9I;>{#a8%Xe7o8TUl(gdCVTk#X%Ls`cu{6GEx0000< KMNUMnLSTZ_u#a~D literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sentret/back_gba.png b/graphics/pokemon/sentret/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..97ef90a8d58ac29af1b34896a01122dda9e04475 GIT binary patch literal 549 zcmV+=0^0qFP)EY{JW|SavfKgJ}wSNv6jUV0m^+X zq_Wr#0MbVJ3?vl$VW2Fk8tYLeh#bs-jB5#02h5-a>KZd3H%ht!B+D925Wr^wFaVJH zL_K(X$Wh=#DFp!jhUkvag$1w>0V3Ks0JB?+XzKv*gc~RauxC8~ILy!%TLxqhsxG=VZbr^8kAw;xH6y&X*`~ zmnUhS(Ey9s-fo5ghlLX02?mUUEJ=6S>Wl$olP%JnyFR1O9ElcbNCsXp$M>)?{}LEo n1*kYlbPJ-^5wO`1@K@^#<_%K;00000NkvXXu0mjf6h`ck literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sentret/icon_gba.png b/graphics/pokemon/sentret/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..560b38d44a955a0ba48d50621546625bb948b0c8 GIT binary patch literal 363 zcmV-x0hIoUP)DV$gZNN zLJnyFw}mCFt+kzCyc>Wn6lYT7>~Io3FFHs zNf1uy!EP)EQ+M00001 zbW%=J06^y0W&i*MPDw;TR9J=Wmd$G$M;OKj6R;(`gyNhEg)kw9YGq0mDH`C~P|ndg1?>v<6Re~!P}J%IJ;9)vPE-2?b#^7!q<=I@hl7ulpe zM3lwTw&-&l$8Sc!DO)%zwa2u!5F(rO#1_v+YV?RwTKhEw=u|f5&zR?d$*mXmsY4pBrqC9I**?ZnHgIZfcSsZ_Y=(T=Vpw|SiH#FiVNmP*C+M~AqKgVe5ZJe z=i>u<@lOsAf)fA@E+!hc{m%nnR0KAKBCPiJFEfPXunq^QJLjWD6X0gM|4S$Ub3iF( za$obxw`klm>TmZKsy^m`@?j=tUk$d<62blgnnryA;ML%gE;Z2%5D73a-2qbBPlMaa zHs(YCrl;Cvd=cwsKF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41E22Y%)x{R=VCDh=f`Dw}>Kfei zR*V*HBcKalFa@Yh!|0WO4{4o{h6FYu)o{VW9&XKn7y&&8;_KG{w0h_6951J literal 0 HcmV?d00001 diff --git a/graphics/pokemon/seviper/icon_gba.png b/graphics/pokemon/seviper/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ce751ce33d198be1c25489ec7dd1fc6ad8020bc3 GIT binary patch literal 368 zcmV-$0gwKPP)DV$4YRLDvHP17dQ?vY+dB&Gp)TjQwEr9*kX7v{hAyHKM7ihuZ>T25@p<5Qzn$>rmtb zIsmxRorXep9wg_KL_w8WdjO_F3d}^mf};{8p^XEhR=LVBbHL2pb0j2k$3mTRlvqhW zI&eh!s-6KLmQx#D)*M{w&2vnxWSfBQ*uUkYAU5Im7hfW<_!7YCOK3X#0$l`*FKnp1 zAG0qI`C)yL5cy$!X;kEg^`*HO;`}haObItj?}zba>j&KWy&s3K`|$?bgoj^zv3yGa O0000tBQ88QUp z@vollg9!eNC$iu0RbaK$b%#* zaQGqyqFu~WT0z7et3b9h%rJIL`5%xUj;!a#5o0c@NIwaYl~s`cP;?6OuI4b&xe^5#uH9_?5h?{$no2| zXSk4>V07%c3Sgi1`?Ee+6jE-foWg3Sb{{loVT@fu%PF-F3G_ce6*xsoWu*x0&ZNaN z0bo)JKi>*F9wDdK7B0r#4&nJ23t%vxcYr{GsGMyUfDjVE`|2Ym>Xbxyww1*?67g#F zHA8|(se~=#)enq`P6`u@OO-94J`nNh4~(_IV{CCS*_?*`>V5V0!hx|IhhJ_@@aDve z-^?DptyTw2YAk<4Xal%&_hGYpdoYsmmNIC|I+;K0wC=`T3B1$*_Xn@*C-G=A!YC|h~uSyM;o_pO?w~+NBTI3b3Tb8ZGmfL^c}2~?J{HlbTit};gBWo8hd1@ z!Hx}p)ieRwt_c_>7ik@i#>s$f0<7dg{wFe(;FJwOK5-}S0XSje(%u8eC$IfI0M7s% zgo$^7sL|M^pFC=Z7;cLaF&$8Q06`)E|MSO5adBa3*7927e9`Q?ZGdRj^8NrqDHpqZ zazps&oxDF_S8%S4Up^%Z!T!<^N3~0`l83P}uKDHD$E&#S`*?SEAJu9X*MJ8OyTD(y zujQ2`tArZx&T{{(2AAADX#ooqo}X?5&L=cnrcYBEV$XM{TUF-8DJbLOYLqrPF10kE zD+5Z)KF4xsg77w!X$nE<|-&m z;R2BZFI*4&Q*lnhtyd0ymVmepT*TL%I&p8Y4l6uYD2Oq^i{BbVwA`1hf>+x4ZW?Td zaCiR%QB+46iL{Z>Nqq+p`!GUi>C=fK<%6)r^PPHTMQARu3|p(AWDvxi-YVYdj5Pop zQ@!3||2MRswdjTCq6QRjQ(TywL{a_bxMhRCuD-Qk`k{mA?_M- rG)+MEUjv7|aWY_=0IP0D@xSPAX}Zj(A&=?>00000NkvXXu0mjfhBh06 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sharpedo/back_gba.png b/graphics/pokemon/sharpedo/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4e011968bdc4e4609b3ff296752974713962757a GIT binary patch literal 676 zcmV;V0$crwP)+BQeXuHNKMy@BllUG@s@a471}0R?oCS;&^(H*bbBk{NrsfCW9XY6-CKmVj?* zz!;OX$ZTCFEi!9Ny2ksuu9G!hYhyp90j-mx@PJO$ARtwPfK-iFW}!xA7HVYD1Dhov z)kMKdB=!k{d0?B+v!xm|iA0TX&cr0BLaK>y&QzDBUKkbELzkDQlLDB%Oj$w5id~#e zcWrxXjaIXksn0EZX(?{4)oL{XXc8Ok?gDXdwH6bDFp1x~4uos85@!Zl`_r_c2MwEZ z0}9vP`#S}X^A@}KjP@8H$3P*+0O=rqjC4H*a8zISG$4x5U5tiw4`hV|z|)u3OaZUU z-HLIbD6PHLlK>FK`X}oEQR7_4p-|=^o*2t{XJDr3esc;QSRjP1r@AQoN5yGZNQ~R_ zdf|Vt>g_QsGw0<@_gDM<`0?<}kg+i7wcQ-5=KzTM_V~Ao%jR-O2SGR1h(iVOc{)Nb z1MujC2ETd$FilDtnUs=rxT?g%001Zz4Dd^^s$l)t12=$)-a(+54C_H)w~9a$9lG6x z1?_hG?wH_WVh`Y|*1M;!L@wP;mo(%T*up+OZf{(320$_B?2mIWj!@`ocwjGGSA&my zFiI literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sharpedo/icon_gba.png b/graphics/pokemon/sharpedo/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d8dbc26b2a309fcf9ee279b09e9cbee51d8d1250 GIT binary patch literal 373 zcmV-*0gC>KP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H^GQTOR5*?0lCf>WFc3vG0l9+*P~#>Gcmx5OB2&b{zs72Ljkp?- z0D;`lX$+hyng$G!N5caI`5hm=z~kw4-JgpI4Uk`bwrBw<5Ib=SoP$tOAi=G553y;(*gO`K~{6%qefl3Hr6& zR|}pt_P-LFvz;0s3gm5xS75fJ8+?JU^)Oy&s=qNJsBOqjO4g&QT=So!ul00000NkvXXu0mjf!rY@! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sharpedo/normal_gba.pal b/graphics/pokemon/sharpedo/normal_gba.pal new file mode 100644 index 0000000000..3db40a6016 --- /dev/null +++ b/graphics/pokemon/sharpedo/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 255 156 +57 65 74 +65 98 123 +65 139 148 +148 189 189 +213 123 131 +222 189 65 +255 222 98 +172 156 180 +222 205 246 +238 230 255 +156 74 90 +238 49 24 +255 255 255 +0 0 0 +106 57 74 diff --git a/graphics/pokemon/sharpedo/shiny_gba.pal b/graphics/pokemon/sharpedo/shiny_gba.pal new file mode 100644 index 0000000000..11b98e3bd6 --- /dev/null +++ b/graphics/pokemon/sharpedo/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 255 156 +98 0 82 +131 0 115 +164 16 148 +197 49 180 +213 123 131 +222 189 65 +255 222 98 +172 156 180 +222 205 246 +238 230 255 +156 74 90 +238 49 24 +255 255 255 +0 0 0 +106 57 74 diff --git a/graphics/pokemon/shedinja/anim_front_gba.png b/graphics/pokemon/shedinja/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e21ca56ce2112fffb7d014a1c4af28f6c46ee567 GIT binary patch literal 1073 zcmV-11kU@3P)BIi!Ozi*qSbN+|#U000000001US}FGCV*mgD-rnB5y}f&Tdk_#1oVc zG8x_=E&Q9(S_3D8hPB+(-6_yL4B$QX{}8LzkV$z*Nv(M#oh9f}A7G2{_q*@jQGmaX zvB&lO*Uilp{krOt2Ycz}rf>g058WPv>uUE;so&!MpK?64DN;QEvQ4<1u@Gc18;CV_m0I>%$Z>5iba+NiQ%n6_w z!fhr-5Cgb|&f?UYAYu@MizBDLhH*^?G=K@rQ+gL|fQeBJ1hU8o%eeVf(3jz3O%zK4 zoRgN$)-@2!i_?q_>L7+lXNY-GaFNo>a@)klM@jmY^QC?h$1Nb^ygwLjK zmB*5X7iE}YrOfSHl-)WTu7AfUTHj*(iU;DwPf_$s+7Gb1D3V+RJtJs~ z=rz*Y><8H9XFTPzex0!|_@eKU2M^pns5AC0{c%06|7_{lAN03_L+JMsgM;wR`Y`CR z_!sD@4^04{wSeoxlP(}n+POM7)QY-*bO0p$vHQ^E%Vy%$>-tbYDyB1W%*;gDH4({oQbY}!7hCg^kO=txuQexg|S>8XzHAJppp=GY;ErlNXrl$AQW zn+7ZfN1VitSfx^~2=GCP#_<-|=t~}yB7Lc70?J<_SYua8m@I5Rkg5)MGkGl+Vh2YQ zoDv+a0rQfgq|C3Q7c|t4Zc7nB6@{nvNJlegMriPung>k^Zc11H!VFH=tAQ9)TDJtM zLJhzoU{rUU3z^n60-8r?K<}Kz$y^c=8alIP$+-sd4a_P2W!Q@DeBWWfEl#=MdFy{Z z-**@}KjY%ABXlgG`vv;*GYoYHXaV~U6UZEpD#oTGmWFG@kkWl&<961W-b2hJ<-Z`} zZrK@Z!!5jxUh&!Ou{`V289OS&zo}#7w?SVxFYIs~Wc*jVqi5|b5)5tXQh9H-9?4A- rV9{r=XMV#60mhy#AJ!k&|9E``0i90h<`rB600000NkvXXu0mjf-=_QG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shedinja/back_gba.png b/graphics/pokemon/shedinja/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bb3a5be7db4206ae9d3903d889ddc0fd55a94415 GIT binary patch literal 763 zcmVBIi!Ozi*qSbN+|#U000000001US}FGCV*mgD-rnB5y}f&Tdk_#1oVClh1D2KoG`P3O@9}VO*SpZ(iWgoYF3-)Sd#dBbAel zStM>z6Z?e+5+hu2veYPXuCCl{0KFdmnOiy&_o&frr{b~dGzP`pombWePeE)j6&ow|d&$Z{K zMFY@|ak$m%uO4T9Um*w0Jxi4()a}W|;n=w)U0omP7jVrC9}oC7?lEC2^;}EEZw+|M zrb9eThc1AZDy4o@z-QGbvjF@t52fTh00_`P{j7j1rM{!d7_3QXE0fPn@N9H=_DkJB zHcf>A02T+}(s2d=wq5H5VB64tkHnmF{Pe~EX|L893(+72Fo~F<&c_ZwLnp$9x=aMP ziQSHNa7PYQUOXYdIR$WnN{^$;!9NCqLhr>`GjecF446?6mjpbK#nA7#Sk-H}uJmaO za8CgBc(-z=Hty1|S8exPIRS`^a`<3^Dd{mv;G$eZ6(NpIvq*VxxKPy^tU`|*3JGv{ zEJIaWxQy!z=wRDJS&u3u)IbzfV?vrXHeo>BVzF2dV4_2>y-153sDqcF#nGw)@Z^}r zTr9pKFpzVAhbAB;n-@<}7$ET&ElzgbfpV3=@6p2vKc47CiV)|(XIOI%RtvyEyc@70 zoM9O`8V43wVF2?d4}oN63BLsxp$K5PTyvQun@91`0$3<+q!216avd#o$c^1*I$dz2C7wBIhz0g002ovPDHLkV1i(BO??0W literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shedinja/icon_gba.png b/graphics/pokemon/shedinja/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9f400e33804b1d5502b1579120d47df42e23b816 GIT binary patch literal 298 zcmV+_0oDGAP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hs7XXYR5*?0k}(RyFbqX?0{i@eARVO8&IaLJ!K=YIT@AsihorGR zc5C}LJ^mN^Ab>BIPP3Kg1eOUv;W20*+6KLXR#4Q6JAo-q*8A?Z6Qq3+@r7hPK$HfM z5%~a{6H#Q+Gh&W5S9+={r~^~07*qoM6N<$f+&!H(*OVf literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shedinja/normal_gba.pal b/graphics/pokemon/shedinja/normal_gba.pal new file mode 100644 index 0000000000..1e1eefe6b7 --- /dev/null +++ b/graphics/pokemon/shedinja/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +213 197 65 +180 164 57 +164 131 49 +139 115 41 +82 74 41 +0 0 0 +0 0 0 +0 0 0 +115 90 41 +246 230 98 +255 255 255 +222 222 222 +189 189 189 +123 123 123 +16 16 16 diff --git a/graphics/pokemon/shedinja/shiny_gba.pal b/graphics/pokemon/shedinja/shiny_gba.pal new file mode 100644 index 0000000000..7e7ae66bd1 --- /dev/null +++ b/graphics/pokemon/shedinja/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 230 189 +246 197 156 +213 164 123 +180 131 90 +139 106 74 +0 0 0 +255 0 255 +255 0 255 +123 82 57 +255 246 230 +255 255 255 +238 222 238 +213 180 197 +131 106 131 +16 16 16 diff --git a/graphics/pokemon/shelgon/anim_front_gba.png b/graphics/pokemon/shelgon/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..062ccf3a196337cbcf9d38d4a79f43a32519e987 GIT binary patch literal 1028 zcmV+f1pE7mP)fm?WN0W&|AT7D(EdAt{1@&LP7>Ie zicSadDxJU~TXYY+bjc7X-8!^%bz->Iba6t9`tBq-(VgT>r4;-|y^r26*?hl)!8ZO* zQ2In3_;BOv03szDUS|MB!ut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a5abe063e1 --- /dev/null +++ b/graphics/pokemon/shelgon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 246 148 +74 65 57 +98 90 74 +123 123 98 +0 0 0 +106 57 57 +189 90 32 +246 115 74 +82 82 115 +148 139 180 +205 205 205 +238 238 205 +246 246 0 +197 197 0 +180 180 189 +24 24 24 diff --git a/graphics/pokemon/shelgon/shiny_gba.pal b/graphics/pokemon/shelgon/shiny_gba.pal new file mode 100644 index 0000000000..3d1e1a361e --- /dev/null +++ b/graphics/pokemon/shelgon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 246 148 +57 49 41 +82 74 57 +106 106 82 +0 0 0 +106 57 57 +172 32 0 +246 82 32 +0 115 65 +74 148 57 +189 205 180 +222 238 205 +246 246 0 +197 197 0 +156 180 164 +24 24 24 diff --git a/graphics/pokemon/shellder/anim_front_gba.png b/graphics/pokemon/shellder/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..99cbf9875f204b840550e8c1dbf43818b0c4086f GIT binary patch literal 733 zcmV<30wVp1P)nEr@6a+C`Y{UjUvFHON?ommL0y;TE$LL@0^WBj$z%Po1y!yD806V{4kJbJ< zAg%y0;yfx$Z#}mXjF+?CI%pysazMO{1WHAOg0f}+Yxbp)fuJG4EE%hXEMy=;3vPym znih}}Gyz--A@zMAKqG|%3T2e05eO7!&D=hF#+6FVo4`()63=2j~^U&%qeIm?*j1i#xYkZ zEEcjpJkkj7bM7B;lrt*b(vrI*j_vXhfki0@bH71w}T)DG!mpFgd70NP>^)jrxbpZPig?JwW@ zo(7S~dkTLtTD%1GwH`8L$dDn=A&0ptQF%pgCuvTfYUR*MjG0Gv$<;-c21QYjGpZFY zN2enMMajr93ey3sDZyo}q6A4`{6Q@+(`hgSn!`P;78du^K4=h$2(x1)NnOI0VF?C! zQx+-(4Z&a#v+m<=VIotdpBzXd1C)723*u7?S9Jhkf@C2Wdc6KlDlr>Fc3vmSgnB+`vXIzO~D~sVZldh7$Vu~+r4qr z@*8$Ik`2;%s0bF@WC|9#M|bWF*>yklf2%+50F&MW#+?qZ2Z$YD`YzB*{CZ3RE}x1% zr5NBd;E)nhS%J&%kMtCZthE$)RUf4Aw&)mwM2+Ucc13P^z=mzPyy;; zmE;cv5VwqvK(B#;H6zdZu*eC(fDqya*zs2jm;y+7A0muT=Tr|$_LdE98RtLATw1^s zgALF)=SiHJT^5HsV8^@&RRP8bF%&tvIdg<1qH6$<6faptLu9g9qI2$2MPP@x4yoS4 zSae_Qi4vmn+g-be3+b*}RWIn7x-Fveb}j~0hwcalmDuju#Zz)^hwdook;?TVl#eI( z(19E@269mJJKdUja%SQ_s|Ly%Xx{Omq5h1 z2Egi7$2CGCs(!bVv@-(%RoT)hr_^lXIw0$G4-~@rOLtsSeOs^M)`0`?uQ^u0PyPG) Y3+%DSwv*S#u>b%707*qoM6N<$f)0NP1ONa4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shellder/icon_gba.png b/graphics/pokemon/shellder/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..36ad59dfa02c8a7a04e8b9fb2676a5ca2c695af4 GIT binary patch literal 295 zcmV+?0oeYDP)DV$!Utg&oQ+XA<381E#!3d~^MNLrkrU)(AF_qB z2LJ*3$ZTPfFM7d|tPxNUmlIh5mD_kIBx|Y7h)`tcaG$RZyqq3m_UJlu@v>UQ&i>Fp t{!d?=e#L$I=dw*-;V%8PXPf@#^#qRrtK18EXU6~l002ovPDHLkV1f=yf0zIO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shellder/normal_gba.pal b/graphics/pokemon/shellder/normal_gba.pal new file mode 100644 index 0000000000..a7c9165498 --- /dev/null +++ b/graphics/pokemon/shellder/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +213 213 238 +222 189 238 +180 139 189 +131 90 139 +90 57 98 +255 123 65 +205 74 32 +123 32 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/shellder/shiny_gba.pal b/graphics/pokemon/shellder/shiny_gba.pal new file mode 100644 index 0000000000..20f597524a --- /dev/null +++ b/graphics/pokemon/shellder/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +213 213 238 +255 180 65 +255 139 24 +213 98 0 +148 32 0 +255 131 123 +238 90 82 +139 24 16 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/shiftry/anim_front_gba.png b/graphics/pokemon/shiftry/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..70eb97348e40787b2f337d25de108b5cffdb1043 GIT binary patch literal 1150 zcmV-^1cCdBP)Z@-Ir;I40{$K<+wd`X`Fi0#WqQ*v zUhtt|oV-ofRtkn;JJdIf(r5fQAI<@#Hq;#o5={UGe599cyVQodQ>Fe2Y4d>d3%%|* zC9fBPmRq)sF@T9YaNgFU|!nxyd&PT!N%y0=%txAAaH#t8W z1;;wD-Dr}vUJtgQJ)iU4t6-*y91z>yz0NvK))!~3*&S3D+n$A|fd5@^s*PDr1F1Ry zv^xvX+q#W87{A+?1@0Ir0chT`@WB*tZl(Yj-@*ytJfiZI=`+Cm46_*MRS!}C>;PLl zVvN#F)y4tc*LGNSdOeE1kpliZvqJ5PtG8f$q*a7H`LO@T`KFD{cY58Z&>u+$ds6-U zeBH-*V-C1S2=-);Pu5`^(k|#eRjG+U;(qKwgb8VBeZ{?M&2#&Fb%+~ZcQSD(D++00ppUX*K@SnnXsn-)G^G6 z@dsiSbfEMDV^2*~v#=EdGhXL|Ab3IAjP;@7$$FDWudi(gekOZi_{$^)uvf=Wbm3bo zsfSP>gdqSHf!hrvu@+oztRIG)4_@uPe9QVxc%2v*>lh&y;YJMn4nOlDh@8BcScFK4 zB5J_2Fi_HDAjHWl5}rI%07#ff3c#BF^78y_@6F)h2#yiyAXGaP(o$5LnlRwIe8_i4 z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 HcmV?d00001 diff --git a/graphics/pokemon/shroomish/normal_gba.pal b/graphics/pokemon/shroomish/normal_gba.pal new file mode 100644 index 0000000000..97f25bdf66 --- /dev/null +++ b/graphics/pokemon/shroomish/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 148 139 +98 74 49 +148 106 49 +213 164 90 +238 197 139 +255 230 172 +255 255 213 +90 131 74 +123 172 106 +139 197 131 +164 213 148 +65 82 49 +172 197 131 +0 0 0 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/shroomish/shiny_gba.pal b/graphics/pokemon/shroomish/shiny_gba.pal new file mode 100644 index 0000000000..a0bd12821b --- /dev/null +++ b/graphics/pokemon/shroomish/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 148 139 +123 98 74 +172 123 65 +222 189 123 +246 213 164 +255 238 189 +255 255 230 +180 65 49 +222 98 49 +255 115 74 +255 189 106 +164 49 32 +255 172 98 +0 0 0 +0 0 0 +255 255 255 diff --git a/graphics/pokemon/shuckle/anim_front_gba.png b/graphics/pokemon/shuckle/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..74251deb0eae198a17b68753b0248c03240541f6 GIT binary patch literal 796 zcmV+%1LOROP)qh00001 zbW%=J06^y0W&i*Jnn^@KR9J=WmO*P8K@@-$y?M!_MidVrJ+-GcD1n|DapE^s-we7=TQ<$wdN5nnR}wAK@R&jW}b+(6CKImEiVN6kYX*hRz>tRJ!fRdA0o zMcE^i%rtfYq?GU6K%yizc_2}y3QP+c1_8`kQ*8bLu(1L-{O5gzDx66*|*0-)QUyZ%$<3J=iXze+*Myu&Evw4i%`Xt^Bb z!5_#EtO7CfhpfXu9{d4>6b`|d`Geg+X8w?^I0fS`{o&&2`va`-heRjt4;CQq56eKN z7xM?pO6BJO`Ge(yiTvSn1gQLShiD>U(AVa()E3dI4q8Y@rQLh a_4p0%(7E_IVhAe$0000qh00001 zbW%=J06^y0W&i*IVM#Kl(9;~Kpe&|#4U>#RFoD*CNYheKb%Y{EhF0J%pnLLR_C9SWtx^?%Vi#QyIlap|{yKfdq#A0&kA^gjx(#f#Bb zO05jUp3++3z*Pe*&d`83)&RT30CxdWZ1jKugBZlv=n?A}Fi2n^1aR3#HUO*m0kDy- zC4e~J{yE}rfE&yw&b{`deH4IqfC4;#kRuHYEr6+^sW1X?Mq~z}$PBm|FpVUK0GQ4s z7dAkTxU-Hh0ZoT-rDGj&X&KSehf zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H%t=H+R5*>*lCchhAP_+L0{DIy+L;^VM-+bmqAQKLxJooM7C|AM zx-{N$+~e*Tc!b<5SeQ%TL6r>(plD&BDj=Ym2}=bC^Uo3l9?H7s>yX%3L0oE~ gJRWGa469tm8*qulQDVqLYybcN07*qoM6N<$f&^@iKL7v# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shuckle/normal_gba.pal b/graphics/pokemon/shuckle/normal_gba.pal new file mode 100644 index 0000000000..ea40c0be49 --- /dev/null +++ b/graphics/pokemon/shuckle/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +148 131 115 +115 82 16 +189 139 41 +238 197 74 +255 255 90 +255 0 255 +230 156 131 +246 205 180 +255 0 255 +131 32 0 +197 57 16 +246 115 57 +255 180 123 +255 255 255 diff --git a/graphics/pokemon/shuckle/shiny_gba.pal b/graphics/pokemon/shuckle/shiny_gba.pal new file mode 100644 index 0000000000..30126f57c4 --- /dev/null +++ b/graphics/pokemon/shuckle/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +148 131 115 +115 82 16 +189 139 41 +238 197 74 +255 255 90 +255 0 255 +164 189 189 +189 213 213 +255 0 255 +24 65 115 +49 98 189 +65 156 238 +139 205 246 +255 255 255 diff --git a/graphics/pokemon/shuppet/anim_front_gba.png b/graphics/pokemon/shuppet/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..00629578f4e6372d516d1e616ec50e4734cf0258 GIT binary patch literal 543 zcmV+)0^t3LP)JNR9J=WmOW0xKoEt!g?lzX1)>1YiaOG6a)8Kt0BoEZaSCcW zYDx}}B1hm<;RI%8*O4e@#svjJ+9##*=Qp!EW4%;W(I4nx=6SuJ1LEBra5V#j=9hp8 z-dd{z4S+a^M&F~k_R8Q8EDwlQ8D zcp#v|)B_8c++k!EXzAONz8tc^Gdf|bvv4OiYWO2@ hR>QxlO86J)`Uan;oMqE&2}b|`002ovPDHLkV1g)6>)HSS literal 0 HcmV?d00001 diff --git a/graphics/pokemon/shuppet/back_gba.png b/graphics/pokemon/shuppet/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2c6dbdb186c0d8030ea49d9f57fe0f7b59e96f5d GIT binary patch literal 485 zcmV4lfP2LAP~kwky`g6bEOk9)Q)g(kUW5ZTi^H;zP62Z z1d=FWF^prSTco(}$G3m4Y5s4tHNZX9fZIw2T?14FaK8mwEvmqAo2~-1S_yfiI}h~V zs)&FG06tICs5RO$(Bc##7(hv9cTx8iLiD9UbkhbXQ7VF6RzPcSQJ7`70OL4DfLe6g z6Bi$g1F>K_M0_7=pcZVREJ%oE`JMgb-g;J%=TX$LK2x>5tSY-0iD zyoDB^TPNsW&og=5ZI>7NVAE)63HaU00000NkvXXu0mjfWi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hkx4{BR5*?8lCcd!F$_dAK`bwjKMR8}G(E+)M9Y1$K#YNcixCCo zm$=SP=j1G1DSMY^&~F*IuRKd%bejyOP}-8FA+pHf6Erjirq?t0)p0qVz)@rXKK<+N z8(TyH46^hH66g)g9)PZ?7D1-#>a_48Yx(QD_SGOxD@$rn&keE&(zp;6sX@=eOxOKV Zm^%z_a{A5F(Cq*K002ovPDHLkV1m#tXSkgohmTDLVu=wsBFfu%v?W!WOZ z+pb*Jt&66yZ_r2Zt?a^fN$+4{J78eZbW=GKX2JR9-Wed|Fjnbb%DFB9^ys%hc@O8i z#A#HI`lQp{>QQs7Rp+uV$(L%aqH(=zCefBJ|s)4?bTxAIvyF)m=B z0R3iS+CdaPzV%W7z!=bJ9`)(R3k|4YPsRG0n_8s3kiPQz3>Tp*y9 zkSfd%sS5G~qJ>5Ifrek09|%~y6y*nS%y0t*`2jBcusA;etc&wQswzJmRpp0Df2c2P WTr7!m=MF0X0000Kkuh(=Fc5`Z@&}rQuE;~OrdW!94_JB`qsGG5nWg+( zSUT7CImQSH=At~wx%l3f=aVDEqD8Nu>M3BK0PW_nzoL79rV^O$e9@L4wKLF_sj+F4 z*LH?0Du|Y(Q0f$v(;9O#m}UF4rRgX`>jUp4VD&cxL=*WqQM+9^Wu=KC@e=`(HQ}7B zIEnYO0zlG@^A*@G44gE?r}L{x0YU~M2e{0A<>Nh}a=c^I`nU6y08~!5Tr^=61rfRj z2EfGu*N7D&p*cJhX8>ICO|KijO#o?2V2z)(VrIRM4KoY_(3`mFJ>YYr|Aqv>x#08( q!0)c^7(fEp$-t%jTZDV$fw!!8p^#h_Rib{u+-f?rL)S*x6Db5Ut-ue{8SkSUVC>hP&aspac3}gX% zs0?cdh|-fAumNo`ydN&sz^UBY;dq6OF?IL|U<~B<>%N74f|e+E)wBSB;bW4nipbUD zs#~n%-8%kK;}!?r;EIE&!Hh%ULvSd3%wNSpN=CuKt+953L;i9d1qUrPJf7Q4f8awO bH}p|2tQ}{NlQyZ300000NkvXXu0mjf-bj)4 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/silcoon/normal_gba.pal b/graphics/pokemon/silcoon/normal_gba.pal new file mode 100644 index 0000000000..2a48849f83 --- /dev/null +++ b/graphics/pokemon/silcoon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 197 +106 106 115 +139 139 148 +172 172 180 +0 0 0 +189 189 205 +222 213 230 +238 238 230 +255 255 255 +16 16 24 +246 164 0 +197 123 0 +0 0 0 +246 255 197 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/silcoon/shiny_gba.pal b/graphics/pokemon/silcoon/shiny_gba.pal new file mode 100644 index 0000000000..db9e98b7ac --- /dev/null +++ b/graphics/pokemon/silcoon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 246 197 +164 106 24 +205 148 65 +230 164 90 +0 0 0 +255 189 90 +255 222 148 +255 246 197 +255 255 255 +16 16 24 +90 131 189 +65 90 139 +0 0 0 +246 255 197 +0 0 0 +24 24 24 diff --git a/graphics/pokemon/skarmory/anim_front_gba.png b/graphics/pokemon/skarmory/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b0883329cea40da92e94500d6d678925a3624cd9 GIT binary patch literal 1559 zcmV+y2I%>TP)|Y9A~a4#07oEQLZCt>6)ae3=3U1*c3FaXe)yk`mLL7?;R@=7e`x(=36nzHU68 zMsY!CrUboA){RJfm&QZ9f(#XdhfrY$tYjX>pDJmd#?ylKRHK-{xzO<2avnyXHYsc* zfZzmX4+y@lvxMWxj&YKt$%@+kcnB_Ya-PgN4oSQ)=HYFb6x63)FH;FA7l4CF&e&L( zM>8PgvLJKFEJubqi z2E$@W$%x_RCS{86EJ^o{6nYk-sI(V^A>Yh*(8gE*MlA zOit5_En%60W22|>bFhNP;}BLn9oB601I!6d!T3t~^6CWGML21&Ac5h4z?*knBaF5L zJ5$I7;BM9=7@R<}0f*hX1@w)u5O9Jcp5GIYhuJ1$PH?^4b?X*^0PhpEu_*|dda*Bn zl=lGjum(XK52+XX0!TTN1hCf7#JeU796Po>=LhZ8v%7ee6oMos_PvP)bg~u<1tHK>lzHJZycq8&xURxgfiQn7}6GT|MdShki%WJbqcq32I72v4z?B0v-Oq7Ukx-ffoS(>$FRBqrxQ`dJyNU^I zYeGbT%O09im7we7au=Z#cv?+E+ZyldTmbN|J2?5MZZlIfXx$vI9*O&#k3J#Nr2@gq zq>iK0@Wy}1y^l5CS!bwDh$;kpo`kc#O5X1XYmCczv|s7d_?L}KRSKX}-jenRMkXtE zzKFi2kFqgt*8>p51>4c}az1+$g@}`vQYIfC6JOrIzNVG8vXIc+H-wY$CQZg00+jLR zN8a6Ml}g-)zot9FyyVkCZL?3JIQ>l$a#GF!zu9~D9^#Z0l3*pXMNM8x#GkZ+Uv4U~ z7LY}mq<1yK@^MXoz}U0F$AglOKxs{2rU8Ksh)KbMm>zhUb^}H-f~_dJ1Y1s0u0TLc z2Y0&xLxr|&(VnhZ1uJ2^xD6v1H;22{$WPo4rjNyd!A}cIYu#NPX~eWD0|xBLle_EQ z>Il2gs&LRUV5oAmSidz}28=bA29rMZ4-Oa|z)k3w&i6DwIAFjp7c%+lgZJcs!hr#! z1M$tzzfriC8ZdBs2suBDTeIBE59*=jFPEGjROkQs;or;;e*==vJpcZ>Lrwqy002ov JPDHLkV1kys-MIh& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skarmory/back_gba.png b/graphics/pokemon/skarmory/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f3c8d95ccbcb8b6e3d76e898320d073aaa2c0ca4 GIT binary patch literal 577 zcmV-H0>1r;P)Y zD4j3YIP*C291%c8;^5LpvcC+WnL4rD=YZVvq1Z%S%-z) z_B_z(#0c*yQ@Z5=?0F!Uh6iXfK4*YxU;)I6-Mw6DHwW+;dIhg+1_D~n0(S!e!-6h; zqMPAa2sO0m8X=16_>j+*Limi1)?Z5bjKBMppbu#?{rgbRmg@EgU^l{l2v{oV%U}O{ zB9mPZsDWM>s<0mS+h?~?ppQ??Wxwi_03f1s7>VPf0AhSbFs$+Qf@h-h$#q?$6#g0U z@`1QaHQ$6^hq^BcFAxKaHwn860x*_AAo_==3?k5VLBK!|fNPnX$KTgCH0!q|6U>*7 P00000NkvXXu0mjf$w~;L literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skarmory/icon_gba.png b/graphics/pokemon/skarmory/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..1eb3106540639f12bcb2fa319c32405fb6930eb9 GIT binary patch literal 418 zcmV;T0bTxyP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IAW1|)R5*>@k}+9uMsNht#UQw?JdMe z)>2Kzn813s*&;<0OCb5_f8!BPslUADr@gi>fNMY&xvCLbV*k*%A++ozqDz%p!)@{s zxqs~q0LnlQ+d&$8g2iUQ%o{MvAYj&n*yocFco^kSLIYbus1UL}aB?{T@?1wGNY3-m zXe;5ut|ZFkS_H$+okNA*bTP*B{!Qq@RE->?=_(MyQ=;jbI-z1?>WCoqAJ_W^={+h2 zmEXSWkPX`WxnD~n8kaDG#F^1Ms9n>Roq7Am{pjDLc&`9;9Elh+UwfXht`{9e6hec@JsIT9C zJUzDhGaR(7{bO8&6xd+0AcVYK=h%WWcIy+MoMp2 zUgGB_a2*9L9iiYTAaof;<_LKfRA5C+yAe)e@Ikb!Q&^p!v2Ve8a1(qFwnc}EMV{2S z>KcSKI>z4CYaZCr5k}Nz7uwPZLd4o1r$pzUhQ#L&7%<@f#SjlhFU5m|eYhMCZpgK` zI>v)7{^9x!tYeBk9-!v|^%$uo0Ce#{*Z|;pcZ#+QbPAoLIP2nn5v-$8ZkrrIy?jt% zBIxr&2R}fd9q~RtK*g;2`L>XnQ-0tf_eY%a1FQETa~?nE2QEUkl|JVO#{ETFB!A?G zpm8Oliw7b`NHgx@!F3fQklf`97jc5#SoSMy|2;oM-M_{2yMz#KU@xqs+$E539S_p7 zy5g4tK+5adv@Epf9`(+O<#B?8xqX2!;Pv7+x|&P{1M4k&00000NkvXXu0mjfWn)Z# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skiploom/back_gba.png b/graphics/pokemon/skiploom/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8f010fb4f2e54aafaad70b8979ec704681314b72 GIT binary patch literal 575 zcmV-F0>J%=P)Kk}+=MFc3xAsBxDo(8vWW=>!_q8(3nKM#rGKEj>!J zt*Ityf=JWkM2kf(5CoB%O~W19yDM9sAa#IDBLV--pU)wc`l?S_3;ICskqM%^_kiBH z=8h0=-XVw_i^$c<`lg}QcYcc`Mp+>DQ%6I`LnNZd27MR8+ptCSLW;g68tCcb*T7$Y zdkzfLU`NkCpWn84GYG(9nO;as;xnx@&c=aBbx$n9LO^pb(pToc_}VA#%eo$kw6 zYXRcl36bb%u!<%b#Qr(4jt2Q*%2f6kSf<%puTFv0)dZ~AdOdg0-=+)zVD#jW$9}z> z098j|IXP6^ud^dSh489vIpyP%0vrQMjhFiJKVbq7h0_ZeIb{Bi02?ZpUC3C*T^xuE zOdaMIHkNzkU;t37c_n!fmA|?Kl>1Uc z&e&y8i4)j%A7U(^Ho}`sqOFY%{3GZL7@lh_$1p+w6}6Wm@~b{&{Q=3y=8KG#d_n*K N002ovPDHLkV1hrE3W@*# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skiploom/icon_gba.png b/graphics/pokemon/skiploom/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..90c0c8e7c31686fb3b068b187c927f2a47b7fb70 GIT binary patch literal 375 zcmV--0f_#IP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H^+`lQR5*?8l09z2Fbsu#0{KW;lCECDj`C7JAWL(b0G%`o9kQ#J z$q;)a0^|p%J+SgnQSwlrYf*0e!1rK7Use6NsYNd39(+M2FA`i4xUTY0{V`v>DR@lB z;75(rXy#H;u*ZwY=AK0WqUSaP2jB^$;D#MGAT1fzKnqGG<`wIXdP}EozD$JRh(FLa+ z=7v_}-YkXb+60Cu43L3y6eb#!fI$?-lI@c)JPX5|go%29XJhnd3~!gh@Isj1%okl5 Vl}VCz^g;jt002ovPDHLkV1fX*s0{!B literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skiploom/normal_gba.pal b/graphics/pokemon/skiploom/normal_gba.pal new file mode 100644 index 0000000000..15fcce8e5e --- /dev/null +++ b/graphics/pokemon/skiploom/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +139 238 57 +98 205 57 +65 172 32 +24 98 0 +255 0 255 +255 238 115 +255 213 0 +246 164 0 +172 90 0 +255 0 255 +255 0 255 +213 213 213 +164 164 164 +16 16 16 diff --git a/graphics/pokemon/skiploom/shiny_gba.pal b/graphics/pokemon/skiploom/shiny_gba.pal new file mode 100644 index 0000000000..2dedaa30ec --- /dev/null +++ b/graphics/pokemon/skiploom/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 148 213 +222 106 189 +172 90 148 +98 49 82 +255 0 255 +255 238 115 +255 213 0 +238 156 16 +156 90 16 +255 0 255 +255 0 255 +213 213 213 +164 164 164 +16 16 16 diff --git a/graphics/pokemon/skitty/anim_front_gba.png b/graphics/pokemon/skitty/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6bd564a90b3b4b669bcad9787efdf38a752aa556 GIT binary patch literal 1035 zcmV+m1oZofP)g0Q&747lYC!-100000|INL{YP5R*Y5)KL|E!e%gKEW6IfE%Npl<)o00001 zbW%=J06^y0W&i*KiAh93R9J=WmO)P%K@`U)(Vi&GcNplY(HNH-kr<_?rq#5)^$YER z==Y$pAu1O)tyd1Snv@=zvTq@9F$l}1UPy(dZ)O46*;zd{CcKz9nfIIjo7o-q{|H&d z^Nak}6Y0I({O;0(muW`;OmFQkPmXVVMS+t1sQ)k-m{EX|gLQv&{4hB>ik6_eKBeAb z6%9;iMR)1@Qwq-2G|cz8-Lj%U%JRu2INXyv^I>qLs}Y#f`EV5bl8Ttz94}DS zFl3~Fx5HZKi<&$k;DnnPb9<--(0SWZfWsFpfX>^J0Q3@oN@&ftThRmGLu(e!tpAP$ zGi!D$Nq}@-RB)rf+Wu@HotF#e^_t7+_1qkAX3h-m60n|IC{UPN^YZ6-_U8&(YwnkMcn{FKL+6bG znL4&WvWT>15m9GNm&=^D=743Ls@^RX!kJ*3O{X7J?@n`60J+Vei^nw3yCZ;TqC}H~ zks2DspL+ z@>F|}s%=Q%vGyQ;j_pA*kjfUw$Aa}}|A0Vh)jvGf_y^TMh|zYxg0Q&747lYC!-100000|INL{YP5R*Y5)KL|E!e%gKEW6IfE%Npl<)o00001 zbW%=J06^y0W&i*JBS}O-R7i>Klf91HFbu~vWGgDYL-GdAZMOs$ujz9csM}}BV+1Ij z49RdnL_6aRcI&Y~{85sU73BlCp&gG1Acg$tPg0_l`mq0Q=JX!$L*E`akNaf7j_+?* z8fI(0`R!!-#16Otc7FtzBmztl4clwrH7$94nJp&sCtAJ&Y-6B>?a(-YYj~NhDuCaY z^F06}ODyLLWq4WD7N8m9MCW*1yBZjnB&I`~7fpx*mi~|XHOe45QO?hRm*bFQ0$@0v zTDBnTaQ`AIpiYyEywznnlADOGpMy?mACg2S>hOFGs7B)Y@MStn@DZRs39y__r?V9S%RAu1{?+~hF!WYi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H@kvBMR5*?0lD!UsFc5(I1oT0C4Ow*VA_+W~4l)A?>|6q`f(cz1 zDoY12;f$q!xanr>&|be@n_TZBI7GYutZPlD$VgRTk9BoEXy_QF7o}d?jBSEZf z#ucDl0A>r001ZGkcLqcNC1h!CfDG#*&d##~oG~_~LrHv4je$uZ^u*#YM^_4wj7Qbo zE0c2843!6hQVhB9f1=+X%Gd||b`YHp0>U?Yh5l?%7pniJ677-lK%%tGR>DxUcUEDv zM+#_RY-fxx?$O;U%wmBS#_6Di+4?a#ql_@F+gcc}tZ#+sd=Q9!vnL<<@dSf`p8Ivo R9!vlL002ovPDHLkV1fqEovHu; literal 0 HcmV?d00001 diff --git a/graphics/pokemon/skitty/normal_gba.pal b/graphics/pokemon/skitty/normal_gba.pal new file mode 100644 index 0000000000..0a12281918 --- /dev/null +++ b/graphics/pokemon/skitty/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +255 246 148 +255 205 98 +205 156 65 +131 106 65 +0 0 0 +0 0 0 +255 205 189 +197 106 180 +123 0 106 +0 0 0 +255 172 148 +255 131 106 +197 82 57 +131 41 49 diff --git a/graphics/pokemon/skitty/shiny_gba.pal b/graphics/pokemon/skitty/shiny_gba.pal new file mode 100644 index 0000000000..d3e9130f3a --- /dev/null +++ b/graphics/pokemon/skitty/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +255 246 164 +255 222 115 +213 164 65 +131 106 65 +0 0 0 +0 0 0 +255 180 98 +255 106 74 +115 24 32 +0 0 0 +255 123 82 +238 82 49 +189 65 32 +164 49 32 diff --git a/graphics/pokemon/slaking/anim_front_gba.png b/graphics/pokemon/slaking/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a57d3c092eb3dbc9520140c2f1e83a4b660d7e3e GIT binary patch literal 1335 zcmV-71<3k|P)4os zlCzQzp@)L!Wbgc#H}3<@FA}+p{~#9V`*ZWrR8d-<`m%p5uP8ZTl2~j{0i2>JGMyxh zDIkXVqD+0l?Pdyy7Fhu~hXnqYl)s>nMROA1@_EcNfG$U4Jf!u^6cCk*7#<*`KPIrT z2XS*^7YlMepJx>^l& zsnc%v=h|M?uFt#jroSeC;^TnnR5cqw~~n zK&mwgdQv1<;kfag!(s>pVp;qC7Wj2NeZK*ix1a3%O181o!tgc12i2pz%wW5ohaQm~H5Jz^0}*^acU0g#g~eOYEVtWg_r7 zduq79fv)MALdqRmtljCJcF&z*HEx;%p84#sN z^f4{ML)$)vo#zM)5x_jpdRU??Mj8dM@P(9Wn34jFV zA!dWyd55b`Q8k`t2G+U&fmsuMA+~8 z^1So{_2%xZz`25RmCVWG@J3={ktu(OdU`Oq$YQ7-Oq7_R2X2YC{b526gfM@Y)B{RF z{2>gS-x6WlvSPS^gl)BN2zU2($bFV+cbKAGT)rgY3?K3iZw`e_)FY*;t(A4|t8< zSe)q(-b}OR_(MO?gL(eo>cL!pV0tj$A2K)jgE7Y+m>$$SH~2%#zQG^r%{l(y>Vfty t{^04sJNW~5lRrqxP5wZXTYvbU$3L3IDt}CgEzbY|002ovPDHLkV1hsoi!lHI literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slaking/back_gba.png b/graphics/pokemon/slaking/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..50d55a957d0eb1b756af2e3495d140ebd2dcb498 GIT binary patch literal 788 zcmV+v1MB>WP)K)4y-iKokdXcPdkqvvKKwD)~Z4S%RFGADxg&Jr^bI zwHs1Fxw&dVwx`f!@Ofcqhx#V|1$O=f_#@IXuraWdPUi0XvreG{Yu}K;@00I6pPn`C zzW%G0@9Kw#cl7zcfq(rs;JU61;5=IFAtZh#aU5vc1J2JE`g(WEs%y)!6h7x47W<9^ zmWqfE1*nd&1dae55%DRGul&Um3<0*lZflw+0FM^lp#j}302|LWIY9JoRIi=@q7R_Y zHJ7_SKO+?(Kv#kGa?C}Y5qfZYLVKbBe@bb+0%RTAt@t_v!$mMSwbKCJqvO#nfLoI! zfS;0=&G{{$#nU?7C2y)=fCpiafoYRaTmjD_m-%TwlHhfDh$A>|@o2+K`)o?c-VNX% zonwzNKMYl00@5ynA7Vv37O+SZV+vSnUrON8<7~!)Fl0&1M(88@_PGRF^07!r0Yk6i zhmXIOfSf>pyiT6~GB*oQ6We?fFoc?;67U$SfGH-VxXYzh^3*E3lRRS}lzm3vjYRS6S5C|E*`2UHb`c;N?@AD|90an?s#!rv1zIAe~Ht z8ST>{i<*Qu_3V-?aEtM0bZ1Nudm=uy^z}QNl$D8 zrS^6itmnWOlN}L3^DpBk98ij~F^K$37@s{R0A;*3^0 SC0N4%0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IGf6~2R5*>*(y?m8Fc1b{KS4~}2M9C|U>Z#sf*-5Tk?|0V-JNah1{m!Cvmbq&%4U<`$4(yEP-5kdI;c`>c!?}ClV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Q-J|2&s5KV&+D|Ng!;4HWuvBP9?hicI=L=49pgEc@FkNoU9)M3$5{hwcbz5$*s Vvc_y7?Ir*K002ovPDHLkV1o3Q0-pc? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slakoth/icon_gba.png b/graphics/pokemon/slakoth/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c04ff08a0a7912051aebce199cd6bf2ba4131882 GIT binary patch literal 319 zcmV-F0l@x=P)DV$zd@`!BDnZw!# zWeyu3nL}E9xWZxO!#FHHW)3SKg##}djKh?vf0;R`dYo#caL}PGj01fU#T)zRfoUCGEb2;WxDgV8c|BGtoQYn-m5D*X$>-yGm00001 zbW%=J06^y0W&i*MK}keGR9J=Wmb-7`Mi7V91c{1>P~{5(oB zN4g8rcvnTDxDr{(ZY*s@q`l^@Lmy~{<-)K4X8*mucig> zf}mF{u2EN(sc39|C@RVyOu1lMq%uOz)EZa_j;05XM{H3nf`DG+@_BfM9BT~`BR^%g zyQNa;7D7q3Ickw0~tV-0o+qpRdGuvvQd!4sZ*&`wxI^zD(b1K+Vu6L%$zc? z$BgmIA$;7{zN$hIW)h+R<3^= zn7Y@hwfMd6n<4`D5G%$mFA~*sL)S%w!n4Rj6va^yX2@tGUv_GD^I7B}3UUeYnXWhL ziJ-Ju{VWl9{6#PyQVT6GIBjx{U<`5V(QMP>r-&x^57Ik92TiT~&Aa{l`29FM#QS zc|rsl#j9xbPde9-;w~3}gSEh0j6KB1ArdIv6MJ`SYwJn1`Z+jo8AHM4dV_b`Xdi}x zQ~Rfl4VZaIfzp9}>IDw+jkW=wNjR{l_8Gqp1rCn_rNSkuM@Ls#rVGzTY;}F24UPFY+cF*O4 z036Kcy1`id+f#V=KCOfT-s;8J*NI8M#L%*d!WdT!T^@l=7$Iy|X%JJqN3Rkv~ieG5{n0Ra%k(7|On%ik1NwN^LJC z@K*stsiy?WS^^k#ad?~-NWl2DI2FgUI+LLES^|da4aad6GmH!&=u5zuK0dcE_>nnR zF&54WmIMs^K6XiZqo327Cm1dL(0SydhbRz@Ol1YigOtZ$>8Fiao;BV67H00YBvP5@)E1Q>3M z0|quFUO=bPfI+<$xZp*Qrl6E1zz_t2`OY!px0wPAx`+q_^Q9EmaUU=^fuOeD)|+vJ zdw}su0|LPW07G=@9$?Hkfp{qbSp^KRx+IV+zz7wRKr#TMfd~-#uL?A1GF&+CTA&?BfaDHKWLLgay@!NWuKr#ShH1tyh zk^vah8T*DLkPN^WjR7zc0$BwN4-<2q5XcH(z_TPokYuWJOMs#HKp^ZsfkeI{z);>u dApc*$_#5eug*;y}@R0xj002ovPDHLkV1kczlUo1) literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowbro/back_gba.png b/graphics/pokemon/slowbro/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b62c5fcf42c976575a2ce70e91f4ba7bda901558 GIT binary patch literal 737 zcmV<70v`Q|P)oUCGEb2;WxDgV8c|BGtoQYn-m5D*X$>-yGm00001 zbW%=J06^y0W&i*JUr9tkR7i>Kl)sYNFc8LRT@dQD%;X7pfNRnxlRvK@rAud-igb}H zQ$eWwAo8TU>f|F=WYSo055W1DNydhWLD`jLFqlb|boY&oiv4-_+m%G8^Q8Zz{QmFp z2XPBTH_!9V;u88yB1bgjpBevjh(4OekY|ecpt8+wWgFz-IwRqB^NC7z}EF z(tvN{7VvXmyY~v8v1k^qPfJ`6uH0@+N=n&=^SCEZ^zP*=yFp~+vzT)podLfb;1N26 zS#lok&jGODK?On>Lx5MOfH@G;ai<^z<`A@jxf$~i0pDiOa^7G>f=!leTo8(L0F%7h zM2Gl|5O}r9ARPI=ZxX~j3XT9=kFV%~Plk|yViOx)HUK=`_s|6|=)_uxxn>Oj@5eWo zQb@>fia@-HV2NEg%`gL+(9k3hfi4*bpzcDcy3wAGgw{BT&q3&bbfGd_(F7%CP<9e^ z1+}y(a1sS}$;>D>p>_!n$Q%HBO>LYBB$(mPIe-=5xB#HHCQEz-G6Z_Y!A!d_lyLx<$lQ^5(!bCjLR8j) Tv@cA_00000NkvXXu0mjf0{K#R literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowbro/icon_gba.png b/graphics/pokemon/slowbro/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bf7ee6a3298c6cee6a147442b8c803c24cfe3efc GIT binary patch literal 446 zcmV;v0YUzWP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IJV``BR5*>@k}*rfFcil-J2ZsD#RE$-x*X!x1B-CG6wC*d+ulL5 zH{fTfI37eBb&23JHhD=WcQ4Q(|GxJK@AoT;|8(&8d&_q=Afi@_px1+XS_H+H9zgkk zQN@+sH{fU3IEOXR-poN2g0n}y+WLTTsyLV3g%2!#$7jgy;Z8AT>(IhhAG_T>yjPpL z8s}iE5S`Mkz$x@N2LQ(bMa@IN4*p>Wn5?LH=+RmOpr~+)0p}b*SEyc^Y+Vmu3n{6uXB|8D3p0;^m7m1BDGs#YS6}hGS`(V6#fzl)k^)2EyyexGy-f^wbeC@l!TF}=@g}m3 zRbJylh&|3dvAK?RP}|_)8e4llHi>}^zZ>h^Z^oN|IOanS&;>B~tdsRSyL4{%QcX7N zft6{S(l55>M(QKz5(6t@n>s?+RZa3Z(-CmFE(6*-rG>Vzoud*!ZQm5PzTC2%5gBmv z>Q3dhYdd+#iMjEu__I=BU(0}lH!2XfnM*XZOXYyeO!E|T-MqlJaDbT^0*IS`nn!^L z<6 z`ujMLg1qSH;=9pdDIkPC_DmnQaUf{~1;!ek0GORX_Mn{*zrZRF0|1?a@_}y{C!YIh z0M4L*`Oq+q`&B|Uk2Ra{++@x$_mMUJOf|!DgA84UYZwegJ{j zVzCQgM=D3p1r2loB(Egs>^a7+g}@{ZghUo5QN&-Zj7IUHCN9oUhe;vrqi?Vx>u`+WD#&~*WEe13??=f&YV_$u2j1SY;MzbLQ;C8@D zb>9adwueyuP@!ZT|M~Em9lwG^@)w;^Lphu#g;<-B{NbnTeg>OWB!8ig8iRzywg57S zcLD`M`8$-(i{>DfS9|g=UTC5pYc-TVxV>muRcsBlD}UPoAU}g_GZD(a06%Lg zk6zYtf!bL(@F5EWvLOF&*kTBr#U`OrIs?zsgr_MPc8)s1Ntx7SJ}_;`Nr)o4Kga{_ g5B;_LcU=qq0>8J{Uc%bU@Bjb+07*qoM6N<$f+dkK%m4rY literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowking/back_gba.png b/graphics/pokemon/slowking/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..16a77950623b0fe01701578456ca8f9fc9608a9c GIT binary patch literal 712 zcmV;(0yq7MP)KlfP=)P!z@mZYO!LAf4<`@B<_e&n*-}pku+x6SRJx zj(H1fzOoX{xmO_4&G)FdtK=h+wTW)e(M^Xd$tj)NGidpK_d9>(dH>_@L#|)e$0q+1 z025Cfl>IdWzMLEa;xuU>kL6^1a{!PDLN4VrD-Qr7!9DPIJ6NC)B@zJi8EiH|tPl~3 z7k~_H3}*1W!dj3)Y#n^ZXuKv1)NBIBJL~B*ldb)vwg%g@XlIq|oDxbeu1&*0ZUG;2 z7w{`I#!v>B0l&=}7eIkoZFmy7WMEuBIlwh0jp7Pn8%ve1z0B-gph--nfOMg?+Loej zAawwf)J=6OM6m~@Hi)JHXYUCCZ4;D5%i{v;y>|_1j2n#|7yG^otywzn{IVYowC@%ljz0G@oSm2-1kgtB7K=sD+r^09&Rd`X0wC`?kU`UyV4fIw*ZC{R u;M8ylr(|G(&Pj0w3+!890bPrKK7Ikx0|VJ+ni+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H>PbXFR5*>@lCchgFc6083$)<{B=7uj$9wp9e)b1p>W5Q08kmrUrD9<(k&)haX?4fT4VzBMpK80000< KMNUMnLSTYFE16ON literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowking/normal_gba.pal b/graphics/pokemon/slowking/normal_gba.pal new file mode 100644 index 0000000000..c3e452f0de --- /dev/null +++ b/graphics/pokemon/slowking/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +255 123 57 +205 74 32 +156 32 0 +205 74 32 +230 106 49 +255 180 115 +148 106 0 +255 189 49 +255 255 139 +82 82 65 +148 148 123 +180 180 172 +222 222 205 +255 255 255 diff --git a/graphics/pokemon/slowking/shiny_gba.pal b/graphics/pokemon/slowking/shiny_gba.pal new file mode 100644 index 0000000000..55ae2a1ee6 --- /dev/null +++ b/graphics/pokemon/slowking/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +16 16 16 +98 164 246 +49 90 189 +131 32 74 +180 90 115 +213 123 148 +255 180 197 +148 106 0 +238 189 65 +255 255 139 +82 82 65 +148 148 123 +180 180 172 +222 222 205 +255 255 255 diff --git a/graphics/pokemon/slowpoke/anim_front_gba.png b/graphics/pokemon/slowpoke/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5eae03871304a86de544769bd1374a5466273b48 GIT binary patch literal 889 zcmV-<1BU#GP)jN+LRC93AQ1*v{Rc?9GdNP0 z{*ao8Df}DR5DRLygfR;$>xHEwIfow;B0jrSQI^Ce8CoGA9PiF)9LIOgfI3vl8=N2S zd*Ao`PWF8?Z4tK>dToxNK1ZOVIfD91xxANU?@Q67})=B;A)v52tLUTnqc6;DCMKbv_u8BPk6Y= zN@5{(|A;)5^x7AKaJ@~F&5F|0C1Zo6Mb_a9drg>Sn{k1w89%07vXoC5;}#)(d*m|a zpZCefm;mB828TAWy&io0b!>Vb7k~jcfI#eOn|l6K4TG1(!olXBywy?cR(xIox4;1m zu((-2Hm(t+J@G#Y9I-2o?XuW?LJLhHXg`3;VW+w^T+bA<)A;a7g{(Gh}u*poAA|B8y?S8TE;KgjUV1asWNVn#iIi z+;>38B|@fY?pQwcW0T6F9Q-s0`Mzy#KQ*_keL8a1r!C$N!cK#{2y5T-&z@+r(SuFD zUT5suDjp0BR-4W1s7cxK-bv-vwIzK*bd+P-vQ@3VwhmDm=L1hZH=R@PiBwruadQ2h;o@ z$Abw!sPG`-hqeuu4zXwOAmWD(fzw}XOdJm;{4mCY`?K?o_yKi;;3$a)5kKVMbl*+l z!Gs?^TmT-JB|exq9!&TF-CI32^W}tK!Vji6{dbi7aJkFi^e+|F{4ji8`Fiy8O3e>1 zDwWF1%2h$h55*I%unLLQ+6_PKRjcgEI+O__ey~c?d>Bh5h?M*yZY%x)ItU-o0Lq*> P00000NkvXXu0mjfWSpMS literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowpoke/back_gba.png b/graphics/pokemon/slowpoke/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..62bf72f0e3bb9ce9caf54ffc848940df0ce55528 GIT binary patch literal 494 zcmVKl(BAuFc5~Vj+Fq>wNpE0t<<$cQJo0Hih#=mUOX3dHw+ z6vhIGo-Q2V+mjE0l_)$wzyW+)0<{A?zn-c7=qFDkY zz+732(*y>J2Qf#)HgZ)h9ekclp%;0M(n0kx#yCsi>ZzHK9L z_5=SYe&Sf}=!=;Jly*#X)Sc@1W<i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H)Ja4^R5*>@k}(c~FcgM+f-<;y2nQKS@C*#Zb2u0diCSV1MdyGP z28~AM0lW+{ zc&gy)yQrd2wTdU@hGhixSDi)ICL~R$1N}`0d!FeKwGsB2=peN9LwN8vKjgv>Kj_B~ oS?=82gCDd>i6?d!G^qb|-gv&G^ULOhB>(^b07*qoM6N<$f(z4`ssI20 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slowpoke/normal_gba.pal b/graphics/pokemon/slowpoke/normal_gba.pal new file mode 100644 index 0000000000..4b3e369dd7 --- /dev/null +++ b/graphics/pokemon/slowpoke/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 205 205 +255 246 139 +255 205 98 +246 164 65 +156 74 32 +255 0 255 +246 65 32 +139 32 32 +106 98 98 +255 164 131 +255 131 98 +246 65 32 +139 57 0 +16 16 16 diff --git a/graphics/pokemon/slowpoke/shiny_gba.pal b/graphics/pokemon/slowpoke/shiny_gba.pal new file mode 100644 index 0000000000..628e4153ab --- /dev/null +++ b/graphics/pokemon/slowpoke/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 213 +255 255 255 +213 205 205 +255 255 189 +255 255 148 +238 213 106 +156 74 32 +255 0 255 +246 65 32 +139 32 32 +106 98 98 +255 222 238 +238 180 197 +197 139 156 +139 74 90 +16 16 16 diff --git a/graphics/pokemon/slugma/anim_front_gba.png b/graphics/pokemon/slugma/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..dd2747f5b07e2dbf3214a009d0eb35cb20894545 GIT binary patch literal 723 zcmV;^0xbQBP)bN}v~|J8H$qyYZ_|Nj90{{a900RL)gY7h_*luZZh00001 zbW%=J06^y0W&i*JQAtEWR9J=Wmc5SKFbu~vSZ`1uyX5Nwm`vuJP5Z8s4Oz#fgZwDKZ$=)AAcHikM|nMn&yFu9^OC=$eU?A4>FM) zT@$BQ2Wq5o3PXBf;4q}6oB#*BHVF;8LI#pO0~fnHdaOmjI)^;98$4a)O|)5@x^+;B z8W{knZEzk)(NG{z*QN#1Cii?3msemMoXPR4}A8PP8oP-=&<+9voIG6z5;AJwE10Fbmg zaoBEYPd9g3e2d$+G^L)AwB@h9XAz%#e20c1yD?~XI=iZjSx%+0&);Bh0D zWAg5XzeAKgYu4iuco4cgwzei$00oJ@@=V z0W*cnpGIsT zO2`Pc8)L^S3(QKjePATewNMwhEn-LfOaEZ*{lotoKLN<)&!!x>qmBRo002ovPDHLk FV1jj-PbN}v~|J8H$qyYZ_|Nj90{{a900RL)gY7h_*luZZh00001 zbW%=J06^y0W&i*I#z{m$R7i>KlfiPNAP|PBS~%w&Ao>8bbB;BD*I1%nw`$h$`E$rU z+YRGR7CM;+*yUu&=f~gOD8&Eu)shdk`?cpFiEn#)IB)YN#MGC-u#Ivfux;027SmW6 z_N%(mL%3Y^9`svf*xNM$Vr{H$o-06|FPFBbY^#n&&lTWftJ{&XDQ&>crz*l^Ei`cy za%8X)41|KkGGK3OPQwrgiWsU&O zSAdX|%m;u|q$0{jC3EKkHv9w`trW3~-fCkYQW14Zq40FAwMD>r4nV{rU{W8eM%@9O zBK-Vd_JxCNz_6|=BE__{auMZ~$^aN#IRdAUaI7x?b?j3cxHHsegMWEsV9xjhP$Rzu zvVm#k-v$PVhv5;B4BRy1JwkZlrupM8cxT#h1G;pbs{j99rz62Qv-4I*54_^%?T$GF z#m*vCk$%8e9#HTtAVaiA7ybBNH8RZkx@E=NQ*o=q0{V7iJFd^+HUv$QtYB*Rm)CE< We5t*0IGSDn0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H)k#D_R5*>*k}(d0FbqX=0&=>P8#r4s#on5$GQozjfX6f-HMQx| zp$p#p_y(l^jJf^T>(0d#2^fpb3Q%N{5e6m{z`EQrBCu`bPyv^=hrCE*ax!2&rBMMU z0v0EG^Z-782xE;AFm^J8nxiKSJu-)|6M~=KV1XIhTb?~Jpl{EgJz&hbE+qFOwCerF zb8X*T+qYlsW2w4*imLrn2UT6u0spLnIdo7zTAL2)IY)j~6&cgp9w?xbgr1002ovPDHLkV1mQGl=lDt literal 0 HcmV?d00001 diff --git a/graphics/pokemon/slugma/normal_gba.pal b/graphics/pokemon/slugma/normal_gba.pal new file mode 100644 index 0000000000..081ae47dcb --- /dev/null +++ b/graphics/pokemon/slugma/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 189 106 +255 131 74 +222 90 32 +148 32 0 +255 213 115 +255 238 156 +255 213 115 +246 164 0 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/slugma/shiny_gba.pal b/graphics/pokemon/slugma/shiny_gba.pal new file mode 100644 index 0000000000..85babdbe1a --- /dev/null +++ b/graphics/pokemon/slugma/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +213 213 213 +180 180 180 +123 123 123 +74 74 74 +230 230 230 +255 238 156 +255 213 115 +246 164 0 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/smeargle/anim_front_gba.png b/graphics/pokemon/smeargle/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..20db180b8492ee5b6616d7f379fc70480c5e1f61 GIT binary patch literal 1312 zcmV+*1>gFKP)Xea+RT#rAZd|q1LUS5p?RE{ zotd3^(zO4d9Dn@`AZR@UaK5V78x-ExM&MCs_iFS`p8~WiZRn0g5deN=fE2|-#Js`) zO{Lnz@ea^F3YAXoM$nY46vJp5TenrJA9aBrDTBJ(140p4V!VkI_7<9l>nWAP3ZtF zFvf?m7nc$?VSGKNw2Lt;5wY^*65M>kI3F%CuI4~YWXw7%sgX6CADMf=aK2E9!U!X| z;!^!4wLhk>w*WH7eoIsBPry(0nt3$)Egy!S0oGzuZ*%(Q{`W#E0w;0spF)#9-HfkzC)ZqIQb_LR%Ta03Nl+&|R|91zgZ3S5M9{4-$OFNfJDJh`>Nh#Tz0WD#A(_PvSL)J zTU(_{g<+(10M#h9^EzQoS~*FTtZ7g+NHaNsP}b>HF6#B4j_TC?kih}o5tycF*a1kTIPHa z&e-6zN$s1z6d)xKL6{F_#W}ydr7dLvU!_W{l^^E>_qhmYQ>Yk}Ud^(-ffx5Ck%Xz` zFT@Z>h=Bxz+B^M`TEe&xP?|_jdIskq&vTqNQk6$4oD2s$wj_X&G3dqlu2t2b`{ z2*5=@xYRa)2lM=KI(zt_TTQIRCj_JfMDC{f{mVbiM|$x=nSk$p`XTZ*C)+p9$B*Zf zUT8)FSJ&^phu)J)NYngPdb43yz$C|3a9AwWu(4e;=chZ=@pC)~CW z06D^00EFNUU`?#psbIa!E~jy_u-=Cm!FXx{357jC>ThI?D@3XBbOf{^@?F+fCfv@T zv{pkTyiw9hz>O3@@Bu6KcG$+~5+}w&q6?u3QC!_RxFhh1(=+0ZKlQC=CKorN1fWU%&h+ub$1BKoh8a$*#?;xHUur-Jb z{wf`%sRdhb2L(a8$(y@b9Ws}Gm|Hqza^E}2l1^6Qp&j!UVf}ypzyG~^V(hj4dwF*! zfcb}0fcSg@fZJ2REPW}4&jD7G@LAmpIRu=G@EH?t&dY+^{-_6?i~gt{Zvg1Cn74tC zF9HBnk8`I(a0HzFYy$&mb%0M6czEmsNH2klhu;nWbprrnfz7YB#o7{9hCRI)=9|2o zB89s4`YR?F@A5V<(2GXbin06YG|#t9k2u!WW2SA|DRtZ74~IqLwZq66JE0Wf11=Pr@HovuG}Oc!o%H? zX6yooFC!vY5b(yy;PK*z1!znR4 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H_en%SR5*>*k}+xoF$_h00-Mx(uC1onbBTfI97Zs{ic^LGG0hal z5XCcI%UKuOY?@W4hx9G*Gv@7T8+sRpK6!Zn*?a$Y$x$hM29i(^4RM=;EZIW~*>4F1 zLV&ijUlRh&0ouqup%4M22HYfWE|2t7A<5*^MK8-ZONqVcAvuT<_z3#0Wy4%fU6%$H zUi?Z6DIj9{-2?^FM+!!`hS8+6zUc+}x4Rfh)LgjEMrAXs!j z1;_6nI&_c`4;`fI5OUSw=MF5}?^6egcd!@>L`8rOPCvNoaQfk6Y^iJYL;KUI7yS4I XUQgQ0a{}M_00000NkvXXu0mjfd&i*N literal 0 HcmV?d00001 diff --git a/graphics/pokemon/smeargle/normal_gba.pal b/graphics/pokemon/smeargle/normal_gba.pal new file mode 100644 index 0000000000..068322e3e2 --- /dev/null +++ b/graphics/pokemon/smeargle/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +189 213 213 +255 255 255 +24 156 0 +222 222 189 +172 172 139 +139 131 82 +246 131 0 +180 0 0 +106 90 49 +74 57 16 +106 222 65 +65 197 24 +0 98 0 +197 197 197 +148 148 156 +16 16 16 diff --git a/graphics/pokemon/smeargle/shiny_gba.pal b/graphics/pokemon/smeargle/shiny_gba.pal new file mode 100644 index 0000000000..f5f50de2de --- /dev/null +++ b/graphics/pokemon/smeargle/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +189 213 213 +255 255 255 +197 74 65 +238 222 156 +205 172 98 +180 115 74 +246 131 0 +180 0 0 +106 65 32 +74 57 16 +255 156 131 +238 106 82 +172 49 41 +197 197 197 +148 148 156 +16 16 16 diff --git a/graphics/pokemon/smoochum/anim_front_gba.png b/graphics/pokemon/smoochum/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9f2fcea052aaa65525183a36a3c119aec08c31df GIT binary patch literal 678 zcmV;X0$KfuP)(CDs?DiID61r&7>2S4EZ7fQK7J-`qhJd(CXr#E97 zuuk(d%@^4<33NyES(asVUweI>&c2X&%i}W37GPLGpHdDDKv&;G4+Oo%15fAS6%8yU z0LUe|#agLqTl)33(MB8pZ8W^w6?@0d3=DgFtA6?>Kvn*5 zLIZZ?51}ECI5Fvg9=yI;4`R1T57_!e2@1^p!J|vddVj+ z=mFy)yX%37>+^s0KuKl&x;VFcgI?OOwp<3Y9@pHjuH=^hFBp!YT#CW}5~Y zv%W_{%Uo%EowQdOsRjzNYxhT~eG@j;Q>h^5(>eFrX&JlgA0=la#`$>$KeW%69?F0O zHTDXsvx zh`57aeQeRy;}n3mBIAm52&m1}2(BYOh+%_UHL3`KXp0btI?@1`PXc(_(VhWNg+Mrh zjDY$kK+13iu5Nu9-Gx-c{HTGk_e|B7`KSOUr1Yz+IK=cvYb_b^W%tGy>qPEG_r0jTZbK<|(o xo}F)tVnGA!A-Cv1O#!*Jc~KN2e=v7V>JN|(|I=dXOjiH^002ovPDHLkV1igA;eP-C literal 0 HcmV?d00001 diff --git a/graphics/pokemon/smoochum/icon_gba.png b/graphics/pokemon/smoochum/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..11f1e6fe7da78c9c6606cb49474af8c20cb556b8 GIT binary patch literal 414 zcmV;P0b%}$P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I97#k$R5*>zlA&(HFc5}KN9>0Q8Co8yAZQ&Jn5BYXN1B3jV19r| z*+UFFjWklNl2s|7wWsKI8(8kpz(~)?pZ?#v^ZiO)SDBN%V`@==++{Bv-U*M%sS%b8 zR7_&%+JWc512jyMz%`ILz%ycoc5SP)n|BV{(w1|H4BUse!lo6Z1xH)E6&MVoMP!|Q z#>4KFb*}p(or!^=?*|T4tg0&VX^CvPKxv2{FH)hjP+W1z-P4yjl*@(|WMVS=@}C#H z^C#h;;tBeW2VXvcEb?KR&QU@bXz>9Nx?hi(FHd(R12^;K5erN!IEPT&)@xGD^L`m^ zV$od))W`QWMV*59JXTqKjWZb`bR##0HeFSrgPSh+W-In07*qo IM6N<$f(2B#ivR!s literal 0 HcmV?d00001 diff --git a/graphics/pokemon/smoochum/normal_gba.pal b/graphics/pokemon/smoochum/normal_gba.pal new file mode 100644 index 0000000000..722cd42066 --- /dev/null +++ b/graphics/pokemon/smoochum/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +189 172 41 +255 148 164 +222 74 123 +139 16 90 +255 230 82 +222 205 49 +148 131 24 +255 197 164 +246 230 172 +222 197 131 +139 131 74 +213 213 213 +180 180 180 +0 0 0 diff --git a/graphics/pokemon/smoochum/shiny_gba.pal b/graphics/pokemon/smoochum/shiny_gba.pal new file mode 100644 index 0000000000..00a439312c --- /dev/null +++ b/graphics/pokemon/smoochum/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +213 189 24 +255 189 213 +230 139 123 +164 65 57 +255 255 172 +255 230 74 +172 148 16 +255 222 230 +246 246 205 +213 197 139 +139 131 74 +197 197 197 +131 131 131 +41 41 57 diff --git a/graphics/pokemon/sneasel/anim_front_gba.png b/graphics/pokemon/sneasel/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..38d9823387c0c651511f02c305c4e21c5b979e21 GIT binary patch literal 1121 zcmV-n1fKheP)Y#8VCfqlLdI{H%N9?VNkhH!oH&C2BD*xVK_(}_yqvWaWw zD?tGL4FHq_UBYs~ug?K!v^hX169q5L7+JY@5m3hl?ed-96KcY{qei@{MVK!2i?3Nq}_V_p5niKb|m=BcIUGgXdZ`8u2uQYJ>>;LKRso=pls z-><}YJ&8Xa+H^@eM`8dOc@A$9LUero#wvcTALkY!?h*?AF~R%gT(v`cYVf-V96~Y1 zmucB=(KI6r-gL$eFgDj;0(z44AbRe2;7^T=VKccCLC3gD_+6(#4sBHsZ|@wCEEr)v z3s6?Hm9buwQaDd?7PvVIws&ddr4;qW1@BmciTbjzw?#+ysN%hG`#|NdgP$; zQ9Sug3ep@m=GUB{&-;NIFwfN|%r38#ekhhY!2inboz(b`m6D3k@l!R>4Ar8HqG6;4 zPA8EvNl@h)U>Kjir~`z$zq9eE2AE9Zk5nEd#oVP3If`M))gZ?$1kn!ES}$uMDZ#%*+|(a&G5+?+_{%#9a)mo6d8Vsav4yVpEgvh zAON1P*3E`+qrMBMBN#NR1H76X2+Ne}ui3Rg%>trXH2^xSsRNX9p_cbxz7`G1TWic` nY5=WUHGp2Tf)szp{(bug!W)h|W)pKls{`5F&M@*I1uB(7_v3fae4*m4J|0EIetpAcy zPXL#h`uGHpz1wSYm}NzNvj^yBc`h&Z5toIO@?sA#&k>Mo`xBo9V(4`_vp+lzS;$g7 zT5t$iluD@w3js;MVxcslEqXKvSYl=X2J0ZPRjR`8!M^}9L}EkY6oF73I@5(}Qu-2s zU=padp;`>i12G1-w<$eAAp!8(Utb=t=t&esNU%^6%j0iiJVqcIQ_8_>=3w;V3#EEJ zG7es$%h6XscO7ES;JctEN1Y|}3LT6_E6jeZMNJt_63e4EE4m|=I7v)7`>_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gba.png b/graphics/pokemon/snorlax/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..00a74b6ac1d30e8932e3e2cffb691563c65000dd GIT binary patch literal 346 zcmV-g0j2(lP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H*hxe|R5*>@l0gcCKnz9g1)N5=MX47kUZ9?{;3>L|Ft{v)dIh@| zad4@S&WJPUY`bZjU0!~Y%?pCBufx#;(clF#9s=F~f!T$#O=@DiM`s6EAR^abfryzA zsZMP`6?#qt4)A0)lmq4fR%5E{2{T8TgT2Y~0>A>17o;~xSrC>DQNz?YaHA8A@eKBf z29Q+s6(CukbQ(O$CqTP`uzxMU22AxDB<%)-9rfGZtOb8mAN#?cA6kcL=ZDroPFU4D s9i*In9bgY+?)w3rAC>a`XnxF(H<3ub4CiDHH~;_u07*qoM6N<$f@J)Vpa1{> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/snorlax/normal_gba.pal b/graphics/pokemon/snorlax/normal_gba.pal new file mode 100644 index 0000000000..aa61fc9e41 --- /dev/null +++ b/graphics/pokemon/snorlax/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +139 139 180 +115 115 148 +90 90 115 +65 65 90 +255 255 205 +246 246 156 +230 222 148 +156 156 82 +238 172 115 +213 156 90 +164 106 41 +213 213 222 +106 106 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/snorlax/shiny_gba.pal b/graphics/pokemon/snorlax/shiny_gba.pal new file mode 100644 index 0000000000..8528d09246 --- /dev/null +++ b/graphics/pokemon/snorlax/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +123 180 255 +65 115 189 +41 90 131 +41 90 98 +255 255 230 +255 238 197 +246 205 148 +156 156 82 +222 156 98 +180 123 57 +148 90 24 +213 213 222 +106 106 115 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/snorunt/anim_front_gba.png b/graphics/pokemon/snorunt/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6ced11d08b94f5b156b446c2ed436635f8b5c2d4 GIT binary patch literal 914 zcmV;D18w|?P)&)r)(3Qc6lWF)=A1ApigWr_&VA00001 zbW%=J06^y0W&i*K5J^NqR9J=Wma%HvP!xs*6=ag3bPW`)k-cP+hAd9#5LHW)K~(Y7 zt&yfcQ7zpmeSmI$g6t(vP`N|mrI6zg+E5R%+&~H$iUoaulAd#Aw?(>FSrhOXOz{2k z|L4lXCrw+6pR>kQjVs@3liq`=cw$&X@1USrB-os%8SaDbND0q{A6I0cpdus&X5{k#I(~h)+ zs$(UB_W+-dEOSrZfjfRk(~n2P_O86cX`ZGu!1h8}hu&Q~9RQrBaFPVF4g)W7{J6i0 z7i|RxvV^E}e0Y2Kt4{!zbbMo-rwH8kSFKjaB@xeA^Hu;)SQ7GHb%i8i_TlgBd*5OS z=hY5_he%uwMmB2)2vqK&^8^V57&UPIt_+NM7zEJ-Ml8XAo(xEmWFLVR6;uJkb;FQf ze#*YIIE`E0!Qd`_O*^g^z*V{80%JKg5P@5HVpiSt=05xzqz@tVw7%9#*BR#{WA)EJ9Dbx&5(YH>^hJ zfw!=~)e6F@H{HNn*nh|n*e;zLJYWm^BY@60F9Qi%*k1tU4)oYR`!iDSb}0Z8{@TAq zz(EBd`x7AS-zxzZoQGt8@mq);OTd`B3E3aTiE^d}_q+_C{j+QWXy<@e0i%cVKS)6U zA-TC^e*~~Kg$$9AkoQ&TNsb8sm==IU-t>APfLZp{mA!yyV~owRJeyvN7ld*E*`L3) zH}fnLfYkms1kAGBUhhq-0h+M?W}fE_dncbM-Vd%f0sl9jO+XH44ZI`jKOLw5)IS2n oOMrX|{WtPlaX#1oavtjZ0nEYWFsPXcAOHXW07*qoM6N<$f^>&)r)(3Qc6lWF)=A1ApigWr_&VA00001 zbW%=J06^y0W&i*It4TybR7i>Kkuh$AKoCW@KuO0TRto2Ev4PHol_k9e=OF=vaV1Pzk1DJIK0^MsSth)hv6_`amz*9J$g0?8=G(@Ta zlxj^3OINi3B5~8x0v7EeAw&Zxuj!eYKvJIz93gHhu3_n^ zqD2DZ7-b^Fyl97rIDpl04A4Ym02TteBFlCSQPNS=?HIOpIMf-91`Z|NNz|37vZ^I& zYDridQHv_g_O!3-BF~Fc-2qss>TUW?06ynpw-=%`E0|p-X_`_;g_ v7C+}5O3yuI{7%Nc44|TbGMcmd{Na297ExBQ$;E0P00000NkvXXu0mjfr>p5A literal 0 HcmV?d00001 diff --git a/graphics/pokemon/snorunt/icon_gba.png b/graphics/pokemon/snorunt/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2710b9a0a0191a54546cc1cab9e15a005ee5eb72 GIT binary patch literal 283 zcmV+$0p$LPP)DV$MKbA?QZg`* z6`TBp%?_DVR%ws<$(G3@Iz8C^JS@ozm78BtU7Q$JR9IHQ1lKSAUnIuZW6rJYa;lAjoh}|_Ik~#VG1Rs*PK9Mh^2SNn( zA%H8SUnYRPG;INt@yYOBU_KQ$moP<|G63dMN+F2(%dZmv7Qne@@hFOXusH{jG;ac} z9pKBH^ALPLxMb-zmlxwsM+d02{15RdRyA)}155|Ez%qalF z!xqOQK(&LxU~y*Vp*MI3HNY-rYp>2_UbzKXWml9sKV`nG$`fPNlD{|8?0{ifn3KR` zb$-xIw$Y8_F4Zj2J}kw(G))`2J(3>A@y7#Ak;H)ZanfrnG|HL<47Si<$rgJ~bw!p| zAml-h9cos`V(3vg~v{`*o@Zwm+Q|wl7b$MUp0-_onU+o5nQmZkWoeoLsAUEomwVb1b^n zr16Ha+Zw6a5YoK4H45qaNX-Z+%#3P25F<4U(af1ys`>NI5U`;0HfLs3^PW^@FemS! za^B3SW)W7=HRyKR5A$ZmcSm=-^E?c}wt3#n2y8)E8`{syo*ygH?*SMbXWq7ZqkER;7=C?_?gRuUeyWVe`m&k7{<6RwOj5G{Hx= z2WoBp?QSK2jb0qPTWNn(!83IC;3bv5K<&=V)@}nlc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%#jsW5ipn=B*b$wxNW}&&O4~&q{S4z?s!wJNvJi=9MkjDckI7x)NMSsNuKQ zpvcbAL-G!rPupvX;{%qr&Td`cz>5c+4!fSGMiuh~?gCHF{SNC?z>hlsIG8}_v?s~Q zrGujlvpBbfHL_i*e1owdj4n{#pDUU(m!H7Ee#vTLJdR*}aCep!c=}?|JR;=neQQx~ zQG!$ex=UWSu1+vExA#!*Sk@wK!0OT5WcR*OrmYXPJM0?UJ6bxhtQKG2e9yKSv8T&r zau4?WoMr7=;$`;ks*x0?pVuvmvC<6-BDl~np3IM=`H;25KN4qJCAIB+m;7BQ0r+r7) z4eAc0G-|AcjVs=zP{lNOJ9q$bzlS+;;ee*Q7qw&OLaVH5W8N*P^dEl@h`j2hk@2z6 zsk=3dk3}~uX*{eI^v3!yK#A^n5Sv5B|DTYjh5+dG{|Ly5A&VW;CL57J7Dq3pjJ0To z$tE!gFCs=gKpO-kruYnK43qFp1^r)g{bB%cBEfIG9MMUrKS29O#*}FOWWcGcBApjO zUnYqLF9pK4MfX3vQV95k7cIKF#eu?Mr(Jm3 zUjz_e?1~98=uFTrytwrNH<)dV)IPs(V-;-x@C>6+zu)$dLG=n zCq*iGKh6EYI`I4g6eWcxdJ-fXo5BtbJih=%$>Gy40RpNYzt4f)W4{0e>~2jZtHVBz z3xBBh`2`2ugVd~BCEMup3m$H=xKS_HXcPRR5AdRCIF%OoMXf)Dw^|@q!Y>A;sELtO zav)F@7f)5A&LAMc?+pbHQWyohdVuu-mY}3W1`v=zUFFyxltI6H*TdbW2N+P?%Qz9O jFx<3;08;di^3eDPF=a{qAlYRJ00000NkvXXu0mjff2i&S literal 0 HcmV?d00001 diff --git a/graphics/pokemon/solrock/back_gba.png b/graphics/pokemon/solrock/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2f6e7cb99907f460088d3059422208ccef646cfb GIT binary patch literal 802 zcmV+-1Ks?IP)4lreAHFc5{khMT-~EM=h8$`g<(Q&6&lyvt~kS#r}g zfUfeCv13v(7U;>X1Q^zyF8y;o%98CUfjV?4dV`kx^zL}~$kFIO3v)M|XMQkDFsZ^n zC@487!IYB0UjZYnq(2B$N{aJg0EPiAC7%rBneW3OaN#>vy zI$`RbPfQ2weq+jq1HeFV9_|2m`?cv?Ne~Bjk%VjeU=rZr>eH>=YYs;fD?te2StY?l zkH3E2lD9y32Y~+M?j74y%EZyt)#IgB;S*;ta*{aTpbnEbiXNki%nAJ1;N&$pL(G;* zL~)@=z&A(v=F}TROdCKe4ZSb9svI`T#@B;WTN0 zgi7J_<`>S`YkRm5j&t-N{onxx77&wW+RJq`^}S%oConw;+O zF8F$sbN9!DvQ(lP3m&Ek8Omsi9KfHFTfi@A%y>h9RNTY#nust|N}0M|H?Lpm(;hO! zO8EpJnpLH>g0s5yf|>?Uq?E{{e7~F6f*!Q9_1-PD(gn`vxKO^>0k~+?_feS;Q9i(yJ0_dvF-t_rRXGc g%CFS4pZ~|>H$b2-^=<;(!~g&Q07*qoM6N<$g1TvTZvX%Q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/solrock/icon_gba.png b/graphics/pokemon/solrock/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f9e689424629fb04b8c3454be51b1575d952d06a GIT binary patch literal 286 zcmV+(0pb3MP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HoJmAMR5*>@QlS>ZAQ0mVdOy`!FrD4p)eYDCT|{Sj2s&ie8G7L6 zy2V{C$vqx1=J$barhB*ETtjS$T;s|KNZLhi7Oz||MP$jT?k|`{#H$EbT7q^31nLSE z;pIBj5CaylAL|*KUd)_O6|0TRk8ni9U}9Wv&1;@^7=tDT`_XB%)4$^!b(s4)?7!dF k0pHajJ23mhaE3a(0j$e=Qe)B-R{#J207*qoM6N<$f|g@^OaK4? literal 0 HcmV?d00001 diff --git a/graphics/pokemon/solrock/normal_gba.pal b/graphics/pokemon/solrock/normal_gba.pal new file mode 100644 index 0000000000..315f49dd34 --- /dev/null +++ b/graphics/pokemon/solrock/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 238 164 +238 213 115 +222 180 74 +180 148 82 +238 148 57 +205 123 49 +172 98 41 +139 82 32 +123 98 74 +57 41 24 +255 172 98 +213 74 82 +139 115 115 +82 82 90 +16 16 16 diff --git a/graphics/pokemon/solrock/shiny_gba.pal b/graphics/pokemon/solrock/shiny_gba.pal new file mode 100644 index 0000000000..9de01aa0b7 --- /dev/null +++ b/graphics/pokemon/solrock/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 238 164 +238 213 115 +222 180 74 +180 148 82 +255 115 106 +255 65 57 +222 32 24 +189 0 0 +123 98 74 +57 41 24 +255 172 98 +0 205 255 +139 115 115 +82 82 90 +16 16 16 diff --git a/graphics/pokemon/spearow/anim_front_gba.png b/graphics/pokemon/spearow/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4283ba2d60a0ffd95d702cb18f9f96a58035ad5a GIT binary patch literal 899 zcmV-}1AP36P)+{NtQZ&=q~+4W00001 zbW%=J06^y0W&i*K0ZBwbR9J=WmQQTbP#nkKVMK@!;z<)VONyRNR(3Qd1`>B5bF!Ve zwetd=C>{(uu`V&7Cur2va~HFdhvk*v$(ZpP|7m!PjI9g_@rAi@`0;37OtaLOa^#z{HL>plKLmeF*p= z%mpk=SgGVMLcq>}R=bXk4DuhAZ3r-~C`Z?@l|jXP8U!vBf6QLR*ztcqv0D&u+7hXW z4X3c0w#6<0oY3|LCQVupY(XjmEdp3AVcnntOHKj+b6ZyHI%%@HBtd}nemzfgtD6-> zNh$$jK;OhZF=&@vF6BVLR0%OsLqGqU z0#7u{^E>YGo|Jp$0fgPgGq)7M3m9f*7A<+dexo*%0hc+aKFu`KO!E&iR229dJIYRw zDar(m(Y4=OXo8}khNjglJOMb+HkqSL2CAm+4Fun4n@6Vp)$=nO{Jf!Fs#iS$dF_M! z{0QTk`y1GL{pr@JkRM>3shVutj$d9I1F{)W%)MX+;>fljc8d1lSc}3#MXB_d#B^+? zC`DTszstICB0TP6VzjfuYQb*h$G4quHdB^f){SO4D+uXUzH?@4YfEaEFik2;Omp&` zvwNTa$u=R(K*~~9fGy>zsT&O=)ma}}3_UwlA&QNJ74OQf#Q=3SK|O7H#2oXt zxoDrlhT%#~g3`Nj55pKr%rQb;6&&ARiDBn}r-6(lh8c)Apq^tOuEb0fjPR&36^#Ej Ze*o!`nw+{NtQZ&=q~+4W00001 zbW%=J06^y0W&i*I*GWV{R7i>KlQD1GFc5{c$Atbv{y>MU9kqMX>`ffIh1O7Hj5@VL z0LM$bD+s#xWN641QBbEAFkNWNC>Sl|*0Ivdkx76OCFcS~-oWL)d%UBbg5X8}ff`?7 zB=yNgAAJDJkp^9RNN%>r6EhGSGl~ zh836{{6mKLB<1@SVe<^QX9$94hc9nD4)G&!|MkRO@AVEEcB2G?<&=XB%dd?4OdKa7Tl@*oR|aTS04>?igh&!TeQ#Ys zIRV&H7#04-_6eUWzP15d`Yan}PzcItT{#~}>qD#0ju(vP>*4NFhqYcwj zk!7wx{aC-=Qhz$5`di+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H*hxe|R5*?8(mx8qFcb#xoS?ab-aw(FhjEBww!F>Ur$gP%(5n>O z9AZI8z=EF@q3<=bn|@Q@NB$LlO8rLkPz)IZk9qn|c`h;>25lV|`9M}%JMTCU86fcy zM9BgjUjbiRjAvdEP@6F{b1{a_Ae>KJ0LC`Wjn8~uTUizYl z>YpMD4(|vKp9l_0VcH=$K>K&W9DKG=l7n~TB!@)g7928p2gw2XUU2B{#ypsV4k1lG sc!BQFnhl=fnYVVo^l^=akLt@lUUX`V5=We8T>t<807*qoM6N<$f}V$#Hvj+t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spearow/normal_gba.pal b/graphics/pokemon/spearow/normal_gba.pal new file mode 100644 index 0000000000..de6c4ce1c8 --- /dev/null +++ b/graphics/pokemon/spearow/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 222 172 +213 197 156 +172 156 115 +106 98 82 +255 131 115 +246 82 65 +205 32 16 +123 24 0 +246 180 90 +213 156 57 +172 115 16 +123 65 0 +255 213 172 +24 24 24 diff --git a/graphics/pokemon/spearow/shiny_gba.pal b/graphics/pokemon/spearow/shiny_gba.pal new file mode 100644 index 0000000000..fd22234852 --- /dev/null +++ b/graphics/pokemon/spearow/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 222 172 +213 197 156 +172 156 115 +106 98 82 +255 255 82 +255 222 0 +238 164 0 +131 57 0 +238 222 115 +197 180 74 +156 139 32 +98 82 0 +255 255 148 +24 24 24 diff --git a/graphics/pokemon/spheal/anim_front_gba.png b/graphics/pokemon/spheal/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..0bedf25fd5eae98c3ffa2b7e1f89c5b202a5f14a GIT binary patch literal 768 zcmV+b1ONPqP)q?Bsa#gyjNtoG);-roNJ0000000000FB>B700001 zbW%=J06^y0W&i*Jen~_@R9J=WmcMJ;KorM~JJ|g%Ozc31f{RYx3I_S9Q@~K`QVIq` z!KOo?g$xQ^Is}@^84Atf^H_&8J`Ww-q4jOX>Eu5qq?C;6JO79j>B$~CR^Rn~^zNOI zc%Mur&HtM0&K6+TDQs>4%;ZqMP6mq2`Bh_HPb7Bdm}Y5eB@o#+8sOFx>NHS2Y|dw| zIJW@ESxv|0y!D=Q;9wE;2X=#V{`@z0?9L2`DYE#yMgZ(i8>&Q$61R|nBEYXUdB&mj z=orB055RVy7C+P&0Q>&C$cF&QSkYkS z{X_Djpn*W3$XH~GV2B|C7$Y*JCs)r8#S)0Vio94566=B)*dTgO&l6HE%KbA|WU>Dz zFMDE{zWieNu@{Lah!b7*`chuT%NW0|BpB-a0HRwpvid`6BuCDp^Z125$|AEROKwnzvJ&?s%666=m;PC858jvmQ>EamT z(fM|wVbEa%0asfy_QaIsi<8=$x+F8_PIJ4x(>0Xupdp9*f`>waQ~4%Kt7J>QnHmse z==?bT#?kuU|Epp{SBL#wEOj-G-O6P9^*^^5?tG4pU6d8D#%rS8G{&WE0xw)r=6Bb5 zCthjmD7pB4vHT77;1?NxMIPugn7?andtbSUHQ{x}#H;>0?_20ITq!tZBC!UVObm+_$4T9|U&y-5VKT$R58N+2LRt(|PXu!$ z>`^DV$EHNxw+B)+FtD>`7qrrJA zf?kF}Gj#nS04%u~f}5_xidFP-1H0sATiA1@OoIrFa=Bc$s%Y?Opcv@T0r*gB0S)DNCzAU|vXWAJXBiZS$|Z`=Zg9Yrb1!7kRffbrCU zP-zll_%pY^0gShpLZ~^N2)xq`U^IQ`rWPyibD?bj9?pwgXNvCe0$Pd2(Mp{(z!*N_c&#EVfPQPOPESnFcO5+KBQ8@q+ p8z%Dh(x+SlNxIAFp-`cJpKkk3xSKp4b(frJZ$2QVhP-c9(*nFFg=V_?rUN_>TK zk{j7uk35}!Uchbv8+viaZy|wd70;T^rA_CzGt&)%TDAUz(qH_i)8l@-d-8J3Z(MgD ze*oIZf}lB8_pjMEF3`qihUP>FaduPnJJ?tllWVPopgt;qLu>#DAxRU3%SwsE)Fdm8 z7esofme17*C~jrMk2j*Rdbj-PQwq{zF3$Y~Ci*IZKT_V9!rb`+AwzJ)72r}^ih#vD z#9D|Rd0i^-mvV;#)&t~HasZD|lgQ6GbhI9T5hwI|Gyo{%4cy=kz+#4+cJc`f#1^jD z1Fd+9HJiS7#80IzHohS_048I=Ik&wB#Xymifkm7&6b-Dk{@mCD{-xOe#bV095ZeIO z7RUmatklrp;aExH8$zy>X0KHOlAxm_tc2W!e+6pQ`cwJ<5~bm7?i^l300000NkvXX Hu0mjfq(;v^ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spinarak/icon_gba.png b/graphics/pokemon/spinarak/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..54ec8e0fef746207e91f0eab21c7de25c90795cd GIT binary patch literal 345 zcmV-f0jB zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H*GWV{R5*?8(y0&k~q55m+5MW zgG<4~AQcqKUm_S|*V3uI?T*~#;6BEFF$DU3Ze-Z+@`Fl4uP_*u26B6XAsW+Qnao19#$$d*y6T53~F;1Eh z`^T39Z(tyIU<8a((gQOuV74Yy7EI`T2nh>j^D*ZZjOPRW0><~Tfbo1hEtqq2bocKl rrdIQdTZ0&N#JKi0=e3{N!bf~wr2T}X1oDxT00000NkvXXu0mjf^mmpN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spinarak/normal_gba.pal b/graphics/pokemon/spinarak/normal_gba.pal new file mode 100644 index 0000000000..0a09982d68 --- /dev/null +++ b/graphics/pokemon/spinarak/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 255 115 +148 230 65 +98 189 32 +82 123 41 +49 82 16 +255 255 90 +180 164 49 +148 123 49 +255 156 82 +238 49 0 +148 49 0 +189 189 189 +123 123 123 +16 16 16 diff --git a/graphics/pokemon/spinarak/shiny_gba.pal b/graphics/pokemon/spinarak/shiny_gba.pal new file mode 100644 index 0000000000..f2aed8e9f5 --- /dev/null +++ b/graphics/pokemon/spinarak/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +180 213 222 +139 172 189 +82 106 156 +57 74 90 +32 49 74 +230 172 205 +172 90 123 +106 65 82 +255 156 82 +238 49 0 +148 49 0 +189 189 189 +123 123 123 +16 16 16 diff --git a/graphics/pokemon/spoink/anim_front_gba.png b/graphics/pokemon/spoink/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8bdf77cbde35cd593b7904b39a4ae6daa883454d GIT binary patch literal 663 zcmV;I0%-k-P)ZgluAm)i&_{M7ytkON=i!q|NmlAQUCw|;zd`700001 zbW%=J06^y0W&i*J6-h)vR9J=WmN9GFKp2LP`i2GqM#(Se$z)0h=rjgwpKjlm0cim9s}xkvbyPeMJaSBde`sqec!!zzE?sF>Qq(r z)bj!o2Uo9`#diSwxO&ZtFMk0X6nUN(pKk&1DZeaA1b96FU_te30EqiVab4Z;b#Y%- z)dK?Fmn6_Zm}Oa7P(M^p%exo=@-%&tdImZueX-IT&_RV-Yre;`YKSSjz~an!gazKE zKOfbZ3E3&vL2&FQk0CeZXub-9BXjbV0Y=f>1*_mfEyC_?7&Q+97sTw8TQm7UL-4@Z zs8lIUUT{v42hKS%LPs+WXcX#b(g`FjpgFT;)GiR$-9|_q^&D2B_v#+eFR^Xv>;f$@ zSbx+KY%{T0y@5bX%O}Vv z71I#VC_1Ye)P=}uTz_*8HK2=I10M(dnTFgH|0Xv-Qfyk#L59onTTd)5@6dnG$Kv|` zjz!TIi=)0+G^!^Sw|%iV-uYPcUg_@8`yFcJWjN~rA};mX+{`#5k~UX2++&*PeeN=4 z-=h(@a#;hQ$Ji6_HJ4ci>xVjfdqIF%3yFeNq{=2!1W2R89ZVES>5c#y3zVAvJZ*B0 x0E)$P9BTB1f$L(7J5X>!BT4WJX3(I1{Q^n|;utdALOcKf002ovPDHLkV1hA?BK-gW literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spoink/back_gba.png b/graphics/pokemon/spoink/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7872e240c84b5a1dc772355b3e8841dc7b9a9ba6 GIT binary patch literal 453 zcmV;$0XqJPP)ZgluAm)i&_{M7ytkON=i!q|NmlAQUCw|;zd`700001 zbW%=J06^y0W&i*ILrFwIR7i>K(y>y5KoACC3JRz#UT(;2C;=$9bNsLvm@~fuO7lZYeO~n+$>(1w>Oo z0B1hg7QET#&Ri%Vq@?b_6PTHlufzrga4dzO0Paw^zoO=jSBoqqfjdGm&ESg!Fj_1g zGa$u92r)YWfKvjDk6{zy6mAfN8xY%fjDw)5_&KM*wjzzrtQ%SYtH=cYK1dT2d>~*A zfXq0>`!^Qsz*+|`L%>>)qy~T$7Ou0}7 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spoink/icon_gba.png b/graphics/pokemon/spoink/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..387d0ed000a6858ef27122f85e71d070d66212bb GIT binary patch literal 277 zcmV+w0qXvVP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*HlSxEDR5*?0(yHTgHnQ=;agYFTwuoB5nigL$bYlVU0#ffm)+DZpG?^^KmWV0?A(J=|%C8TaHzM?_ zEzA#LWCN^<*xFwZk!@4h3o19*SCuCVf$FE*1!kQ*+#8=mT;M`+?Sr}P2jfN$ghvMx biu_M(L-Ai^emqS100000NkvXXu0mjfh7@u& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/spoink/normal_gba.pal b/graphics/pokemon/spoink/normal_gba.pal new file mode 100644 index 0000000000..c1891323c0 --- /dev/null +++ b/graphics/pokemon/spoink/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 255 255 +172 172 164 +139 139 148 +106 115 123 +49 49 41 +255 230 255 +255 205 189 +230 172 131 +148 74 74 +197 139 90 +24 24 24 +0 0 0 +74 74 74 +255 255 255 +98 82 82 +0 0 0 diff --git a/graphics/pokemon/spoink/shiny_gba.pal b/graphics/pokemon/spoink/shiny_gba.pal new file mode 100644 index 0000000000..c8edfafd73 --- /dev/null +++ b/graphics/pokemon/spoink/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 255 255 +255 205 172 +246 180 139 +205 164 123 +98 74 57 +172 172 172 +139 139 139 +82 82 82 +49 49 49 +106 106 106 +0 0 0 +0 0 0 +172 123 106 +255 255 255 +98 82 82 +0 0 0 diff --git a/graphics/pokemon/squirtle/anim_front_gba.png b/graphics/pokemon/squirtle/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..403a786ecf5eda67f2d802a18691ff1280fa622b GIT binary patch literal 899 zcmV-}1AP36P)5`p#BoUQXCf~TIL+(096)jDR*D_uhQUI=lz@IpapvYD&TmfmETq7t6$0ObN$V+N zwr%e~=)pt+LIG@UxY4D3bb?#Sz4x!= zal;H~hQJ1)Q5S&|dE79^2qdjB@h*=L*q6r*(`VQtF63Qz-|cjoelQxH5ZfO!sJlx34;~T4sfFc1S@RqhpxU>)`Yuhx8mCOU! z4ZX;+oMRP$1VD+Mj2x>2D!^EoRltpPP>M&XDqdnE*EY}e&mJJ+oJo)6@2!A%uo;BP z9>f|^i4Vo(+605gy1C0**0TQdT5KTh0s|prfq@91$v_A}!DuoN(ieiE1=_2`6@t-d zAomjt0h~>r=mkRoz`M)y|lMQ4d=x4L<$(@0ugh-zRRFL6sGGKE93F$fUWgr|gK;{Z^ z@%+WM&Oj;!xmbU_lVz2GK(=k(nFcb%H23F~DCto1t6Bza$fzF*eT0SV;=}u4w zoglPbm4b(>Exv?ykr$Zt`quZ$Kj9@9#}z!Q1CuruRBD=`)Ve^^8|RG0;LXEXTY;h4QM(UQt5#8 zwq9?(c~&+Z9){cqG->YU zuzsPy;5Aq&{L>7kq`)#7JO?X<-zA^{biW|rSo{X+F~2IXfV(;lt`b0%iSP^}f!+1B b{(k)c{Tk;%d!W-D00000NkvXXu0mjfcW2N| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/squirtle/icon_gba.png b/graphics/pokemon/squirtle/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..75a58770fc67c9f105784a734d246fdbca5b975b GIT binary patch literal 344 zcmV-e0jK_nP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H)=5M`R5*?8l0OQ+S`eHZ#NUvFk4N6)@gekM!KSfSciJcr?HdF01pt;P;7tUKG>U2m9xb3N zauB{k!CukvP7C4w(7@JwTI$dRbGG5Pl7z0vaBg5i;$X@cpeexjC5RLtT$tx*n}ADQ zEKXGdGFi`i03msn{S9RNIM|7-&_C~jqbglGVW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(%n+#6I!(q( z1EC076(oo3@9B1HSW2*taQV)2`d%M{DV<-W3d*N*XX}hQ& zLMZ=apMG3n5K;sccDjq2sBpHzO8~&JUugzMA7?AnKqWxySSapu9&9~GO{cfC zMUMMO9%k2@;*L7jI8)YRAe+BYIELZ`-OKLZ0Q7|j6<|^*($*rr!}#u{e5iMSwACP9 zA#ev#0}%P)a}>UuM+T9j0OpSozz7Y!U1h=87}ypt+80@RmhYANM`30T@xDTC$aLkHN>D*)fD9}oytXifS7M~ju4^h2Ko0|hk51A=0F zpgMX3(7Jz3PL&>O&=2$3>y`o<^n;WQ^SkqA{UBw-&CLC(ekkS^ru4&qcb9vr8%?9! P00000NkvXXu0mjfest2E literal 0 HcmV?d00001 diff --git a/graphics/pokemon/stantler/back_gba.png b/graphics/pokemon/stantler/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9ddf7a40cc2c7fdd141909ed868cb66c60c5b26d GIT binary patch literal 680 zcmV;Z0$2TsP)+^%|NsB2|K5ZD-cshIAk_f>w6wH)dwWVsN)QkbR_1Jn00001 zbW%=J06^y0W&i*JCP_p=R7i=P@$0o()cL4Vl$Q^CU~)_wm1<_dw|X4J__$A(lEHZ4Zxs1M+bm z*9}4<$vXh=ACmxH>IQY+^@q8xJHKLmGC8hI05meNvsOx*oE*$e7MINpkhL;!U>8(C zL>&Wrpbcls&=+2*{08VQj|vq4%h%hkJh|Fr6_i-2)wKqxeWDD3S|6=ne>)7oIq*;$ zEn5%k{QKoAfY!#`fcEXuPJvUi836n1H`F7e0b&3ux7=NUb_6Kn_d8X+T>#h}Q5ZX= zJy5Fi=X;A}eI5h#01&0m7V_H25FoY6{OY8BRH{?!n-WH zv)w$&s07@~0YsaovL9dGXcy9);l0VSe+;pJqs0?tr72__fZ|(9`AZ|XjBAt)rHo~T z;QS#fLbh}^<8vVvoX=w-i)Y3d02xRKv6A3+4q8uCZBCEtE3OEZbsjU5s0D}cs+RJ;y!nV7F?|_X65N{#c zqF%sR5LF^iXs0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0eg6RVpvmhls6W~RUTfHy z_5js?Z4YDZ%X#PJaA0mwE;`(~H2`v2KqsXsyWKixDV z?EOOh-NA5>QvYqHYxVb|kx+lWQU9HIuGBx^Q53zd{-Eu$`tLg8M*W4jXQ)5u$m{A~ zenb7i9qiPf|0DIMlKT4@>YpQTsK2>Uf4rGXexUwv8;q6uTSwGC!K6^!X<4X$b&*#8 z^+K|^V~|X7XB%n8E06{b#J!p+?ojmO;%=kf75=q$BQVVbRQ6rF|M%l>rUxj>C;K(o2$pKnw<8s$fkOcmmTLVC-aV37s|fUph0aIm0CB zhhj0hx6DGZ{rHn^sH#uBZPi~dz-f39(79ItE>A(z!Sf+bJ)|LMAB+cxL*Ra^x;udV z)4)DxGVp-^0~w+Qhu3F70yd!LJYxq^7lH@ifiv&|7^K4nOyD?f!oZ{f8_=Lfwh!`b&yagDbki;Sph@@a}&H@C~+;?9Y1YM)? zFihTC04{twLP(9;2#}oivP=B#`hLIyIIa@vxDgyB;0~k+#GLS>0p*!4DMEmc6i1MN z@?I?|g3V~1ccb;QUJ$V*Xkzb r8{krNd8^uGUTq19nD@k|-lP5il8m7Wrkk(G00000NkvXXu0mjf9YfkN literal 0 HcmV?d00001 diff --git a/graphics/pokemon/starmie/icon_gba.png b/graphics/pokemon/starmie/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..844cae0c72d2b638549ab4e89607a653b2b4ef92 GIT binary patch literal 380 zcmV-?0fYXDP)DV$insnOs5O9{7)xsMO!9v}=JT*+ZRZf=R+cZf-sxWkzG3j@pQG(>K(4OXRm>8!rL| z9$Mt`fzb|aL|d+2dA__v0XM3BS^)OmwAHk8q=PYgQYrt{)$W{&=3+stK_LGC|NsC0N$W;K00001 zbW%=J06^y0W&i*KOG!jQR9J=Wm%ne*KorNFA(Fjus-wDN-B@Cc?>aCrxOSv=s6_lj zgrNfi4vY-VIUAw0zHCH@*bMy#5c~ra{sH7Jl{%&VUwD_MRTZD@sS-oJ>wWazySsOO zUrW+jk0AMT4RH3Z2AD-PArkha4w%%`kh01ga+p@jV5;3=l+w7kodAHKH+C=w zB3j7MBrlIWj8z9~0L1SL0h;6)tYhECS_}aS8NQvg39Mts+=d$C(aN%th9^5V2?E>J zw;2Rj$)KEt;TxT}y54qmU!(DA23QY6ch?94*JzV|A%K)}z&DTb{Mz-fmC*6(5iyA2 z8}o}izp}A~TC0c9NFoNnukU~I>o#$)SvaLeLMQ(71z^Bl_2NYV!GYgDuMHjcB4`_> zMGof|S;m1jvWkGz)DQEF1Eh-_Bmzt$&wgaQ$OE*x&4pTaev@5ZdCpX06JhVFyLp~> zaaSvA?y24l0&L@MS^^|4)_1x-?m%l!#X!d<)~RpNlnJX$JWGX(I7O7EVgPAl^g=?= zawFjzjYqes8(WON6;&yZ?utjL;9bFWjPB2;u_daZ5eZ9s2ncuoAVu9*P!e78T5J8^ zsu|rd_G;{bGN=im)V)0=sOye4d_4!G+)6tTD7RyJb-*>lZ_oy6PgDez{9&e)z$$h%>Kpt znM=N4-xSUMg=XPL9b=E1gTn0RlEd(%9oTz%k402eg2Jfh>c(FCDW4XC3<^CBjKFnW zqLthS%S^)OmwAHk8q=PYgQYrt{)$W{&=3+stK_LGC|NsC0N$W;K00001 zbW%=J06^y0W&i*IUr9tkR7i>Kk}+wu17CjsQ0~p`T7{L3c z#mqpftH?krV+DTC=;0^OV^#YA(%&RXs$mvweFz>C zknXguW>~aIDX}g+=~KCH@3aj8aVC3Bx-CbX6*-WeuWKzYr4HaM&8PS}859YugR+>` z>tyg+>i_}Q>uhk{(IMQflYu;yIyK{rxjD#blMuN-_I0%7k^^9q5bwdf2BOmv^ViQe XP4M8p?VmEI00000NkvXXu0mjfQ*Gf1 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/staryu/icon_gba.png b/graphics/pokemon/staryu/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b90c0b9c3d40a0863c46bbe54b4863268b7caa45 GIT binary patch literal 294 zcmV+>0oneEP)DV$-9H2wal*xz%F@=#P zYE=yCkGfT@nRv(_!}pZ>y(!&YQ+fkd8k&HV8=z^*1f|@!^ofuMqNygB;5?0WYYo=A z5$Z=e#Na^0YImG1rx$?Zc{Z>J;G=H=dc%Mf9G2~{05_`scRtmjbUJL$yAGoLs}7?5 s{6q)Y{;q>;|A7wJ>wujOfZwLW1^woFZ=i5dMgRZ+07*qoM6N<$f`(LrJpcdz literal 0 HcmV?d00001 diff --git a/graphics/pokemon/staryu/normal_gba.pal b/graphics/pokemon/staryu/normal_gba.pal new file mode 100644 index 0000000000..005b36c326 --- /dev/null +++ b/graphics/pokemon/staryu/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +16 16 16 +255 255 180 +246 213 82 +197 172 16 +115 90 0 +246 222 180 +213 180 115 +164 131 49 +123 82 41 +255 213 213 +238 156 139 +230 98 65 +172 65 32 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/staryu/shiny_gba.pal b/graphics/pokemon/staryu/shiny_gba.pal new file mode 100644 index 0000000000..e48cd65106 --- /dev/null +++ b/graphics/pokemon/staryu/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +16 16 16 +255 255 180 +246 213 82 +197 172 16 +115 90 0 +230 230 205 +189 189 164 +148 148 123 +98 98 74 +156 255 255 +106 213 255 +65 172 222 +8 115 164 +255 0 255 +255 255 255 diff --git a/graphics/pokemon/steelix/anim_front_gba.png b/graphics/pokemon/steelix/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..bf4c25932176c561c44de77a90a2cfd20dc0f6d8 GIT binary patch literal 1476 zcmV;#1v~nQP)ti8>}-sax_0RR60|Nj90{{a8hQb7<95dZ)GH1Aqv00001 zbW%=J06^y0W&i*MLPwPemSZTMcmI)eivz9HaR5%GAAjV`@F+=wA3q69yyVS!>l zwy(>uBre{n!GSj7BbYf6!4q#g!5-mVvukhXMCRBrRb7SH0 zU8mDJ$+sjfHpaA}lQVf%)*+14CHc;~SQ~R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&@j^-#pJyAM3#xueT2U6yRJ(D4QUrY=nfb=2EG(p(uncj`yJ5V zDAdHgihtj4Bvuk3D|k^rvYRwlT~^3NKxg14P3Psg)=g4?%TLqP@Rr^j#K8i<1vQL| zVnw{VG5WY?A*P zLH}aepq(e1fj!*`EPmh^TCW`h*vHys0ehN&?r2(VLEC}VWA?}Obs@QGZ+Jen0Lb!m zp4Mf_0F2fbqHW|9WT&V28Sr(`dXU%LR=Zwoo&gU!Z)htIoZIsCW@EWb#G!>#N(zs0 z@nn^QVc@Jb>t|=O56%+SonH(7sz;;wn|G=J?0V@xv^&lFt3Iza?7UwtkL0h*Ko;OG zlz{A~`zv9xB@678`Ua5rMBM0a0A7JDsqX<&C4h&OmQbm6sfJ^^ zHH~B*Z|E-@&)FYP`nRz$ir-^D5Aek{uwPm}n?=>)B-cG(HJBY3FXWnm4n+WtccK@8 xdLGbw-U+#W=9i`l`m~Zp6akNQ0+^sD;6H$V&)!7AM56!z002ovPDHLkV1n!^girtg literal 0 HcmV?d00001 diff --git a/graphics/pokemon/steelix/icon_gba.png b/graphics/pokemon/steelix/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c99e175817a80242c27af371ee42718fb3d5fce0 GIT binary patch literal 433 zcmV;i0Z#sjP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IFG)l}R5*>*lFgCAFbsuVK{PUVJbv8c*+~KEzYCxM))ED1m6(v2 z(_XPp?~VR!eIb0;u@6mC?X_mJP6N-MLySg5aM>LJ11RoL%gA|Bu%eKzQH0ae4MEYo z8m=O8GEOD6fLV)qBT20;#mj6^q@?B5Bzg}d4@&I~BxO5cXY)9lNJhqOYP=f#Mq*7oKKU=tYD%6c)_(uh^o6v1R#kcG81qJ=m( zsD{^YzI$XgR&2wWa572G#|AxFrC$f67?t;Ub#OkQyWu!sJOUHK!p9Mqm5&Y>=c5PY b-+cT5$WW7!P=xfT00000NkvXXu0mjfIz`9& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/steelix/normal_gba.pal b/graphics/pokemon/steelix/normal_gba.pal new file mode 100644 index 0000000000..e18ae398c5 --- /dev/null +++ b/graphics/pokemon/steelix/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 0 255 +255 0 255 +255 0 255 +57 57 82 +74 90 123 +131 156 172 +189 205 197 +222 230 222 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +213 82 65 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/steelix/shiny_gba.pal b/graphics/pokemon/steelix/shiny_gba.pal new file mode 100644 index 0000000000..02b21c7ac3 --- /dev/null +++ b/graphics/pokemon/steelix/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 0 255 +255 0 255 +255 0 255 +98 82 57 +139 106 82 +189 156 90 +230 197 115 +255 230 139 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +213 82 65 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/sudowoodo/anim_front_gba.png b/graphics/pokemon/sudowoodo/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ed198580d96315992b9d8621ad7971b67cce0ce3 GIT binary patch literal 1077 zcmV-51j_q~P)!DQ@(KAMA(4l4QIDi#C*o0Ai?%lihWSVykB|4>VDRsSe5bzb zgKOO5f%=L!ZUErqXmaA*B89M&5Y|orOJE9+^<>E+0QY>2fSLKR`sP4X25@+BMUQ(A z2JrP_K`$X9ljE{jl;i?DG^f}UD+gfggR0iiYEABNz&ZD!9Igj9<&a8KAb>-;T$E{< z7etx{@R%1@srnFr6F$~}b^2HoL>gkuPdNN47Hj!_xu5_hhs|m$;|+CCar#ODMm3gv zMBSS3Pmf=Nn%Ufmy#>}u0hpwTd7yKcmMoQ>1e&rj4G7~@b`!`8J;T!gkg}V>FgI1v z#|$8iyC)o)vgrlw87>ubYfkDo{O3W}nShR2@T;@rBan{qHR zJoeOW*#H%_UiSb~bO1~UAI_t|I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tW%>wxAxmI<*z=rLkr3uGh>R)#U eGdot`UyomGiUEK(bla=|0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*I2}wjjR5*>@l09z2FbqbO3z#=Z4pDRq&{KHUlmm5S5J+>*kx2lN zTp_EA!d76ofCC{codo)E$4)IbJ@F$5@G14@3j7?LW}k562zo7V4lafU0pVy<2e4ld zHRlMp*Fc0`J$vAF&|w0wc}#(txj#7zTtCM$*xlN#zH}PPbU;6300>QIc@sAQlwzn8 z*kdRCDN^Ac(_T|Gh^7D^+Y(d;n`NG<+O}=ZMMmb%fNIr$tslCCj!PtWuth(Nd50Jj zK5yAs56cMze_c8NQHg#x=RYx@Wzf#w2 pzPh^mQQlVkD8S^0DZsD%_y(PfsGHJUy?+1z002ovPDHLkV1jm+s44&e literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sudowoodo/normal_gba.pal b/graphics/pokemon/sudowoodo/normal_gba.pal new file mode 100644 index 0000000000..3d589fc9d2 --- /dev/null +++ b/graphics/pokemon/sudowoodo/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +230 197 106 +189 156 82 +148 115 49 +98 74 16 +255 0 255 +139 255 139 +41 222 49 +41 172 49 +24 106 32 +255 205 0 +222 148 0 +156 106 0 +180 180 180 +16 16 16 diff --git a/graphics/pokemon/sudowoodo/shiny_gba.pal b/graphics/pokemon/sudowoodo/shiny_gba.pal new file mode 100644 index 0000000000..6344dcc533 --- /dev/null +++ b/graphics/pokemon/sudowoodo/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 222 57 +180 189 24 +123 139 24 +82 90 24 +255 0 255 +255 205 172 +255 115 74 +205 74 49 +131 57 41 +255 205 0 +222 148 0 +156 106 0 +180 180 180 +16 16 16 diff --git a/graphics/pokemon/suicune/anim_front_gba.png b/graphics/pokemon/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Iti3OTfSj--KyvOfP1>%2!wd&CS3v-v zNxTiVlXo?V0uv+Rwu=g^aYDNFQofLzY7$7!xK?*t*0QEs-)g<+A9MMsCV?)HOJ{!d zbjT4KRIOY4PoZ!JZtNC(eYc@?H=ONim@T+w7leEoInOgqawTW%)ZrDQZwK&zR)&>bpf6p~6I~JnnGce@z>v z8ETkJa(XRN0pJ6wNf%UuLOpsEhbGrIPN?McTNU*O>QPjasN{s2w0F1P;%Eqvoc^gg z1vZ%Etp1a3bvx3bA;4fL;95|UNzN0iz2>xuuwkAQ{?KfxdoHleBUM$1Dk#zh^1=_ zfWK!0u4BKni{Ue8u}0cu*9@ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/suicune/back_gba.png b/graphics/pokemon/suicune/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..80eef8678e50aa8275263e08b4ab641ff21b0bcc GIT binary patch literal 975 zcmV;=12FuFP)K|Ey~Ni!tU>Ig6wK0M*siw6wI8l$2^}Y7h_*dvSFx00001 zbW%=J06^y0W&i*KO-V#SR7i=vld*3bHx!2tXpB089Net>5){clU^`pU#JZ=+h-IMC zobj3|n@COCN^WkB{#h=lieLQR;dCrTBQmDw6tHMC^EKT6|l}<)J?|D zii~v@JlCz2WpZ)UZnwKDGepn{0um5yGio<7*4v$Lq<{q_s{|8vm3xeM{BVE&q zuVnnuX}3E)!dcfU05jGOmJ^Hs_c`x|U^5;&&Hn)8sNEqH0Y2CDr~VGyUxSO~5;`P! zW&{X?x}^=^F9W>}A-w`PlzFbFP^(*@^5OIgKzo#nyw76z6+l(l2Bpau8_>H3cF)uh z8doYEDP@Ytl6OS*39-{;flM94!G=ol_ovB7q{LB1fOEm6h9_}6feSnzjZ6*BZAt9H zr{+Q+updRb?qow1<#ys2F$6UN-j^Y~PUBcNHsbN+$-l#lvxu8Uz@@}CWYG{yh{kt{ ziDfvcCfx{x%$v%K;}bZ@MoZI<Be++!zoD3&8n~>mT}>HN)F{%dP+b002ovPDHLkV1g0t!5;ts literal 0 HcmV?d00001 diff --git a/graphics/pokemon/suicune/icon_gba.png b/graphics/pokemon/suicune/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3e4b3c695aa4ec3ac0180f3ec01eb1b670ca7f87 GIT binary patch literal 471 zcmV;|0Vw{7P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IRY^oaR5*>*k}+z-FcgNh7pxof5}pb{IZQVXy+juep&2~&0v=um z@5zuMQ_7>df=i*8VqAlvm{|C)j4j!v-MX}I`#Bo@Ac*w=F`8+rHRzGr_~Z>TgF!7P?{0&!27x&#JkSPlc&|+DX0kS6b+rI6 z$0}~X4&a)P1^2TKA){x#@FT=?ZvS%rP6T&D`r?NueHy{Q7WF$nJ^@Nv`VOGG#Z3SJ N002ovPDHLkV1hfx)A9fS literal 0 HcmV?d00001 diff --git a/graphics/pokemon/suicune/normal_gba.pal b/graphics/pokemon/suicune/normal_gba.pal new file mode 100644 index 0000000000..3a21dbd4dd --- /dev/null +++ b/graphics/pokemon/suicune/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +255 255 255 +189 238 255 +123 189 255 +90 115 213 +57 74 148 +213 180 255 +172 106 255 +139 49 230 +82 57 139 +164 0 0 +213 213 213 +180 180 180 +148 148 148 +106 106 106 +16 16 16 diff --git a/graphics/pokemon/suicune/shiny_gba.pal b/graphics/pokemon/suicune/shiny_gba.pal new file mode 100644 index 0000000000..2ee8b7a0f7 --- /dev/null +++ b/graphics/pokemon/suicune/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 180 +255 255 255 +238 255 255 +197 230 255 +106 164 230 +49 82 156 +106 189 255 +57 139 222 +8 90 180 +32 57 98 +164 0 0 +213 205 230 +189 172 197 +139 123 148 +98 82 106 +16 16 16 diff --git a/graphics/pokemon/sunflora/anim_front_gba.png b/graphics/pokemon/sunflora/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..219c076ef128e3a0fef6e3c1b922623e1a340cc5 GIT binary patch literal 1050 zcmV+#1m*jQP) z8da@m82b9Q*nw88TGnYn*Eecn2j`jvQ3rvr#vVB@mMyE?DAY8G;KS*u1%D@-L=##d zN6pXH?wNH$2odE-T^u#R!c-tyY5MstH>p|2AUG71DAdXgP1DZ49DgE)Xq{`7a`W`^ z+nIU%)@X@NBTY(8ODmt5ZP+T&I@9D$13a|N6HOQHWQKffo2J<|3;OoDNU%o^xxlPn z==G||L#Aky8jztvTD2YFUZ;)2lG(0rfD@*PxZ>9re#JjOx=hl_$cCmuWLmYN?R9LJ!5j|D-W zkAANqZ-A~w)M1Qu7X$$eIvyluOabxO3t4ADfZ_Kn3_4e1=0uPz^w{EV!7q7GUMS#S z5nb9&myd>5@tDyUc|N~r0aCb>`bq!^Y=m=^c2~{=+p01ti!bN?Edi#m zkR$;DceIlvNP$51zD&bbMVH|roGzx0eAaOo2z*iRyh$QdcdBKWOo7a{=tI|&y}7g?;j!s<$}l&8s+^1 z-$l6pl!_EtcO3EhDJp3&P(R}R1>a3cgW-kFWH{vp;s#^hKR^p26g)Qk|1}st0e%NW Ujhl_F7ytkO07*qoM6N<$f`V1%+W-In literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sunflora/back_gba.png b/graphics/pokemon/sunflora/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c048bebc225cb6ddb53cb96f178dad163c9dc3c2 GIT binary patch literal 749 zcmVKls${vFc`;Ow04My-6{7SE+{!DbUCbSS%Uin3Ryz2 zAds~2v)5X&f7{}AFMrrA{i!uzz;14Ed86{}`oO7=yx*_1>Hs7eYmN58i+dJuRC1RnBOJKhIOPzB1aqRr<-=UO{(gF1BU8Dz8x z60P+Ezz~fE_PJ#UCdEyzF<$2(c&JZ!#ZyBim#b}(V~S!Q0(#Tt?m5uMF|HCFV}>kC zVL~bA{H#sF-ypEf9}l|7QU@js_1m)q1Mbpg@FjUd{mub!fK?J8z@n>bD=?r|eGxiFz%9#rydGZ;bF7QBtd3^kZ2(Vn z<~#!s19VR%ZkzfMNKy8EyA`nB8M}31I(<*=*2nU-0Xo$8sr9N&N1#B%TD19momO%L ftc!2)KfQhdYT96-N=R*z00000NkvXXu0mjff(un> literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sunflora/icon_gba.png b/graphics/pokemon/sunflora/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6493eb5100d19ecd68568eedf537bd83575fee49 GIT binary patch literal 447 zcmV;w0YLtVP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IJxN4CR5*>*k}+-qF%(2O!TM4g%1y&kvJJQl=h=Yddfm82CfW-S zZB2nhlg3O83-iy6_Z4?$iy% z55U4$iK(sn0J*deKnyQHGgK;~VhE4G8z5l|vDw!Zq5SK8zVn@<+z(Kz79q^0bX=*7 ziuvcx$~!P`RD3YZR256PP} zB0FF@#11r)S1a(-;X~R9lPI!X)PFJ^dZ`G7umegJQ)mm(muYfp1&W!+L@2eyz;=mj z2AEb>Qpyewa)i`-eke?rWQrhAaN&QRoY+`9ZjuC$Qw z4<~xJn-RkR literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sunkern/back_gba.png b/graphics/pokemon/sunkern/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e6adde7754fdf62ea663a69808c1c70781d05ae6 GIT binary patch literal 555 zcmV+`0@VG9P)K(lKkoKoke?)3~Hikaj5DN|ZVk#6aBJV5WYEU^pkY zlKUF2i3rjym*xXB=O<_!Z0XWMzDwVEiC}UU3hn5_Tm1j-y%!@wr~2 zz~X4h=u5`w@eDm?FajD!OSTOt&bX+&88jz=Ipgym97qY#E=^(8?Buv)bG4vMF! zOyCu)@|{kToQpJB)PdL~K|x6AN|l>B-61{ylBW+yBiGbW+(oEEh8l67Nws1t2r{0Qh{A?*K6`tO65}6Cd}h??IGv0GBh(egI3o{W?B5wKf0%002ovPDHLkV1k2`?{WYD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sunkern/icon_gba.png b/graphics/pokemon/sunkern/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..60d7ea91ba7c0dc5ae4e95e4e96f06658b3d1a6e GIT binary patch literal 366 zcmV-!0g?WRP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H>`6pHR5*?0lc5g6Fc60O1ZyU#;ZZPS7Q?VJTP@FmEP@8v8eR!3 zf@}env|`6r!(T!`6VBb2KX+~Vm9ZZ$qPXW$Hk_I#=$2X8$u%Ta^&-paXN2Dil5$?+ zP<<~7NN7zOH*w<*4!1Dxjd2mM)+zwpSs^r@bY`cm!35bWMZjB%Kr-1LygI^=v)PCU zc(E5d=vi`7DF%ky^$q)%ic|<-Q~@ck@@6mqz^W>{YL1{@R5=L4ZUyD2R1ju~FBgQt zwO@td_N_1gC(^b literal 0 HcmV?d00001 diff --git a/graphics/pokemon/sunkern/normal_gba.pal b/graphics/pokemon/sunkern/normal_gba.pal new file mode 100644 index 0000000000..7dab1246db --- /dev/null +++ b/graphics/pokemon/sunkern/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +74 57 41 +82 74 41 +106 98 49 +180 164 49 +180 164 57 +213 205 49 +255 255 0 +255 0 255 +32 98 16 +82 164 57 +115 213 41 +164 246 57 +16 16 16 +115 115 139 +255 255 255 diff --git a/graphics/pokemon/sunkern/shiny_gba.pal b/graphics/pokemon/sunkern/shiny_gba.pal new file mode 100644 index 0000000000..84a106f65d --- /dev/null +++ b/graphics/pokemon/sunkern/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +74 57 41 +82 57 41 +106 74 49 +164 106 32 +172 115 49 +213 164 49 +255 213 90 +255 0 255 +32 98 16 +82 164 57 +156 230 49 +205 255 98 +16 16 16 +115 115 139 +255 255 255 diff --git a/graphics/pokemon/surskit/anim_front_gba.png b/graphics/pokemon/surskit/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..187952826298c1e778ccab7762ef03801515d497 GIT binary patch literal 614 zcmV-s0-61ZP)U00001 zbW%=J06^y0W&i*I$y z5QZ*DK>aL5Y-~&{r9+oSV$4Hv)26EJ#4*1TLOD}we?8YuDxDJqjsC9MFCJie<1vVT z+n_b_0I!}2!Po<|l6oLfiK-)#D7u)<+(auHM#Is3<^jPfJpy+Qb)6={0J?*qvpG8CPusA7Ju=l6*ub*L zc4~#KSYHp#(om0I9H=a zjsCfO6{S7(G>EBE^#QYUKevPjk4 zGMkm-WpvVY1L?Z}PXp=Trh(YWor_|U00001 zbW%=J06^y0W&i*INl8ROR7i>K(y?xXFc1LHSPTp-vCPOv6d4Jr8;YfV0qKz43|T6n z;@|2LdGOS|AJsE9^iVGKP_^oin~3k_?l`mC-Q&-rcuRo%lq&K1A4=rA$jaL>;6CwDV{=?#FRHaEbf@3nK2HijOgfII*nmIQ5o9E?8CU{B<; zr+ygQ2x<}xqnrX5DbT1<0`OBPpkpQI!20}_2h=W8y0FLuD zzZM(d$yHvUH0MHYg+E)<0`|oCMo0y#i6!c|CM+`5!5ND}#CPCo6-_rEF&@T~@hVES zUkWTQ#UXsJ@SBxg+!4AwzW}!EDLyc~w|PVBKf(jUw;zDol&Ibjs2}|KI+XAoKk(kO zFn@=7FkB!;xpehCDgu1X4LvI2?h&BA-+TN{d;;iNYLLfEcf|kz002ovPDHLkV1lne B&1wJu literal 0 HcmV?d00001 diff --git a/graphics/pokemon/surskit/icon_gba.png b/graphics/pokemon/surskit/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a7267c21aa058cd84721c98fe880f6cfd32866e0 GIT binary patch literal 325 zcmV-L0lNN)P)DV$Q_W%F?X7H2a00001 zbW%=J06^y0W&i*KAxT6*R9J=WmOpFTKp4hFkRtFd`U&zqG&rpzD2*W(Lx+opRDnzi zR9q)dPIC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Q*K1*a7wrSF=j!?J=X_bd(r&9p1@E+GuiVqp9nG zf*A&oj*)Ibo@E3IbPZlgP@dlsd2^i92Ka}9cYfAn zE+7ub?hpX)y16~-3H`%he9ROoCl`IeLCBLYDgf85Cf=G%dV)Utl5Tk3830&(5R!re zKotTK_y+)BocZ=34k*M70BR2?5cdzZ52(~0)Zv>P_Yby0YtWcIm4F41WcpCXk?Lo{xOv|M<1x_t$4=50stJ$l@Ap^i3{H)=cz&{*97oN(d|Kc__ z{iWT*7X?qTC~yS!Am$&W&LLJFx2;6~AnkVP`B{nnVFj%GLlkH@ZS0TErGI$F1K=OJ zZTvjsA9f-DRCjQ&ANCLYL8xnkvGfm7U}Z4OoGt*gmBFyt@YZ=i(&GMst8#5HsDEGz zJRtB7JP`H|i1`N|5cr2U5b+O@H+SzJ{(Afdpmqvq+~jv&00000NkvXXu0mjfaEt6F literal 0 HcmV?d00001 diff --git a/graphics/pokemon/swalot/back_gba.png b/graphics/pokemon/swalot/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..acd59b1b933b10a6db8d90d4802c8f4acc56638e GIT binary patch literal 687 zcmV;g0#N;lP))xC@V)vW*j|Nk*DF;Y@eYHDiD&CP>*LI2fS|0w|f?vz?NY5)KL+lb%!00001 zbW%=J06^y0W&i*JElET{R7i>4)G=$@KokIAJAc5oB#ehb&|S$AsL?%~ zPz^U{a=I1*(a$Jkvq=gat)WBdugH=%`2oQ#pD(0wjr1Ab;(g zvkg`p9+gKL7J2XLHlo;X2DV$}0gyfl1H_^$aXidKJCdD<{9OZ*)Cvqo&`kiTla*Jxcm?{ibfCb{*JS}t zM{YS#pxJ;$WRz{Qbu2j`I)+UA9^y!}1Ve9zh90bwXeA0REsVf8h_>KaM2y{-+LOKLU<4V-woKew ztLb~QT5CU~(nH4}v@<`wdGF2Jd4GpO|8;~lZS0er*}TQmo~Mo%Sm3-eoZI9rKJPU! zSAn_q;As-+v=3+j;F#D1pw;#OlXLK!%D^lqe z@~V(v&;TS8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emon/swampert/normal_gba.pal b/graphics/pokemon/swampert/normal_gba.pal new file mode 100644 index 0000000000..149557aa45 --- /dev/null +++ b/graphics/pokemon/swampert/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +197 230 255 +172 189 230 +131 164 197 +41 49 98 +255 213 74 +246 156 65 +205 131 65 +139 98 74 +156 74 90 +57 82 131 +139 205 255 +90 172 230 +49 131 197 +82 106 164 +16 16 16 diff --git a/graphics/pokemon/swampert/shiny_gba.pal b/graphics/pokemon/swampert/shiny_gba.pal new file mode 100644 index 0000000000..284a315083 --- /dev/null +++ b/graphics/pokemon/swampert/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +230 246 255 +205 213 230 +180 139 230 +74 65 106 +255 197 74 +246 106 82 +222 98 49 +180 65 49 +139 65 24 +106 49 123 +246 205 246 +230 172 246 +197 115 222 +139 82 156 +16 16 16 diff --git a/graphics/pokemon/swellow/anim_front_gba.png b/graphics/pokemon/swellow/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..de8016b51c99255ca42d333caa59e96382503730 GIT binary patch literal 1046 zcmV+x1nK*UP)~N;{2dzB}IizLNA`FJ=1}V9z^7;FI`X9&}HO0;^(u@8k1ZDEZ0DZNbVwZGjMy z&`{RAq?OE#wV~UD47Y)ks{$yqB^zl;iM_I5MXtXx=1h=?359JZ1+w>ll;$6U31US? zm5P@T$c}GqeRt_1D8P4s^i`7rV_yq}u? zSK$IU?+5R6>uIpnT>HxQvl8Y&@Fqhr|I>cGEg;`zI9TC@#|D309Bm88b`@WOx`B8P zgt)d&68}>XU(!3J#8_W*#BOpJCtbH^q{wt%4yJ{kd_83~JL?%E@ay)t;66Ht-^ zDqchVi;S`N2C)LCe6yjCmc{-GW6QHT3AX~f6$RwmMG*Kfr^NvF1OeDL0LycZZpJ`f z5CDKO_Qsjjtf-D~BL(zP_F-nGt$^~$4zTAzN}bu+>8Pr~PYSpQfa62}TySiNCs)S1 zF9C40Rtq93NZO+p0)Vwq5s)X}JBc0`6Fv2GIO{l(gnc<#EA)5Q+^{vuGzNHf$aN!(}kCyk7?U>J_RWIlG@zohc#O1 zC!tdEB!zZ=J}SF#;<^KhTd#m-z1*dq8K~AOwCoql9i78<0Szqmm78mBl};TApu^l@ z&fBZ5vGUOhYQt-I>ePek$8IK7{*^oQk8ThzuibJu9CIF^+5RbxCeozYq_vbF%!L2cp&JVupx;!4_ql?g)ADSyJj|VZ(ksq>bWrMbc z{}K7&+uO~0sSR}IhhOV%m>yKl)rA&KoG|5dx2=Z7DzNF??n;UTx5@%q(CzE1JI;I z${SERsc7j=q8kc_8l*e|RCJN3C{NIyIFSo^fX&R>XYcxK3hGRG-_PIt-SfQ1`0r2@ z|I&3qal0MW4^jqBuSbb{AR>p;uVV&K$Kvydg(NZ70LAZN3qQ|mqImXYNS}mh3Wi8u zej3Oz3G=*QASwT513(lO+yKYLQuKg{5P}EL0MD1}>Xlo4(S*@Ys&`oZaEUt-gT~+l z@egiRJwofdoxvKh+T5)Agn!uRfQXxKXJ@ZhKW$yK`V5W3&3D~3B1EwBha_1up)J|- z>jq;0+C?&(6L96uNQd;fmLQD73j+FcJkXl-sYx-L4FH7P!_;R$sbqopYY!k3Pv!S#vNE1I|rKV1sP8a22REez2Db#vt6CY|;lBgYF_C zRU&>IH6Y-~0VEt+6`CrK%F7O*9f!uC)j>TiFS{C~$>(10`DV$;8BM`w1!%EBYZW(Ou#EGVS*r* zCUjyG9POYh9l@ap=kD+2l1o2;pD3R6czh4i46=pZrWtgOp|!n@+itZ|sBjbC%l(>| z*~Njr)LOMGrC;nU literal 0 HcmV?d00001 diff --git a/graphics/pokemon/swellow/normal_gba.pal b/graphics/pokemon/swellow/normal_gba.pal new file mode 100644 index 0000000000..cf8e9f794e --- /dev/null +++ b/graphics/pokemon/swellow/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 172 98 +41 49 90 +65 82 123 +90 106 172 +123 139 205 +123 90 90 +148 148 148 +205 213 213 +255 255 255 +197 49 49 +230 106 98 +255 148 139 +230 172 74 +255 238 82 +131 57 82 +0 0 0 diff --git a/graphics/pokemon/swellow/shiny_gba.pal b/graphics/pokemon/swellow/shiny_gba.pal new file mode 100644 index 0000000000..388f2b2202 --- /dev/null +++ b/graphics/pokemon/swellow/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 172 98 +16 82 57 +49 148 98 +90 172 148 +148 213 205 +123 90 90 +148 148 148 +205 213 213 +255 255 255 +213 123 16 +246 180 57 +255 197 115 +230 189 74 +255 238 82 +131 57 82 +0 0 0 diff --git a/graphics/pokemon/swinub/anim_front_gba.png b/graphics/pokemon/swinub/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..80675bd9b581f5c1a140bf77fd5e730801f83e66 GIT binary patch literal 551 zcmV+?0@(eDP)00001 zbW%=J06^y0W&i*IrAb6VR9J=Wma$IbKoEvq#HQpOHlXX7-B6x{$4+U9^(J&Fa0W!f z=`7^(Iuu?22_E2zd%8%0+UzbuG&7;N4((sKna?x7w)y`oOG^6Q$`?ded*%~M7W5#` z&yUssdx$f2R6-zr2@BM*0t;Xy8>RZ8p!XYU0kF${3iCUErDAVP;N;l3-~o^Ya)67? zL+9tFT}i<8O#o&j0#E+}pljOlz>Ek3fL9z)1b0}*?~(&D3-8j^+6h4T-RKVKj`d*l zr3b8DVEu<%P*Af&MABnhu|QVrvts7Y&TSlO2-RhM!nM02y>Jl1cUotBO-S^F| z`KiZ|-H;s&2Z!6ktu#(bN=i!lT8@Z>T#l+{KHTRrQK>q_l1NO{Ihqh!a{)M0zo(~u zz7T9o%%G-vXh91=4$8S0je5xfC78|TF(jkrO;|AZ_kRQ6Dj`?R!*c{^EhRHi7qgpg z1;EE*EFgUH=I|lplehQ;aKXOBSM?wV9p|VdU&m>Z}%-XwLSzmD}~^CHxPTZrl3 py#7}`z`gb0RF@?}>JLfZUT@6IsX1MYGVK5W002ovPDHLkV1gbr{LKIW literal 0 HcmV?d00001 diff --git a/graphics/pokemon/swinub/back_gba.png b/graphics/pokemon/swinub/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..66998faad4e6b94cf5d207a3b2a0af04fb59eaa9 GIT binary patch literal 382 zcmV-^0fGLBP)00001 zbW%=J06^y0W&i*H{7FPXR7i>KkU>rZF$_h!p$AC>>|?2Ofru?qQM#p4ruG&wBm3Gt z0!}g`lF+gTjThOx_rH_ucH3<8&*vc^o`1s;PDpZ>AI&2oGs^WoC!%O!xMgI{%+3Ma zG>*n-oUFBwjGqO@Jgs>c2tRt^EfAv&9nEut=NN0 z1xuck``1pe&stFSr@Z&rycEHauyT#dn7MQUh)lXbMCQWzRBwn$fOLo?P9m50TA1LF zgyEZWs0E73rd%)R cw)so*1(soatxi44g#Z8m07*qoM6N<$g19ED`Tzg` literal 0 HcmV?d00001 diff --git a/graphics/pokemon/swinub/icon_gba.png b/graphics/pokemon/swinub/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f33656a0cff533933f5dc209da6e34e4cfcc40c1 GIT binary patch literal 320 zcmV-G0l)rDV$h6L~*JMh(g40Y&awD z(NW=R|IA3SKGR)h=#}-j(Jhx=lIn@Hu^La^>g-=1sdy_mxMat{@}W4iuhl>bFu<@D zlG(8Gk)iIvgU38OPbX&_r*RS_F#4Hq+Qz&<%sKai2>70^<)f~xU48Tmhj*Z53Yu$R1BZLHLo*-tR zUmSPVy(0>7k_7;hY;2ns*GTU* zazVSB92o=(2Yql0z|Me6S%m$feCzBC)D?1-mj+spPODc7r8QJ8Pl$6ZEhT3VLJua# zr<&@Ha7y)YEN+dSVkQF!lhH$SWlxS9Wb}W-ZbddQhj%rg8761Iba?e4<1u4W21M!b zvNzp|Y=BIfvxcAGrg$k8K%)%Ea9ss}RwDqJ4uqK-&j1E=S*%~->s=?FVIc&NnXmAx z%8^Ql0OJwgK+UO1B@`&%C8Bw;p2@(f0E|2@fHP_UWwye&yom+AON?k`B9J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LNkvXXu0mjf3sjuq literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tangela/normal_gba.pal b/graphics/pokemon/tangela/normal_gba.pal new file mode 100644 index 0000000000..91dc27d45a --- /dev/null +++ b/graphics/pokemon/tangela/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +172 222 246 +131 189 213 +65 123 148 +32 65 82 +255 131 131 +222 90 90 +148 41 41 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +180 180 180 +82 82 82 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/tangela/shiny_gba.pal b/graphics/pokemon/tangela/shiny_gba.pal new file mode 100644 index 0000000000..6c8c7fad52 --- /dev/null +++ b/graphics/pokemon/tangela/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +123 222 57 +82 180 16 +41 139 0 +0 74 0 +255 131 131 +222 90 90 +148 41 41 +255 0 255 +255 0 255 +255 0 255 +255 0 255 +180 180 180 +82 82 82 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/tauros/anim_front_gba.png b/graphics/pokemon/tauros/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..6853a31b113793adb1f4e2e81e01263c27a560fa GIT binary patch literal 1766 zcmVxU&JQJEr3i&GhBFFd(w3^1lR(*|5-98J zYEUEOAF3ZF3~;9F1Nh?T`iQ6_#W7g|AWGR}yaNEW;n#2qCJAN{KIl673}7jMp!c=V zDc8`&QJF0P)8TMU0xGwc=5DkGeWG+n5+Io+1L_CYbz2>nBPu;WCN*&0J^j5iBx*Mt z50+NAf%9(NJ0FrRQ4hnzH1JUxI6d`S>LFQnkZ_NCZ@hZl^F((rSl*$cbAvnFgW-3> zFg5!fo;D7Kgx~6<=C5T5cW8-Hov{iKtu(QBpE#vrftn^`77*v6odmY-E3{B5QXMQ< zH^GDu2`8`J$||%79)JO6eJg>4iR&9{KTv9LU0T?LHGI)Z0C#U?P5sv_hZAN;2&C7@ zZ>;^uUq28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 0 HcmV?d00001 diff --git a/graphics/pokemon/teddiursa/back_gba.png b/graphics/pokemon/teddiursa/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d79f39a5bad5d19e1e9db0af10ac264e3e8d3c1a GIT binary patch literal 512 zcmV+b0{{JqP)Kls$TbFbsx000%KQK!yXVN>O=LtyWp~4d1BIy;s4?nsykK~Gae7P6C+qmoPe^&{mm=6fRitJ^?K56&8UM27hoq z0S@1@g#O<9`CSG=J1>5IO97l&*9Tz0e7@y>Grj;`dbnFkyuUaA0000i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hu1Q2eR5*?0k}(d#FbqX=0&*NKz!jp5Y-Q|#$R8rL$6}~NuM&wN zTR^HvhDtRs#fFsy@aCugZA<=2eOGCE0rPN`0vvm#s6yR?Nc)ikKa>Ggl3{Eqj(H9i zC`|=rG8V3_YYN%PUD)bu3^{(B-rkH8x6R|G<^2jhEfVC$2Tl??2oT>uL=rRBUFtYc zDV+Dh@(?BUFZFYQ2?FG1cjA%=MDhM-K7{47`M3i#1&6>eY1`ER0000KorNXQjvT^Y(?E8wd5}d>PpoDYgARrzhGcu zD`cWmFcY0HOx;=f2bl5?aQGjn4^pX9!Dl)_rG)F9jhj@xcaBtbN%ICQ`F-yFvd#A) z^k6DGh`82o24s462Ky_^F`1OhAo2Lf^QK>4JuANkfR{@NJUu+F0Kl6Rc&_&6PKh^` zK)#^Pkt-5HWDO^I4IsKGo#fYApin5N0dqy-93Ws3@=1m$!N8OSA_ObEQ2G&C`AH6k<00K$b&djAXs{h94I zv(gZ_r3TP;f8Xt?{b-Z4H>d$G%>LxSh5}g4ZtU*@0q{oFHnbg}!eOT=y1=$G1kN{` zGDF{i3h3MQmhjb}1gPKGI3h#Mfm*b-&IhCe5SOolr2!HfWC7bO0PFwkAMAeFox~jy zW?{Kl+$%6qOvD|MZuBVCZYV^SxTDi)0^}i}7_0xk6!!$si2Hw{{;~}{5T)vW31ncY z`ZF~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vtx{ zXG`39avrxZ{Wnpxd0$X!ZPR$seIM3oc=LS}1yrp4I{-yDZ|~i4_vY)P#22d2OqSbt9{2^?co-?6k0BkQK z&l`k{4IJi#4P@$Rz_ypGt~(5weTf#}!-Awjbf_Kt`Q9Be;}aVd&jsd0)c4|dXlU4D z0E98+77{uqge)3cz|1d%@ zEe;FSmMIjI5P@**F%&=ULlHy>Qo}SP>%A~#y_TZOJg?yrLJRosW9swYlL<&a(YeKI zI=X!4_E6CzZCO^6#LIw*1~ZajLmk<-t~)}-NKV{RlBLE3&P7NG6wEDq)pz}M;s!pC zA2DT^_zq=0Y#)P9pf{7_Pymz>v%&%Z$%Cp8N8b4HSIJ@K+s_xnjJeFm35+F|)1sC- zOW=bw!;EYfznJ}WsZ&3^hQFpzW1AMe*e*c5O)_^!|g+t`EpKd66f59*Kp zllt#juKK6a?5lt7b+xbl`S;mQ{lokVZKwVsAHW;+H$;989IVwp2*Y+BuvPycbaJn3 z+qM(+4-7}-$P^G{?{7s(1Q@BxsZTtL0)s+p!LQfur!{;>dzdV*aw8k7fV)< z>d&<{;d+)(NQVRr!Iw3{q`u%aY^R$&MeEdT&~~Z*TwCZhXx&mmsA$}<4HT;x5->f0npFs z)GGR7J7QBK12|%T06LNsVDI{)d?52zn&W@#@1Fe&r0HiDB<8M;00000NkvXXu0mjf DVZDa! literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tentacruel/back_gba.png b/graphics/pokemon/tentacruel/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..232bc9259f84b9a5323c85c9cdd941f95903076f GIT binary patch literal 736 zcmV<60w4W}P)Kl0R?SKp2M^sFVyPa@4sJY354h+%;73&1t15Yrclf z)RFT{De$JGer}LY`+~;1 znQE9ev{P#AD~$T71UR48HSK_+`ayde`ab6&(KPK1B_GRzhW7r>^E?Ekf$pt&t)E>< zLllxrO{0{M;*(a1PNN6~2+;aDHOfo8B9v}6oGXA*tRT%&gMJlq3GgYUmuF}w0fc`3 zkpembXdufxu+sG?;%Y)2D~Le|6aZrU_EgN}5=0sviiW1I0M%j0{6b8!ymm)6?js=o zOEpcg%mYn-2k@x^9>g{SV%K*wAY3Vd$aTzJ&-HcyAFoJrE=FQ^IBVSX<(o_eJQ%}V z2)v%Qh1VO}6FBbS2r-C8=Ix}z~37J1B=JIZCgZw(p)%Hpmu=- z5*s0yR7zua0P`4n4gyK199NDk<^aU;0s)2>lz}z_d&@@%*lX5VGsFvr_Q-@D`_6>| zI?V1d)3Wo#@z-OEZ3hU*0x(++m{xv~ZmY|nHjt0OIwyTFP3D*^r|5Srr*c0Ks!{)ws7qk0`~I6Yyq7SrGxkO|BaXVm-7c@P)DV$*lD%rfFc5(K1k$5)$W{nmlr>tUHQtgf9u0xG57SLh z{4f~;2IDNXH`O$f0|E6am*~e^$5v?3$DQt^?~>$iFAOlu&YBS#6U{jQjRH8&giu2a z%vn?v959-j#j{Xkh`~~52k@(A=G+_tI4MG#MrcU$`97<_eJSJ(dqTB zlRhHp`akuhgkTnOP{8ZtVXQzdz z2%UjCxV@*GHpg=SCMCo)Hp1O;YpvL~I@mYXq;1t_XvnUuZG{exZ&rL|DrS2}4>Q`6i3&ZFf3axON5D=) c^80D{2CDDq+4o}D-v9sr07*qoM6N<$f>-k0M*si- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tentacruel/normal_gba.pal b/graphics/pokemon/tentacruel/normal_gba.pal new file mode 100644 index 0000000000..8e397af8fe --- /dev/null +++ b/graphics/pokemon/tentacruel/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +255 197 189 +255 82 74 +180 41 32 +131 16 16 +230 213 164 +180 172 115 +131 131 65 +82 82 32 +213 213 213 +156 230 246 +106 180 230 +74 148 197 +32 82 131 +16 16 16 diff --git a/graphics/pokemon/tentacruel/shiny_gba.pal b/graphics/pokemon/tentacruel/shiny_gba.pal new file mode 100644 index 0000000000..b53f965996 --- /dev/null +++ b/graphics/pokemon/tentacruel/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +148 189 82 +106 148 41 +65 106 0 +8 49 0 +230 213 164 +180 172 115 +131 131 65 +82 82 32 +222 255 255 +180 222 255 +139 180 213 +98 139 172 +24 65 98 +16 16 16 diff --git a/graphics/pokemon/togepi/anim_front_gba.png b/graphics/pokemon/togepi/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e0d71a63aff0fcae17a29ea7351905442727ca0c GIT binary patch literal 500 zcmV7y$qO&HwhS-oV#Q%_us00001 zbW%=J06^y0W&i*Ia!Eu%R9J=WmN82MF&Kseb?DuetvC52Ea;*ZdXtMk!jh}57Lw{9 zqIk__QF@mHxeBG!B1mUDIv(6F=pS%!sf*GYb5}>d6a>*B4`g~D@_m`|B4jZ9EtgAj zYhRlpyI;4vHh4?e9THDOof;%`4hF>IecAv8azQ+w!a_(0p$c$^VttPsGD<6uV6mFl zV3dQxx=)WOWi3$HC^4U(OwXo3e$~dOCEUi_fMC%k&TxeMeum{|!s95QF|b6~R>Ei$ zFi0riiMjzh92kKL^GUYDs(b}rfwty(o;*Rq=7$_hIZJ^FYQ~F9Q#pfHP^`&xEN5jf zM=RANk>zWRAcj3x=mdVA9~if?I0l2kVE8enU}OcOL4LPjpd|$Z6t(Xo#VG3C?%00007y$qO&HwhS-oV#Q%_us00001 zbW%=J06^y0W&i*IfJsC_R7i>Kl0j<1Koo|D)=jz#E=vjS?5d@7*McsDMkw_brE4j? z=~e=H*-0tH9Kr7FRv`y)p!5Lh39JO&shz$t3Tr?m2DFt<%L|-vwud|w6~H< z^SkU>g{6Oh)Btw}I4R&}H$4axD)HY2>1vDK^piB8zX596p11wp23U%r0`!wQK2<=H ztb~YZP0eS8WzTjDV$CjJjtpsVDP-w6cd=<#F`)xd!~jU zm?;Z0JF}z1@OO#?MfhF6++D^0DfR2gx*1@n1Xw04QXp_5Zb*Q$gOmV>NjL#(Dl7oS zd?brExN=kofUS@#R{(M&{bLU&dXpOj;kq-M8dg+Tnx^*ex2CW-1&P)T5}K(5dQ%G{{a900RM{s0N!(Rv;Y8VgWdos#sB~RGp)0q00001 zbW%=J06^y0W&i*Jyh%hsR9J=Wm%Vb@Koo^{(4u~2;?`khQ=~9K3zU%rgx35RcZvD4 z+PqgD!Q&==5f`qV84<=!ip|~Cq~l!AWKwb}X7=OW!>+XVAjDDsCX?~&Nx5WJGZ9!0 z2=*eiuS|hpx3L6-8wl8M1ca+o43PG#s0D$xBO(oLx(cS$80feHr9MaNqE~f*7DS)E zKh-+Jz*!ls84Dt4MtaRy5OwX;r%!Tpn3#R|u4C#TJL+(sdU7B4Gq>IVMnYpYnaI`2 z7}*#SAe9<`0zwQ3$kh=4)Ld^xr-3(9TGf@!6I?*r@>Dh>WU;2N=rp!^3<}iR_Kc3R zU!eMJ`^%lTReex__QzHNPi?p*3lA5GE&Hg+*C+eqv6tXq`Q^nvJn9?hQp_)(en09M zb`bT;CmY4j4Dixa@u%kr1jIbi#&n@aDls(1+~9R0=H@d~fHteQFf1UuV$OIJqt3aQ zT{G)SscaC#9#VBww9FN}g2JxSV>_38UG2zgOz5+zl#SXoIvWDrazZJM56Dt&j&~|0+?~)BS_3&)eB<^A)$%d zdoia1S9=7s_mm$9u&6|8Cpm3n3PWkS+gg=ThCo1|yObZovVlBEpC8s`3waPTmmivX z)mVTEbN9sTT5j$f1oGGeYco;@ZOF*whvsgqU!OlZva;%-ezyXDn5NkCQ?`09>WFDAIB95vAG;p3;+NC07*qo IM6N<$g6V6A)&Kwi literal 0 HcmV?d00001 diff --git a/graphics/pokemon/togetic/back_gba.png b/graphics/pokemon/togetic/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f5125735aab796ae53147e00e92d6562b0445692 GIT binary patch literal 630 zcmV-+0*U>JP)T5}K(5dQ%G{{a900RM{s0N!(Rv;Y8VgWdos#sB~RGp)0q00001 zbW%=J06^y0W&i*I^hrcPR7i>KltFH*Fc5}WKo2r5Ue*#*vVN)pTOttMCbIjw?VWo7 z7H*a8bZisF1(P129VrnppZ|YmJWiJV#YW`+egL}9p8#n1d)x+kRHv*^hZ{h3&I;ND zazK{o)4+b;WQ9PMI8vF~Ok_t6#8S~Y1=vbpZ4jUJ20#O%sX(BHB#?C_?ka$)1|XZt zvilee0EpcdkXtjb0`?9#C4j=pK?uPP8vvh!sVZ!@fg?!7M|}gZ@ZtrwfZT%I>l;8p z0Hb@)oqUb)?&o>(!dVz-sV1k$3${PiTG6pyaDBV7Oyz>Ch zEMnA3x1B%o0+h;@SjQcPAaR-jNeMtkKu<8>E&{xV_8uPKQcRpe47g5}%FWF;;OgN4 z{_)+xN#G1vkD4XGSGLv;aIMy`Oo4-MB(JwTwhmaP;2MO8AX?|ZfLJ;N3BD0dKypGW zfgpjc4dr0FdY@&lh&w+l62#+LfMZ0s0P74~rTsAg8rr15lcF$?dT;(G{v2}UX4?;B zi!aUdT7cYW13XMzqye#X$$9iGkM_efy(8AJs-s{Bo@|)jVd8p|jrh&+1#9Br=Wxa( QdH?_b07*qoM6N<$f;wRowg3PC literal 0 HcmV?d00001 diff --git a/graphics/pokemon/togetic/icon_gba.png b/graphics/pokemon/togetic/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..61e73ab3edefe442e40e7ac3c435624bf43f55ce GIT binary patch literal 324 zcmV-K0lWT*P)DV$@k}(d0FbqX~0&<6p9f;(=bw~#8+cP297$QX2)6k{< zu(7q-^5kzj$`kpqQ~By#Vo-{%b+rL#RSPy?CQzVIjsQtamx_eo5KJU#Cu&J63s0wM059{*cKw)^EHhG7N6<8bDw)E(0(EydF(v(XhmlrS^o80grTp# zFO1C`!e~hrG+`|G2m`arN0?~+IE0BbrUsDRu4tTS`+Y#X2tyz*kFy_{KRb{4z8`OC WE^T5`dBe>B0000p|7tnaS~*%dF%S?C*O{oY00001 zbW%=J06^y0W&i*J72%mWr>O=ijbSU$O4U(>edt? zsjz9RU`sJqMCLux@Br`z>_HqUeSaZU3b<75by`0=Cy@4cTnG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Y7~0w$Iw)x8KuccC zpaF1SYmf!IE<6Al`TTHd?C4w%Qz&B*wg~KwS@31D3Iv05dn}LU(w0Hx;r+tflHT!$h$BT>gdBf0l%PW!o2DH#{d8T07*qoM6N<$f=m&VUjP6A literal 0 HcmV?d00001 diff --git a/graphics/pokemon/torchic/normal_gba.pal b/graphics/pokemon/torchic/normal_gba.pal new file mode 100644 index 0000000000..373cb59b74 --- /dev/null +++ b/graphics/pokemon/torchic/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +255 222 148 +213 189 148 +180 148 123 +123 115 123 +255 213 98 +255 197 82 +213 156 57 +139 123 90 +156 205 255 +255 255 255 +255 164 57 +255 106 57 +213 90 57 +90 57 49 +16 16 16 diff --git a/graphics/pokemon/torchic/shiny_gba.pal b/graphics/pokemon/torchic/shiny_gba.pal new file mode 100644 index 0000000000..368d184945 --- /dev/null +++ b/graphics/pokemon/torchic/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +49 164 82 +222 180 131 +172 123 90 +123 90 74 +123 115 123 +255 164 57 +238 90 41 +189 57 24 +123 90 74 +156 205 255 +255 255 255 +255 238 172 +255 222 115 +230 164 74 +90 57 49 +16 16 16 diff --git a/graphics/pokemon/torkoal/anim_front_gba.png b/graphics/pokemon/torkoal/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..17ce45d87a9aa6d5b7b606440d4272917d0ac04d GIT binary patch literal 1616 zcmV-W2Cw;vP)! zpc7LcQmEq*$-yZV)(}Ia24B`bRHcU0ql*+wVrdTcpW~A#6l~Ez)+!+&8N&9x*&klX zy9wk}=rgwDec%1Qx2t_KALVlY!N^lu_)wl&hGEj|yklSxJJa6?1SG2pAyC0ENty*A zxg6Ff7UZ=B9cyI@j6c)p~N&nNF5qC zkq0eJgrkKvjeE#B4!s=UaB(A2@)(JG{jq$iVC+NBe@p<1OD@SY7rIU%A6?JHxGAqWmc$88M81>_ay zd~_gsbuf5(yyy(29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_G#lHYVv(po$(K%ti

YpoY|o2QEe*PBs5xRSw&i-5U4qK{7i;(mh;OY z8*pfr?c?p2Tbj*+(*2kga7~l07*qoM6N<$f-hZ^LI3~& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/torkoal/normal_gba.pal b/graphics/pokemon/torkoal/normal_gba.pal new file mode 100644 index 0000000000..85caef4913 --- /dev/null +++ b/graphics/pokemon/torkoal/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +238 222 213 +213 205 197 +189 172 164 +255 156 106 +230 123 74 +197 82 57 +148 74 49 +131 131 131 +90 90 90 +49 49 49 +255 156 0 +197 131 8 +255 57 0 +90 49 57 +0 0 0 diff --git a/graphics/pokemon/torkoal/shiny_gba.pal b/graphics/pokemon/torkoal/shiny_gba.pal new file mode 100644 index 0000000000..70194b9f17 --- /dev/null +++ b/graphics/pokemon/torkoal/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +255 238 230 +222 213 205 +205 189 180 +255 230 156 +255 213 106 +222 156 74 +148 90 0 +213 123 123 +180 90 90 +123 32 32 +255 156 0 +197 131 8 +255 57 0 +82 0 0 +0 0 0 diff --git a/graphics/pokemon/totodile/anim_front_gba.png b/graphics/pokemon/totodile/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..387b24e4762a3b6f1932628331a85279d0b867db GIT binary patch literal 850 zcmV-Y1FigtP)Fc8KySVOb;1zH%eqPc*N8Uq97acq@XWY899 zg+5FHduqqHOETvbTp;M2Ztf~Cof9~gJh(Bc9_=(K!jm%g5B!bh$K%~+3jBHAR{y1Z z;~7(D=E-AnyR1$wc!7mq708G?HlA9*!^)!QSD4-w%dpqaZH|Vyd)Cv`AXtn{woW@Z637$U> z01L`GPWk)qhjv6VRIGcAj-dG@@C{fcU`mrS_u=-8L|~bVYC}Ju_WghBgxc(H!Vxk=m2(T51uKl(9|%K@f&1yh56bg*3*HEb#@Hqp>mJ<`QFbD7Tdb z6}Fc62#Ym|VCxm=OW*^T_$m+&8jE#y7f^TiT5Xt6kj%$_^ZzqPrLwDkDb70;F3bDK z*h!bMURi&SHKHyw8#pfku2{qY;H*eXfHtExMDn%-2v|b_xT+WPfO`fBm{!2WaXl@7 zEqybRM3gS-?;iD?=eK^ zBp!lJA;Oerh>7ew!08hKG3x5ggF_pbjPr;}wG$<8o0ts5Q>=f_d%k5+f0!G2cRZ^7 zfe`oWK7PJ>0Pz!e^GJ*pFfu?|^GiHltTocU2Ox=j1K_n!VM4%AyCh)79hVOSk)LZI z$uK#nSusrpcS7V-{fLBPd}%F0r9e3uAfsKitSnUuBX1=qVJ|cb06QnHA`HOfVV6>i~QwgP=R6qy+Y+S}*=d3DJFXhIA51`jM lGJU^77;gdeZDLn{QC}|zDV$(R5*?0k}VFyFbqa>g5)q$@kjzn8WPjyG`+)$r;(CgX`q!h z5)H)CRN_S=wX2b8XquUyKKVy_O8t6~A<>(N_91}F6>(x99u@`+0-ZU)0CXWX77@Vt zaRnLZ2pkw%1_;FVn4!WzBLff}_{{cDcG-J&*}d-C)U3Tu{T!O>3g-4U*`#=)6brnW z-2k;s{B`XYCU1p-Pr~?}!VFma5L2To!thJ81Fn>M)*X6wtiJakgqhou6h^112qON~ d$x85zA1}h9f!$%k{NVrq002ovPDHLkV1hc4l2QNw literal 0 HcmV?d00001 diff --git a/graphics/pokemon/totodile/normal_gba.pal b/graphics/pokemon/totodile/normal_gba.pal new file mode 100644 index 0000000000..8a68271f60 --- /dev/null +++ b/graphics/pokemon/totodile/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 197 164 +255 255 255 +148 213 255 +106 180 230 +49 131 197 +74 74 131 +180 180 180 +255 197 115 +255 90 32 +205 41 16 +123 0 0 +255 90 32 +205 41 16 +255 197 82 +172 131 41 +16 16 16 diff --git a/graphics/pokemon/totodile/shiny_gba.pal b/graphics/pokemon/totodile/shiny_gba.pal new file mode 100644 index 0000000000..609f22253b --- /dev/null +++ b/graphics/pokemon/totodile/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 197 164 +255 255 255 +156 246 189 +106 222 180 +65 172 148 +32 106 90 +180 180 180 +131 180 255 +74 106 197 +49 74 164 +49 65 106 +255 123 74 +197 74 57 +255 197 82 +172 131 41 +16 16 16 diff --git a/graphics/pokemon/trapinch/anim_front_gba.png b/graphics/pokemon/trapinch/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2ee209fdf4df5fdd0c9115679f10dae862b869d5 GIT binary patch literal 621 zcmV-z0+RiSP)q$gGR9J=Wma%TzFc5}CFCFb8h17$AgeN1bV4lVTg)P2FT0mX8 zv~Q5j&*iLnhrU9cJOF#5X)Iy_>f07c>>ZXQnz+$zs%na*6tZ$E!%PZyBuxA4&_ zfbm}#xI>T1+je+$*LC-}t27{7uh+-q_=_nYtj3fQzl|paz;iAb^hq9(idJ=WtMMR}?EWV1hc!WQ|1w5^HUqM`m-$P19dK<dQ2Zow4fgnCKQarF@J)l2{@xWDM0^xWdx_=HJq0bjuJg}F1al)@+JXj6{H^2{a zJXmr9@ti*<;z3I1?t9lw#)I|!@%XCoAk?{Fan293-b{Z0_Q0==a|wPk00000NkvXX Hu0mjf&SDpW literal 0 HcmV?d00001 diff --git a/graphics/pokemon/trapinch/back_gba.png b/graphics/pokemon/trapinch/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..61eec3c92ec0d22c4172d907e945693e0d10e674 GIT binary patch literal 437 zcmV;m0ZRUfP)KlR<97AP_}upCHEBr+lJrQK2WWxkxv?b=51h-dAM6 z;E;jz0B!!lvh*K+hOwvX9{T43@brs4z&SVLzJGR6_lWE}*RC?C>^sv0l-&V)X!yOg znON*g1DFV~ukk#ojtBvTYG5i{169|UN*}0z{?>=$H3|SxUknhpz7!moRPyy203jLB z8bz^A&i7;piOg%!0jB z7C`JjR8i!zb_SAuDUt_Pam7 fzf}`_=&$GkQ|5DpE}NG`00000NkvXXu0mjfChNPK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/trapinch/icon_gba.png b/graphics/pokemon/trapinch/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..731dbf569fca3543ba36fbf859ae5b0926beddcd GIT binary patch literal 314 zcmV-A0mc4_P) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*HxJg7oR5*?8k}(d#FbqX=g7|cZjawjRYQ}nMuNVm-cM5FDR18V8QE z0@%W|ulNn1>?;{Dr9{0~tK7>P)sYEsowIiyN47(qEoi(3Ex|GocnoYhKmtT9qzDG(440KCfT00001 zbW%=J06^y0W&i*KW=TXrR9J=WmOpP3F%-a0LKFt-`wVpN!rtu$GBKrm0^-p51|gq4A|K&>`_TEvUVUyED(1HYhpUt<(Vt^-WRy)A{-N&+mEO zT^NEW=jf3)fvE!+fAS9DzyS+UbS~zv;dS7G4%*#jB}v@RW9xs=>x@?b4Xqt>lFN0 zBnz1km;hGT=Rd+wf4~R97Y~lgahFn0wZiSGm&!clB3W9e&M!@6_)?Y}e{;3GSXB=3 z@8ghj9H-KB`Vrwf;r0-ivRw`(UNpD4bli*w&F1sOb#qn_FmA@=I3v#oFe_CtFE zV7J-abpk89tu1ap_PES2#5#1Mu5BfLE96NO1;JBGEqz(=Q55Y3LC`e=sS*fO#Pnfi z0g6!y~OLs_^_6QUm|d6e@**~>yn50bGpXavy($!3b7+JeDl7kG- zF$HTwDAO~vzp%G^sX7a{6gL*33SWldOW}}~|Fsns+~H}a`L$35@7c@1!U1G)cu z`(rqP`>s_h0+s#SQKM}IwEa71ZW~eAUju<<7I|rZbicWtB0(UVbq7WO?f-^r z`v*Z|+OAJSING18S^LlndNqQeyA`e4gGQs#iE4SQB7pYq&RP%ypf9a}QM((N+5=o9 z;9<#uXKiH!2<6z0V|zTp{sHsoEw@r*`T;5+#+J8g1(q{lRC-naa8$35j=TQhcJT-A W%G}vlD8Ft10000sYEsowIiyN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w)g&B@nn2$+IQrZ<^pj_}QOcCUJVfrMD`GqhSe(ddLY(Mwo6WxdR0Z8;P QnE(I)07*qoM6N<$g4hJQ5C8xG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tropius/normal_gba.pal b/graphics/pokemon/tropius/normal_gba.pal new file mode 100644 index 0000000000..efe3d75ab4 --- /dev/null +++ b/graphics/pokemon/tropius/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +16 123 189 +32 98 32 +57 172 65 +123 222 139 +189 246 156 +106 74 41 +164 115 49 +189 139 82 +205 164 106 +238 189 57 +255 255 106 +255 255 255 +0 0 0 +230 106 139 +164 82 106 +82 197 90 diff --git a/graphics/pokemon/tropius/shiny_gba.pal b/graphics/pokemon/tropius/shiny_gba.pal new file mode 100644 index 0000000000..cb02cf4491 --- /dev/null +++ b/graphics/pokemon/tropius/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +16 123 189 +49 90 0 +106 148 0 +172 213 32 +205 246 65 +106 74 41 +222 156 8 +246 189 41 +255 222 74 +238 189 57 +255 255 106 +255 255 255 +0 0 0 +230 106 139 +164 82 106 +139 180 0 diff --git a/graphics/pokemon/typhlosion/anim_front_gba.png b/graphics/pokemon/typhlosion/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e56996868156ee9e2c80cf4316a447aa3636da76 GIT binary patch literal 1448 zcmV;Z1y}lsP)D;oN)Z3v0RNl-|6%~{2mlZe5dZ(hBEQ_i00001 zbW%=J06^y0W&i*MCP_p=R9J=0R=;oCMik~?0~AnsEV^{D{{+^7(QGmWG>c)RQ4pYT z7NJLZNHx^ZQH$LI21(U`EFgg-0&TK%qSJpscE&C-1*kwLMFhMQuosR(H}$>aulqrJ z?hT}<_wjr09q;b@G%X)9yhPf)V}`LR15_gk#~!08P%NexUVNO1fH@-OSCLi?r&_cK zCx1xn)c_Fli|K4}J&nR}5=aCP45BsDY#f9i!|*x?)Jm(9-**kes5b(5{UU@R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ge)`^@gP<03+LF}VCdc)0v|W6} zbzE9KUOg}gVT02#=wVf85@ODetk+kdNkG8u0#$`NVS}!GVx4sb>I4GT zZE6zg3IvAMyc^;^H9M)nu?<+zwy>wciw+2JRP(*Pm{xJHv;hn1fG9rI!0NKS3#=E# zG1WL2-T@*?KoQ>oA_Vap42fUbE!6o@w6_BB@-~Q~3Jm`UdQnt^Qw`2+5JfGBZwT0% b{g20Qk5oA6DnPJN00000NkvXXu0mjfbPRoJ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/typhlosion/icon_gba.png b/graphics/pokemon/typhlosion/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e15d7b6832295412e11211f0063f8813f4b86580 GIT binary patch literal 417 zcmV;S0bc%zP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IA4x<(R5*>*(!FZKFc83TJ%PooZBsu-pEZ!|29voccn=)bUNGt! zY-DM*F<04GUuhno)uun3Er}mve|#BE>6VjPR9d*YbW3MqAeyR5B?ACZDU<9=3pK@H z!CI*5Fv6j9BVGIpciUG17W|9_n1v7kWeDYmSW65Gq6;@|d_YMq$PnHnU1xEW?dT6? zW;u&bi8`E(OfMRVW4vDBzM;|2Y~hNCZG4ix(Sr-g$TurAo>;zy_8}CS{l`Tt^Fds3 zm4<~bQyv@`GU*6SUv&&Cn3o*T6EKIW`vu0D5Oy$;!w%*>aM-~_A0Eu;g9CG1!FV5V zrt=2I&+K5@HiF@15Y2#Ne3KOn;wj#*zhMrh(E6T%+1mXP%yS<@Ta}W>^8t6D300001 zbW%=J06^y0W&i*N(n&-?R9J^E_n&iQrRWZ zx;gA)*e?)7d4Ql%E;$8geCY%96$0eYT+>uYb9K~c1r$A${fE2Kl9qkwUa}7V9nK6n zGoJdxkx%H4WY^A+EfZM}hA9b#<*uECO$SCUb3UQ< zRPDOJ)WBMsa*f?mzT9;o)rplQ=g_5G>hPh(az0!#rJ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i*1b!nT7+6PpOe8rQc84K;7?_slEhe&|pBE~? z1Mma4%5A+ucOic0i@)Osz5N9I03+A=K?f#p;0GB3!cF`T(ZK)WhyMU{w`YN=@fJA% O0000@Ta}W>^8t6D300001 zbW%=J06^y0W&i*JhDk(0R7i=1ltGfCFbqXm#0QuYOqB`iuCmO!Q%GJX)7a}AeXh_8 zdd++};5Z~qynrfrd`VvtP4jf*`O)JUF7JTu4REk;B#eC{VeC5z{;vdz97!ckJHT*i z4(z(d?5W7HF+%Od>?L9#Axyn-dw_IJ6r#laPK;5fYJhfy6`} zz^2f{X#s+>ID}A-z;MiyB4M<)ZCe1FB-mMj$j}0C&Y_GAfG_M(PSN&XDga=UghA#= zE)Dt$r>AX}5!K_lw0GjN1(b+3%Yzv=0Q}P^anP?*mIzNVgk7&P`S|ht3{cy~0{oTl zZH$pz8+iqOZ-6ESB1^@hmI@2pVu-B zS@Z$7uNEE!xe=I~QYW&92m^qN0mWp~LoC2y5$)h}3So&LB?QFt6Q_WraRugknTvfE zG0KtJY26iK=i(jk4?f<;1&yeH$5vq#JQ~sSJ;Kwtur`8UN6;7nDZs`8Y^DVO=`c?( zYsfL8a|-Z_6v9a*Vz2V0Q&kFvebnoye+_vBU=%}CfcjaA&s7n5Ws+_R(Yy$7ox`#+ zfvV%BDpOYmgsdKDJEaD068L6GF!tpA76=s5b(!agwG^2jY?RyR%@3($``zntC|J?a+eASvI5$1ozAYR zvjT#eeN}~zEf7*tBAb03okJ4eRT4qcoU6EXqaRx&k%51hGA-y`avr$=0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IF-b&0R5*>*k}+dIj2f#$EBOplWD2N>%^T^;Izdq*Whh+c&002ovPDHLkV1g;}#Iyha literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tyranitar/normal_gba.pal b/graphics/pokemon/tyranitar/normal_gba.pal new file mode 100644 index 0000000000..6c5e2941c3 --- /dev/null +++ b/graphics/pokemon/tyranitar/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +197 238 197 +164 213 164 +115 164 115 +57 82 57 +255 0 255 +98 180 255 +74 156 230 +32 123 189 +0 74 139 +213 82 0 +148 41 0 +197 197 197 +115 115 115 +16 16 16 diff --git a/graphics/pokemon/tyranitar/shiny_gba.pal b/graphics/pokemon/tyranitar/shiny_gba.pal new file mode 100644 index 0000000000..3090536a94 --- /dev/null +++ b/graphics/pokemon/tyranitar/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +246 213 148 +222 189 123 +172 139 82 +106 74 41 +255 0 255 +238 172 213 +213 148 197 +164 98 156 +106 49 98 +213 82 0 +148 41 0 +197 197 197 +115 115 115 +16 16 16 diff --git a/graphics/pokemon/tyrogue/anim_front_gba.png b/graphics/pokemon/tyrogue/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..038a2795cd9283746d1ad29462ca5d29396183a7 GIT binary patch literal 852 zcmV-a1FQUrP)rj7JA?nadmkap^Y@bVyzGM@w}1YKORzfD>O&dCGw0HyC5{! zu9PjHMD(gVU*~8W%qhpF0>ciINo~8;o$v7rzZ?kWz3Xpz9*6#yav%!k&nD@}cR2=# zpqZqnu8Zx{mhv`vdCEC@7_oMek-7n5_MGE1&onjO`qt7neLT-#Y;6G2h9$t8<|8x& zMKbE5YdEi)Mxf(q4454Kcx74BJR2hgl0+4N%Fd7ii8?8O^aLp}Q7SVUrpZZG-m8hq z3VDvgfQnwpzsSz0ZvO?>v5x;CSpN>7?cN*UGwMBHdu_g;UYxf3g!?1_2OxWW9I$I# z7y<`61JXa3Td+l2kN|i;YI)+Hi>@vRUVha~V0 z9#Vj)3*cQ*m)O%9t{jGpux(a=$010GUvf8a^{ZI_HdF;)u|vlHC3aFjC#}d^|+!b{{T%h9lVbNd~D{6nE#-V zXM5;)uMCEDzK@h}RtCcvU7U?ef#3eYImR4D;UAVjTKtp(OBd#>xRUr|3-T;`gY9D# enzVE4D2-pWau`c5>A*$+0000Kl(CNMAP_~}KaVZP1P!f$yt0#|Y zcgF-Y6u@dRB|wpf5W*$^D8LHw@IW5Ii0Yw00jQ9Gb{Gf^R@dnWR)PzCU>k~6sX%C` z4uIJlmOl!FhKEjaxdoELR^mRK@SlFuZ=Tv{LxB*Askv`Vq&7|~z^(e&Xnd|cm|z9u z8+3#Q^br{OB)e{7qJ%(Tq9SlVTiHE@;xq1mjtXbfsOQv_E8*~W6OC5z9De?n&<=c4 zX$@@_n?!j07}}#)mQ3D5>-`0-y1BUe95_vInlBh?Uxw8A=Y6JZH;X-%FK#^*{2qf} z3vn1r|7S-5F|-)0Wol~q_6oqyu{aD(n>i?0?DYy@%QF!c1AUb0y&UkQxlI-)V!}(H zxD5c;Tp|uKuZaOSI9!!lFrA<)mlt4- z5w)5l04}$P(}@xmQ^L`z%Pkfh=evs6BxdTK@BjMs1=x7LWqulHWdHyG07*qoM6N<$ Ef>mx47ytkO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tyrogue/icon_gba.png b/graphics/pokemon/tyrogue/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..10099d5cff34b95e09c039d92d0e19d2328276d8 GIT binary patch literal 321 zcmV-H0lxl;P)DV$@k}(PcArM991bUb)(gbqcfQ1(jl445-bA^TNL^QBv zBu1qZGVjd zjID+Kbq*^`8N$HzYVN`?=%D5y4C;_`7e?ryyD;K&br%LR#UTuWyzGRb-+p`mik+oQ TJBYzV00000NkvXXu0mjf+FFOh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/tyrogue/normal_gba.pal b/graphics/pokemon/tyrogue/normal_gba.pal new file mode 100644 index 0000000000..97bff07831 --- /dev/null +++ b/graphics/pokemon/tyrogue/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +255 222 255 +238 172 255 +205 131 205 +172 98 156 +131 49 90 +230 139 65 +205 98 41 +180 49 0 +115 0 0 +230 139 65 +180 49 0 +213 213 213 +172 172 172 +16 16 16 diff --git a/graphics/pokemon/tyrogue/shiny_gba.pal b/graphics/pokemon/tyrogue/shiny_gba.pal new file mode 100644 index 0000000000..e8fef8a16f --- /dev/null +++ b/graphics/pokemon/tyrogue/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +238 230 205 +205 197 172 +156 148 131 +106 98 90 +90 82 65 +82 180 255 +65 139 230 +49 82 180 +32 65 131 +230 139 65 +180 49 0 +213 213 213 +172 172 172 +16 16 16 diff --git a/graphics/pokemon/umbreon/anim_front_gba.png b/graphics/pokemon/umbreon/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..dc73728507ecf6c672f7380b0db83898efd86d71 GIT binary patch literal 1084 zcmV-C1jGA@P)m<%6_TEDo zkddBUU(G&vpM=GTgV_>Y?48OSpoi1+LlM|pr+SY!Qbf5&k-jPet9SV2OA+S)z zNo}EA#4a#JrGS`}fD;LN4+aoO2~3vHfJ;Q(bJ`oTqQW*hGnjhXQ zL7-c;6Le~#qPrPC0f;tLfaZYnV~W6e3-EI^I*Kpq0Pc}{fF*qW#_9lt*uB3`oD0As zejC>8gzTa~j`v9)AiS^w6jLZCY>P**96|%~5D5`8y@w6(UuZx|4?tOB#9YoZV5}6g z0hG^;9ZP200LYsH;4?O`0cTQh13<(qd7#fzjy9}|27oL^0C+@b1pK!E=Y|RGz{3PH zv;%JhAsgCaNUH3#RIfb-KNRJJV;P!1X#1UhyAjhI0vN#a(3E|b`4 z1IQ!TSOIE)p(Z!PV|Abd_X~if<~sV;>!K0Mn|NRYaB}NsfNudvfX0q8HwbZ{c6TG- z<+;)iJO1f#pIl?*ZGg)Mt`sc*7wv$1 zCEbd$uS!&?*RRNi+VV~?up%PUOzq&8y+QEhSWW1bwPCN);i{d}F*iXp>W3U?(GNX~c)1-n8h-$T`nErro2l{u0000&&#})xA;8*tvVC9f&W@w#-;eT6eEfO`R6MzzK->Y<9WWL> zz|yprKtKR04ry`=U{5f2JCh#=zyePo-~_5?ssZp$;H$A!y+W5X1)*K)~KuCDu~Hyqk~2`VtiCE2s?+Z&F*_=Xy42n!^rs>lxOA z0np$WNuA#8g?(Diop=Q*t1z1>EU@OF4HLR>Zj9r2Nj4~By)AP~oDS(?BBT|f< z07`D-8Z0-oOaX9RfO`v*Z`_a{w2Y=*r!GM>IS4Ktz(aMwy+3t59*8w4=RL4XLSQb` z+#dqF# zg8&~&2iTd8kOONyfDZ*htind*?Ci%e1+UXg2rGJVOu^MNF@T2+=oB4*>MAHQ?8^gf zFCL2wN-#AzT!LJzxc;7BUV`d?+M~FC&l*(jgu}qKHwdQCAM+5Lf?$b$ne>477fXgf z2IqXh@YKc6IN$dGWAspJ_7puL2%0z|V5X0H)^?!23XZKhbpTWasv)=dl14c!w$a}i Yzu2BYgt^xAWdHyG07*qoM6N<$f;UMPGynhq literal 0 HcmV?d00001 diff --git a/graphics/pokemon/umbreon/icon_gba.png b/graphics/pokemon/umbreon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..8d8d867c2fa3055b9285b01ad0c7406fdd7a9b6e GIT binary patch literal 358 zcmV-s0h#`ZP)DV$;31i<&68xPZX zN=0a(uqpRcms>I()us%XhaIapmk(yzvsznzgy~Aw-f~7LO0oi=8Y1La-HEBQA{7wR ziB?t7X`@g@gj-F%2D*Ids!OtMo5G)r_rj!&Bn+m9Ny115^b%%HdPHIHaLH8{VbGR{ zC`>+n5k_rk{8JbwCF89yx9V*_3WH*rl`ygu=G%Te0P-8Ks|UM@UH||907*qoM6N<$ Ef+VAteE0RQ%+|J8fdtWvatDeh8g-rnA{w7q+Kix3bHmUkji00001 zbW%=J06^y0W&i*MYe_^wR9JEM0F%J?31M2GL~u~92e|FJj0>)d!MNh&-k#)o;NBnM z^Unn5e5?ubtB=m3ZWoAAaTGVgkH^t71T;==gwZwtpX-6niIiOh@W({}|9ZFEZ7P7$ z0>Wc=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 HcmV?d00001 diff --git a/graphics/pokemon/ursaring/back_gba.png b/graphics/pokemon/ursaring/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4a546c055a9fa22dbc998bf0c9d49060d8b9513b GIT binary patch literal 718 zcmV;<0x|uGP)0RQ%+|J8fdtWvatDeh8g-rnA{w7q+Kix3bHmUkji00001 zbW%=J06^y0W&i*JOi4sRR7i=vl);YMAP|OgNcmBJt(ppJDLf@P8N5@Ar>Fya%)`0dE3c-7hV^ol62x_(??PN(fm{ z93>$B1c29@V0N#tz_piB0tl(pxC2h0+O8I&W(hP{02&2S@bRorssJ3Osb;~dXi$Id zfq4SEFRTHn093FUuyg_gTL#2};LrmrcySTf4h3N19l7>_Bb1J?fLmAuPVm=&`V+uy z(&oGaC^K}=z=`_QKwbO1FE)U0O6%@>zHL5a9|e2_Wk4syO*WZ6a2g5g7|F)PA_c!VQPqE@tT z0|Rtkfuoc-JsB8SC;)FYUlkjY2%Ny~yE2dbz0vloBb~q*c;>VR_~XZoh9|>{IH2PQ z1R%2rZl+e?$muyF_-Tj&Yp`{mq*NH+b#53!g!EBu%MW%Z*Ni&>D?GpvBH#@sF|Zve zH}Km}3>HWtxK|Ynw%1%hEW-6s(~vYG1N@tCfNy2BGuUUD7&5>;OaA8^TUjL`Re0ER zPs*6!<+%tCm>m!eqc^w^FL?xO7{ia!NB>{1Unn$JAOSOSHUIzs07*qoM6N<$f>(bv A`v3p{ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ursaring/icon_gba.png b/graphics/pokemon/ursaring/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..143353f31f1b8a67d6a98c4d71cb17503b7831d7 GIT binary patch literal 355 zcmV-p0i6DcP)DV$@k}(RyFbqX~f|x8Bdx?UfOYc$wzhtSlcI+(znR>P4 z0wEAk$mGTz>hG=44yBsRLy~3d8S~R&Cp%?e5xr+X6_Qn83(uey2c<6dylg2{WS84j z7^rx!K&nygI!FQ*YumJRvy~NSJply388`qB$4x_zndflf7Mi^XZ$a57P@$}FO27=| zI8+3R{lygJj^00xrf^4-$Jm?yjQ51e{0M)X`4NSoz4#~$ZC|1=yxSlQDYTuVFs~Z* z&9-dO1f&5v&Zq;JS*cj!(qwaJ3ZKAt{OCXN;|UwglOz-U%Zva3002ovPDHLkV1j+u BoKXM( literal 0 HcmV?d00001 diff --git a/graphics/pokemon/ursaring/normal_gba.pal b/graphics/pokemon/ursaring/normal_gba.pal new file mode 100644 index 0000000000..6af3469ebd --- /dev/null +++ b/graphics/pokemon/ursaring/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +222 197 115 +197 164 82 +164 131 57 +123 98 24 +74 49 0 +255 246 164 +255 213 123 +213 172 82 +180 131 41 +238 82 106 +222 222 222 +180 180 189 +123 123 139 +16 16 16 diff --git a/graphics/pokemon/ursaring/shiny_gba.pal b/graphics/pokemon/ursaring/shiny_gba.pal new file mode 100644 index 0000000000..607975efae --- /dev/null +++ b/graphics/pokemon/ursaring/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +164 230 65 +131 205 41 +98 172 16 +65 139 0 +57 82 0 +255 246 164 +255 213 123 +213 172 82 +180 131 41 +238 82 106 +222 222 222 +180 180 189 +123 123 139 +16 16 16 diff --git a/graphics/pokemon/vaporeon/anim_front_gba.png b/graphics/pokemon/vaporeon/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f3eb2d626f37be04e0fdc0fe691625f6bc4e07e1 GIT binary patch literal 1281 zcmV+c1^)VpP)(SbA#^HV$HNUq>B)0QYk4Z50nI0QPhp0#vq8zMuyDCQwnY@tAb7%;S2IHq1Jn3C2A%1Ihih$889awF<`M@6oA zJTi08-XcTy^zYyI-Teo^2RZJz>GR6qA|06EbU?xH0q$V@dn({u;&DoR7dW=)2j$fC81q092f%hOL73KGbMjks|kcU$F`@CK0?)`MLY_?l)UO9l$`UA? zk_eS;Va{^xSD(oNdH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?d00001 diff --git a/graphics/pokemon/vaporeon/icon_gba.png b/graphics/pokemon/vaporeon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d4003c2a8407421c40c601e9ce1aa93e7c565c1f GIT binary patch literal 393 zcmV;40e1e0P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I2T4RhR5*?0k~?a|Fc3heNf)d;_y92^eR2vFTlq8w6^mVMF|eT1 z1hOzhR|rYtN-v9ksE?GY%m8IOB&8rA@kzQB+@8(TbE|R}2sC$4c@FrDR9J=GmpyOWMi|Gr8OY#+ku6IAU;1l zZ};;2?KuD8B1LicEqjqGm41ULl%mv2OIKFAq*$JIk*hkfv{R;mjH>leWND{V8Gs^` zssj1SPCfjRCRAMULK3z=sJKr=E(91u{8=R*eKO^0L8@M|Xr@qYFIdzVDkd`Zpy&>3|hHni7N|amcZjWt0Gt7_gKJH4p9p z#M)j>K?6Q=5Cs>fPA&kbWtNWs(*PF{fG~J0Gkoen6ve5th`27(ucm-3*$}|w<;y#g z#N((e6Ki!w2!LQL?swibNRkAmOx*|ZaEKQ2exU)kL6krYc+h+O;K9kf*(CtiZRC-N z$J|%yNeCn{bLY{0<832PA`yhD%wbifPU60?h|-;%-ZV*sDi0I-TLA_;i%5NSmFh(* z&`IcCR{>fSLZ!XiKc|Tpn<_k60UYVkbP=89pN{^x&>?gRUL^-7liuLF=L&1gg%vn8lc)2U)}R&^YROp_(f_d5 zJ?I{`n7Noy?SaNegg7{C(a;>(eyz@o>M8(WE3q4NvYx}B*lPcD((J%EAXdQHLYA#p zL}!@Q8)XJyRfLVp{RjKM zvkKd+t}LQzllZ}83^^Ta0`k;2p!Ho?`8I&u3`jH6aFm2SMoyQ&sD7gHU7K)DF!?>p zk$3d;&-EF?+?5*uVs0BeNGdGATmyX#gqXI1K=@}a(A0OY}J=iT>uxChGO zVFr0Hd*Pblj&WiER`Nh45$0xC1MVRYW-s0~dP*eYP^r2HBM+YUrVu6(x?KaFJ;(Gn z@&FQU>z<6c4@T-?5%DolTF0UWZF2R#Uk#0o6sK~JdIcJ%;29&{lO3K6Zp^UFdY z5B9olM-+>R&F+xDXyER5JBgUs-;b?dXwZIr>|**)Y&kev`}5%QS#OHzuk4Rh=f_C7 z>b#|RFtWQi`C7^Y#f9Z+Y2uA*T9c%2l~Gx%Og|*MjqrFfiFfLq{RAK8^Fi|t)n-TK}vbx kY;SPzL>}1J|5YCR4ft~_;)+*+;Q#;t07*qoM6N<$f=iC=EdT%j literal 0 HcmV?d00001 diff --git a/graphics/pokemon/venomoth/back_gba.png b/graphics/pokemon/venomoth/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..56b1b5b7a048de63b1385b4b2facec94d5fcee84 GIT binary patch literal 785 zcmV+s1Md8ZP)KCoN@!Gek=K`9J^p<0Q-e&&nVF0{Hg&I$Oha z30BJM5|*#$0E1(4*OaB6_F&D5CxqpE1~jWxDaJ=IS3uXmg&dx-mF0F~f}sFdQ4hDg zDW?EB;9T0F2~NqY8Bhu#`))*)ah1~CWFgalVb6Ak4af$@xBl-sRx!9*7n1Wmjz2EbKRI+)l8 z1)+as`RW9)Ef%g)kB*PP$p<3=YM`{~7387Vf6b-}0Z_dH0h@7*0|~?)KISe>tCFw| zDilf>Jp#oD00aOf%+~h6Aq8>;fZG)yAO|4*gmc;+2(uM70xEr>IknJqX>kA>0NwiJ zb*b0^z|ejhftN`S7x$ydU;zl&y?B}eDvB5}OrdulpUr|G5hG+cfuGK#>b=jVWKL()hb0e*~ABxBeU3@qJEXLr}Y0TCMvv~b5Ns7(0+0p)cW=gnpZNi>!9-ny+uYqIJ#rsS`Ys66DDm@svW~>j(GU=U zPI~yf$fk9~^3a7bJ6Z4UZyu%q=8YAATG(&J^6qvD_;6xQK$cBC{KNVU9l%^LL>FK^ P00000NkvXXu0mjf_aDV$*l09z2Fbsutg6K#YGG_3kNrSg^%+||M2oGQ(xk9Ec z1zZo|M8J$hV+Rz0cJA>;BgQp)>+v_=@D-Vkf1=n7%5}WB_n& zDVC5d_+b?ughniY^Rb6M7-I>*=ZelCqZ^Vz>7#vg7!0>`2jhWcaH(Ywq$3f4JeJ;5 z&n(sSb0@%lycgvgE@$VjMc9pBC$1f8_i_5!1~7h}n~XLE|LZi%RoXPnP)M{6Q8P?o z*~LYO+SIvQ#@8~ZVqme(r%gp1!uHcHBM#1|77GsS0xwBOIHZbs literal 0 HcmV?d00001 diff --git a/graphics/pokemon/venomoth/normal_gba.pal b/graphics/pokemon/venomoth/normal_gba.pal new file mode 100644 index 0000000000..c9b3d325d7 --- /dev/null +++ b/graphics/pokemon/venomoth/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +230 230 230 +172 197 197 +230 213 172 +197 172 139 +164 131 106 +98 82 57 +238 230 98 +246 213 82 +16 16 16 +255 230 255 +238 197 255 +213 172 222 +172 139 205 +106 57 148 diff --git a/graphics/pokemon/venomoth/shiny_gba.pal b/graphics/pokemon/venomoth/shiny_gba.pal new file mode 100644 index 0000000000..a490c4985f --- /dev/null +++ b/graphics/pokemon/venomoth/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +230 230 230 +172 197 197 +230 213 172 +197 172 139 +164 131 106 +98 82 57 +238 230 98 +246 213 82 +16 16 16 +213 238 255 +172 197 238 +131 156 197 +90 115 156 +49 74 115 diff --git a/graphics/pokemon/venonat/anim_front_gba.png b/graphics/pokemon/venonat/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a8c726b2ccceeae47ddb89875cf570bd918c363b GIT binary patch literal 1170 zcmV;D1a13?P)L32S6QVJ@?j(GiYspJD!&5* z=>6@ZT_NrBAoNiGs-8WK|IQ>1Jj)g0z=`sBm&hoJ8XExzl*ch%QKv~@X9)bvY4KCc z6jf!1Uc);(p5@fSG!Dq0R24+CUHI;PRG-sCABs|4TLIa2NV)D>C7cfN7!7-xxDSN3 zz~cail%`0aaDn|nPjd+o%mE?qwXEU6B3#-SV;&93OjzD3EF`T2P4RM=@ z1Q^iM*b5V(zy<&jMg)96JM4JF9su5liIB+RcV}f7-8nUW6l!EUk6u6rzd6e1CyW>; zfP-I@vm$hU_~y(gw{32o+2PwqFU}{p^BpKWA%t7$f&K2(0EN!!>6uaT1uOO6o}XU; zaCDSEKK5OgyHx&rqsUfa7)G(=_xVfZcP}o=-C*)QpFe&=Trar@07|9cSECFcr84Pz zACjwV+dre#qikL0VCB|L{@R#;;yTUIJ?#Xe;- z1(2&&eXI0JIEUNyK*?-gi6<#c3XFcPhuW=KW=Nj%r!+4 znXUO|lD2yfD64@dIrX`44ksHxPwAtKuB702Am;v}co1`cJ|0MM_vhn5!{2d#8gcPJdfC2r|BsDJE*?lGiwEK7Qh3-VU#e9u z9!M2Ra4)CPP+2%l(~P)y&;<8)4#E9r3#V$C5qC%Y!Qw&0oZEIPmbFaA10)6h*8R!c zs`DWT9YAtf0U$ynf%~Hamt~iA4Mczp!DSr}Ktm7@ki6_~;sF5ScrfzT@c;m^ci%4W z;z3Jn&C9!Z&=MMF%Mt^o^@_yz6l>h($07*qoM6N<$g7xVpoB#j- literal 0 HcmV?d00001 diff --git a/graphics/pokemon/venonat/back_gba.png b/graphics/pokemon/venonat/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..44f7f45c503e2e81682ad1d35c18cc92c0c46a52 GIT binary patch literal 678 zcmV;X0$KfuP)L32S6QVCl)rA%P!z^9bfk_f9)M@4+!?28_6nrFK!>hKSr}Q< zM{ou@(jyTHVeBb%q?;QW>_5SlZ z7!LogpZNZO{nKh7-9Kg>zCYxbe!vW;zW>xhp7=o!6wGkcbmZo$AN~r0kcSGImdv!3 zMej^A0EGj3*cpy}^A%c4bstjPh0g>zQ)}bEaA_roCf^rVI!vFxelo<%|VeQcACV&)qCP2a* z03C)W`D`|m5}N8dyo7Wi#MYpeE`1N^=xFpkVD+lK0x4|(e16&5Hf^y6{Lx|c;u$w2 zvaX#@1a3H#LI?{0tMhYq#wQk_p5lUqpf$4uWVpP1V@ISl&ujpw(S>awM2i4l7@=MR zi$G(Hm>~hd0ia%Mwx$k2jqa>5Xo?nq9-cevc4W}%H)mKO60RAy`uKBToxsWjj`h(l zga-~noLYvw3m}92f@Z8=$~=qXGz`+B2E+m?yJ<+z3puEN@J`IQ)JJir+?Ro7>!|Z6-}lLK()q12t>dn zMtnEXRqMs+BT7k9^Shr+u|?=>4FuR$dQ+vH58YZi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hz)3_wR5*?0k}(RyFbqX~0_zUBfT12c^fq2|4Q1+D(ZS~^h2$z( zLm&iuu_ra{(8yl9wDfO!e1QZ{sox4$GuRc@f&>#!1%bc~O9E#Tk{2N1C8SPN7_mbE zz$V<#z5~aMj70AWIQBNv-pK6O4gx@Qd~fB-5ZSe&p|U5=B<@(QHzFE$pr>t~1eklG zMT=kbvPG4d`wHk${cE5$C?1$gJsM+;mxMVql`#HGg_$d1o_-XDsE_=30Hj5l U@#*}kSO5S307*qoM6N<$f-9qn*#H0l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/venonat/normal_gba.pal b/graphics/pokemon/venonat/normal_gba.pal new file mode 100644 index 0000000000..ae66984161 --- /dev/null +++ b/graphics/pokemon/venonat/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +148 115 164 +213 213 213 +131 131 131 +255 205 222 +255 123 82 +197 82 32 +238 189 156 +189 139 106 +139 90 57 +180 123 197 +148 82 164 +106 65 115 +65 16 82 +16 16 16 diff --git a/graphics/pokemon/venonat/shiny_gba.pal b/graphics/pokemon/venonat/shiny_gba.pal new file mode 100644 index 0000000000..88c346a27b --- /dev/null +++ b/graphics/pokemon/venonat/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +148 115 164 +213 213 213 +131 131 131 +156 230 255 +106 180 255 +57 131 197 +238 189 156 +189 139 106 +139 90 57 +180 123 197 +148 82 164 +106 65 115 +65 16 82 +16 16 16 diff --git a/graphics/pokemon/venusaur/anim_front_gba.png b/graphics/pokemon/venusaur/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7a1157fe34ad531eed2e5d5e64c536cf32714e6d GIT binary patch literal 1958 zcmV;X2U+-uP)(7Q0?G4Ud+EI_M%{)SO)NpK z>qCzeHix~$VMq?@&d5(>Mjkvw=!q;04C7rj@x^l)Xt0<)*t?N5A@?rZVFm!|V zVlZ@rcQfSZt!jO>zjB>f*s{S^*Y8!;tA2j}vLyZQ*}7r;{ypvw*AHLXe>ScMKD8se zGRBAN>wlE)p}S{SB%{PH`eE_5AzHTmqW|}%(X;K+dH>@#uy$Jr(Ga$1whrwJ#HYQN z_MzP_|8)QU{d+&vMx|6@0qhr;yWP0oJLvTcf$l^5FEOAUEfIfu^ojAwA0A^VJNSs0HVKY9p1 zpbX$+5k$9d+=FMr;Jk+G0T!_oH$~ULDuHN%qlY~yi>4F<8m*m|P*?;!?<3rZ1Cmj0 z9rkTt1Z3EGW5c&7#To@6L>JrJ=A{z$vDa^l?RcxPB#hgvR;wJgd?RI6q=dhO?rOp?R)y7lV%!v{tkfoAob zUrG=I0dr%+A|6;xZDnxLnYg zqA5B9hFNU92LK9-2&Cp0i#nR7>x#x?MklWlfK_Tmru_``(&Y56<=rBjkp@dg!J3yg6o!Jr6r41Dk(U1N*45=*~@zw50O`Xy;Wrm{Nj z_R1++lIQPAa?}WoqW^=p^1|u->IhIdKYPdFG38)pw7DCcFP!n&Ewl7ax@5`tC3B;4 z8Th~b!gllKKdyHghIDiP^{f3Ku32l??b7G{{=ut*tNmp>kWJ&!>+ZpoS<0;)P}H6M z(&q<<53ULz>>fyGA7+3D4~)`PK&uOb3><6Fej)g!69!6VZ=<|}d_PBtyaH&HTi_QP z0zB+&aY?w<3UPB7qt@a|uUQ34%*(d))S%pEx=A&8pk1O%jr z+x4|uo@F%*ZW;$WG>k*4C-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ETM3PtUfmQ zEICL6HO%9|UjgD*By)vAjT^2IeGI$Z3 z`zr_-A9ocN56F}gJ3$I|ISLq-2>D?IcO8h`XE=Y(1BSKE4~1C269o*Kl^^n7m^@$v tS@}W0R)+-)oRuG-c)$=I^27hT{sq)aY^76D5ib z?zCdXlrf89|No@s)r-Bfd*0svy}jPe&CPprIRF3vq@<*SgM(61Qvd(|M)zWM00001 zbW%=J06^y0W&i*Igh@m}R7i>Klc8?HKmdlT5N&93-4k$?6AX~c)Gia79Gzft>;xp( z?hy!L&w!z#7&3uaLk(i4D8xv*t68#<(K|7V*0-SU_|` zZo8DY{+m$^4bgX@{t7Co000CBQG>I&Sd#H`<;im(KX1jaGFg4ZAOHXW07*qo IM6N<$g8%6B^8f$< literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vibrava/icon_gba.png b/graphics/pokemon/vibrava/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..422ea2359366653d8fffa8249c46156161eed0d9 GIT binary patch literal 356 zcmV-q0h|7bP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H;z>k7R5*?8(yTf;aoqTG5YJ_+}e)jcVY5Fyh6S6IXoONsb`1nI$Xl#6Y62N zsY9JZ72~0|Dppag+s}ORrw7#=^_MOg?_npyxukPw3 zQ`kuFPtUybvHLuP{7c7pBJLN}mOPK#k6?)Wx^`;Q$;k7D_m{Z@)E)Z%jPnjDjQkwn z)V7`D(M!&`PYUNb4cLxNk3oR*HX)Z;iJskT(n}QJyh{ohK(igkp%YohIVNd9x9uj( z;4-G>$N)W?QhNN7x~R~B{YuZ#rzdyx7zCICGEEGHxT7zrQiylSpU-l?5QGdlp5nyg7r zh+eBAP+SAxD*$>SpgE39sjnNAssbtoRQ|Rjph;U4B&M|r%<_7zvTne(^&ICYIA=H{ zI0zyPAS%^sDKLY}(TV{e0sR{W5EWxX2{=DR=Sb;*iE|`iY@h&qMMK~%rL5(4_TK+4 z7y8O4I{b#wZVYhS?1g3Rzg~N~RxZmrb!m7ZG(6+MifQfs_~_GDpC9T2h5|v4&=KAe z0P0pl+&1>bfV-|-R|LQ%Y2Oq#foL=i;jkHlWrZ!^GTantrZ;STSQjN&t!3jcIPJ)YURO-3&ko z0?U>q7S+jv9ROT74M++*;co5P+eJ57+;Dqc9$SxO_PpjV~6~p?ogJqq95$ z+`kL%k6T)}Jj>SS?mv_t^vjHd)|*o?IkKnuo706%SzCk43UR1oNgs58{Ei zPrc|oi~`gR;(NAUn9TJsiMN8RMB$IBQG zzE=RsN(l`fx3-Y+V7Un9Yz=1~+B@pDl!EPnTg?F2LZFV`-}VM>2-vb)AUa#6<jh0HfeSeD)lz9C1Q_*bEawz{BhvkE%=#e@_MsmG@Qt@> zB4F)``8FiN8USSrZ1v`uiU)5|fu1(I5ul@Mnty!9WjxS@yhBa|__qxpzOgJmj|V_N zSPp@Q<3AffYy%X;13?|f4gsRyB5-?v^?5w#H(3lIIskj{rxC^jjoQr^K*YfhkT4Jk zE^V)QMB+m_h=|35zMTZ-Q$_JWvs*bpY-ouV@<#t-fcKI5|7rXK{T`0YcPX^E00000 LNkvXXu0mjfRtmjx literal 0 HcmV?d00001 diff --git a/graphics/pokemon/victreebel/back_gba.png b/graphics/pokemon/victreebel/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a92b61f7a205ef3168daa63db0cffcbd43e9cab8 GIT binary patch literal 752 zcmV~0|D4l(CMRKoEv`0A!RWNb)3Uu6J|PmQrx;t^*e*MY_fm zkzC_9U^vNF-;!{(cNLx>zB+}2l@syF#@d@%u-U~SeKL||ng82wXEBUr{cn{DA$Wf* zctj;0d-9(@qG%36NZFG=MG-*7u*5xGVE0BocmgcR31F$fe!$#ny~BKwrmQZ(!2|}Y zT^z%n^9BG&m=4(M0$`4Uqk&2XzO8l;#|wTkP$Rlvfxvve5V|1KfaSVK*aK8TH*DJ6 zNe%@yRtbS$5^HY??5``l!XB!eLf3UKhkIRM?K1^ra%0KTrMegz_nX&1ZaLCz>SCzx zz`hi!E2li>?&XEvBU>v#wz;WjfK<=1PaROF%$kT!QuYHQDQn^!$m{$i48z&8`~y%b zeHaE<&mT(d6n1(jxB_tbG^hco-^uDw2!V&d^+8>;x5k}RK#u!2>jVG#&E^b1!Ap|| z{`kECI0z^~lLwx6`%4F`b&;3u=p;bE``7{05dsakHh{s3fUqBM6fpf8fKS?}1$@sN zzw0z%NofF{2^G0Ova?eBW=oyfpypfC>i#56GBjy@W|1wK~WU^3Z3L=zVP71|uL83FlpI$aVFBakNgAmcSKnS25S=44=8 z8&o#J1mIf-I1ghouvD9sE$|s5B}iDN%|fyvKrikR>cT7gwh0=0cuWFzb)L{jX`9f1 i*)e8nkIrBA&(ZttsNilo?0000 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*IGf6~2R5*>*k}*!hFcgM;f>?zcaDg77OH&CJmN+9U;MLdY#%zXm zVjxSe!xA-17Y55gO{5|vKToz3r(&;EZ~qrR>%I4du`4?XP)#!c)=zVG6qd)#MV5+Z z9&6gwQsj!+SkbOtrL+<7R)Ro3-a)HsNXxnMk#+O>W`+^8=<3<+d{31D$nFj3_6*Vk zF4fn1U0UP>;6RG9#8!w@@tv!A`2p@4k>&Q+fhLDuEE;Mb?>j%rW1;nNN#khW+Tp4A zxZk9rVkT_o@LharVU_+1sDU4)$YBupj@J zV4qKJc>5K1&u|;;(+3aKV4rRgCb!-`y(CfCXul!*Cl8|i)7JGh+DGErkM`{_%3yzJ fEZQHob9wuJN}A!i+`GSH00000NkvXXu0mjf4%^PG literal 0 HcmV?d00001 diff --git a/graphics/pokemon/victreebel/normal_gba.pal b/graphics/pokemon/victreebel/normal_gba.pal new file mode 100644 index 0000000000..635eae0aba --- /dev/null +++ b/graphics/pokemon/victreebel/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +180 131 41 +213 213 213 +255 164 115 +213 74 32 +255 230 156 +255 213 106 +230 172 90 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +180 123 49 +106 65 0 +16 16 16 diff --git a/graphics/pokemon/victreebel/shiny_gba.pal b/graphics/pokemon/victreebel/shiny_gba.pal new file mode 100644 index 0000000000..2542072f36 --- /dev/null +++ b/graphics/pokemon/victreebel/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +131 148 8 +213 213 213 +90 156 222 +49 115 180 +255 255 156 +230 255 106 +189 213 65 +238 213 115 +197 172 74 +156 131 32 +106 82 16 +180 123 49 +106 65 0 +16 16 16 diff --git a/graphics/pokemon/vigoroth/anim_front_gba.png b/graphics/pokemon/vigoroth/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..cbf7519a07366e2a0076893493dab05bea9c218b GIT binary patch literal 1522 zcmV_KWi)ukZK|zCqgU!v&|NsAsL0Z*0G5=y>=H}+CgJN1*QUCw|-$tW+00001 zbW%=J06^y0W&i*Ma7jc#R9J zf(V*cW&H&qNT5|6He8hC_?i1=(HKNo1`rs+-p)S076Xjg*(|Rd&i>6yft!c3VHFv$ z=B`~^1gyD-&aJcgz!leh=d=ft?RmgwuIs*{UVXrS<+8xd5MYDLX^yhM(cN{A{lS0L z0Z6UnntSBv`x_wuDX>v$%iM9C*DbcmpXW@*`Y9myjpOKyt+UY{F>=3K__@e9n6Lw)<{n)x!v~5gK(>rD}=# zT}q{O*;x7OTeWoCdZ^Dy!T(~tR4T3FTFwD}|Eg3{c|Uz3$sx!5M{3khS7zHk24EBU znm^+G{tVcP=L@@}KlFVczNYW1Q4)$T0BmUbVT*Q)(l{mpV6uKhT;=^{a^C>}d+idy zBs5skZ81W{XhncJ)-+7FECOAfH9~-1<__n2M7 z{)a>W;9#r3O#6M@`Sw)kCpoA$yPVtVnQbquj6EtG`5|DkS?gOm_+u;DTW}49PVQq360#B!UEgb@1yMKZJnNa=ozM0suM3Jl9`mt2_(bSMXIUYiSGNtCZ2rhvlbKaAJR^@M<=fjj_f zuDfmlrICaod7y9V7HzjK)uO;NQh3}Zbt%go&X9lnC~KR^lBy`VhXTd z25l6OJDVE`AlHcjGH8Q1O^du zghf9V1O#t`6j0;>;zR-hz-~PWd%AUOt{oR;IFp>P3#SwIRR@UiZ`rN5QvF$xGo@Bk2Mt+=ADprLR{3fHnM z99_kPp*%srDwMZ`5dQ%1btE8ofAtDP1d6Jvu0{gFowTbo#Df1A3kXVW4}e_(D8>SU z04r;a)Ugx`2o6!#%#`@%VgadQ3Zj5OE5riA0Z2D>hAT4x(EzA|fIKAW7WqXr1okrL zb1~epn(nclxkt^+!8bv`J7!?{m7X=tO5qfN-Ly7h)Gxz(mnHvK8w;H+XdW!^f) zZ(RdP=rUWE0Y$hscWRmrftpe+Et+&P*2eI~MtasCa2cp^u`}itAn^x&Gt-Nczj06K zGJh!Q`UTzNKvU`u(;sRdbSuD@%Tj+h2`W!d&q%<(qRbxxGCjq2LIsfegRr<#e~`8R Y0EVoHOJjy`oB#j-07*qoM6N<$f(S*p-2eap literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vigoroth/back_gba.png b/graphics/pokemon/vigoroth/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7d806e703c045d373dafc55d2813a4431986f720 GIT binary patch literal 589 zcmV-T0_KWi)ukZK|zCqgU!v&|NsAsL0Z*0G5=y>=H}+CgJN1*QUCw|-$tW+00001 zbW%=J06^y0W&i*I%Sl8*R7i>Kk}*%hKp2K`fW%1$CKrDLITDSFF*Gr8VKAkJ#YHHC zOC#+yrU`=)Zy-@e!!O`E7)I&f1a-I{qan`vU0d2~Im+PR!mZ!a_kF&*77Cm5zi0bp z4X{O@*ARQ7-TaEN`}Ua&OsF@`1w86`xg|sDdhhE1FVA8K5;+m2w(3!LGFcU&b_i)T zsq4x#;o}D3r{AQLR|(J=n8BQ|DRrd)>x6TRn{*@ru4jDQR&|U`N+p(B(9f8uVWlYp zR1Vxj0q&wB8E_E*J^(idhQy&rVxUG0$rhz>M^MCwoUdvi11$jN%RtEv0UQD+PjUr* zOWfh^>`mT4xFc+VZnHoX5CUCPHM4u_;e6m@1MXTmHM0&;12`J>p9aR+Efx*nSgsd# zzAw`os;ZVKl;LO69>sYJ;ybYdE<<`z1X}!&Nup5Y^@2k1$abP&ptN66ob!e(5S2%O zrRoMc)-nNoJ0^T=eWA*OkO2$Kgb6cRDA9PmG00000NkvXXu0mjfL4o;P literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vigoroth/icon_gba.png b/graphics/pokemon/vigoroth/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f8808cde3792b99e50e69a0538d5ce16de8fac39 GIT binary patch literal 358 zcmV-s0h#`ZP)DV$JdFL=673<3&Hg>y>)j`!s_GLh;}mdWZA(I*H7x9cbD`RT zxJ)}hLmGwx==2u&kfH>VJf3pvOX%sG*BsZfK!Vo9NdbwRD>AzWQcD7dgSLhQ?IF+P zHZIGgR5U19mC<0Va+>_Z8*aEH!91Tm`;+yhAR*$0S&#@cOoGOG7o3Y>6%>7}f?`+% zQ82S05HO1%3T76Rb_YSaGcmX~FzN`#TdNK}y#LV01NH2XVZ?ozG5`Po07*qoM6N<$ Eg0MrID*ylh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vigoroth/normal_gba.pal b/graphics/pokemon/vigoroth/normal_gba.pal new file mode 100644 index 0000000000..824efe7113 --- /dev/null +++ b/graphics/pokemon/vigoroth/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +74 123 164 +82 65 32 +115 49 49 +115 82 41 +139 106 65 +65 65 65 +131 131 131 +205 205 205 +255 255 255 +139 65 90 +213 57 49 +255 98 98 +230 230 230 +172 131 98 +90 90 82 +0 0 0 diff --git a/graphics/pokemon/vigoroth/shiny_gba.pal b/graphics/pokemon/vigoroth/shiny_gba.pal new file mode 100644 index 0000000000..adc647979c --- /dev/null +++ b/graphics/pokemon/vigoroth/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +74 123 164 +82 65 32 +115 49 49 +115 82 41 +139 106 65 +65 65 65 +205 148 82 +246 213 115 +255 255 255 +172 74 0 +230 82 24 +255 164 98 +255 238 156 +172 131 98 +90 90 82 +0 0 0 diff --git a/graphics/pokemon/vileplume/anim_front_gba.png b/graphics/pokemon/vileplume/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e4fffcf76be33cd2ffe086741058ac47e4112438 GIT binary patch literal 1085 zcmV-D1j74?P)-roPTy_B@YbCje~bAup3QVKorM4W(ocu$RE&w?vYydOpcU4AP02G=I2ag zDcq3CQ&X8gpjGo1R5DVx7Aa@w)Cs5A111VmiA0e5?rg`u?o781&6AK2@8fsx-W~pa zHSNEPoiGe(MV`Jj2myMh%p1lbaasThV&~X!2vz{-+F|%m26}{Ck`|nPfCtks47*r| zQrg43g?;w0mT}n55jzyCx9wH;zFx0~@5j{%#yOMsyAqoI0N}cZWh3%y=4N@h$)Y>9Dmh1T#uM}Mu_pXEBc358Kapt=25NmioW3B|y z*RK18BEWnkWQ`)=wgs@jJ|(kQizUV(RtP0MViO23b~}8;UC8#S?K0jY_V3F_sp(VR zz|6mvPZDE;-LtvxZ&YtOea^>>Eh_Rz@Y7PY7!jD9Zv!?}z#KQAR{(*>cc|_$aJ{PX zTJ37698m<|IaU?WYE>f=vDlJ-j_1e*w>pCa%J_#S#%ra2$ccN&KNQ5h>>mo^F7Xd}anJb&VGj!8p7jrrJunO6UbF{hLELld zFEq8E7xz|9{iy&7;+|7~RBDO1XVpIp3*uf@|AM$%_$l0ooVZKGf4jJAskjF>8j}Et zxCcS7&^<|!+4m=HU#y2RVDzN^3Si>5G5PZy`Uf_a0*ov7NB|Q_llp{3;rowlAp^!P z8_{!a52msea1GRMA^?T1r1n6eD;#hIpb(~YY*Cop1))8N3n(k-S5W~apiPrOs9r;x zDDTM(PPE2M-roPTy_B@YbCje~bAup3QVKl(BN!KoExMOcmZiq-Vx*;m$KLMLH@m!vk=N+_;Js zySYqekkwHc&+!0e!n5E3i8s5tJAnb`0W#T!;r>tm?%wTPrSd-x#!*c1 z7d;LIMLd5`zY#hv-_t!WQ1=A*hb>6=ekf4@)dB87)h+>Tl9li=qCC4qWOQ*aWOSes zHfZY_Wu|}Uy9P?H`>Y3QA5aF6T~7mF-e%~ip%B!C|6+6P0z>|8#0H+HbA8*+Ao#Nj zHTE;FqYN;A0~AXDWYD?Q0PF#zgEaefp|*iuJP;%zBIKd2K&f#F9K`~9Iq8n$U>@pb z)d(z5WqVkYeuhgY2Mq*ckj9|TU4xXz4N9?WKvkbNHAax%AMrD8IN=Ugq}4h z$AQM{Py+fY z(Pf0ey3i3TwWn!ffLd5o7>pR05g{>s#;1oQF*VeHAD?1(dYH}-U(@I0cS2!1)t8N% zk6)jYG))s7GrJKrdmYIjDPxA^PFW(}=#RK1|NHR=-&8>Zl2;@@00000NkvXXu0mjf D;R|~S literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vileplume/icon_gba.png b/graphics/pokemon/vileplume/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7009048c53e7eb931910586ab803d17086c5eac5 GIT binary patch literal 410 zcmV;L0cHM)P)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*I7)eAyR5*>@(y?m8Fc1b{J%RL6eubc|Th4=vHO1P}Raw#(DD*9y zp+mRgLC{z5Qkz1MGr5LBuC|b3$%I0;lH2a*&YbO!kpEqXc#7JrgbwFEJKzf8#V70_ zA3n@o58$?XFkP}r&L$HsFlm7arm}NE2a*?K&*AJQ)?D&-!wc{$>oVQSO_}+C0f2z1 z{B78SXaMs0GKRzA_CYBX_EcAcdJY2icCVEVMwr$*-Z_o|20i(Fs&;kw&}wf?I6zE& z+>^LyO>VXpADvk+bHctYm{*^$F9$|kz~mN8a{-gL7R+*L`N`>;SQa^M1qW2fccY;9|E4ovjrun6#xJL07*qoM6N<$ Eg6wd(xc~qF literal 0 HcmV?d00001 diff --git a/graphics/pokemon/vileplume/normal_gba.pal b/graphics/pokemon/vileplume/normal_gba.pal new file mode 100644 index 0000000000..96d98b0d94 --- /dev/null +++ b/graphics/pokemon/vileplume/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 230 156 +230 172 90 +189 131 49 +255 172 131 +255 123 82 +222 98 49 +164 49 32 +255 222 222 +255 180 189 +148 180 197 +115 148 164 +82 115 131 +32 65 82 +16 16 16 diff --git a/graphics/pokemon/vileplume/shiny_gba.pal b/graphics/pokemon/vileplume/shiny_gba.pal new file mode 100644 index 0000000000..b0bd4468f9 --- /dev/null +++ b/graphics/pokemon/vileplume/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +222 222 222 +255 255 255 +255 230 156 +230 172 90 +189 131 49 +255 230 148 +255 189 106 +230 148 65 +172 90 24 +255 222 222 +255 180 189 +156 197 148 +115 156 106 +74 115 65 +32 74 24 +16 16 16 diff --git a/graphics/pokemon/volbeat/anim_front_gba.png b/graphics/pokemon/volbeat/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..945ed140054c309fee6c15197da18380cb120827 GIT binary patch literal 1215 zcmV;w1VH4CJTK@MC@*BKAqO!{Wo7!Q)p*e$s1 zMN9YtV9FnWOe472LoFj^Z(OE$FtL}uCy^KuXh*Ym_RXG5Xs}Z+B)f@7Qa!B+8GmnD zWT)?qO*SzeZ7zfa%qy*JJLK9Y2k|1M+3%s&Ge_5FSE7hN~}priM81a<9u6=Rou zHDTZk-(*a$X&<@HE)XgAK<5G0IOUKQk)#$TI^lpUnvq0L;ii(*R6N z7q(CLI`p{q_|hK+;3DKV)Z2?*$D_w{kKgpWn^9ma==CO*x6SSD1@(yRw>O7YkUmJK zCo_t+?fES2ifNkBr!n?cZxSge?_aR`8q|xCy9Od7>jB z;(*2q|4W( zqyyJvuwMgQ^-p{qHmRe0Veu=-{dC$LS9)9{!WY@Tt}=2ECaz1>jB%_KrlcLX8GyQ3}he}Fqs=Xzzjrc5=_Rc zyH*wR#|RCi0fKSV*8>h<29hGG&?R*Q7{dhjq(9{2-sK`@yg$fO=8~#ioO`F2zAy3zd8)FcXntQH zME(FhmJ~F9B@hCCkf+KB-DeAIiv7VbZo~Y41cDRe4+dgD>A4-}4+u>&peyu;Bu->i zG`))MmV6Kh-Y*&soBn9ow6^@8ZJVnngPjZm?pU@1KS_QnHU}WxnqZhPVS;W0XI@Hb&?{LLcQ1 d@%r+=&tITEh@DYt8_oa#002ovPDHLkV1i8rH!=VK literal 0 HcmV?d00001 diff --git a/graphics/pokemon/volbeat/back_gba.png b/graphics/pokemon/volbeat/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..217b966ed35556be520cc9167887a71d34e683f0 GIT binary patch literal 702 zcmV;v0zv(WP)K)Uj^bKo|#b7mz?@GB9+rIA^H35ZOpg+r`1Bs8XbE z^aW7Qd4SYrj}$zV?iYqe-M~X5H4FBdN9al)A(FFox_)7jPH_z;h0WGyeq-6BTygIotx~Vq>+#RglYD5pWbn~IGL5rm0INtnslrPu=t_z@WNIT%cOgC0Gt|8q``n^K{X)N~L zG%kQXV=Pu*%)H&qty~U3?UsNVOMrUfc?ij#uX_ap0T_TDMylF*>3RO_QZdtlI0YE1 zd~}~&V2q9v@J!PZ(8IVd#A^o|2yM3*#If7~@&t6Jrnv)}CMwjPZ4U8BfR1g#Slbn1 zUh#za#i3k6<@xq!QDe|>Bw~J5g6=-x*Oi8uOg{zLm(hTwbPi5sg>B;O+q4mq!jJ&x z@|M8?+AYz`=E@a>NyX_Q(3Vc|2Q%Xv04l(V=S~I%Frsh^3E&Im+Jii>myqA^9pGDs&#bzc1+B|9 k6-&Yjo^4kDoBxyZ7c!b9Vc^`FDF6Tf07*qoM6N<$f*-(4xBvhE literal 0 HcmV?d00001 diff --git a/graphics/pokemon/volbeat/icon_gba.png b/graphics/pokemon/volbeat/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..849715d33cd67edea320732e06a872afda9bc483 GIT binary patch literal 335 zcmV-V0kHmwP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H%}GQ-R5*=eU>H*1{RdP&U#LHje1IhKCFKAAfAL5HU%!5@bBRY$ z;a(RXhhz}{_waI8zj`E7YhupCJugEj`F`fi(HG_A2!YQ&XU=rAr{^PV`E#bDqy0HT zfWPmBbH~3jgaE^jj<5aYY5(Ak<&*!>@&8%gXFIrxckllT*8MlqL+E)L^6%LvB_#jx zwZ{K@_YOG(JUZHt`3!vTT;AoO2r#^R_kaNvp!0_)7zW7!VGA@lAY2bg4#=?&P7X-P h1Ckt&{Y&rU008(mnQgFjkYNA-002ovPDHLkV1m?)n(P1o literal 0 HcmV?d00001 diff --git a/graphics/pokemon/volbeat/normal_gba.pal b/graphics/pokemon/volbeat/normal_gba.pal new file mode 100644 index 0000000000..8d2cedfa8d --- /dev/null +++ b/graphics/pokemon/volbeat/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +222 222 222 +139 139 148 +74 74 82 +0 0 0 +246 131 115 +230 82 98 +205 57 82 +139 49 74 +255 230 82 +222 189 82 +98 74 49 +164 180 197 +123 139 164 +74 82 106 +255 255 255 diff --git a/graphics/pokemon/volbeat/shiny_gba.pal b/graphics/pokemon/volbeat/shiny_gba.pal new file mode 100644 index 0000000000..106d373cf7 --- /dev/null +++ b/graphics/pokemon/volbeat/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 148 +222 222 222 +139 139 148 +74 74 82 +0 0 0 +123 197 255 +90 172 230 +49 131 197 +74 74 131 +255 230 82 +222 189 82 +98 74 49 +205 139 222 +164 82 189 +65 32 82 +255 255 255 diff --git a/graphics/pokemon/voltorb/anim_front_gba.png b/graphics/pokemon/voltorb/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ef550558b8d7f7f7b0b48282015ba8e60bf8d7b8 GIT binary patch literal 531 zcmV+u0_^>XP)O*@}vFIJ=(A)K6kQ$sYXKEI4LWUoEGjv&c%mN?cL zATNsijR77sCFE6wcgzEI3nWERRQ8A+KoMB2m?w5XQXt;401$u-Fod`b=m50c7^bij zoj}_we+Hm|5@GZra(tnGl`G?`xb0RtSR{s&}>jYq(v4H%TmEu`y>M*-@> z1_Vh3fa9R3)x_cpafR)V#JpDO+z!a+_A3~rtQY8pcVdiDG7J^-kGb?nBdO$>-4_F& zfU#l&gm@=kDmCYPA!eaelTY5KE3-M9@8sm<^bhnm_CwOMA8vFU#ck=Z`yrylV z0X@@XPm6WH?FaO?Wm~dw|&wdqA=K!T$!N?ZV*^v>!sZADoKp(7002ovPDHLkV1nUD@=O2# literal 0 HcmV?d00001 diff --git a/graphics/pokemon/voltorb/back_gba.png b/graphics/pokemon/voltorb/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c379b4a8bb57047d3387b6214ea317d8ed25174b GIT binary patch literal 475 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0J3?w7mbKU|eg8-ip*Jsb3{r~^}-qovH)~tyN z3i{9R9|f(M^FK)8nIpqhLxyGn5csur;%uN^#*!evUbVRN_!r*@aew^e%>_N0GeE9Fiq*Itsh^;~P&nxw8H%mrn$xc+;V2kie^ z_w$`i%LMO#*-A^V+@5K7PNG91OzDKg>cOG@M|PHz}X5sPn-q|J^jR8_@}_FFoclPr8&Q%(9uU=OAM*s{>=r ztp^v`9yGE)WSD84prWI&eY=@NfO6CZhMnH(W)hE1KV-SG%7hCA7U z{U6WYS{gZR>N(B|Ra2#_nq8Yt#2Wly-LPQBjs%Hl-g}%olsyBsutvVjy&(Ega7l&J zgY!!9oX;wp7BozF9dTS_%0ecmeYd%ED!9%C&S+ayUUzc-d47HtPrXxJtB(UioWax8 K&t;ucLK6Vo>&LnP literal 0 HcmV?d00001 diff --git a/graphics/pokemon/voltorb/icon_gba.png b/graphics/pokemon/voltorb/icon_gba.png new file mode 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0000000000..3fb9878d3c --- /dev/null +++ b/graphics/pokemon/vulpix/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +255 230 180 +255 222 148 +16 16 16 +238 156 74 +205 123 41 +172 90 8 +255 131 74 +222 106 41 +189 74 0 +148 49 0 +246 189 123 +222 156 90 +197 123 57 +131 57 0 diff --git a/graphics/pokemon/vulpix/shiny_gba.pal b/graphics/pokemon/vulpix/shiny_gba.pal new file mode 100644 index 0000000000..7c52191ab9 --- /dev/null +++ b/graphics/pokemon/vulpix/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 180 +255 255 255 +255 230 180 +255 222 148 +16 16 16 +197 180 41 +156 139 0 +115 98 0 +255 222 41 +222 180 0 +180 139 0 +123 82 0 +255 255 98 +238 246 0 +205 197 0 +90 74 0 diff --git a/graphics/pokemon/wailmer/anim_front_gba.png b/graphics/pokemon/wailmer/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f1032d0d1534dfe203487ced3990cd5131653e3e GIT binary patch literal 906 zcmV;519kj~P)YGO)*i=4E*#sB~R-et4j00001 zbW%=J06^y0W&i*K2uVaiR9J=WmcNS{K^TT-Qwg!S{ZUAc6gzXpweDC*I^z__^%@S+ zI?KW}64=SX6(+@H+bg07fizcH1xaU>B6@;wTpvsw2>37Lo7pv)9oMr?;#c}U`|gY= z--FP8{?&Orf%&vOpAg0<^^?8{jP%A8*9g zA*nT3Isjm^!t%zn##mzw1XVL{5K6NGI0GRhU*Sz$N@WF8w}6HqcM9t;kbvr-G{CaK z&lNO%NC{C8QP zM?qR}{5yvepXe7g8wd?(Q>!TB{1N1ReWn33M@#+m3#oY;Ft~OMph{Uodqd~$-cD27 zcCZ5npdQoCQ0_#lr7h>_a(VAK@H}ngftRb*YANUYk3rWa^ay?%b?ut{_T4I*fe_sz z<}v2#z_fFg5pw|mVb2-O{kEt4{n-NIpK}g?P>0ZSROWH3JzOlls$2mTJx8UG^B1jF ziw_jgtt95(>mBD2hXEjtVi+363Tclg6-hd(@fvcn(1FRC}& z`~iVKuv1x3><`EqXUo6XACP4~><^Z=%OA!M`vX03X+0ooH&A+@1D5~R2`Dy3JA{R8 zmzc{v=MM?8HXHI6wTS5#2C#69nBe@@n_cVMU+Mv&`d%#$KH9dS2Z3Hu?kv{JU2gx> zAH2E_@VjieFTZ_plpfG3>uEqcny0&aF%Vt3ctJ3jW;xS##23RMEN8j3q#l4^cskJO z^K-d2XKFKp9)Mspv{TBZxn9jm4?GZzntqKOAY3?MUNFiL*MV06h2zm%Y*(v<(QuSQM=Hs}xZFAjIuPF8v`|`$JKI?hj&%AN=u$ g!dTAUAO8FK1@oJYwhzgz6aWAK07*qoM6N<$f{ZGk7ytkO literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wailmer/back_gba.png b/graphics/pokemon/wailmer/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..9ad9f21ea7be2cdfd455dde64aecb79ddbca1678 GIT binary patch literal 347 zcmV-h0i^zkP)YGO)*i=4E*#sB~R-et4j00001 zbW%=J06^y0W&i*H*-1n}R7i>Kkv$HBFbqav?!wPfi3xkD#6;WyiIE(PE5U^1%he=l zX`8-UT+8E(_ zt&IUNB$!BFfC9kD-w!>2KnPE9?r;0$3&0czt{u$?$?6LXVL#FVFJJH<0AH~Oy>fti zl)6g@;IKUni5|AI@8+gO!dMS1OOyotu9W%_3Vfhd(4$2DTv!WG6=hxTg9!Y>W#HqS t0Id-u0GR+y%D^W8#t;=4ASdT;`2f>NXhGZE-6Q}2002ovPDHLkV1hMJlPUlJ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wailmer/icon_gba.png b/graphics/pokemon/wailmer/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..16ba6d4b98a5686654e47165ae74ea7a727b1d74 GIT binary patch literal 359 zcmV-t0hs=YP)DV$HFKmSL*l0%-5G05vz>o(jwYwo`(`GT1XZK@GAgf(c2251dJn0 zx=MuKhrv4}ga?cnWda)x31GJqxSx#wl*dw17YAdCb$_;niPa>Fq-_8I002ovPDHLk FV1mb6nLhvk literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wailmer/normal_gba.pal b/graphics/pokemon/wailmer/normal_gba.pal new file mode 100644 index 0000000000..4e56fb42a0 --- /dev/null +++ b/graphics/pokemon/wailmer/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 172 90 +32 49 74 +49 106 156 +74 131 180 +98 156 205 +255 238 205 +238 213 164 +205 180 131 +0 0 0 +156 139 98 +148 197 238 +57 82 123 +106 98 74 +131 139 156 +180 189 197 +255 255 255 diff --git a/graphics/pokemon/wailmer/shiny_gba.pal b/graphics/pokemon/wailmer/shiny_gba.pal new file mode 100644 index 0000000000..296519dbd4 --- /dev/null +++ b/graphics/pokemon/wailmer/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +131 172 90 +82 41 123 +148 106 189 +180 139 222 +213 172 255 +255 238 205 +238 213 164 +205 180 131 +0 0 0 +156 139 98 +246 205 255 +115 74 156 +106 98 74 +131 139 156 +180 189 197 +255 255 255 diff --git a/graphics/pokemon/wailord/anim_front_gba.png b/graphics/pokemon/wailord/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3a9ae255cef7f48e5cab7ef4371e7dd36cd67802 GIT binary patch literal 1274 zcmVJ4r!6l)g-bgBoH}cY3fCiF0yHZUc z0W#aaprzcU$Y6vj5O_*tYLPNDv9;tc1Vy}gi31JouLuwXj)DU0`MMNI*=on4&G9F2 zp8KA2X&UcatNn+no~H5Pcy?ny9qsS$50d02B>fTkF#v$v)IZ>Ul3b(lRSfMoF*RKQ zUdDxXk_@XvJvQoG@h=r%6vx9TicX~eIF2h4kK?1hQmRSFlM?`bs!SO6l(G;3;>l?e zS0w6#9<=d;2%1rnxb=f_EM>!oubQV!4Bi)a>?z*>YEw2nE&_e!+XOhU$C(iCZ)aJ? zz*C#g+sac$Vwf%9@;@7Z+qQ!@A&Kk?o?V*CU7mUjz$U&(Kz9NY1bFUX8&3PQ1WKe- z<`4he$2OeyXbIIk8>Z>!*=#l~0C3hv8JwXuSs;I!ZxPS{STaMM5im(p1Hk;i^%RLf zS(^*&e}Y|TjSWxvEBH$lSL0^(#i$v)AW(XjEn3+0f61+^vjm==M+#WC7)9LIHG zjd6aDzE5ow0Z3aG{IUhapM`5s3ndt0;=^kJHav^YV^_luCU!IZPykv&B#eyP(puj& zGcIw4NZ@%bKsb~CvPK{hdP%fAPwNM%T;!c&b0=65L7??+wva~=C@l-ZIgLce1Bq>T zDL#|L+_&VO(AT(28x>%Q*(+XSj>>#q2T-9#1^wOf-M+*-Xaca;0Zx~I#`m77$Kxqr83%E(4!l+iQ zi{FaKot1vA_VpWiocP4_a>Nud(hB^2bVkcy^HV6<2g^ zet0&B&}PW6qN4eWH`fo2xJ}6YB+n0-cym2|Q~;XyMdEfEi?!YwC^R$lL^Qo74mkw# zkB`NhM+Tq}qSPt5|5cnV#9K#?sLlQkz&8L)t`3*xjS0lGeRlWZ2>Y`s8wvn0-4Pk% z-4kfeSmQ)dy5P3&VStkUG42^N;`C+-J4$-?Gn5Xs5k=4=Pp@HU&Cc87qBZy_v z4R}A=Kj()q|3{wllQ8D(c_F!Uba9>&=6vqSY>aMhT$i$3F&+RG=H3eF00^;vBM|ED zPOU_EyhCpA-R)8aX?v`&3;^3D@5KDzmGi^BTB%m^!;1M<^TVn;V}3AKS(6_m46Vrz kB(gR?fXJ8p@b9a?0NbuW_~#P7H2?qr07*qoM6N<$g1@s~5dZ)H literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wailord/back_gba.png b/graphics/pokemon/wailord/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..7698ba500d8398e226e8b04c848c9b5afb9a3d0e GIT binary patch literal 368 zcmV-$0gwKPP)Kkf9F3Fcd|nG0P19hba!ZF8hJC7;L+Q49C*1nMGic z3l0ovgPHj!=WI8Q zH@2k}O$ihEl8uP#sH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7e}oLjG18S+{^s7OL)X(xgunYHFO2zE*Kn z+f`>!Pt78ZIFI*2{e|PUoo;FtalWkpaD-KL+!szaQ^KF+!EpxoK}Js_zI}U?MiXL5J}I?4`!W94@Yr>a&M?~O4j=IG9WBX+WDb{dP`s)* z7{#MvoR_krfI=?cnRMPUb>NO7B|%yLK+lRwpYz*N3K=Sk%KC>v8uSkLr`!8pqD2*t z*cCk}MU(poTr{!OL1&Wl51d&kqEpX$IUtRS?3{lX#R++s?<>v1xeW6IkcgT6+rBl9 zEy~XO$H_Q)Z=Tg*Ajh#qw;hA7Gx&?JAH_pMalZZLPbgY11XA3DN5Z$AngxiAY9v6A{ZHeSXm$#ZVtFsFz9qo1f#OZ z9|*_`hMV>WbeNex^pZ6YDSs#|@&{MAc)Dt!GAoes2NxYU5wUbC@drHr@1PIFgi4h+ zH&XtPod04DAkO9{qT~-t#P74U9yNub2=WXqAQ)OwvL#srfB00000NkvXXu0mjfV?F=x literal 0 HcmV?d00001 diff --git a/graphics/pokemon/walrein/back_gba.png b/graphics/pokemon/walrein/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c58df92b0bca81589f2983a3b5c396ec7fdf1fd0 GIT binary patch literal 727 zcmV;|0x127P)00001 zbW%=J06^y0W&i*JRY^oaR7i>Cl)Y}-FcgL9%ycVN84b0z*S3JftR7P90sJUk3VSHf zsdHb+Qim)Il}=s~6wJ(0$S#Pv{1HvbP9LDXfMJ>Emq*l7j^pZK#J?= zMV;14l|}JM6ZDME6jWCh>kJ{R_UCn_WJ&U~z$@hdnUDz8svQH32TIveb>h$)03gkG zgojA&^bP=R*0%NVkR|{Op@sksPB4eGt#8A8y$%gzWBn|EMc9Hh==7s-VKRY%YC_#Q zl(7RO+hZm}-E`Tx4lw)_%-p@}JRnsg#lClt!rC@oh6SKS-veW&vA}>!O*;VZSvPjz zu!Tw=b#1o>4kDG}Yj1$)vH89d0Ja;qovLoEbCOAUv+?iX9Khtw7Z04AAjs;LZY_YG zp5C4SvR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5fb;xZ-9ukAmmb}L zT^lXfYBx;?#!#StBf;I320V|_NVYg>!ME)S3v9HvBqaQ*gU#tyjfA`g5{NMT3;gf6 qd8(SgIiVtq8X4i5De$@e?fL^Hnp@DV)5g940000DV$FbqX`0`nF@cSlCIEc9wE;;b9Qw+KA7v!@I} z?`0Io&_xKK7-*I-E=)Ozmm&o^6xGHD{x1#>;7>i28HoAee!+MExnZ~z!F+XvSUQS) z0L=Xej?C5!AbJJ;7w`i(+A;CQp5*ftjU79XITAf>gh@f^cSO%k@3_-a+69VDT{;Cg zB!r8at8|zZYg|!RT{>0TE!(1=W`I*G=f(OuXVpjh@_w@bAvF6tFrev+lyWlwp@V<& zelEVR~0~+W9NOWOHF4%!PsMdtn~%;{wXSnnt-D RPmcfq002ovPDHLkV1g&*o{9hf literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wartortle/normal_gba.pal b/graphics/pokemon/wartortle/normal_gba.pal new file mode 100644 index 0000000000..b497d87b3a --- /dev/null +++ b/graphics/pokemon/wartortle/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +255 238 230 +255 255 255 +230 238 230 +197 213 222 +197 49 0 +205 131 32 +148 98 98 +106 74 24 +246 238 139 +222 197 139 +189 139 57 +213 189 255 +172 139 238 +123 106 197 +82 65 123 +16 16 16 diff --git a/graphics/pokemon/wartortle/shiny_gba.pal b/graphics/pokemon/wartortle/shiny_gba.pal new file mode 100644 index 0000000000..9694dfc733 --- /dev/null +++ b/graphics/pokemon/wartortle/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +197 238 197 +148 205 156 +197 49 0 +131 148 65 +98 115 32 +65 82 0 +255 222 115 +230 172 90 +189 139 57 +255 238 255 +230 213 255 +180 164 205 +82 65 106 +16 16 16 diff --git a/graphics/pokemon/weedle/anim_front_gba.png b/graphics/pokemon/weedle/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..2334ea600402fa8a573277f23d085915e87a46ed GIT binary patch literal 686 zcmV;f0#W^mP)n;5f`e400001 zbW%=J06^y0W&i*JEJ;K`R9J=WmcMG-P!xwnOsyemsxwh3fOqD0&q6&mlIn~)ig&b9eC-u-weQZEydiLG7wuSV0m6UnhF;23j=73EaJ$wKh?@0*_{U*wafa3&! zRwIIj4!~e=1>oZY1oXpraTDb?r)QrC2qK>V#EG`ccc+~m?J-0QeQY7F)Dhet{*_V2#liKih0Sg}%%Lewv(^~*`011L8wanm2) z_9~`#JGoFl`k}GjvZ#`tw6VTOks?L@d;W?bc*}_;f{?{12&G?jCD+rtMUu=PDBcd& zyJ!ADiCAFf4+I1;1I+w^x(_Q5zx~0oeP)fEKTz*xfSf;2|6&Xy?+-TkW<5wsZ5e6Z zf59J^=AQEhyB(o+5qW=zR{8^gT<#B~2--2{{6S)%|KT}*Ai+4e(15%@giXy*=KUf3 z!nj<{A4c^d`=T;`7>vdPb#7|!>#h3v^r<`KA1$TQQC$@q>nW;2#m4#~MgBZL0na)C UjJsm9)c^nh07*qoM6N<$f*bZXi~s-t literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weedle/back_gba.png b/graphics/pokemon/weedle/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3180bf513b6cccbde0753aeba2bb3d8c1f5c9606 GIT binary patch literal 502 zcmVn;5f`e400001 zbW%=J06^y0W&i*IbV)=(R7i>Kls#_3KoEs3MKUE?kdhL~IRLSIg>{vZ9jBmhV=sjZ zP!w?KKDj`Ciu7rcmYj+vZk^f10wms=DoVo?F8n^fd9y$EymS3;MVk})pc{xpHxLPN z?G$~jwGe}`Q_rNNQUor*=rX1wz-*=cdK=-_Q*THcf`nuKUSZ51E@VUn4#aOJgsS0ZL z*)*C1!UUmxyVO;)!VxXttC&0FaK>=RkDinX*Eg`Z5Th+Xd0sp_0WUKLZu$a&p$%yk z>K1J^|1 zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*Hl}SWFR5*?8l06CnF%X641j$X@!&(h!<~)J%2FeDz6h>jI1!Xkd zn-o?SBED`u-u#3-qMwtEV6g!$6W_3o+bIizHSaW`#Z(o0;_0s0gIU;3eay^mXk0m6 zsUWc`VT0g!kcNON*NQC^+CDk(vNZp^(7fTV_xh&51l-aCb1q2iA`bL?_}}mO@W)p! dG+5|kdIHyvXQ4Wt=m-D+002ovPDHLkV1keCdSL(n literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weedle/normal_gba.pal b/graphics/pokemon/weedle/normal_gba.pal new file mode 100644 index 0000000000..da76f37946 --- /dev/null +++ b/graphics/pokemon/weedle/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 205 205 +131 131 148 +255 230 123 +238 172 65 +205 115 16 +139 41 16 +255 230 123 +230 106 49 +205 41 0 +139 41 16 +255 238 180 +205 156 90 +255 0 255 +24 24 24 diff --git a/graphics/pokemon/weedle/shiny_gba.pal b/graphics/pokemon/weedle/shiny_gba.pal new file mode 100644 index 0000000000..ea331921ed --- /dev/null +++ b/graphics/pokemon/weedle/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +255 255 255 +205 205 205 +131 131 148 +255 255 106 +255 238 65 +238 180 24 +139 41 16 +255 230 123 +222 172 205 +172 123 156 +115 65 98 +255 238 180 +205 156 90 +255 0 255 +24 24 24 diff --git a/graphics/pokemon/weepinbell/anim_front_gba.png b/graphics/pokemon/weepinbell/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..4574d1c5d0b5caa3b26d37d6d95c0ad990d6ebaa GIT binary patch literal 1099 zcmV-R1ho5!P)p00001 zbW%=J06^y0W&i*K$w@>(R9J=WmcMJJ#B$Wcd3h)lCXu^^OKyiJaJycerNvmuLmtGJsprz5zt+GXq zf*^nymFMbKx790K0{{mI-P*c~omuzS^l`Wt0XmRFgwC|*Yb}h^63tx^=o4~^&PWGC z?4*4qfDkCL+JD>WY+>g#>6-@#RaH&vba0me%}ehuVaPrM4*yZr4g+AyaK5)my96Mr z_RHS@^!|l+=Lr?iWdiioC(qsjKwZ}je6d24&oFzUX-@$N10J5ZrQbNvVX^g+kO2dH z5l~o%Wv$PEBa#wBaknWUXX@PnTLc3Lmg>I;Fo1q?o#H1JQLV09Hb` zHyp>=DgAp$O6ZpDIBOLEqCgnt=I4qI&|`DjZkyI-RRQQ>og0Q}R|4qVu+GgoKsh%| zXi=Hxgk3!XCn&AW-^5M)gjg!MR>fdPNhO zglmCG;t!Qk=?_^{`a@Qr${!Fq_&`y?9~NrS*`B>%dN2q4#hff28g_E~Z>I_q_(L%dw?7bbe+Yyga{vgg2j8vm002ovPDHLkV1lEY1k3;c literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weepinbell/back_gba.png b/graphics/pokemon/weepinbell/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..aad38d1dfc05429d706499e8b49114d2d2c79f58 GIT binary patch literal 625 zcmV-%0*?KOP)p00001 zbW%=J06^y0W&i*I?@2^KR7i>Kle^K7x5UA8A2rx2*id)OA#&#SUCy^05XNq(_f9Ll};yC~Hw|d}r*8U`p zZ-~R08O$$U^dM_=}95N-Uvu{+ySMC z1W=gap)Jnu2>_OYo&c!1l^Q}~1c(|s?pr`hAp{_B?sWdM$P zy&$jvk!T(sD!{l#O#@gS)&>K3RRDq(m4XUG27Iuo;j9X{X6z@!umWf?#!iJHD6P6S z1(*(D+%nx0YHTvCs9q#OSOKZQh~R0%Hd8aC!Hl2*A73k=wCEp0<0B1GdfAx)J~N>B zJ?*E0hMI9&`kb6AwFln^r4T^jzj1@})Bw=^l)#`McvFBc4W!HaZ1Bj}4IrYS3?L1J z5Y9XBv}{D|(a`smKmwv*cQHT23y#=DDrjl|FXm^s0ytOawSaW+(rP|}07A(1C9syi z1Z6BFooSztg{6%Gz%EI?o>%I_0ubi=?U#BUIFNv$=++J3zkaW87!R@PFi0gl00000 LNkvXXu0mjf+`tT5 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weepinbell/icon_gba.png b/graphics/pokemon/weepinbell/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..eda2fd29a303fcbdeb71ea88f01e2f828b0ea8be GIT binary patch literal 365 zcmV-z0h0cSP) zb924Dz5oCJdz?y~%}SK^O73%<_LTO$q+0goDfafP)zxa|N-1JuT0ucUX*qpc00001 zbW%=J06^y0W&i*H>q$gGR5*>*k}(p(AP@la0`D>D{0EuQCRJ$j4IAyTp-3f--?53~ z2f{EqVZ`Pn@kqeV&QQV59e3Q4Ws6&A(laQT0w*yIcX0-A11=7*b@oDOQlO;26bxn5 za7HH#*Z>%+jgV+Lfr^#eljsW`0Ar=vNXB?gm-g)5+2d%qn1Xh>bzP-iM&~2;J`RK3nqSlZ02M}lYePSQHj>JB2B>NMnaJ27@ z1>oHdVl26|qkZ)D3G~4}eFy&^$bJA>uwPGgKK9G06|z6K_K)`8#?-8-75mXc00000 LNkvXXu0mjf(sQMh literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weepinbell/normal_gba.pal b/graphics/pokemon/weepinbell/normal_gba.pal new file mode 100644 index 0000000000..162f840848 --- /dev/null +++ b/graphics/pokemon/weepinbell/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 246 +255 255 255 +180 131 41 +255 164 115 +238 115 65 +189 65 16 +255 230 156 +255 213 106 +238 180 0 +189 255 115 +156 213 74 +115 172 49 +82 98 41 +172 123 41 +115 82 16 +16 16 16 diff --git a/graphics/pokemon/weepinbell/shiny_gba.pal b/graphics/pokemon/weepinbell/shiny_gba.pal new file mode 100644 index 0000000000..2c7c777e6e --- /dev/null +++ b/graphics/pokemon/weepinbell/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +246 246 246 +255 255 255 +106 139 16 +197 172 180 +156 131 139 +115 90 98 +255 255 115 +222 230 74 +180 189 32 +246 255 123 +205 238 82 +164 197 41 +74 106 0 +172 123 41 +115 82 16 +16 16 16 diff --git a/graphics/pokemon/weezing/anim_front_gba.png b/graphics/pokemon/weezing/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c4d684163bb1db4ef87857d335043739cc148b30 GIT binary patch literal 1634 zcmV-o2A%ndP)aC_DHT_B*ZBOqQEc~wRTFc=H~Pz{~LPAz~HeCk8LuYhQYO{Iu`?E3&Z zLWChb5ch%onF1&Sj>|~xdTh#Nb@M8)JzxU`2m)p^+SIivm)UGvg=cY}RtOS|rkDa; z>CK*(0K+k-1r)#ugpsM|NzVY(D*Sae)7wnUPqkY&uUBihuZX(?G>ag0B?+V|S6;77 zc3uL!d!m6cf*$F$wNun{>C4-fG1IYwCBne#!{90`>yX9}-M+*e@O9_BtEkefaKgg7 zOal>u0cJ@Fw9;^bcZaHw3K&ppEu!pZvg$_VUdIFI0~Q$f&iv=@rKGd+%N93{hD47?I39jj#EUR>hKo%8}3F~kax`t$-qb#G!dFaGWv0oOU&2B02eib785o>L9wi|5(!{j(atFy)eS z1+b*^^-;`!s;pq8bQq?=JPSgfp`Ud2B>(+cwM=wgW+Jg97imbhs&kOx`*{sW13^HR ziE&C7R7#Gu0G729Vm!C9Lso&8Zm+wcju13v5oOhU0klz`TK0Q;}?# zr=pK0c*c(4>IcHlW?v=YGgyUYEZUpSt=bIzg-Sf>6{+r=!1KfN6+uJ^2 zJEvQKZ5ws(uX%s;dRqW%=Yi)B7!WfjTZx3X*AD_ql934fuyInAMW|OfvZ%?!IA^C; zi~CAdDNMt0wl8~@@JV7wIa5p;(jaM62Bfd;g=pM~aWJ6$g}zhw#lNLgiu{F-#()&! zUyN=HgTC<>G*+efug8Q0015*#6NUJ%$5)eFg^U4Ni+>4x@)(o`q!fQu1a%KvBLYeT zQi{I<)Y*uCSxqViq!fQDv)2CwJlU%l5T)Ie@kn*f)qZNB*Dno-)^709d2!%VlVM>% zd<_h|@OLGjEsI4K zX4Uz*G$1;stYQzy!my|`AO`sGIbLT;7G_d4AS7Vr+}RN1Iy(Z|V_Tu#-Sq%Qy3JCj9W)X$WgS4~a+wRdjQbMgh8Dxq#@P5yU!I~u?+z(n$~a%&Cp zZ!CyZ20~1mq`k`OhtgG7z(*QT~ku(FS7PEdSbq7~ix>{_R59ACh0~Z>j$D z+ir9L25`)1B-CU3)meAv!Z~YPK)rEJRD0aZ%VvPyYbWlhB2ORK gNYC1)y#I3i1BS7h8=6GP*#H0l07*qoM6N<$g4!qt`~Uy| literal 0 HcmV?d00001 diff --git a/graphics/pokemon/weezing/back_gba.png b/graphics/pokemon/weezing/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..3d38832111f4af008b039152e5d080dbe18de27e GIT binary patch literal 623 zcmV-#0+9WQP)4lRI{+Fc5~*aZ+5^YC0WuLC0YW_6|I9HlUHcfJopz zJklGPI|9tZNc71RH1o}`e;&NO{ly3Z#&!Wl@v#fUX}l{DWGqYl+4qE{EY9`}#4OtZ z0+uFemLuCEb*?H4=pRQDD1?N*Uh5)v0h~*&$0)WygaT37COtrf6eZ;b6Sob} zT0l;~#$^Z=u&KQ0j01@55M|$l0PY5qvL2g`2G%{cCXKT7#RIPjwZU%VviDY$oVWHJ z#EW@3&&cM#N!~hDWcZ4gSD+|?HqNCLpr~*q5o%ouI2?|BzkTTSMofVua5&N3jd58I z+_Z{-<8cPiEb~pHk)Alg`~)r)Lf}dXYJ&4gK`!SRk$Z^*2!T%E4rdxQE(LIP7Izrh zf7a{%d>6nMZO}?Q)#2Q(&m!v2WXiVyg$tM^a5&z1spJ13=MIMJo)%`tdsoYP0`O-E z)YXW{Cy--4?UM3!UFnx7i`gUnF^~EcFbjaHi;aYF{A0f~{sWmUZHxDK6`}wD002ov JPDHLkV1l?*6DV$@lCf&TFc5~dX0aY7TQT(Y0)>**WbBru9h?5f8Zzp@ zui&x8AOs#IxSlN8PRY=<^sur0>HgDM_bc`HqxluESI7J&50)ziE=$_8WgUo20kJ1) zV@qTUkTs${PGo$M%)k=b1=Ip88(uOZT_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H=M^Tfo2k#Gxv#e#w-Q^It5SM@*jNBcnnbO_I6B4i*x*NA40LFG7OMv2T z1oH5@w;Ps#4OQG-#1Y0oKw$~ZQQd6`@#Yj@(A_le`#aGP{q7b|EEfX&Zv=^-7@T y%=>qVdGb2Eo@nO30p9F|(+&Y5W1pz||BXMjCiz#?`3i*q0000gT>}*z21Y~|NsC0Yx00001 zbW%=J06^y0W&i*JFiAu~R7i>K)4y-iKoke?BZDP-as*;vYOa73Hhio|g_yA$o#}L^ zW-3cgnExRPs)R66oJ_Igff>Xh1m-ksms zgxu8sFNbq}dQHxSl(M&9a4EAa6MF@hQHB>U?d{Dc3VR8(Oar#{dVUp<=AgdnzY30GLzC zR8d`-j0S7q;%Te9K@e2=BPl;w09(w}?Zd+=r>V?fpbw)27sZcyhctpk^@3{fl-4`6 zVezcWoKx?dT$sI?I$Iq374Q(aj0Ls)AwO=K?p~Lq2NCJG@FE2fZX29DfP*81JsWTKi~BpZ|Wb^ YUt&EiOwLT#KL7v#07*qoM6N<$g6so2>;M1& literal 0 HcmV?d00001 diff --git a/graphics/pokemon/whiscash/icon_gba.png b/graphics/pokemon/whiscash/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..dcd79a540cc7e4fbd011c4868e142386c73138ae GIT binary patch literal 420 zcmV;V0bBlwP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IB1uF+R5*>@lCf@sFc5}s%ZBw&ULp|6UJ3O9DyEKom7pTACF+)~ z&(tjgf>&_Vr31PIb+tkb#E#9_sp@V1e74VbAJLx=F^Ee5^ij7VsOvgN(HsDA5$KK< zthS_Ef%UuH-YL@S9*Ij(B=iT6kOQKJ30c__)E9XHRJ^?bfvU=ZJt+&){23##cYJ2R zCY3L)s=J0fUDi#%{sstbT&E^zCq_%hr}90 zuagdt)}WgXDBbvH9Z)zh>mc)m4rS~L|J8f;tU1-30Hkvm)z#jdoTOS>Y5)KLPuySs00001 zbW%=J06^y0W&i*Jkx4{BR9J=WmcMV>Koo#IkPLL-e=u9S@raj7^}v;tigHMuh~(gv zv1121oOgy?J)|RIiquvDW$3?zYLb*jiu>N3L6!aNNZlg&N%rzSz2_fy_dds|<2lA^ z6;|ifLToGYO%>_yg9>07X?r2dQ?yvMZ zmxav;cqa1#T00Oeu}uHvsTF7Y01wj0Pj@??EZh+6jSg7<4a$IOl*ZJT~siTfM{x4QvpUA5(m3bQf*Hr*b?<&BI|Eg_m#{ZX~2=ns>nnnPjwoAGb`fu{Q$^3$IH>ksbQ=s`h2)=?aa0nO&6 zHH`du9;=^sV)l3hJ{J!B8yqO)54MGhxD(&_gZrBFKxq!J{@`mWpciET=>g{1^E&ef z-}nOq9Q*+u$^|1i5-HOG1!F=T@JhKn=>b*PB~SPRRp1Bb;4C}{1P=^d$ONLqK!$BF z0?|Q%V1f5I`40lY0#iW(WCeovhjd5&&?n%W12TU=!`M~(Lw{ELLmkgL{sIXCe#goT R+?fCX002ovPDHLkV1ji|Zn*#e literal 0 HcmV?d00001 diff --git a/graphics/pokemon/whismur/back_gba.png b/graphics/pokemon/whismur/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..f13819f1575427d5a35454d935055e9b2e86c154 GIT binary patch literal 493 zcmV|J8f;tU1-30Hkvm)z#jdoTOS>Y5)KLPuySs00001 zbW%=J06^y0W&i*IYe_^wR7i>Kld*2XFcd{I6xRGh_yeAU%G4n*tQm|eF@c1dwZ9S6 zp#w`Sej;oCDiTxGfj&D}PF_%=c0=NhzQ@#75k?FeasJkNJ$xOPxw)eV3} zP8+kP0^MSxKRXRzv7bj212+NM7Ly;%t~Q8NX?^l{q@{%XC~`i&Yps1tsvscpfWR#H zX#=*H2L!Ij`qsJyhz6K>KM22CfWQW5Mu5$$g#JO-m;lUO1I+kC5+K3LCA2hMK?le< z5T;{*907thAP`qQAn5|guQ7qY0Qeu^iPp9DCm{Re%_YjBI2Mai+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06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W}+a*F1rt$gQ5OttI^NtJtY2kR5{)=TGN_5sJ#TZeWc{52~EW(sF1J@;+^E z2a>Rl-Y219N?G9dn(Cei^F64YS$sw2C0z!#6<-40-N4@qg#f?9IH~FTt59Owh(8C$ YU(#GbWJB~QVgLXD07*qoM6N<$f>;qtj{pDw literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wigglytuff/back_gba.png b/graphics/pokemon/wigglytuff/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c57f8681fed9520e1bfbbd0a501ab338382f48eb GIT binary patch literal 526 zcmV+p0`dKcP)Kld*DxFbsy78SwjW%-p3fVBd8w@@3}`bWT#koKmQ4 zhsKrz8M;P897&&l$uiEem;KkwlYAjR_kptxppw{3e;t& zu*}IP=7IXwLuV4808q*c*e25+Xv%f%1vEA3t}gBo?nZg+cL1lr?kWOWtAIOzegqW2 z71%iiYazMryk!FXoH;Uq1ZZy(?M;9WB1f&=_EmrnBFEMn;ue4yY)^p$G8^V60QSqc z4-gU(KMw#19#{S-52tOQGX#WhLvY|~zPj*n9k_t0-b}T52xILU=3kcm0!4g#4n)C{ QNB{r;07*qoM6N<$fi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H#Ysd#R5*>@k}(d#FbqX~g60l%W6grdk$Q~Y#z^f@i6I_x6~tJi zD04lSl%a9DA`rq`p8j_RKY*Ve*}aWV8JSc7iBG_xL>3NW!l(g_EDD%~ke8$q0c*e{ z7q1(Zh$_(2 literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wigglytuff/normal_gba.pal b/graphics/pokemon/wigglytuff/normal_gba.pal new file mode 100644 index 0000000000..b0b85cc792 --- /dev/null +++ b/graphics/pokemon/wigglytuff/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +148 222 205 +115 189 172 +82 156 139 +32 90 98 +156 106 32 +115 65 24 +230 230 230 +205 205 205 +16 16 16 +255 238 197 +255 197 172 +255 156 131 +255 90 74 +156 57 0 diff --git a/graphics/pokemon/wigglytuff/shiny_gba.pal b/graphics/pokemon/wigglytuff/shiny_gba.pal new file mode 100644 index 0000000000..f3d0192a29 --- /dev/null +++ b/graphics/pokemon/wigglytuff/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +230 230 230 +255 255 255 +222 255 164 +180 238 123 +139 197 82 +82 131 16 +156 106 32 +115 65 24 +230 230 230 +205 205 205 +16 16 16 +246 238 246 +246 197 246 +205 156 205 +164 115 164 +74 24 74 diff --git a/graphics/pokemon/wingull/anim_front_gba.png b/graphics/pokemon/wingull/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..69ef9d7d040dc4f2805d86a33ff416e2ab3bc201 GIT binary patch literal 694 zcmV;n0!jUeP)87gIonktn*icoVj9iT#jHVaHiUI(Ho zl9RjvAw`8D1N0B57uJ@E4wXVC#IFusyVXkrWV84iauF4^fxsBc)yK|fQ$$M#3EoKLItyA8Y0oCE_!0L$7U3wvY4OA7FrQXx|y zeF50Q-VPc!0XCKO|57Dh9#(tX08r-(ZXtJY(ty z``r{EkIXkB$GCQ64!%xu$4oS2PgZ|V4XoTd9K7%zrI5tB(P;AbP29H6s7&yz8Ry0%kQX-j9e_Z;CG~;@Ahyeez~7b+btRzMS!PKR(72lz zV6!45Z^7~+C7`9HrFDf$`$naGfR2h+CGMh|D&hAEt5| ze~9sYet1f2o7QP`z-DR6v^fg5d}Qh|$q%bI^Zn@DB-JPYHHbZ(RNlZ#Y!&4Nti|?5 z0qlNTw49E3$D4$){6GLvsu;s+SMo!MKwNiJq}7iOPN@9DS1%*B&oCZ8y#9S0^5+!f z@x#wt$afROQ8;q>;YWCXDZ;1zzT@%3FtVO@kdSqu@I$D77xq+sh*5|iVpK};BmAJH crFE710|c4FDQ0FVPXGV_07*qoM6N<$g6K^;YXATM literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wingull/back_gba.png b/graphics/pokemon/wingull/back_gba.png new file mode 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Exs_WD$W#&00Pl-W`wU)6>*{x6?h)=@rf4@b3MG^I;MqrQ9G| zs~d`OK3RY)TmOStCHpxAIZT0A?_(swW%H1bhluH7MC4zEP2JR?2=}_rX%oH>iT-Y0 zhf8*umS$z<%o6=?pPxa_Xory-XyDOp^^9rxL1TCG3^BXw)CI12;%*QR?5#Pg2Jyf? zC1nq!EHK+vy~1(z2U#!xr6V4cW!t_+K8FEV@t`u04l{ntc>s+cA$DsBaAX{iO@QB- z8av-c2^grEE|;yJln#jl<|&+^CK`MmDE?5sI#xiwcY*c8P$LJ7+hj+3fJt{L0mA_W zgs3hhvT|-#q-G&h35g4cg_JF!M~Z!O%mfx?IrxdV9{Wkg;YLawL#qdx7@Kg2qFUU9 zF;EQs`&0q6_dSu3`+7Y4>8Y-dk4ckmQN0-SvtJM)w_`w7NUscih+HJ0PGSI`ZrWWj zRtJgKMC1D_rg(40>L5`gK@9H@K4p9}RFSu?@koeewebf1Ae{FPA5csAK|k0Qwgnme zz(~P%)r@{%08{NGf<5*6BD(X^9FGpMfB~4F&Zobf2<X$@ryo)R@|sggMn9wq*fT(K)Ul3&KoACCDzV@ptvCt`E8$*X`8T1y>|E{zz9RZ>1}EBO^(_f7 z(pLto26V_85Gjzh_zZwsoX9!7MM)$?IJLIV8Z2b`bv5)1OFGzl9I^=<2h?6JvCZl* z-U!fTbzCtB05yNg;4$!w5>}VPgm9cA*x)7{L=1xtvry&67zN-$1n|c5md$j0=))pdr(u}i=v1?L1*dIBf~^9+6@`Co)rb)-AK b^XmKpkZQE@6pN&g00000NkvXXu0mjfL0Gzf literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wobbuffet/icon_gba.png b/graphics/pokemon/wobbuffet/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..14cddd18431fa10aaa1e6515a656b379e266a110 GIT binary patch literal 335 zcmV-V0kHmwP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H%}GQ-R5*>*(y486E2P>Y^zK>{j5)ly|l4}?A-Ovl^Lhz&bg_8RoYt8H=xwe^#qi5 zLrYGuJZ?4HS2M9=)_>w4>Np5d#o;1O^!GVDYw+S+!IlrQ7lbz?0!l;T=`)n_@54m% hu>tKfDEG^Jya2Hq#umI zq8Bh-NKlcwXeX3UHK4VeM~Ke7qX~M>txZ8N-(nVipXbjV@pqLfRq8hd0QB6;ME|6N zTB+S^!24;p+wB-lfg$UMT^m5C4JuD;;?VklkPM!#pQQp9A85wCn-^}(9T&*)w0AXO z_ec%(Kupj26Ml*G_`QROv6*Efu0V**H}VrSkX4yLKOh&4Mg*vF4JZ&}5>p5g&cEBe zcVDL>&}0i#`dA2nn^5(8w=sSd2=%64xf&1Wg>MU_xHad9UZC5+6+mon2HYFgQ4t83 zKqa%I1vx;A4=fc-UNQ3p;>$;xuPO)jr{|AtwSes{3WX=sqNO58Ghu`y#3{^yKW!Um z%w`X;fJ7*uRMdEYMAt<>)O1o&F8b=w=z5OQ0Ja0YsX(024w=(Ko}g5zQvX+ffo4ly zFPe$G-=I17pm|AN8O=-b%4lAZS46WTuMf>c-Ut#8nvMOZPCaNw)a3sF&3uP7npt*# zp&2C{tQu-W~Klre6?KoCVoGR;zO29AJYjFct?9#YcaO-aX|fl#PuuG_N#NuK0% zY5AP7#3Y?KzkYPV^u(9;2gV<$RyeuVz-Q5xamMZkIm0-yQuWp{E%vZUx0Bt+O1+~ zGQ_Zd<=prI`iFFti+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*Hu}MThR5*?8k}(PcArM79!FugU2zr4)`c2^hwn)1R1Gz%V6pL#q zD9)Ndm|4@LUC8hLj9d^PTSdaFj6fjn?Uo2nFbrk`#`}jz_>FxdXn^wS zua9;%7`+`#ffx(>t`5e^@1BNf9e1L literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wooper/normal_gba.pal b/graphics/pokemon/wooper/normal_gba.pal new file mode 100644 index 0000000000..f364d6c711 --- /dev/null +++ b/graphics/pokemon/wooper/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +148 131 164 +16 41 115 +49 74 131 +74 156 213 +139 197 246 +197 230 230 +238 172 255 +197 123 197 +148 98 164 +98 57 106 +255 0 255 +255 0 255 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/wooper/shiny_gba.pal b/graphics/pokemon/wooper/shiny_gba.pal new file mode 100644 index 0000000000..cf0a3ce59d --- /dev/null +++ b/graphics/pokemon/wooper/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +205 205 172 +180 90 98 +123 57 49 +156 90 90 +213 156 164 +246 197 205 +255 230 213 +255 213 172 +230 148 98 +197 98 82 +131 74 74 +255 0 255 +255 0 255 +255 0 255 +16 16 16 +255 255 255 diff --git a/graphics/pokemon/wurmple/anim_front_gba.png b/graphics/pokemon/wurmple/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..c79458bffc9a2060648e2bb5b92b2f604b611c04 GIT binary patch literal 890 zcmV-=1BLvFP)}od5s-=GE@aQd;(VV)ng@=GE@r)ujLb)s&O~_Vxh9#aaLW02mk;j}Y3<00001 zbW%=J06^y0W&i*J_(?=TR9J=Wma%FZK@f&_19A!x?3H{HQY?gyxR4t|qogOf@)vjs;;P_!aJwV`z z?&>K(6u}4SA>;Z~>vmG1+TihJ+~cQPTAw8j*=PSb0;-^t5}T9++ZbMrS-}9R<5Oo@ zN=jqKGpb!sn;?nX;z`L_V_amE0;)~MzX3|G7zv;+!vSA5bJzw-kO26BFMR`afI4ah zfXG1xPfCzo@Bkoy>`T|J)W9dY$OV1?UTs(FXz!NlA_oQ$1>IHKx75&b&vSBtH$6#u zst+R9a{$k&Z5g@s7j+koln|K?RRUuoTi>ZhRg|b$zMJxoopN>;C2F>@U!AP()F+dl zd-gAnm2V7Z&o5&c|8b-iSSLF?Spd8x|6+e)C7kE)mx~sFK1P)}od5s-=GE@aQd;(VV)ng@=GE@r)uj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R7f`0O><0AQame*P8w$T+Dh@ZorN{srP?Br7A(AL^}ykb)5yz=HTC z#34?^cnc1IlM)l)x|A?B15^qmD!heEOEmxpvJ{E2zQ+tr;J3Jxm?I&907DZV@YD51 zR8*LnpulCbvs9V^6(mvwg6Ss0`TY(N;ur#6a2~3FKRjH%-A&Si_z_sF)H1yIFgE}s zR9OBq>CTl>yCqu2`J_AO>FD3FMMsU_v_;p2uzkL{w+8vYeA80nPx@x3{^#?PZ$`fY zov2;{f9soT&njAMluCgK#MU>Nu7S_)h8SU2C!K(AeUr&#;o-S7S3|LR5sChAU0n&Zvjvw@7^#hJ+>dk## RPoMw*002ovPDHLkV1k6rbiV)q literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wynaut/back_gba.png b/graphics/pokemon/wynaut/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..388b1582bac5f934e029fc690c943d890ee67ce1 GIT binary patch literal 498 zcmVWOky=uMQoYn56F+tv1VnI1MgL`{wVq(qB#sB~RIeVmgDLDWD0L}KK-p0i+00001 zbW%=J06^y0W&i*Ia7jc#R7i>Klud4fFc5{~tWneu){*?&B|?hLx{KnIlPporKy#9g zjY%Ohru(X+?B2(lUuU=b4>^Eebl>T1-Fx@8t$TOL>P1U>w*g$E?y^M`uJz72n+2{e z2C{&ebmY1yf^3lmieVTKB9mdD1gLw`WrIF8fULf6;{>RKQBLqajmTO1Ar}~T5W+yT zxFrK}u+64{Gory{rE|hcm@GAn*-%o0>ZWy0D2KvoPy-R?F$}F{2SLC%l^Frv=MDIpH!T6GqvF%C zj1o|F(DOPQ0Z`tep6^WpPL$y^U!=DD?r(Mi%nZD~9BNXV@GJvBGc&J$)`tgOS-MH> o$$-6!!$TjFL-h$GJ@3CB-@QzTTN$<%5&!@I07*qoM6N<$g7=Bp8vpi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H-$_J4R5*>@(lKrXAq)jjP5`&0%v{uDF0jT_TLo*Yt?&?U6b<&I zOPBnPCmWFL5dK!?!=DrEUIqX;5h&zDP(${PD~#DyOwRyxkaj?E@OlJmTQJ05n&w8- z4UA`giV&YYgYp|H@b@{E#=UktD`H_NSaH3=kpcPkZvM`i4+|l3i!J=iqUJ^iY zl5RRVD__IMANye-?Z;)5It2$~6!HK?1bM;SFPBc8{eh2FGV`_(nstzzbGQ2;_ZQ%C zw)CnCW7nZq?h4g{rmvFNbY&Ww9*sW1;g|UY=}6UwqcIhp00000NkvXXu0mjfUpATB literal 0 HcmV?d00001 diff --git a/graphics/pokemon/wynaut/normal_gba.pal b/graphics/pokemon/wynaut/normal_gba.pal new file mode 100644 index 0000000000..c370466343 --- /dev/null +++ b/graphics/pokemon/wynaut/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 148 98 +41 74 82 +74 156 189 +106 189 222 +156 213 238 +164 49 65 +222 90 98 +65 57 57 +131 123 123 +106 98 98 +205 205 197 +255 255 255 +57 123 164 +123 41 57 +0 0 0 +205 246 164 diff --git a/graphics/pokemon/wynaut/shiny_gba.pal b/graphics/pokemon/wynaut/shiny_gba.pal new file mode 100644 index 0000000000..7a5032aa69 --- /dev/null +++ b/graphics/pokemon/wynaut/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +197 148 98 +106 57 90 +197 82 189 +238 123 205 +255 164 213 +164 49 65 +222 90 98 +65 57 57 +131 123 123 +106 98 98 +205 205 197 +255 255 255 +180 115 90 +123 41 57 +0 0 0 +205 246 164 diff --git a/graphics/pokemon/xatu/anim_front_gba.png b/graphics/pokemon/xatu/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..d4c3c19707215140df8b1fc94ef415a08e3c8f2b GIT binary patch literal 1027 zcmV+e1pNDnP)a^AN|Zq{Vk!ULLA{h9i&_BgIRLaV0D~z2&CSh}l$26ZQYk4ZFFR&q00001 zbW%=J06^y0W&i*Kfk{L`R9J=WmoaD)Q5b;V&`gpXPp86}Lh9zEFDZ0UXs>mtp5>B) zAnhQWbQj`QaBwXd6wZjaCI#C$#g>3md6zVUlSzBUsTwXRX;Is7=X-aTm$bfj)=9+v zw*>w#|Np;t?=D{e_zz=9QSOK4ZzfQ(9Rf@w5~D~BDUcu$R${^fLQ1G4f6eU(fyl?~ z(`R>EBZ{a;>(XxG7D`W6-7N9$0Y$kNw5ydY59O?2+8&;&>{Fe z+)AtCx+)!lU*bS^CT}0AjtGz-JVME|(zQT|+oJ~I2f9-;ZE(y5_J(s;G8)Rv2zDY0 z4Fl$1r1GzKfW(_2HvDoCUME1kN*2Te4Bdd2HS`cyxoZSNFBfwVj-VUZwD`c70ZCM$ z2#Ad5C@?|*{zgZ}X&zpM81sS2ln2OA#=D_FO$eaba{*8YOb5V$u!24dYvekJSNMR2 z9vA_@KTmT6D3I$%euWQc`n(+gEiT}qdE22^tHlR^>+}H8gC)5^2=V|FHZ1TpFHD1? zk!#n7jaP34`F+FK1h!i+-k98c6c#qUSqnMHow63+WV3Ps;o>ghAB{iJgP3iz4~^{r z7|;XzOEEY$_PznlM#C$>^dQ>6TRp(p_g-%1_JAHl>#}?nfaZW6)L{8k1@HA2AJBuE zEcXHFgaJ$s_R84&)O!LYd;LB30j38{8ROzA16T#72TeQx#QFf!gHr%-dO%+f&H(;8 z<9$7NS0}&hp~YXAtAQDJ%z z^#C?Qf1N!&X!-yY9@!)X z6ov2R-kDZtfiNI>K46IpOfw)WsG#c}@GUE7p`kHde;m?cj62002ovPDHLkV1n8$y|n-U literal 0 HcmV?d00001 diff --git a/graphics/pokemon/xatu/back_gba.png b/graphics/pokemon/xatu/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..b66774b137990f052f9216d4b3c662fce9e3e36e GIT binary patch literal 716 zcmV;-0yF)IP)a^AN|Zq{Vk!ULLA{h9i&_BgIRLaV0D~z2&CSh}l$26ZQYk4ZFFR&q00001 zbW%=J06^y0W&i*JN=ZaPR7i>K)ID$0Kp4RB8yX2UYNC@^Dn&(d*^zu<>VTA-rw#>L z7x4uQ*_iMM8*`UR=LkI888Wm>Eu@Meo7IGYy^&x;c~Lrm6y=v)|D|6WmTf=1YrkO_?D5|P?(Z^YfpA?NfPKScAntu|oHv?)X(R>4j~&N(tpjFS zs9OM>_X=pTU04YC@hkVO3J#fRVgP2ma9vjc8!TVka^)`tl-9t(JIy6aduOnBmV$`} zl*1Wgd!6KvS`e)POB?7Q2w?`-f+*~=yFfV%FEdcrf+!4cng}`&;OZNPK=+6z0QR|h zi6{X)1L}lw5QdWyJ{yJSoF6D4@VqV|M@yhg*c3qkpqc?qKzJTJCBFmkI_mGdDTKhl zVsyi!pd%F!2;un<7>&m=^4d~r0%C%Jg_Kw*CLkc%5V(Q>6vSmAkpz5F{n>{A6c9{` z0hmzv(tm_N6hRgsbJ_qf1JIVkelY-GSZh3#lI;Un(4E2U08XH_=Z2gmU{2{k2~_BP z!+63Fh|iSnC}4~B;Mhtbj`ZCE zz#}vPOyLNEUX$BvtH+Y>7vGo9;0U5ND1gecz_|@aIEnizNDJ`4dI?8}#|1#XC0{2j yaN7~F3VtL23*3?-zVeHpv;y3o$0G&&!|M<4>t`ZulN!GO0000Z>R literal 0 HcmV?d00001 diff --git a/graphics/pokemon/xatu/icon_gba.png b/graphics/pokemon/xatu/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..a0e6d6fc99d4a123f0d40f7be8a8a0f44138712a GIT binary patch literal 350 zcmV-k0iphhP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*H+(|@1R5*>@(yLr}Xo! zwaJw>TAu)0@fq+D7XEg=0S03*rvQfj{0$8A5x_J^D&7m@uz``yz7)VHAg63#U}yIN wfu{U8DF^5_}1SfTElYL3=Ujp*aXUpFzd62Qv~m2hBnt3N*;`8T#JN?rODKDUeGD z=;<=j`|tm~c`JB7LN@W$!tg#Lup4WV0u0zXK`W<4W&$jElv}A#TCg&ERPJk%2Qu3^-{Sl^BO!y)YUu!@;NlZ67x z+ljzN0g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EyVk;RIY0D)eo?UfLZce@b~ah$=2wcc@? zc^7~DtL{sH>qUH^{!u3YNVQfP5&&WXf9ZC*%n$StfO{g|thEtnc;iwW0hJwQd4d5$ zjZMivBK+Z)`2#Z<8wMosv0_a>{|bW%2?Vf;2N^T98xs=n68v@ykGV-(gs!Vr;jER( zKjZ}DOmW5nb6^vuebUZm!#5#5VzJnBf25ui%H9)ytyICd90wiw)_+2&!uG)APhzVHu81g zTd%Vh#s8v(41i@Y0Fs+^Yil0?@&27ZDL!dikc6I6MQe8?^lN|g=r$xq4kOj(&EM4- zcWXT! zNQ0k^mhCVItYPzOx*OjR|6-c!^>URa>6F)F=7>s2f>|LaWzbj}Xhk*dwGpJGW10#pQ*dc4)EE|4%>^KYy zI4Tb(16Tn8_PBQK$oF4_<1hs9u+};9svJ8E9A6_~9(#eb<1hqp+?6^#4^Vd;h5-6q zDc1E=0LNi4J`w$v6dU*e+hJHDe?i_@% literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zangoose/back_gba.png b/graphics/pokemon/zangoose/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..88357e1823dfb6a770ad65239bc27898983c0bee GIT binary patch literal 734 zcmV<40wMj0P)@j;iEkd}a z9-Gk#o63}?9?R(D+4M9|xn;_*jE>paj99}5)Et5wGsdD_liPt-0z=f!<OimRVi(|{{^RFhJwvI$yeWkRMMxbqpgEKv ze@%K3=p_L98L>hMsF%tDV;cqR1R|mw)a_8t(t?%1KEom-URx;Il2HibCqh6Uii~&| zTQbDR6P0%|5i0OOzNyWt8gb@$EdE?P>_E?{ zEm1-|+bsE~3D-)50!-A2Uh1Na;F3PwX6y|q$IyDDxXswUdJ|jkfwKq}0%%Qiz!7v- zfR*Q2EKJ$4vjV9(#77)v%9e~h*RJ=d40y7*nz6%oYF1PO7t}{!N3+BC3OG8zXU`^A z(cAB`M+5xQy!j_W((B(kpljgz p6>y9|rF`W0>md22z#P_qT>@3>FUTQ$Ew@AI QZvX%Q07*qoM6N<$f~4M9*#H0l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zangoose/icon_gba.png b/graphics/pokemon/zangoose/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..e0485b0b0f443c86aca5f0b12d5afe7e3684114e GIT binary patch literal 419 zcmV;U0bKrxP)i+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00001 zbW%=J06^y0W&i*IAxT6*R5*>@lCf@sFc60Q1ok_?mZ6sN50yYN50wY#!({VN1~xkM zRZ_gQl0jyOL?oP(62rmNwY}{=`ObItC&b?hzXxvE<`M)V2Re%Q$xbOCepm)ZoXfTr z7Y5#4J4ho_#nD_*OJ~w$%Di67+QB0M=L$Q+ph`VLjwS%mOOFDma%Ab^=}(vB8(zGxG*A+AK%=MKz>X$^FxszG4O54j}W%s--Wozh3tRt#~pPamB3{B+tC03 N002ovPDHLkV1kz}y~6+i literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zangoose/normal_gba.pal b/graphics/pokemon/zangoose/normal_gba.pal new file mode 100644 index 0000000000..eb0ef7068a --- /dev/null +++ b/graphics/pokemon/zangoose/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +255 255 255 +230 222 230 +189 172 180 +148 131 139 +106 90 98 +255 98 106 +205 90 106 +139 65 82 +255 164 148 +213 139 230 +123 106 98 +213 197 205 +0 0 0 +180 98 205 +123 57 131 diff --git a/graphics/pokemon/zangoose/shiny_gba.pal b/graphics/pokemon/zangoose/shiny_gba.pal new file mode 100644 index 0000000000..82487aa4fd --- /dev/null +++ b/graphics/pokemon/zangoose/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +148 197 197 +255 255 255 +230 222 230 +189 172 180 +148 131 139 +106 90 98 +49 131 197 +74 74 131 +57 57 115 +90 172 230 +255 123 82 +123 106 98 +213 197 205 +0 0 0 +222 98 49 +180 49 32 diff --git a/graphics/pokemon/zapdos/anim_front_gba.png b/graphics/pokemon/zapdos/anim_front_gba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001 zbW%=J06^y0W&i*H^+`lQR5*>@k};0NAPhx0LAcaU8#h=}a+BGsrl3YhW7l2+Lo%e; za;04tAb)*-B>bHFJLS#UEU-miCV`_CUoM+62QwnO91Pg1Gz3)+@L?UyR_ZDYRNzT-~&F-Aj}Shq@=2pKu5_9O}*{98_e+!MyJ{d{EYK z5E?@r2XH)h+i+MJRK~*x4&eaeEess&69+G+q2u6E+UnVajzeCKvk4ss_ilfsz5#fs Vr?(NN5NiMc002ovPDHLkV1jnnpuqqD literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zapdos/normal_gba.pal b/graphics/pokemon/zapdos/normal_gba.pal new file mode 100644 index 0000000000..5980cfed4f --- /dev/null +++ b/graphics/pokemon/zapdos/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +222 222 222 +156 156 156 +90 90 90 +16 16 16 +255 0 255 +255 0 255 +255 189 57 +222 131 0 +156 98 41 +255 255 156 +255 238 0 +238 189 0 +197 139 0 +131 82 32 diff --git a/graphics/pokemon/zapdos/shiny_gba.pal b/graphics/pokemon/zapdos/shiny_gba.pal new file mode 100644 index 0000000000..fb7840ebca --- /dev/null +++ b/graphics/pokemon/zapdos/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +213 213 189 +255 255 255 +222 222 222 +156 156 156 +90 90 90 +16 16 16 +255 0 255 +255 0 255 +255 106 65 +213 65 32 +156 57 41 +255 238 32 +255 197 0 +205 148 0 +156 98 0 +115 57 0 diff --git a/graphics/pokemon/zigzagoon/anim_front_gba.png b/graphics/pokemon/zigzagoon/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..ba726a26606daa3196c54d619fffb76468dda29b GIT binary patch literal 1372 zcmV-i1*7_jP)$#jK0w)vW*j|D+%Q%{d^XlzV$xN)P}5dp&+V00001 zbW%=J06^y0W&i*L+DSw~R9J=WmcMTzM-<10L;*K3EaqfrjF^pBr{M&13f)N-tGJ8g zlQ!5@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j{!1b)8&0000$#jK0w)vW*j|D+%Q%{d^XlzV$xN)P}5dp&+V00001 zbW%=J06^y0W&i*JDM>^@R7i>Kl(CM}KoEw#Y0_rxpoAhEJ1*SiWbdJrrz3ua6-j$V zXtAweQCP@DL^_lLUAEw%DA0+*2;~I`G_=gDIqB^69TlRviDXOpKh69*GhWAei2oey zZ-6_vPt6@Cy#sh^p6P%=;=Jw9dl%-F1uh77-UY-aa|S7ZciIU&r&m7$3>&~d;}~7A zzyL=J7{(YE%we-T07k%kIAAl0deC73Q=FX*!=CgzEucp^pU*w%$qa$6Hn>tI+?Scm z&_rr`Kz$ZVAAeB<0lezaC8npC5n!2MJmg%|0G;Bc?ZNXg41vJwl~u!G0FlwDQLD8L z^f>r_UIW4E)H+69RNT$|8{qs`YiasQsio0tAp9v>8P-VXJn@XlV0C%SoT%@U?l_i$|L*r73**ioZF2spW2fchuH4IN__VRou<+hRTCXG&x2IDcZTJu}M? z^39Tv{eeuhnvi!L4hX!fY+YTMLr{#j z$#qMoRl-Y!E*1i=KfP}{AYEVa6jE9xNG2@+D^P=V8kp}Mja2vEk`M83;x{$2xxW=a R#7F=D002ovPDHLkV1jVMG6Mhr literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zigzagoon/icon_gba.png b/graphics/pokemon/zigzagoon/icon_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..acd0ecc8c295953ab68e292d79955c01692d960a GIT binary patch literal 347 zcmV-h0i^zkP)DV$iOn2oyBTrg7)S>S5RVvdl&fJVB6+DT- zxJsXFx2u&9qg|H23Y(bQolLY!6}wPU0e6cMGrVC4#s<&I`%ed8s1TepoC1e1X4?Bf z9M6Wfkf|a^>4K6y0*5Vi$1x+n(1jJ)$}^R*cqt`wS|;Sz?d$8!@Q-^O+IhxdzUz){ zpDAA~E^3Q|mrGqB>Q9G*w#2YdZy==_y^d?6DbbHTtR0)!(-7dnbiOQ literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zigzagoon/normal_gba.pal b/graphics/pokemon/zigzagoon/normal_gba.pal new file mode 100644 index 0000000000..55f6178cbd --- /dev/null +++ b/graphics/pokemon/zigzagoon/normal_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 189 131 +74 65 41 +172 123 90 +205 156 123 +238 189 156 +255 238 197 +65 57 49 +106 90 74 +197 172 139 +230 213 172 +255 255 255 +164 32 0 +205 57 32 +164 148 123 +123 90 74 +16 0 0 diff --git a/graphics/pokemon/zigzagoon/shiny_gba.pal b/graphics/pokemon/zigzagoon/shiny_gba.pal new file mode 100644 index 0000000000..fe2d3cbc98 --- /dev/null +++ b/graphics/pokemon/zigzagoon/shiny_gba.pal @@ -0,0 +1,19 @@ +JASC-PAL +0100 +16 +156 189 131 +74 65 41 +197 98 65 +222 131 74 +238 164 74 +255 238 197 +49 49 41 +98 57 41 +197 172 139 +230 213 172 +255 255 255 +164 32 0 +205 57 32 +164 148 123 +131 82 57 +16 0 0 diff --git a/graphics/pokemon/zubat/anim_front_gba.png b/graphics/pokemon/zubat/anim_front_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5f98e0c13b7d2397875695c8b775a6ee16291940 GIT binary patch literal 914 zcmV;D18w|?P)k)c`^Z-gKATrQi!)bP-l!pKr zgo*@ez(Zh?t$G2Y*|H>xfeu*;DS(FnZBpwlB_&y=#HZ>2^@9yadY|9>DbmtUg#NR@ zL%>ysm%i7&Fln92a8|T`!A$^Z5Kd%2UPj{&KP3C z8dm4;*6lndgwE^3Go4>{I=F;{UUj%Q&$D!S-RZyy+4fj4UEsR~jHRgVrNe*@C>}FP z>mEXWy<1uuLrS;f3@DZMAgBQ_NxyUfP7EN)f6@+6608BT^!5^2M7R|hBx(9I?*a&i z+gmA;^vO!A;I#7Gn~Hv+Nm?fDW%$@%T(FyG;&C zK70t?O2bNOmWkqQmUP8dZYyU)Y4UpYm zs0F<8kNr^vL=b>{9U|%nNP4y%Rf8lZ*Mqg0MIe`W^smqee7c& z`{;?G2Mm@2`FH|d-rASaKR`g`A5>`n00EVM&{n8eg3sC7KX}?dco1Ov2T;4|A3(tL z4=}Lv555l*jen37e&Ou=!zsOlfSrFhoq#2F{vjf;ipD=gL;isga6S$Hz_%v8BckyS zyvOA<{(+Mano&nJc#pI_P(U=Y^6saLqFC1em7*)dU7Q!2(kMoVhtf7W?g#p<+!tYn z2?LyvI~6q7Ue%prB0|6_i9!mh0gq4hwAw(ndX`LkhXp6bR>1($)vVOGAbM$80REib zuS;uyOTg+;1CHKjkscBEwO{6N4+U(C#kzzoB5$^TnrOBohKLnv5!Rdw!}Pn#xLR|L oXXY7=$+Szf0OT@jal=oqzxolDSmLT(Hvj+t07*qoM6N<$g3%A9*#H0l literal 0 HcmV?d00001 diff --git a/graphics/pokemon/zubat/back_gba.png b/graphics/pokemon/zubat/back_gba.png new file mode 100644 index 0000000000000000000000000000000000000000..5589e57676d594581b960a14df25acc2ee540ed7 GIT binary patch literal 526 zcmV+p0`dKcP)Klre6@FbqXCc!>8NNP~eW_bAdHAPD8Hg8)%m2Ln=W zTauEUG^WM^9l{|I%%{&Ui?lJX_}6hrxBWxJuXUNSPy0>h^Cz}EfDQnpme+t0IBso$ z-+K>Hi0Q=t9_=2;a1Ydg10}8>4cJ?d+MbPyKu`d4gvdZ72U-PV28>)H`i_7xPJB{c z7a)lhSoC~5smG;L!I)By(6c}%MR5?``hdjL2Z{jJc0I^T3f+9F7kPc}99KY-pnkfguxdgugL+%{m`NyR$u#lrpQq=pMybJE_FCZx@y%>7sabSqHUyNt^yGczGhvnFn&=w9`NeD%9ss2;Uh!w~14~~I-|9P@ QN&o-=07*qoM6N<$g0DV$7%n%h`b z+^p8Yu462PLOx29kk6PO54#8A^W4us6Sa*{ytzq$bW|h2^29O|d#Tz52(v)zuB8_U zTnhwUw}2}ELR+16`9qIzRadRes0PrDQf@>CglPjT*AD%*eZAwr)8Tfrmh!4RPsPPqCr*@Hm1_5{Hj zPMmP*an(d42p{5k1BHK10=!nUL8Fy8(&42HDPSm!XAUymcdOP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y1}s1={^> zaej9>X@?}Zn=hZ2*3?4m3=mtuR8W7lw1-wB&}0vu>0lEe{=d~5b``{H?Y5=$sBi!j z)vepAuHvbqMOM43+67dzChUhneG6j)qJCM{N}U*hXJ3U&vld=YlSGNC)la_lJdcVY znYSN%m?%rSfO3WMq6IpUCq4hV1xa%+8>>Mw=*$l~^0QmXb`5-Ae_3v%K n87J&|KnO}4=!1U$y2d^Mh_&KW*oV|`00000NkvXXu0mjfK_0_& diff --git a/graphics/pokemon/vivillon/poke_ball/icon.png b/graphics/pokemon/vivillon/poke_ball/icon.png index 1ca199b96b8a2a195cad7ad858fb8b0b0a2f1e4b..7be708eb953092abc2f6fdb7c7a21926ea9bf8e6 100644 GIT binary patch delta 439 zcmV;o0Z9Jv1AqjO7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwGWrUr9tkR7i>Kl--VmAPj|tCXjH^^ZswUr>%~w6y|=j zOvXgdu|HV8kx_-eq?=Nh_6(98iBT|v`jh+|{8RO+_@uVe^=Hk@+PXRwEXa(f$0 zW)q>0F(%z|0$LFIm~}1uX+^x>rW$MUMZHrVqd!BSqVRpjfNJv)FN1$+Dt6^1QoIZd zAP}uuM3|yaO=_)7L7jiiyQIZ*uSK)33NNHo^&Oey=q0KYsrg6sLKsA9Zs6Q70z|Bg zY_JqQc(8u*xeC*_-zO%O&%PtAuQ zJ)xPGa!3NtUBZ!m*J=|l3Ea(yY=>*B?5D|hP h8wP~7ovpRDSU(Zj8j~lh#z+7F002ovPDHLkV1kbt#pD10 delta 424 zcmV;Z0ayNj1n>ip7zqRe0001qplF?uO+J4B32;bRa{vG?BLDy{BLR4&KXw2B00(qQ zO+^Ri1_uu{6lS#@bpQYXQ%OWYR5;7clfi1kFbszM2Eu&+m*oLmSnt`}c+f+7>tToW zZCc1>&*TJB*g@7ZNWceqDP3Z_gB{0o^Jo1Q`XvkTXAyn?5%o6z zf*c4C0LI`ON${k3 zOaL5ly_FaN(@4EeO`8w|N{wf_n*@J|{~yzY^9|xI8I)JnWyRTc{RbjQ5lRG}pquTGr*Vx7GT^=H!f< SxwKl);X|FbqU#%^{X5&;S4J&NyWYjT7#x zH3*5$)OHf*Jsy85fUgEjeW~Fo2~jzaVk+>Mrg$t2FO~Xbz^xd%AsnaN;xpNY0q}M= zNaiBCp7OmLDAE9H%|<;oeq=yn_)uWqGE#RRTELEt?=uIQR2vM^!t{UZRGGr>1|~3A z?9mGht3>QOOGvj?=vpN$doXjb1+PvO=q+fECPxNVVFSluRy(qh!`&tZ&JByeOj}Y7 z79VQ1=%{2e2^47_yGaP%s;&op#X^!`b^HlU6U^G*(EtDeTuDShR5;7clfQ1mAP~lRgA?jbR6l?_Wbx!YLLMp$ma1g% zVix;hy7wLIbTCqN(8PniK&evmCzU!@y^SB=0eAO7$e)G%0W<;aS76Dci3uv0wA+7P zRFaSa0t7&)TlOt9K-;*IkVza5ZK&8HYmOM#cR}&|QidiG zlf8>=1YnPwEyVzgp7gbho8}N$9XEg8=(|Y(`TyZ2oI1!zo0es*m=XZf(xs)^r9LHI zG-^IM38;0{D0a2mh1P?nT4v|e(gUo&E}mO&mvh(mip;@3@Kz55SlVhp~=;GFjfr_>9iT@m0qifP8#NK8PLiZ4Att=}oGDJt!S==MVk+ b*Y)uUH09^1r298{00000NkvXXu0mjf)91pi diff --git a/graphics/pokemon/vivillon/river/icon.png b/graphics/pokemon/vivillon/river/icon.png index 5cb09d29bd5bd5f45a9677955860ff082aad8837..475ae4e9d91b0fd43f97ca8c3e904833ffaa7a4f 100644 GIT binary patch delta 426 zcmV;b0agCv1M>rr7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwGWrQb|NXR7i>Kl*y6H5Q>89~*Q^)u1X#Ac&0YZIIsz&yU^-

m0^wM~EJs33m>K!Xii%S|95+#(~O-qnP26SzCw_+_AU(yR1 U($196>Hq)$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BLDy{BLR4&KXw2B00(qQ zO+^Ri1_uu|2EHLb{r~_0P)S5VR5;7clfQDpFbu~120Fihx#j`F8_>lqV;5kg6J#qJ z*}}6Xgv%zYE+L!T^tkv>d)Kj7ZTb0=9O;vV__J_700|)f1x{EJ98_RwJieMFAq9T| z1iwSCdYiU+xy=TuE|=wtgFzmLv`F@+@D4LR8(O|g0stN83CB% zEUGyQ$kI^7LmLq|iU-g1%?S|yKSqCt(+%RzrENJ^+5~_dPHC%dIKC#k$mVt!C156- zusrGU6siDr*Pdd4`s?D}yTIL{u8p{c{pqZfl5SoBZZ5GlL$C! P00000NkvXXu0mjf^+UV! diff --git a/graphics/pokemon/vivillon/tundra/icon.png b/graphics/pokemon/vivillon/tundra/icon.png index fa937ff7ca466c6c533604228702e70f058a0491..6347455e81ef53496093e27318a031b54d4db1c9 100644 GIT binary patch delta 434 zcmV;j0Zsn*1N#Gz7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwGWrT1iAfR7i>KluM4pFbG7G&L*kF?`p3D?D&8~}bLk;4ipZy}p1qLEUZnT!mqqDqA4loHWMVULmn+#42&gGy^~ z-D2?|;~>r^8x&(pdpxtO%L|O8@`>07*qoM6N<$f^n6ylK=n! delta 431 zcmV;g0Z{(?1NQ@v7zqRe0001qplF?uO+J4B32;bRa{vG?BLDy{BLR4&KXw2B00(qQ zO+^Ri1_uu|56At7S^xk6T1iAfR5;7clfi1kFbszM2Es4kvOGZc0wH~bKGZH9lg#fN*1OTuhG5B`s>^1~hF(wFBs-fQO^;mHy$}z|ru)oHK)5<-uq{eIu|u_7V>sU#^>UT_ zB?(R%T?7CYI5QeOVCv|Shf5m}I0}Ck&-CpQApXA%7mgLgt&7KU&U6ugu0O=1y57tq zEwcSg0Xv=vi=7#wP)@*@OFt+zp8!65H15kuF72VJtmwUd+Ow3Bd}mdsd=8RJYY_+K0OD(a+0pw@Qpb)O-bPfAZ?21gSa}40Kag>aRw~Fifi+lfKO3m(bod2|>q{aVgtej$ET0ucUS*eg@00033NklZ$vzYXleaak})XCaL<;pBp=p5u7y-+xlo`#vJ-05ehr8=(%u zj`+`3(yuha7J#`UI4TfI+zAoM2(^D2(Yr#15(U5qdzVN?*g_~F$><9+c}AGwZNofe zMr<<_6{O#+TGRrx+b4n!_<6+uY7G!*7xe=V=io!Z$_4+Ac05(628r=KzKLEA`ngt zvIvASgDe8!#2`^1(IA^ZqCs|n#7}4n1e-uIKQw{#e5m~}1ycG!a)DhId8Qvetilr| Tog7t@00000NkvXXu0mjfRJooC delta 473 zcmV;~0Ve*01Lp&f7=Hu<0001qplF={000McNliru;|mWJHzl%J_aguR02g#cSaefw zW^{L9a%BKVOhiylM<8}(av(DOV1ZP1_ zK>z@;j|==^1poj5Fi=cXMPi(TdwYAmy|n-T|8sNAq^$O|gMV7?#f!zPDfad$_F__$ zd(Fk9&Alm{Vq#iBK|$$6v|j)K00Cl4M??UK1szBL009e0L_t(|oZXT^io+ljhP{Dz zNcIi%XI4Tzgt!W{cWlTiFmsnkR)sWFx(dW9`Vt#vJ22FpAJ1QX?_=y=FE_pKIi!bf z0}C)Y9Nks`+^5iU_6xsS`CbWq!MfNdBmwjM*xjMchd?#5zJzQ_#Wz(LimUo z=H!zIK+1!^*>;jL#MJ}I>6RHd_CUqxsa&Bb&{x@Km%hZK$iB=&g3iIggLB@Lr`aMS z7%sb>J$HcdT~|M7{VEL4Xb^^5RI49B7z;G3A0!M-Zc-D5W*dd6l}LU>VFq6(;+ZJS zO?N7VBw=d3f+UO+&6F~tFwCY~R$*vbL6{PK=7(GSs~&HDlzTrG{HY%=vzC`F?Loaq P00000NkvXXu0mjfbg94C diff --git a/graphics/pokemon/wimpod/icon.png b/graphics/pokemon/wimpod/icon.png index 77a80488950d84026f27f577af4daf02cff39a61..732b7b9ac0788ada2f80d6bdbb7382da09c70065 100644 GIT binary patch delta 292 zcmV+<0o(rK0`CHl7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwPf4NklcWLj;7vTVIv$$hK`*TQrS;fYomPJ2@yw62-1qY%3vTm6?QQd8JpMC3G9LE% qv7F^oek`YT=10A)BR>lEx3~c|<3wVmS1U#Vo$| zA-B1b%PgXJ=I|UbCAui|9@;%6X>@znG{E4r9pl?%9tXUf?d>$iy*wRE-d=Cf9oK&t zh)6!AS28B_3A?DkjJSykAksbMzkXEPFO&=zIt{zb8%Gi8`wC{DkFUXY5g5>QFW{vu zuZXtkxLmL;5A;M84_fs-PVrC)+BH7zqdT3QHO;{k55wT*HA!W`W1?3S@K|+^wuEoI esQk;kd;&T}m6IY3UE%-$002ovPDBK*LSTXss(xz# diff --git a/graphics/pokemon/wishiwashi/icon.png b/graphics/pokemon/wishiwashi/icon.png index 0b9df6baf4c0215944dbf844580aed06232f3550..2e2778650f837a23490f59d9a59143dfe91c6f25 100644 GIT binary patch delta 264 zcmV+j0r&pE0@DJJ7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwPezNkleP_VseFeF zz9+-U(0dXNZV9EqU0PYJg2AD9Z zYA@3P@wSmB(+2=%F(STh#R?qJ5D~OmQT%2g@u-QhM%VlbGj-qZ>^w*;Z-3;1nf#Fn z=IW0XxcZ|I%*P+A0>1oF2xjufdIf0hmp@uN{ZTu%4S(DSWUTR-0(k*3cnG-Kg4q55 O0000A>07zqRe0001qplF?uO+SCjNklVPo)JBu);LHqKWV?9b$)lisag+nm#$L&&cVbr&cJ(bDc=bwUaT zPz`xejt6rmZpY8;Kj|wH)ejucIbz}xi>5C%YGutTOZ2}8r3Za3QSr=0WBs`l6 vX0D89xGo3R#I_DsUiw%M$}bGc?-u3>^sP!*fn4A*00000NkvXXu0mjf+b?G7 diff --git a/graphics/pokemon/wishiwashi/school/icon.png b/graphics/pokemon/wishiwashi/school/icon.png index 2cf411fd1b84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To zo`tL8wbMI=%%4m!Z3-z$AbeU^Vpp`3LS`Y|TGM~yg-qn8a2khyRU(Td*JgBbk)@?K zPS%Q})GLgRBf+ag^DOR0ab6({Q%(>Gbtu=96eL39++sNl00cJalXHCrtOKvk ztHohC6qUzK%F{(PmZ&BDb67-Hb4`BnuZOCXgaC zcG(rDzL|@Xi3n%A8~7kRgv?*u2+)j~}_JGCIgm5Jvz2002ovPDHLkV1iwm B&c6Tv diff --git a/graphics/pokemon/xurkitree/icon.png b/graphics/pokemon/xurkitree/icon.png index 26cce62f0a8aa7164331196dad290e451c610e18..4c044631de7c4db2f8383eff9eeaaff41f959c02 100644 GIT binary patch delta 358 zcmV-s0h#`S1F!>-7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwPc)Nkl{Pe+-zHS`AlfeOB4mxKS++(ekE>Q-)eU(RLaEe>$lv7WOPZ=mPLR-Rp za-brXB}5Y{(Ou>k2-aqaz2`YF#l9w?Zi(>7CVJXzVitD>H=Z!{7JPpusyyN`@-?k{ z$j36q%oc}gLNPe4z)9JeuI%)C zdfh^)GTleer{(+$=L?X31CZuN0c6~~;zt2wCP?!mdnke=KMEj{AXT6MG82Rw8x4?| zAi4R`0GSDrD}MoG-q9wCb@AbjAQvChlE3+&^xxpa3se*q`3h|XjQ{`u07*qoM6N<$ Eg0QTXNdN!< delta 312 zcmV-80muHZ1A+sP7zqRe0001qplF?uO+SAPNklz(l=Z*4?>dtw?Cdaoji}iy>6O#88l_ae!fhI+51R zpqN1p{2>PH_S(w5ITMQLy`T<8^gAd80aJucjBr>|iYYQ1t?k(xY&lM~oHJW{zvbqs zFVjKJf5|q?9}F+o($YWlbApIJj|nmjkhftTAUl4+0GZ@N50IJHz>UVirVI5fJwQeiCcUNoeQmCP@+HZylvo4jc_mIP)RF!Ljx%EKbk9wWLBK;@HveNpRg6gmB0};xAx-&IS!JQ6fdz400000NkvXXu0mjfw5w;c diff --git a/graphics/pokemon/zeraora/icon.png b/graphics/pokemon/zeraora/icon.png index b8dadd7ba330426de58a3668d454cf87e77fcb4d..7df134703fc45b59d942a36efd1a7685d4b6e260 100644 GIT binary patch delta 358 zcmV-s0h#`V1F!>-7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwPc)Nkl}|K?H?( ztTh%2>6ZbQ||I!rUw)XedL#9I+bwlN#k?J}p-kTcpk<5;JhyeLnka->1~C2Ii?#y_+qU zASVe-PeUyL7gW&5xVt5<)g zT`s_lK9b>bBA?rh&R`-z{_fTgZLxJM98C*$b2UJv?q1ydNhzuf_O-9}nfi4}U0@e#rRQk1zORpJH~8{+Iv& N002ovPDHLkV1jy{ktzTH diff --git a/graphics/pokemon/zygarde/10_percent/icon.png b/graphics/pokemon/zygarde/10_percent/icon.png index c1fd251535eecb9a7bcd25a88961b025bd9112c2..ab6354c98570835ad15ecccd6579bbd3f651bc5f 100644 GIT binary patch delta 323 zcmV-J0lfbH0*wQZ7&Qn30000?P=%ZT001CkNK#Dz0D2?<0Dyx40Qvp^0D$QL0Cg__ z0P0@=06Lcd02gnLEp)+=AwPfYNklW>rBi; zuCJip1#t0o^{huK&^A>j5FWCm@pJ_w-Aq^qOc}m!7SmNWz}=Ymx#xc@DW#?4=JQB^ z<|YI_An_uREXo}MEW{=E^gMo4Ei7Ce0NbPj93xoFBb;v|=?PEmk|;rBv=nI-Bm=Xx zBC(Hq40s`i9{3Sd>h2C4Fu2WU5scmerq{sj@A-Xu4#;yrI^fq1$m~8;-+y->-jAdj VUxsq%U;qFB07*qoM6LruV1jEvg%$t+ delta 308 zcmV-40n7f41O5V#7zqRe0001qplF?uO+SALa7bBm001r{001r{0eGc9b^rhX2XskI zMF-~w2M`M`_69rm0002tNklbq+FXX>Fu{M= zwsS%sC)4I8#9_Q=#rHMfFrmW75jnm-ghhv3$7Pj=u>V z&rO9R;C>}SxdR@iMdVhia5R|1(F(+zjSPql=$Vhj05Dn-V6g~XBT3NCqcqCJ+7(D# z015*foc(?~?8Q)RCe%Pw^)kKqdi)>{=4S_!s)PCEeY^p9d*D8Myb^2x0000Kl);X}APhv~5OJu4=l}nKyDRFWQC^P$#RS5#3)j}dmfR9B6 za3^4a>=8c!Dn)d+CKd$jG4oQ^fEPHlRvArP2y3y2z0nz94*xqbbkk$sU*+x>Wu@>3^bz*EF+bjz2zXM#nC=t0efxfe}sNX`` zxt^$<5Wdj@>j{|l7Dj&w0vy?oK;Gazw^B!q`Cm=|qM1ZKoS_e}jq`XTkOp4lzj*x% zWcxD$K^DkmkjS$@V$zd9sD~twZjdAp0+T@c!kz*#e++@dmN?t6^XL9Zeh7mkfw(`C zAG$%3K*Ap%KMX-+fy{mgU=qmehcL)2kjW2WkXazJAFQo!ez+k4_fk)1DEVP6kO|)2 Xa-b*TBi;5800000NkvXXu0mjfkNL_| delta 456 zcmV;(0XP1s1ds%f7zqRe0001qplF?uO+J4B32;bRa{vG?BLDy{BLR4&KXw2B00(qQ zO+^Ri1_uxf3-UvGcK`qZb4f%&R5;7!lCe(1Fc60Q1}94>8y6vVq$(Rjx@GJ;M2a$& zC*xuI01zEP-FiM3DWi>Jr>TpWSn-xm{xA0LPpRJ)`~*&v+)yWAl$8t^Fp>cvhpbRR%!wu18ID$p9ANGmO0eYmO}!EwL__ zgxFU18ga?k5;nSM^`J?cxWP>0M(bB`7&9R;?Z)cagyAt`wSQ`uIZR4pT?vm&eT!n7 z6CGqOXY^EPEW2)hc$utbXLeBtLRt(vokHO-i8cV-o`a0000 Date: Sun, 17 Nov 2024 09:59:04 +0100 Subject: [PATCH 199/278] Refactors Absorb to use Moveend (#5670) --- data/battle_scripts_1.s | 22 ++------ include/battle_scripts.h | 1 + include/constants/battle_script_commands.h | 1 + src/battle_script_commands.c | 38 ++++++++++++-- src/data/battle_move_effects.h | 2 +- src/data/moves_info.h | 9 ++++ test/battle/move_effect/absorb.c | 58 +++++++++++++++++++++- 7 files changed, 109 insertions(+), 22 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index de8bcb92fc..bed58e3d1e 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -3012,30 +3012,18 @@ BattleScript_CantMakeAsleep:: orhalfword gMoveResultFlags, MOVE_RESULT_FAILED goto BattleScript_MoveEnd -BattleScript_EffectAbsorb:: - call BattleScript_EffectHit_Ret - jumpifstatus3 BS_ATTACKER, STATUS3_HEAL_BLOCK, BattleScript_AbsorbHealBlock - setdrainedhp - manipulatedamage DMG_BIG_ROOT - orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE - jumpifability BS_TARGET, ABILITY_LIQUID_OOZE, BattleScript_AbsorbLiquidOoze - setbyte cMULTISTRING_CHOOSER, B_MSG_ABSORB - goto BattleScript_AbsorbUpdateHp -BattleScript_AbsorbLiquidOoze:: +BattleScript_EffectAbsorbLiquidOoze:: call BattleScript_AbilityPopUpTarget - manipulatedamage DMG_CHANGE_SIGN - setbyte cMULTISTRING_CHOOSER, B_MSG_ABSORB_OOZE -BattleScript_AbsorbUpdateHp:: + goto BattleScript_EffectAbsorb + +BattleScript_EffectAbsorb:: healthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER - jumpifmovehadnoeffect BattleScript_AbsorbTryFainting printfromtable gAbsorbDrainStringIds waitmessage B_WAIT_TIME_LONG -BattleScript_AbsorbTryFainting:: tryfaintmon BS_ATTACKER -BattleScript_AbsorbHealBlock:: tryfaintmon BS_TARGET - goto BattleScript_MoveEnd + return BattleScript_EffectExplosion:: attackcanceler diff --git a/include/battle_scripts.h b/include/battle_scripts.h index 27a4402aa2..a1722a511d 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -561,6 +561,7 @@ extern const u8 BattleScript_MoveBlockedByDynamax[]; // Battle move scripts extern const u8 BattleScript_EffectSleep[]; extern const u8 BattleScript_EffectAbsorb[]; +extern const u8 BattleScript_EffectAbsorbLiquidOoze[]; extern const u8 BattleScript_EffectExplosion[]; extern const u8 BattleScript_EffectDreamEater[]; extern const u8 BattleScript_EffectMirrorMove[]; diff --git a/include/constants/battle_script_commands.h b/include/constants/battle_script_commands.h index 6b162dc487..bfdfceb620 100644 --- a/include/constants/battle_script_commands.h +++ b/include/constants/battle_script_commands.h @@ -263,6 +263,7 @@ enum MoveEndEffects { MOVEEND_SUM_DAMAGE, MOVEEND_PROTECT_LIKE_EFFECT, + MOVEEND_ABSORB, MOVEEND_RAGE, MOVEEND_SYNCHRONIZE_TARGET, MOVEEND_ABILITIES, diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0293e00f34..e9da9d62e8 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -5712,6 +5712,38 @@ static void Cmd_moveend(void) } gBattleScripting.moveendState++; break; + case MOVEEND_ABSORB: + if (gMovesInfo[gCurrentMove].effect == EFFECT_ABSORB) + { + if (gStatuses3[gBattlerAttacker] & STATUS3_HEAL_BLOCK && gMovesInfo[gCurrentMove].healingMove) + { + gBattleScripting.moveendState++; + break; + } + else if (IsBattlerAlive(gBattlerAttacker) && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + { + gBattleMoveDamage = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); + if (gBattleMoveDamage == 0) + gBattleMoveDamage = 1; + gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); + gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE; + if (GetBattlerAbility(gBattlerTarget) == ABILITY_LIQUID_OOZE) + { + gBattleMoveDamage *= -1; + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_ABSORB_OOZE; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_EffectAbsorbLiquidOoze; + } + else + { + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_ABSORB; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_EffectAbsorb; + } + } + } + gBattleScripting.moveendState++; + break; case MOVEEND_RAGE: // rage check if (gBattleMons[gBattlerTarget].status2 & STATUS2_RAGE && IsBattlerAlive(gBattlerTarget) @@ -11344,12 +11376,12 @@ static void Cmd_manipulatedamage(void) case DMG_FULL_ATTACKER_HP: gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker); break; - case DMG_CURR_ATTACKER_HP: - gBattleMoveDamage = GetNonDynamaxHP(gBattlerAttacker); - break; case DMG_BIG_ROOT: gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); break; + case DMG_CURR_ATTACKER_HP: + gBattleMoveDamage = GetNonDynamaxHP(gBattlerAttacker); + break; case DMG_RECOIL_FROM_IMMUNE: gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 2; break; diff --git a/src/data/battle_move_effects.h b/src/data/battle_move_effects.h index 956a2d0f23..b5b3e539c8 100644 --- a/src/data/battle_move_effects.h +++ b/src/data/battle_move_effects.h @@ -24,7 +24,7 @@ const struct BattleMoveEffect gBattleMoveEffects[NUM_BATTLE_MOVE_EFFECTS] = [EFFECT_ABSORB] = { - .battleScript = BattleScript_EffectAbsorb, + .battleScript = BattleScript_EffectHit, .battleTvScore = 4, }, diff --git a/src/data/moves_info.h b/src/data/moves_info.h index db5f2eaf75..1bde816281 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -1874,6 +1874,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_SPECIAL, + .argument = 50, .ignoresKingsRock = (B_UPDATED_MOVE_FLAGS == GEN_3 || B_UPDATED_MOVE_FLAGS == GEN_4), .healingMove = B_HEAL_BLOCKING >= GEN_6, .contestEffect = CONTEST_EFFECT_STARTLE_PREV_MON, @@ -1895,6 +1896,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_SPECIAL, + .argument = 50, .zMove = { .powerOverride = 120 }, .ignoresKingsRock = (B_UPDATED_MOVE_FLAGS == GEN_3 || B_UPDATED_MOVE_FLAGS == GEN_4), .healingMove = B_HEAL_BLOCKING >= GEN_6, @@ -3620,6 +3622,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_PHYSICAL, + .argument = 50, .makesContact = TRUE, .ignoresKingsRock = (B_UPDATED_MOVE_FLAGS == GEN_3 || B_UPDATED_MOVE_FLAGS == GEN_4), .healingMove = B_HEAL_BLOCKING >= GEN_6, @@ -5152,6 +5155,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_SPECIAL, + .argument = 50, .ignoresKingsRock = (B_UPDATED_MOVE_FLAGS == GEN_3 || B_UPDATED_MOVE_FLAGS == GEN_4), .healingMove = B_HEAL_BLOCKING >= GEN_6, .contestEffect = CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION, @@ -10264,6 +10268,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_PHYSICAL, + .argument = 50, .makesContact = TRUE, .punchingMove = TRUE, .healingMove = B_HEAL_BLOCKING >= GEN_6, @@ -13244,6 +13249,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_PHYSICAL, + .argument = 50, .makesContact = TRUE, .healingMove = B_HEAL_BLOCKING >= GEN_6, .contestEffect = CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION, @@ -14200,6 +14206,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_FOES_AND_ALLY, .priority = 0, .category = DAMAGE_CATEGORY_SPECIAL, + .argument = 50, .healingMove = B_HEAL_BLOCKING >= GEN_6, .contestEffect = CONTEST_EFFECT_STARTLE_MON_WITH_JUDGES_ATTENTION, .contestCategory = CONTEST_CATEGORY_BEAUTY, @@ -20021,6 +20028,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_SELECTED, .priority = 0, .category = DAMAGE_CATEGORY_PHYSICAL, + .argument = 50, .makesContact = TRUE, .slicingMove = TRUE, .healingMove = TRUE, @@ -20322,6 +20330,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .target = MOVE_TARGET_BOTH, .priority = 0, .category = DAMAGE_CATEGORY_SPECIAL, + .argument = 50, .thawsUser = TRUE, .metronomeBanned = TRUE, .healingMove = B_EXTRAPOLATED_MOVE_FLAGS, diff --git a/test/battle/move_effect/absorb.c b/test/battle/move_effect/absorb.c index 698ea41091..70c1b621af 100644 --- a/test/battle/move_effect/absorb.c +++ b/test/battle/move_effect/absorb.c @@ -24,6 +24,25 @@ SINGLE_BATTLE_TEST("Absorb recovers 50% of the damage dealt") } } +SINGLE_BATTLE_TEST("Absorb deals 50% of the damage dealt to user agains Liquid Ooze") +{ + s16 damage; + s16 healed; + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_TENTACOOL) { Ability(ABILITY_LIQUID_OOZE); } + } WHEN { + TURN { MOVE(player, MOVE_ABSORB); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ABSORB, player); + HP_BAR(opponent, captureDamage: &damage); + HP_BAR(player, captureDamage: &healed); + MESSAGE("Wobbuffet sucked up the liquid ooze!"); + } THEN { + EXPECT_MUL_EQ(damage, Q_4_12(0.5), healed); + } +} + SINGLE_BATTLE_TEST("Absorb fails if Heal Block applies") { GIVEN { @@ -69,5 +88,42 @@ DOUBLE_BATTLE_TEST("Matcha Gatcha recovers 50% of the damage dealt from both tar } } +DOUBLE_BATTLE_TEST("Matcha Gatcha will faint the pokemon if Liquid Ooze drain deals enough damage") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_MATCHA_GOTCHA].effect == EFFECT_ABSORB); + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_TENTACOOL) { Ability(ABILITY_LIQUID_OOZE); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_MATCHA_GOTCHA); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_MATCHA_GOTCHA, playerLeft); + HP_BAR(opponentLeft); + HP_BAR(playerLeft); + MESSAGE("Wobbuffet sucked up the liquid ooze!"); + MESSAGE("Wobbuffet fainted!"); + } +} + + +SINGLE_BATTLE_TEST("Draining Kiss recovers 75% of the damage dealt") +{ + s16 damage; + s16 healed; + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_DRAINING_KISS); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_DRAINING_KISS, player); + HP_BAR(opponent, captureDamage: &damage); + HP_BAR(player, captureDamage: &healed); + } THEN { + EXPECT_MUL_EQ(damage, Q_4_12(-0.75), healed); + } +} + TO_DO_BATTLE_TEST("Absorb recovers 50% of the damage dealt to a Substitute"); -TO_DO_BATTLE_TEST("Draining Kiss recovers 75% of the damage dealt"); // Tests .argument 's implementation From 8f137b33e444387c02ec6560315741d099f7dd88 Mon Sep 17 00:00:00 2001 From: Cafe <46283144+Cafeei@users.noreply.github.com> Date: Sun, 17 Nov 2024 13:20:47 +0400 Subject: [PATCH 200/278] Followers sprite fixes (#5669) --- graphics/pokemon/audino/overworld.png | Bin 710 -> 675 bytes graphics/pokemon/boldore/overworld.png | Bin 754 -> 843 bytes graphics/pokemon/cottonee/overworld.png | Bin 555 -> 552 bytes .../pokemon/cottonee/overworld_normal.pal | 12 +++++------ graphics/pokemon/cottonee/overworld_shiny.pal | 6 +++--- graphics/pokemon/drilbur/overworld.png | Bin 607 -> 595 bytes graphics/pokemon/drilbur/overworld_normal.pal | 2 +- graphics/pokemon/emboar/overworld.png | Bin 1121 -> 1151 bytes graphics/pokemon/emboar/overworld_normal.pal | 14 ++++++------ graphics/pokemon/emboar/overworld_shiny.pal | 16 +++++++------- graphics/pokemon/gigalith/overworld.png | Bin 808 -> 844 bytes graphics/pokemon/herdier/overworld.png | Bin 831 -> 832 bytes graphics/pokemon/herdier/overworld_shiny.pal | 2 +- graphics/pokemon/liepard/overworld.png | Bin 904 -> 842 bytes graphics/pokemon/munna/overworld.png | Bin 479 -> 458 bytes graphics/pokemon/munna/overworld_shiny.pal | 2 +- graphics/pokemon/musharna/overworld.png | Bin 1081 -> 1077 bytes .../pokemon/musharna/overworld_normal.pal | 18 ++++++++-------- graphics/pokemon/musharna/overworld_shiny.pal | 10 ++++----- graphics/pokemon/palpitoad/overworld.png | Bin 613 -> 608 bytes .../pokemon/palpitoad/overworld_normal.pal | 2 +- .../pokemon/palpitoad/overworld_shiny.pal | 8 +++---- graphics/pokemon/panpour/overworld.png | Bin 712 -> 653 bytes graphics/pokemon/panpour/overworld_normal.pal | 2 +- graphics/pokemon/pansage/overworld.png | Bin 762 -> 701 bytes graphics/pokemon/pansear/overworld.png | Bin 700 -> 653 bytes graphics/pokemon/pidove/overworld.png | Bin 691 -> 741 bytes graphics/pokemon/pidove/overworld_normal.pal | 2 +- graphics/pokemon/pignite/overworld.png | Bin 717 -> 731 bytes graphics/pokemon/pignite/overworld_normal.pal | 20 +++++++++--------- graphics/pokemon/pignite/overworld_shiny.pal | 14 ++++++------ graphics/pokemon/purrloin/overworld.png | Bin 540 -> 585 bytes graphics/pokemon/purrloin/overworld_shiny.pal | 6 +++--- graphics/pokemon/tepig/overworld.png | Bin 610 -> 570 bytes graphics/pokemon/tympole/overworld.png | Bin 479 -> 528 bytes graphics/pokemon/watchog/overworld.png | Bin 832 -> 735 bytes graphics/pokemon/watchog/overworld_normal.pal | 6 +++--- graphics/pokemon/watchog/overworld_shiny.pal | 12 +++++------ graphics/pokemon/whimsicott/overworld.png | Bin 834 -> 784 bytes .../pokemon/whimsicott/overworld_normal.pal | 16 +++++++------- .../pokemon/whimsicott/overworld_shiny.pal | 18 ++++++++-------- 41 files changed, 94 insertions(+), 94 deletions(-) diff --git a/graphics/pokemon/audino/overworld.png b/graphics/pokemon/audino/overworld.png index 27fdc5f6b7643dbbf40b0600c7d144e0f505692a..082abdd270602cd4a6bdade3b36b8bbfa70f125e 100644 GIT binary patch delta 663 zcmV;I0%-ll1)~L!7=H)@0001UMu)cm0004VQb$4nuFf3k0000mP)t-sn9!hTKR?G` zXxf2_0001AS3mXRq{pmz3kwSpSES|T_x0nXo12^3fr@pjr)cUb9`Jxi94zrX zBc1#w8*mj4@`t}?e!mZSHYn0Lni^ohLkO#ltwR3l7%v)pkf*Xx=1Gb69yhcO0QQzl zvqiX?xBUU%{Av7F^F}{8WK45JlPMC9a#`cz&dXAno`1Ip=ckf41`|icw96;~3f$@^ zgVuVPXoNWymo~wWCw=Tuq~0JK+Wy$GJU7!c;g z2#y==6td>Q6$6P!$VQDP{U}`5-vf9a2Vma|U})>Ge%>p&)`vGj$GgDS`Ayhsf^MzmC4yc<;3Pg1^$=NA(0=Q;P>Z xHn0xqix2rL{e9Gkk7*uqoV>@6jQThA4K{Qg+z<-2nAZRR002ovPDHLkV1g~3HVgm& delta 698 zcmV;r0!96!1;z!C7=Hu<0002CwraKj0004VQb$4nuFf3k00004XF*Lt006O%3;baP z0000gP)t-sn9!hTKR=jIprClL0001AS3mgJu-LGO3kwSpSES|T_x0nXo12^3frVGd00JdRL_t(Y$L-ZIZ-3K36bJBgRZ9#Ev0aq4 zi7mRY*bk*0GE|mR5K~bdGK0lAuqA+a&VLR$<}o2PHXu92<^%rBxM0S|!UafHX(wNhPEVUSi^Mcrya3TJ!byHY zJ9^#3`AyU5Sxda>g4N+HKVdOEZDKrfn5C6Bz2f;|=6nYDVlHOm8m|ZDzN{DrMsKec z!!sTrdmer|xQ@c>>C00U$B8kHO4xj z;ZZcU$~~xBv1k}k_d((3xm(<9Ah(jc>?gZX49g3v)(RX_`VM-Z;Wv8zKpx-^JW}s!f7at|B0HxR gclho@|DXu@1*{77)^;Hj*Z=?k07*qoM6N<$g8l(Ong9R* diff --git a/graphics/pokemon/boldore/overworld.png b/graphics/pokemon/boldore/overworld.png index 013a09dcf3d478b248d85bf99b45b5d02b3df064..e4c4cb5b11e26b34e0d3a7dca38039fbd543513c 100644 GIT binary patch delta 792 zcmV+z1Lyqm1(R9J=WmfLo$APj~H1RNRP|9N*34uya?UQBzjWvyz*FNQw{0b`!= zjAuOK8P8}2{4K|e*RQw%yPo0894-W2@xKm$=sLa&P8Js?U*_O!jH}nLIJvirDZb9F z^L8O{$vq-*nSic{{+D@w*0*iv1zK{y1pw!$MviX~Hh-4~Z!@<(+~rkYIQ>Z097&(8 z0;$RYZ}NZ*=byJY3v|wh=ubcMCHLNozSN?uke=M-Y`~oGU2Y`7;JhaTJ6$W6oD0kb zFC>mH$`f=&{)AJ5I47L$s!6VRN-$Vz5e{@(f;IP161?vSxbKpG;@FzOg!_(1)<+5f z#7$2##llo@-1|QE!vY z4*LtzP_IMB`Gt5Z0En?VlV`-OKb9XLQ+PFn)gs#9vm7WiDt;4XwLi?BxG5Q zK-Z)IpadmjtN`hMq(85|r^9Tp#Th9#z0`62d=2Ad>y0)IHK zTvnc?$fO;i@sFvya)#-|hA!Q!fwkF2o@>lSp$8CXa!-FjXE;}=a^_75hv zpwSg%aY!n~d45Eae*_W}o5~e7xP^GI-4FHxO%!>l(oi-7Ru4`xc=|%& zMd0AD#67PdiJKg+hXAf^8tZumPt7wg0?!Sn6{O#vX!^jWooV&+)O34T%!X300003^ delta 703 zcmV;w0zm!C2J!`v7%Bt<0002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?N)xDJ)mL;u_%{V{v2O2cV12%sv1e=u<+w8dFtqci^EGuMe z#yLU-OO26}>y;P`)_g=*7BC4cDaxlR3cw6Jjnd1hXgDZ+}=k-bjodUmj+6B63D#=<}4} z$PmK77}w&Q4FhJBCxuikEPpcE-P00Po8PmKZTVH`ViK?rN$xoPRPJ+mlz>% diff --git a/graphics/pokemon/cottonee/overworld_normal.pal b/graphics/pokemon/cottonee/overworld_normal.pal index 76222db0ce..2af87bcf9f 100644 --- a/graphics/pokemon/cottonee/overworld_normal.pal +++ b/graphics/pokemon/cottonee/overworld_normal.pal @@ -3,17 +3,17 @@ JASC-PAL 16 152 208 160 110 110 110 -204 227 209 -208 241 229 -164 207 173 +198 212 159 +222 230 197 +165 173 132 64 128 16 92 224 48 74 176 49 47 46 47 -198 196 235 -137 162 175 +165 173 132 +123 132 107 238 238 247 137 117 107 -230 77 40 +230 132 0 0 0 0 0 0 0 diff --git a/graphics/pokemon/cottonee/overworld_shiny.pal b/graphics/pokemon/cottonee/overworld_shiny.pal index bb3d8c85c8..d530eb0894 100644 --- a/graphics/pokemon/cottonee/overworld_shiny.pal +++ b/graphics/pokemon/cottonee/overworld_shiny.pal @@ -11,9 +11,9 @@ JASC-PAL 192 96 40 47 46 47 192 176 136 -137 162 175 +112 96 40 248 248 248 -137 117 107 -230 77 40 +138 106 91 +112 184 0 0 0 0 0 0 0 diff --git a/graphics/pokemon/drilbur/overworld.png b/graphics/pokemon/drilbur/overworld.png index 9d1c7ddcf8dcdf41524d1755cbb6469e12f62b15..981e575fc1a30cb2527cc73d1ab7c5c7095b8bb2 100644 GIT binary patch delta 582 zcmV-M0=fO)1k(hN7=H)@0001UMu)cm0004VQb$4nuFf3k0000mP)t-sn9!goC@3f> zC<_YAW$0005eNklX--yrCDk!`odZ?>jsQ zXmP5+dyKbR#NtC87%=&6u&~q5xubhzWx3;kBZG79V-6HN-tSl{)g1k292#%-YUA)3 z7l*8zQ8ezMDfc~IwcKL;@Q!+&GN6lmP!2j@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`UGX6O$h5eBvxmJgj4Ec~Pg8EvC-* zq{gGL+jedun--wN;Zp@nF`p;?VPWL|GSe5155&&*NC1yfu;#M`vF#0!`8*!~^n-h6 zI2(u$_<^180p%3Cq3gS)0^)EZJ;9sLC+=Fdg@02g2f7yBBVQcYJwwQ13o>id%;#f= z2#qb=?-e&L_JGvuxaUFOl?p~d5Dq&%FvWa6^S-5OGQIKnKHURSOS=~TMX?33&oreq z)qFm6ZP?4coRR}Ix(7gGlKhi@=L%|*NSU;+^of{)6ZQk%eE!0dEYiJy b{TBHR1zx8T(x`FG00000NkvXXu0mjfu&IE4 diff --git a/graphics/pokemon/herdier/overworld.png b/graphics/pokemon/herdier/overworld.png index 51e2a2207bb9a8c5b05173b8141ff1ad3bd1b671..de47a0ba7f4c1c1daafa3dab43e13da9c29d6f46 100644 GIT binary patch delta 821 zcmV-51Iqlr2EYc87=H)@0001UMu)cm0004VQb$4nuFf3k0000mP)t-sn9!g$HckKl z05&#GU`QBXV2qGhKuAbv*pOK0$dHg&Kv-Bwffk6zY=7G~zVVH3{If_D^St06 z1~0l@@gq{&!x(i1zwAvI^DYOs+9luP>euk&&G3qkM(8&8Aa4_fyif5A zbC`hh@Cy=%`4p^b*I?<@aLD@C(qD>fa2+AlC@e**k&aW1T zH^D1D`UgjKv=(f_kjq`X$B+7`4=nNbP^oo6Pk&&=MG7KHz~qDyKb=(%Q*_h2 z9@r~>{15ELQVHt(Rba(oSa416I~1J~ayX$=x{Q_C^^l;)8-K-bf^7&kFM*Kb71jM< zn39!%%V|stBF_f&aO1D|Rj}*z#&!ZRPo+?r0~8~JfcMJm^Ls>oxbau~@RMn%OW|fu zj0x(z1YB#ZH|d&W2(Gw3Sz9}u)X==K7aU@O41X}o$=d^Ia7h+N3z*@M9EOJ9f^Qiw z4(t?^37f~@io*;Uz+dcdA~jbo4)0%GtZS9Cb(65Zg~;by7RKLG##e`(05}d`_Bb9J z`pkxg_ay6t*?rN>*CyLn`Ry(0G@$XlpwvmA3y}L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k3P343Y#y6Q{M;gLsL_cB2Tw zexAa;y1WJOOMeo>^_-Ds>}E767_)O0vNGI5K??L^S1c5zp}@WaP^E;Xb15y)BGbCy zIs>+%fXFJS4WGa%c=_gQHy{qaz)}$}5uniPk2pIawQSR|1e$#6_yDylFe!2cIDC6h z3cDd91&AU6_+4x6VLZ<}c7x?;E{Ep>VkhxzOY#N{mw(;|asQwirFz%$N|8zMe31Zc z0&HCa1DKy{K>x4lazt;eL|vfqu2?Hd;B{VVQMnrdZ`z6H4yO?|3c?6?!^EQ-iPj*Y ze&unc$Q^&~-rEqWiTxp_P%AwI zZ)0wmUVo*sqvcpqQbjuMUi`du1&z<|c6gh6pYuf9=2C~7WSJz;&Oa062Yqbx<;3=T z6|TCzsT2E~s{fb6A*1Ux(*^~MSVywSc*SN;Nj9+awv!JNTg}ML$ N002ovPDHLkV1g^-JwyNi diff --git a/graphics/pokemon/pidove/overworld_normal.pal b/graphics/pokemon/pidove/overworld_normal.pal index 704bb5f946..820bcb20cd 100644 --- a/graphics/pokemon/pidove/overworld_normal.pal +++ b/graphics/pokemon/pidove/overworld_normal.pal @@ -14,6 +14,6 @@ JASC-PAL 248 184 40 184 96 96 128 128 128 -172 172 172 +150 150 150 0 0 0 0 0 0 diff --git a/graphics/pokemon/pignite/overworld.png b/graphics/pokemon/pignite/overworld.png index 9ea0862b2d49e5ac16a0c4ad24c4fb4b8f023c29..b6b97736b9d7652d5bf51f969a68a47b302c7b50 100644 GIT binary patch delta 719 zcmV;=0xdpr|Ezyx%5cRaa!ke;zsytg_6F;5HNp|y zOYigz9&t95@nZ1*G{Rgp2~P6at;IbEt8jvB3t6 zj+ju)+kYNch2j%3{Z>1%&X_Zvy~Uz4CP=XP6lGC?3zVEe9i+}pP*fMQfcnvw9ohEa z$jbx81?nNI7j1AZa4T@<85YyeLr{GxaDf$affx{yLyen2lI@_>EY*|Ple?*J`AwoP z4iYT225%|!J!o>VPfguEx;U1p5Fl2WIW+jY3P`o)S?5HG=A5_+tTcF!f5A;+Y@V~m zb@w-upVNGq?A+G3Z18T^yuCVo`p>M{;1BsPvp?yHFy3wkw~qh-002ovPDHLkV1j$Z BO#A=< delta 705 zcmV;y0zUoQ1D0yRlQK~zY`?bR`l(=ZeVa3`Ej>VI~j9T;;?+OkqNv~1VJ zU2dzBmz0g`sjw57u)?VvBSO02Mpiy0cH%U#xq!GsLPCAb@=MddpPe{GhdR`u{-3hS z z(eA2gWc5W$&VMgF@FKt47MYOtnwS<31(9{q>E)DC8k}`mT&}H{X@s_%kbuAH^fIS3 z;%6PUNLCcUS`*MMRy3Q%B%84=A3-stGoEzV3i7Ogv>Cv#2rRB*5?{aV@)3xZ3P?J< zg?YhSfu?209{^U@tX`9ia{c`!h(v(6_9JC={RKSX(0>XvjnH`bK26trs9Lsp<*~X? z$N3UuMRfz0%I{RiS+NrhA&Ty{SP_Rt~;+R*?)POyhLKH8PKm{Ii<(KOBr>}to z44tdHZaKQq)15aHYf45?4KPeA4?kD#Jx`)!8q-t-_R@rweo;3FY!ox64it_@@oI0m z?{|65uYc-i*EIS{=~R3|71*1IT_F8M1?KA!Pr}9bZ+ky`!y1b~e@)0d!D@Tkxbl7g zo6^OAp4WkLz|!>+2OsBKKcoYv_OAblH5P#z*^<-jTxTF0Zuak!(e`4|%viiE>7s2M z5|+5m{@sD87x*p9Qy90mo(&9Rx9!!UnX$b7R5~-hy=iY;gjbKvzcg{u?Luj%nQ>W$ nu^xzj&i`#`Grq(BrV#o8{t&*mOIZG;00000NkvXXu0mjf6%$5c diff --git a/graphics/pokemon/pignite/overworld_normal.pal b/graphics/pokemon/pignite/overworld_normal.pal index 5cf1ee3ef0..1454fac04d 100644 --- a/graphics/pokemon/pignite/overworld_normal.pal +++ b/graphics/pokemon/pignite/overworld_normal.pal @@ -4,16 +4,16 @@ JASC-PAL 152 208 160 16 16 16 0 0 0 -82 49 41 +80 48 40 57 37 37 -189 90 49 +209 95 46 123 57 41 -232 106 43 -210 182 96 -24 32 40 -83 79 60 -0 0 0 -0 0 0 -0 0 0 -0 0 0 +232 112 40 +232 192 56 +56 32 32 +80 48 40 +232 232 248 +200 64 56 +72 72 72 +41 41 41 0 0 0 diff --git a/graphics/pokemon/pignite/overworld_shiny.pal b/graphics/pokemon/pignite/overworld_shiny.pal index 21a3212914..8d967d10b7 100644 --- a/graphics/pokemon/pignite/overworld_shiny.pal +++ b/graphics/pokemon/pignite/overworld_shiny.pal @@ -6,14 +6,14 @@ JASC-PAL 0 0 0 48 56 72 42 48 55 -120 104 240 -101 69 51 +184 136 24 +120 88 40 232 160 32 -204 156 214 +160 144 232 42 48 55 48 56 72 -0 0 0 -0 0 0 -0 0 0 -0 0 0 +232 232 248 +212 121 189 +88 48 40 +56 32 32 0 0 0 diff --git a/graphics/pokemon/purrloin/overworld.png b/graphics/pokemon/purrloin/overworld.png index dd0d58266ef6f2cd22d825453281bae43efd1542..b751a7f8ece89edc9b5a47fb08cfd1736795b4fa 100644 GIT binary patch delta 541 zcmV+&0^tUrBfY9{)Kw zPiz)(%@AQEGU6lYT~6tLS{d`KP9om)5hZ_ufcK=J%K)z45=%X2F%;{AxFg>M1G`I^DmrGQ&|)3H;x`R_W5___u97K2^F zoTN(5Vu)r-jQFwz`XOtHSeDad0Pp&;8gwXpnj+#RP#$M2a|>X9ZuMdJbQ*Q?8dsXX za(8I!b^N>l%$veI6iS|3AmXMk(U{{!&PDjV^i7&|#Jj*OH6=SLX91XNZ&H1=xK|D2 zTx%`XARK)WZ$Ia38>~7V4`Xf$ZIk_*26F8V+9O2Qr!&pET)>CRRG(RG?qSG}W)dOC zKsPv-(o8bfcY{lKIki&xES`rkZ)?=AxOX`fp?QUm87hfeLU%ZoYEJWBbIhHC=T@li+#Dn#P$PvZi(Zm)C6Ju=LQ$RjtNyM9i8s8Ovb1L0e5eg4D0Wc_H-ds!KL fPOt6Yj(6f4Px}k^%vNXV00000NkvXXu0mjfDo*zV delta 496 zcmVpGheiAELB~0683H#sdVXhxBw#DfCE&m1UKLSEKqKX(@i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mjf;B5+G diff --git a/graphics/pokemon/tympole/overworld.png b/graphics/pokemon/tympole/overworld.png index 9f9778553c0d3ad7d6ef6b09818ea5cfbd7aad70..320809dc24bd98e7aef363883c932f5ac26fdfa8 100644 GIT binary patch delta 481 zcmcc5Jb`6`gcJue0|P^`Tl;n(#aJBV?!>U}oXkrg$6%t9YCVuf2J(~Ne*`M)^K@|x ziD-R0?RL>&1s<2hr;|SXuPm z>aaU5>seFB%=L^5d}3J>-S~beRWMJu;I!@7GkdiYjG?;A4F422OjC9eJh00xpx*T* zpFRXprW2&S0CAqx6)@?#Rnz^N;{mMPs641Bnj@y$`jX}t%SuUvZ;dFCd|_Z~Th znN>@<*>>Jg%9i~u)xh;8oa-m=i|Gu43Q^AWTkl2ndVVRd=Wl5IAKWZ9UpJ$asp09Y zvW6ENmrgxrS|sJ5xT$`!Me!eLg(l-U(pxlx*Phwbx1ZVR?*8~%PmR@gSgu69>Cg_@ zqkoanVAu2KZ0`$qgr7LJ{;S&T;)rkRw-(rP2tJ==$ME-JXl-um-Ew_PjBxApPSrtebwE){`E)ecKlxm1l+%vd}i^z US^e~IA1JasUHx3vIVCg!00QaP_W%F@ delta 431 zcmV;g0Z{&s1m6RY7%Bt<0002CwraKj0004VQb$4nuFf3k00004XF*Lt006O%3;baP z0000XkuoKJ?fsAY00009a7bBm000id000id0mpBsWB>pGM@d9MR7l6|)W1){Koke? zBcXdsBhFkCoe_!a3D+Q74Yb1O53cI0-t0p72hdzs7xAz3;lkZBuaFQI)9?0ad+&ba zU0IbXRsL6kE#5b^$S<*!!g-6mLmJ$tooW4&FxoqRO%Nrdy^LHA}qC=HG%1ZMpcIJ8kN^^f&TT5k5`>+MpDz$#K|n>tXMmnqTfJRsJxH ZeFJ0SgVUT7HjV%Q002ovPDHLkV1j5D$*BMU diff --git a/graphics/pokemon/watchog/overworld.png b/graphics/pokemon/watchog/overworld.png index f2e9ff47338fc559ce5ded92ff50e2aaf4f9ec2f..e9184c7375ade42094e37621ea6fbd982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ITEOtdAsCq176{kOT3V-#e>l70H>x8K+fOa)fC`WCQaz8R^KEFvOX!1m;-)0B>c7 z8S%BjnK}_p5Zn5V3S5P-fm+}YKB4w?a;MKj&>Be48b*wf2OYJ}H#m zKrqb0*MU>`zzm$+VKd5ynGf Date: Sun, 17 Nov 2024 09:21:01 +0000 Subject: [PATCH 201/278] Mimicry updates typing with RemoveAllTerrains() (#5666) Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> --- include/battle_util.h | 1 + src/battle_script_commands.c | 1 + src/battle_util.c | 2 +- .../move_effect/hit_set_remove_terrain.c | 32 +++++++++++++++++++ 4 files changed, 35 insertions(+), 1 deletion(-) diff --git a/include/battle_util.h b/include/battle_util.h index ec8c03a6bd..71d81ce3bb 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -267,6 +267,7 @@ bool32 CanGetFrostbite(u32 battler); bool32 CanBeConfused(u32 battler); bool32 IsBattlerTerrainAffected(u32 battler, u32 terrainFlag); u32 GetBattlerAffectionHearts(u32 battler); +void TryToRevertMimicryAndFlags(void); u32 CountBattlerStatIncreases(u32 battler, bool32 countEvasionAcc); bool32 ChangeTypeBasedOnTerrain(u32 battler); void RemoveConfusionStatus(u32 battler); diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 7212560ebd..11bf05fb0f 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -8655,6 +8655,7 @@ static void RemoveAllTerrains(void) break; } gFieldStatuses &= ~STATUS_FIELD_TERRAIN_ANY; // remove the terrain + TryToRevertMimicryAndFlags(); } #define DEFOG_CLEAR(status, structField, battlescript, move)\ diff --git a/src/battle_util.c b/src/battle_util.c index 3ee127f389..de0d3e7cc6 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -1612,7 +1612,7 @@ u32 GetBattlerAffectionHearts(u32 battler) return GetMonAffectionHearts(&party[gBattlerPartyIndexes[battler]]); } -static void TryToRevertMimicryAndFlags(void) +void TryToRevertMimicryAndFlags(void) { u32 i; diff --git a/test/battle/move_effect/hit_set_remove_terrain.c b/test/battle/move_effect/hit_set_remove_terrain.c index 549b6bf04f..1efb939c34 100644 --- a/test/battle/move_effect/hit_set_remove_terrain.c +++ b/test/battle/move_effect/hit_set_remove_terrain.c @@ -124,3 +124,35 @@ AI_SINGLE_BATTLE_TEST("Ice Spinner can be chosen by the AI regardless if there i } } } + +SINGLE_BATTLE_TEST("Steel Roller and Ice Spinner reverts typing on Mimicry users") +{ + u32 j; + static const u16 terrainMoves[] = + { + MOVE_ELECTRIC_TERRAIN, + MOVE_PSYCHIC_TERRAIN, + MOVE_GRASSY_TERRAIN, + MOVE_MISTY_TERRAIN, + }; + + u16 terrainMove = MOVE_NONE; + u16 removeTerrainMove = MOVE_NONE; + + for (j = 0; j < ARRAY_COUNT(terrainMoves); j++) + { + PARAMETRIZE { removeTerrainMove = MOVE_STEEL_ROLLER; terrainMove = terrainMoves[j]; } + PARAMETRIZE { removeTerrainMove = MOVE_ICE_SPINNER; terrainMove = terrainMoves[j]; } + } + + GIVEN { + ASSUME(gSpeciesInfo[SPECIES_STUNFISK_GALARIAN].types[1] == TYPE_STEEL); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_STUNFISK_GALARIAN) { Ability(ABILITY_MIMICRY); } + } WHEN { + TURN { MOVE(opponent, terrainMove); MOVE(player, removeTerrainMove); } + TURN { MOVE(player, MOVE_TOXIC); } + } SCENE { + MESSAGE("It doesn't affect Foe Stunfisk…"); + } +} From 9f1b9008095e6900fe8e9a947a94074ee4bab860 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sun, 17 Nov 2024 20:36:55 +0100 Subject: [PATCH 202/278] Fixes Ice Face regression (#5678) --- src/battle_script_commands.c | 1 - test/battle/ability/ice_face.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 11bf05fb0f..c373778b68 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -7372,7 +7372,6 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) break; case ABILITY_FORECAST: case ABILITY_FLOWER_GIFT: - case ABILITY_ICE_FACE: case ABILITY_PROTOSYNTHESIS: if (AbilityBattleEffects(ABILITYEFFECT_ON_WEATHER, i, 0, 0, 0)) return TRUE; diff --git a/test/battle/ability/ice_face.c b/test/battle/ability/ice_face.c index 54a307754c..22b67a7a53 100644 --- a/test/battle/ability/ice_face.c +++ b/test/battle/ability/ice_face.c @@ -135,3 +135,33 @@ SINGLE_BATTLE_TEST("Ice Face doesn't transform Eiscue if Cloud Nine/Air Lock is MESSAGE("Eiscue fainted!"); } } + +SINGLE_BATTLE_TEST("Ice Face is not restored if hail or snow and Eiscue are already out") +{ + u32 move; + PARAMETRIZE { move = MOVE_SNOWSCAPE; } + PARAMETRIZE { move = MOVE_HAIL; } + GIVEN { + ASSUME(gMovesInfo[MOVE_TACKLE].category == DAMAGE_CATEGORY_PHYSICAL); + ASSUME(gMovesInfo[MOVE_SNOWSCAPE].effect == EFFECT_SNOWSCAPE); + ASSUME(gMovesInfo[MOVE_HAIL].effect == EFFECT_HAIL); + PLAYER(SPECIES_EISCUE); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + } WHEN { + TURN { MOVE(opponent, MOVE_TACKLE); MOVE(player, move); } + TURN { MOVE(opponent, MOVE_TACKLE); } + TURN { SWITCH(opponent, 1); } + } SCENE { + ABILITY_POPUP(player, ABILITY_ICE_FACE); + MESSAGE("Eiscue transformed!"); + ABILITY_POPUP(player, ABILITY_ICE_FACE); + MESSAGE("Eiscue transformed!"); + ABILITY_POPUP(player, ABILITY_ICE_FACE); + MESSAGE("Eiscue transformed!"); + NONE_OF { + ABILITY_POPUP(player, ABILITY_ICE_FACE); + MESSAGE("Eiscue transformed!"); + } + } +} From 70ca5060f9c281e2916b3f45badce27d69d1b47f Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:18:26 +0100 Subject: [PATCH 203/278] Fixes wrong Id when AI chooses mon to switch in (#5684) --- src/battle_controller_opponent.c | 35 ++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/src/battle_controller_opponent.c b/src/battle_controller_opponent.c index ef12589681..b6ffd67b75 100644 --- a/src/battle_controller_opponent.c +++ b/src/battle_controller_opponent.c @@ -648,6 +648,22 @@ static void OpponentHandleChooseItem(u32 battler) OpponentBufferExecCompleted(battler); } +static inline bool32 IsAcePokemon(u32 chosenMonId, u32 pokemonInBattle, u32 battler) +{ + return AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_ACE_POKEMON + && (chosenMonId == CalculateEnemyPartyCountInSide(battler) - 1) + && CountAIAliveNonEggMonsExcept(PARTY_SIZE) != pokemonInBattle; +} + +static inline bool32 IsDoubleAcePokemon(u32 chosenMonId, u32 pokemonInBattle, u32 battler) +{ + return AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_DOUBLE_ACE_POKEMON + && (chosenMonId == CalculateEnemyPartyCountInSide(battler) - 1) + && (chosenMonId == CalculateEnemyPartyCountInSide(battler) - 2) + && CountAIAliveNonEggMonsExcept(PARTY_SIZE) != pokemonInBattle + && CountAIAliveNonEggMonsExcept(PARTY_SIZE-1) != pokemonInBattle; +} + static void OpponentHandleChoosePokemon(u32 battler) { s32 chosenMonId; @@ -680,20 +696,14 @@ static void OpponentHandleChoosePokemon(u32 battler) GetAIPartyIndexes(battler, &firstId, &lastId); for (chosenMonId = (lastId-1); chosenMonId >= firstId; chosenMonId--) { - if (!IsValidForBattle(&gEnemyParty[chosenMonId])) - continue; - if (chosenMonId == gBattlerPartyIndexes[battler1] + if (!IsValidForBattle(&gEnemyParty[chosenMonId]) + || chosenMonId == gBattlerPartyIndexes[battler1] || chosenMonId == gBattlerPartyIndexes[battler2]) continue; - if ((AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_ACE_POKEMON) - && ((chosenMonId == CalculateEnemyPartyCountInSide(battler) - 1) || CountAIAliveNonEggMonsExcept(PARTY_SIZE) == pokemonInBattle)) - continue; - if ((AI_THINKING_STRUCT->aiFlags[battler] & AI_FLAG_DOUBLE_ACE_POKEMON) - && (((chosenMonId == CalculateEnemyPartyCountInSide(battler) - 1) || (chosenMonId == CalculateEnemyPartyCountInSide(battler) - 2)) - || (CountAIAliveNonEggMonsExcept(PARTY_SIZE) == pokemonInBattle || CountAIAliveNonEggMonsExcept(PARTY_SIZE-1) == pokemonInBattle))) - continue; - // mon is valid - break; + + if (!IsAcePokemon(chosenMonId, pokemonInBattle, battler) + && !IsDoubleAcePokemon(chosenMonId, pokemonInBattle, battler)) + break; } } gBattleStruct->monToSwitchIntoId[battler] = chosenMonId; @@ -709,7 +719,6 @@ static void OpponentHandleChoosePokemon(u32 battler) #endif // TESTING BtlController_EmitChosenMonReturnValue(battler, BUFFER_B, chosenMonId, NULL); OpponentBufferExecCompleted(battler); - } static u8 CountAIAliveNonEggMonsExcept(u8 slotToIgnore) From 5fe39f6019746449f11e43923c119ddff6e8c6d6 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Tue, 19 Nov 2024 14:34:20 -0300 Subject: [PATCH 204/278] Fixed incoming master tests --- test/battle/move_effect/hit_set_remove_terrain.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/battle/move_effect/hit_set_remove_terrain.c b/test/battle/move_effect/hit_set_remove_terrain.c index fe40ec0151..a48d316d3f 100644 --- a/test/battle/move_effect/hit_set_remove_terrain.c +++ b/test/battle/move_effect/hit_set_remove_terrain.c @@ -146,13 +146,13 @@ SINGLE_BATTLE_TEST("Steel Roller and Ice Spinner reverts typing on Mimicry users } GIVEN { - ASSUME(gSpeciesInfo[SPECIES_STUNFISK_GALARIAN].types[1] == TYPE_STEEL); + ASSUME(gSpeciesInfo[SPECIES_STUNFISK_GALAR].types[1] == TYPE_STEEL); PLAYER(SPECIES_WOBBUFFET); - OPPONENT(SPECIES_STUNFISK_GALARIAN) { Ability(ABILITY_MIMICRY); } + OPPONENT(SPECIES_STUNFISK_GALAR) { Ability(ABILITY_MIMICRY); } } WHEN { TURN { MOVE(opponent, terrainMove); MOVE(player, removeTerrainMove); } TURN { MOVE(player, MOVE_TOXIC); } } SCENE { - MESSAGE("It doesn't affect Foe Stunfisk…"); + MESSAGE("It doesn't affect the opposing Stunfisk…"); } } From 572ea141af83caf2f57d50c4e74cb493fb306c88 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Tue, 19 Nov 2024 20:56:34 +0100 Subject: [PATCH 205/278] Fixes Absorb regression caused by #5670 (#5688) --- data/battle_scripts_1.s | 1 - src/battle_script_commands.c | 1 + test/battle/move_effect/absorb.c | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 97dd650088..8d24dc472d 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -3022,7 +3022,6 @@ BattleScript_EffectAbsorb:: printfromtable gAbsorbDrainStringIds waitmessage B_WAIT_TIME_LONG tryfaintmon BS_ATTACKER - tryfaintmon BS_TARGET return BattleScript_EffectExplosion:: diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 69e41c62d6..2958d200ab 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -5727,6 +5727,7 @@ static void Cmd_moveend(void) gBattleMoveDamage = 1; gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE; + effect = TRUE; if (GetBattlerAbility(gBattlerTarget) == ABILITY_LIQUID_OOZE) { gBattleMoveDamage *= -1; diff --git a/test/battle/move_effect/absorb.c b/test/battle/move_effect/absorb.c index 70c1b621af..d046876b1b 100644 --- a/test/battle/move_effect/absorb.c +++ b/test/battle/move_effect/absorb.c @@ -107,7 +107,6 @@ DOUBLE_BATTLE_TEST("Matcha Gatcha will faint the pokemon if Liquid Ooze drain de } } - SINGLE_BATTLE_TEST("Draining Kiss recovers 75% of the damage dealt") { s16 damage; From 2f7116531bd0be2d9cbddc95d177ba75210c6226 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 20 Nov 2024 11:12:49 +0100 Subject: [PATCH 206/278] Wrong assumtion in dauntless_shield.c (#5692) --- test/battle/ability/dauntless_shield.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/battle/ability/dauntless_shield.c b/test/battle/ability/dauntless_shield.c index ff7cc723ac..0e6adedfd2 100644 --- a/test/battle/ability/dauntless_shield.c +++ b/test/battle/ability/dauntless_shield.c @@ -3,7 +3,7 @@ ASSUMPTIONS { - ASSUME(B_PROTEAN_LIBERO == GEN_9); + ASSUME(B_DAUNTLESS_SHIELD == GEN_9); } SINGLE_BATTLE_TEST("Dauntless Shield raises Defense by one stage") From 81442e32e23818e30abad25cb68f40bdb4f04c3b Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 20 Nov 2024 13:46:50 +0100 Subject: [PATCH 207/278] Changes name of B_SCR_NAME_WITH_PREFIX (#5675) --- charmap.txt | 4 +- src/battle_message.c | 188 +++++++++++++++++++++---------------------- 2 files changed, 96 insertions(+), 96 deletions(-) diff --git a/charmap.txt b/charmap.txt index e8e43dc996..63c2f6ebe1 100644 --- a/charmap.txt +++ b/charmap.txt @@ -370,7 +370,7 @@ B_ATK_NAME_WITH_PREFIX = FD 0F B_DEF_NAME_WITH_PREFIX = FD 10 B_EFF_NAME_WITH_PREFIX = FD 11 @ EFF = short for gEffectBattler @ FD 12 - preiously gActiveBattler with prefix -B_SCR_ACTIVE_NAME_WITH_PREFIX = FD 13 +B_SCR_NAME_WITH_PREFIX = FD 13 B_CURRENT_MOVE = FD 14 B_LAST_MOVE = FD 15 B_LAST_ITEM = FD 16 @@ -416,7 +416,7 @@ B_DEF_TEAM2 = FD 3B B_ATK_NAME_WITH_PREFIX2 = FD 3E B_DEF_NAME_WITH_PREFIX2 = FD 3F B_EFF_NAME_WITH_PREFIX2 = FD 40 -B_SCR_ACTIVE_NAME_WITH_PREFIX2 = FD 41 +B_SCR_NAME_WITH_PREFIX2 = FD 41 B_TRAINER1_NAME_WITH_CLASS = FD 42 B_TRAINER2_NAME_WITH_CLASS = FD 43 B_PARTNER_NAME_WITH_CLASS = FD 44 diff --git a/src/battle_message.c b/src/battle_message.c index 6b045bae80..761770d440 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -192,30 +192,30 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = #else [STRINGID_PLAYERWHITEOUT2] = COMPOUND_STRING("You were overwhelmed by your defeat!{PAUSE_UNTIL_PRESS}"), #endif - [STRINGID_PREVENTSESCAPE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} prevents escape with {B_SCR_ACTIVE_ABILITY}!\p"), + [STRINGID_PREVENTSESCAPE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} prevents escape with {B_SCR_ACTIVE_ABILITY}!\p"), [STRINGID_HITXTIMES] = COMPOUND_STRING("The Pokémon was hit {B_BUFF1} time(s)!"), //SV has dynamic plural here [STRINGID_PKMNFELLASLEEP] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} fell asleep!"), - [STRINGID_PKMNMADESLEEP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_BUFF1} made {B_EFF_NAME_WITH_PREFIX2} sleep!"), //not in gen 5+, ability popup + [STRINGID_PKMNMADESLEEP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_BUFF1} made {B_EFF_NAME_WITH_PREFIX2} sleep!"), //not in gen 5+, ability popup [STRINGID_PKMNALREADYASLEEP] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is already asleep!"), [STRINGID_PKMNALREADYASLEEP2] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is already asleep!"), [STRINGID_PKMNWASNTAFFECTED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} wasn't affected!"), //not in gen 5+, ability popup [STRINGID_PKMNWASPOISONED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was poisoned!"), - [STRINGID_PKMNPOISONEDBY] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was poisoned by {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s {B_BUFF1}!"), //not in gen 5+, ability popup + [STRINGID_PKMNPOISONEDBY] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was poisoned by {B_SCR_NAME_WITH_PREFIX2}'s {B_BUFF1}!"), //not in gen 5+, ability popup [STRINGID_PKMNHURTBYPOISON] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was hurt by its poisoning!"), [STRINGID_PKMNALREADYPOISONED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is already poisoned!"), [STRINGID_PKMNBADLYPOISONED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was badly poisoned!"), [STRINGID_PKMNENERGYDRAINED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} had its energy drained!"), [STRINGID_PKMNWASBURNED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was burned!"), - [STRINGID_PKMNBURNEDBY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_BUFF1} burned {B_EFF_NAME_WITH_PREFIX2}!"), //not in gen 5+, ability popup + [STRINGID_PKMNBURNEDBY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_BUFF1} burned {B_EFF_NAME_WITH_PREFIX2}!"), //not in gen 5+, ability popup [STRINGID_PKMNHURTBYBURN] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was hurt by its burn!"), [STRINGID_PKMNWASFROZEN] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} was frozen solid!"), - [STRINGID_PKMNFROZENBY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_BUFF1} froze {B_EFF_NAME_WITH_PREFIX2} solid!"), //not in gen 5+, ability popup + [STRINGID_PKMNFROZENBY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_BUFF1} froze {B_EFF_NAME_WITH_PREFIX2} solid!"), //not in gen 5+, ability popup [STRINGID_PKMNISFROZEN] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is frozen solid!"), [STRINGID_PKMNWASDEFROSTED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} thawed out!"), [STRINGID_PKMNWASDEFROSTED2] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} thawed out!"), [STRINGID_PKMNWASDEFROSTEDBY] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_CURRENT_MOVE} melted the ice!"), [STRINGID_PKMNWASPARALYZED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} is paralyzed, so it may be unable to move!"), - [STRINGID_PKMNWASPARALYZEDBY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_BUFF1} paralyzed {B_EFF_NAME_WITH_PREFIX2}, so it may be unable to move!"), //not in gen 5+, ability popup + [STRINGID_PKMNWASPARALYZEDBY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_BUFF1} paralyzed {B_EFF_NAME_WITH_PREFIX2}, so it may be unable to move!"), //not in gen 5+, ability popup [STRINGID_PKMNISPARALYZED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} couldn't move because it's paralyzed!"), [STRINGID_PKMNISALREADYPARALYZED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is already paralyzed!"), [STRINGID_PKMNHEALEDPARALYSIS] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was cured of paralysis!"), @@ -229,7 +229,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNWASCONFUSED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} became confused!"), [STRINGID_PKMNALREADYCONFUSED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is already confused!"), [STRINGID_PKMNFELLINLOVE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} fell in love!"), - [STRINGID_PKMNINLOVE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is in love with {B_SCR_ACTIVE_NAME_WITH_PREFIX2}!"), + [STRINGID_PKMNINLOVE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is in love with {B_SCR_NAME_WITH_PREFIX2}!"), [STRINGID_PKMNIMMOBILIZEDBYLOVE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is immobilized by love!"), [STRINGID_PKMNBLOWNAWAY] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was blown away!"), //unused [STRINGID_PKMNCHANGEDTYPE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} transformed into the {B_BUFF1} type!"), @@ -239,7 +239,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNRAISEDSPDEF] = COMPOUND_STRING("Light Screen made {B_ATK_TEAM2} team stronger against special moves!"), [STRINGID_PKMNRAISEDDEF] = COMPOUND_STRING("Reflect made {B_ATK_TEAM2} team stronger against physical moves!"), [STRINGID_PKMNCOVEREDBYVEIL] = COMPOUND_STRING("{B_ATK_TEAM1} team cloaked itself in a mystical veil!"), - [STRINGID_PKMNUSEDSAFEGUARD] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is protected by Safeguard!"), + [STRINGID_PKMNUSEDSAFEGUARD] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is protected by Safeguard!"), [STRINGID_PKMNSAFEGUARDEXPIRED] = COMPOUND_STRING("{B_ATK_TEAM1} team is no longer protected by Safeguard!"), [STRINGID_PKMNWENTTOSLEEP] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} went to sleep!"), //not in gen 5+ [STRINGID_PKMNSLEPTHEALTHY] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} slept and restored its HP!"), @@ -257,7 +257,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNFREEDFROM] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was freed from {B_BUFF1}!"), [STRINGID_PKMNCRASHED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} kept going and crashed!"), [STRINGID_PKMNSHROUDEDINMIST] = gText_PkmnShroudedInMist, - [STRINGID_PKMNPROTECTEDBYMIST] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is protected by the mist!"), + [STRINGID_PKMNPROTECTEDBYMIST] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is protected by the mist!"), [STRINGID_PKMNGETTINGPUMPED] = gText_PkmnGettingPumped, [STRINGID_PKMNHITWITHRECOIL] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was damaged by the recoil!"), [STRINGID_PKMNPROTECTEDITSELF2] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} protected itself!"), @@ -268,7 +268,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNSAPPEDBYLEECHSEED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s health is sapped by Leech Seed!"), [STRINGID_PKMNFASTASLEEP] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is fast asleep."), [STRINGID_PKMNWOKEUP] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} woke up!"), - [STRINGID_PKMNUPROARKEPTAWAKE] = COMPOUND_STRING("But the uproar kept {B_SCR_ACTIVE_NAME_WITH_PREFIX2} awake!"), + [STRINGID_PKMNUPROARKEPTAWAKE] = COMPOUND_STRING("But the uproar kept {B_SCR_NAME_WITH_PREFIX2} awake!"), [STRINGID_PKMNWOKEUPINUPROAR] = COMPOUND_STRING("The uproar woke {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_PKMNCAUSEDUPROAR] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} caused an uproar!"), [STRINGID_PKMNMAKINGUPROAR] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is making an uproar!"), @@ -308,7 +308,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNLAIDCURSE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} cut its own HP and put a curse on {B_DEF_NAME_WITH_PREFIX2}!"), [STRINGID_PKMNAFFLICTEDBYCURSE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is afflicted by the curse!"), [STRINGID_SPIKESSCATTERED] = COMPOUND_STRING("Spikes were scattered on the ground all around {B_DEF_TEAM2} team!"), - [STRINGID_PKMNHURTBYSPIKES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} was hurt by the spikes!"), + [STRINGID_PKMNHURTBYSPIKES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} was hurt by the spikes!"), [STRINGID_PKMNIDENTIFIED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was identified!"), [STRINGID_PKMNPERISHCOUNTFELL] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s perish count fell to {B_BUFF1}!"), [STRINGID_PKMNBRACEDITSELF] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} braced itself!"), @@ -351,9 +351,9 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNSHROUDEDITSELF] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} shrouded itself with Magic Coat!"), [STRINGID_PKMNMOVEBOUNCED] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} bounced the {B_CURRENT_MOVE} back!"), [STRINGID_PKMNWAITSFORTARGET] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} waits for a target to make a move!"), - [STRINGID_PKMNSNATCHEDMOVE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} snatched {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s move!"), - [STRINGID_PKMNMADEITRAIN] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} made it rain!"), //not in gen 5+, ability popup - [STRINGID_PKMNRAISEDSPEED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its Speed!"), //not in gen 5+, ability popup + [STRINGID_PKMNSNATCHEDMOVE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} snatched {B_SCR_NAME_WITH_PREFIX2}'s move!"), + [STRINGID_PKMNMADEITRAIN] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} made it rain!"), //not in gen 5+, ability popup + [STRINGID_PKMNRAISEDSPEED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its Speed!"), //not in gen 5+, ability popup [STRINGID_PKMNPROTECTEDBY] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was protected by {B_DEF_ABILITY}!"), //not in gen 5+, ability popup [STRINGID_PKMNPREVENTSUSAGE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} prevents {B_ATK_NAME_WITH_PREFIX2} from using {B_CURRENT_MOVE}!"), //I don't see this in SV text [STRINGID_PKMNRESTOREDHPUSING] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} restored HP using its {B_DEF_ABILITY}!"), //not in gen 5+, ability popup @@ -364,8 +364,8 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNPREVENTSCONFUSIONWITH] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} prevents confusion!"), //not in gen 5+, ability popup [STRINGID_PKMNRAISEDFIREPOWERWITH] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} raised the power of Fire-type moves!"), //not in gen 5+, ability popup [STRINGID_PKMNANCHORSITSELFWITH] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} anchors itself with {B_DEF_ABILITY}!"), //not in gen 5+, ability popup - [STRINGID_PKMNCUTSATTACKWITH] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cuts {B_DEF_NAME_WITH_PREFIX2}'s Attack!"), //not in gen 5+, ability popup - [STRINGID_PKMNPREVENTSSTATLOSSWITH] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents stat loss!"), //not in gen 5+, ability popup + [STRINGID_PKMNCUTSATTACKWITH] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cuts {B_DEF_NAME_WITH_PREFIX2}'s Attack!"), //not in gen 5+, ability popup + [STRINGID_PKMNPREVENTSSTATLOSSWITH] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents stat loss!"), //not in gen 5+, ability popup [STRINGID_PKMNHURTSWITH] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was hurt by {B_DEF_NAME_WITH_PREFIX2}'s {B_BUFF1}!"), [STRINGID_PKMNTRACED] = COMPOUND_STRING("It traced {B_BUFF1}'s {B_BUFF2}!"), [STRINGID_STATSHARPLY] = gText_StatSharply, @@ -450,30 +450,30 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNIGNOREDX] = COMPOUND_STRING("{B_OPPONENT_MON1_NAME} completely ignored the {B_BUFF1}!"), //safari [STRINGID_THREWPOKEBLOCKATPKMN] = COMPOUND_STRING("{B_PLAYER_NAME} threw a {POKEBLOCK} at the {B_OPPONENT_MON1_NAME}!"), //safari [STRINGID_OUTOFSAFARIBALLS] = COMPOUND_STRING("{PLAY_SE SE_DING_DONG}ANNOUNCER: You're out of Safari Balls! Game over!\p"), //safari - [STRINGID_PKMNSITEMCUREDPARALYSIS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its paralysis!"), - [STRINGID_PKMNSITEMCUREDPOISON] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its poison!"), - [STRINGID_PKMNSITEMHEALEDBURN] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its burn!"), - [STRINGID_PKMNSITEMDEFROSTEDIT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} defrosted it!"), - [STRINGID_PKMNSITEMWOKEIT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} woke it up!"), - [STRINGID_PKMNSITEMSNAPPEDOUT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} snapped it out of its confusion!"), - [STRINGID_PKMNSITEMCUREDPROBLEM] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its {B_BUFF1} problem!"), - [STRINGID_PKMNSITEMRESTOREDHEALTH] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} restored its health using its {B_LAST_ITEM}!"), - [STRINGID_PKMNSITEMRESTOREDPP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} restored PP to its move {B_BUFF1} using its {B_LAST_ITEM}!"), - [STRINGID_PKMNSITEMRESTOREDSTATUS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} returned its stats to normal using its {B_LAST_ITEM}!"), - [STRINGID_PKMNSITEMRESTOREDHPALITTLE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} restored a little HP using its {B_LAST_ITEM}!"), + [STRINGID_PKMNSITEMCUREDPARALYSIS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its paralysis!"), + [STRINGID_PKMNSITEMCUREDPOISON] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its poison!"), + [STRINGID_PKMNSITEMHEALEDBURN] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its burn!"), + [STRINGID_PKMNSITEMDEFROSTEDIT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} defrosted it!"), + [STRINGID_PKMNSITEMWOKEIT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} woke it up!"), + [STRINGID_PKMNSITEMSNAPPEDOUT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} snapped it out of its confusion!"), + [STRINGID_PKMNSITEMCUREDPROBLEM] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its {B_BUFF1} problem!"), + [STRINGID_PKMNSITEMRESTOREDHEALTH] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} restored its health using its {B_LAST_ITEM}!"), + [STRINGID_PKMNSITEMRESTOREDPP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} restored PP to its move {B_BUFF1} using its {B_LAST_ITEM}!"), + [STRINGID_PKMNSITEMRESTOREDSTATUS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} returned its stats to normal using its {B_LAST_ITEM}!"), + [STRINGID_PKMNSITEMRESTOREDHPALITTLE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} restored a little HP using its {B_LAST_ITEM}!"), [STRINGID_ITEMALLOWSONLYYMOVE] = COMPOUND_STRING("{B_LAST_ITEM} only allows the use of {B_CURRENT_MOVE}!\p"), [STRINGID_PKMNHUNGONWITHX] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} hung on using its {B_LAST_ITEM}!"), [STRINGID_EMPTYSTRING3] = gText_EmptyString3, [STRINGID_PKMNSXPREVENTSBURNS] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX}'s {B_EFF_ABILITY} prevents burns!"), //not in gen 5+, ability popup [STRINGID_PKMNSXBLOCKSY] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} blocks {B_CURRENT_MOVE}!"), //not in gen 5+, ability popup [STRINGID_PKMNSXRESTOREDHPALITTLE2] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} restored its HP a little!"), //not in gen 5+, ability popup - [STRINGID_PKMNSXWHIPPEDUPSANDSTORM] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} whipped up a sandstorm!"), //not in gen 5+, ability popup - [STRINGID_PKMNSXPREVENTSYLOSS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents {B_BUFF1} loss!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXWHIPPEDUPSANDSTORM] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} whipped up a sandstorm!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXPREVENTSYLOSS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents {B_BUFF1} loss!"), //not in gen 5+, ability popup [STRINGID_PKMNSXINFATUATEDY] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} infatuated {B_ATK_NAME_WITH_PREFIX2}!"), //not in gen 5+, ability popup [STRINGID_PKMNSXMADEYINEFFECTIVE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} made {B_CURRENT_MOVE} ineffective!"), //not in gen 5+, ability popup - [STRINGID_PKMNSXCUREDYPROBLEM] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cured its {B_BUFF1} problem!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXCUREDYPROBLEM] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cured its {B_BUFF1} problem!"), //not in gen 5+, ability popup [STRINGID_ITSUCKEDLIQUIDOOZE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} sucked up the liquid ooze!"), - [STRINGID_PKMNTRANSFORMED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} transformed!"), + [STRINGID_PKMNTRANSFORMED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} transformed!"), [STRINGID_ELECTRICITYWEAKENED] = COMPOUND_STRING("Electricity's power was weakened!"), [STRINGID_FIREWEAKENED] = COMPOUND_STRING("Fire's power was weakened!"), [STRINGID_PKMNHIDUNDERWATER] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} hid underwater!"), @@ -483,14 +483,14 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PLAYERDEFEATEDTRAINER1] = sText_PlayerDefeatedLinkTrainerTrainer1, [STRINGID_SOOTHINGAROMA] = COMPOUND_STRING("A soothing aroma wafted through the area!"), [STRINGID_ITEMSCANTBEUSEDNOW] = COMPOUND_STRING("Items can't be used now.{PAUSE 64}"), //not in gen 5+, i think - [STRINGID_FORXCOMMAYZ] = COMPOUND_STRING("For {B_SCR_ACTIVE_NAME_WITH_PREFIX2}, {B_LAST_ITEM} {B_BUFF1}"), //not in gen 5+, expansion doesn't use anymore - [STRINGID_USINGITEMSTATOFPKMNROSE] = COMPOUND_STRING("Using {B_LAST_ITEM}, the {B_BUFF1} of {B_SCR_ACTIVE_NAME_WITH_PREFIX2} {B_BUFF2}"), //todo: update this, will require code changes - [STRINGID_PKMNUSEDXTOGETPUMPED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} used the {B_LAST_ITEM} to get pumped!"), + [STRINGID_FORXCOMMAYZ] = COMPOUND_STRING("For {B_SCR_NAME_WITH_PREFIX2}, {B_LAST_ITEM} {B_BUFF1}"), //not in gen 5+, expansion doesn't use anymore + [STRINGID_USINGITEMSTATOFPKMNROSE] = COMPOUND_STRING("Using {B_LAST_ITEM}, the {B_BUFF1} of {B_SCR_NAME_WITH_PREFIX2} {B_BUFF2}"), //todo: update this, will require code changes + [STRINGID_PKMNUSEDXTOGETPUMPED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} used the {B_LAST_ITEM} to get pumped!"), [STRINGID_PKMNSXMADEYUSELESS] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} made {B_CURRENT_MOVE} useless!"), //not in gen 5+, ability popup [STRINGID_PKMNTRAPPEDBYSANDTOMB] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} became trapped by the quicksand!"), [STRINGID_EMPTYSTRING4] = COMPOUND_STRING(""), [STRINGID_ABOOSTED] = COMPOUND_STRING(" a boosted"), - [STRINGID_PKMNSXINTENSIFIEDSUN] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} intensified the sun's rays!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXINTENSIFIEDSUN] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} intensified the sun's rays!"), //not in gen 5+, ability popup [STRINGID_PKMNMAKESGROUNDMISS] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} makes Ground-type moves miss with {B_DEF_ABILITY}!"), //not in gen 5+, ability popup [STRINGID_YOUTHROWABALLNOWRIGHT] = COMPOUND_STRING("You throw a Ball now, right? I… I'll do my best!"), [STRINGID_PKMNSXTOOKATTACK] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} took the attack!"), //In gen 5+ but without naming the ability @@ -500,35 +500,35 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNFLEDUSINGITS] = COMPOUND_STRING("{PLAY_SE SE_FLEE}{B_ATK_NAME_WITH_PREFIX} fled using its {B_LAST_ITEM}!\p"), [STRINGID_PKMNFLEDUSING] = COMPOUND_STRING("{PLAY_SE SE_FLEE}{B_ATK_NAME_WITH_PREFIX} fled using {B_ATK_ABILITY}!\p"), //not in gen 5+ [STRINGID_PKMNWASDRAGGEDOUT] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was dragged out!\p"), - [STRINGID_PREVENTEDFROMWORKING] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} prevented {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s {B_BUFF1} from working!"), //unused - [STRINGID_PKMNSITEMNORMALIZEDSTATUS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} normalized its status!"), + [STRINGID_PREVENTEDFROMWORKING] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s {B_DEF_ABILITY} prevented {B_SCR_NAME_WITH_PREFIX2}'s {B_BUFF1} from working!"), //unused + [STRINGID_PKMNSITEMNORMALIZEDSTATUS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} normalized its status!"), [STRINGID_TRAINER1USEDITEM] = COMPOUND_STRING("{B_ATK_TRAINER_NAME_WITH_CLASS} used {B_LAST_ITEM}!"), [STRINGID_BOXISFULL] = COMPOUND_STRING("The Box is full! You can't catch any more!\p"), [STRINGID_PKMNAVOIDEDATTACK] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} avoided the attack!"), - [STRINGID_PKMNSXMADEITINEFFECTIVE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} made it ineffective!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXMADEITINEFFECTIVE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} made it ineffective!"), //not in gen 5+, ability popup [STRINGID_PKMNSXPREVENTSFLINCHING] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX}'s {B_EFF_ABILITY} prevents flinching!"), //not in gen 5+, ability popup [STRINGID_PKMNALREADYHASBURN] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is already burned!"), [STRINGID_STATSWONTDECREASE2] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s stats won't go any lower!"), - [STRINGID_PKMNSXBLOCKSY2] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} blocks {B_CURRENT_MOVE}!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXBLOCKSY2] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} blocks {B_CURRENT_MOVE}!"), //not in gen 5+, ability popup [STRINGID_PKMNSXWOREOFF] = COMPOUND_STRING("{B_ATK_TEAM1} team's {B_BUFF1} wore off!"), [STRINGID_PKMNRAISEDDEFALITTLE] = COMPOUND_STRING("{B_ATK_PREFIX1}'s {B_CURRENT_MOVE} raised DEFENSE a little!"), //expansion doesn't use anymore [STRINGID_PKMNRAISEDSPDEFALITTLE] = COMPOUND_STRING("{B_ATK_PREFIX1}'s {B_CURRENT_MOVE} raised SP. DEF a little!"), //expansion doesn't use anymore [STRINGID_THEWALLSHATTERED] = COMPOUND_STRING("The wall shattered!"), //not in gen5+, uses "your teams light screen wore off!" etc instead [STRINGID_PKMNSXPREVENTSYSZ] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} prevents {B_DEF_NAME_WITH_PREFIX2}'s {B_DEF_ABILITY} from working!"), - [STRINGID_PKMNSXCUREDITSYPROBLEM] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cured its {B_BUFF1} problem!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXCUREDITSYPROBLEM] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} cured its {B_BUFF1} problem!"), //not in gen 5+, ability popup [STRINGID_ATTACKERCANTESCAPE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} can't escape!"), [STRINGID_PKMNOBTAINEDX] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} obtained {B_BUFF1}."), [STRINGID_PKMNOBTAINEDX2] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} obtained {B_BUFF2}."), [STRINGID_PKMNOBTAINEDXYOBTAINEDZ] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} obtained {B_BUFF1}.\p{B_DEF_NAME_WITH_PREFIX} obtained {B_BUFF2}."), [STRINGID_BUTNOEFFECT] = COMPOUND_STRING("But it had no effect!"), - [STRINGID_PKMNSXHADNOEFFECTONY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} had no effect on {B_EFF_NAME_WITH_PREFIX2}!"), //not in gen 5+, ability popup + [STRINGID_PKMNSXHADNOEFFECTONY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} had no effect on {B_EFF_NAME_WITH_PREFIX2}!"), //not in gen 5+, ability popup [STRINGID_TWOENEMIESDEFEATED] = sText_TwoInGameTrainersDefeated, [STRINGID_TRAINER2LOSETEXT] = COMPOUND_STRING("{B_TRAINER2_LOSE_TEXT}"), [STRINGID_PKMNINCAPABLEOFPOWER] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} appears incapable of using its power!"), - [STRINGID_GLINTAPPEARSINEYE] = COMPOUND_STRING("A glint appears in {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s eyes!"), - [STRINGID_PKMNGETTINGINTOPOSITION] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is getting into position!"), - [STRINGID_PKMNBEGANGROWLINGDEEPLY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} began growling deeply!"), - [STRINGID_PKMNEAGERFORMORE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is eager for more!"), + [STRINGID_GLINTAPPEARSINEYE] = COMPOUND_STRING("A glint appears in {B_SCR_NAME_WITH_PREFIX2}'s eyes!"), + [STRINGID_PKMNGETTINGINTOPOSITION] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is getting into position!"), + [STRINGID_PKMNBEGANGROWLINGDEEPLY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} began growling deeply!"), + [STRINGID_PKMNEAGERFORMORE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is eager for more!"), [STRINGID_DEFEATEDOPPONENTBYREFEREE] = COMPOUND_STRING("{B_PLAYER_MON1_NAME} defeated the opponent {B_OPPONENT_MON1_NAME} in a REFEREE's decision!"), [STRINGID_LOSTTOOPPONENTBYREFEREE] = COMPOUND_STRING("{B_PLAYER_MON1_NAME} lost to the opponent {B_OPPONENT_MON1_NAME} in a REFEREE's decision!"), [STRINGID_TIEDOPPONENTBYREFEREE] = COMPOUND_STRING("{B_PLAYER_MON1_NAME} tied the opponent {B_OPPONENT_MON1_NAME} in a REFEREE's decision!"), @@ -584,7 +584,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_KINDOFFER] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} took the kind offer!"), [STRINGID_RESETSTARGETSSTATLEVELS] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s stat changes were removed!"), [STRINGID_EMPTYSTRING6] = sText_EmptyString4, - [STRINGID_ALLYSWITCHPOSITION] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} and {B_SCR_ACTIVE_NAME_WITH_PREFIX2} switched places!"), + [STRINGID_ALLYSWITCHPOSITION] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} and {B_SCR_NAME_WITH_PREFIX2} switched places!"), [STRINGID_RESTORETARGETSHEALTH] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s HP was restored!"), [STRINGID_TOOKPJMNINTOTHESKY] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} took {B_DEF_NAME_WITH_PREFIX2} into the sky!"), [STRINGID_FREEDFROMSKYDROP] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was freed from the Sky Drop!"), @@ -613,15 +613,15 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_ATTACKERABILITYSTATRAISE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} raised its {B_BUFF1}!"), [STRINGID_POISONHEALHPUP] = COMPOUND_STRING("The poisoning healed {B_ATK_NAME_WITH_PREFIX2} a little bit!"), //don't think this message is displayed anymore [STRINGID_BADDREAMSDMG] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is tormented!"), - [STRINGID_MOLDBREAKERENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} breaks the mold!"), - [STRINGID_TERAVOLTENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is radiating a bursting aura!"), - [STRINGID_TURBOBLAZEENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is radiating a blazing aura!"), - [STRINGID_SLOWSTARTENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is slow to get going!"), + [STRINGID_MOLDBREAKERENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} breaks the mold!"), + [STRINGID_TERAVOLTENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is radiating a bursting aura!"), + [STRINGID_TURBOBLAZEENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is radiating a blazing aura!"), + [STRINGID_SLOWSTARTENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is slow to get going!"), [STRINGID_SLOWSTARTEND] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} finally got its act together!"), [STRINGID_SOLARPOWERHPDROP] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} takes its toll!"), //don't think this message is displayed anymore [STRINGID_AFTERMATHDMG] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was hurt!"), - [STRINGID_ANTICIPATIONACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} shuddered!"), - [STRINGID_FOREWARNACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_ABILITY} alerted {B_SCR_ACTIVE_NAME_WITH_PREFIX2} to {B_DEF_NAME_WITH_PREFIX2}'s {B_BUFF1}!"), + [STRINGID_ANTICIPATIONACTIVATES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} shuddered!"), + [STRINGID_FOREWARNACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_ABILITY} alerted {B_SCR_NAME_WITH_PREFIX2} to {B_DEF_NAME_WITH_PREFIX2}'s {B_BUFF1}!"), [STRINGID_ICEBODYHPGAIN] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} healed it a little bit!"), //don't think this message is displayed anymore [STRINGID_SNOWWARNINGHAIL] = COMPOUND_STRING("It started to hail!"), [STRINGID_FRISKACTIVATES] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} frisked {B_DEF_NAME_WITH_PREFIX2} and found its {B_LAST_ITEM}!"), @@ -630,11 +630,11 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_LASTABILITYRAISEDSTAT] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_LAST_ABILITY} raised its {B_BUFF1}!"), [STRINGID_MAGICBOUNCEACTIVATES] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} bounced the {B_ATK_NAME_WITH_PREFIX2} back!"), [STRINGID_PROTEANTYPECHANGE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_ATK_ABILITY} transformed it into the {B_BUFF1} type!"), - [STRINGID_SYMBIOSISITEMPASS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} passed its {B_LAST_ITEM} to {B_ATK_NAME_WITH_PREFIX2} through {B_LAST_ABILITY}!"), - [STRINGID_STEALTHROCKDMG] = COMPOUND_STRING("Pointed stones dug into {B_SCR_ACTIVE_NAME_WITH_PREFIX2}!"), + [STRINGID_SYMBIOSISITEMPASS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} passed its {B_LAST_ITEM} to {B_ATK_NAME_WITH_PREFIX2} through {B_LAST_ABILITY}!"), + [STRINGID_STEALTHROCKDMG] = COMPOUND_STRING("Pointed stones dug into {B_SCR_NAME_WITH_PREFIX2}!"), [STRINGID_TOXICSPIKESABSORBED] = COMPOUND_STRING("The poison spikes disappeared from the ground around {B_ATK_TEAM2} team!"), - [STRINGID_TOXICSPIKESPOISONED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} was poisoned!"), - [STRINGID_STICKYWEBSWITCHIN] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} was caught in a sticky web!"), + [STRINGID_TOXICSPIKESPOISONED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} was poisoned!"), + [STRINGID_STICKYWEBSWITCHIN] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} was caught in a sticky web!"), [STRINGID_HEALINGWISHCAMETRUE] = COMPOUND_STRING("The healing wish came true for {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_HEALINGWISHHEALED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} regained health!"), [STRINGID_LUNARDANCECAMETRUE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} became cloaked in mystical moonlight!"), @@ -666,7 +666,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_SEVERELY] = gText_severely, [STRINGID_INFESTATION] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} has been afflicted with an infestation by {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_NOEFFECTONTARGET] = COMPOUND_STRING("It won't have any effect on {B_DEF_NAME_WITH_PREFIX2}!"), - [STRINGID_BURSTINGFLAMESHIT] = COMPOUND_STRING("The bursting flames hit {B_SCR_ACTIVE_NAME_WITH_PREFIX2}!"), + [STRINGID_BURSTINGFLAMESHIT] = COMPOUND_STRING("The bursting flames hit {B_SCR_NAME_WITH_PREFIX2}!"), [STRINGID_BESTOWITEMGIVING] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} received {B_LAST_ITEM} from {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_THIRDTYPEADDED] = COMPOUND_STRING("{B_BUFF1} type was added to {B_DEF_NAME_WITH_PREFIX2}!"), [STRINGID_FELLFORFEINT] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} fell for the feint!"), @@ -692,46 +692,46 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_GEMACTIVATES] = COMPOUND_STRING("The {B_LAST_ITEM} strengthened {B_ATK_NAME_WITH_PREFIX2}'s power!"), [STRINGID_BERRYDMGREDUCES] = COMPOUND_STRING("The {B_LAST_ITEM} weakened the damage to {B_DEF_NAME_WITH_PREFIX2}!"), [STRINGID_TARGETATEITEM] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} ate its {B_LAST_ITEM}!"), - [STRINGID_AIRBALLOONFLOAT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} floats in the air with its Air Balloon!"), + [STRINGID_AIRBALLOONFLOAT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} floats in the air with its Air Balloon!"), [STRINGID_AIRBALLOONPOP] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s Air Balloon popped!"), [STRINGID_INCINERATEBURN] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX}'s {B_LAST_ITEM} was burnt up!"), [STRINGID_BUGBITE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} stole and ate its target's {B_LAST_ITEM}!"), [STRINGID_ILLUSIONWOREOFF] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s illusion wore off!"), [STRINGID_ATTACKERCUREDTARGETSTATUS] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} cured {B_DEF_NAME_WITH_PREFIX2}'s problem!"), [STRINGID_ATTACKERLOSTFIRETYPE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} burned itself out!"), - [STRINGID_HEALERCURE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_LAST_ABILITY} cured {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s problem!"), - [STRINGID_SCRIPTINGABILITYSTATRAISE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its {B_BUFF1}!"), - [STRINGID_RECEIVERABILITYTAKEOVER] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} was taken over!"), + [STRINGID_HEALERCURE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_LAST_ABILITY} cured {B_SCR_NAME_WITH_PREFIX2}'s problem!"), + [STRINGID_SCRIPTINGABILITYSTATRAISE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its {B_BUFF1}!"), + [STRINGID_RECEIVERABILITYTAKEOVER] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} was taken over!"), [STRINGID_PKNMABSORBINGPOWER] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is absorbing power!"), [STRINGID_NOONEWILLBEABLETORUNAWAY] = COMPOUND_STRING("No one will be able to run away during the next turn!"), - [STRINGID_DESTINYKNOTACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} fell in love because of the {B_LAST_ITEM}!"), + [STRINGID_DESTINYKNOTACTIVATES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} fell in love because of the {B_LAST_ITEM}!"), [STRINGID_CLOAKEDINAFREEZINGLIGHT] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} became cloaked in a freezing light!"), [STRINGID_CLEARAMULETWONTLOWERSTATS] = COMPOUND_STRING("The effects of the {B_LAST_ITEM} held by {B_DEF_NAME_WITH_PREFIX2} prevents its stats from being lowered!"), [STRINGID_FERVENTWISHREACHED] = COMPOUND_STRING("{B_ATK_TRAINER_NAME}'s fervent wish has reached {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_AIRLOCKACTIVATES] = COMPOUND_STRING("The effects of the weather disappeared."), - [STRINGID_PRESSUREENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is exerting its pressure!"), - [STRINGID_DARKAURAENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is radiating a dark aura!"), - [STRINGID_FAIRYAURAENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is radiating a fairy aura!"), - [STRINGID_AURABREAKENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} reversed all other Pokémon's auras!"), - [STRINGID_COMATOSEENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is drowsing!"), + [STRINGID_PRESSUREENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is exerting its pressure!"), + [STRINGID_DARKAURAENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is radiating a dark aura!"), + [STRINGID_FAIRYAURAENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is radiating a fairy aura!"), + [STRINGID_AURABREAKENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} reversed all other Pokémon's auras!"), + [STRINGID_COMATOSEENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is drowsing!"), [STRINGID_SCREENCLEANERENTERS] = COMPOUND_STRING("All screens on the field were cleansed!"), - [STRINGID_FETCHEDPOKEBALL] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} found a {B_LAST_ITEM}!"), - [STRINGID_BATTLERABILITYRAISEDSTAT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its {B_BUFF1}!"), + [STRINGID_FETCHEDPOKEBALL] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} found a {B_LAST_ITEM}!"), + [STRINGID_BATTLERABILITYRAISEDSTAT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} raised its {B_BUFF1}!"), [STRINGID_ASANDSTORMKICKEDUP] = COMPOUND_STRING("A sandstorm kicked up!"), [STRINGID_PKMNSWILLPERISHIN3TURNS] = COMPOUND_STRING("Both Pokémon will perish in three turns!"), //don't think this message is displayed anymore [STRINGID_ABILITYRAISEDSTATDRASTICALLY] = COMPOUND_STRING("{B_DEF_ABILITY} raised {B_DEF_NAME_WITH_PREFIX2}'s {B_BUFF1} drastically!"), [STRINGID_AURAFLAREDTOLIFE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s aura flared to life!"), - [STRINGID_ASONEENTERS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} has two Abilities!"), + [STRINGID_ASONEENTERS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} has two Abilities!"), [STRINGID_CURIOUSMEDICINEENTERS] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX}'s stat changes were removed!"), [STRINGID_CANACTFASTERTHANKSTO] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} can act faster than normal, thanks to its {B_BUFF1}!"), - [STRINGID_MICLEBERRYACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} boosted the accuracy of its next move using {B_LAST_ITEM}!"), - [STRINGID_PKMNSHOOKOFFTHETAUNT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} shook off the taunt!"), - [STRINGID_PKMNGOTOVERITSINFATUATION] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} got over its infatuation!"), + [STRINGID_MICLEBERRYACTIVATES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} boosted the accuracy of its next move using {B_LAST_ITEM}!"), + [STRINGID_PKMNSHOOKOFFTHETAUNT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} shook off the taunt!"), + [STRINGID_PKMNGOTOVERITSINFATUATION] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} got over its infatuation!"), [STRINGID_ITEMCANNOTBEREMOVED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s item cannot be removed!"), [STRINGID_STICKYBARBTRANSFER] = COMPOUND_STRING("The {B_LAST_ITEM} attached itself to {B_ATK_NAME_WITH_PREFIX2}!"), [STRINGID_PKMNBURNHEALED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s burn was cured!"), - [STRINGID_REDCARDACTIVATE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} held up its Red Card against {B_ATK_NAME_WITH_PREFIX2}!"), - [STRINGID_EJECTBUTTONACTIVATE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} is switched out with the {B_LAST_ITEM}!"), + [STRINGID_REDCARDACTIVATE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} held up its Red Card against {B_ATK_NAME_WITH_PREFIX2}!"), + [STRINGID_EJECTBUTTONACTIVATE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} is switched out with the {B_LAST_ITEM}!"), [STRINGID_ATKGOTOVERINFATUATION] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} got over its infatuation!"), [STRINGID_TORMENTEDNOMORE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is no longer tormented!"), [STRINGID_HEALBLOCKEDNOMORE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is cured of its heal block!"), @@ -750,7 +750,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_MYSTERIOUSAIRCURRENTBLOWSON] = COMPOUND_STRING("The mysterious strong winds blow on regardless!"), [STRINGID_ATTACKWEAKENEDBSTRONGWINDS] = COMPOUND_STRING("The mysterious strong winds weakened the attack!"), [STRINGID_STUFFCHEEKSCANTSELECT] = COMPOUND_STRING("It can't use the move because it doesn't have a Berry!\p"), - [STRINGID_PKMNREVERTEDTOPRIMAL] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s Primal Reversion! It reverted to its primal state!"), + [STRINGID_PKMNREVERTEDTOPRIMAL] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s Primal Reversion! It reverted to its primal state!"), [STRINGID_BUTPOKEMONCANTUSETHEMOVE] = COMPOUND_STRING("But {B_ATK_NAME_WITH_PREFIX2} can't use the move!"), [STRINGID_BUTHOOPACANTUSEIT] = COMPOUND_STRING("But {B_ATK_NAME_WITH_PREFIX2} can't use it the way it is now!"), [STRINGID_BROKETHROUGHPROTECTION] = COMPOUND_STRING("It broke through {B_DEF_NAME_WITH_PREFIX2}'s protection!"), @@ -758,7 +758,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_SWAPPEDABILITIES] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} swapped Abilities with its target!"), [STRINGID_PASTELVEILPROTECTED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} is protected by a pastel veil!"), [STRINGID_PASTELVEILENTERS] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} was cured of its poisoning!"), - [STRINGID_BATTLERTYPECHANGEDTO] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s type changed to {B_BUFF1}!"), + [STRINGID_BATTLERTYPECHANGEDTO] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s type changed to {B_BUFF1}!"), [STRINGID_BOTHCANNOLONGERESCAPE] = COMPOUND_STRING("Neither Pokémon can run away!"), [STRINGID_CANTESCAPEDUETOUSEDMOVE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} can no longer escape because it used No Retreat!"), [STRINGID_PKMNBECAMEWEAKERTOFIRE] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} became weaker to fire!"), @@ -776,12 +776,12 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PLAYERPAIDPRIZEMONEY] = COMPOUND_STRING("You gave ¥{B_BUFF1} to the winner…\pYou were overwhelmed by your defeat!{PAUSE_UNTIL_PRESS}"), [STRINGID_ZPOWERSURROUNDS] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} surrounded itself with its Z-Power!"), [STRINGID_ZMOVEUNLEASHED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} unleashes its full-force Z-Move!"), - [STRINGID_ZMOVERESETSSTATS] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} returned its decreased stats to normal using its Z-Power!"), - [STRINGID_ZMOVEALLSTATSUP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} boosted its stats using its Z-Power!"), - [STRINGID_ZMOVEZBOOSTCRIT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} boosted its critical-hit ratio using its Z-Power!"), - [STRINGID_ZMOVERESTOREHP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} restored its HP using its Z-Power!"), - [STRINGID_ZMOVESTATUP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} boosted its stats using its Z-Power!"), - [STRINGID_ZMOVEHPTRAP] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s HP was restored by the Z-Power!"), + [STRINGID_ZMOVERESETSSTATS] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} returned its decreased stats to normal using its Z-Power!"), + [STRINGID_ZMOVEALLSTATSUP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} boosted its stats using its Z-Power!"), + [STRINGID_ZMOVEZBOOSTCRIT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} boosted its critical-hit ratio using its Z-Power!"), + [STRINGID_ZMOVERESTOREHP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} restored its HP using its Z-Power!"), + [STRINGID_ZMOVESTATUP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} boosted its stats using its Z-Power!"), + [STRINGID_ZMOVEHPTRAP] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s HP was restored by the Z-Power!"), [STRINGID_ATTACKEREXPELLEDTHEPOISON] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} managed to expel the poison so you wouldn't worry!"), [STRINGID_ATTACKERSHOOKITSELFAWAKE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} shook itself awake so you wouldn't worry!"), [STRINGID_ATTACKERBROKETHROUGHPARALYSIS] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} gathered all its energy to break through its paralysis so you wouldn't worry!"), @@ -791,12 +791,12 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_ATTACKERLOSTELECTRICTYPE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} used up all its electricity!"), [STRINGID_ATTACKERSWITCHEDSTATWITHTARGET] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} switched {B_BUFF1} with its target!"), [STRINGID_BEINGHITCHARGEDPKMNWITHPOWER] = COMPOUND_STRING("Being hit by {B_CURRENT_MOVE} charged {B_DEF_NAME_WITH_PREFIX2} with power!"), - [STRINGID_SUNLIGHTACTIVATEDABILITY] = COMPOUND_STRING("The harsh sunlight activated {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s Protosynthesis!"), - [STRINGID_STATWASHEIGHTENED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_BUFF1} was heightened!"), - [STRINGID_ELECTRICTERRAINACTIVATEDABILITY] = COMPOUND_STRING("The Electric Terrain activated {B_SCR_ACTIVE_NAME_WITH_PREFIX2}'s Quark Drive!"), - [STRINGID_ABILITYWEAKENEDSURROUNDINGMONSSTAT] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} weakened the {B_BUFF1} of all surrounding Pokémon!\p"), - [STRINGID_ATTACKERGAINEDSTRENGTHFROMTHEFALLEN] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} gained strength from the fallen!"), - [STRINGID_PKMNSABILITYPREVENTSABILITY] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents {B_DEF_NAME_WITH_PREFIX2}'s {B_DEF_ABILITY} from working!"), //not in gen 5+, ability popup + [STRINGID_SUNLIGHTACTIVATEDABILITY] = COMPOUND_STRING("The harsh sunlight activated {B_SCR_NAME_WITH_PREFIX2}'s Protosynthesis!"), + [STRINGID_STATWASHEIGHTENED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_BUFF1} was heightened!"), + [STRINGID_ELECTRICTERRAINACTIVATEDABILITY] = COMPOUND_STRING("The Electric Terrain activated {B_SCR_NAME_WITH_PREFIX2}'s Quark Drive!"), + [STRINGID_ABILITYWEAKENEDSURROUNDINGMONSSTAT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} weakened the {B_BUFF1} of all surrounding Pokémon!\p"), + [STRINGID_ATTACKERGAINEDSTRENGTHFROMTHEFALLEN] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} gained strength from the fallen!"), + [STRINGID_PKMNSABILITYPREVENTSABILITY] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_SCR_ACTIVE_ABILITY} prevents {B_DEF_NAME_WITH_PREFIX2}'s {B_DEF_ABILITY} from working!"), //not in gen 5+, ability popup [STRINGID_PREPARESHELLTRAP] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} set a shell trap!"), [STRINGID_SHELLTRAPDIDNTWORK] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s shell trap didn't work!"), [STRINGID_SPIKESDISAPPEAREDFROMTEAM] = COMPOUND_STRING("The spikes disappeared from the ground around {B_ATK_TEAM2} team!"), @@ -812,12 +812,12 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_THUNDERCAGETRAPPED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} trapped {B_DEF_NAME_WITH_PREFIX2}!"), [STRINGID_PKMNHURTBYFROSTBITE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} was hurt by its frostbite!"), [STRINGID_PKMNGOTFROSTBITE] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX} got frostbite!"), - [STRINGID_PKMNSITEMHEALEDFROSTBITE] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its frostbite!"), + [STRINGID_PKMNSITEMHEALEDFROSTBITE] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX}'s {B_LAST_ITEM} cured its frostbite!"), [STRINGID_ATTACKERHEALEDITSFROSTBITE] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} cured its frostbite through sheer determination so you wouldn't worry!"), [STRINGID_PKMNFROSTBITEHEALED] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s frostbite was cured!"), [STRINGID_PKMNFROSTBITEHEALED2] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s frostbite was cured!"), [STRINGID_PKMNFROSTBITEHEALEDBY] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX}'s {B_CURRENT_MOVE} cured its frostbite!"), - [STRINGID_MIRRORHERBCOPIED] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} used its Mirror Herb to mirror its opponent's stat changes!"), + [STRINGID_MIRRORHERBCOPIED] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} used its Mirror Herb to mirror its opponent's stat changes!"), [STRINGID_STARTEDSNOW] = COMPOUND_STRING("It started to snow!"), [STRINGID_SNOWCONTINUES] = COMPOUND_STRING("Snow continues to fall."), //not in gen 5+ (lol) [STRINGID_SNOWSTOPPED] = COMPOUND_STRING("The snow stopped."), @@ -843,7 +843,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_TEAMSURROUNDEDBYROCKS] = COMPOUND_STRING("{B_DEF_TEAM1} Pokémon became surrounded by rocks!"), [STRINGID_PKMNHURTBYROCKSTHROWN] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is hurt by rocks thrown out by G-Max Volcalith!"), [STRINGID_MOVEBLOCKEDBYDYNAMAX] = COMPOUND_STRING("The move was blocked by the power of Dynamax!"), - [STRINGID_ZEROTOHEROTRANSFORMATION] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} underwent a heroic transformation!"), + [STRINGID_ZEROTOHEROTRANSFORMATION] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} underwent a heroic transformation!"), [STRINGID_THETWOMOVESBECOMEONE] = COMPOUND_STRING("The two moves have become one! It's a combined move!{PAUSE 16}"), [STRINGID_ARAINBOWAPPEAREDONSIDE] = COMPOUND_STRING("A rainbow appeared in the sky on {B_ATK_TEAM2} team's side!"), [STRINGID_THERAINBOWDISAPPEARED] = COMPOUND_STRING("The rainbow on {B_ATK_TEAM2} team's side disappeared!"), @@ -866,13 +866,13 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_BIZARREAREACREATED] = COMPOUND_STRING("A bizarre area was created in which Defense and Sp. Def stats are swapped!"), [STRINGID_TIDYINGUPCOMPLETE] = COMPOUND_STRING("Tidying up complete!"), [STRINGID_PKMNTERASTALLIZEDINTO] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} terastallized into the {B_BUFF1} type!"), - [STRINGID_BOOSTERENERGYACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} used its {B_LAST_ITEM} to activate {B_SCR_ACTIVE_ABILITY}!"), + [STRINGID_BOOSTERENERGYACTIVATES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} used its {B_LAST_ITEM} to activate {B_SCR_ACTIVE_ABILITY}!"), [STRINGID_FOGCREPTUP] = COMPOUND_STRING("Fog crept up as thick as soup!"), [STRINGID_FOGISDEEP] = COMPOUND_STRING("The fog is deep…"), [STRINGID_FOGLIFTED] = COMPOUND_STRING("The fog lifted."), [STRINGID_PKMNMADESHELLGLEAM] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} made its shell gleam! It's distorting type matchups!"), [STRINGID_FICKLEBEAMDOUBLED] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} is going all out for this attack!"), - [STRINGID_COMMANDERACTIVATES] = COMPOUND_STRING("{B_SCR_ACTIVE_NAME_WITH_PREFIX} was swallowed by Dondozo and became Dondozo's commander!"), + [STRINGID_COMMANDERACTIVATES] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} was swallowed by Dondozo and became Dondozo's commander!"), [STRINGID_POKEFLUTECATCHY] = COMPOUND_STRING("{B_PLAYER_NAME} played the {B_LAST_ITEM}.\pNow, that's a catchy tune!"), [STRINGID_POKEFLUTE] = COMPOUND_STRING("{B_PLAYER_NAME} played the {B_LAST_ITEM}."), [STRINGID_MONHEARINGFLUTEAWOKE] = COMPOUND_STRING("The Pokémon hearing the flute awoke!"), From 3cc048cc01ba36f7e05b711c86baa908c7be5b3d Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 21 Nov 2024 06:13:31 +0100 Subject: [PATCH 208/278] Removes redundant Decorate check (#5696) --- src/battle_util.c | 9 --------- test/battle/move_effect/protect.c | 32 ++++++++++++++++++++++--------- 2 files changed, 23 insertions(+), 18 deletions(-) diff --git a/src/battle_util.c b/src/battle_util.c index f7fee897e7..e4c78132ed 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -8571,15 +8571,6 @@ bool32 IsMoveMakingContact(u32 move, u32 battlerAtk) bool32 IsBattlerProtected(u32 battlerAtk, u32 battlerDef, u32 move) { - // Decorate bypasses protect and detect, but not crafty shield - if (move == MOVE_DECORATE) - { - if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_CRAFTY_SHIELD) - return TRUE; - else if (gProtectStructs[battlerDef].protected) - return FALSE; - } - // Z-Moves and Max Moves bypass protection (except Max Guard). if ((IsZMove(move) || IsMaxMove(move)) && (!gProtectStructs[battlerDef].maxGuarded diff --git a/test/battle/move_effect/protect.c b/test/battle/move_effect/protect.c index 207544de1f..5b1b0a4e4e 100644 --- a/test/battle/move_effect/protect.c +++ b/test/battle/move_effect/protect.c @@ -103,7 +103,7 @@ SINGLE_BATTLE_TEST("King's Shield, Silk Trap and Obstruct protect from damaging MESSAGE("Wobbuffet's Attack fell!"); #else MESSAGE("Wobbuffet's Attack harshly fell!"); - #endif + #endif } else if (statId == STAT_SPEED) { MESSAGE("Wobbuffet's Speed fell!"); } else if (statId == STAT_DEF) { @@ -487,36 +487,49 @@ DOUBLE_BATTLE_TEST("Crafty Shield protects self and ally from status moves") } } -SINGLE_BATTLE_TEST("Protect does not block Confide") +SINGLE_BATTLE_TEST("Protect does not block Confide or Decorate") { + u32 move; + PARAMETRIZE { move = MOVE_CONFIDE; } + PARAMETRIZE { move = MOVE_DECORATE; } + GIVEN { ASSUME(gMovesInfo[MOVE_CONFIDE].effect == EFFECT_SPECIAL_ATTACK_DOWN); + ASSUME(gMovesInfo[MOVE_CONFIDE].ignoresProtect == TRUE); + ASSUME(gMovesInfo[MOVE_DECORATE].effect == EFFECT_DECORATE); + ASSUME(gMovesInfo[MOVE_DECORATE].ignoresProtect == TRUE); PLAYER(SPECIES_WOBBUFFET); OPPONENT(SPECIES_WOBBUFFET); } WHEN { - TURN { MOVE(opponent, MOVE_PROTECT); MOVE(player, MOVE_CONFIDE); } + TURN { MOVE(opponent, MOVE_PROTECT); MOVE(player, move); } } SCENE { - MESSAGE("Wobbuffet used Confide!"); - ANIMATION(ANIM_TYPE_MOVE, MOVE_CONFIDE, player); + ANIMATION(ANIM_TYPE_MOVE, move, player); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponent); NOT MESSAGE("The opposing Wobbuffet protected itself!"); } } -DOUBLE_BATTLE_TEST("Crafty Shield protects self and ally from Confide") +DOUBLE_BATTLE_TEST("Crafty Shield protects self and ally from Confide and Decorate") { + u32 move; + PARAMETRIZE { move = MOVE_CONFIDE; } + PARAMETRIZE { move = MOVE_DECORATE; } + GIVEN { ASSUME(gMovesInfo[MOVE_CONFIDE].effect == EFFECT_SPECIAL_ATTACK_DOWN); + ASSUME(gMovesInfo[MOVE_CONFIDE].ignoresProtect == TRUE); + ASSUME(gMovesInfo[MOVE_DECORATE].effect == EFFECT_DECORATE); + ASSUME(gMovesInfo[MOVE_DECORATE].ignoresProtect == TRUE); PLAYER(SPECIES_WOBBUFFET); PLAYER(SPECIES_WYNAUT); OPPONENT(SPECIES_WOBBUFFET); OPPONENT(SPECIES_WYNAUT); } WHEN { - TURN { MOVE(opponentLeft, MOVE_CRAFTY_SHIELD); MOVE(playerLeft, MOVE_CONFIDE, target: opponentLeft); MOVE(playerRight, MOVE_CONFIDE, target: opponentRight); } + TURN { MOVE(opponentLeft, MOVE_CRAFTY_SHIELD); MOVE(playerLeft, move, target: opponentLeft); MOVE(playerRight, move, target: opponentRight); } } SCENE { - MESSAGE("Wobbuffet used Confide!"); + NOT ANIMATION(ANIM_TYPE_MOVE, move, playerLeft); MESSAGE("The opposing Wobbuffet protected itself!"); - MESSAGE("Wynaut used Confide!"); + NOT ANIMATION(ANIM_TYPE_MOVE, move, playerRight); MESSAGE("The opposing Wynaut protected itself!"); } } @@ -570,3 +583,4 @@ SINGLE_BATTLE_TEST("Spiky Shield does not damage users on Counter or Mirror Coat } } } + From 596b8b20f4e0e922ccfa361f6a29e2f3e263a4af Mon Sep 17 00:00:00 2001 From: PhallenTree <168426989+PhallenTree@users.noreply.github.com> Date: Thu, 21 Nov 2024 16:35:05 +0000 Subject: [PATCH 209/278] Fixes Neutralizing Gas crashes + adds missing interaction, Regenerator small fix (#5694) --- data/battle_scripts_1.s | 7 +-- src/battle_script_commands.c | 11 +++- test/battle/ability/intimidate.c | 90 +++++++++++++++++++++++++++++++- 3 files changed, 103 insertions(+), 5 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 027c344b2d..a17c54c7e3 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -2401,7 +2401,6 @@ BattleScript_EffectHealingWish:: storehealingwish BS_ATTACKER .if B_HEALING_WISH_SWITCH <= GEN_4 openpartyscreen BS_ATTACKER, BattleScript_EffectHealingWishEnd - switchoutabilities BS_ATTACKER waitstate switchhandleorder BS_ATTACKER, 2 returnatktoball @@ -5764,7 +5763,6 @@ BattleScript_PrintFullBox:: BattleScript_ActionSwitch:: hpthresholds2 BS_ATTACKER - saveattacker printstring STRINGID_RETURNMON jumpifbattletype BATTLE_TYPE_DOUBLE, BattleScript_PursuitSwitchDmgSetMultihit setmultihit 1 @@ -5782,7 +5780,6 @@ BattleScript_DoSwitchOut:: switchoutabilities BS_ATTACKER updatedynamax waitstate - restoreattacker returnatktoball waitstate drawpartystatussummary BS_ATTACKER @@ -9602,7 +9599,9 @@ BattleScript_EjectButtonActivates:: removeitem BS_SCRIPTING makeinvisible BS_SCRIPTING openpartyscreen BS_SCRIPTING, BattleScript_EjectButtonEnd + copybyte sSAVED_BATTLER, sBATTLER switchoutabilities BS_SCRIPTING + copybyte sBATTLER, sSAVED_BATTLER waitstate switchhandleorder BS_SCRIPTING 0x2 returntoball BS_SCRIPTING, FALSE @@ -9699,6 +9698,7 @@ BattleScript_PastelVeilEnd: end3 BattleScript_NeutralizingGasExits:: + saveattacker savetarget pause B_WAIT_TIME_SHORT printstring STRINGID_NEUTRALIZINGGASOVER @@ -9708,6 +9708,7 @@ BattleScript_NeutralizingGasExitsLoop: switchinabilities BS_TARGET addbyte gBattlerTarget, 1 jumpifbytenotequal gBattlerTarget, gBattlersCount, BattleScript_NeutralizingGasExitsLoop + restoreattacker restoretarget return diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index c373778b68..b1dbcc6106 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -3976,6 +3976,15 @@ static void Cmd_tryfaintmon(void) } else { + if (gBattleMons[battler].ability == ABILITY_NEUTRALIZING_GAS + && !(gAbsentBattlerFlags & (1u << battler)) + && !IsBattlerAlive(battler)) + { + gBattleMons[battler].ability = ABILITY_NONE; + BattleScriptPush(gBattlescriptCurrInstr); + gBattlescriptCurrInstr = BattleScript_NeutralizingGasExits; + return; + } if (cmd->battler == BS_ATTACKER) { destinyBondBattler = gBattlerTarget; @@ -14763,7 +14772,7 @@ static void Cmd_switchoutabilities(void) MarkBattlerForControllerExec(battler); break; case ABILITY_REGENERATOR: - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 3; + gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 3; gBattleMoveDamage += gBattleMons[battler].hp; if (gBattleMoveDamage > gBattleMons[battler].maxHP) gBattleMoveDamage = gBattleMons[battler].maxHP; diff --git a/test/battle/ability/intimidate.c b/test/battle/ability/intimidate.c index d2d7bc4af7..a7776dabff 100644 --- a/test/battle/ability/intimidate.c +++ b/test/battle/ability/intimidate.c @@ -246,7 +246,7 @@ DOUBLE_BATTLE_TEST("Intimidate is not going to trigger if a mon switches out thr } } -SINGLE_BATTLE_TEST("Intimidate activates when it's no longer effected by Neutralizing Gas") +SINGLE_BATTLE_TEST("Intimidate activates when it's no longer effected by Neutralizing Gas - switching out") { GIVEN { PLAYER(SPECIES_WEEZING) { Ability(ABILITY_NEUTRALIZING_GAS); } @@ -263,3 +263,91 @@ SINGLE_BATTLE_TEST("Intimidate activates when it's no longer effected by Neutral SEND_IN_MESSAGE("Wobbuffet"); } } + +SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutralizing Gas - switching moves") +{ + u32 move; + PARAMETRIZE { move = MOVE_U_TURN; } + PARAMETRIZE { move = MOVE_HEALING_WISH; } + PARAMETRIZE { move = MOVE_BATON_PASS; } + GIVEN { + ASSUME(gMovesInfo[MOVE_U_TURN].effect == EFFECT_HIT_ESCAPE); + ASSUME(gMovesInfo[MOVE_HEALING_WISH].effect == EFFECT_HEALING_WISH); + ASSUME(gMovesInfo[MOVE_BATON_PASS].effect == EFFECT_BATON_PASS); + PLAYER(SPECIES_WEEZING) { Ability(ABILITY_NEUTRALIZING_GAS); } + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_ARBOK) { Ability(ABILITY_INTIMIDATE); } + } WHEN { + TURN { MOVE(player, move); SEND_OUT(player, 1); } + } SCENE { + ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); + MESSAGE("Neutralizing Gas filled the area!"); + ANIMATION(ANIM_TYPE_MOVE, move, player); + MESSAGE("The effects of Neutralizing Gas wore off!"); + ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); + SEND_IN_MESSAGE("Wobbuffet"); + } THEN { + if (move == MOVE_HEALING_WISH) + EXPECT_EQ(player->hp, player->maxHP); + } +} + +SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutralizing Gas - opponent caused switches") +{ + u32 move, item; + PARAMETRIZE { move = MOVE_TACKLE; item = ITEM_EJECT_BUTTON; } + PARAMETRIZE { move = MOVE_GROWL; item = ITEM_EJECT_PACK; } + PARAMETRIZE { move = MOVE_ROAR; item = ITEM_NONE; } + PARAMETRIZE { move = MOVE_DRAGON_TAIL; item = ITEM_NONE; } + GIVEN { + ASSUME(gItemsInfo[ITEM_EJECT_BUTTON].holdEffect == HOLD_EFFECT_EJECT_BUTTON); + ASSUME(gItemsInfo[ITEM_EJECT_PACK].holdEffect == HOLD_EFFECT_EJECT_PACK); + ASSUME(gMovesInfo[MOVE_GROWL].effect == EFFECT_ATTACK_DOWN); + ASSUME(gMovesInfo[MOVE_ROAR].effect == EFFECT_ROAR); + ASSUME(gMovesInfo[MOVE_DRAGON_TAIL].effect == EFFECT_HIT_SWITCH_TARGET); + PLAYER(SPECIES_WEEZING) { Ability(ABILITY_NEUTRALIZING_GAS); Item(item); } + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_ARBOK) { Ability(ABILITY_INTIMIDATE); } + } WHEN { + if (item != ITEM_NONE) { + TURN { MOVE(opponent, move); SEND_OUT(player, 1); } + } else { + TURN { MOVE(opponent, move); } + } + } SCENE { + ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); + MESSAGE("Neutralizing Gas filled the area!"); + ANIMATION(ANIM_TYPE_MOVE, move, opponent); + if (item != ITEM_NONE) + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + MESSAGE("The effects of Neutralizing Gas wore off!"); + ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); + if (item != ITEM_NONE) { + SEND_IN_MESSAGE("Wobbuffet"); + } else { + MESSAGE("Wobbuffet was dragged out!"); + } + } +} + +SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutralizing Gas - fainted") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_FELL_STINGER].effect == EFFECT_FELL_STINGER); + PLAYER(SPECIES_WEEZING) { Ability(ABILITY_NEUTRALIZING_GAS); HP(1); } + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_ARBOK) { Ability(ABILITY_INTIMIDATE); } + } WHEN { + TURN { MOVE(opponent, MOVE_FELL_STINGER); SEND_OUT(player, 1); } + } SCENE { + ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); + MESSAGE("Neutralizing Gas filled the area!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FELL_STINGER, opponent); + MESSAGE("The effects of Neutralizing Gas wore off!"); + ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); + MESSAGE("Weezing fainted!"); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponent); + SEND_IN_MESSAGE("Wobbuffet"); + } +} + From 612c8d3ff644b7b3bfc423c7c665168047964c78 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 21 Nov 2024 18:18:44 +0100 Subject: [PATCH 210/278] Fixes heal blocked leeach seed in tests (#5700) --- data/battle_scripts_1.s | 39 ++++++++++--------- include/battle_scripts.h | 4 +- src/battle_script_commands.c | 4 +- src/battle_util.c | 21 ++++++++-- test/battle/move_effect/leech_seed.c | 58 +++++++++++++++++++++++++++- 5 files changed, 98 insertions(+), 28 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 8d24dc472d..76b75075ad 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -6032,33 +6032,34 @@ BattleScript_SafeguardEnds:: waitmessage B_WAIT_TIME_LONG end2 -BattleScript_LeechSeedTurnDrain:: - playanimation BS_ATTACKER, B_ANIM_LEECH_SEED_DRAIN, sB_ANIM_ARG1 - orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE - healthbarupdate BS_ATTACKER - datahpupdate BS_ATTACKER - copyword gBattleMoveDamage, gHpDealt - jumpifability BS_ATTACKER, ABILITY_LIQUID_OOZE, BattleScript_LeechSeedTurnPrintLiquidOoze - setbyte cMULTISTRING_CHOOSER, B_MSG_LEECH_SEED_DRAIN - jumpifstatus3 BS_TARGET, STATUS3_HEAL_BLOCK, BattleScript_LeechSeedHealBlock - manipulatedamage DMG_BIG_ROOT - goto BattleScript_LeechSeedTurnPrintAndUpdateHp -BattleScript_LeechSeedTurnPrintLiquidOoze:: +BattleScript_LeechSeedTurnDrainLiquidOoze:: + call BattleScript_LeechSeedTurnDrain + manipulatedamage DMG_CHANGE_SIGN copybyte gBattlerAbility, gBattlerAttacker call BattleScript_AbilityPopUp - setbyte cMULTISTRING_CHOOSER, B_MSG_LEECH_SEED_OOZE -BattleScript_LeechSeedTurnPrintAndUpdateHp:: - orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE + goto BattleScript_LeechSeedTurnDrainGainHp + +BattleScript_LeechSeedTurnDrainHealBlock:: + call BattleScript_LeechSeedTurnDrain + end2 + +BattleScript_LeechSeedTurnDrainRecovery:: + call BattleScript_LeechSeedTurnDrain +BattleScript_LeechSeedTurnDrainGainHp: + manipulatedamage DMG_BIG_ROOT healthbarupdate BS_TARGET datahpupdate BS_TARGET printfromtable gLeechSeedStringIds waitmessage B_WAIT_TIME_LONG - tryfaintmon BS_ATTACKER tryfaintmon BS_TARGET end2 -BattleScript_LeechSeedHealBlock: - setword gBattleMoveDamage, 0 - goto BattleScript_LeechSeedTurnPrintAndUpdateHp + +BattleScript_LeechSeedTurnDrain: + playanimation BS_ATTACKER, B_ANIM_LEECH_SEED_DRAIN, sB_ANIM_ARG1 + healthbarupdate BS_ATTACKER + datahpupdate BS_ATTACKER + tryfaintmon BS_ATTACKER + return BattleScript_BideStoringEnergy:: printstring STRINGID_PKMNSTORINGENERGY diff --git a/include/battle_scripts.h b/include/battle_scripts.h index a1722a511d..1148c955e5 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -65,7 +65,9 @@ extern const u8 BattleScript_OverworldTerrain[]; extern const u8 BattleScript_SideStatusWoreOff[]; extern const u8 BattleScript_SafeguardProtected[]; extern const u8 BattleScript_SafeguardEnds[]; -extern const u8 BattleScript_LeechSeedTurnDrain[]; +extern const u8 BattleScript_LeechSeedTurnDrainLiquidOoze[]; +extern const u8 BattleScript_LeechSeedTurnDrainHealBlock[]; +extern const u8 BattleScript_LeechSeedTurnDrainRecovery[]; extern const u8 BattleScript_BideStoringEnergy[]; extern const u8 BattleScript_BideAttack[]; extern const u8 BattleScript_BideNoEnergyToAttack[]; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 2958d200ab..46d0503307 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -5722,9 +5722,7 @@ static void Cmd_moveend(void) } else if (IsBattlerAlive(gBattlerAttacker) && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) { - gBattleMoveDamage = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleMoveDamage = max(1, (gHpDealt * gMovesInfo[gCurrentMove].argument / 100)); gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE; effect = TRUE; diff --git a/src/battle_util.c b/src/battle_util.c index e4c78132ed..3362979323 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2436,12 +2436,25 @@ u8 DoBattlerEndTurnEffects(void) && !IsBattlerProtectedByMagicGuard(battler, ability)) { gBattlerTarget = gStatuses3[battler] & STATUS3_LEECHSEED_BATTLER; // Notice gBattlerTarget is actually the HP receiver. - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattlerAttacker = battler; gBattleScripting.animArg1 = gBattlerTarget; gBattleScripting.animArg2 = gBattlerAttacker; - BattleScriptExecute(BattleScript_LeechSeedTurnDrain); + gBattleMoveDamage = max(1, GetNonDynamaxMaxHP(battler) / 8); + gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE; + if (GetBattlerAbility(battler) == ABILITY_LIQUID_OOZE) + { + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_OOZE; + BattleScriptExecute(BattleScript_LeechSeedTurnDrainLiquidOoze); + } + else if (gStatuses3[gBattlerTarget] & STATUS3_HEAL_BLOCK) + { + BattleScriptExecute(BattleScript_LeechSeedTurnDrainHealBlock); + } + else + { + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_DRAIN; + BattleScriptExecute(BattleScript_LeechSeedTurnDrainRecovery); + } effect++; } gBattleStruct->turnEffectsTracker++; diff --git a/test/battle/move_effect/leech_seed.c b/test/battle/move_effect/leech_seed.c index fce80c661c..67e829cf8a 100644 --- a/test/battle/move_effect/leech_seed.c +++ b/test/battle/move_effect/leech_seed.c @@ -20,8 +20,64 @@ SINGLE_BATTLE_TEST("Leech Seed doesn't affect Grass-type Pokémon") MESSAGE("It doesn't affect the opposing Oddish…"); } } + +SINGLE_BATTLE_TEST("Leech Seeded targets lose 1/8 of its max HP every turn and give it to the user") +{ + s16 damage; + s16 healed; + + GIVEN { + PLAYER(SPECIES_WYNAUT) { HP(1); } + OPPONENT(SPECIES_SHELLDER); + } WHEN { + TURN { MOVE(player, MOVE_LEECH_SEED); } + TURN {} + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_LEECH_SEED, player); + HP_BAR(opponent); + HP_BAR(player); + HP_BAR(opponent, captureDamage: &damage); + HP_BAR(player, captureDamage: &healed); + } THEN { + EXPECT_MUL_EQ(damage, Q_4_12(-1), healed); + } +} + +SINGLE_BATTLE_TEST("Leech Seed recovery is prevented by Heal Block") +{ + GIVEN { + PLAYER(SPECIES_WYNAUT) { HP(1); } + OPPONENT(SPECIES_SHELLDER); + } WHEN { + TURN { MOVE(opponent, MOVE_HEAL_BLOCK); MOVE(player, MOVE_LEECH_SEED); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_HEAL_BLOCK, opponent); + ANIMATION(ANIM_TYPE_MOVE, MOVE_LEECH_SEED, player); + HP_BAR(opponent); + NOT HP_BAR(player); + } +} + +SINGLE_BATTLE_TEST("Leech Seed recovery will drain the hp of user if leech seeded mon has Liquid Ooze") +{ + s16 damage; + s16 healed; + + GIVEN { + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_TENTACOOL) { Ability(ABILITY_LIQUID_OOZE); } + } WHEN { + TURN { MOVE(player, MOVE_LEECH_SEED); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_LEECH_SEED, player); + HP_BAR(opponent, captureDamage: &damage); + HP_BAR(player, captureDamage: &healed); + } THEN { + EXPECT_EQ(damage, healed); + } +} + TO_DO_BATTLE_TEST("Leech Seed doesn't affect already seeded targets") -TO_DO_BATTLE_TEST("Leech Seeded targets lose 1/8 of its max HP every turn and give it to the user") TO_DO_BATTLE_TEST("Leech Seed's effect is paused until a new battler replaces the original user's position") // Faint, can't be replaced, then revived. TO_DO_BATTLE_TEST("Leech Seed's effect pause still prevents it from being seeded again") TO_DO_BATTLE_TEST("Baton Pass passes Leech Seed's effect"); From f41fdbff6d2894edeb66d644c915a32f7388da01 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Thu, 21 Nov 2024 12:59:51 -0800 Subject: [PATCH 211/278] First pass at scope doc and updated PR tempalte --- .github/pull_request_template.md | 4 +++ docs/scope.md | 53 ++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) create mode 100644 docs/scope.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 2259d399c9..6a74e9fbd5 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,9 @@ + + + + ## Description diff --git a/docs/scope.md b/docs/scope.md new file mode 100644 index 0000000000..c31cbb37d3 --- /dev/null +++ b/docs/scope.md @@ -0,0 +1,53 @@ +# Document Purpose + +This document is a guide for contributors and Senate to decide if a feature is within "scope" for pokeemerald-expansion. If a feature is not in scope, then it should not be merged. Even if a opened PR is within scope, this does not mean it will be merged, as acceptance critieria will often come down to the details of the implementation. + +# Definitions + +* **Showdown Supported (SS)**: A core series game game which metagame can be played on Showdown. + * Notably, this is every [core series game](https://bulbapedia.bulbagarden.net/wiki/Core_series#List_of_core_series_games) except Pokémon Legends: Arceus and Pokémon Legends: Z-A. +* **Base Expansion Version**: A .gba file built from an unmodified `master` branch of `pokeemerald-expansion`. +* **Vanilla Emerald Version**: A .gba file built from an unmodified `master` branch of `pokeemerald`. + +# Guidelines + +A pull request meets the scope crtieria if: +* The feature does not belong to a category considered “not in scope” AND +* The feature belongs to a category conisred “in scope” + +## In Scope Categories + +1. **SS Species:** Adds Species that have appeared in a Showdown-supported title +2. **SS Moves:** Adds Moves and Move Animations that have appeared in a Showdown-supported title +3. **SS Abilities:** Adds Abilities that have appeared in a Showdown-supported title +4. **SS Items:** Adds Items that have appeared in a Showdown-supported title +5. **SS Gimmicks:** Adds Gimmicks that have appeared in a Showdown-supported title +6. **SS Battle Types:** Adds Special Battle Types that have appeared in a Showdown-supported title +7. **SS Battle Mechanics:** Add mechanical battle changes that have appeared in a Showdown-supported title +8. **Improve Battle AI:** Improve the Battle AI in a way that allows it to approach the skill and capability of a human competitive player +9. **Base Link Compatibility:** Link compatibility with base +10. **SS Overworld / Menu Updates:** Replicate overworld or menu changes from Showdown-supported Pokémon titles +11. **Speed Up:** Speed up the player experience of features found in base +12. **Compression:** Automatically compress assets +13. **Novel Experience:** Add a novel experience included in another Showdown Supported title +15. **Helper Features:** Eases the addition or inclusion of any of the aforementioned + +## Not In Scope Categories + +1. **Non-SS Species**: Adds Species that have NOT appeared in a Showdown-supported title +2. **Non-SS Moves**: Adds Moves and Move Animations that have NOT appeared in a Showdown-supported title +3. **Non-SS Abilities**: Adds Abilities that have NOT appeared in a Showdown-supported title +4. **Non-SS Items**: Adds Items that have NOT appeared in a Showdown-supported title +5. **Non-SS Gimmicks**: Adds Gimmicks that have NOT appeared in a Showdown-supported title +6. **Non-SS Battle Types**: Adds Special Battle Types that have NOT appeared in a Showdown-supported title +7. **Duplicate Feature UI**: Add functionality that duplicates the core functionality of an existing vanilla feature +8. **Vanilla Link Compatibility**: Link compatibility with vanilla +9. **External Program**: External programs + +## Discussion Required Categories + +Pull Requests that fall into this category should be brought up to maintainers, who will discuss and vote as to whether or not the feature is considered in scope. Considerations for acceptance may include invasiveness of implementation, popularity, ease of maintanence, etc. + +1. **Developer Ease of Use:** Lowers barrier of entry for developers to use existing behavior +2. **Fangame Features:** Adds a popular feature from other fangames +3. **Popular Non-SS Features:** Exceptions can be made for uniquely popular or requested features (Drowsy, PLA Legend Plate, etc.) From cd11fcc2a56e9413dc68adde3cdda575143123b0 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Thu, 21 Nov 2024 14:06:41 -0800 Subject: [PATCH 212/278] Apply suggestions from code review Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com> --- docs/scope.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/scope.md b/docs/scope.md index c31cbb37d3..01056be7c3 100644 --- a/docs/scope.md +++ b/docs/scope.md @@ -1,10 +1,10 @@ # Document Purpose -This document is a guide for contributors and Senate to decide if a feature is within "scope" for pokeemerald-expansion. If a feature is not in scope, then it should not be merged. Even if a opened PR is within scope, this does not mean it will be merged, as acceptance critieria will often come down to the details of the implementation. +This document is a guide for contributors and Senate to decide if a feature is within "scope" for pokeemerald-expansion. If a feature is not in scope, then it should not be merged. Even if an opened PR is within scope, this does not mean it will be merged, as acceptance criteria will often come down to the details of the implementation. # Definitions -* **Showdown Supported (SS)**: A core series game game which metagame can be played on Showdown. +* **Showdown Supported (SS)**: A core series game who's metagame can be played on Showdown. * Notably, this is every [core series game](https://bulbapedia.bulbagarden.net/wiki/Core_series#List_of_core_series_games) except Pokémon Legends: Arceus and Pokémon Legends: Z-A. * **Base Expansion Version**: A .gba file built from an unmodified `master` branch of `pokeemerald-expansion`. * **Vanilla Emerald Version**: A .gba file built from an unmodified `master` branch of `pokeemerald`. @@ -13,7 +13,7 @@ This document is a guide for contributors and Senate to decide if a feature is w A pull request meets the scope crtieria if: * The feature does not belong to a category considered “not in scope” AND -* The feature belongs to a category conisred “in scope” +* The feature belongs to a category considered “in scope” ## In Scope Categories @@ -23,13 +23,13 @@ A pull request meets the scope crtieria if: 4. **SS Items:** Adds Items that have appeared in a Showdown-supported title 5. **SS Gimmicks:** Adds Gimmicks that have appeared in a Showdown-supported title 6. **SS Battle Types:** Adds Special Battle Types that have appeared in a Showdown-supported title -7. **SS Battle Mechanics:** Add mechanical battle changes that have appeared in a Showdown-supported title +7. **SS Battle Mechanics:** Adds mechanical battle changes that have appeared in a Showdown-supported title 8. **Improve Battle AI:** Improve the Battle AI in a way that allows it to approach the skill and capability of a human competitive player 9. **Base Link Compatibility:** Link compatibility with base 10. **SS Overworld / Menu Updates:** Replicate overworld or menu changes from Showdown-supported Pokémon titles 11. **Speed Up:** Speed up the player experience of features found in base 12. **Compression:** Automatically compress assets -13. **Novel Experience:** Add a novel experience included in another Showdown Supported title +13. **Novel Experience:** Adds a novel experience included in another Showdown Supported title 15. **Helper Features:** Eases the addition or inclusion of any of the aforementioned ## Not In Scope Categories @@ -40,13 +40,13 @@ A pull request meets the scope crtieria if: 4. **Non-SS Items**: Adds Items that have NOT appeared in a Showdown-supported title 5. **Non-SS Gimmicks**: Adds Gimmicks that have NOT appeared in a Showdown-supported title 6. **Non-SS Battle Types**: Adds Special Battle Types that have NOT appeared in a Showdown-supported title -7. **Duplicate Feature UI**: Add functionality that duplicates the core functionality of an existing vanilla feature +7. **Duplicate Feature UI**: Adds functionality that duplicates the core functionality of an existing vanilla feature 8. **Vanilla Link Compatibility**: Link compatibility with vanilla 9. **External Program**: External programs ## Discussion Required Categories -Pull Requests that fall into this category should be brought up to maintainers, who will discuss and vote as to whether or not the feature is considered in scope. Considerations for acceptance may include invasiveness of implementation, popularity, ease of maintanence, etc. +Pull Requests that fall into this category should be brought up to maintainers, who will discuss and vote as to whether or not the feature is considered in scope. Considerations for acceptance may include invasiveness of implementation, popularity, ease of maintenance, etc. 1. **Developer Ease of Use:** Lowers barrier of entry for developers to use existing behavior 2. **Fangame Features:** Adds a popular feature from other fangames From aae6e3f903bc9f14b66faaf672d3f7cbf0281ca5 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:14:05 -0800 Subject: [PATCH 213/278] Update docs/scope.md Co-authored-by: Eduardo Quezada --- docs/scope.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scope.md b/docs/scope.md index 01056be7c3..5db9102ca8 100644 --- a/docs/scope.md +++ b/docs/scope.md @@ -7,7 +7,7 @@ This document is a guide for contributors and Senate to decide if a feature is w * **Showdown Supported (SS)**: A core series game who's metagame can be played on Showdown. * Notably, this is every [core series game](https://bulbapedia.bulbagarden.net/wiki/Core_series#List_of_core_series_games) except Pokémon Legends: Arceus and Pokémon Legends: Z-A. * **Base Expansion Version**: A .gba file built from an unmodified `master` branch of `pokeemerald-expansion`. -* **Vanilla Emerald Version**: A .gba file built from an unmodified `master` branch of `pokeemerald`. +* **Vanilla Emerald Version**: A .gba file built from an unmodified `master` branch of pret's `pokeemerald`. # Guidelines From 97b30cb712a6a898f7b9760fd1c01b1274fb0c5a Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Fri, 22 Nov 2024 00:10:55 +0100 Subject: [PATCH 214/278] simultaneous hp reduction --- asm/macros/battle_script.inc | 29 +- charmap.txt | 1 + data/battle_scripts_1.s | 164 +- data/battle_scripts_2.s | 4 +- include/battle.h | 39 +- include/battle_message.h | 1 + include/battle_scripts.h | 1 - include/battle_util.h | 3 + include/config/general.h | 2 +- include/constants/battle_script_commands.h | 18 +- include/constants/battle_string_ids.h | 5 +- src/battle_ai_switch_items.c | 3 +- src/battle_ai_util.c | 1 - src/battle_arena.c | 10 +- src/battle_dynamax.c | 10 +- src/battle_main.c | 12 +- src/battle_message.c | 12 +- src/battle_script_commands.c | 1586 +++++++++++------- src/battle_tv.c | 10 +- src/battle_util.c | 489 +++--- src/battle_z_move.c | 2 +- src/data/moves_info.h | 2 +- test/battle/ability/commander.c | 8 +- test/battle/ability/grim_neigh.c | 3 +- test/battle/ability/hospitality.c | 2 +- test/battle/ability/moxie.c | 3 +- test/battle/ability/seed_sower.c | 21 +- test/battle/ability/stamina.c | 9 +- test/battle/ability/tera_shell.c | 22 +- test/battle/ability/toxic_chain.c | 2 +- test/battle/ability/wind_power.c | 6 +- test/battle/ai/ai_switching.c | 1 + test/battle/crit_chance.c | 2 +- test/battle/gimmick/dynamax.c | 2 +- test/battle/move_effect/absorb.c | 22 +- test/battle/move_effect/dragon_darts.c | 11 + test/battle/move_effect/endeavor.c | 21 + test/battle/move_effect/explosion.c | 5 +- test/battle/move_effect/mind_blown.c | 3 +- test/battle/move_effect/protect.c | 1 - test/battle/move_effect/shed_tail.c | 27 +- test/battle/move_effect_secondary/bug_bite.c | 3 +- test/battle/move_effect_secondary/burn.c | 6 +- test/battle/spread_moves.c | 440 +++++ 44 files changed, 1998 insertions(+), 1026 deletions(-) create mode 100644 test/battle/move_effect/endeavor.c create mode 100644 test/battle/spread_moves.c diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 7664eac693..8e18fdd15f 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -356,7 +356,7 @@ .byte 0x3a .endm - .macro healthbar_update battler:req + .macro healthbarupdate_nonmovedamage battler:req .byte 0x3b .byte \battler .endm @@ -1232,11 +1232,11 @@ .byte 0xe5 .endm - .macro unused3 + .macro setbattlemovedamage .byte 0xe6 .endm - .macro unused4 + .macro copybattlemovedamage .byte 0xe7 .endm @@ -1761,6 +1761,27 @@ callnative BS_RemoveTerrain .endm + .macro setmoveresultflags flags:req + callnative BS_SetMoveResultFlags + .2byte \flags + .endm + + .macro clearmoveresultflags flags:req + callnative BS_ClearMoveResultFlags + .2byte \flags + .endm + + .macro jumpifmoveresultflags flags:req failInstr:req + callnative BS_JumpIfMoveResultFlags + .2byte \flags + .4byte \failInstr + .endm + + .macro jumpifcriticalhit failInstr:req + callnative BS_JumpIfCriticalHit + .4byte \failInstr + .endm + @ various command changed to more readable macros .macro cancelmultiturnmoves battler:req various \battler, VARIOUS_CANCEL_MULTI_TURN_MOVES @@ -2400,7 +2421,7 @@ .endm .macro jumpifmovehadnoeffect jumpInstr:req - jumpifbyte CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_NO_EFFECT, \jumpInstr + jumpifmoveresultflags MOVE_RESULT_NO_EFFECT, \jumpInstr .endm .macro jumpifside battler:req, side:req, equalJumpInstr:req diff --git a/charmap.txt b/charmap.txt index 63c2f6ebe1..13ad0e8512 100644 --- a/charmap.txt +++ b/charmap.txt @@ -411,6 +411,7 @@ B_ATK_TEAM2 = FD 38 B_DEF_NAME = FD 39 B_DEF_TEAM1 = FD 3A B_DEF_TEAM2 = FD 3B +B_DEF_PARTNER_NAME = FD 3C @ FD 3C - preiously gActiveBattler @ FD 3D - preiously gActiveBattler without Illusion Check B_ATK_NAME_WITH_PREFIX2 = FD 3E diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 76b75075ad..007313119a 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -26,7 +26,7 @@ BattleScript_DamageToQuarterTargetHP:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE damagetoquartertargethp goto BattleScript_HitFromAtkAnimation @@ -205,7 +205,7 @@ BattleScript_FilletAwayTrySpeed:: printfromtable gStatUpStringIds waitmessage B_WAIT_TIME_LONG BattleScript_FilletAwayEnd:: - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT healthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER goto BattleScript_MoveEnd @@ -238,7 +238,7 @@ BattleScript_EffectDoodle_AfterCopy: BattleScript_EffectGlaiveRush:: call BattleScript_EffectHit_Ret - jumpifhalfword CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_TryFaintMon + jumpifmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_TryFaintMon setglaiverush goto BattleScript_TryFaintMon @@ -434,7 +434,7 @@ BattleScript_EffectCorrosiveGas:: BattleScript_CorrosiveGasFail: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED printstring STRINGID_NOEFFECTONTARGET waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -717,7 +717,7 @@ BattleScript_SkyDropFlyingType: goto BattleScript_MoveEnd BattleScript_SkyDropChangedTarget: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED resultmessage waitmessage B_WAIT_TIME_LONG makevisible BS_ATTACKER @@ -1797,7 +1797,7 @@ BattleScript_EffectFinalGambit:: ppreduce critcalc typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE dmgtocurrattackerhp adjustdamage attackanimation @@ -1809,13 +1809,13 @@ BattleScript_EffectFinalGambit:: datahpupdate BS_TARGET resultmessage waitmessage B_WAIT_TIME_LONG - dmgtocurrattackerhp - healthbarupdate BS_ATTACKER - datahpupdate BS_ATTACKER setadditionaleffects - tryfaintmon BS_ATTACKER tryfaintmon BS_TARGET jumpifmovehadnoeffect BattleScript_MoveEnd + setatkhptozero + healthbarupdate BS_ATTACKER + datahpupdate BS_ATTACKER + tryfaintmon BS_ATTACKER goto BattleScript_MoveEnd BattleScript_EffectHitSwitchTarget:: @@ -2384,7 +2384,7 @@ BattleScript_EffectMetalBurst:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE + clearmoveresultflags MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE adjustdamage goto BattleScript_HitFromAtkAnimation @@ -2860,7 +2860,7 @@ BattleScript_EffectNaturalGiftEnd: goto BattleScript_MoveEnd BattleScript_MakeMoveMissed:: - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED + setmoveresultflags MOVE_RESULT_MISSED BattleScript_PrintMoveMissed:: attackstring ppreduce @@ -2912,14 +2912,14 @@ BattleScript_ElectricTerrainPrevents:: pause B_WAIT_TIME_SHORT printstring STRINGID_ELECTRICTERRAINPREVENTS waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_MistyTerrainPrevents:: pause B_WAIT_TIME_SHORT printstring STRINGID_MISTYTERRAINPREVENTS waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_FlowerVeilProtectsRet:: @@ -2931,7 +2931,7 @@ BattleScript_FlowerVeilProtectsRet:: BattleScript_FlowerVeilProtects: call BattleScript_FlowerVeilProtectsRet - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_SweetVeilProtectsRet:: @@ -2943,7 +2943,7 @@ BattleScript_SweetVeilProtectsRet:: BattleScript_SweetVeilProtects: call BattleScript_SweetVeilProtectsRet - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_AromaVeilProtectsRet:: @@ -2955,7 +2955,7 @@ BattleScript_AromaVeilProtectsRet:: BattleScript_AromaVeilProtects: call BattleScript_AromaVeilProtectsRet - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_PastelVeilProtectsRet:: @@ -2967,7 +2967,7 @@ BattleScript_PastelVeilProtectsRet:: BattleScript_PastelVeilProtects: call BattleScript_PastelVeilProtectsRet - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_AbilityProtectsDoesntAffectRet:: @@ -2979,7 +2979,7 @@ BattleScript_AbilityProtectsDoesntAffectRet:: BattleScript_AbilityProtectsDoesntAffect: call BattleScript_AbilityProtectsDoesntAffectRet - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_InsomniaProtects: @@ -2987,7 +2987,7 @@ BattleScript_InsomniaProtects: call BattleScript_AbilityPopUp printstring STRINGID_PKMNSTAYEDAWAKEUSING waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_AlreadyAsleep:: @@ -2995,33 +2995,36 @@ BattleScript_AlreadyAsleep:: pause B_WAIT_TIME_SHORT printstring STRINGID_PKMNALREADYASLEEP waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_WasntAffected:: pause B_WAIT_TIME_SHORT printstring STRINGID_PKMNWASNTAFFECTED waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_CantMakeAsleep:: pause B_WAIT_TIME_SHORT printfromtable gUproarAwakeStringIds waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_EffectAbsorbLiquidOoze:: call BattleScript_AbilityPopUpTarget - goto BattleScript_EffectAbsorb + goto BattleScript_EffectAbsorbFromHealthBarUpdate BattleScript_EffectAbsorb:: - healthbarupdate BS_ATTACKER + playanimation BS_ATTACKER, B_ANIM_SIMPLE_HEAL +BattleScript_EffectAbsorbFromHealthBarUpdate: + healthbarupdate_nonmovedamage BS_ATTACKER datahpupdate BS_ATTACKER printfromtable gAbsorbDrainStringIds waitmessage B_WAIT_TIME_LONG tryfaintmon BS_ATTACKER + bicword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE | HITMARKER_PASSIVE_DAMAGE return BattleScript_EffectExplosion:: @@ -3093,7 +3096,7 @@ BattleScript_EffectMirrorMove:: pause B_WAIT_TIME_LONG trymirrormove ppreduce - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED printstring STRINGID_MIRRORMOVEFAILED waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -3432,7 +3435,7 @@ BattleScript_EffectSuperFang:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE damagetohalftargethp goto BattleScript_HitFromAtkAnimation @@ -3441,7 +3444,7 @@ BattleScript_EffectRecoilIfMiss:: accuracycheck BattleScript_MoveMissedDoDamage, ACC_CURR_MOVE .if B_CRASH_IF_TARGET_IMMUNE >= GEN_4 typecalc - jumpifhalfword CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_MoveMissedDoDamage + jumpifmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_MoveMissedDoDamage .endif goto BattleScript_HitFromAtkString BattleScript_MoveMissedDoDamage:: @@ -3452,7 +3455,7 @@ BattleScript_MoveMissedDoDamage:: resultmessage waitmessage B_WAIT_TIME_LONG .if B_CRASH_IF_TARGET_IMMUNE < GEN_4 - jumpifhalfword CMP_COMMON_BITS, gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_MoveEnd + jumpifmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE, BattleScript_MoveEnd .endif moveendcase MOVEEND_PROTECT_LIKE_EFFECT @ Spiky Shield's damage happens before recoil. jumpifhasnohp BS_ATTACKER, BattleScript_MoveEnd @@ -3467,18 +3470,18 @@ BattleScript_MoveMissedDoDamage:: manipulatedamage DMG_RECOIL_FROM_MISS .endif .if B_CRASH_IF_TARGET_IMMUNE >= GEN_4 - bichalfword gMoveResultFlags, MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE + clearmoveresultflags MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE .else - bichalfword gMoveResultFlags, MOVE_RESULT_MISSED + clearmoveresultflags MOVE_RESULT_MISSED .endif orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE healthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER tryfaintmon BS_ATTACKER .if B_CRASH_IF_TARGET_IMMUNE >= GEN_4 - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE .else - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED + setmoveresultflags MOVE_RESULT_MISSED .endif goto BattleScript_MoveEnd @@ -3665,7 +3668,7 @@ BattleScript_EffectParalyze:: jumpifterrainaffected BS_TARGET, STATUS_FIELD_MISTY_TERRAIN, BattleScript_MistyTerrainPrevents accuracycheck BattleScript_ButItFailed, ACC_CURR_MOVE jumpifsafeguard BattleScript_SafeguardProtected - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE attackanimation waitanimation seteffectprimary MOVE_EFFECT_PARALYSIS @@ -3911,7 +3914,7 @@ BattleScript_EffectLevelDamage:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE dmgtolevel adjustdamage goto BattleScript_HitFromAtkAnimation @@ -3922,7 +3925,7 @@ BattleScript_EffectPsywave:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE psywavedamageeffect adjustdamage goto BattleScript_HitFromAtkAnimation @@ -3934,7 +3937,7 @@ BattleScript_EffectCounter:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE + clearmoveresultflags MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE adjustdamage goto BattleScript_HitFromAtkAnimation @@ -3962,7 +3965,6 @@ BattleScript_EffectPainSplit:: orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE healthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER - copyword gBattleMoveDamage, sPAINSPLIT_HP healthbarupdate BS_TARGET datahpupdate BS_TARGET printstring STRINGID_SHAREDPAIN @@ -4417,7 +4419,7 @@ BattleScript_EffectFixedDamageArg:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE setargtobattledamage adjustdamage goto BattleScript_HitFromAtkAnimation @@ -4562,7 +4564,7 @@ BattleScript_EffectMirrorCoat:: attackstring ppreduce typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE + clearmoveresultflags MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE adjustdamage goto BattleScript_HitFromAtkAnimation @@ -4618,7 +4620,7 @@ BattleScript_BeatUpLoop:: trydobeatup BattleScript_BeatUpEnd, BattleScript_ButItFailed printstring STRINGID_PKMNATTACK critcalc - jumpifbyte CMP_NOT_EQUAL, gIsCriticalHit, TRUE, BattleScript_BeatUpAttack + jumpifcriticalhit BattleScript_BeatUpAttack manipulatedamage DMG_DOUBLED BattleScript_BeatUpAttack:: adjustdamage @@ -4687,7 +4689,7 @@ BattleScript_FailedFromPpReduce:: ppreduce BattleScript_ButItFailed:: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED resultmessage waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -4697,7 +4699,7 @@ BattleScript_RestoreAttackerButItFailed: BattleScript_NotAffected:: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE resultmessage waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -4705,7 +4707,7 @@ BattleScript_NotAffected:: BattleScript_NotAffectedAbilityPopUp:: pause B_WAIT_TIME_SHORT call BattleScript_AbilityPopUpTarget - orhalfword gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE resultmessage waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -4775,7 +4777,6 @@ BattleScript_EffectSpitUp:: attackstring ppreduce accuracycheck BattleScript_PrintMoveMissed, ACC_CURR_MOVE - setbyte gIsCriticalHit, FALSE damagecalc adjustdamage stockpiletobasedamage BattleScript_SpitUpFail @@ -5109,7 +5110,7 @@ BattleScript_EffectBrickBreak:: damagecalc adjustdamage jumpifbyte CMP_EQUAL, sB_ANIM_TURN, 0, BattleScript_BrickBreakAnim - bichalfword gMoveResultFlags, MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE + clearmoveresultflags MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE BattleScript_BrickBreakAnim:: attackanimation waitanimation @@ -5167,12 +5168,10 @@ BattleScript_EffectEndeavor:: attackstring ppreduce setdamagetohealthdifference BattleScript_ButItFailed - copyword gHpDealt, gBattleMoveDamage accuracycheck BattleScript_MoveMissedPause, ACC_CURR_MOVE typecalc jumpifmovehadnoeffect BattleScript_HitFromAtkAnimation - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE - copyword gBattleMoveDamage, gHpDealt + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE adjustdamage goto BattleScript_HitFromAtkAnimation @@ -5296,7 +5295,7 @@ BattleScript_TickleEnd:: BattleScript_CantLowerMultipleStats:: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED printstring STRINGID_STATSWONTDECREASE2 waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -5380,7 +5379,7 @@ BattleScript_CalmMindEnd:: BattleScript_CantRaiseMultipleStats:: pause B_WAIT_TIME_SHORT - orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED printstring STRINGID_STATSWONTINCREASE2 waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd @@ -6034,7 +6033,6 @@ BattleScript_SafeguardEnds:: BattleScript_LeechSeedTurnDrainLiquidOoze:: call BattleScript_LeechSeedTurnDrain - manipulatedamage DMG_CHANGE_SIGN copybyte gBattlerAbility, gBattlerAttacker call BattleScript_AbilityPopUp goto BattleScript_LeechSeedTurnDrainGainHp @@ -6046,7 +6044,6 @@ BattleScript_LeechSeedTurnDrainHealBlock:: BattleScript_LeechSeedTurnDrainRecovery:: call BattleScript_LeechSeedTurnDrain BattleScript_LeechSeedTurnDrainGainHp: - manipulatedamage DMG_BIG_ROOT healthbarupdate BS_TARGET datahpupdate BS_TARGET printfromtable gLeechSeedStringIds @@ -6073,8 +6070,8 @@ BattleScript_BideAttack:: waitmessage B_WAIT_TIME_LONG accuracycheck BattleScript_MoveMissed, ACC_CURR_MOVE typecalc - bichalfword gMoveResultFlags, MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE - copyword gBattleMoveDamage, sBIDE_DMG + clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE + unused_95 adjustdamage setbyte sB_ANIM_TURN, 1 attackanimation @@ -6630,14 +6627,14 @@ BattleScript_FutureAttackEnd:: moveendcase MOVEEND_RAGE moveendcase MOVEEND_ABILITIES moveendfromto MOVEEND_ITEM_EFFECTS_ALL, MOVEEND_UPDATE_LAST_MOVES - setbyte gMoveResultFlags, 0 + setmoveresultflags 0 end2 BattleScript_FutureAttackMiss:: pause B_WAIT_TIME_SHORT - sethword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED resultmessage waitmessage B_WAIT_TIME_LONG - sethword gMoveResultFlags, 0 + setmoveresultflags 0 end2 BattleScript_NoMovesLeft:: @@ -6911,7 +6908,7 @@ BattleScript_MagicCoatPrankster:: waitmessage B_WAIT_TIME_LONG printstring STRINGID_ITDOESNTAFFECT waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + setmoveresultflags MOVE_RESULT_NO_EFFECT goto BattleScript_MoveEnd BattleScript_SnatchedMove:: @@ -6960,7 +6957,6 @@ BattleScript_MegaEvolution:: printstring STRINGID_MEGAEVOREACTING BattleScript_MegaEvolutionAfterString: waitmessage B_WAIT_TIME_LONG - setbyte gIsCriticalHit, 0 handlemegaevo BS_SCRIPTING, 0 playanimation BS_SCRIPTING, B_ANIM_MEGA_EVOLUTION waitanimation @@ -6978,7 +6974,6 @@ BattleScript_WishMegaEvolution:: BattleScript_PrimalReversion:: flushtextbox - setbyte gIsCriticalHit, 0 handleprimalreversion BS_SCRIPTING, 0 handleprimalreversion BS_SCRIPTING, 1 playanimation BS_SCRIPTING, B_ANIM_PRIMAL_REVERSION @@ -6994,7 +6989,6 @@ BattleScript_UltraBurst:: trytrainerslidezmovemsg printstring STRINGID_ULTRABURSTREACTING waitmessage B_WAIT_TIME_LONG - setbyte gIsCriticalHit, 0 handleultraburst BS_SCRIPTING, 0 playanimation BS_SCRIPTING, B_ANIM_ULTRA_BURST waitanimation @@ -7301,7 +7295,7 @@ BattleScript_PowderMoveNoEffectPrint: BattleScript_PowderMoveNoEffectWaitMsg: waitmessage B_WAIT_TIME_LONG cancelmultiturnmoves BS_ATTACKER - sethword gMoveResultFlags, MOVE_RESULT_FAILED + setmoveresultflags MOVE_RESULT_FAILED goto BattleScript_MoveEnd BattleScript_MoveUsedFlinched:: @@ -8233,7 +8227,7 @@ BattleScript_MoveHPDrain:: datahpupdate BS_TARGET printstring STRINGID_PKMNRESTOREDHPUSING waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE goto BattleScript_MoveEnd BattleScript_MoveStatDrain_PPLoss:: @@ -8265,7 +8259,7 @@ BattleScript_MonMadeMoveUseless:: call BattleScript_AbilityPopUp printstring STRINGID_PKMNSXMADEYUSELESS waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE goto BattleScript_MoveEnd BattleScript_FlashFireBoost_PPLoss:: @@ -8344,7 +8338,7 @@ BattleScript_SoundproofProtected:: call BattleScript_AbilityPopUp printstring STRINGID_PKMNSXBLOCKSY waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_DOESNT_AFFECT_FOE + setmoveresultflags MOVE_RESULT_DOESNT_AFFECT_FOE goto BattleScript_MoveEnd BattleScript_IceFaceNullsDamage:: @@ -8393,7 +8387,7 @@ BattleScript_AbilityNoSpecificStatLoss:: printstring STRINGID_PKMNSXPREVENTSYLOSS waitmessage B_WAIT_TIME_LONG setbyte cMULTISTRING_CHOOSER, B_MSG_STAT_FELL_EMPTY - orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + setmoveresultflags MOVE_RESULT_NO_EFFECT return BattleScript_StickyHoldActivates:: @@ -8418,7 +8412,7 @@ BattleScript_ProteanActivates:: BattleScript_TeraShellDistortingTypeMatchups:: pause B_WAIT_TIME_SHORTEST - call BattleScript_AbilityPopUp + call BattleScript_AbilityPopUpScripting printstring STRINGID_PKMNMADESHELLGLEAM waitmessage B_WAIT_TIME_LONG return @@ -8503,7 +8497,7 @@ BattleScript_WeakArmorActivates:: jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_FELL_EMPTY, BattleScript_WeakArmorActivatesSpeed pause B_WAIT_TIME_SHORTEST printfromtable gStatDownStringIds - bichalfword gMoveResultFlags, MOVE_RESULT_MISSED @ Set by statbuffchange when stat can't be decreased + clearmoveresultflags MOVE_RESULT_MISSED @ Set by statbuffchange when stat can't be decreased waitmessage B_WAIT_TIME_LONG goto BattleScript_WeakArmorActivatesSpeed BattleScript_WeakArmorDefAnim: @@ -8522,7 +8516,7 @@ BattleScript_WeakArmorActivatesSpeed: jumpifbyte CMP_EQUAL, cMULTISTRING_CHOOSER, B_MSG_STAT_ROSE_EMPTY, BattleScript_WeakArmorActivatesEnd pause B_WAIT_TIME_SHORTEST printstring STRINGID_TARGETSTATWONTGOHIGHER - bichalfword gMoveResultFlags, MOVE_RESULT_MISSED + clearmoveresultflags MOVE_RESULT_MISSED waitmessage B_WAIT_TIME_LONG goto BattleScript_WeakArmorActivatesEnd BattleScript_WeakArmorSpeedAnim: @@ -8645,31 +8639,31 @@ BattleScript_RockyHelmetActivatesDmg: BattleScript_SpikyShieldEffect:: jumpifabsent BS_ATTACKER, BattleScript_SpikyShieldRet orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT healthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER printstring STRINGID_PKMNHURTSWITH waitmessage B_WAIT_TIME_LONG tryfaintmon BS_ATTACKER - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED + setmoveresultflags MOVE_RESULT_MISSED BattleScript_SpikyShieldRet:: return BattleScript_KingsShieldEffect:: orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT seteffectsecondary copybyte sBATTLER, gBattlerTarget copybyte gBattlerTarget, gBattlerAttacker copybyte gBattlerAttacker, sBATTLER - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED + setmoveresultflags MOVE_RESULT_MISSED return BattleScript_BanefulBunkerEffect:: orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_STATUS_ABILITY_EFFECT | HITMARKER_PASSIVE_DAMAGE - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT seteffectsecondary - orhalfword gMoveResultFlags, MOVE_RESULT_MISSED + setmoveresultflags MOVE_RESULT_MISSED return BattleScript_CuteCharmActivates:: @@ -8873,18 +8867,12 @@ BattleScript_GemActivates:: return BattleScript_BerryReduceDmg:: - playanimation BS_TARGET, B_ANIM_HELD_ITEM_EFFECT + playanimation BS_SCRIPTING, B_ANIM_HELD_ITEM_EFFECT waitanimation - setlastuseditem BS_TARGET - printstring STRINGID_TARGETATEITEM - waitmessage B_WAIT_TIME_LONG - removeitem BS_TARGET - return - -BattleScript_PrintBerryReduceString:: - waitmessage B_WAIT_TIME_LONG + setlastuseditem BS_SCRIPTING printstring STRINGID_BERRYDMGREDUCES waitmessage B_WAIT_TIME_LONG + removeitem BS_SCRIPTING return BattleScript_BerryCureConfusionEnd2:: @@ -9673,7 +9661,7 @@ BattleScript_DarkTypePreventsPrankster:: pause B_WAIT_TIME_SHORT printstring STRINGID_ITDOESNTAFFECT waitmessage B_WAIT_TIME_LONG - orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + setmoveresultflags MOVE_RESULT_NO_EFFECT goto BattleScript_MoveEnd BattleScript_WellBakedBodyActivates:: @@ -9681,7 +9669,7 @@ BattleScript_WellBakedBodyActivates:: ppreduce pause B_WAIT_TIME_SHORT call BattleScript_AbilityPopUpTarget - orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + setmoveresultflags MOVE_RESULT_NO_EFFECT modifybattlerstatstage BS_TARGET, STAT_DEF, INCREASE, 1, BattleScript_WellBakedBodyEnd, ANIM_ON BattleScript_WellBakedBodyEnd: goto BattleScript_MoveEnd @@ -9691,7 +9679,7 @@ BattleScript_WindRiderActivatesMoveEnd:: ppreduce pause B_WAIT_TIME_SHORT call BattleScript_AbilityPopUpTarget - orhalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + setmoveresultflags MOVE_RESULT_NO_EFFECT modifybattlerstatstage BS_TARGET, STAT_ATK, INCREASE, 1, BattleScript_WindRiderActivatesMoveEnd_End, ANIM_ON BattleScript_WindRiderActivatesMoveEnd_End: goto BattleScript_MoveEnd diff --git a/data/battle_scripts_2.s b/data/battle_scripts_2.s index b68a570664..aa9f1da369 100644 --- a/data/battle_scripts_2.s +++ b/data/battle_scripts_2.s @@ -48,7 +48,7 @@ BattleScript_UseItemMessage: return BattleScript_ItemRestoreHPRet: - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT orword gHitMarker, HITMARKER_IGNORE_SUBSTITUTE healthbarupdate BS_SCRIPTING datahpupdate BS_SCRIPTING @@ -69,7 +69,7 @@ BattleScript_ItemRestoreHPEnd: BattleScript_ItemRestoreHP_Party:: jumpifbyte CMP_EQUAL, gBattleCommunication, TRUE, BattleScript_ItemRestoreHP_SendOutRevivedBattler - bichalfword gMoveResultFlags, MOVE_RESULT_NO_EFFECT + clearmoveresultflags MOVE_RESULT_NO_EFFECT printstring STRINGID_ITEMRESTOREDSPECIESHEALTH waitmessage B_WAIT_TIME_LONG return diff --git a/include/battle.h b/include/battle.h index 0a73bd79a5..ef2bf93f7d 100644 --- a/include/battle.h +++ b/include/battle.h @@ -251,6 +251,8 @@ struct SpecialStatus u8 afterYou:1; u8 preventLifeOrbDamage:1; // So that Life Orb doesn't activate various effects. u8 distortedTypeMatchups:1; + u8 teraShellAbilityDone:1; + u8 criticalHit:1; }; struct SideTimer @@ -831,6 +833,20 @@ struct BattleStruct u8 redCardActivates:1; u8 usedEjectItem; u8 usedMicleBerry; + s32 battlerExpReward; + + // Simultaneous hp reduction for spread moves + s32 calculatedDamage[MAX_BATTLERS_COUNT]; + s32 calculatedCritChance[MAX_BATTLERS_COUNT]; + u16 moveResultFlags[MAX_BATTLERS_COUNT]; + u8 missStringId[MAX_BATTLERS_COUNT]; + u8 noResultString[MAX_BATTLERS_COUNT]; + u8 doneDoublesSpreadHit:1; + u8 calculatedDamageDone:1; + u8 calculatedSpreadMoveAccuracy:1; + u8 printedStrongWindsWeakenedAttack:1; + u8 numSpreadTargets:2; + u8 padding:2; }; // The palaceFlags member of struct BattleStruct contains 1 flag per move to indicate which moves the AI should consider, @@ -845,7 +861,6 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER #define IS_MOVE_PHYSICAL(move)(GetBattleMoveCategory(move) == DAMAGE_CATEGORY_PHYSICAL) #define IS_MOVE_SPECIAL(move)(GetBattleMoveCategory(move) == DAMAGE_CATEGORY_SPECIAL) #define IS_MOVE_STATUS(move)(gMovesInfo[move].category == DAMAGE_CATEGORY_STATUS) - #define IS_MOVE_RECOIL(move)(gMovesInfo[move].recoil > 0 || gMovesInfo[move].effect == EFFECT_RECOIL_IF_MISS) #define BATTLER_MAX_HP(battlerId)(gBattleMons[battlerId].hp == gBattleMons[battlerId].maxHP) @@ -892,6 +907,8 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER #define SET_STATCHANGER(statId, stage, goesDown) (gBattleScripting.statChanger = (statId) + ((stage) << 3) + (goesDown << 7)) #define SET_STATCHANGER2(dst, statId, stage, goesDown)(dst = (statId) + ((stage) << 3) + (goesDown << 7)) +#define DO_ACCURACY_CHECK 2 // Don't skip the accuracy check before the move might be absorbed + // NOTE: The members of this struct have hard-coded offsets // in include/constants/battle_script_commands.h struct BattleScripting @@ -1072,7 +1089,6 @@ extern u8 gChosenMovePos; extern u16 gCurrentMove; extern u16 gChosenMove; extern u16 gCalledMove; -extern s32 gBattleMoveDamage; extern s32 gHpDealt; extern s32 gBideDmg[MAX_BATTLERS_COUNT]; extern u16 gLastUsedItem; @@ -1083,7 +1099,6 @@ extern u8 gBattlerFainted; extern u8 gEffectBattler; extern u8 gPotentialItemEffectBattler; extern u8 gAbsentBattlerFlags; -extern u8 gIsCriticalHit; extern u8 gMultiHitCounter; extern const u8 *gBattlescriptCurrInstr; extern u8 gChosenActionByBattler[MAX_BATTLERS_COUNT]; @@ -1099,7 +1114,6 @@ extern u16 gLockedMoves[MAX_BATTLERS_COUNT]; extern u16 gLastUsedMove; extern u8 gLastHitBy[MAX_BATTLERS_COUNT]; extern u16 gChosenMoveByBattler[MAX_BATTLERS_COUNT]; -extern u16 gMoveResultFlags; extern u32 gHitMarker; extern u8 gBideTarget[MAX_BATTLERS_COUNT]; extern u32 gSideStatuses[NUM_BATTLE_SIDES]; @@ -1187,5 +1201,22 @@ static inline bool32 IsDoubleBattle(void) return gBattleTypeFlags & BATTLE_TYPE_DOUBLE; } +static inline bool32 IsSpreadMove(u32 moveTarget) +{ + return IsDoubleBattle() && (moveTarget == MOVE_TARGET_BOTH || moveTarget == MOVE_TARGET_FOES_AND_ALLY); +} + +static inline bool32 IsBattlerInvalidForSpreadMove(u32 battlerAtk, u32 battlerDef, u32 moveTarget) +{ + return battlerDef == battlerAtk + || !IsBattlerAlive(battlerDef) + || (battlerDef == BATTLE_PARTNER(battlerAtk) && (moveTarget == MOVE_TARGET_BOTH)); +} + +static inline bool32 MoveResultHasEffect(u32 battler) +{ + return !(gBattleStruct->moveResultFlags[battler] & MOVE_RESULT_NO_EFFECT); +} + #endif // GUARD_BATTLE_H diff --git a/include/battle_message.h b/include/battle_message.h index 0b4570e389..fe030226fe 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -72,6 +72,7 @@ #define B_TXT_DEF_NAME 0x39 #define B_TXT_DEF_TEAM1 0x3A // Your/The opposing #define B_TXT_DEF_TEAM2 0x3B // your/the opposing +#define B_TXT_DEF_PARTNER_NAME 0x3C // #define B_TXT_SELECTION_NAME 0x3C - removed // #define B_TXT_SELECTION_NAME2 0x3D no Illusion check - removed #define B_TXT_ATK_NAME_WITH_PREFIX2 0x3E //lowercase diff --git a/include/battle_scripts.h b/include/battle_scripts.h index 1148c955e5..f86cf0bda9 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -358,7 +358,6 @@ extern const u8 BattleScript_SelectingNotAllowedMoveThroatChopInPalace[]; extern const u8 BattleScript_ThroatChopEndTurn[]; extern const u8 BattleScript_GemActivates[]; extern const u8 BattleScript_BerryReduceDmg[]; -extern const u8 BattleScript_PrintBerryReduceString[]; extern const u8 BattleScript_WeaknessPolicy[]; extern const u8 BattleScript_TargetItemStatRaise[]; extern const u8 BattleScript_RockyHelmetActivates[]; diff --git a/include/battle_util.h b/include/battle_util.h index e45b4d74a2..129710b3bb 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -118,6 +118,7 @@ enum CANCELLER_EXPLODING_DAMP, CANCELLER_MULTIHIT_MOVES, CANCELLER_Z_MOVES, + CANCELLER_MULTI_TARGET_MOVES, CANCELLER_END, CANCELLER_PSYCHIC_TERRAIN, CANCELLER_END2, @@ -313,5 +314,7 @@ bool8 CanMonParticipateInSkyBattle(struct Pokemon *mon); bool8 IsMonBannedFromSkyBattles(u16 species); void RemoveBattlerType(u32 battler, u8 type); u32 GetMoveType(u32 move); +bool32 IsDoubleSpreadMove(void); +void ClearDamageCalcResults(void); #endif // GUARD_BATTLE_UTIL_H diff --git a/include/config/general.h b/include/config/general.h index cff1432bb7..bd34106832 100644 --- a/include/config/general.h +++ b/include/config/general.h @@ -6,7 +6,7 @@ // still has them in the ROM. This is because the developers forgot // to define NDEBUG before release, however this has been changed as // Ruby's actual debug build does not use the AGBPrint features. -#define NDEBUG +// #define NDEBUG // To enable printf debugging, comment out "#define NDEBUG". This allows // the various AGBPrint functions to be used. (See include/gba/isagbprint.h). diff --git a/include/constants/battle_script_commands.h b/include/constants/battle_script_commands.h index bfdfceb620..c10c2646f1 100644 --- a/include/constants/battle_script_commands.h +++ b/include/constants/battle_script_commands.h @@ -3,7 +3,7 @@ // The following correspond to the struct members of BattleScripting by adding their offset #define sPAINSPLIT_HP (gBattleScripting + 0x00) // painSplitHp -#define sBIDE_DMG (gBattleScripting + 0x04) // bideDmg +#define sUNUSED_0x04 (gBattleScripting + 0x04) // unused_0x04 #define sMULTIHIT_STRING (gBattleScripting + 0x08) // multihitString #define sEXP_CATCH (gBattleScripting + 0x0E) // expOnCatch #define sUNUSED (gBattleScripting + 0x0F) // unused @@ -222,14 +222,14 @@ #define VARIOUS_SWAP_STATS 130 // Cmd_manipulatedamage -#define DMG_CHANGE_SIGN 0 -#define DMG_RECOIL_FROM_MISS 1 -#define DMG_DOUBLED 2 -#define DMG_1_8_TARGET_HP 3 -#define DMG_FULL_ATTACKER_HP 4 -#define DMG_CURR_ATTACKER_HP 5 -#define DMG_BIG_ROOT 6 -#define DMG_RECOIL_FROM_IMMUNE 7 // Used to calculate recoil for the Gen 4 version of Jump Kick +#define DMG_CHANGE_SIGN 1 +#define DMG_RECOIL_FROM_MISS 2 +#define DMG_DOUBLED 3 +#define DMG_1_8_TARGET_HP 4 +#define DMG_FULL_ATTACKER_HP 5 +#define DMG_CURR_ATTACKER_HP 6 +#define DMG_BIG_ROOT 7 +#define DMG_RECOIL_FROM_IMMUNE 8 // Used to calculate recoil for the Gen 4 version of Jump Kick // Cmd_jumpifcantswitch #define SWITCH_IGNORE_ESCAPE_PREVENTION (1 << 7) diff --git a/include/constants/battle_string_ids.h b/include/constants/battle_string_ids.h index 563e70fc06..9d6e4682a5 100644 --- a/include/constants/battle_string_ids.h +++ b/include/constants/battle_string_ids.h @@ -724,8 +724,11 @@ #define STRINGID_ELECTRICCURRENTISRUNNING 722 #define STRINGID_SEEMSWEIRD 723 #define STRINGID_WAGGLINGAFINGER 724 +#define STRINGID_SUPEREFFECTIVETWOFOES 725 +#define STRINGID_NOTVERYEFFECTIVETWOFOES 726 +#define STRINGID_ITDOESNTAFFECTTWOFOES 727 -#define BATTLESTRINGS_COUNT 725 +#define BATTLESTRINGS_COUNT 728 // This is the string id that gBattleStringsTable starts with. // String ids before this (e.g. STRINGID_INTROMSG) are not in the table, diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 47f5cae740..b679124b31 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -737,7 +737,7 @@ static bool32 FindMonWithFlagsAndSuperEffective(u32 battler, u16 flags, u32 perc species = GetMonData(&party[i], MON_DATA_SPECIES_OR_EGG); monAbility = GetMonAbility(&party[i]); CalcPartyMonTypeEffectivenessMultiplier(gLastLandedMoves[battler], species, monAbility); - if (gMoveResultFlags & flags) + if (gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(battler)] & flags) { battlerIn1 = gLastHitBy[battler]; @@ -1228,7 +1228,6 @@ static u32 GetBestMonDmg(struct Pokemon *party, int firstId, int lastId, u8 inva u32 aiMove; - gMoveResultFlags = 0; // If we couldn't find the best mon in terms of typing, find the one that deals most damage. for (i = firstId; i < lastId; i++) { diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 0277d7fd07..e2cd1d057e 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -1052,7 +1052,6 @@ uq4_12_t AI_GetTypeEffectiveness(u32 move, u32 battlerAtk, u32 battlerDef) u32 AI_GetMoveEffectiveness(u32 move, u32 battlerAtk, u32 battlerDef) { - gMoveResultFlags = 0; return AI_GetEffectiveness(AI_GetTypeEffectiveness(move, battlerAtk, battlerDef)); } diff --git a/src/battle_arena.c b/src/battle_arena.c index b292ff8837..6d34278f86 100644 --- a/src/battle_arena.c +++ b/src/battle_arena.c @@ -391,20 +391,20 @@ void BattleArena_AddSkillPoints(u8 battler) *failedMoveBits &= ~((1u << battler)); skillPoints[battler] -= 2; } - else if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NO_EFFECT) { - if (!(gMoveResultFlags & MOVE_RESULT_MISSED) || gBattleCommunication[MISS_TYPE] != B_MSG_PROTECTED) + if (!(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_MISSED) || gBattleCommunication[MISS_TYPE] != B_MSG_PROTECTED) skillPoints[battler] -= 2; } - else if ((gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) && (gMoveResultFlags & MOVE_RESULT_NOT_VERY_EFFECTIVE)) + else if ((gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_SUPER_EFFECTIVE) && (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NOT_VERY_EFFECTIVE)) { skillPoints[battler] += 1; } - else if (gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_SUPER_EFFECTIVE) { skillPoints[battler] += 2; } - else if (gMoveResultFlags & MOVE_RESULT_NOT_VERY_EFFECTIVE) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NOT_VERY_EFFECTIVE) { skillPoints[battler] -= 1; } diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index fae0e8377a..5a6d795757 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -528,7 +528,7 @@ void BS_SetMaxMoveEffect(void) u8 maxEffect = gMovesInfo[gCurrentMove].argument; // Don't continue if the move didn't land. - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NO_EFFECT) { gBattlescriptCurrInstr = cmd->nextInstr; return; @@ -978,10 +978,10 @@ void BS_TrySetStatus2(void) void BS_HealOneSixth(void) { NATIVE_ARGS(const u8* failInstr); - gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP / 6; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP / 6; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = cmd->failInstr; // fail diff --git a/src/battle_main.c b/src/battle_main.c index ecad0d4e82..9b79db1681 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -162,7 +162,6 @@ EWRAM_DATA u8 gChosenMovePos = 0; EWRAM_DATA u16 gCurrentMove = 0; EWRAM_DATA u16 gChosenMove = 0; EWRAM_DATA u16 gCalledMove = 0; -EWRAM_DATA s32 gBattleMoveDamage = 0; EWRAM_DATA s32 gHpDealt = 0; EWRAM_DATA s32 gBideDmg[MAX_BATTLERS_COUNT] = {0}; EWRAM_DATA u16 gLastUsedItem = 0; @@ -173,7 +172,6 @@ EWRAM_DATA u8 gBattlerFainted = 0; EWRAM_DATA u8 gEffectBattler = 0; EWRAM_DATA u8 gPotentialItemEffectBattler = 0; EWRAM_DATA u8 gAbsentBattlerFlags = 0; -EWRAM_DATA u8 gIsCriticalHit = FALSE; EWRAM_DATA u8 gMultiHitCounter = 0; EWRAM_DATA const u8 *gBattlescriptCurrInstr = NULL; EWRAM_DATA u8 gChosenActionByBattler[MAX_BATTLERS_COUNT] = {0}; @@ -189,7 +187,6 @@ EWRAM_DATA u16 gLockedMoves[MAX_BATTLERS_COUNT] = {0}; EWRAM_DATA u16 gLastUsedMove = 0; EWRAM_DATA u8 gLastHitBy[MAX_BATTLERS_COUNT] = {0}; EWRAM_DATA u16 gChosenMoveByBattler[MAX_BATTLERS_COUNT] = {0}; -EWRAM_DATA u16 gMoveResultFlags = 0; EWRAM_DATA u32 gHitMarker = 0; EWRAM_DATA u8 gBideTarget[MAX_BATTLERS_COUNT] = {0}; EWRAM_DATA u32 gSideStatuses[NUM_BATTLE_SIDES] = {0}; @@ -3044,6 +3041,7 @@ static void BattleStartClearSetData(void) gBattleStruct->AI_monToSwitchIntoId[i] = PARTY_SIZE; gBattleStruct->skyDropTargets[i] = 0xFF; gBattleStruct->overwrittenAbilities[i] = ABILITY_NONE; + } gLastUsedMove = 0; @@ -3080,7 +3078,6 @@ static void BattleStartClearSetData(void) gBattleCommunication[i] = 0; gPauseCounterBattle = 0; - gBattleMoveDamage = 0; gIntroSlideFlags = 0; gLeveledUpInBattle = 0; gAbsentBattlerFlags = 0; @@ -3200,7 +3197,7 @@ void SwitchInClearSetData(u32 battler) gDisableStructs[battler].substituteHP = disableStructCopy.substituteHP; } - gMoveResultFlags = 0; + gBattleStruct->moveResultFlags[battler] = 0; gDisableStructs[battler].isFirstTurn = 2; gDisableStructs[battler].truantSwitchInHack = disableStructCopy.truantSwitchInHack; gLastMoves[battler] = MOVE_NONE; @@ -3944,7 +3941,6 @@ static void TryDoEventsBeforeFirstTurn(void) gBattleScripting.moveendState = 0; gBattleStruct->faintedActionsState = 0; gBattleStruct->turnCountersTracker = 0; - gMoveResultFlags = 0; memset(gQueuedStatBoosts, 0, sizeof(gQueuedStatBoosts)); SetShellSideArmCategory(); @@ -3983,7 +3979,6 @@ static void HandleEndTurn_ContinueBattle(void) gBattleStruct->wishPerishSongState = 0; gBattleStruct->wishPerishSongBattlerId = 0; gBattleStruct->turnCountersTracker = 0; - gMoveResultFlags = 0; } } @@ -4015,8 +4010,6 @@ void BattleTurnPassed(void) gBattleScripting.animTurn = 0; gBattleScripting.animTargetsHit = 0; gBattleScripting.moveendState = 0; - gBattleMoveDamage = 0; - gMoveResultFlags = 0; for (i = 0; i < 5; i++) gBattleCommunication[i] = 0; @@ -5166,6 +5159,7 @@ static void TurnValuesCleanUp(bool8 var0) gBattleStruct->usedEjectItem = 0; gBattleStruct->pledgeMove = FALSE; // combined pledge move may not have been used due to a canceller + ClearDamageCalcResults(); } void SpecialStatusesClear(void) diff --git a/src/battle_message.c b/src/battle_message.c index 761770d440..8e80f92ecb 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -48,9 +48,6 @@ struct BattleWindowText u8 shadowColor; }; -static void ChooseMoveUsedParticle(u8 *textPtr); -static void ChooseTypeOfMoveUsedString(u8 *dst); - #if TESTING EWRAM_DATA u16 sBattlerAbilities[MAX_BATTLERS_COUNT] = {0}; #else @@ -690,7 +687,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_PKMNCANTUSEMOVETHROATCHOP] = COMPOUND_STRING("The effects of Throat Chop prevent {B_ATK_NAME_WITH_PREFIX2} from using certain moves!\p"), [STRINGID_LASERFOCUS] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} concentrated intensely!"), [STRINGID_GEMACTIVATES] = COMPOUND_STRING("The {B_LAST_ITEM} strengthened {B_ATK_NAME_WITH_PREFIX2}'s power!"), - [STRINGID_BERRYDMGREDUCES] = COMPOUND_STRING("The {B_LAST_ITEM} weakened the damage to {B_DEF_NAME_WITH_PREFIX2}!"), + [STRINGID_BERRYDMGREDUCES] = COMPOUND_STRING("The {B_LAST_ITEM} weakened the damage to {B_SCR_NAME_WITH_PREFIX2}!"), [STRINGID_TARGETATEITEM] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} ate its {B_LAST_ITEM}!"), [STRINGID_AIRBALLOONFLOAT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} floats in the air with its Air Balloon!"), [STRINGID_AIRBALLOONPOP] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s Air Balloon popped!"), @@ -884,6 +881,9 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_ELECTRICCURRENTISRUNNING] = COMPOUND_STRING("An electric current is running across the battlefield!"), [STRINGID_SEEMSWEIRD] = COMPOUND_STRING("The battlefield seems weird!"), [STRINGID_WAGGLINGAFINGER] = COMPOUND_STRING("Waggling a finger let it use {B_CURRENT_MOVE}!"), + [STRINGID_SUPEREFFECTIVETWOFOES] = COMPOUND_STRING("It's super effective on {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}!"), + [STRINGID_NOTVERYEFFECTIVETWOFOES] = COMPOUND_STRING("It's not very effective on {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}!"), + [STRINGID_ITDOESNTAFFECTTWOFOES] = COMPOUND_STRING("It doesn't affect {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}…"), }; const u16 gTrainerUsedItemStringIds[] = @@ -2712,6 +2712,10 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) GetBattlerNick(gBattlerTarget, text); toCpy = text; break; + case B_TXT_DEF_PARTNER_NAME: // partner target name + GetBattlerNick(BATTLE_PARTNER(gBattlerTarget), text); + toCpy = text; + break; case B_TXT_EFF_NAME_WITH_PREFIX: // effect battler name with prefix HANDLE_NICKNAME_STRING_CASE(gEffectBattler) break; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 46d0503307..4e17e07dde 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -397,7 +397,7 @@ static void Cmd_bichalfword(void); static void Cmd_bicword(void); static void Cmd_pause(void); static void Cmd_waitstate(void); -static void Cmd_healthbar_update(void); +static void Cmd_healthbarupdate_nonmovedamage(void); static void Cmd_return(void); static void Cmd_end(void); static void Cmd_end2(void); @@ -568,8 +568,8 @@ static void Cmd_switchoutabilities(void); static void Cmd_jumpifhasnohp(void); static void Cmd_jumpifnotcurrentmoveargtype(void); static void Cmd_pickup(void); -static void Cmd_unused3(void); -static void Cmd_unused4(void); +static void Cmd_setbattlemovedamage(void); +static void Cmd_copybattlemovedamage(void); static void Cmd_settypebasedhalvers(void); static void Cmd_jumpifsubstituteblocks(void); static void Cmd_tryrecycleitem(void); @@ -656,7 +656,7 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_bicword, //0x38 Cmd_pause, //0x39 Cmd_waitstate, //0x3A - Cmd_healthbar_update, //0x3B + Cmd_healthbarupdate_nonmovedamage, //0x3B Cmd_return, //0x3C Cmd_end, //0x3D Cmd_end2, //0x3E @@ -827,8 +827,8 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_jumpifhasnohp, //0xE3 Cmd_jumpifnotcurrentmoveargtype, //0xE4 Cmd_pickup, //0xE5 - Cmd_unused3, //0xE6 - Cmd_unused4, //0xE7 + Cmd_setbattlemovedamage, //0xE6 + Cmd_copybattlemovedamage, //0xE7 Cmd_settypebasedhalvers, //0xE8 Cmd_jumpifsubstituteblocks, //0xE9 Cmd_tryrecycleitem, //0xEA @@ -1172,11 +1172,11 @@ bool32 ProteanTryChangeType(u32 battler, u32 ability, u32 move, u32 moveType) bool32 ShouldTeraShellDistortTypeMatchups(u32 move, u32 battlerDef) { if (!gSpecialStatuses[battlerDef].distortedTypeMatchups - && GetBattlerAbility(battlerDef) == ABILITY_TERA_SHELL && gBattleMons[battlerDef].species == SPECIES_TERAPAGOS_TERASTAL + && gBattleMons[battlerDef].hp == gBattleMons[battlerDef].maxHP && !IS_MOVE_STATUS(move) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) - && gBattleMons[battlerDef].hp == gBattleMons[battlerDef].maxHP) + && MoveResultHasEffect(battlerDef) + && GetBattlerAbility(battlerDef) == ABILITY_TERA_SHELL) return TRUE; return FALSE; @@ -1280,7 +1280,7 @@ static void Cmd_attackcanceler(void) && !(gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS)) { gBattlescriptCurrInstr = BattleScript_NoPPForMove; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; return; } if (B_STANCE_CHANGE_FAIL >= GEN_7 && TryAegiFormChange()) @@ -1299,7 +1299,7 @@ static void Cmd_attackcanceler(void) // B_MSG_LOAFING, B_MSG_WONT_OBEY, B_MSG_TURNED_AWAY, or B_MSG_PRETEND_NOT_NOTICE gBattleCommunication[MULTISTRING_CHOOSER] = MOD(Random(), NUM_LOAF_STRINGS); gBattlescriptCurrInstr = BattleScript_MoveUsedLoafingAround; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; return; case DISOBEYS_HITS_SELF: gBattlerTarget = gBattlerAttacker; @@ -1310,18 +1310,18 @@ static void Cmd_attackcanceler(void) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = TRUE; - gBattleMoveDamage = CalculateMoveDamage(&damageCalcData, 40); + gBattleStruct->calculatedDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, 40); gBattlescriptCurrInstr = BattleScript_IgnoresAndHitsItself; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; gHitMarker |= HITMARKER_OBEYS; return; case DISOBEYS_FALL_ASLEEP: gBattlescriptCurrInstr = BattleScript_IgnoresAndFallsAsleep; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; return; case DISOBEYS_WHILE_ASLEEP: gBattlescriptCurrInstr = BattleScript_IgnoresWhileAsleep; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; return; case DISOBEYS_RANDOM_MOVE: gCalledMove = gBattleMons[gBattlerAttacker].moves[gCurrMovePos]; @@ -1356,6 +1356,7 @@ static void Cmd_attackcanceler(void) { gBattleStruct->bouncedMoveIsUsed = TRUE; // Edge case for bouncing a powder move against a grass type pokemon. + SetAtkCancellerForCalledMove(); if (BlocksPrankster(gCurrentMove, gBattlerTarget, gBattlerAttacker, TRUE)) { @@ -1389,8 +1390,8 @@ static void Cmd_attackcanceler(void) if (gBattleStruct->bouncedMoveIsUsed) { - // Edge case for bouncing a powder move against a grass type pokemon. - SetAtkCancellerForCalledMove(); + ClearDamageCalcResults(); + SetAtkCancellerForCalledMove(); // Edge case for bouncing a powder move against a grass type pokemon. BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MagicBounce; gBattlerAbility = battler; @@ -1399,8 +1400,7 @@ static void Cmd_attackcanceler(void) } // Z-moves and Max Moves bypass protection, but deal reduced damage (factored in AccumulateOtherModifiers) - if ((IsZMove(gCurrentMove) || IsMaxMove(gCurrentMove)) - && IS_BATTLER_PROTECTED(gBattlerTarget)) + if ((IsZMove(gCurrentMove) || IsMaxMove(gCurrentMove)) && IS_BATTLER_PROTECTED(gBattlerTarget)) { BattleScriptPush(cmd->nextInstr); gBattlescriptCurrInstr = BattleScript_CouldntFullyProtect; @@ -1445,7 +1445,7 @@ static void Cmd_attackcanceler(void) if (IsMoveMakingContact(gCurrentMove, gBattlerAttacker)) gProtectStructs[gBattlerAttacker].touchedProtectLike = TRUE; CancelMultiTurnMoves(gBattlerAttacker); - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gLastLandedMoves[gBattlerTarget] = 0; gLastHitByType[gBattlerTarget] = 0; @@ -1471,7 +1471,7 @@ static void Cmd_attackcanceler(void) static bool32 JumpIfMoveFailed(u8 adder, u16 move) { - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (!MoveResultHasEffect(gBattlerTarget)) { gLastLandedMoves[gBattlerTarget] = 0; gLastHitByType[gBattlerTarget] = 0; @@ -1494,7 +1494,7 @@ static void Cmd_unused5(void) if (IsBattlerProtected(gBattlerAttacker, gBattlerTarget, gCurrentMove)) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; JumpIfMoveFailed(sizeof(*cmd), MOVE_NONE); gBattleCommunication[MISS_TYPE] = B_MSG_PROTECTED; } @@ -1504,103 +1504,93 @@ static void Cmd_unused5(void) } } -static bool8 JumpIfMoveAffectedByProtect(u16 move) +static bool32 JumpIfMoveAffectedByProtect(u32 move, u32 battler, u32 shouldJump) { - bool8 affected = FALSE; - if (IsBattlerProtected(gBattlerAttacker, gBattlerTarget, move)) + bool32 affected = IsBattlerProtected(gBattlerAttacker, battler, move); + if (affected) { - gMoveResultFlags |= MOVE_RESULT_MISSED; - JumpIfMoveFailed(7, move); - gBattleCommunication[MISS_TYPE] = B_MSG_PROTECTED; - affected = TRUE; + gBattleStruct->moveResultFlags[battler] |= MOVE_RESULT_MISSED; + if (shouldJump) + JumpIfMoveFailed(7, move); } return affected; } -static bool32 AccuracyCalcHelper(u16 move) +// TODO: the record ability check is wrong +static bool32 AccuracyCalcHelper(u32 move, u32 battler) { - if ((gStatuses3[gBattlerTarget] & STATUS3_ALWAYS_HITS && gDisableStructs[gBattlerTarget].battlerWithSureHit == gBattlerAttacker) + u32 effect = FALSE; + u32 ability = ABILITY_NONE; + + if ((gStatuses3[battler] & STATUS3_ALWAYS_HITS && gDisableStructs[battler].battlerWithSureHit == gBattlerAttacker) || (B_TOXIC_NEVER_MISS >= GEN_6 && gMovesInfo[move].effect == EFFECT_TOXIC && IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_POISON)) - || gStatuses4[gBattlerTarget] & STATUS4_GLAIVE_RUSH) + || gStatuses4[battler] & STATUS4_GLAIVE_RUSH) { - JumpIfMoveFailed(7, move); - return TRUE; + effect = TRUE; } // If the attacker has the ability No Guard and they aren't targeting a Pokemon involved in a Sky Drop with the move Sky Drop, move hits. else if (GetBattlerAbility(gBattlerAttacker) == ABILITY_NO_GUARD - && !(gStatuses3[gBattlerTarget] & STATUS3_COMMANDER) - && (gMovesInfo[move].effect != EFFECT_SKY_DROP || gBattleStruct->skyDropTargets[gBattlerTarget] == 0xFF)) + && !(gStatuses3[battler] & STATUS3_COMMANDER) + && (gMovesInfo[move].effect != EFFECT_SKY_DROP || gBattleStruct->skyDropTargets[battler] == 0xFF)) { - if (!JumpIfMoveFailed(7, move)) - RecordAbilityBattle(gBattlerAttacker, ABILITY_NO_GUARD); - return TRUE; + effect = TRUE; + ability = ABILITY_NO_GUARD; } // If the target has the ability No Guard and they aren't involved in a Sky Drop or the current move isn't Sky Drop, move hits. - else if (GetBattlerAbility(gBattlerTarget) == ABILITY_NO_GUARD - && (gMovesInfo[move].effect != EFFECT_SKY_DROP || gBattleStruct->skyDropTargets[gBattlerTarget] == 0xFF)) + else if (GetBattlerAbility(battler) == ABILITY_NO_GUARD + && (gMovesInfo[move].effect != EFFECT_SKY_DROP || gBattleStruct->skyDropTargets[battler] == 0xFF)) { - if (!JumpIfMoveFailed(7, move)) - RecordAbilityBattle(gBattlerTarget, ABILITY_NO_GUARD); - return TRUE; + effect = TRUE; + ability = ABILITY_NO_GUARD; } // If the target is under the effects of Telekinesis, and the move isn't a OH-KO move, move hits. - else if (gStatuses3[gBattlerTarget] & STATUS3_TELEKINESIS - && !(gStatuses3[gBattlerTarget] & STATUS3_SEMI_INVULNERABLE) + else if (gStatuses3[battler] & STATUS3_TELEKINESIS + && !(gStatuses3[battler] & STATUS3_SEMI_INVULNERABLE) && gMovesInfo[move].effect != EFFECT_OHKO) { - JumpIfMoveFailed(7, move); - return TRUE; + effect = TRUE; } - - if (GetActiveGimmick(gBattlerAttacker) == GIMMICK_Z_MOVE && !(gStatuses3[gBattlerTarget] & STATUS3_SEMI_INVULNERABLE)) + else if (GetActiveGimmick(gBattlerAttacker) == GIMMICK_Z_MOVE && !(gStatuses3[battler] & STATUS3_SEMI_INVULNERABLE)) { - JumpIfMoveFailed(7, move); - return TRUE; + effect = TRUE; } - - if ((gStatuses3[gBattlerTarget] & STATUS3_COMMANDER) - || (gStatuses3[gBattlerTarget] & STATUS3_PHANTOM_FORCE) - || ((gStatuses3[gBattlerTarget] & STATUS3_ON_AIR) && !(gMovesInfo[move].damagesAirborne || gMovesInfo[move].damagesAirborneDoubleDamage)) - || ((gStatuses3[gBattlerTarget] & STATUS3_UNDERGROUND) && !gMovesInfo[move].damagesUnderground) - || ((gStatuses3[gBattlerTarget] & STATUS3_UNDERWATER) && !gMovesInfo[move].damagesUnderwater)) + else if ((gStatuses3[battler] & STATUS3_COMMANDER) + || (gStatuses3[battler] & STATUS3_PHANTOM_FORCE) + || ((gStatuses3[battler] & STATUS3_ON_AIR) && !(gMovesInfo[move].damagesAirborne || gMovesInfo[move].damagesAirborneDoubleDamage)) + || ((gStatuses3[battler] & STATUS3_UNDERGROUND) && !gMovesInfo[move].damagesUnderground) + || ((gStatuses3[battler] & STATUS3_UNDERWATER) && !gMovesInfo[move].damagesUnderwater)) { - gMoveResultFlags |= MOVE_RESULT_MISSED; - JumpIfMoveFailed(7, move); - return TRUE; + gBattleStruct->moveResultFlags[battler] |= MOVE_RESULT_MISSED; + effect = TRUE; } if (WEATHER_HAS_EFFECT) { if ((gMovesInfo[move].effect == EFFECT_THUNDER || gMovesInfo[move].effect == EFFECT_RAIN_ALWAYS_HIT) - && IsBattlerWeatherAffected(gBattlerTarget, B_WEATHER_RAIN)) - { - // thunder/hurricane/genie moves ignore acc checks in rain unless target is holding utility umbrella - JumpIfMoveFailed(7, move); - return TRUE; - } + && IsBattlerWeatherAffected(battler, B_WEATHER_RAIN)) + effect = TRUE; else if ((gBattleWeather & (B_WEATHER_HAIL | B_WEATHER_SNOW)) && gMovesInfo[move].effect == EFFECT_BLIZZARD) - { - // Blizzard ignores acc checks in Hail in Gen4+ - JumpIfMoveFailed(7, move); - return TRUE; - } + effect = TRUE; + + if (effect) + return effect; } if (B_MINIMIZE_DMG_ACC >= GEN_6 - && (gStatuses3[gBattlerTarget] & STATUS3_MINIMIZED) + && (gStatuses3[battler] & STATUS3_MINIMIZED) && gMovesInfo[move].minimizeDoubleDamage) { - JumpIfMoveFailed(7, move); - return TRUE; + effect = TRUE; } - - if (gMovesInfo[move].accuracy == 0) + else if (gMovesInfo[move].accuracy == 0) { - JumpIfMoveFailed(7, move); - return TRUE; + effect = TRUE; } - return FALSE; + if (ability != ABILITY_NONE) + RecordAbilityBattle(gBattlerAttacker, ABILITY_NO_GUARD); + + return effect; } u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move, u32 atkAbility, u32 defAbility, u32 atkHoldEffect, u32 defHoldEffect) @@ -1727,21 +1717,22 @@ u32 GetTotalAccuracy(u32 battlerAtk, u32 battlerDef, u32 move, u32 atkAbility, u static void AccuracyCheck(bool32 recalcDragonDarts, const u8 *nextInstr, const u8 *failInstr, u16 move) { - u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, move); - u32 abilityAtk = GetBattlerAbility(gBattlerAttacker); - u32 abilityDef = GetBattlerAbility(gBattlerTarget); - u32 holdEffectAtk = GetBattlerHoldEffect(gBattlerAttacker, TRUE); + u32 abilityAtk; + u32 holdEffectAtk; if (move == ACC_CURR_MOVE) move = gCurrentMove; + abilityAtk = GetBattlerAbility(gBattlerAttacker); + holdEffectAtk = GetBattlerHoldEffect(gBattlerAttacker, TRUE); + if (move == NO_ACC_CALC_CHECK_LOCK_ON) { if (gStatuses3[gBattlerTarget] & STATUS3_ALWAYS_HITS && gDisableStructs[gBattlerTarget].battlerWithSureHit == gBattlerAttacker) gBattlescriptCurrInstr = nextInstr; else if (gStatuses3[gBattlerTarget] & (STATUS3_SEMI_INVULNERABLE)) gBattlescriptCurrInstr = failInstr; - else if (!JumpIfMoveAffectedByProtect(gCurrentMove)) + else if (!JumpIfMoveAffectedByProtect(gCurrentMove, gBattlerTarget, TRUE)) gBattlescriptCurrInstr = nextInstr; if (GetActiveGimmick(gBattlerAttacker) == GIMMICK_DYNAMAX) { @@ -1761,51 +1752,59 @@ static void AccuracyCheck(bool32 recalcDragonDarts, const u8 *nextInstr, const u } else { - u32 accuracy; - u32 type = GetMoveType(move); + u32 moveType = GetMoveType(move); + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, move); + bool32 calcSpreadMove = IsSpreadMove(moveTarget) && !IS_MOVE_STATUS(move); - if (JumpIfMoveAffectedByProtect(move)) - return; - if (AccuracyCalcHelper(move)) - return; - - accuracy = GetTotalAccuracy( - gBattlerAttacker, - gBattlerTarget, - move, - abilityAtk, - abilityDef, - holdEffectAtk, - GetBattlerHoldEffect(gBattlerTarget, TRUE) - ); - - if (!RandomPercentage(RNG_ACCURACY, accuracy)) + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) { - gMoveResultFlags |= MOVE_RESULT_MISSED; - if (holdEffectAtk == HOLD_EFFECT_BLUNDER_POLICY) - gBattleStruct->blunderPolicy = TRUE; // Only activates from missing through acc/evasion checks + if (gBattleStruct->calculatedSpreadMoveAccuracy) + break; - if (gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_DARTS - && !recalcDragonDarts // So we don't jump back and forth between targets - && CanTargetPartner(gBattlerAttacker, gBattlerTarget) - && !TargetFullyImmuneToCurrMove(gBattlerAttacker, BATTLE_PARTNER(gBattlerTarget))) + if ((!calcSpreadMove && battlerDef != gBattlerTarget) + || IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || (gBattleStruct->noResultString[battlerDef] && gBattleStruct->noResultString[battlerDef] != DO_ACCURACY_CHECK)) + continue; + + if (JumpIfMoveAffectedByProtect(move, battlerDef, FALSE) || AccuracyCalcHelper(move, battlerDef)) + continue; + + u32 accuracy = GetTotalAccuracy(gBattlerAttacker, + battlerDef, + move, + abilityAtk, + GetBattlerAbility(battlerDef), + holdEffectAtk, + GetBattlerHoldEffect(battlerDef, TRUE)); + + if (!RandomPercentage(RNG_ACCURACY, accuracy)) { - // Smart target to partner if miss - gBattlerTarget = BATTLE_PARTNER(gBattlerTarget); - gMoveResultFlags &= ~MOVE_RESULT_MISSED; - AccuracyCheck(TRUE, nextInstr, failInstr, move); - return; + gBattleStruct->moveResultFlags[battlerDef] = MOVE_RESULT_MISSED; + gBattleStruct->missStringId[battlerDef] = gBattleCommunication[MISS_TYPE] = B_MSG_MISSED; + + if (holdEffectAtk == HOLD_EFFECT_BLUNDER_POLICY) + gBattleStruct->blunderPolicy = TRUE; // Only activates from missing through acc/evasion checks + + if (gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_DARTS + && !recalcDragonDarts // So we don't jump back and forth between targets + && CanTargetPartner(gBattlerAttacker, battlerDef) + && !TargetFullyImmuneToCurrMove(gBattlerAttacker, BATTLE_PARTNER(battlerDef))) + { + // Smart target to partner if miss + gBattlerTarget = BATTLE_PARTNER(battlerDef); + gBattleStruct->moveResultFlags[battlerDef] &= ~MOVE_RESULT_MISSED; + AccuracyCheck(TRUE, nextInstr, failInstr, move); + return; + } + + if (gMovesInfo[move].power) + CalcTypeEffectivenessMultiplier(move, moveType, gBattlerAttacker, battlerDef, GetBattlerAbility(battlerDef), TRUE); } - - if (IsDoubleBattle() && - (moveTarget == MOVE_TARGET_BOTH || moveTarget == MOVE_TARGET_FOES_AND_ALLY)) - gBattleCommunication[MISS_TYPE] = B_MSG_AVOIDED_ATK; - else - gBattleCommunication[MISS_TYPE] = B_MSG_MISSED; - - if (gMovesInfo[move].power) - CalcTypeEffectivenessMultiplier(move, type, gBattlerAttacker, gBattlerTarget, abilityDef, TRUE); } + + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_MISSED) + gBattleStruct->moveResultFlags[gBattlerTarget] = MOVE_RESULT_MISSED; + gBattleStruct->calculatedSpreadMoveAccuracy = TRUE; JumpIfMoveFailed(7, move); } } @@ -1890,14 +1889,6 @@ static void Cmd_ppreduce(void) gHitMarker &= ~HITMARKER_NO_PPDEDUCT; gBattlescriptCurrInstr = cmd->nextInstr; - - if (ShouldTeraShellDistortTypeMatchups(gCurrentMove, gBattlerTarget)) - { - gSpecialStatuses[gBattlerTarget].distortedTypeMatchups = TRUE; - gBattlerAbility = gBattlerTarget; - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_TeraShellDistortingTypeMatchups; - } } // The chance is 1/N for each stage. @@ -1961,8 +1952,8 @@ s32 CalcCritChanceStageArgs(u32 battlerAtk, u32 battlerDef, u32 move, bool32 rec critChance = CRITICAL_HIT_BLOCKED; } else if (gStatuses3[battlerAtk] & STATUS3_LASER_FOCUS - || gMovesInfo[move].alwaysCriticalHit - || (abilityAtk == ABILITY_MERCILESS && gBattleMons[battlerDef].status1 & STATUS1_PSN_ANY)) + || gMovesInfo[move].alwaysCriticalHit + || (abilityAtk == ABILITY_MERCILESS && gBattleMons[battlerDef].status1 & STATUS1_PSN_ANY)) { critChance = CRITICAL_HIT_ALWAYS; } @@ -2089,62 +2080,119 @@ static void Cmd_critcalc(void) { CMD_ARGS(); - u16 partySlot; - s32 critChance; - - if (B_CRIT_CHANCE == GEN_1) - critChance = CalcCritChanceStageGen1(gBattlerAttacker, gBattlerTarget, gCurrentMove, TRUE); - else - critChance = CalcCritChanceStage(gBattlerAttacker, gBattlerTarget, gCurrentMove, TRUE); - + u32 partySlot = gBattlerPartyIndexes[gBattlerAttacker]; + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + bool32 calcSpreadMoveDamage = IsSpreadMove(moveTarget) && !IS_MOVE_STATUS(gCurrentMove); gPotentialItemEffectBattler = gBattlerAttacker; - if (gBattleTypeFlags & (BATTLE_TYPE_WALLY_TUTORIAL | BATTLE_TYPE_FIRST_BATTLE)) - gIsCriticalHit = FALSE; - else if (critChance == -1) - gIsCriticalHit = FALSE; - else if (critChance == -2) - gIsCriticalHit = TRUE; - else + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) { + if (gBattleStruct->calculatedDamageDone) + break; + + if (!calcSpreadMoveDamage && battlerDef != gBattlerTarget) + continue; + + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || gBattleStruct->noResultString[battlerDef] + || gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT) + continue; + if (B_CRIT_CHANCE == GEN_1) - { - u8 critRoll = RandomUniform(RNG_CRITICAL_HIT, 1, 256); - if (critRoll <= critChance) - gIsCriticalHit = 1; - else - gIsCriticalHit = 0; - } + gBattleStruct->calculatedCritChance[battlerDef] = CalcCritChanceStageGen1(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); else - gIsCriticalHit = RandomChance(RNG_CRITICAL_HIT, 1, GetCriticalHitOdds(critChance)); + gBattleStruct->calculatedCritChance[battlerDef] = CalcCritChanceStage(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); + + if (gBattleTypeFlags & (BATTLE_TYPE_WALLY_TUTORIAL | BATTLE_TYPE_FIRST_BATTLE)) + gSpecialStatuses[battlerDef].criticalHit = FALSE; + else if (gBattleStruct->calculatedCritChance[battlerDef] == -1) + gSpecialStatuses[battlerDef].criticalHit = FALSE; + else if (gBattleStruct->calculatedCritChance[battlerDef] == -2) + gSpecialStatuses[battlerDef].criticalHit = TRUE; + else + { + if (B_CRIT_CHANCE == GEN_1) + { + u32 critRoll = RandomUniform(RNG_CRITICAL_HIT, 1, 256); + if (critRoll <= gBattleStruct->calculatedCritChance[battlerDef]) + gSpecialStatuses[battlerDef].criticalHit = TRUE; + else + gSpecialStatuses[battlerDef].criticalHit = FALSE; + } + else + { + gSpecialStatuses[battlerDef].criticalHit = RandomChance(RNG_CRITICAL_HIT, 1, GetCriticalHitOdds(gBattleStruct->calculatedCritChance[battlerDef])); + } + } + + // Counter for EVO_CRITICAL_HITS. + if (gSpecialStatuses[battlerDef].criticalHit && GetBattlerSide(gBattlerAttacker) == B_SIDE_PLAYER + && !(gBattleTypeFlags & BATTLE_TYPE_MULTI && GetBattlerPosition(gBattlerAttacker) == B_POSITION_PLAYER_LEFT)) + gPartyCriticalHits[partySlot]++; } - // Counter for EVO_CRITICAL_HITS. - partySlot = gBattlerPartyIndexes[gBattlerAttacker]; - if (gIsCriticalHit && GetBattlerSide(gBattlerAttacker) == B_SIDE_PLAYER - && !(gBattleTypeFlags & BATTLE_TYPE_MULTI && GetBattlerPosition(gBattlerAttacker) == B_POSITION_PLAYER_LEFT)) - gPartyCriticalHits[partySlot]++; - gBattlescriptCurrInstr = cmd->nextInstr; } +static inline void GetShellSideArmCategory(u32 battlerDef) +{ + if (gMovesInfo[gCurrentMove].effect == EFFECT_SHELL_SIDE_ARM) + gBattleStruct->swapDamageCategory = (gBattleStruct->shellSideArmCategory[gBattlerAttacker][battlerDef] != gMovesInfo[gCurrentMove].category); +} + static void Cmd_damagecalc(void) { CMD_ARGS(); - if (gMovesInfo[gCurrentMove].effect == EFFECT_SHELL_SIDE_ARM) - gBattleStruct->swapDamageCategory = (gBattleStruct->shellSideArmCategory[gBattlerAttacker][gBattlerTarget] != gMovesInfo[gCurrentMove].category); + if (gBattleStruct->calculatedDamageDone) + { + gBattlescriptCurrInstr = cmd->nextInstr; + return; + } + + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); struct DamageCalculationData damageCalcData; damageCalcData.battlerAtk = gBattlerAttacker; - damageCalcData.battlerDef = gBattlerTarget; damageCalcData.move = gCurrentMove; damageCalcData.moveType = GetMoveType(gCurrentMove); - damageCalcData.isCrit = gIsCriticalHit; damageCalcData.randomFactor = TRUE; damageCalcData.updateFlags = TRUE; - gBattleMoveDamage = CalculateMoveDamage(&damageCalcData, 0); + if (IsSpreadMove(moveTarget)) + { + u32 battlerDef; + for (battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || gBattleStruct->noResultString[battlerDef] + || gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT) + continue; + + if (ShouldTeraShellDistortTypeMatchups(gCurrentMove, battlerDef)) + { + gSpecialStatuses[battlerDef].distortedTypeMatchups = TRUE; + gSpecialStatuses[battlerDef].teraShellAbilityDone = TRUE; + } + GetShellSideArmCategory(battlerDef); + damageCalcData.battlerDef = battlerDef; + damageCalcData.isCrit = gSpecialStatuses[battlerDef].criticalHit; + gBattleStruct->calculatedDamage[battlerDef] = CalculateMoveDamage(&damageCalcData, 0); + } + } + else + { + if (ShouldTeraShellDistortTypeMatchups(gCurrentMove, gBattlerTarget)) + { + gSpecialStatuses[gBattlerTarget].distortedTypeMatchups = TRUE; + gSpecialStatuses[gBattlerTarget].teraShellAbilityDone = TRUE; + } + GetShellSideArmCategory(gBattlerTarget); + damageCalcData.battlerDef = gBattlerTarget; + damageCalcData.isCrit = gSpecialStatuses[gBattlerTarget].criticalHit; + gBattleStruct->calculatedDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, 0); + } + gBattlescriptCurrInstr = cmd->nextInstr; } @@ -2152,8 +2200,11 @@ static void Cmd_typecalc(void) { CMD_ARGS(); - u32 moveType = GetMoveType(gCurrentMove); - CalcTypeEffectivenessMultiplier(gCurrentMove, moveType, gBattlerAttacker, gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE); + if (!IsSpreadMove(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove))) // Handled in CANCELLER_MULTI_TARGET_MOVES for Spread Moves + { + u32 moveType = GetMoveType(gCurrentMove); + CalcTypeEffectivenessMultiplier(gCurrentMove, moveType, gBattlerAttacker, gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE); + } gBattlescriptCurrInstr = cmd->nextInstr; } @@ -2163,109 +2214,118 @@ static void Cmd_adjustdamage(void) CMD_ARGS(); u8 holdEffect, param; - u32 affectionScore = GetBattlerAffectionHearts(gBattlerTarget); + u32 battlerDef; u32 rand = Random() % 100; - u32 moveType = GetMoveType(gCurrentMove); + u32 affectionScore = GetBattlerAffectionHearts(gBattlerTarget); + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + bool32 calcSpreadMoveDamage = IsSpreadMove(moveTarget) && !IS_MOVE_STATUS(gCurrentMove); - if (DoesSubstituteBlockMove(gBattlerAttacker, gBattlerTarget, gCurrentMove)) - goto END; - if (DoesDisguiseBlockMove(gBattlerTarget, gCurrentMove)) + for (battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) { - gBattleStruct->enduredDamage |= 1u << gBattlerTarget; - goto END; - } - if (GetBattlerAbility(gBattlerTarget) == ABILITY_ICE_FACE && IS_MOVE_PHYSICAL(gCurrentMove) && gBattleMons[gBattlerTarget].species == SPECIES_EISCUE) - { - // Damage deals typeless 0 HP. - gMoveResultFlags &= ~(MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE); - gBattleMoveDamage = 0; - RecordAbilityBattle(gBattlerTarget, ABILITY_ICE_FACE); - gBattleResources->flags->flags[gBattlerTarget] |= RESOURCE_FLAG_ICE_FACE; - // Form change will be done after attack animation in Cmd_resultmessage. - goto END; - } - if (gBattleMons[gBattlerTarget].hp > gBattleMoveDamage) - goto END; + if (gBattleStruct->calculatedDamageDone) + break; - holdEffect = GetBattlerHoldEffect(gBattlerTarget, TRUE); - param = GetBattlerHoldEffectParam(gBattlerTarget); + if (!calcSpreadMoveDamage && battlerDef != gBattlerTarget) + continue; - gPotentialItemEffectBattler = gBattlerTarget; + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || gBattleStruct->noResultString[battlerDef]) + continue; - if (holdEffect == HOLD_EFFECT_FOCUS_BAND && rand < param) - { - RecordItemEffectBattle(gBattlerTarget, holdEffect); - gSpecialStatuses[gBattlerTarget].focusBanded = TRUE; - } - else if (B_STURDY >= GEN_5 && GetBattlerAbility(gBattlerTarget) == ABILITY_STURDY && BATTLER_MAX_HP(gBattlerTarget)) - { - RecordAbilityBattle(gBattlerTarget, ABILITY_STURDY); - gSpecialStatuses[gBattlerTarget].sturdied = TRUE; - } - else if (holdEffect == HOLD_EFFECT_FOCUS_SASH && BATTLER_MAX_HP(gBattlerTarget)) - { - RecordItemEffectBattle(gBattlerTarget, holdEffect); - gSpecialStatuses[gBattlerTarget].focusSashed = TRUE; - } - else if (B_AFFECTION_MECHANICS == TRUE && GetBattlerSide(gBattlerTarget) == B_SIDE_PLAYER && affectionScore >= AFFECTION_THREE_HEARTS) - { - if ((affectionScore == AFFECTION_FIVE_HEARTS && rand < 20) - || (affectionScore == AFFECTION_FOUR_HEARTS && rand < 15) - || (affectionScore == AFFECTION_THREE_HEARTS && rand < 10)) - gSpecialStatuses[gBattlerTarget].affectionEndured = TRUE; + if (DoesSubstituteBlockMove(gBattlerAttacker, battlerDef, gCurrentMove)) + goto END; + + if (DoesDisguiseBlockMove(battlerDef, gCurrentMove)) + { + gBattleStruct->enduredDamage |= 1u << battlerDef; + goto END; + } + if (GetBattlerAbility(battlerDef) == ABILITY_ICE_FACE && IS_MOVE_PHYSICAL(gCurrentMove) && gBattleMons[battlerDef].species == SPECIES_EISCUE) + { + // Damage deals typeless 0 HP. + gBattleStruct->moveResultFlags[battlerDef] &= ~(MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE); + gBattleStruct->calculatedDamage[battlerDef] = 0; + RecordAbilityBattle(gBattlerTarget, ABILITY_ICE_FACE); + gBattleResources->flags->flags[battlerDef] |= RESOURCE_FLAG_ICE_FACE; + // Form change will be done after attack animation in Cmd_resultmessage. + goto END; + } + if (gBattleMons[gBattlerTarget].hp > gBattleStruct->calculatedDamage[battlerDef]) + goto END; + + holdEffect = GetBattlerHoldEffect(battlerDef, TRUE); + param = GetBattlerHoldEffectParam(battlerDef); + + gPotentialItemEffectBattler = battlerDef; + + if (holdEffect == HOLD_EFFECT_FOCUS_BAND && rand < param) + { + RecordItemEffectBattle(battlerDef, holdEffect); + gSpecialStatuses[battlerDef].focusBanded = TRUE; + } + else if (B_STURDY >= GEN_5 && GetBattlerAbility(battlerDef) == ABILITY_STURDY && BATTLER_MAX_HP(battlerDef)) + { + RecordAbilityBattle(battlerDef, ABILITY_STURDY); + gSpecialStatuses[battlerDef].sturdied = TRUE; + } + else if (holdEffect == HOLD_EFFECT_FOCUS_SASH && BATTLER_MAX_HP(battlerDef)) + { + RecordItemEffectBattle(battlerDef, holdEffect); + gSpecialStatuses[battlerDef].focusSashed = TRUE; + } + else if (B_AFFECTION_MECHANICS == TRUE && GetBattlerSide(battlerDef) == B_SIDE_PLAYER && affectionScore >= AFFECTION_THREE_HEARTS) + { + if ((affectionScore == AFFECTION_FIVE_HEARTS && rand < 20) + || (affectionScore == AFFECTION_FOUR_HEARTS && rand < 15) + || (affectionScore == AFFECTION_THREE_HEARTS && rand < 10)) + gSpecialStatuses[battlerDef].affectionEndured = TRUE; + } + + if (gMovesInfo[gCurrentMove].effect != EFFECT_FALSE_SWIPE + && !gProtectStructs[battlerDef].endured + && !gSpecialStatuses[battlerDef].focusBanded + && !gSpecialStatuses[battlerDef].focusSashed + && (B_AFFECTION_MECHANICS == FALSE || !gSpecialStatuses[battlerDef].affectionEndured) + && !gSpecialStatuses[battlerDef].sturdied) + goto END; + + // Handle reducing the dmg to 1 hp. + gBattleStruct->calculatedDamage[battlerDef] = gBattleMons[battlerDef].hp - 1; + gBattleStruct->enduredDamage |= 1u << battlerDef; + + if (gProtectStructs[battlerDef].endured) + { + gBattleStruct->moveResultFlags[battlerDef] |= MOVE_RESULT_FOE_ENDURED; + } + else if (gSpecialStatuses[battlerDef].focusBanded || gSpecialStatuses[battlerDef].focusSashed) + { + gBattleStruct->moveResultFlags[battlerDef] |= MOVE_RESULT_FOE_HUNG_ON; + gLastUsedItem = gBattleMons[battlerDef].item; + gSpecialStatuses[battlerDef].focusBanded = FALSE; + gSpecialStatuses[battlerDef].focusSashed = FALSE; + } + else if (gSpecialStatuses[battlerDef].sturdied) + { + gBattleStruct->moveResultFlags[battlerDef] |= MOVE_RESULT_STURDIED; + gLastUsedAbility = ABILITY_STURDY; + } + else if (B_AFFECTION_MECHANICS == TRUE && gSpecialStatuses[battlerDef].affectionEndured) + { + gBattleStruct->moveResultFlags[battlerDef] |= MOVE_RESULT_FOE_ENDURED_AFFECTION; + } + + END: + if (!(gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT) && gBattleStruct->calculatedDamage[battlerDef] >= 1) + gSpecialStatuses[gBattlerAttacker].damagedMons |= 1u << battlerDef; } - if (gMovesInfo[gCurrentMove].effect != EFFECT_FALSE_SWIPE - && !gProtectStructs[gBattlerTarget].endured - && !gSpecialStatuses[gBattlerTarget].focusBanded - && !gSpecialStatuses[gBattlerTarget].focusSashed - && (B_AFFECTION_MECHANICS == FALSE || !gSpecialStatuses[gBattlerTarget].affectionEndured) - && !gSpecialStatuses[gBattlerTarget].sturdied) - goto END; - - // Handle reducing the dmg to 1 hp. - gBattleMoveDamage = gBattleMons[gBattlerTarget].hp - 1; - gBattleStruct->enduredDamage |= 1u << gBattlerTarget; - - if (gProtectStructs[gBattlerTarget].endured) - { - gMoveResultFlags |= MOVE_RESULT_FOE_ENDURED; - } - else if (gSpecialStatuses[gBattlerTarget].focusBanded || gSpecialStatuses[gBattlerTarget].focusSashed) - { - gMoveResultFlags |= MOVE_RESULT_FOE_HUNG_ON; - gLastUsedItem = gBattleMons[gBattlerTarget].item; - gSpecialStatuses[gBattlerTarget].focusBanded = FALSE; - gSpecialStatuses[gBattlerTarget].focusSashed = FALSE; - - } - else if (gSpecialStatuses[gBattlerTarget].sturdied) - { - gMoveResultFlags |= MOVE_RESULT_STURDIED; - gLastUsedAbility = ABILITY_STURDY; - } - else if (B_AFFECTION_MECHANICS == TRUE && gSpecialStatuses[gBattlerTarget].affectionEndured) - { - gMoveResultFlags |= MOVE_RESULT_FOE_ENDURED_AFFECTION; - } - -END: + if (calcSpreadMoveDamage) + gBattleStruct->calculatedDamageDone = TRUE; gBattlescriptCurrInstr = cmd->nextInstr; - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) && gBattleMoveDamage >= 1) - gSpecialStatuses[gBattlerAttacker].damagedMons |= (1 << (gBattlerTarget)); - - // Check gems and damage reducing berries. - if (gSpecialStatuses[gBattlerTarget].berryReduced - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) - && gBattleMons[gBattlerTarget].item) - { - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_BerryReduceDmg; - gLastUsedItem = gBattleMons[gBattlerTarget].item; - } + // TODO: might be a bug if (gSpecialStatuses[gBattlerAttacker].gemBoost - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && gBattleMons[gBattlerAttacker].item && gMovesInfo[gCurrentMove].effect != EFFECT_PLEDGE && gCurrentMove != MOVE_STRUGGLE) @@ -2274,23 +2334,6 @@ END: gBattlescriptCurrInstr = BattleScript_GemActivates; gLastUsedItem = gBattleMons[gBattlerAttacker].item; } - - // B_WEATHER_STRONG_WINDS prints a string when it's about to reduce the power - // of a move that is Super Effective against a Flying-type Pokémon. - if (gBattleWeather & B_WEATHER_STRONG_WINDS) - { - if ((GetBattlerType(gBattlerTarget, 0, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 0, FALSE)) >= UQ_4_12(2.0)) - || (GetBattlerType(gBattlerTarget, 1, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 1, FALSE)) >= UQ_4_12(2.0)) - || (GetBattlerType(gBattlerTarget, 2, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 2, FALSE)) >= UQ_4_12(2.0))) - { - gBattlerAbility = gBattlerTarget; - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_AttackWeakenedByStrongWinds; - } - } } static void Cmd_multihitresultmessage(void) @@ -2300,21 +2343,22 @@ static void Cmd_multihitresultmessage(void) if (gBattleControllerExecFlags) return; - if (!(gMoveResultFlags & MOVE_RESULT_FAILED) && !(gMoveResultFlags & MOVE_RESULT_FOE_ENDURED)) + if (!(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FAILED) + && !(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FOE_ENDURED)) { - if (gMoveResultFlags & MOVE_RESULT_STURDIED) + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_STURDIED) { - gMoveResultFlags &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_HUNG_ON); gSpecialStatuses[gBattlerTarget].sturdied = FALSE; // Delete this line to make Sturdy last for the duration of the whole move turn. BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_SturdiedMsg; return; } - else if (gMoveResultFlags & MOVE_RESULT_FOE_HUNG_ON) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FOE_HUNG_ON) { gLastUsedItem = gBattleMons[gBattlerTarget].item; gPotentialItemEffectBattler = gBattlerTarget; - gMoveResultFlags &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_HUNG_ON); gSpecialStatuses[gBattlerTarget].focusBanded = FALSE; // Delete this line to make Focus Band last for the duration of the whole move turn. gSpecialStatuses[gBattlerTarget].focusSashed = FALSE; // Delete this line to make Focus Sash last for the duration of the whole move turn. BattleScriptPushCursor(); @@ -2323,27 +2367,165 @@ static void Cmd_multihitresultmessage(void) } } gBattlescriptCurrInstr = cmd->nextInstr; +} - // Print berry reducing message after result message. - if (gSpecialStatuses[gBattlerTarget].berryReduced - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) +static inline bool32 DoesBattlerNegateDamage(u32 battler) +{ + u32 species = gBattleMons[battler].species; + u32 ability = GetBattlerAbility(battler); + + if (gBattleMons[battler].status2 & STATUS2_TRANSFORMED) + return FALSE; + if (ability == ABILITY_DISGUISE && species == SPECIES_MIMIKYU) + return TRUE; + if (ability == ABILITY_ICE_FACE && species == SPECIES_EISCUE && GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_SPECIAL) + return TRUE; + + return FALSE; +} + +static u32 UpdateEffectivenessResultFlagsForDoubleSpreadMoves(u32 resultFlags) +{ + // Only play the "best" sound + for (u32 sound = 0; sound < 3; sound++) + { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if ((gBattleStruct->moveResultFlags[battlerDef] & (MOVE_RESULT_MISSED | MOVE_RESULT_NO_EFFECT) + || gBattleStruct->noResultString[battlerDef])) + continue; + + switch (sound) + { + case 0: + if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_SUPER_EFFECTIVE + && !DoesBattlerNegateDamage(battlerDef)) + return gBattleStruct->moveResultFlags[battlerDef]; + break; + case 1: + if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NOT_VERY_EFFECTIVE + && !DoesBattlerNegateDamage(battlerDef)) + return gBattleStruct->moveResultFlags[battlerDef]; + break; + case 2: + if (DoesBattlerNegateDamage(battlerDef)) + return 0; //Normal effectiveness + return gBattleStruct->moveResultFlags[battlerDef]; + } + } + } + + return resultFlags; +} + +static inline bool32 TryStrongWindsWeakenAttack(u32 battlerDef) +{ + if (gBattleWeather & B_WEATHER_STRONG_WINDS && WEATHER_HAS_EFFECT) { - gBattleStruct->ateBerry[gBattlerTarget & BIT_SIDE] |= 1u << gBattlerPartyIndexes[gBattlerTarget]; - gSpecialStatuses[gBattlerTarget].berryReduced = FALSE; - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_PrintBerryReduceString; + if (gMovesInfo[gCurrentMove].category != DAMAGE_CATEGORY_STATUS + && IS_BATTLER_OF_TYPE(battlerDef, TYPE_FLYING) + && gTypeEffectivenessTable[GetMoveType(gCurrentMove)][TYPE_FLYING] >= UQ_4_12(2.0) + && !gBattleStruct->printedStrongWindsWeakenedAttack) + { + gBattleStruct->printedStrongWindsWeakenedAttack = TRUE; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_AttackWeakenedByStrongWinds; + return TRUE; + } } + + return FALSE; +} + +static inline bool32 TryTeraShellDistortTypeMatchups(u32 battlerDef) +{ + if (gSpecialStatuses[battlerDef].teraShellAbilityDone) + { + gSpecialStatuses[battlerDef].teraShellAbilityDone = FALSE; + gBattleScripting.battler = battlerDef; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_TeraShellDistortingTypeMatchups; + return TRUE; + } + return FALSE; +} + +// According to Gen5 Weakness berry activation happens after the attackanimation. +// It doesn't have any impact on gameplay and is only a visual thing which can be adjusted later. +static inline bool32 TryActivateWeakenessBerry(u32 battlerDef) +{ + if (gSpecialStatuses[battlerDef].berryReduced && gBattleMons[battlerDef].item != ITEM_NONE) + { + gSpecialStatuses[battlerDef].berryReduced = FALSE; + gBattleScripting.battler = battlerDef; + gLastUsedItem = gBattleMons[battlerDef].item; + gBattleStruct->ateBerry[battlerDef & BIT_SIDE] |= 1u << gBattlerPartyIndexes[battlerDef]; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_BerryReduceDmg; + return TRUE; + } + + return FALSE; +} + +static bool32 ProcessPreAttackAnimationFuncs(void) +{ + if (IsDoubleSpreadMove()) + { + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + if (!gBattleStruct->printedStrongWindsWeakenedAttack) + { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || (battlerDef == BATTLE_PARTNER(gBattlerAttacker) && !(moveTarget & MOVE_TARGET_FOES_AND_ALLY)) + || (gBattleStruct->noResultString[battlerDef] && gBattleStruct->noResultString[battlerDef] != DO_ACCURACY_CHECK)) + continue; + + if (TryStrongWindsWeakenAttack(battlerDef)) + return TRUE; + } + } + + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || (battlerDef == BATTLE_PARTNER(gBattlerAttacker) && !(moveTarget & MOVE_TARGET_FOES_AND_ALLY)) + || (gBattleStruct->noResultString[battlerDef] && gBattleStruct->noResultString[battlerDef] != DO_ACCURACY_CHECK)) + continue; + + if (TryTeraShellDistortTypeMatchups(battlerDef)) + return TRUE; + if (TryActivateWeakenessBerry(battlerDef)) + return TRUE; + } + } + else + { + if (TryStrongWindsWeakenAttack(gBattlerTarget)) + return TRUE; + if (TryTeraShellDistortTypeMatchups(gBattlerTarget)) + return TRUE; + if (TryActivateWeakenessBerry(gBattlerTarget)) + return TRUE; + } + + return FALSE; } static void Cmd_attackanimation(void) { CMD_ARGS(); - u16 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); - - if (gBattleControllerExecFlags) + if (gBattleControllerExecFlags || ProcessPreAttackAnimationFuncs()) return; + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + u32 moveResultFlags = gBattleStruct->moveResultFlags[gBattlerTarget]; + + if (IsDoubleSpreadMove()) + moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); + if ((gHitMarker & (HITMARKER_NO_ANIMATIONS | HITMARKER_DISABLE_ANIMATION)) && gCurrentMove != MOVE_TRANSFORM && gCurrentMove != MOVE_SUBSTITUTE @@ -2372,15 +2554,14 @@ static void Cmd_attackanimation(void) gBattlescriptCurrInstr = cmd->nextInstr; return; } - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (!(moveResultFlags & MOVE_RESULT_NO_EFFECT)) { - u8 multihit; - + u32 multihit; if (gBattleMons[gBattlerTarget].status2 & STATUS2_SUBSTITUTE) multihit = gMultiHitCounter; else if (gMultiHitCounter != 0 && gMultiHitCounter != 1) { - if (gBattleMons[gBattlerTarget].hp <= gBattleMoveDamage) + if (gBattleMons[gBattlerTarget].hp <= gBattleStruct->calculatedDamage[gBattlerTarget]) multihit = 1; else multihit = gMultiHitCounter; @@ -2388,7 +2569,15 @@ static void Cmd_attackanimation(void) else multihit = gMultiHitCounter; - BtlController_EmitMoveAnimation(gBattlerAttacker, BUFFER_A, gCurrentMove, gBattleScripting.animTurn, gBattleMovePower, gBattleMoveDamage, gBattleMons[gBattlerAttacker].friendship, &gDisableStructs[gBattlerAttacker], multihit); + BtlController_EmitMoveAnimation(gBattlerAttacker, + BUFFER_A, + gCurrentMove, + gBattleScripting.animTurn, + gBattleMovePower, + gBattleStruct->calculatedDamage[gBattlerTarget], + gBattleMons[gBattlerAttacker].friendship, + &gDisableStructs[gBattlerAttacker], + multihit); gBattleScripting.animTurn++; gBattleScripting.animTargetsHit++; MarkBattlerForControllerExec(gBattlerAttacker); @@ -2410,32 +2599,71 @@ static void Cmd_waitanimation(void) gBattlescriptCurrInstr = cmd->nextInstr; } +static void DoublesHPBarReduction(void) +{ + if (gBattleStruct->doneDoublesSpreadHit + || gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE)) + return; + + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT + || gBattleStruct->calculatedDamage[battlerDef] == 0 + || gBattleStruct->noResultString[battlerDef] + || DoesSubstituteBlockMove(gBattlerAttacker, battlerDef, gCurrentMove) + || DoesDisguiseBlockMove(battlerDef, gCurrentMove)) + continue; + + s32 currDmg = gBattleStruct->calculatedDamage[battlerDef]; + s32 healthValue = min(currDmg, 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign + BtlController_EmitHealthBarUpdate(battlerDef, BUFFER_A, healthValue); + MarkBattlerForControllerExec(battlerDef); + + if (GetBattlerSide(battlerDef) == B_SIDE_PLAYER && currDmg > 0) + gBattleResults.playerMonWasDamaged = TRUE; + } + + gBattleStruct->doneDoublesSpreadHit = TRUE; +} + static void Cmd_healthbarupdate(void) { CMD_ARGS(u8 battler); + u32 battler = GetBattlerForBattleScript(cmd->battler); if (gBattleControllerExecFlags) return; - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) || (gHitMarker & HITMARKER_PASSIVE_DAMAGE)) + if (MoveResultHasEffect(battler) || (gHitMarker & HITMARKER_PASSIVE_DAMAGE)) { - u32 battler = GetBattlerForBattleScript(cmd->battler); - if (DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) && gDisableStructs[battler].substituteHP && !(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE)) { PrepareStringBattle(STRINGID_SUBSTITUTEDAMAGED, battler); + if (IsDoubleSpreadMove()) + DoublesHPBarReduction(); } else if (!DoesDisguiseBlockMove(battler, gCurrentMove)) { - s16 healthValue = min(gBattleMoveDamage, 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign + if (IsDoubleSpreadMove()) + { + DoublesHPBarReduction(); + } + else + { + s16 healthValue = min(gBattleStruct->calculatedDamage[battler], 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign - BtlController_EmitHealthBarUpdate(battler, BUFFER_A, healthValue); - MarkBattlerForControllerExec(battler); + BtlController_EmitHealthBarUpdate(battler, BUFFER_A, healthValue); + MarkBattlerForControllerExec(battler); - if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleMoveDamage > 0) - gBattleResults.playerMonWasDamaged = TRUE; + if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->calculatedDamage[battler] > 0) + gBattleResults.playerMonWasDamaged = TRUE; + } } } + else if (IsDoubleSpreadMove()) + { + DoublesHPBarReduction(); + } gBattlescriptCurrInstr = cmd->nextInstr; } @@ -2445,22 +2673,21 @@ static void Cmd_datahpupdate(void) { CMD_ARGS(u8 battler); - u32 battler; - if (gBattleControllerExecFlags) return; - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) || (gHitMarker & HITMARKER_PASSIVE_DAMAGE)) + u32 battler = GetBattlerForBattleScript(cmd->battler); + + if (MoveResultHasEffect(battler) || (gHitMarker & HITMARKER_PASSIVE_DAMAGE)) { - battler = GetBattlerForBattleScript(cmd->battler); if (DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) && gDisableStructs[battler].substituteHP && !(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE)) { - if (gDisableStructs[battler].substituteHP >= gBattleMoveDamage) + if (gDisableStructs[battler].substituteHP >= gBattleStruct->calculatedDamage[battler]) { if (gSpecialStatuses[battler].shellBellDmg == 0) - gSpecialStatuses[battler].shellBellDmg = gBattleMoveDamage; - gDisableStructs[battler].substituteHP -= gBattleMoveDamage; - gHpDealt = gBattleMoveDamage; + gSpecialStatuses[battler].shellBellDmg = gBattleStruct->calculatedDamage[battler]; + gDisableStructs[battler].substituteHP -= gBattleStruct->calculatedDamage[battler]; + gHpDealt = gBattleStruct->calculatedDamage[battler]; } else { @@ -2490,7 +2717,7 @@ static void Cmd_datahpupdate(void) else gBattleMons[battler].species = SPECIES_MIMIKYU_BUSTED; if (B_DISGUISE_HP_LOSS >= GEN_8) - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; BattleScriptPush(cmd->nextInstr); gBattlescriptCurrInstr = BattleScript_TargetFormChange; return; @@ -2498,10 +2725,10 @@ static void Cmd_datahpupdate(void) else { gHitMarker &= ~HITMARKER_IGNORE_SUBSTITUTE; - if (gBattleMoveDamage < 0) + if (gBattleStruct->calculatedDamage[battler] < 0) { // Negative damage is HP gain - gBattleMons[battler].hp += -gBattleMoveDamage; + gBattleMons[battler].hp += -gBattleStruct->calculatedDamage[battler]; if (gBattleMons[battler].hp > gBattleMons[battler].maxHP) gBattleMons[battler].hp = gBattleMons[battler].maxHP; } @@ -2513,7 +2740,7 @@ static void Cmd_datahpupdate(void) } else { - gBideDmg[battler] += gBattleMoveDamage; + gBideDmg[battler] += gBattleStruct->calculatedDamage[battler]; if (cmd->battler == BS_TARGET) gBideTarget[battler] = gBattlerAttacker; else @@ -2521,10 +2748,10 @@ static void Cmd_datahpupdate(void) } // Deal damage to the battler - if (gBattleMons[battler].hp > gBattleMoveDamage) + if (gBattleMons[battler].hp > gBattleStruct->calculatedDamage[battler]) { - gBattleMons[battler].hp -= gBattleMoveDamage; - gHpDealt = gBattleMoveDamage; + gBattleMons[battler].hp -= gBattleStruct->calculatedDamage[battler]; + gHpDealt = gBattleStruct->calculatedDamage[battler]; } else { @@ -2572,7 +2799,6 @@ static void Cmd_datahpupdate(void) } } gHitMarker &= ~HITMARKER_PASSIVE_DAMAGE; - // Send updated HP BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_HP_BATTLE, 0, sizeof(gBattleMons[battler].hp), &gBattleMons[battler].hp); MarkBattlerForControllerExec(battler); @@ -2594,7 +2820,7 @@ static void Cmd_critmessage(void) if (gBattleControllerExecFlags == 0) { - if (gIsCriticalHit == TRUE && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (gSpecialStatuses[gBattlerTarget].criticalHit && MoveResultHasEffect(gBattlerTarget)) { PrepareStringBattle(STRINGID_CRITICALHIT, gBattlerAttacker); @@ -2615,9 +2841,25 @@ static void Cmd_effectivenesssound(void) if (gBattleControllerExecFlags) return; - if (!(gMoveResultFlags & MOVE_RESULT_MISSED)) + u32 moveResultFlags = gBattleStruct->moveResultFlags[gBattlerTarget]; + + if (IsDoubleSpreadMove()) + { + if (gBattleStruct->doneDoublesSpreadHit + || !gBattleStruct->calculatedDamageDone //The attack animation didn't play yet - only play sound after animation + || GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_STATUS) //To handle Dark Void missing basically + { + gBattlescriptCurrInstr = cmd->nextInstr; + return; + } + moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); + } + else if (MoveResultHasEffect(gBattlerTarget) && DoesBattlerNegateDamage(gBattlerTarget)) + moveResultFlags = 0; + + if (!(moveResultFlags & MOVE_RESULT_MISSED)) { - switch (gMoveResultFlags & ~MOVE_RESULT_MISSED) + switch (moveResultFlags & ~MOVE_RESULT_MISSED) { case MOVE_RESULT_SUPER_EFFECTIVE: BtlController_EmitPlaySE(gBattlerTarget, BUFFER_A, SE_SUPER_EFFECTIVE); @@ -2636,17 +2878,17 @@ static void Cmd_effectivenesssound(void) case MOVE_RESULT_FOE_HUNG_ON: case MOVE_RESULT_STURDIED: default: - if (gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) + if (moveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) { BtlController_EmitPlaySE(gBattlerTarget, BUFFER_A, SE_SUPER_EFFECTIVE); MarkBattlerForControllerExec(gBattlerTarget); } - else if (gMoveResultFlags & MOVE_RESULT_NOT_VERY_EFFECTIVE) + else if (moveResultFlags & MOVE_RESULT_NOT_VERY_EFFECTIVE) { BtlController_EmitPlaySE(gBattlerTarget, BUFFER_A, SE_NOT_EFFECTIVE); MarkBattlerForControllerExec(gBattlerTarget); } - else if (!(gMoveResultFlags & (MOVE_RESULT_DOESNT_AFFECT_FOE | MOVE_RESULT_FAILED))) + else if (!(moveResultFlags & (MOVE_RESULT_DOESNT_AFFECT_FOE | MOVE_RESULT_FAILED))) { BtlController_EmitPlaySE(gBattlerTarget, BUFFER_A, SE_EFFECTIVE); MarkBattlerForControllerExec(gBattlerTarget); @@ -2657,6 +2899,21 @@ static void Cmd_effectivenesssound(void) gBattlescriptCurrInstr = cmd->nextInstr; } +static inline bool32 ShouldPrintTwoFoesMessage(u32 moveResult) +{ + return gBattlerTarget == BATTLE_OPPOSITE(gBattlerAttacker) + && gBattleStruct->moveResultFlags[BATTLE_PARTNER(gBattlerTarget)] & moveResult + && !gBattleStruct->noResultString[BATTLE_PARTNER(gBattlerTarget)]; +} + +static inline bool32 ShouldRelyOnTwoFoesMessage(u32 moveResult) +{ + return gBattlerTarget == BATTLE_PARTNER(BATTLE_OPPOSITE(gBattlerAttacker)) + && gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & moveResult + && !(gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & MOVE_RESULT_MISSED && gBattleStruct->missStringId[BATTLE_OPPOSITE(gBattlerAttacker)] > B_MSG_AVOIDED_ATK) + && !gBattleStruct->noResultString[BATTLE_OPPOSITE(gBattlerAttacker)]; +} + static void Cmd_resultmessage(void) { CMD_ARGS(); @@ -2678,31 +2935,53 @@ static void Cmd_resultmessage(void) return; } - if (gMoveResultFlags & MOVE_RESULT_MISSED && (!(gMoveResultFlags & MOVE_RESULT_DOESNT_AFFECT_FOE) || gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK)) + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_MISSED + && (!(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_DOESNT_AFFECT_FOE) || gBattleStruct->missStringId[gBattlerTarget] > 2)) { - if (gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK) // Wonder Guard or Levitate - show the ability pop-up + if (gBattleStruct->missStringId[gBattlerTarget] > B_MSG_AVOIDED_ATK) // Wonder Guard or Levitate - show the ability pop-up CreateAbilityPopUp(gBattlerTarget, gBattleMons[gBattlerTarget].ability, (IsDoubleBattle()) != 0); - stringId = gMissStringIds[gBattleCommunication[MISS_TYPE]]; gBattleCommunication[MSG_DISPLAY] = 1; + stringId = gMissStringIds[gBattleStruct->missStringId[gBattlerTarget]]; } else { gBattleCommunication[MSG_DISPLAY] = 1; - switch (gMoveResultFlags & ~MOVE_RESULT_MISSED) + switch (gBattleStruct->moveResultFlags[gBattlerTarget] & ~MOVE_RESULT_MISSED) { case MOVE_RESULT_SUPER_EFFECTIVE: - if (!gMultiHitCounter) // Don't print effectiveness on each hit in a multi hit attack + if (IsDoubleSpreadMove()) + { + if (ShouldPrintTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) + stringId = STRINGID_SUPEREFFECTIVETWOFOES; + else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) + stringId = 0; // Was handled or will be handled as a double string + else + stringId = STRINGID_SUPEREFFECTIVE; + } + else if (!gMultiHitCounter) // Don't print effectiveness on each hit in a multi hit attack + { + stringId = STRINGID_SUPEREFFECTIVE; + } + if (stringId) // Signal for the trainer slide-in system { - // Signal for the trainer slide-in system. if (GetBattlerSide(gBattlerTarget) != B_SIDE_PLAYER && gBattleStruct->trainerSlideFirstSuperEffectiveHitMsgState != 2) gBattleStruct->trainerSlideFirstSuperEffectiveHitMsgState = 1; - - stringId = STRINGID_SUPEREFFECTIVE; } break; case MOVE_RESULT_NOT_VERY_EFFECTIVE: - if (!gMultiHitCounter) + if (IsDoubleSpreadMove()) + { + if (ShouldPrintTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) + stringId = STRINGID_NOTVERYEFFECTIVETWOFOES; + else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) + stringId = 0; // Was handled or will be handled as a double string + else + stringId = STRINGID_NOTVERYEFFECTIVE; // Needs a string + } + else if (!gMultiHitCounter) + { stringId = STRINGID_NOTVERYEFFECTIVE; + } break; case MOVE_RESULT_ONE_HIT_KO: stringId = STRINGID_ONEHITKO; @@ -2714,86 +2993,85 @@ static void Cmd_resultmessage(void) stringId = STRINGID_BUTITFAILED; break; case MOVE_RESULT_DOESNT_AFFECT_FOE: - stringId = STRINGID_ITDOESNTAFFECT; + if (IsDoubleSpreadMove()) + { + if (ShouldPrintTwoFoesMessage(MOVE_RESULT_DOESNT_AFFECT_FOE)) + { + stringId = STRINGID_ITDOESNTAFFECTTWOFOES; + } + else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_DOESNT_AFFECT_FOE)) + { + stringId = 0; // Was handled or will be handled as a double string + } + else + stringId = STRINGID_ITDOESNTAFFECT; + } + else + { + stringId = STRINGID_ITDOESNTAFFECT; + } break; case MOVE_RESULT_FOE_HUNG_ON: gLastUsedItem = gBattleMons[gBattlerTarget].item; gPotentialItemEffectBattler = gBattlerTarget; - gMoveResultFlags &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_HangedOnMsg; return; default: - if (gMoveResultFlags & MOVE_RESULT_DOESNT_AFFECT_FOE) + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_ONE_HIT_KO) { - stringId = STRINGID_ITDOESNTAFFECT; - } - else if (gMoveResultFlags & MOVE_RESULT_ONE_HIT_KO) - { - gMoveResultFlags &= ~MOVE_RESULT_ONE_HIT_KO; - gMoveResultFlags &= ~MOVE_RESULT_SUPER_EFFECTIVE; - gMoveResultFlags &= ~MOVE_RESULT_NOT_VERY_EFFECTIVE; + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~MOVE_RESULT_ONE_HIT_KO; + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~MOVE_RESULT_SUPER_EFFECTIVE; + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~MOVE_RESULT_NOT_VERY_EFFECTIVE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_OneHitKOMsg; return; } - else if (gMoveResultFlags & MOVE_RESULT_STURDIED) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_STURDIED) { - gMoveResultFlags &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_STURDIED | MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); gSpecialStatuses[gBattlerTarget].sturdied = FALSE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_SturdiedMsg; return; } - else if (gMoveResultFlags & MOVE_RESULT_FOE_ENDURED) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FOE_ENDURED) { - gMoveResultFlags &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_EnduredMsg; return; } - else if (gMoveResultFlags & MOVE_RESULT_FOE_HUNG_ON) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FOE_HUNG_ON) { gLastUsedItem = gBattleMons[gBattlerTarget].item; gPotentialItemEffectBattler = gBattlerTarget; - gMoveResultFlags &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(MOVE_RESULT_FOE_ENDURED | MOVE_RESULT_FOE_HUNG_ON); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_HangedOnMsg; return; } - else if (gMoveResultFlags & MOVE_RESULT_FAILED) + else if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FAILED) { stringId = STRINGID_BUTITFAILED; } - else if (B_AFFECTION_MECHANICS == TRUE && (gMoveResultFlags & MOVE_RESULT_FOE_ENDURED_AFFECTION)) + else if (B_AFFECTION_MECHANICS == TRUE && (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FOE_ENDURED_AFFECTION)) { gSpecialStatuses[gBattlerTarget].affectionEndured = FALSE; - gMoveResultFlags &= ~MOVE_RESULT_FOE_ENDURED_AFFECTION; + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~MOVE_RESULT_FOE_ENDURED_AFFECTION; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AffectionBasedEndurance; return; } - else - { - gBattleCommunication[MSG_DISPLAY] = 0; - } } } - if (stringId) PrepareStringBattle(stringId, gBattlerAttacker); + else + gBattleCommunication[MSG_DISPLAY] = 0; gBattlescriptCurrInstr = cmd->nextInstr; - - // Print berry reducing message after result message. - if (gSpecialStatuses[gBattlerTarget].berryReduced - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) - { - gBattleStruct->ateBerry[gBattlerTarget & BIT_SIDE] |= 1u << gBattlerPartyIndexes[gBattlerTarget]; - gSpecialStatuses[gBattlerTarget].berryReduced = FALSE; - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_PrintBerryReduceString; - } } static void Cmd_printstring(void) @@ -3230,7 +3508,7 @@ void SetMoveEffect(bool32 primary, bool32 certain) } else { - gMoveResultFlags |= MOVE_RESULT_DOESNT_AFFECT_FOE; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_DOESNT_AFFECT_FOE; } break; case STATUS1_FROSTBITE: @@ -3389,8 +3667,7 @@ void SetMoveEffect(bool32 primary, bool32 certain) // For a move that hits multiple targets (i.e. Make it Rain) // we only want to print the message on the final hit - if (!((moveTarget == MOVE_TARGET_BOTH || moveTarget == MOVE_TARGET_FOES_AND_ALLY) - && GetNextTarget(moveTarget, TRUE) != MAX_BATTLERS_COUNT)) + if (!(IsSpreadMove(moveTarget) && GetNextTarget(moveTarget, TRUE) != MAX_BATTLERS_COUNT)) { BattleScriptPush(gBattlescriptCurrInstr + 1); gBattlescriptCurrInstr = BattleScript_MoveEffectPayDay; @@ -3634,11 +3911,11 @@ void SetMoveEffect(bool32 primary, bool32 certain) } break; case MOVE_EFFECT_RECOIL_HP_25: // Struggle - gBattleMoveDamage = (gBattleMons[gEffectBattler].maxHP) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gEffectBattler] = (gBattleMons[gEffectBattler].maxHP) / 4; + if (gBattleStruct->calculatedDamage[gEffectBattler] == 0) + gBattleStruct->calculatedDamage[gEffectBattler] = 1; if (GetBattlerAbility(gEffectBattler) == ABILITY_PARENTAL_BOND) - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[gEffectBattler] *= 2; BattleScriptPush(gBattlescriptCurrInstr + 1); gBattlescriptCurrInstr = BattleScript_MoveEffectRecoil; @@ -3672,13 +3949,14 @@ void SetMoveEffect(bool32 primary, bool32 certain) break; case MOVE_EFFECT_FLAME_BURST: if (IsBattlerAlive(BATTLE_PARTNER(gBattlerTarget)) - && !(gStatuses3[BATTLE_PARTNER(gBattlerTarget)] & STATUS3_SEMI_INVULNERABLE) - && GetBattlerAbility(BATTLE_PARTNER(gBattlerTarget)) != ABILITY_MAGIC_GUARD) + && !(gStatuses3[BATTLE_PARTNER(gBattlerTarget)] & STATUS3_SEMI_INVULNERABLE) + && GetBattlerAbility(BATTLE_PARTNER(gBattlerTarget)) != ABILITY_MAGIC_GUARD) { - gBattleScripting.savedBattler = BATTLE_PARTNER(gBattlerTarget); - gBattleMoveDamage = gBattleMons[BATTLE_PARTNER(gBattlerTarget)].maxHP / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + i = BATTLE_PARTNER(gBattlerTarget); + gBattleScripting.savedBattler = i; + gBattleStruct->calculatedDamage[i] = gBattleMons[i].maxHP / 16; + if (gBattleStruct->calculatedDamage[i] == 0) + gBattleStruct->calculatedDamage[i] = 1; gBattlescriptCurrInstr = BattleScript_MoveEffectFlameBurst; } break; @@ -4029,11 +4307,12 @@ void SetMoveEffect(bool32 primary, bool32 certain) static bool32 CanApplyAdditionalEffect(const struct AdditionalEffect *additionalEffect) { + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + // Self-targeting move effects only apply after the last mon has been hit - u16 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); if (additionalEffect->self - && (moveTarget == MOVE_TARGET_BOTH || moveTarget == MOVE_TARGET_FOES_AND_ALLY) - && GetNextTarget(moveTarget, TRUE) != MAX_BATTLERS_COUNT) + && IsSpreadMove(moveTarget) + && GetNextTarget(moveTarget, TRUE) != MAX_BATTLERS_COUNT) return FALSE; // Certain move effects only apply if the target raised stats this turn (e.g. Burning Jealousy) @@ -4051,7 +4330,7 @@ static void Cmd_setadditionaleffects(void) { CMD_ARGS(); - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (MoveResultHasEffect(gBattlerTarget)) { if (gMovesInfo[gCurrentMove].numAdditionalEffects > gBattleStruct->additionalEffectsCounter) { @@ -4193,7 +4472,7 @@ static void Cmd_tryfaintmon(void) { gHitMarker &= ~HITMARKER_DESTINYBOND; BattleScriptPush(gBattlescriptCurrInstr); - gBattleMoveDamage = gBattleMons[destinyBondBattler].hp; + gBattleStruct->calculatedDamage[destinyBondBattler] = gBattleMons[destinyBondBattler].hp; gBattlescriptCurrInstr = BattleScript_DestinyBondTakesLife; } if ((gStatuses3[gBattlerTarget] & STATUS3_GRUDGE) @@ -4559,13 +4838,13 @@ static void Cmd_getexp(void) || GetMonData(&gPlayerParty[*expMonId], MON_DATA_SPECIES_OR_EGG) == SPECIES_EGG) { gBattleScripting.getexpState = 5; - gBattleMoveDamage = 0; // used for exp + gBattleStruct->battlerExpReward = 0; } else if ((gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER && *expMonId >= 3) || GetMonData(&gPlayerParty[*expMonId], MON_DATA_LEVEL) == MAX_LEVEL) { gBattleScripting.getexpState = 5; - gBattleMoveDamage = 0; // used for exp + gBattleStruct->battlerExpReward = 0; if (B_MAX_LEVEL_EV_GAINS >= GEN_5) MonGainEVs(&gPlayerParty[*expMonId], gBattleMons[gBattlerFainted].species); } @@ -4586,28 +4865,28 @@ static void Cmd_getexp(void) if (IsValidForBattle(&gPlayerParty[*expMonId])) { if (wasSentOut) - gBattleMoveDamage = GetSoftLevelCapExpValue(gPlayerParty[*expMonId].level, gBattleStruct->expValue); + gBattleStruct->battlerExpReward = GetSoftLevelCapExpValue(gPlayerParty[*expMonId].level, gBattleStruct->expValue); else - gBattleMoveDamage = 0; + gBattleStruct->battlerExpReward = 0; if ((holdEffect == HOLD_EFFECT_EXP_SHARE || IsGen6ExpShareEnabled()) - && (B_SPLIT_EXP < GEN_6 || gBattleMoveDamage == 0)) // only give exp share bonus in later gens if the mon wasn't sent out + && (B_SPLIT_EXP < GEN_6 || gBattleStruct->battlerExpReward == 0)) // only give exp share bonus in later gens if the mon wasn't sent out { - gBattleMoveDamage += GetSoftLevelCapExpValue(gPlayerParty[*expMonId].level, gBattleStruct->expShareExpValue);; + gBattleStruct->battlerExpReward += GetSoftLevelCapExpValue(gPlayerParty[*expMonId].level, gBattleStruct->expShareExpValue);; } - ApplyExperienceMultipliers(&gBattleMoveDamage, *expMonId, gBattlerFainted); + ApplyExperienceMultipliers(&gBattleStruct->battlerExpReward, *expMonId, gBattlerFainted); - if (B_EXP_CAP_TYPE == EXP_CAP_HARD && gBattleMoveDamage != 0) + if (B_EXP_CAP_TYPE == EXP_CAP_HARD && gBattleStruct->battlerExpReward != 0) { u32 growthRate = gSpeciesInfo[GetMonData(&gPlayerParty[*expMonId], MON_DATA_SPECIES)].growthRate; u32 currentExp = GetMonData(&gPlayerParty[*expMonId], MON_DATA_EXP); u32 levelCap = GetCurrentLevelCap(); if (GetMonData(&gPlayerParty[*expMonId], MON_DATA_LEVEL) >= levelCap) - gBattleMoveDamage = 0; - else if (gExperienceTables[growthRate][levelCap] < currentExp + gBattleMoveDamage) - gBattleMoveDamage = gExperienceTables[growthRate][levelCap] - currentExp; + gBattleStruct->battlerExpReward = 0; + else if (gExperienceTables[growthRate][levelCap] < currentExp + gBattleStruct->battlerExpReward) + gBattleStruct->battlerExpReward = gExperienceTables[growthRate][levelCap] - currentExp; } if (IsTradedMon(&gPlayerParty[*expMonId])) @@ -4644,7 +4923,7 @@ static void Cmd_getexp(void) PREPARE_MON_NICK_WITH_PREFIX_BUFFER(gBattleTextBuff1, gBattleStruct->expGetterBattlerId, *expMonId); // buffer 'gained' or 'gained a boosted' PREPARE_STRING_BUFFER(gBattleTextBuff2, i); - PREPARE_WORD_NUMBER_BUFFER(gBattleTextBuff3, 6, gBattleMoveDamage); + PREPARE_WORD_NUMBER_BUFFER(gBattleTextBuff3, 6, gBattleStruct->battlerExpReward); if (wasSentOut || holdEffect == HOLD_EFFECT_EXP_SHARE) { @@ -4676,7 +4955,7 @@ static void Cmd_getexp(void) gBattleResources->beforeLvlUp->stats[STAT_SPATK] = GetMonData(&gPlayerParty[*expMonId], MON_DATA_SPATK); gBattleResources->beforeLvlUp->stats[STAT_SPDEF] = GetMonData(&gPlayerParty[*expMonId], MON_DATA_SPDEF); - BtlController_EmitExpUpdate(gBattleStruct->expGetterBattlerId, BUFFER_A, *expMonId, gBattleMoveDamage); + BtlController_EmitExpUpdate(gBattleStruct->expGetterBattlerId, BUFFER_A, *expMonId, gBattleStruct->battlerExpReward); MarkBattlerForControllerExec(gBattleStruct->expGetterBattlerId); } gBattleScripting.getexpState++; @@ -4698,7 +4977,7 @@ static void Cmd_getexp(void) BattleScriptPushCursor(); gLeveledUpInBattle |= 1 << *expMonId; gBattlescriptCurrInstr = BattleScript_LevelUp; - gBattleMoveDamage = T1_READ_32(&gBattleResources->bufferB[expBattler][2]); + gBattleStruct->battlerExpReward = T1_READ_32(&gBattleResources->bufferB[expBattler][2]); AdjustFriendship(&gPlayerParty[*expMonId], FRIENDSHIP_EVENT_GROW_LEVEL); // update battle mon structure after level up @@ -4718,13 +4997,13 @@ static void Cmd_getexp(void) } else { - gBattleMoveDamage = 0; + gBattleStruct->battlerExpReward = 0; gBattleScripting.getexpState = 5; } } break; case 5: // looper increment - if (gBattleMoveDamage) // there is exp to give, goto case 3 that gives exp + if (gBattleStruct->battlerExpReward) // there is exp to give, goto case 3 that gives exp { gBattleScripting.getexpState = 3; } @@ -4862,8 +5141,6 @@ static void Cmd_checkteamslost(void) static void MoveValuesCleanUp(void) { - gMoveResultFlags = 0; - gIsCriticalHit = FALSE; gBattleScripting.moveEffect = 0; gBattleCommunication[MISS_TYPE] = 0; if (!gMultiHitCounter) @@ -5216,18 +5493,20 @@ static void Cmd_waitstate(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_healthbar_update(void) +static void Cmd_healthbarupdate_nonmovedamage(void) { CMD_ARGS(u8 battler); - u32 battler; - if (cmd->battler == BS_TARGET) - battler = gBattlerTarget; - else - battler = gBattlerAttacker; + if (gBattleControllerExecFlags) + return; - BtlController_EmitHealthBarUpdate(battler, BUFFER_A, gBattleMoveDamage); + u32 battler = GetBattlerForBattleScript(cmd->battler); + BtlController_EmitHealthBarUpdate(battler, BUFFER_A, gBattleStruct->calculatedDamage[battler]); MarkBattlerForControllerExec(battler); + + if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->calculatedDamage[battler] > 0) + gBattleResults.playerMonWasDamaged = TRUE; + gBattlescriptCurrInstr = cmd->nextInstr; } @@ -5243,7 +5522,6 @@ static void Cmd_end(void) if (gBattleTypeFlags & BATTLE_TYPE_ARENA) BattleArena_AddSkillPoints(gBattlerAttacker); - gMoveResultFlags = 0; gCurrentActionFuncId = B_ACTION_TRY_FINISH; } @@ -5634,9 +5912,9 @@ static void Cmd_moveend(void) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { gProtectStructs[gBattlerAttacker].touchedProtectLike = FALSE; - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_SPIKY_SHIELD); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_SpikyShieldEffect; @@ -5699,7 +5977,7 @@ static void Cmd_moveend(void) // Not strictly a protect effect, but works the same way else if (gProtectStructs[gBattlerTarget].beakBlastCharge && CanBeBurned(gBattlerAttacker, GetBattlerAbility(gBattlerAttacker)) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + && MoveResultHasEffect(gBattlerTarget)) { gProtectStructs[gBattlerAttacker].touchedProtectLike = FALSE; gBattleMons[gBattlerAttacker].status1 = STATUS1_BURN; @@ -5720,15 +5998,16 @@ static void Cmd_moveend(void) gBattleScripting.moveendState++; break; } - else if (IsBattlerAlive(gBattlerAttacker) && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + else if (IsBattlerAlive(gBattlerAttacker) && MoveResultHasEffect(gBattlerTarget)) { - gBattleMoveDamage = max(1, (gHpDealt * gMovesInfo[gCurrentMove].argument / 100)); - gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); + gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, (gBattleStruct->calculatedDamage[gBattlerTarget] * gMovesInfo[gCurrentMove].argument / 100)); + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE; effect = TRUE; if (GetBattlerAbility(gBattlerTarget) == ABILITY_LIQUID_OOZE) { - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; + gHitMarker |= HITMARKER_PASSIVE_DAMAGE; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_ABSORB_OOZE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_EffectAbsorbLiquidOoze; @@ -5748,7 +6027,7 @@ static void Cmd_moveend(void) && IsBattlerAlive(gBattlerTarget) && gBattlerAttacker != gBattlerTarget && GetBattlerSide(gBattlerAttacker) != GetBattlerSide(gBattlerTarget) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && gMovesInfo[gCurrentMove].power != 0 && CompareStat(gBattlerTarget, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN)) @@ -5765,7 +6044,7 @@ static void Cmd_moveend(void) && IsBattlerAlive(gBattlerTarget) && gBattlerAttacker != gBattlerTarget && (moveType == TYPE_FIRE || CanBurnHitThaw(gCurrentMove)) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + && MoveResultHasEffect(gBattlerTarget)) { gBattleMons[gBattlerTarget].status1 &= ~STATUS1_FREEZE; BtlController_EmitSetMonData(gBattlerTarget, BUFFER_A, REQUEST_STATUS_BATTLE, 0, sizeof(gBattleMons[gBattlerTarget].status1), &gBattleMons[gBattlerTarget].status1); @@ -5778,7 +6057,7 @@ static void Cmd_moveend(void) && IsBattlerAlive(gBattlerTarget) && gBattlerAttacker != gBattlerTarget && gMovesInfo[originallyUsedMove].thawsUser - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + && MoveResultHasEffect(gBattlerTarget)) { gBattleMons[gBattlerTarget].status1 &= ~STATUS1_FROSTBITE; BtlController_EmitSetMonData(gBattlerTarget, BUFFER_A, REQUEST_STATUS_BATTLE, 0, sizeof(gBattleMons[gBattlerTarget].status1), &gBattleMons[gBattlerTarget].status1); @@ -5796,18 +6075,18 @@ static void Cmd_moveend(void) break; } else if (gMovesInfo[gCurrentMove].recoil > 0 - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && gBattleScripting.savedDmg != 0) // Some checks may be redundant alongside this one { - gBattleMoveDamage = max(1, gBattleScripting.savedDmg * max(1, gMovesInfo[gCurrentMove].recoil) / 100); + gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, gBattleScripting.savedDmg * max(1, gMovesInfo[gCurrentMove].recoil) / 100); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MoveEffectRecoil; effect = TRUE; } else if (gMovesInfo[gCurrentMove].effect == EFFECT_EXPLOSION && !IsAbilityOnField(ABILITY_DAMP)) { - gBattleMoveDamage = 0; + gBattleStruct->calculatedDamage[gBattlerAttacker] = 0; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_FaintAttackerForExplosion; effect = TRUE; @@ -5815,10 +6094,10 @@ static void Cmd_moveend(void) else if ((gMovesInfo[gCurrentMove].effect == EFFECT_MAX_HP_50_RECOIL || gMovesInfo[gCurrentMove].effect == EFFECT_MIND_BLOWN) && IsBattlerAlive(gBattlerAttacker) - && !(gMoveResultFlags & MOVE_RESULT_FAILED) + && !(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FAILED) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = (GetNonDynamaxMaxHP(gBattlerAttacker) + 1) / 2; // Half of Max HP Rounded UP + gBattleStruct->calculatedDamage[gBattlerAttacker] = (GetNonDynamaxMaxHP(gBattlerAttacker) + 1) / 2; // Half of Max HP Rounded UP BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MaxHp50Recoil; effect = TRUE; @@ -5872,7 +6151,7 @@ static void Cmd_moveend(void) { if ((gMovesInfo[gChosenMove].effect == EFFECT_BATON_PASS || gMovesInfo[gChosenMove].effect == EFFECT_HEALING_WISH) - && !(gMoveResultFlags & MOVE_RESULT_FAILED)) + && !(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FAILED)) { gBattleScripting.moveendState++; break; @@ -5949,6 +6228,7 @@ static void Cmd_moveend(void) MarkBattlerForControllerExec(gBattlerTarget); effect = TRUE; BattleScriptPush(gBattlescriptCurrInstr); + switch (gMovesInfo[gCurrentMove].argument) { case STATUS1_PARALYSIS: @@ -6003,7 +6283,7 @@ static void Cmd_moveend(void) gBattleScripting.moveendState++; break; case MOVEEND_ATTACKER_VISIBLE: // make attacker sprite visible - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT + if (!MoveResultHasEffect(gBattlerTarget) || !(gStatuses3[gBattlerAttacker] & (STATUS3_SEMI_INVULNERABLE)) || WasUnableToUseMove(gBattlerAttacker)) { @@ -6031,7 +6311,7 @@ static void Cmd_moveend(void) case MOVEEND_NUM_HITS: if (gBattlerAttacker != gBattlerTarget && gMovesInfo[gCurrentMove].category != DAMAGE_CATEGORY_STATUS - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED) { gBattleStruct->timesGotHit[GetBattlerSide(gBattlerTarget)][gBattlerPartyIndexes[gBattlerTarget]]++; @@ -6074,7 +6354,7 @@ static void Cmd_moveend(void) gBattleScripting.moveendState++; break; case MOVEEND_UPDATE_LAST_MOVES: - if ((gMoveResultFlags & (MOVE_RESULT_FAILED | MOVE_RESULT_DOESNT_AFFECT_FOE)) + if ((gBattleStruct->moveResultFlags[gBattlerTarget] & (MOVE_RESULT_FAILED | MOVE_RESULT_DOESNT_AFFECT_FOE)) || (gBattleMons[gBattlerAttacker].status2 & (STATUS2_FLINCHED)) || gProtectStructs[gBattlerAttacker].prlzImmobility) gBattleStruct->lastMoveFailed |= 1u << gBattlerAttacker; @@ -6140,7 +6420,7 @@ static void Cmd_moveend(void) if (!(gHitMarker & HITMARKER_FAINTED(gBattlerTarget))) gLastHitBy[gBattlerTarget] = gBattlerAttacker; - if (gHitMarker & HITMARKER_OBEYS && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (gHitMarker & HITMARKER_OBEYS && MoveResultHasEffect(gBattlerTarget)) { if (gChosenMove == MOVE_UNAVAILABLE) { @@ -6166,7 +6446,7 @@ static void Cmd_moveend(void) && gHitMarker & HITMARKER_OBEYS && gBattlerAttacker != gBattlerTarget && !(gHitMarker & HITMARKER_FAINTED(gBattlerTarget)) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + && MoveResultHasEffect(gBattlerTarget)) { gBattleStruct->lastTakenMove[gBattlerTarget] = gChosenMove; gBattleStruct->lastTakenMoveFrom[gBattlerTarget][gBattlerAttacker] = gChosenMove; @@ -6178,7 +6458,7 @@ static void Cmd_moveend(void) u16 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); // Set a flag if move hits either target (for throat spray that can't check damage) if (!(gHitMarker & HITMARKER_UNABLE_TO_USE_MOVE) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + && MoveResultHasEffect(gBattlerTarget)) gProtectStructs[gBattlerAttacker].targetAffected = TRUE; gBattleStruct->targetsDone[gBattlerAttacker] |= 1u << gBattlerTarget; @@ -6239,10 +6519,10 @@ static void Cmd_moveend(void) } case MOVEEND_MULTIHIT_MOVE: { - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) - && !(gHitMarker & HITMARKER_UNABLE_TO_USE_MOVE) - && gMultiHitCounter - && !(gMovesInfo[gCurrentMove].effect == EFFECT_PRESENT && gBattleStruct->presentBasePower == 0)) // Silly edge case + if (MoveResultHasEffect(gBattlerTarget) + && !(gHitMarker & HITMARKER_UNABLE_TO_USE_MOVE) + && gMultiHitCounter + && !(gMovesInfo[gCurrentMove].effect == EFFECT_PRESENT && gBattleStruct->presentBasePower == 0)) // Silly edge case { gMultiHitCounter--; if (!IsBattlerAlive(gBattlerTarget) && gMovesInfo[gCurrentMove].effect != EFFECT_DRAGON_DARTS) @@ -6318,7 +6598,7 @@ static void Cmd_moveend(void) && !gSpecialStatuses[gBattlerAttacker].gemBoost // In base game, gems are consumed after magician would activate. && !(gWishFutureKnock.knockedOffMons[GetBattlerSide(gBattlerTarget)] & (1u << gBattlerPartyIndexes[gBattlerTarget])) && !DoesSubstituteBlockMove(gBattlerAttacker, gBattlerTarget, gCurrentMove) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && (GetBattlerAbility(gBattlerTarget) != ABILITY_STICKY_HOLD || !IsBattlerAlive(gBattlerTarget))) { StealTargetItem(gBattlerAttacker, gBattlerTarget); @@ -6493,7 +6773,7 @@ static void Cmd_moveend(void) && !(gWishFutureKnock.knockedOffMons[GetBattlerSide(gBattlerAttacker)] & (1u << gBattlerPartyIndexes[gBattlerAttacker])) // But not knocked off && !(TestIfSheerForceAffected(gBattlerAttacker, gCurrentMove)) // Pickpocket doesn't activate for sheer force && IsMoveMakingContact(gCurrentMove, gBattlerAttacker) // Pickpocket requires contact - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) // Obviously attack needs to have worked + && MoveResultHasEffect(gBattlerTarget)) // Obviously attack needs to have worked { u8 battlers[4] = {0, 1, 2, 3}; SortBattlersBySpeed(battlers, FALSE); // Pickpocket activates for fastest mon without item @@ -6540,7 +6820,7 @@ static void Cmd_moveend(void) } } - if (!(gMoveResultFlags & (MOVE_RESULT_FAILED | MOVE_RESULT_DOESNT_AFFECT_FOE) + if (!(gBattleStruct->moveResultFlags[gBattlerTarget] & (MOVE_RESULT_FAILED | MOVE_RESULT_DOESNT_AFFECT_FOE) || (gHitMarker & HITMARKER_UNABLE_TO_USE_MOVE && !hasDancerTriggered) || (!gSpecialStatuses[gBattlerAttacker].dancerUsedMove && gBattleStruct->bouncedMoveIsUsed))) { // Dance move succeeds @@ -6561,6 +6841,8 @@ static void Cmd_moveend(void) } if (nextDancer && AbilityBattleEffects(ABILITYEFFECT_MOVE_END_OTHER, nextDancer & 0x3, 0, 0, 0)) effect = TRUE; + + ClearDamageCalcResults(); } } gBattleScripting.moveendState++; @@ -6617,7 +6899,7 @@ static void Cmd_moveend(void) gBattleScripting.moveendState++; break; case MOVEEND_SAME_MOVE_TURNS: - if (gCurrentMove != gLastResultingMoves[gBattlerAttacker] || gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (gCurrentMove != gLastResultingMoves[gBattlerAttacker] || gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NO_EFFECT) gBattleStruct->sameMoveTurns[gBattlerAttacker] = 0; else if (gCurrentMove == gLastResultingMoves[gBattlerAttacker] && gSpecialStatuses[gBattlerAttacker].parentalBondState != PARENTAL_BOND_1ST_HIT) gBattleStruct->sameMoveTurns[gBattlerAttacker]++; @@ -6637,7 +6919,7 @@ static void Cmd_moveend(void) if (B_RAMPAGE_CANCELLING >= GEN_5 && MoveHasAdditionalEffectSelf(gCurrentMove, MOVE_EFFECT_THRASH) // If we're rampaging - && (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) // And it is unusable + && !MoveResultHasEffect(gBattlerTarget) // And it is unusable && (gBattleMons[gBattlerAttacker].status2 & STATUS2_LOCK_CONFUSE) != STATUS2_LOCK_CONFUSE_TURN(1)) // And won't end this turn CancelMultiTurnMoves(gBattlerAttacker); // Cancel it @@ -6687,6 +6969,7 @@ static void Cmd_moveend(void) if (B_CHARGE <= GEN_8 || moveType == TYPE_ELECTRIC) gStatuses3[gBattlerAttacker] &= ~(STATUS3_CHARGED_UP); memset(gQueuedStatBoosts, 0, sizeof(gQueuedStatBoosts)); + ClearDamageCalcResults(); for (i = 0; i < gBattlersCount; i++) { @@ -7401,9 +7684,9 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && IsBattlerGrounded(battler)) { u8 spikesDmg = (5 - gSideTimers[GetBattlerSide(battler)].spikesAmount) * 2; - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (spikesDmg); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (spikesDmg); + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; gDisableStructs[battler].spikesDone = TRUE; SetDmgHazardsBattlescript(battler, B_MSG_PKMNHURTBYSPIKES); @@ -7414,9 +7697,9 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD) { gDisableStructs[battler].stealthRockDone = TRUE; - gBattleMoveDamage = GetStealthHazardDamage(gMovesInfo[MOVE_STEALTH_ROCK].type, battler); + gBattleStruct->calculatedDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_STEALTH_ROCK].type, battler); - if (gBattleMoveDamage != 0) + if (gBattleStruct->calculatedDamage[battler] != 0) SetDmgHazardsBattlescript(battler, B_MSG_STEALTHROCKDMG); } else if (!(gDisableStructs[battler].toxicSpikesDone) @@ -7473,15 +7756,15 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD) { gDisableStructs[battler].steelSurgeDone = TRUE; - gBattleMoveDamage = GetStealthHazardDamage(gMovesInfo[MOVE_G_MAX_STEELSURGE].type, battler); + gBattleStruct->calculatedDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_G_MAX_STEELSURGE].type, battler); - if (gBattleMoveDamage != 0) + if (gBattleStruct->calculatedDamage[battler] != 0) SetDmgHazardsBattlescript(battler, B_MSG_SHARPSTEELDMG); } else if (gBattleMons[battler].hp != gBattleMons[battler].maxHP && gBattleStruct->zmove.healReplacement) { gBattleStruct->zmove.healReplacement = FALSE; - gBattleMoveDamage = -1 * (gBattleMons[battler].maxHP); + gBattleStruct->calculatedDamage[battler] = -1 * (gBattleMons[battler].maxHP); gBattleScripting.battler = battler; BattleScriptPushCursor(); gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_Z_HP_TRAP; @@ -7882,21 +8165,41 @@ static void Cmd_hitanimation(void) { CMD_ARGS(u8 battler); - u32 battler = GetBattlerForBattleScript(cmd->battler); - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (!IsDoubleSpreadMove()) { - gBattlescriptCurrInstr = cmd->nextInstr; - } - else if (!(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE) || !(DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove)) || gDisableStructs[battler].substituteHP == 0) - { - BtlController_EmitHitAnimation(battler, BUFFER_A); - MarkBattlerForControllerExec(battler); - gBattlescriptCurrInstr = cmd->nextInstr; - } - else - { - gBattlescriptCurrInstr = cmd->nextInstr; + u32 battler = GetBattlerForBattleScript(cmd->battler); + + if (MoveResultHasEffect(battler)) + { + if (!(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE) + || !(DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove)) + || gDisableStructs[battler].substituteHP == 0) + { + BtlController_EmitHitAnimation(battler, BUFFER_A); + MarkBattlerForControllerExec(battler); + } + } } + else if (!gBattleStruct->doneDoublesSpreadHit) + { + u32 battlerDef; + for (battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT + || gBattleStruct->noResultString[battlerDef]) + continue; + + if (!(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE) + || !(DoesSubstituteBlockMove(gBattlerAttacker, battlerDef, gCurrentMove)) + || gDisableStructs[battlerDef].substituteHP == 0) + { + BtlController_EmitHitAnimation(battlerDef, BUFFER_A); + MarkBattlerForControllerExec(battlerDef); + } + } + } + + gBattlescriptCurrInstr = cmd->nextInstr; } static u32 GetTrainerMoneyToGive(u16 trainerId) @@ -8217,10 +8520,10 @@ static bool32 TryCheekPouch(u32 battler, u32 itemId) && gBattleStruct->ateBerry[GetBattlerSide(battler)] & (1u << gBattlerPartyIndexes[battler]) && !BATTLER_MAX_HP(battler)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 3; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 3; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; gBattlerAbility = battler; BattleScriptPush(gBattlescriptCurrInstr + 2); gBattlescriptCurrInstr = BattleScript_CheekPouchActivates; @@ -8716,7 +9019,7 @@ static void Cmd_useitemonopponent(void) static bool32 HasAttackerFaintedTarget(void) { - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && gMovesInfo[gCurrentMove].power != 0 && (gLastHitBy[gBattlerTarget] == 0xFF || gLastHitBy[gBattlerTarget] == gBattlerAttacker) && gBattleStruct->moveTarget[gBattlerAttacker] == gBattlerTarget @@ -9277,9 +9580,9 @@ static void Cmd_various(void) { VARIOUS_ARGS(u8 stat); i = cmd->stat; - gBattleMoveDamage = *(u16 *)(&gBattleMons[battler].attack) + (i - 1); - gBattleMoveDamage *= gStatStageRatios[gBattleMons[battler].statStages[i]][0]; - gBattleMoveDamage /= gStatStageRatios[gBattleMons[battler].statStages[i]][1]; + gBattleStruct->calculatedDamage[gBattlerAttacker] = *(u16 *)(&gBattleMons[battler].attack) + (i - 1); + gBattleStruct->calculatedDamage[gBattlerAttacker] *= gStatStageRatios[gBattleMons[battler].statStages[i]][0]; + gBattleStruct->calculatedDamage[gBattlerAttacker] /= gStatStageRatios[gBattleMons[battler].statStages[i]][1]; gBattlescriptCurrInstr = cmd->nextInstr; return; } @@ -9396,10 +9699,10 @@ static void Cmd_various(void) } else { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -10100,7 +10403,7 @@ static void Cmd_various(void) case VARIOUS_SET_ARG_TO_BATTLE_DAMAGE: { VARIOUS_ARGS(); - gBattleMoveDamage = gMovesInfo[gCurrentMove].argument; + gBattleStruct->calculatedDamage[gBattlerTarget] = gMovesInfo[gCurrentMove].argument; break; } case VARIOUS_TRY_AUTOTOMIZE: @@ -10340,7 +10643,7 @@ static void Cmd_various(void) if (gSideStatuses[GetBattlerSide(battler)] & SIDE_STATUS_AURORA_VEIL || !(WEATHER_HAS_EFFECT && gBattleWeather & (B_WEATHER_HAIL | B_WEATHER_SNOW))) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = 0; } else @@ -10549,10 +10852,10 @@ static void Cmd_various(void) case VARIOUS_TRY_HEAL_QUARTER_HP: { VARIOUS_ARGS(const u8 *failInstr); - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; if (gBattleMons[battler].hp == gBattleMons[battler].maxHP) gBattlescriptCurrInstr = cmd->failInstr; // fail @@ -10836,7 +11139,7 @@ static void Cmd_various(void) } if (atLeastOneStatBoosted && gBattleMons[gBattlerAttacker].hp > hpFraction) { - gBattleMoveDamage = hpFraction; + gBattleStruct->calculatedDamage[gBattlerAttacker] = hpFraction; gBattlescriptCurrInstr = cmd->nextInstr; } else @@ -11124,7 +11427,7 @@ static void Cmd_setprotectlike(void) { gDisableStructs[gBattlerAttacker].protectUses = 0; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_PROTECT_FAILED; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; } gBattlescriptCurrInstr = cmd->nextInstr; @@ -11137,7 +11440,7 @@ static void Cmd_tryexplosion(void) if (gBattleControllerExecFlags) return; - gBattleMoveDamage = gBattleMons[gBattlerAttacker].hp; + gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; BtlController_EmitHealthBarUpdate(gBattlerAttacker, BUFFER_A, INSTANT_HP_BAR_DROP); MarkBattlerForControllerExec(gBattlerAttacker); gBattlescriptCurrInstr = cmd->nextInstr; @@ -11186,10 +11489,10 @@ static void Cmd_tryhealhalfhealth(void) if (cmd->battler == BS_ATTACKER) gBattlerTarget = gBattlerAttacker; - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 2; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = failInstr; @@ -11260,7 +11563,7 @@ static void Cmd_setfieldweather(void) if (!TryChangeBattleWeather(gBattlerAttacker, weather, FALSE)) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_WEATHER_FAILED; gBattlescriptCurrInstr = cmd->nextInstr; return; @@ -11294,7 +11597,7 @@ static void Cmd_setreflect(void) if (gSideStatuses[GetBattlerSide(gBattlerAttacker)] & SIDE_STATUS_REFLECT) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SIDE_STATUS_FAILED; } else @@ -11318,14 +11621,14 @@ static void Cmd_setseeded(void) { CMD_ARGS(); - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT || gStatuses3[gBattlerTarget] & STATUS3_LEECHSEED) + if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_NO_EFFECT || gStatuses3[gBattlerTarget] & STATUS3_LEECHSEED) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_MISS; } else if (IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_GRASS)) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_FAIL; } else @@ -11338,6 +11641,7 @@ static void Cmd_setseeded(void) gBattlescriptCurrInstr = cmd->nextInstr; } +// TODO: Needs tests for everything static void Cmd_manipulatedamage(void) { CMD_ARGS(u8 mode); @@ -11345,44 +11649,44 @@ static void Cmd_manipulatedamage(void) switch (cmd->mode) { case DMG_CHANGE_SIGN: - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; break; case DMG_RECOIL_FROM_MISS: if (B_RECOIL_IF_MISS_DMG >= GEN_5) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; } else if (B_RECOIL_IF_MISS_DMG == GEN_4) { - if ((gBattleMons[gBattlerTarget].maxHP / 2) < gBattleMoveDamage) - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + if ((gBattleMons[gBattlerTarget].maxHP / 2) < gBattleStruct->calculatedDamage[gBattlerTarget]) + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; } else { - gBattleMoveDamage /= 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleStruct->calculatedDamage[gBattlerTarget] /= 2; } - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; break; case DMG_DOUBLED: - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[gBattlerTarget] *= 2; break; case DMG_1_8_TARGET_HP: - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 8; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; break; case DMG_FULL_ATTACKER_HP: - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker); + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker); break; case DMG_BIG_ROOT: - gBattleMoveDamage = GetDrainedBigRootHp(gBattlerAttacker, gBattleMoveDamage); + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); break; case DMG_CURR_ATTACKER_HP: - gBattleMoveDamage = GetNonDynamaxHP(gBattlerAttacker); + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerAttacker); break; case DMG_RECOIL_FROM_IMMUNE: - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; break; } @@ -11395,7 +11699,7 @@ static void Cmd_trysetrest(void) const u8 *failInstr = cmd->failInstr; gBattlerTarget = gBattlerAttacker; - gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP * (-1); + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP * (-1); if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) { @@ -11497,7 +11801,7 @@ static void Cmd_stockpile(void) case 0: if (gDisableStructs[gBattlerAttacker].stockpileCounter >= 3) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_CANT_STOCKPILE; } else @@ -11510,7 +11814,7 @@ static void Cmd_stockpile(void) } break; case 1: // Save def/sp def stats. - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (MoveResultHasEffect(gBattlerTarget)) { gDisableStructs[gBattlerAttacker].stockpileDef += gBattleMons[gBattlerAttacker].statStages[STAT_DEF] - gDisableStructs[gBattlerAttacker].stockpileBeforeDef; gDisableStructs[gBattlerAttacker].stockpileSpDef += gBattleMons[gBattlerAttacker].statStages[STAT_SPDEF] - gDisableStructs[gBattlerAttacker].stockpileBeforeSpDef; @@ -11567,19 +11871,19 @@ static void Cmd_stockpiletohpheal(void) { if (gDisableStructs[gBattlerAttacker].stockpileCounter > 0) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / (1 << (3 - gDisableStructs[gBattlerAttacker].stockpileCounter)); + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (1 << (3 - gDisableStructs[gBattlerAttacker].stockpileCounter)); gBattleScripting.animTurn = gDisableStructs[gBattlerAttacker].stockpileCounter; gBattleStruct->moveEffect2 = MOVE_EFFECT_STOCKPILE_WORE_OFF; } else // Snatched move { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; gBattleScripting.animTurn = 1; } - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; gBattlerTarget = gBattlerAttacker; @@ -11593,12 +11897,12 @@ static void Cmd_setdrainedhp(void) CMD_ARGS(); if (gMovesInfo[gCurrentMove].argument != 0) - gBattleMoveDamage = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); + gBattleStruct->calculatedDamage[gBattlerAttacker] = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); else - gBattleMoveDamage = (gHpDealt / 2); + gBattleStruct->calculatedDamage[gBattlerAttacker] = (gHpDealt / 2); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -11740,7 +12044,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr return STAT_CHANGE_DIDNT_WORK; } else if (gCurrentMove != MOVE_CURSE - && notProtectAffected != TRUE && JumpIfMoveAffectedByProtect(gCurrentMove)) + && notProtectAffected != TRUE && JumpIfMoveAffectedByProtect(gCurrentMove, gBattlerTarget, TRUE)) { gBattlescriptCurrInstr = BattleScript_ButItFailed; return STAT_CHANGE_DIDNT_WORK; @@ -11941,7 +12245,7 @@ static u32 ChangeStatBuffs(s8 statValue, u32 statId, u32 flags, const u8 *BS_ptr gBattleMons[battler].statStages[statId] = MAX_STAT_STAGE; if (gBattleCommunication[MULTISTRING_CHOOSER] == B_MSG_STAT_WONT_INCREASE && flags & STAT_CHANGE_ALLOW_PTR) - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; if (gBattleCommunication[MULTISTRING_CHOOSER] == B_MSG_STAT_WONT_INCREASE && !(flags & STAT_CHANGE_ALLOW_PTR)) return STAT_CHANGE_DIDNT_WORK; @@ -12365,7 +12669,7 @@ static void Cmd_setlightscreen(void) if (gSideStatuses[GetBattlerSide(gBattlerAttacker)] & SIDE_STATUS_LIGHTSCREEN) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SIDE_STATUS_FAILED; } else @@ -12397,7 +12701,7 @@ static void Cmd_tryKO(void) // Dynamaxed Pokemon cannot be hit by OHKO moves. if ((GetActiveGimmick(gBattlerTarget) == GIMMICK_DYNAMAX)) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_KO_UNAFFECTED; gBattlescriptCurrInstr = cmd->failInstr; return; @@ -12418,7 +12722,7 @@ static void Cmd_tryKO(void) if (targetAbility == ABILITY_STURDY) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gLastUsedAbility = ABILITY_STURDY; gBattlescriptCurrInstr = BattleScript_SturdyPreventsOHKO; gBattlerAbility = gBattlerTarget; @@ -12446,30 +12750,30 @@ static void Cmd_tryKO(void) { if (gProtectStructs[gBattlerTarget].endured) { - gBattleMoveDamage = gBattleMons[gBattlerTarget].hp - 1; - gMoveResultFlags |= MOVE_RESULT_FOE_ENDURED; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_ENDURED; } else if (gSpecialStatuses[gBattlerTarget].focusBanded || gSpecialStatuses[gBattlerTarget].focusSashed) { - gBattleMoveDamage = gBattleMons[gBattlerTarget].hp - 1; - gMoveResultFlags |= MOVE_RESULT_FOE_HUNG_ON; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_HUNG_ON; gLastUsedItem = gBattleMons[gBattlerTarget].item; } else if (B_AFFECTION_MECHANICS == TRUE && gSpecialStatuses[gBattlerTarget].affectionEndured) { - gBattleMoveDamage = gBattleMons[gBattlerTarget].hp - 1; - gMoveResultFlags |= MOVE_RESULT_FOE_ENDURED_AFFECTION; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_ENDURED_AFFECTION; } else { - gBattleMoveDamage = gBattleMons[gBattlerTarget].hp; - gMoveResultFlags |= MOVE_RESULT_ONE_HIT_KO; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_ONE_HIT_KO; } gBattlescriptCurrInstr = cmd->nextInstr; } else { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; if (gBattleMons[gBattlerAttacker].level >= gBattleMons[gBattlerTarget].level) gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_KO_MISS; else @@ -12484,15 +12788,18 @@ static void Cmd_damagetohalftargethp(void) { CMD_ARGS(); - gBattleMoveDamage = GetNonDynamaxHP(gBattlerTarget) / 2; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) / 2; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } static void Cmd_unused_95(void) { + CMD_ARGS(); + gBattleStruct->calculatedDamage[gBattlerTarget] = gBideDmg[gBattlerAttacker] * 2; + gBattlescriptCurrInstr = cmd->nextInstr; } static void Cmd_unused_96(void) @@ -12578,7 +12885,7 @@ static void Cmd_setmist(void) if (gSideTimers[GetBattlerSide(gBattlerAttacker)].mistTimer) { - gMoveResultFlags |= MOVE_RESULT_FAILED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FAILED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_MIST_FAILED; } else @@ -12599,7 +12906,7 @@ static void Cmd_setfocusenergy(void) if ((gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_CHEER && (!(IsDoubleBattle()) || (gAbsentBattlerFlags & (1u << battler)))) || gBattleMons[battler].status2 & STATUS2_FOCUS_ENERGY_ANY) { - gMoveResultFlags |= MOVE_RESULT_FAILED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FAILED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_FOCUS_ENERGY_FAILED; } else if (gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_CHEER && !IS_BATTLER_OF_TYPE(battler, TYPE_DRAGON)) @@ -12625,7 +12932,7 @@ static void Cmd_transformdataexecution(void) || gBattleStruct->illusion[gBattlerTarget].on || gStatuses3[gBattlerTarget] & STATUS3_SEMI_INVULNERABLE_NO_COMMANDER) { - gMoveResultFlags |= MOVE_RESULT_FAILED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FAILED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_TRANSFORM_FAILED; } else @@ -12689,18 +12996,18 @@ static void Cmd_setsubstitute(void) if (gBattleMons[gBattlerAttacker].hp <= hp) { - gBattleMoveDamage = 0; + gBattleStruct->calculatedDamage[gBattlerAttacker] = 0; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SUBSTITUTE_FAILED; } else { - gBattleMoveDamage = hp; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = hp; // one bit value will only work for Pokémon which max hp can go to 1020(which is more than possible in games) + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; gBattleMons[gBattlerAttacker].status2 |= STATUS2_SUBSTITUTE; gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_WRAPPED; - gDisableStructs[gBattlerAttacker].substituteHP = gBattleMoveDamage; + gDisableStructs[gBattlerAttacker].substituteHP = gBattleStruct->calculatedDamage[gBattlerAttacker]; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SET_SUBSTITUTE; gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE; } @@ -12791,7 +13098,7 @@ static void Cmd_dmgtolevel(void) { CMD_ARGS(); - gBattleMoveDamage = gBattleMons[gBattlerAttacker].level; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12800,7 +13107,7 @@ static void Cmd_psywavedamageeffect(void) CMD_ARGS(); s32 randDamage = B_PSYWAVE_DMG >= GEN_6 ? (Random() % 101) : ((Random() % 11) * 10); - gBattleMoveDamage = gBattleMons[gBattlerAttacker].level * (randDamage + 50) / 100; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level * (randDamage + 50) / 100; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12815,7 +13122,7 @@ static void Cmd_counterdamagecalculator(void) && sideAttacker != sideTarget && gBattleMons[gProtectStructs[gBattlerAttacker].physicalBattlerId].hp) { - gBattleMoveDamage = gProtectStructs[gBattlerAttacker].physicalDmg * 2; + gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 2; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -12842,7 +13149,7 @@ static void Cmd_mirrorcoatdamagecalculator(void) && sideAttacker != sideTarget && gBattleMons[gProtectStructs[gBattlerAttacker].specialBattlerId].hp) { - gBattleMoveDamage = gProtectStructs[gBattlerAttacker].specialDmg * 2; + gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 2; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -12943,17 +13250,11 @@ static void Cmd_painsplitdmgcalc(void) if (!(DoesSubstituteBlockMove(gBattlerAttacker, gBattlerTarget, gCurrentMove))) { s32 hpDiff = (gBattleMons[gBattlerAttacker].hp + GetNonDynamaxHP(gBattlerTarget)) / 2; - s32 painSplitHp = gBattleMoveDamage = GetNonDynamaxHP(gBattlerTarget) - hpDiff; - u8 *storeLoc = (void *)(&gBattleScripting.painSplitHp); - storeLoc[0] = (painSplitHp); - storeLoc[1] = (painSplitHp & 0x0000FF00) >> 8; - storeLoc[2] = (painSplitHp & 0x00FF0000) >> 16; - storeLoc[3] = (painSplitHp & 0xFF000000) >> 24; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - hpDiff; + gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp - hpDiff; - gBattleMoveDamage = gBattleMons[gBattlerAttacker].hp - hpDiff; gSpecialStatuses[gBattlerTarget].shellBellDmg = IGNORE_SHELL_BELL; - gBattlescriptCurrInstr = cmd->nextInstr; } else @@ -13430,9 +13731,9 @@ static void Cmd_cursetarget(void) else { gBattleMons[gBattlerTarget].status2 |= STATUS2_CURSED; - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13497,7 +13798,7 @@ static void Cmd_handlerollout(void) { CMD_ARGS(); - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (!MoveResultHasEffect(gBattlerTarget)) { CancelMultiTurnMoves(gBattlerAttacker); gBattlescriptCurrInstr = BattleScript_MoveMissedPause; @@ -13535,7 +13836,7 @@ static void Cmd_handlefurycutter(void) { CMD_ARGS(); - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (!MoveResultHasEffect(gBattlerTarget)) { gDisableStructs[gBattlerAttacker].furyCutterCounter = 0; gBattlescriptCurrInstr = BattleScript_MoveMissedPause; @@ -13603,10 +13904,11 @@ static void Cmd_presentdamagecalculation(void) } else { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerTarget) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + // TODO: Check if this is correct + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 4; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; gBattleStruct->presentBasePower = 0; } } @@ -13621,7 +13923,7 @@ static void Cmd_presentdamagecalculation(void) } else { - gMoveResultFlags &= ~MOVE_RESULT_DOESNT_AFFECT_FOE; + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~MOVE_RESULT_DOESNT_AFFECT_FOE; gBattlescriptCurrInstr = BattleScript_PresentHealTarget; } } @@ -13632,7 +13934,7 @@ static void Cmd_setsafeguard(void) if (gSideStatuses[GetBattlerSide(gBattlerAttacker)] & SIDE_STATUS_SAFEGUARD) { - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SIDE_STATUS_FAILED; } else @@ -13763,9 +14065,9 @@ static void Cmd_halvehp(void) if (gBattleMons[gBattlerAttacker].hp > halfHp) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13871,23 +14173,23 @@ static void Cmd_recoverbasedonsunlight(void) if (gCurrentMove == MOVE_SHORE_UP) { if (WEATHER_HAS_EFFECT && gBattleWeather & B_WEATHER_SANDSTORM) - gBattleMoveDamage = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; + gBattleStruct->calculatedDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; else - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; } else { if (!(gBattleWeather & B_WEATHER_ANY) || !WEATHER_HAS_EFFECT || GetBattlerHoldEffect(gBattlerAttacker, TRUE) == HOLD_EFFECT_UTILITY_UMBRELLA) - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; else if (gBattleWeather & B_WEATHER_SUN) - gBattleMoveDamage = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; + gBattleStruct->calculatedDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; else // not sunny weather - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; } - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13988,13 +14290,13 @@ static void Cmd_trydobeatup(void) gBattlescriptCurrInstr = cmd->nextInstr; - gBattleMoveDamage = gSpeciesInfo[GetMonData(&party[gBattleCommunication[0]], MON_DATA_SPECIES)].baseAttack; - gBattleMoveDamage *= gMovesInfo[gCurrentMove].power; - gBattleMoveDamage *= (GetMonData(&party[gBattleCommunication[0]], MON_DATA_LEVEL) * 2 / 5 + 2); - gBattleMoveDamage /= gSpeciesInfo[gBattleMons[gBattlerTarget].species].baseDefense; - gBattleMoveDamage = (gBattleMoveDamage / 50) + 2; + gBattleStruct->calculatedDamage[gBattlerTarget] = gSpeciesInfo[GetMonData(&party[gBattleCommunication[0]], MON_DATA_SPECIES)].baseAttack; + gBattleStruct->calculatedDamage[gBattlerTarget] *= gMovesInfo[gCurrentMove].power; + gBattleStruct->calculatedDamage[gBattlerTarget] *= (GetMonData(&party[gBattleCommunication[0]], MON_DATA_LEVEL) * 2 / 5 + 2); + gBattleStruct->calculatedDamage[gBattlerTarget] /= gSpeciesInfo[gBattleMons[gBattlerTarget].species].baseDefense; + gBattleStruct->calculatedDamage[gBattlerTarget] = (gBattleStruct->calculatedDamage[gBattlerTarget] / 50) + 2; if (gProtectStructs[gBattlerAttacker].helpingHand) - gBattleMoveDamage = gBattleMoveDamage * 15 / 10; + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleStruct->calculatedDamage[gBattlerTarget] * 15 / 10; gBattleCommunication[0]++; } @@ -14093,7 +14395,7 @@ static void Cmd_trymemento(void) else { // Success, drop user's HP bar to 0 - gBattleMoveDamage = gBattleMons[gBattlerAttacker].hp; + gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; BtlController_EmitHealthBarUpdate(gBattlerAttacker, BUFFER_A, INSTANT_HP_BAR_DROP); MarkBattlerForControllerExec(gBattlerAttacker); gBattlescriptCurrInstr = cmd->nextInstr; @@ -14424,16 +14726,16 @@ static void Cmd_trywish(void) if (B_WISH_HP_SOURCE >= GEN_5) { if (GetBattlerSide(gBattlerTarget) == B_SIDE_PLAYER) - gBattleMoveDamage = max(1, GetMonData(&gPlayerParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); + gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetMonData(&gPlayerParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); else - gBattleMoveDamage = max(1, GetMonData(&gEnemyParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); + gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetMonData(&gEnemyParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); } else { - gBattleMoveDamage = max(1, GetNonDynamaxMaxHP(gBattlerAttacker) / 2); + gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetNonDynamaxMaxHP(gBattlerAttacker) / 2); } - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = cmd->failInstr; else @@ -14516,7 +14818,7 @@ static void Cmd_setdamagetohealthdifference(void) } else { - gBattleMoveDamage = GetNonDynamaxHP(gBattlerTarget) - gBattleMons[gBattlerAttacker].hp; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - gBattleMons[gBattlerAttacker].hp; gBattlescriptCurrInstr = cmd->nextInstr; } } @@ -14577,7 +14879,7 @@ static void Cmd_tryswapabilities(void) } else { - if (gMoveResultFlags & MOVE_RESULT_NO_EFFECT || (GetActiveGimmick(gBattlerTarget) == GIMMICK_DYNAMAX)) + if (!MoveResultHasEffect(gBattlerTarget) || (GetActiveGimmick(gBattlerTarget) == GIMMICK_DYNAMAX)) { gBattlescriptCurrInstr = cmd->failInstr; } @@ -14788,14 +15090,14 @@ static void Cmd_switchoutabilities(void) MarkBattlerForControllerExec(battler); break; case ABILITY_REGENERATOR: - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 3; - gBattleMoveDamage += gBattleMons[battler].hp; - if (gBattleMoveDamage > gBattleMons[battler].maxHP) - gBattleMoveDamage = gBattleMons[battler].maxHP; + u32 regenerate = GetNonDynamaxMaxHP(gBattlerAttacker) / 3; + regenerate += gBattleMons[battler].hp; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] > gBattleMons[battler].maxHP) + gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[battler].maxHP; BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_HP_BATTLE, 1u << *(gBattleStruct->battlerPartyIndexes + battler), - sizeof(gBattleMoveDamage), - &gBattleMoveDamage); + sizeof(regenerate), + ®enerate); MarkBattlerForControllerExec(battler); break; } @@ -14902,11 +15204,11 @@ static void Cmd_pickup(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_unused3(void) +static void Cmd_setbattlemovedamage(void) { } -static void Cmd_unused4(void) +static void Cmd_copybattlemovedamage(void) { } @@ -15127,7 +15429,7 @@ static void Cmd_removelightscreenreflect(void) side = GetBattlerSide(gBattlerAttacker) ^ BIT_SIDE; if (B_BRICK_BREAK >= GEN_5) - failed = (gMoveResultFlags & MOVE_RESULT_NO_EFFECT); + failed = !MoveResultHasEffect(gBattlerTarget); else failed = FALSE; @@ -15733,7 +16035,7 @@ static void Cmd_subattackerhpbydmg(void) { CMD_ARGS(); - gBattleMons[gBattlerAttacker].hp -= gBattleMoveDamage; + gBattleMons[gBattlerAttacker].hp -= gBattleStruct->calculatedDamage[gBattlerTarget]; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -15973,7 +16275,7 @@ void BS_CalcMetalBurstDmg(void) && sideAttacker != (sideTarget = GetBattlerSide(gProtectStructs[gBattlerAttacker].physicalBattlerId)) && gBattleMons[gProtectStructs[gBattlerAttacker].physicalBattlerId].hp) { - gBattleMoveDamage = gProtectStructs[gBattlerAttacker].physicalDmg * 150 / 100; + gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 150 / 100; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -15986,7 +16288,7 @@ void BS_CalcMetalBurstDmg(void) && sideAttacker != (sideTarget = GetBattlerSide(gProtectStructs[gBattlerAttacker].specialBattlerId)) && gBattleMons[gProtectStructs[gBattlerAttacker].specialBattlerId].hp) { - gBattleMoveDamage = gProtectStructs[gBattlerAttacker].specialDmg * 150 / 100; + gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 150 / 100; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -16369,7 +16671,7 @@ void BS_ItemRestoreHP(void) // Heal is applied as move damage if battler is active. if (battler != MAX_BATTLERS_COUNT && hp != 0) { - gBattleMoveDamage = -healAmount; + gBattleStruct->calculatedDamage[gBattlerAttacker] = -healAmount; gBattlescriptCurrInstr = cmd->restoreBattlerInstr; } else @@ -16932,14 +17234,14 @@ void BS_TryHealPulse(void) else { if (GetBattlerAbility(gBattlerAttacker) == ABILITY_MEGA_LAUNCHER && gMovesInfo[gCurrentMove].pulseMove) - gBattleMoveDamage = -(GetNonDynamaxMaxHP(gBattlerTarget) * 75 / 100); + gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 75 / 100); else if (gFieldStatuses & STATUS_FIELD_GRASSY_TERRAIN && gMovesInfo[gCurrentMove].argument == MOVE_EFFECT_FLORAL_HEALING) - gBattleMoveDamage = -(GetNonDynamaxMaxHP(gBattlerTarget) * 2 / 3); + gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 2 / 3); else - gBattleMoveDamage = -(GetNonDynamaxMaxHP(gBattlerTarget) / 2); + gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) / 2); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = -1; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = -1; gBattlescriptCurrInstr = cmd->nextInstr; } } @@ -17126,10 +17428,10 @@ void BS_TryUpdateRecoilTracker(void) switch(gender) { case MON_MALE: - TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_MALE, gBattleMoveDamage, MOVE_NONE); + TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_MALE, gBattleStruct->calculatedDamage[gBattlerAttacker], MOVE_NONE); break; case MON_FEMALE: - TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_FEMALE, gBattleMoveDamage, MOVE_NONE); + TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_FEMALE, gBattleStruct->calculatedDamage[gBattlerAttacker], MOVE_NONE); break; } @@ -17180,7 +17482,7 @@ void BS_TryActivateGulpMissile(void) { NATIVE_ARGS(); - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && gBattleMons[gBattlerTarget].species != SPECIES_CRAMORANT @@ -17188,9 +17490,9 @@ void BS_TryActivateGulpMissile(void) { if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; } switch(gBattleMons[gBattlerTarget].species) @@ -17292,9 +17594,9 @@ void BS_ApplyTerastallization(void) void BS_DamageToQuarterTargetHP(void) { NATIVE_ARGS(); - gBattleMoveDamage = (3 * GetNonDynamaxHP(gBattlerTarget)) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerTarget] = (3 * GetNonDynamaxHP(gBattlerTarget)) / 4; + if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) + gBattleStruct->calculatedDamage[gBattlerTarget] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -17363,7 +17665,7 @@ void BS_TryHitSwitchTarget(void) if (IsBattlerAlive(gBattlerAttacker) && IsBattlerAlive(gBattlerTarget) - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && gSpecialStatuses[gBattlerAttacker].parentalBondState != PARENTAL_BOND_1ST_HIT && GetBattlerAbility(gBattlerTarget) != ABILITY_GUARD_DOG) @@ -17605,3 +17907,37 @@ void BS_RemoveTerrain(void) RemoveAllTerrains(); gBattlescriptCurrInstr = cmd->nextInstr; } + +void BS_SetMoveResultFlags(void) +{ + NATIVE_ARGS(u16 value); + gBattleStruct->moveResultFlags[gBattlerTarget] |= cmd->value; + gBattlescriptCurrInstr = cmd->nextInstr; +} + +void BS_ClearMoveResultFlags(void) +{ + NATIVE_ARGS(u16 value); + gBattleStruct->moveResultFlags[gBattlerTarget] &= ~(cmd->value); + gBattlescriptCurrInstr = cmd->nextInstr; +} + +void BS_JumpIfMoveResultFlags(void) +{ + NATIVE_ARGS(u16 value, const u8 *jumpInstr); + + if (gBattleStruct->moveResultFlags[gBattlerTarget] & cmd->value) + gBattlescriptCurrInstr = cmd->jumpInstr; + else + gBattlescriptCurrInstr = cmd->nextInstr; +} + +void BS_JumpIfCriticalHit(void) +{ + NATIVE_ARGS(const u8 *jumpInstr); + + if (gSpecialStatuses[gBattlerTarget].criticalHit) + gBattlescriptCurrInstr = cmd->jumpInstr; + else + gBattlescriptCurrInstr = cmd->nextInstr; +} diff --git a/src/battle_tv.c b/src/battle_tv.c index ccea3551cd..a2b34476c9 100644 --- a/src/battle_tv.c +++ b/src/battle_tv.c @@ -1242,7 +1242,7 @@ static void TrySetBattleSeminarShow(void) if (sVariableDmgMoves[i] != TABLE_END) return; - dmgByMove[gMoveSelectionCursor[gBattlerAttacker]] = gBattleMoveDamage; + dmgByMove[gMoveSelectionCursor[gBattlerAttacker]] = gBattleStruct->calculatedDamage[gBattlerTarget]; // TODO: Not sure currMoveSaved = gCurrentMove; for (i = 0; i < MAX_MON_MOVES; i++) { @@ -1258,9 +1258,9 @@ static void TrySetBattleSeminarShow(void) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = FALSE; - gBattleMoveDamage = CalculateMoveDamage(&damageCalcData, powerOverride); - dmgByMove[i] = gBattleMoveDamage; - if (dmgByMove[i] == 0 && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + gBattleStruct->calculatedDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, powerOverride); + dmgByMove[i] = gBattleStruct->calculatedDamage[gBattlerTarget]; + if (dmgByMove[i] == 0 && MoveResultHasEffect(gBattlerTarget)) dmgByMove[i] = 1; } } @@ -1290,7 +1290,7 @@ static void TrySetBattleSeminarShow(void) } } - gBattleMoveDamage = dmgByMove[gMoveSelectionCursor[gBattlerAttacker]]; + gBattleStruct->calculatedDamage[gBattlerTarget] = dmgByMove[gMoveSelectionCursor[gBattlerAttacker]]; gCurrentMove = currMoveSaved; } diff --git a/src/battle_util.c b/src/battle_util.c index 3362979323..11d5996724 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -138,9 +138,8 @@ void HandleAction_UseMove(void) return; } - gIsCriticalHit = FALSE; gBattleStruct->atkCancellerTracker = 0; - gMoveResultFlags = 0; + ClearDamageCalcResults(); gMultiHitCounter = 0; gBattleScripting.savedDmg = 0; gBattleCommunication[MISS_TYPE] = 0; @@ -695,10 +694,8 @@ void HandleAction_ActionFinished(void) { ExpendTypeStellarBoost(gBattlerAttacker, moveType); } - + ClearDamageCalcResults(); gCurrentMove = 0; - gBattleMoveDamage = 0; - gMoveResultFlags = 0; gBattleScripting.animTurn = 0; gBattleScripting.animTargetsHit = 0; gBattleStruct->dynamicMoveType = 0; @@ -2342,9 +2339,9 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_SAFETY_GOGGLES) { gBattleScripting.battler = battler; - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_DamagingWeather); effect++; } @@ -2355,7 +2352,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { gBattleScripting.battler = battler; - gBattleMoveDamage = -1 * max(1, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->calculatedDamage[battler] = -1 * max(1, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_IceBodyHeal); effect++; } @@ -2368,9 +2365,9 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerHoldEffect(battler, TRUE) != HOLD_EFFECT_SAFETY_GOGGLES) { gBattleScripting.battler = battler; - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_DamagingWeather); effect++; } @@ -2382,7 +2379,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK) && IsBattlerAlive(battler)) { - gBattleMoveDamage = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->calculatedDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_IngrainTurnHeal); effect++; } @@ -2394,7 +2391,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK) && IsBattlerAlive(battler)) { - gBattleMoveDamage = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->calculatedDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_AquaRingHeal); effect++; } @@ -2439,10 +2436,12 @@ u8 DoBattlerEndTurnEffects(void) gBattlerAttacker = battler; gBattleScripting.animArg1 = gBattlerTarget; gBattleScripting.animArg2 = gBattlerAttacker; - gBattleMoveDamage = max(1, GetNonDynamaxMaxHP(battler) / 8); + gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, GetNonDynamaxMaxHP(battler) / 8); + gBattleStruct->calculatedDamage[gBattlerTarget] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE; if (GetBattlerAbility(battler) == ABILITY_LIQUID_OOZE) { + gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleStruct->calculatedDamage[gBattlerTarget] * -1; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_OOZE; BattleScriptExecute(BattleScript_LeechSeedTurnDrainLiquidOoze); } @@ -2468,19 +2467,19 @@ u8 DoBattlerEndTurnEffects(void) { if (!BATTLER_MAX_HP(battler) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; BattleScriptExecute(BattleScript_PoisonHealActivates); effect++; } } else { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_PoisonTurnDmg); effect++; } @@ -2496,22 +2495,22 @@ u8 DoBattlerEndTurnEffects(void) { if (!BATTLER_MAX_HP(battler) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; BattleScriptExecute(BattleScript_PoisonHealActivates); effect++; } } else { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; if ((gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) != STATUS1_TOXIC_TURN(15)) // not 16 turns gBattleMons[battler].status1 += STATUS1_TOXIC_TURN(1); - gBattleMoveDamage *= (gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) >> 8; + gBattleStruct->calculatedDamage[battler] *= (gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) >> 8; BattleScriptExecute(BattleScript_PoisonTurnDmg); effect++; } @@ -2523,15 +2522,15 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); if (ability == ABILITY_HEATPROOF) { - if (gBattleMoveDamage > (gBattleMoveDamage / 2) + 1) // Record ability if the burn takes less damage than it normally would. + if (gBattleStruct->calculatedDamage[battler] > (gBattleStruct->calculatedDamage[battler] / 2) + 1) // Record ability if the burn takes less damage than it normally would. RecordAbilityBattle(battler, ABILITY_HEATPROOF); - gBattleMoveDamage /= 2; + gBattleStruct->calculatedDamage[battler] /= 2; } - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_BurnTurnDmg); effect++; } @@ -2542,9 +2541,9 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_FrostbiteTurnDmg); effect++; } @@ -2559,9 +2558,9 @@ u8 DoBattlerEndTurnEffects(void) // persist even after the affected Pokémon has been awakened by Shed Skin. if (gBattleMons[battler].status1 & STATUS1_SLEEP) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_NightmareTurnDmg); effect++; } @@ -2577,9 +2576,9 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_CurseTurnDmg); effect++; } @@ -2601,12 +2600,12 @@ u8 DoBattlerEndTurnEffects(void) PREPARE_MOVE_BUFFER(gBattleTextBuff1, gBattleStruct->wrappedMove[battler]); gBattlescriptCurrInstr = BattleScript_WrapTurnDmg; if (GetBattlerHoldEffect(gBattleStruct->wrappedBy[battler], TRUE) == HOLD_EFFECT_BINDING_BAND) - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 6 : 8); + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 6 : 8); else - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 8 : 16); + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 8 : 16); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; } else // broke free { @@ -2903,12 +2902,12 @@ u8 DoBattlerEndTurnEffects(void) && !IsBattlerProtectedByMagicGuard(battler, ability)) { gBattlerTarget = battler; - if (IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_STEEL) || IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_WATER)) - gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP / 4; + if (IS_BATTLER_OF_TYPE(battler, TYPE_STEEL) || IS_BATTLER_OF_TYPE(battler, TYPE_WATER)) + gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].maxHP / 4; else - gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].maxHP / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_SALT_CURE); BattleScriptExecute(BattleScript_SaltCureExtraDamage); effect++; @@ -2958,7 +2957,7 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { gBattleScripting.battler = battler; - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 6; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 6; ChooseDamageNonTypesString(gSideTimers[side].damageNonTypesType); BattleScriptExecute(BattleScript_DamageNonTypesContinues); effect++; @@ -2969,7 +2968,7 @@ u8 DoBattlerEndTurnEffects(void) case ENDTURN_SEA_OF_FIRE_DAMAGE: if (IsBattlerAlive(battler) && gSideStatuses[GetBattlerSide(battler)] & SIDE_STATUS_SEA_OF_FIRE) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; BtlController_EmitStatusAnimation(battler, BUFFER_A, FALSE, STATUS1_BURN); MarkBattlerForControllerExec(battler); BattleScriptExecute(BattleScript_HurtByTheSeaOfFire); @@ -3060,7 +3059,7 @@ bool32 HandleWishPerishSongOnTurnEnd(void) if (gDisableStructs[battler].perishSongTimer == 0) { gStatuses3[battler] &= ~STATUS3_PERISH_SONG; - gBattleMoveDamage = gBattleMons[battler].hp; + gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].hp; gBattlescriptCurrInstr = BattleScript_PerishSongTakesLife; } else @@ -3306,7 +3305,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LOAFING; gBattlerAbility = gBattlerAttacker; gBattlescriptCurrInstr = BattleScript_TruantLoafingAround; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_MISSED; effect = 1; } gBattleStruct->atkCancellerTracker++; @@ -3411,7 +3410,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = TRUE; - gBattleMoveDamage = CalculateMoveDamage(&damageCalcData, 40); + gBattleStruct->calculatedDamage[gBattlerAttacker] = CalculateMoveDamage(&damageCalcData, 40); gProtectStructs[gBattlerAttacker].confusionSelfDmg = TRUE; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; } @@ -3478,7 +3477,6 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) if (gBideDmg[gBattlerAttacker]) { gCurrentMove = MOVE_BIDE; - gBattleScripting.bideDmg = gBideDmg[gBattlerAttacker] * 2; gBattlerTarget = gBideTarget[gBattlerAttacker]; if (gAbsentBattlerFlags & (1u << gBattlerTarget)) gBattlerTarget = GetMoveTarget(MOVE_BIDE, MOVE_TARGET_SELECTED + 1); @@ -3550,7 +3548,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gProtectStructs[gBattlerAttacker].powderSelfDmg = TRUE; if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD && (B_POWDER_RAIN < GEN_7 || !IsBattlerWeatherAffected(gBattlerAttacker, B_WEATHER_RAIN_PRIMAL))) - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; if (GetActiveGimmick(gBattlerAttacker) != GIMMICK_Z_MOVE || gBattleStruct->obedienceResult != OBEYS @@ -3690,6 +3688,53 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) } gBattleStruct->atkCancellerTracker++; break; + case CANCELLER_MULTI_TARGET_MOVES: + if (!IsDoubleBattle()) + { + gBattleStruct->atkCancellerTracker++; + break; + } + + u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); + if (IsSpreadMove(moveTarget)) + { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { + if (gBattleStruct->bouncedMoveIsUsed && B_SIDE_OPPONENT == GetBattlerSide(battlerDef)) + continue; + + if (gBattlerAttacker == battlerDef + || !IsBattlerAlive(battlerDef) + || (moveTarget == MOVE_TARGET_BOTH && gBattlerAttacker == BATTLE_PARTNER(battlerDef)) + || IsBattlerProtected(gBattlerAttacker, battlerDef, gCurrentMove)) // Missing Invulnerable check + { + gBattleStruct->moveResultFlags[battlerDef] = MOVE_RESULT_NO_EFFECT; + gBattleStruct->noResultString[battlerDef] = TRUE; + } + else if (AbilityBattleEffects(ABILITYEFFECT_WOULD_BLOCK, battlerDef, 0, 0, 0) + || (IsBattlerTerrainAffected(gBattlerAttacker, STATUS_FIELD_PSYCHIC_TERRAIN) && GetMovePriority(gBattlerAttacker, gCurrentMove) > 0)) + { + gBattleStruct->moveResultFlags[battlerDef] = 0; + gBattleStruct->noResultString[battlerDef] = TRUE; + } + else if (AbilityBattleEffects(ABILITYEFFECT_WOULD_ABSORB, battlerDef, 0, 0, gCurrentMove)) + { + gBattleStruct->moveResultFlags[battlerDef] = 0; + gBattleStruct->noResultString[battlerDef] = DO_ACCURACY_CHECK; + } + else + { + CalcTypeEffectivenessMultiplier(gCurrentMove, gMovesInfo[gCurrentMove].type, gBattlerAttacker, battlerDef, GetBattlerAbility(battlerDef), TRUE); + } + } + if (moveTarget == MOVE_TARGET_BOTH) + gBattleStruct->numSpreadTargets = CountAliveMonsInBattle(BATTLE_ALIVE_SIDE, gBattlerAttacker); + else + gBattleStruct->numSpreadTargets = CountAliveMonsInBattle(BATTLE_ALIVE_EXCEPT_BATTLER, gBattlerAttacker); + + } + gBattleStruct->atkCancellerTracker++; + break; case CANCELLER_END: break; } @@ -5021,7 +5066,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 gBattlerTarget = partner; gBattlerAttacker = battler; gSpecialStatuses[battler].switchInAbilityDone = TRUE; - gBattleMoveDamage = (GetNonDynamaxMaxHP(partner) / 4) * -1; + gBattleStruct->calculatedDamage[partner] = (GetNonDynamaxMaxHP(partner) / 4) * -1; BattleScriptPushCursorAndCallback(BattleScript_HospitalityActivates); effect++; } @@ -5139,10 +5184,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { BattleScriptPushCursorAndCallback(BattleScript_RainDishActivates); - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / (gLastUsedAbility == ABILITY_RAIN_DISH ? 16 : 8); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (gLastUsedAbility == ABILITY_RAIN_DISH ? 16 : 8); + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; effect++; } break; @@ -5238,9 +5283,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 { SOLAR_POWER_HP_DROP: BattleScriptPushCursorAndCallback(BattleScript_SolarPowerActivates); - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; effect++; } break; @@ -5400,10 +5445,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 else gBattlescriptCurrInstr = BattleScript_MoveHPDrain_PPLoss; - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; } break; case MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY: @@ -5457,7 +5502,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 switch (gLastUsedAbility) { case ABILITY_JUSTIFIED: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && moveType == TYPE_DARK @@ -5471,7 +5516,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_RATTLED: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && (moveType == TYPE_DARK || moveType == TYPE_BUG || moveType == TYPE_GHOST) @@ -5485,7 +5530,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_WATER_COMPACTION: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && moveType == TYPE_WATER @@ -5499,7 +5544,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_STAMINA: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && gBattlerAttacker != gBattlerTarget && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) @@ -5513,7 +5558,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_BERSERK: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && HadMoreThanHalfHpNowDoesnt(battler) @@ -5530,7 +5575,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; case ABILITY_EMERGENCY_EXIT: case ABILITY_WIMP_OUT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) // Had more than half of hp before, now has less @@ -5548,7 +5593,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_WEAK_ARMOR: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && IS_MOVE_PHYSICAL(gCurrentMove) @@ -5564,7 +5609,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_CURSED_BODY: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && TARGET_TURN_DAMAGED && gDisableStructs[gBattlerAttacker].disabledMove == MOVE_NONE && IsBattlerAlive(gBattlerAttacker) @@ -5583,7 +5628,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; case ABILITY_LINGERING_AROMA: case ABILITY_MUMMY: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && IsBattlerAlive(gBattlerAttacker) && TARGET_TURN_DAMAGED && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS @@ -5608,7 +5653,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_WANDERING_SPIRIT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && IsBattlerAlive(gBattlerAttacker) && TARGET_TURN_DAMAGED && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS @@ -5632,8 +5677,8 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_ANGER_POINT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) - && gIsCriticalHit + if (MoveResultHasEffect(battler) + && gSpecialStatuses[battler].criticalHit && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && CompareStat(battler, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN)) @@ -5645,7 +5690,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_COLOR_CHANGE: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(battler) && move != MOVE_STRUGGLE && gMovesInfo[move].power != 0 && TARGET_TURN_DAMAGED @@ -5663,7 +5708,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; case ABILITY_GOOEY: case ABILITY_TANGLING_HAIR: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && (CompareStat(gBattlerAttacker, STAT_SPEED, MIN_STAT_STAGE, CMP_GREATER_THAN) || GetBattlerAbility(gBattlerAttacker) == ABILITY_MIRROR_ARMOR) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg @@ -5681,16 +5726,16 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; case ABILITY_ROUGH_SKIN: case ABILITY_IRON_BARBS: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / (B_ROUGH_SKIN_DMG >= GEN_4 ? 8 : 16); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (B_ROUGH_SKIN_DMG >= GEN_4 ? 8 : 16); + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; PREPARE_ABILITY_BUFFER(gBattleTextBuff1, gLastUsedAbility); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_RoughSkinActivates; @@ -5698,13 +5743,12 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_AFTERMATH: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !IsBattlerAlive(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { - u32 battler; if ((battler = IsAbilityOnField(ABILITY_DAMP))) { gBattleScripting.battler = battler - 1; @@ -5713,9 +5757,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } else { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AftermathDmg; } @@ -5723,11 +5767,11 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_INNARDS_OUT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !IsBattlerAlive(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker)) { - gBattleMoveDamage = gSpecialStatuses[gBattlerTarget].shellBellDmg; + gBattleStruct->calculatedDamage[gBattlerAttacker] = gSpecialStatuses[gBattlerTarget].shellBellDmg; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AftermathDmg; effect++; @@ -5761,7 +5805,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 goto STATIC; // Sleep if (i < sleep - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED @@ -5783,7 +5827,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 if (B_ABILITY_TRIGGER_CHANCE >= GEN_4 ? RandomPercentage(RNG_POISON_POINT, 30) : RandomChance(RNG_POISON_POINT, 1, 3)) { POISON_POINT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED @@ -5804,7 +5848,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 if (B_ABILITY_TRIGGER_CHANCE >= GEN_4 ? RandomPercentage(RNG_STATIC, 30) : RandomChance(RNG_STATIC, 1, 3)) { STATIC: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED @@ -5822,7 +5866,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_FLAME_BODY: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS @@ -5840,7 +5884,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_CUTE_CHARM: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED @@ -5868,7 +5912,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_COTTON_DOWN: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED) @@ -5880,7 +5924,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_STEAM_ENGINE: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) && CompareStat(battler, STAT_SPEED, MAX_STAT_STAGE, CMP_LESS_THAN) @@ -5894,7 +5938,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_SAND_SPIT: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && !(gBattleWeather & B_WEATHER_SANDSTORM && WEATHER_HAS_EFFECT)) @@ -5915,7 +5959,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_PERISH_BODY: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) @@ -5936,7 +5980,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_GULP_MISSILE: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && IsBattlerAlive(battler) @@ -5944,9 +5988,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 { if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; } switch(gBattleMons[gBattlerTarget].species) @@ -5967,7 +6011,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_SEED_SOWER: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && IsBattlerAlive(gBattlerTarget) @@ -5979,7 +6023,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_THERMAL_EXCHANGE: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && IsBattlerAlive(gBattlerTarget) && CompareStat(gBattlerTarget, STAT_ATK, MAX_STAT_STAGE, CMP_LESS_THAN) @@ -5993,7 +6037,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_ANGER_SHELL: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && (gMultiHitCounter == 0 || gMultiHitCounter == 1) // Activates after all hits from a multi-hit move. @@ -6011,7 +6055,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 break; // fall through case ABILITY_ELECTROMORPHOSIS: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED && IsBattlerAlive(gBattlerTarget)) @@ -6022,7 +6066,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_TOXIC_DEBRIS: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && (!gBattleStruct->isSkyBattle) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && IS_MOVE_PHYSICAL(gCurrentMove) @@ -6041,7 +6085,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 switch (gLastUsedAbility) { case ABILITY_POISON_TOUCH: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && CanBePoisoned(gBattlerAttacker, gBattlerTarget, GetBattlerAbility(gBattlerTarget)) @@ -6059,7 +6103,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_TOXIC_CHAIN: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && CanBePoisoned(gBattlerAttacker, gBattlerTarget, GetBattlerAbility(gBattlerTarget)) @@ -6075,7 +6119,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } break; case ABILITY_STENCH: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (MoveResultHasEffect(gBattlerTarget) && IsBattlerAlive(gBattlerTarget) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && RandomChance(RNG_STENCH, 1, 10) @@ -6755,14 +6799,14 @@ static u8 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, bool32 end2) { PREPARE_FLAVOR_BUFFER(gBattleTextBuff1, flavorId); - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / GetBattlerItemHoldEffectParam(battler, itemId); - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / GetBattlerItemHoldEffectParam(battler, itemId); + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) { - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[battler] *= 2; gBattlerAbility = battler; } gBattleScripting.battler = battler; @@ -6889,14 +6933,14 @@ static u8 TrySetEnigmaBerry(u32 battler) { if (IsBattlerAlive(battler) && !DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) - && ((TARGET_TURN_DAMAGED && gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) || gBattleScripting.overrideBerryRequirements) + && ((TARGET_TURN_DAMAGED && gBattleStruct->moveResultFlags[battler] & MOVE_RESULT_SUPER_EFFECTIVE) || gBattleScripting.overrideBerryRequirements) && !(gBattleScripting.overrideBerryRequirements && gBattleMons[battler].hp == gBattleMons[battler].maxHP) && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) { gBattleScripting.battler = battler; - gBattleMoveDamage = (gBattleMons[battler].maxHP * 25 / 100) * -1; + gBattleStruct->calculatedDamage[battler] = (gBattleMons[battler].maxHP * 25 / 100) * -1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[battler] *= 2; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHealHP_RemoveItemRet; @@ -7012,13 +7056,13 @@ static u8 ItemHealHp(u32 battler, u32 itemId, bool32 end2, bool32 percentHeal) && HasEnoughHpToEatBerry(battler, 2, itemId)) { if (percentHeal) - gBattleMoveDamage = (GetNonDynamaxMaxHP(battler) * GetBattlerItemHoldEffectParam(battler, itemId) / 100) * -1; + gBattleStruct->calculatedDamage[battler] = (GetNonDynamaxMaxHP(battler) * GetBattlerItemHoldEffectParam(battler, itemId) / 100) * -1; else - gBattleMoveDamage = GetBattlerItemHoldEffectParam(battler, itemId) * -1; + gBattleStruct->calculatedDamage[battler] = GetBattlerItemHoldEffectParam(battler, itemId) * -1; // check ripen if (ItemId_GetPocket(itemId) == POCKET_BERRIES && GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[battler] *= 2; gBattlerAbility = battler; // in SWSH, berry juice shows ability pop up but has no effect. This is mimicked here if (end2) @@ -7710,9 +7754,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) } else if (GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD && !moveTurn) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_ItemHurtEnd2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -7724,10 +7768,10 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) if (gBattleMons[battler].hp < gBattleMons[battler].maxHP && !moveTurn && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; - gBattleMoveDamage *= -1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->calculatedDamage[battler] *= -1; BattleScriptExecute(BattleScript_ItemHealHP_End2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -7978,8 +8022,8 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) atkHoldEffectParam *= 2; if (gSideStatuses[GetBattlerSide(battler)] & SIDE_STATUS_RAINBOW && gCurrentMove != MOVE_SECRET_POWER) atkHoldEffectParam *= 2; - if (gBattleMoveDamage != 0 // Need to have done damage - && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + if (gBattleStruct->calculatedDamage[battler] != 0 // Need to have done damage + && MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && !gMovesInfo[gCurrentMove].ignoresKingsRock && gBattleMons[gBattlerTarget].hp @@ -8022,9 +8066,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gLastUsedItem = atkItem; gPotentialItemEffectBattler = gBattlerAttacker; gBattleScripting.battler = gBattlerAttacker; - gBattleMoveDamage = (gSpecialStatuses[gBattlerTarget].shellBellDmg / atkHoldEffectParam) * -1; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = -1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = (gSpecialStatuses[gBattlerTarget].shellBellDmg / atkHoldEffectParam) * -1; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = -1; gSpecialStatuses[gBattlerTarget].shellBellDmg = 0; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHealHP_Ret; @@ -8039,9 +8083,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && !gSpecialStatuses[gBattlerAttacker].preventLifeOrbDamage && gSpecialStatuses[gBattlerAttacker].damagedMons) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 10; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 10; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHurtRet; @@ -8066,7 +8110,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) } break; case ITEMEFFECT_TARGET: - if (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) + if (MoveResultHasEffect(gBattlerTarget)) { moveType = GetMoveType(gCurrentMove); switch (battlerHoldEffect) @@ -8086,9 +8130,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IsBattlerAlive(gBattlerAttacker) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 6; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 6; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_RockyHelmetActivates; @@ -8099,7 +8143,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) case HOLD_EFFECT_WEAKNESS_POLICY: if (IsBattlerAlive(battler) && TARGET_TURN_DAMAGED - && gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) + && gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_SUPER_EFFECTIVE) { effect = ITEM_STATS_CHANGE; BattleScriptPushCursor(); @@ -8160,11 +8204,11 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IS_MOVE_PHYSICAL(gCurrentMove) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= 2; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); @@ -8180,11 +8224,11 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IS_MOVE_SPECIAL(gCurrentMove) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) + gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleMoveDamage *= 2; + gBattleStruct->calculatedDamage[gBattlerAttacker] *= 2; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); @@ -8213,13 +8257,13 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_STICKY_BARB: if (TARGET_TURN_DAMAGED - && (!(gMoveResultFlags & MOVE_RESULT_NO_EFFECT)) - && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS - && IsMoveMakingContact(gCurrentMove, gBattlerAttacker) - && !DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) - && IsBattlerAlive(gBattlerAttacker) - && CanStealItem(gBattlerAttacker, gBattlerTarget, gBattleMons[gBattlerTarget].item) - && gBattleMons[gBattlerAttacker].item == ITEM_NONE) + && MoveResultHasEffect(gBattlerTarget) + && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS + && IsMoveMakingContact(gCurrentMove, gBattlerAttacker) + && !DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) + && IsBattlerAlive(gBattlerAttacker) + && CanStealItem(gBattlerAttacker, gBattlerTarget, gBattleMons[gBattlerTarget].item) + && gBattleMons[gBattlerAttacker].item == ITEM_NONE) { // No sticky hold checks. gEffectBattler = battler; // gEffectBattler = target @@ -8258,9 +8302,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) case HOLD_EFFECT_STICKY_BARB: // Not an orb per se, but similar effect, and needs to NOT activate with pickpocket if (battlerAbility != ABILITY_MAGIC_GUARD) { - gBattleMoveDamage = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleMoveDamage == 0) - gBattleMoveDamage = 1; + gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->calculatedDamage[battler] == 0) + gBattleStruct->calculatedDamage[battler] = 1; BattleScriptExecute(BattleScript_ItemHurtEnd2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -8584,50 +8628,51 @@ bool32 IsMoveMakingContact(u32 move, u32 battlerAtk) bool32 IsBattlerProtected(u32 battlerAtk, u32 battlerDef, u32 move) { - // Z-Moves and Max Moves bypass protection (except Max Guard). + bool32 isProtected = FALSE; + if ((IsZMove(move) || IsMaxMove(move)) - && (!gProtectStructs[battlerDef].maxGuarded - || gMovesInfo[move].argument == MAX_EFFECT_BYPASS_PROTECT)) - return FALSE; - - // Max Guard is silly about the moves it blocks, including Teatime. - if (gProtectStructs[battlerDef].maxGuarded && IsMoveBlockedByMaxGuard(move)) - return TRUE; - - if (!gProtectStructs[battlerDef].maxGuarded // Max Guard cannot be bypassed by Unseen Fist - && IsMoveMakingContact(move, gBattlerAttacker) - && GetBattlerAbility(gBattlerAttacker) == ABILITY_UNSEEN_FIST) - return FALSE; - else if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_CRAFTY_SHIELD - && IS_MOVE_STATUS(move)) - return TRUE; + && (!gProtectStructs[battlerDef].maxGuarded || gMovesInfo[move].argument == MAX_EFFECT_BYPASS_PROTECT)) + isProtected = FALSE; // Z-Moves and Max Moves bypass protection (except Max Guard). + else if (gProtectStructs[battlerDef].maxGuarded && IsMoveBlockedByMaxGuard(move)) + isProtected = TRUE; + else if (!gProtectStructs[battlerDef].maxGuarded // Max Guard cannot be bypassed by Unseen Fist + && IsMoveMakingContact(move, gBattlerAttacker) + && GetBattlerAbility(gBattlerAttacker) == ABILITY_UNSEEN_FIST) + isProtected = FALSE; + else if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_CRAFTY_SHIELD && IS_MOVE_STATUS(move)) + isProtected = TRUE; else if (gMovesInfo[move].ignoresProtect) - return FALSE; + isProtected = FALSE; else if (gProtectStructs[battlerDef].protected) - return TRUE; + isProtected = TRUE; else if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_WIDE_GUARD && GetBattlerMoveTargetType(gBattlerAttacker, move) & (MOVE_TARGET_BOTH | MOVE_TARGET_FOES_AND_ALLY)) - return TRUE; + isProtected = TRUE; else if (gProtectStructs[battlerDef].banefulBunkered) - return TRUE; + isProtected = TRUE; else if (gProtectStructs[battlerDef].burningBulwarked) - return TRUE; + isProtected = TRUE; else if ((gProtectStructs[battlerDef].obstructed || gProtectStructs[battlerDef].silkTrapped) && !IS_MOVE_STATUS(move)) - return TRUE; + isProtected = TRUE; else if (gProtectStructs[battlerDef].spikyShielded) - return TRUE; + isProtected = TRUE; else if (gProtectStructs[battlerDef].kingsShielded && gMovesInfo[move].power != 0) - return TRUE; + isProtected = TRUE; else if (gProtectStructs[battlerDef].maxGuarded) - return TRUE; + isProtected = TRUE; else if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_QUICK_GUARD && GetChosenMovePriority(gBattlerAttacker) > 0) - return TRUE; + isProtected = TRUE; else if (gSideStatuses[GetBattlerSide(battlerDef)] & SIDE_STATUS_MAT_BLOCK && !IS_MOVE_STATUS(move)) - return TRUE; + isProtected = TRUE; else - return FALSE; + isProtected = FALSE; + + if (isProtected) + gBattleStruct->missStringId[battlerDef] = gBattleCommunication[MISS_TYPE] = B_MSG_PROTECTED; + + return isProtected; } // Only called directly when calculating damage type effectiveness @@ -10454,26 +10499,26 @@ static inline void TryNoticeIllusionInTypeEffectiveness(u32 move, u32 moveType, RecordAbilityBattle(battlerDef, ABILITY_ILLUSION); } -static void UpdateMoveResultFlags(uq4_12_t modifier) +static void UpdateMoveResultFlags(uq4_12_t modifier, u32 battler) { if (modifier == UQ_4_12(0.0)) { - gMoveResultFlags |= MOVE_RESULT_DOESNT_AFFECT_FOE; - gMoveResultFlags &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE); + gBattleStruct->moveResultFlags[battler] |= MOVE_RESULT_DOESNT_AFFECT_FOE; + gBattleStruct->moveResultFlags[battler] &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE); } else if (modifier == UQ_4_12(1.0)) { - gMoveResultFlags &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); + gBattleStruct->moveResultFlags[battler] &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); } else if (modifier > UQ_4_12(1.0)) { - gMoveResultFlags |= MOVE_RESULT_SUPER_EFFECTIVE; - gMoveResultFlags &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); + gBattleStruct->moveResultFlags[battler] |= MOVE_RESULT_SUPER_EFFECTIVE; + gBattleStruct->moveResultFlags[battler] &= ~(MOVE_RESULT_NOT_VERY_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); } else //if (modifier < UQ_4_12(1.0)) { - gMoveResultFlags |= MOVE_RESULT_NOT_VERY_EFFECTIVE; - gMoveResultFlags &= ~(MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); + gBattleStruct->moveResultFlags[battler] |= MOVE_RESULT_NOT_VERY_EFFECTIVE; + gBattleStruct->moveResultFlags[battler] &= ~(MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_DOESNT_AFFECT_FOE); } } @@ -10504,10 +10549,10 @@ static inline uq4_12_t CalcTypeEffectivenessMultiplierInternal(u32 move, u32 mov modifier = UQ_4_12(0.0); if (recordAbilities && defAbility == ABILITY_LEVITATE) { + gBattleStruct->moveResultFlags[battlerDef] |= (MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE); gLastUsedAbility = ABILITY_LEVITATE; - gMoveResultFlags |= (MOVE_RESULT_MISSED | MOVE_RESULT_DOESNT_AFFECT_FOE); gLastLandedMoves[battlerDef] = 0; - gBattleCommunication[MISS_TYPE] = B_MSG_GROUND_MISS; + gBattleStruct->missStringId[battlerDef] = B_MSG_GROUND_MISS; RecordAbilityBattle(battlerDef, ABILITY_LEVITATE); } } @@ -10531,9 +10576,9 @@ static inline uq4_12_t CalcTypeEffectivenessMultiplierInternal(u32 move, u32 mov if (recordAbilities) { gLastUsedAbility = gBattleMons[battlerDef].ability; - gMoveResultFlags |= MOVE_RESULT_MISSED; + gBattleStruct->moveResultFlags[battlerDef] |= MOVE_RESULT_MISSED; gLastLandedMoves[battlerDef] = 0; - gBattleCommunication[MISS_TYPE] = B_MSG_AVOIDED_DMG; + gBattleStruct->missStringId[battlerDef] = B_MSG_AVOIDED_DMG; RecordAbilityBattle(battlerDef, gBattleMons[battlerDef].ability); } } @@ -10557,7 +10602,7 @@ uq4_12_t CalcTypeEffectivenessMultiplier(u32 move, u32 moveType, u32 battlerAtk, } if (recordAbilities) - UpdateMoveResultFlags(modifier); + UpdateMoveResultFlags(modifier, battlerDef); return modifier; } @@ -10578,7 +10623,7 @@ uq4_12_t CalcPartyMonTypeEffectivenessMultiplier(u16 move, u16 speciesDef, u16 a modifier = UQ_4_12(0.0); } - UpdateMoveResultFlags(modifier); + UpdateMoveResultFlags(modifier, speciesDef); return modifier; } @@ -11916,3 +11961,29 @@ u32 GetMoveType(u32 move) return TYPE_MYSTERY; return gMovesInfo[move].type; } + +bool32 IsDoubleSpreadMove(void) +{ + return gBattleStruct->numSpreadTargets > 1 + && !(gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE | HITMARKER_UNABLE_TO_USE_MOVE)) + && IsSpreadMove(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove)); +} + +void ClearDamageCalcResults(void) +{ + for (u32 battler = 0; battler < MAX_BATTLERS_COUNT; battler++) + { + gBattleStruct->calculatedDamage[battler] = 0; + gBattleStruct->calculatedCritChance[battler] = 0; + gBattleStruct->moveResultFlags[battler] = 0; + gBattleStruct->noResultString[battler] = 0; + gBattleStruct->missStringId[battler] = 0; + gSpecialStatuses[battler].criticalHit = FALSE; + } + + gBattleStruct->doneDoublesSpreadHit = FALSE; + gBattleStruct->calculatedDamageDone = FALSE; + gBattleStruct->calculatedSpreadMoveAccuracy = FALSE; + gBattleStruct->printedStrongWindsWeakenedAttack = FALSE; + gBattleStruct->numSpreadTargets = 0; +} diff --git a/src/battle_z_move.c b/src/battle_z_move.c index 5e6cfe8e0e..5e5c2c0836 100644 --- a/src/battle_z_move.c +++ b/src/battle_z_move.c @@ -503,7 +503,7 @@ void SetZEffect(void) case Z_EFFECT_RECOVER_HP: if (gBattleMons[gBattlerAttacker].hp != gBattleMons[gBattlerAttacker].maxHP) { - gBattleMoveDamage = (-1) * gBattleMons[gBattlerAttacker].maxHP; + gBattleStruct->calculatedDamage[gBattlerAttacker] = (-1) * gBattleMons[gBattlerAttacker].maxHP; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_Z_RECOVER_HP; BattleScriptPush(gBattlescriptCurrInstr + Z_EFFECT_BS_LENGTH); gBattlescriptCurrInstr = BattleScript_RecoverHPZMove; diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 1bde816281..5021dd5a24 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -14421,7 +14421,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .type = TYPE_FAIRY, .accuracy = 0, .pp = 10, - .target = MOVE_TARGET_ALL_BATTLERS, + .target = MOVE_TARGET_USER, .priority = 0, .category = DAMAGE_CATEGORY_STATUS, .zMove = { .effect = Z_EFFECT_DEF_UP_1 }, diff --git a/test/battle/ability/commander.c b/test/battle/ability/commander.c index 7eca97dacf..521d4f4b40 100644 --- a/test/battle/ability/commander.c +++ b/test/battle/ability/commander.c @@ -187,9 +187,9 @@ DOUBLE_BATTLE_TEST("Commander Tatsugiri is not damaged by a double target move i ABILITY_POPUP(playerRight, ABILITY_COMMANDER); MESSAGE("Tatsugiri was swallowed by Dondozo and became Dondozo's commander!"); HP_BAR(playerLeft); - MESSAGE("Dondozo fainted!"); - NOT HP_BAR(playerRight); HP_BAR(opponentRight); + NOT HP_BAR(playerRight); + MESSAGE("Dondozo fainted!"); } } @@ -323,7 +323,7 @@ DOUBLE_BATTLE_TEST("Commander Attacker is kept (Dondozo Left Slot)") MESSAGE("Tatsugiri was swallowed by Dondozo and became Dondozo's commander!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); HP_BAR(playerLeft); - MESSAGE("The opposing Wobbuffet's attack missed!"); + // MESSAGE("The opposing Wobbuffet's attack missed!"); TODO: Message issue, otherwise fine HP_BAR(opponentRight); } } @@ -344,7 +344,7 @@ DOUBLE_BATTLE_TEST("Commander Attacker is kept (Dondozo Right Slot)") ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponentRight); ABILITY_POPUP(playerLeft, ABILITY_COMMANDER); MESSAGE("Tatsugiri was swallowed by Dondozo and became Dondozo's commander!"); - MESSAGE("The opposing Wobbuffet's attack missed!"); + // MESSAGE("The opposing Wobbuffet's attack missed!"); TODO: Message issue, otherwise fine ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); HP_BAR(playerRight); HP_BAR(opponentRight); diff --git a/test/battle/ability/grim_neigh.c b/test/battle/ability/grim_neigh.c index 476d9995f1..6e0073f955 100644 --- a/test/battle/ability/grim_neigh.c +++ b/test/battle/ability/grim_neigh.c @@ -80,7 +80,6 @@ DOUBLE_BATTLE_TEST("Grim Neigh does not increase damage done by the same move th PARAMETRIZE { species = SPECIES_SPECTRIER; ability = ABILITY_GRIM_NEIGH; abilityPopUp = ABILITY_GRIM_NEIGH; } PARAMETRIZE { species = SPECIES_CALYREX_SHADOW; ability = ABILITY_AS_ONE_SHADOW_RIDER; abilityPopUp = ABILITY_GRIM_NEIGH; } - KNOWN_FAILING; // Requires simultaneous damage implementation GIVEN { ASSUME(gMovesInfo[MOVE_DISCHARGE].target == MOVE_TARGET_FOES_AND_ALLY); PLAYER(species) { Ability(ability); } @@ -94,6 +93,7 @@ DOUBLE_BATTLE_TEST("Grim Neigh does not increase damage done by the same move th ANIMATION(ANIM_TYPE_MOVE, MOVE_DISCHARGE, playerLeft); HP_BAR(opponentLeft, captureDamage: &damage[0]); HP_BAR(playerRight); + HP_BAR(opponentRight, captureDamage: &damage[1]); MESSAGE("Abra fainted!"); ABILITY_POPUP(playerLeft, abilityPopUp); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerLeft); @@ -101,7 +101,6 @@ DOUBLE_BATTLE_TEST("Grim Neigh does not increase damage done by the same move th MESSAGE("Spectrier's Grim Neigh raised its Sp. Atk!"); else MESSAGE("Calyrex's Grim Neigh raised its Sp. Atk!"); - HP_BAR(opponentRight, captureDamage: &damage[1]); } THEN { EXPECT_EQ(playerLeft->statStages[STAT_SPATK], DEFAULT_STAT_STAGE + 1); EXPECT_EQ(damage[0], damage[1]); diff --git a/test/battle/ability/hospitality.c b/test/battle/ability/hospitality.c index 0582549180..c772d6e776 100644 --- a/test/battle/ability/hospitality.c +++ b/test/battle/ability/hospitality.c @@ -82,9 +82,9 @@ DOUBLE_BATTLE_TEST("Hospitality does not trigger if there is no ally on the fiel } SCENE { ANIMATION(ANIM_TYPE_MOVE, MOVE_BLIZZARD, opponentLeft); HP_BAR(playerLeft); - MESSAGE("Wobbuffet fainted!"); HP_BAR(playerRight); MESSAGE("Wobbuffet fainted!"); + MESSAGE("Wobbuffet fainted!"); SEND_IN_MESSAGE("Poltchageist"); NOT ABILITY_POPUP(playerLeft, ABILITY_HOSPITALITY); } diff --git a/test/battle/ability/moxie.c b/test/battle/ability/moxie.c index 56577736db..d6c7d11d9d 100644 --- a/test/battle/ability/moxie.c +++ b/test/battle/ability/moxie.c @@ -122,7 +122,6 @@ DOUBLE_BATTLE_TEST("Moxie/Chilling Neigh does not increase damage done by the sa PARAMETRIZE { species = SPECIES_GLASTRIER; ability = ABILITY_CHILLING_NEIGH; abilityPopUp = ABILITY_CHILLING_NEIGH; } PARAMETRIZE { species = SPECIES_CALYREX_ICE; ability = ABILITY_AS_ONE_ICE_RIDER; abilityPopUp = ABILITY_CHILLING_NEIGH; } - KNOWN_FAILING; // Requires simultaneous damage implementation GIVEN { ASSUME(gMovesInfo[MOVE_EARTHQUAKE].target == MOVE_TARGET_FOES_AND_ALLY); PLAYER(species) { Ability(ability); } @@ -136,6 +135,7 @@ DOUBLE_BATTLE_TEST("Moxie/Chilling Neigh does not increase damage done by the sa ANIMATION(ANIM_TYPE_MOVE, MOVE_EARTHQUAKE, playerLeft); HP_BAR(opponentLeft, captureDamage: &damage[0]); HP_BAR(playerRight); + HP_BAR(opponentRight, captureDamage: &damage[1]); MESSAGE("Abra fainted!"); ABILITY_POPUP(playerLeft, abilityPopUp); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerLeft); @@ -145,7 +145,6 @@ DOUBLE_BATTLE_TEST("Moxie/Chilling Neigh does not increase damage done by the sa MESSAGE("Glastrier's Chilling Neigh raised its Attack!"); else MESSAGE("Calyrex's Chilling Neigh raised its Attack!"); - HP_BAR(opponentRight, captureDamage: &damage[1]); } THEN { EXPECT_EQ(playerLeft->statStages[STAT_ATK], DEFAULT_STAT_STAGE + 1); EXPECT_EQ(damage[0], damage[1]); diff --git a/test/battle/ability/seed_sower.c b/test/battle/ability/seed_sower.c index 822fa8b703..5134bc1311 100644 --- a/test/battle/ability/seed_sower.c +++ b/test/battle/ability/seed_sower.c @@ -19,7 +19,6 @@ SINGLE_BATTLE_TEST("Seed Sower sets up Grassy Terrain when hit by an attack") #define ABILITY_PARAM(n)(abilities[n] = (k == n) ? ABILITY_SEED_SOWER : ABILITY_HARVEST) #define MOVE_HIT(target, position) \ { \ - HP_BAR(target); \ if (abilities[position] == ABILITY_SEED_SOWER) { \ ABILITY_POPUP(target); \ MESSAGE("Grass grew to cover the battlefield!");\ @@ -68,9 +67,13 @@ DOUBLE_BATTLE_TEST("Multi-target moves hit correct battlers after Seed Sower is if (usedMove == MOVE_HYPER_VOICE) { if ((attacker & BIT_SIDE) == B_SIDE_OPPONENT) { if (attacker == B_POSITION_OPPONENT_LEFT) { + HP_BAR(playerLeft); + HP_BAR(playerRight); MOVE_HIT(playerLeft, B_POSITION_PLAYER_LEFT); MOVE_HIT(playerRight, B_POSITION_PLAYER_RIGHT); } else { + HP_BAR(playerLeft); + HP_BAR(playerRight); MOVE_HIT(playerRight, B_POSITION_PLAYER_RIGHT); MOVE_HIT(playerLeft, B_POSITION_PLAYER_LEFT); } @@ -80,9 +83,13 @@ DOUBLE_BATTLE_TEST("Multi-target moves hit correct battlers after Seed Sower is } } else { if (attacker == B_POSITION_PLAYER_LEFT) { + HP_BAR(opponentLeft); + HP_BAR(opponentRight); MOVE_HIT(opponentLeft, B_POSITION_OPPONENT_LEFT); MOVE_HIT(opponentRight, B_POSITION_OPPONENT_RIGHT); } else { + HP_BAR(opponentLeft); + HP_BAR(opponentRight); MOVE_HIT(opponentRight, B_POSITION_OPPONENT_RIGHT); MOVE_HIT(opponentLeft, B_POSITION_OPPONENT_LEFT); } @@ -94,24 +101,36 @@ DOUBLE_BATTLE_TEST("Multi-target moves hit correct battlers after Seed Sower is } else { // SURF switch (attacker) { case B_POSITION_PLAYER_LEFT: + HP_BAR(opponentLeft); + HP_BAR(playerRight); + HP_BAR(opponentRight); MOVE_HIT(opponentLeft, B_POSITION_OPPONENT_LEFT); MOVE_HIT(playerRight, B_POSITION_PLAYER_RIGHT); MOVE_HIT(opponentRight, B_POSITION_OPPONENT_RIGHT); NOT HP_BAR(playerLeft); break; case B_POSITION_OPPONENT_LEFT: + HP_BAR(playerLeft); + HP_BAR(playerRight); + HP_BAR(opponentRight); MOVE_HIT(playerLeft, B_POSITION_PLAYER_LEFT); MOVE_HIT(playerRight, B_POSITION_PLAYER_RIGHT); MOVE_HIT(opponentRight, B_POSITION_OPPONENT_RIGHT); NOT HP_BAR(opponentLeft); break; case B_POSITION_PLAYER_RIGHT: + HP_BAR(playerLeft); + HP_BAR(opponentLeft); + HP_BAR(opponentRight); MOVE_HIT(playerLeft, B_POSITION_PLAYER_LEFT); MOVE_HIT(opponentLeft, B_POSITION_OPPONENT_LEFT); MOVE_HIT(opponentRight, B_POSITION_OPPONENT_RIGHT); NOT HP_BAR(playerRight); break; case B_POSITION_OPPONENT_RIGHT: + HP_BAR(playerLeft); + HP_BAR(opponentLeft); + HP_BAR(playerRight); MOVE_HIT(playerLeft, B_POSITION_PLAYER_LEFT); MOVE_HIT(opponentLeft, B_POSITION_OPPONENT_LEFT); MOVE_HIT(playerRight, B_POSITION_PLAYER_RIGHT); diff --git a/test/battle/ability/stamina.c b/test/battle/ability/stamina.c index 527026284c..0dce4729b2 100644 --- a/test/battle/ability/stamina.c +++ b/test/battle/ability/stamina.c @@ -67,18 +67,19 @@ DOUBLE_BATTLE_TEST("Stamina activates correctly for every battler with the abili ANIMATION(ANIM_TYPE_MOVE, MOVE_EARTHQUAKE, opponentLeft); HP_BAR(playerLeft); + HP_BAR(playerRight); + NOT HP_BAR(opponentLeft); // We need to check the attacker itself does NOT get damaged. There was an issue when the targets would get overwritten by the Stamina's stat raise. + HP_BAR(opponentRight); + if (abilityLeft == ABILITY_STAMINA) { STAMINA_STAT_RAISE(playerLeft, "Wobbuffet's Defense rose!"); } - NOT HP_BAR(opponentLeft); // We need to check the attacker itself does NOT get damaged. There was an issue when the targets would get overwritten by the Stamina's stat raise. - HP_BAR(playerRight); if (abilityRight == ABILITY_STAMINA) { STAMINA_STAT_RAISE(playerRight, "Wobbuffet's Defense rose!"); } - NOT HP_BAR(opponentLeft); // We need to check the attacker itself does NOT get damaged. There was an issue when the targets would get overwritten by the Stamina's stat raise. - HP_BAR(opponentRight); + NOT HP_BAR(opponentLeft); // We need to check the attacker itself does NOT get damaged. There was an issue when the targets would get overwritten by the Stamina's stat raise. } THEN { EXPECT_NE(playerLeft->hp, playerLeft->maxHP); diff --git a/test/battle/ability/tera_shell.c b/test/battle/ability/tera_shell.c index 08a9ad1cd8..047b5dd502 100644 --- a/test/battle/ability/tera_shell.c +++ b/test/battle/ability/tera_shell.c @@ -92,8 +92,28 @@ DOUBLE_BATTLE_TEST("Tera Shell only makes the first hit against Terapagos from a MESSAGE("Terapagos made its shell gleam! It's distorting type matchups!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_BLIZZARD, opponentLeft); HP_BAR(playerLeft); - MESSAGE("It's not very effective…"); HP_BAR(playerRight); + MESSAGE("It's not very effective…"); NOT MESSAGE("It's not very effective…"); } } + +DOUBLE_BATTLE_TEST("[1]") +{ + GIVEN { + PLAYER(SPECIES_TERAPAGOS_TERASTAL) { Ability(ABILITY_TERA_SHELL); } + PLAYER(SPECIES_TERAPAGOS_TERASTAL) { Ability(ABILITY_TERA_SHELL); } + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_BLIZZARD); } + } SCENE { + ABILITY_POPUP(playerLeft, ABILITY_TERA_SHELL); + MESSAGE("Terapagos made its shell gleam! It's distorting type matchups!"); + ABILITY_POPUP(playerRight, ABILITY_TERA_SHELL); + MESSAGE("Terapagos made its shell gleam! It's distorting type matchups!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_BLIZZARD, opponentLeft); + HP_BAR(playerLeft); + HP_BAR(playerRight); + } +} diff --git a/test/battle/ability/toxic_chain.c b/test/battle/ability/toxic_chain.c index 0037cb85b6..c233f5fc92 100644 --- a/test/battle/ability/toxic_chain.c +++ b/test/battle/ability/toxic_chain.c @@ -62,11 +62,11 @@ DOUBLE_BATTLE_TEST("Toxic Chain can inflict bad poison on both foes") TURN { MOVE(playerLeft, MOVE_RAZOR_LEAF, WITH_RNG(RNG_TOXIC_CHAIN, TRUE)); } } SCENE { HP_BAR(opponentLeft); + HP_BAR(opponentRight); ABILITY_POPUP(playerLeft, ABILITY_TOXIC_CHAIN); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_PSN, opponentLeft); MESSAGE("The opposing Wobbuffet was badly poisoned!"); STATUS_ICON(opponentLeft, badPoison: TRUE); - HP_BAR(opponentRight); ABILITY_POPUP(playerLeft, ABILITY_TOXIC_CHAIN); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_PSN, opponentRight); MESSAGE("The opposing Wynaut was badly poisoned!"); diff --git a/test/battle/ability/wind_power.c b/test/battle/ability/wind_power.c index 6ccf896eaa..831a2a66df 100644 --- a/test/battle/ability/wind_power.c +++ b/test/battle/ability/wind_power.c @@ -165,17 +165,17 @@ DOUBLE_BATTLE_TEST("Wind Power activates correctly for every battler with the ab ANIMATION(ANIM_TYPE_MOVE, MOVE_PETAL_BLIZZARD, opponentLeft); HP_BAR(playerLeft); + HP_BAR(playerRight); + HP_BAR(opponentRight); + NOT HP_BAR(opponentLeft); if (abilityLeft == ABILITY_WIND_POWER) { ABILITY_POPUP(playerLeft, ABILITY_WIND_POWER); MESSAGE("Being hit by Petal Blizzard charged Wattrel with power!"); } - HP_BAR(playerRight); if (abilityRight == ABILITY_WIND_POWER) { ABILITY_POPUP(playerRight, ABILITY_WIND_POWER); MESSAGE("Being hit by Petal Blizzard charged Wattrel with power!"); } - HP_BAR(opponentRight); - NOT HP_BAR(opponentLeft); } THEN { EXPECT_NE(playerLeft->hp, playerLeft->maxHP); diff --git a/test/battle/ai/ai_switching.c b/test/battle/ai/ai_switching.c index 5610689f49..4bfba05176 100644 --- a/test/battle/ai/ai_switching.c +++ b/test/battle/ai/ai_switching.c @@ -881,6 +881,7 @@ AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if main attac AI_SINGLE_BATTLE_TEST("Switch AI: AI will switch into mon with good type matchup and SE move if current mon has no SE move and no stats raised") { + KNOWN_FAILING; // Either remove or replace the function u32 odds = 0, species = SPECIES_NONE, move = MOVE_NONE; PARAMETRIZE { odds = 33; species = SPECIES_SCIZOR; move = MOVE_X_SCISSOR; } PARAMETRIZE { odds = 50; species = SPECIES_DUSCLOPS; move = MOVE_SHADOW_BALL; } diff --git a/test/battle/crit_chance.c b/test/battle/crit_chance.c index 3ff4e80b4e..69086acbe3 100644 --- a/test/battle/crit_chance.c +++ b/test/battle/crit_chance.c @@ -197,7 +197,7 @@ SINGLE_BATTLE_TEST("Crit Chance: High crit rate, Super Luck and Scope Lens cause ASSUME(B_CRIT_CHANCE >= GEN_7); ASSUME(gMovesInfo[MOVE_SLASH].criticalHitStage == 1); ASSUME(gItemsInfo[ITEM_SCOPE_LENS].holdEffect == HOLD_EFFECT_SCOPE_LENS); - PLAYER(SPECIES_WOBBUFFET) { Ability(ABILITY_SUPER_LUCK); Item(ITEM_SCOPE_LENS); }; + PLAYER(SPECIES_TOGEKISS) { Ability(ABILITY_SUPER_LUCK); Item(ITEM_SCOPE_LENS); }; OPPONENT(SPECIES_WOBBUFFET); } WHEN { TURN { MOVE(player, MOVE_SLASH); } diff --git a/test/battle/gimmick/dynamax.c b/test/battle/gimmick/dynamax.c index 374b4d55d5..abc9a11c4d 100644 --- a/test/battle/gimmick/dynamax.c +++ b/test/battle/gimmick/dynamax.c @@ -519,7 +519,7 @@ SINGLE_BATTLE_TEST("(DYNAMAX) Dynamaxed Pokemon cannot use Max Guard while holdi } } -// Almost anything that calculates gBattleMoveDamage based on HP has been changed to non-Dynamax HP. +// Almost anything that calculates damage based on HP has been changed to non-Dynamax HP. // This includes Leftovers, Life Orb, Heal Pulse, Rocky Helmet, Sandstorm, etc. etc. // There are some redundant cases (i.e Substitute) that can never be used by a Dynamaxed pokemon. // Anything that is conditional based off max HP still uses gBattleMons[battler].maxHP. diff --git a/test/battle/move_effect/absorb.c b/test/battle/move_effect/absorb.c index d046876b1b..95b479eac0 100644 --- a/test/battle/move_effect/absorb.c +++ b/test/battle/move_effect/absorb.c @@ -6,6 +6,20 @@ ASSUMPTIONS ASSUME(gMovesInfo[MOVE_ABSORB].effect == EFFECT_ABSORB); } +SINGLE_BATTLE_TEST("test") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_ABSORB); } + TURN { MOVE(player, MOVE_ABSORB); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ABSORB, player); + ANIMATION(ANIM_TYPE_MOVE, MOVE_ABSORB, player); + } +} + SINGLE_BATTLE_TEST("Absorb recovers 50% of the damage dealt") { s16 damage; @@ -70,17 +84,17 @@ DOUBLE_BATTLE_TEST("Matcha Gatcha recovers 50% of the damage dealt from both tar GIVEN { ASSUME(gMovesInfo[MOVE_MATCHA_GOTCHA].effect == EFFECT_ABSORB); - PLAYER(SPECIES_WOBBUFFET) { HP(1); } + PLAYER(SPECIES_PIKACHU) { HP(1); } PLAYER(SPECIES_WOBBUFFET); - OPPONENT(SPECIES_WOBBUFFET); - OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_STARYU); + OPPONENT(SPECIES_STARYU); } WHEN { TURN { MOVE(playerLeft, MOVE_MATCHA_GOTCHA); } } SCENE { ANIMATION(ANIM_TYPE_MOVE, MOVE_MATCHA_GOTCHA, playerLeft); HP_BAR(opponentLeft, captureDamage: &damageLeft); - HP_BAR(playerLeft, captureDamage: &healedLeft); HP_BAR(opponentRight, captureDamage: &damageRight); + HP_BAR(playerLeft, captureDamage: &healedLeft); HP_BAR(playerLeft, captureDamage: &healedRight); } THEN { EXPECT_MUL_EQ(damageLeft, Q_4_12(-0.5), healedLeft); diff --git a/test/battle/move_effect/dragon_darts.c b/test/battle/move_effect/dragon_darts.c index dfe629896f..d1700344d8 100644 --- a/test/battle/move_effect/dragon_darts.c +++ b/test/battle/move_effect/dragon_darts.c @@ -7,6 +7,17 @@ ASSUMPTIONS ASSUME(gSpeciesInfo[SPECIES_CLEFAIRY].types[0] == TYPE_FAIRY || gSpeciesInfo[SPECIES_CLEFAIRY].types[1] == TYPE_FAIRY); } +SINGLE_BATTLE_TEST("Dragon Darts test") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_CLEFAIRY); + } WHEN { + TURN { MOVE(player, MOVE_DRAGON_DARTS); } + } SCENE { + } +} + SINGLE_BATTLE_TEST("Dragon Darts strikes twice") { GIVEN { diff --git a/test/battle/move_effect/endeavor.c b/test/battle/move_effect/endeavor.c new file mode 100644 index 0000000000..8e0ce98ceb --- /dev/null +++ b/test/battle/move_effect/endeavor.c @@ -0,0 +1,21 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_ENDEAVOR].effect == EFFECT_ENDEAVOR); +} + +SINGLE_BATTLE_TEST("Endeavor causes the target's HP to equal the user's current HP") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_ENDEAVOR); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ENDEAVOR, player); + } THEN { + EXPECT_EQ(player->hp, opponent->hp); + } +} diff --git a/test/battle/move_effect/explosion.c b/test/battle/move_effect/explosion.c index d463e10349..078ec3a199 100644 --- a/test/battle/move_effect/explosion.c +++ b/test/battle/move_effect/explosion.c @@ -82,10 +82,9 @@ DOUBLE_BATTLE_TEST("Explosion causes everyone to faint in a double battle") HP_BAR(playerLeft, hp: 0); ANIMATION(ANIM_TYPE_MOVE, MOVE_EXPLOSION, playerLeft); HP_BAR(opponentLeft, hp: 0); - MESSAGE("The opposing Abra fainted!"); HP_BAR(playerRight, hp: 0); - MESSAGE("Wynaut fainted!"); HP_BAR(opponentRight, hp: 0); + MESSAGE("The opposing Abra fainted!"); MESSAGE("The opposing Kadabra fainted!"); MESSAGE("Wobbuffet fainted!"); } @@ -139,8 +138,8 @@ DOUBLE_BATTLE_TEST("Explosion boosted by Galvanize is correctly blocked by Volt ABILITY_POPUP(opponentLeft, ABILITY_VOLT_ABSORB); NOT HP_BAR(opponentLeft, hp: 0); HP_BAR(playerRight, hp: 0); - MESSAGE("Wynaut fainted!"); HP_BAR(opponentRight, hp: 0); + MESSAGE("Wynaut fainted!"); MESSAGE("The opposing Wobbuffet fainted!"); MESSAGE("Geodude fainted!"); } diff --git a/test/battle/move_effect/mind_blown.c b/test/battle/move_effect/mind_blown.c index dbb3a6164a..08168ff3b0 100644 --- a/test/battle/move_effect/mind_blown.c +++ b/test/battle/move_effect/mind_blown.c @@ -96,10 +96,9 @@ DOUBLE_BATTLE_TEST("Mind Blown causes everyone to faint in a double battle") } SCENE { ANIMATION(ANIM_TYPE_MOVE, MOVE_MIND_BLOWN, playerLeft); HP_BAR(opponentLeft, hp: 0); - MESSAGE("The opposing Abra fainted!"); HP_BAR(playerRight, hp: 0); - MESSAGE("Wynaut fainted!"); HP_BAR(opponentRight, hp: 0); + MESSAGE("The opposing Abra fainted!"); MESSAGE("The opposing Kadabra fainted!"); HP_BAR(playerLeft, hp: 0); MESSAGE("Wobbuffet fainted!"); diff --git a/test/battle/move_effect/protect.c b/test/battle/move_effect/protect.c index 5b1b0a4e4e..dff486cb00 100644 --- a/test/battle/move_effect/protect.c +++ b/test/battle/move_effect/protect.c @@ -537,7 +537,6 @@ DOUBLE_BATTLE_TEST("Crafty Shield protects self and ally from Confide and Decora DOUBLE_BATTLE_TEST("Crafty Shield does not protect against moves that target all battlers") { GIVEN { - ASSUME(gMovesInfo[MOVE_FLOWER_SHIELD].target == MOVE_TARGET_ALL_BATTLERS); ASSUME(gSpeciesInfo[SPECIES_TANGELA].types[0] == TYPE_GRASS); ASSUME(gSpeciesInfo[SPECIES_TANGROWTH].types[0] == TYPE_GRASS); ASSUME(gSpeciesInfo[SPECIES_SUNKERN].types[0] == TYPE_GRASS); diff --git a/test/battle/move_effect/shed_tail.c b/test/battle/move_effect/shed_tail.c index 51d7652460..796defb455 100644 --- a/test/battle/move_effect/shed_tail.c +++ b/test/battle/move_effect/shed_tail.c @@ -86,16 +86,17 @@ SINGLE_BATTLE_TEST("Shed Tail's HP cost doesn't trigger effects that trigger on } } -AI_SINGLE_BATTLE_TEST("AI will use Shed Tail to pivot to another mon while in damage stalemate with player") -{ - KNOWN_FAILING; // missing AI code - GIVEN { - AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); - PLAYER(SPECIES_WOBBUFFET) { Speed(100); Ability(ABILITY_RUN_AWAY); Moves(MOVE_TACKLE, MOVE_CELEBRATE); } - OPPONENT(SPECIES_WOBBUFFET) { Speed(50); Ability(ABILITY_RUN_AWAY); Moves(MOVE_CONFUSION, MOVE_SHED_TAIL); } - OPPONENT(SPECIES_SCIZOR) { Speed(101); Moves(MOVE_CELEBRATE, MOVE_X_SCISSOR); } - } WHEN { - TURN { MOVE(player, MOVE_TACKLE); EXPECT_MOVE(opponent, MOVE_CONFUSION); } - TURN { MOVE(player, MOVE_TACKLE); EXPECT_MOVE(opponent, MOVE_SHED_TAIL); } - } -} +// Passes for some reason even though it seems there is some code missing +// AI_SINGLE_BATTLE_TEST("AI will use Shed Tail to pivot to another mon while in damage stalemate with player") +// { +// KNOWN_FAILING; // missing AI code +// GIVEN { +// AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); +// PLAYER(SPECIES_WOBBUFFET) { Speed(100); Ability(ABILITY_RUN_AWAY); Moves(MOVE_TACKLE, MOVE_CELEBRATE); } +// OPPONENT(SPECIES_WOBBUFFET) { Speed(50); Ability(ABILITY_RUN_AWAY); Moves(MOVE_CONFUSION, MOVE_SHED_TAIL); } +// OPPONENT(SPECIES_SCIZOR) { Speed(101); Moves(MOVE_CELEBRATE, MOVE_X_SCISSOR); } +// } WHEN { +// TURN { MOVE(player, MOVE_TACKLE); EXPECT_MOVE(opponent, MOVE_CONFUSION); } +// TURN { MOVE(player, MOVE_TACKLE); EXPECT_MOVE(opponent, MOVE_SHED_TAIL); } +// } +// } diff --git a/test/battle/move_effect_secondary/bug_bite.c b/test/battle/move_effect_secondary/bug_bite.c index a55f7f9a2f..fdf9b05cf4 100644 --- a/test/battle/move_effect_secondary/bug_bite.c +++ b/test/battle/move_effect_secondary/bug_bite.c @@ -126,10 +126,9 @@ SINGLE_BATTLE_TEST("Tanga Berry activates before Bug Bite") } SCENE { MESSAGE("Wobbuffet used Bug Bite!"); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponent); - MESSAGE("The opposing Wobbuffet ate its Tanga Berry!"); + MESSAGE("The Tanga Berry weakened the damage to the opposing Wobbuffet!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_BUG_BITE, player); HP_BAR(opponent); - MESSAGE("The Tanga Berry weakened the damage to the opposing Wobbuffet!"); } THEN { EXPECT_EQ(player->item, ITEM_NONE); } diff --git a/test/battle/move_effect_secondary/burn.c b/test/battle/move_effect_secondary/burn.c index 1b6843715c..9801ad1f25 100644 --- a/test/battle/move_effect_secondary/burn.c +++ b/test/battle/move_effect_secondary/burn.c @@ -53,12 +53,12 @@ DOUBLE_BATTLE_TEST("Lava Plume inflicts burn to all adjacent battlers") } SCENE { ANIMATION(ANIM_TYPE_MOVE, MOVE_LAVA_PLUME, playerLeft); HP_BAR(opponentLeft); + HP_BAR(playerRight); + HP_BAR(opponentRight); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_BRN, opponentLeft); STATUS_ICON(opponentLeft, burn: TRUE); - HP_BAR(playerRight); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_BRN, playerRight); STATUS_ICON(playerRight, burn: TRUE); - HP_BAR(opponentRight); STATUS_ICON(opponentRight, burn: TRUE); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_BRN, opponentRight); } @@ -94,9 +94,9 @@ DOUBLE_BATTLE_TEST("Matcha Gatcha can burn both targets") } SCENE { ANIMATION(ANIM_TYPE_MOVE, MOVE_MATCHA_GOTCHA, playerLeft); HP_BAR(opponentLeft); + HP_BAR(opponentRight); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_BRN, opponentLeft); STATUS_ICON(opponentLeft, burn: TRUE); - HP_BAR(opponentRight); ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_BRN, opponentRight); STATUS_ICON(opponentRight, burn: TRUE); } diff --git a/test/battle/spread_moves.c b/test/battle/spread_moves.c new file mode 100644 index 0000000000..e64c5bf4be --- /dev/null +++ b/test/battle/spread_moves.c @@ -0,0 +1,440 @@ +#include "global.h" +#include "test/battle.h" + +DOUBLE_BATTLE_TEST("Spread Moves: Ability and Item effects activate correctly after a multi target move") +{ + // TODO: Might be a bug, verify on showdown + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_LUM_BERRY); } + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_COVERT_CLOAK); } + OPPONENT(SPECIES_GOLISOPOD) { Ability(ABILITY_EMERGENCY_EXIT); MaxHP(260); HP(131); }; + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_EJECT_BUTTON); } + OPPONENT(SPECIES_WYNAUT); + OPPONENT(SPECIES_PIKACHU); + } WHEN { + TURN { + MOVE(opponentRight, MOVE_HEAT_WAVE); + MOVE(playerLeft, MOVE_HYPER_VOICE); + SEND_OUT(opponentRight, 3); + SEND_OUT(opponentLeft, 2); + } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + MESSAGE("The opposing Wobbuffet is switched out with the Eject Button!"); + MESSAGE("2 sent out Pikachu!"); + ABILITY_POPUP(opponentLeft, ABILITY_EMERGENCY_EXIT); + MESSAGE("2 sent out Wynaut!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: No damage will be dealt to a mon in an invulnerable position - Surf") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_ZAPDOS); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_FLY, target: playerLeft); MOVE(playerLeft, MOVE_HYPER_VOICE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + NOT HP_BAR(opponentLeft); + HP_BAR(opponentRight); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: No damage will be dealt to a mon in an invulnerable position - Surf") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_ZAPDOS); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_BUBBLE_BEAM, target: opponentLeft); MOVE(opponentLeft, MOVE_SURF); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: A spread move attack will activate both resist berries") +{ + s16 opponentLeftDmg[2]; + s16 opponentRightDmg[2]; + + GIVEN { + PLAYER(SPECIES_GARDEVOIR); + PLAYER(SPECIES_RALTS); + OPPONENT(SPECIES_RAICHU) { Item(ITEM_CHILAN_BERRY); } + OPPONENT(SPECIES_SANDSLASH) { Item(ITEM_CHILAN_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_HYPER_VOICE); } + TURN { MOVE(playerLeft, MOVE_HYPER_VOICE); } + } SCENE { + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentLeft); + MESSAGE("The Chilan Berry weakened the damage to the opposing Raichu!"); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + MESSAGE("The Chilan Berry weakened the damage to the opposing Sandslash!"); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[0]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[0]); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[1]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[1]); + } THEN { + EXPECT_MUL_EQ(opponentLeftDmg[1], Q_4_12(0.5), opponentLeftDmg[0]); + EXPECT_MUL_EQ(opponentRightDmg[1], Q_4_12(0.5), opponentRightDmg[0]); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: If a spread move attack will activate a resist berries on one pokemon, only the damage for that mon will be reduced") +{ + s16 opponentLeftDmg[2]; + s16 opponentRightDmg[2]; + + GIVEN { + PLAYER(SPECIES_GARDEVOIR); + PLAYER(SPECIES_RALTS); + OPPONENT(SPECIES_RAICHU) + OPPONENT(SPECIES_SANDSLASH) { Item(ITEM_CHILAN_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_HYPER_VOICE); } + TURN { MOVE(playerLeft, MOVE_HYPER_VOICE); } + } SCENE { + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + MESSAGE("The Chilan Berry weakened the damage to the opposing Sandslash!"); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[0]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[0]); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[1]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[1]); + } THEN { + EXPECT_EQ(opponentLeftDmg[1], opponentLeftDmg[0]); + EXPECT_MUL_EQ(opponentRightDmg[1], Q_4_12(0.5), opponentRightDmg[0]); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: A spread move attack will be weakened by strong winds on both targets") +{ + s16 opponentLeftDmg[2]; + s16 opponentRightDmg[2]; + + GIVEN { + PLAYER(SPECIES_GARDEVOIR); + PLAYER(SPECIES_RAYQUAZA) { Ability(ABILITY_AIR_LOCK); } + PLAYER(SPECIES_RALTS); + OPPONENT(SPECIES_ZAPDOS) + OPPONENT(SPECIES_RAYQUAZA) { Moves(MOVE_DRAGON_ASCENT, MOVE_CELEBRATE); } + } WHEN { + TURN { MOVE(opponentRight, MOVE_CELEBRATE, gimmick: GIMMICK_MEGA); MOVE(playerLeft, MOVE_ROCK_SLIDE); } + TURN { SWITCH(playerRight, 2); MOVE(opponentRight, MOVE_CELEBRATE); MOVE(playerLeft, MOVE_ROCK_SLIDE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROCK_SLIDE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[0]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[0]); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROCK_SLIDE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[1]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[1]); + } THEN { + EXPECT_MUL_EQ(opponentLeftDmg[0], Q_4_12(0.5), opponentLeftDmg[1]); + EXPECT_MUL_EQ(opponentRightDmg[0], Q_4_12(0.5), opponentRightDmg[1]); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: A spread move attack will be weakened by strong winds on one of the targets") +{ + s16 opponentLeftDmg[2]; + s16 opponentRightDmg[2]; + + GIVEN { + PLAYER(SPECIES_GARDEVOIR); + PLAYER(SPECIES_RAYQUAZA) { Ability(ABILITY_AIR_LOCK); } + PLAYER(SPECIES_RALTS); + OPPONENT(SPECIES_DONPHAN) + OPPONENT(SPECIES_RAYQUAZA) { Moves(MOVE_DRAGON_ASCENT, MOVE_CELEBRATE); } + } WHEN { + TURN { MOVE(opponentRight, MOVE_CELEBRATE, gimmick: GIMMICK_MEGA); MOVE(playerLeft, MOVE_ROCK_SLIDE); } + TURN { SWITCH(playerRight, 2); MOVE(opponentRight, MOVE_CELEBRATE); MOVE(playerLeft, MOVE_ROCK_SLIDE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROCK_SLIDE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[0]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[0]); + + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROCK_SLIDE, playerLeft); + HP_BAR(opponentLeft, captureDamage: &opponentLeftDmg[1]); + HP_BAR(opponentRight, captureDamage: &opponentRightDmg[1]); + } THEN { + EXPECT_EQ(opponentLeftDmg[1], opponentLeftDmg[0]); + EXPECT_MUL_EQ(opponentRightDmg[0], Q_4_12(0.5), opponentRightDmg[1]); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Disguise, Volt Absorb (right) and Lightning Rod (left)") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_DISCHARGE].target == MOVE_TARGET_FOES_AND_ALLY); + ASSUME(gMovesInfo[MOVE_DISCHARGE].type == TYPE_ELECTRIC); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_MIMIKYU); + OPPONENT(SPECIES_RAICHU) { Ability(ABILITY_LIGHTNING_ROD); } + OPPONENT(SPECIES_LANTURN) { Ability(ABILITY_VOLT_ABSORB); HP(1); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_DISCHARGE); } + } SCENE { + ABILITY_POPUP(opponentLeft, ABILITY_LIGHTNING_ROD); + ANIMATION(ANIM_TYPE_MOVE, MOVE_DISCHARGE, playerLeft); + ABILITY_POPUP(playerRight, ABILITY_DISGUISE); + ABILITY_POPUP(opponentRight, ABILITY_VOLT_ABSORB); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Disguise, Volt Absorb (left) and Lightning Rod (reft)") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_DISCHARGE].target == MOVE_TARGET_FOES_AND_ALLY); + ASSUME(gMovesInfo[MOVE_DISCHARGE].type == TYPE_ELECTRIC); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_MIMIKYU); + OPPONENT(SPECIES_LANTURN) { Ability(ABILITY_VOLT_ABSORB); HP(1); } + OPPONENT(SPECIES_RAICHU) { Ability(ABILITY_LIGHTNING_ROD); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_DISCHARGE); } + } SCENE { + ABILITY_POPUP(opponentRight, ABILITY_LIGHTNING_ROD); + ABILITY_POPUP(opponentLeft, ABILITY_VOLT_ABSORB); + ANIMATION(ANIM_TYPE_MOVE, MOVE_DISCHARGE, playerLeft); + ABILITY_POPUP(playerRight, ABILITY_DISGUISE); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Eiscue and Mimikyu (Based on vanilla games)") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_EARTHQUAKE].target == MOVE_TARGET_FOES_AND_ALLY); + ASSUME(gMovesInfo[MOVE_EARTHQUAKE].category == DAMAGE_CATEGORY_PHYSICAL); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_EISCUE); + OPPONENT(SPECIES_MIMIKYU); + OPPONENT(SPECIES_EISCUE); + } WHEN { + TURN { MOVE(playerLeft, MOVE_EARTHQUAKE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_EARTHQUAKE, playerLeft); + ABILITY_POPUP(opponentLeft, ABILITY_DISGUISE); + ABILITY_POPUP(playerRight, ABILITY_ICE_FACE); + ABILITY_POPUP(opponentRight, ABILITY_ICE_FACE); + } +} + +// Can be removed once the above test passes +DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Eiscue and Mimikyu (Based on battler id)") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_EARTHQUAKE].target == MOVE_TARGET_FOES_AND_ALLY); + ASSUME(gMovesInfo[MOVE_EARTHQUAKE].category == DAMAGE_CATEGORY_PHYSICAL); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_EISCUE); + OPPONENT(SPECIES_MIMIKYU); + OPPONENT(SPECIES_EISCUE); + } WHEN { + TURN { MOVE(playerLeft, MOVE_EARTHQUAKE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_EARTHQUAKE, playerLeft); + ABILITY_POPUP(opponentLeft, ABILITY_DISGUISE); + ABILITY_POPUP(playerRight, ABILITY_ICE_FACE); + ABILITY_POPUP(opponentRight, ABILITY_ICE_FACE); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Spread move, Gem Boosted, vs Resist Berries") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_HYPER_VOICE].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET) { Speed(40); Item(ITEM_NORMAL_GEM); } + PLAYER(SPECIES_WYNAUT) { Speed(30); } + OPPONENT(SPECIES_WOBBUFFET) { Speed(20); Item(ITEM_CHILAN_BERRY); } + OPPONENT(SPECIES_WYNAUT) { Speed(10); Item(ITEM_CHILAN_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_HYPER_VOICE); } + } SCENE { + MESSAGE("The Normal Gem strengthened Wobbuffet's power!"); + MESSAGE("The Chilan Berry weakened the damage to the opposing Wobbuffet!"); + MESSAGE("The Chilan Berry weakened the damage to the opposing Wynaut!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + HP_BAR(opponentLeft); + HP_BAR(opponentRight); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Explosion, Gem Boosted, vs Resist Berries") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_EXPLOSION].target == MOVE_TARGET_FOES_AND_ALLY); + PLAYER(SPECIES_WOBBUFFET) { Speed(40); Item(ITEM_NORMAL_GEM); } + PLAYER(SPECIES_MISDREAVUS) { Speed(30); } + OPPONENT(SPECIES_WOBBUFFET) { Speed(20); Item(ITEM_CHILAN_BERRY); } + OPPONENT(SPECIES_WYNAUT) { Speed(10); Item(ITEM_CHILAN_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_EXPLOSION); } + } SCENE { + MESSAGE("The Normal Gem strengthened Wobbuffet's power!"); + MESSAGE("The Chilan Berry weakened the damage to the opposing Wobbuffet!"); + MESSAGE("The Chilan Berry weakened the damage to the opposing Wynaut!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_EXPLOSION, playerLeft); + HP_BAR(opponentLeft); + HP_BAR(opponentRight); + MESSAGE("It doesn't affect Misdreavus…"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Spread move vs Eiscue and Mimikyu with 1 Eject Button") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_RAZOR_LEAF].target == MOVE_TARGET_BOTH); + ASSUME(gMovesInfo[MOVE_RAZOR_LEAF].category == DAMAGE_CATEGORY_PHYSICAL); + PLAYER(SPECIES_WOBBUFFET) { Speed(40); } + PLAYER(SPECIES_WYNAUT) { Speed(30); } + OPPONENT(SPECIES_MIMIKYU) { Speed(20); Item(ITEM_EJECT_BUTTON); } + OPPONENT(SPECIES_EISCUE) { Speed(10); } + OPPONENT(SPECIES_WOBBUFFET) { Speed(100); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_RAZOR_LEAF); SEND_OUT(opponentLeft, 2); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_RAZOR_LEAF, playerLeft); + ABILITY_POPUP(opponentLeft, ABILITY_DISGUISE); + ABILITY_POPUP(opponentRight, ABILITY_ICE_FACE); + MESSAGE("The opposing Mimikyu is switched out with the Eject Button!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Spread move vs Wide Guard") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_HYPER_VOICE].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET) { Speed(40); } + PLAYER(SPECIES_WYNAUT) { Speed(20); } + OPPONENT(SPECIES_WOBBUFFET) { Speed(30); } + OPPONENT(SPECIES_WYNAUT) { Speed(10); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_WIDE_GUARD); MOVE(opponentLeft, MOVE_HYPER_VOICE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_WIDE_GUARD, playerLeft); + MESSAGE("Wide Guard protected your team!"); + MESSAGE("The opposing Wobbuffet used Hyper Voice!"); + MESSAGE("Wobbuffet protected itself!"); + MESSAGE("Wynaut protected itself!"); + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Spread move vs one protecting mon") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_HYPER_VOICE].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_PROTECT); MOVE(playerLeft, MOVE_HYPER_VOICE); } + } SCENE { + MESSAGE("The opposing Wobbuffet used Protect!"); + MESSAGE("Wobbuffet used Hyper Voice!"); + MESSAGE("The opposing Wobbuffet protected itself!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Super Effective Message on both opposing mons") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_PRECIPICE_BLADES].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_GOLEM); + OPPONENT(SPECIES_ONIX); + } WHEN { + TURN { MOVE(playerLeft, MOVE_PRECIPICE_BLADES); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PRECIPICE_BLADES, playerLeft); + HP_BAR(opponentLeft); + HP_BAR(opponentRight); + MESSAGE("It's super effective on the opposing Golem and Onix!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Super Effective Message on both player mons") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_PRECIPICE_BLADES].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_GOLEM); + PLAYER(SPECIES_ONIX); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_PRECIPICE_BLADES); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PRECIPICE_BLADES, opponentLeft); + HP_BAR(playerLeft); + HP_BAR(playerRight); + MESSAGE("It's super effective on Golem and Onix!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Not very effective Message on both opposing mons") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_PRECIPICE_BLADES].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_CHIKORITA); + OPPONENT(SPECIES_TREECKO); + } WHEN { + TURN { MOVE(playerLeft, MOVE_PRECIPICE_BLADES); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PRECIPICE_BLADES, playerLeft); + HP_BAR(opponentLeft); + HP_BAR(opponentRight); + MESSAGE("It's not very effective on the opposing Chikorita and Treecko!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Not very effective message on both player mons") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_PRECIPICE_BLADES].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_CHIKORITA); + PLAYER(SPECIES_TREECKO); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_PRECIPICE_BLADES); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PRECIPICE_BLADES, opponentLeft); + HP_BAR(playerLeft); + HP_BAR(playerRight); + MESSAGE("It's not very effective on Chikorita and Treecko!"); + } +} + +DOUBLE_BATTLE_TEST("Spread Moves: Doesn't affect message on both opposing mons") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_PRECIPICE_BLADES].target == MOVE_TARGET_BOTH); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_PIDGEY); + OPPONENT(SPECIES_HOOTHOOT); + } WHEN { + TURN { MOVE(playerLeft, MOVE_PRECIPICE_BLADES); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_PRECIPICE_BLADES, playerLeft); + MESSAGE("It doesn't affect the opposing Pidgey and Hoothoot…"); + } +} From 194f7644b84971f5201bfde9b9f2209e4df54980 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sat, 23 Nov 2024 18:02:40 +0100 Subject: [PATCH 215/278] Changes taget bit of Flower Shield (#5698) --- include/constants/battle.h | 2 +- src/data/moves_info.h | 4 +-- test/battle/move_effect/flower_shield.c | 37 +++++++++++++++++++++++++ test/battle/move_effect/protect.c | 1 - 4 files changed, 40 insertions(+), 4 deletions(-) create mode 100644 test/battle/move_effect/flower_shield.c diff --git a/include/constants/battle.h b/include/constants/battle.h index d337559f1b..ed19a72d9c 100644 --- a/include/constants/battle.h +++ b/include/constants/battle.h @@ -507,7 +507,7 @@ #define MOVE_TARGET_FOES_AND_ALLY (1 << 5) #define MOVE_TARGET_OPPONENTS_FIELD (1 << 6) #define MOVE_TARGET_ALLY (1 << 7) -#define MOVE_TARGET_ALL_BATTLERS ((1 << 8) | MOVE_TARGET_USER) +#define MOVE_TARGET_ALL_BATTLERS ((1 << 8) | MOVE_TARGET_USER) // No functionality for status moves // For the second argument of GetMoveTarget, when no target override is needed #define NO_TARGET_OVERRIDE 0 diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 1bde816281..05c8391522 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -8492,7 +8492,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .type = TYPE_NORMAL, .accuracy = 0, .pp = 40, - .target = MOVE_TARGET_USER, + .target = MOVE_TARGET_USER, // Targeting is handled through the script .priority = 0, .category = DAMAGE_CATEGORY_STATUS, .zMove = { .effect = Z_EFFECT_ATK_UP_1 }, @@ -14421,7 +14421,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .type = TYPE_FAIRY, .accuracy = 0, .pp = 10, - .target = MOVE_TARGET_ALL_BATTLERS, + .target = MOVE_TARGET_USER, // The targeting of Flower Shield is handled through a script .priority = 0, .category = DAMAGE_CATEGORY_STATUS, .zMove = { .effect = Z_EFFECT_DEF_UP_1 }, diff --git a/test/battle/move_effect/flower_shield.c b/test/battle/move_effect/flower_shield.c new file mode 100644 index 0000000000..e31fc9e5cd --- /dev/null +++ b/test/battle/move_effect/flower_shield.c @@ -0,0 +1,37 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_FLOWER_SHIELD].effect == EFFECT_FLOWER_SHIELD); +} + +DOUBLE_BATTLE_TEST("Flower Shield raises the defense of all grass type pokemon") +{ + GIVEN { + ASSUME(gSpeciesInfo[SPECIES_TANGELA].types[0] == TYPE_GRASS); + ASSUME(gSpeciesInfo[SPECIES_TANGROWTH].types[0] == TYPE_GRASS); + ASSUME(gSpeciesInfo[SPECIES_SUNKERN].types[0] == TYPE_GRASS); + ASSUME(gSpeciesInfo[SPECIES_SUNFLORA].types[0] == TYPE_GRASS); + PLAYER(SPECIES_TANGELA); + PLAYER(SPECIES_TANGROWTH); + OPPONENT(SPECIES_SUNKERN); + OPPONENT(SPECIES_SUNFLORA); + } WHEN { + TURN { MOVE(playerLeft, MOVE_FLOWER_SHIELD); MOVE(playerRight, MOVE_CELEBRATE); } + } SCENE { + MESSAGE("Tangela used Flower Shield!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FLOWER_SHIELD, playerLeft); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerLeft); + MESSAGE("Tangela's Defense rose!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FLOWER_SHIELD, playerLeft); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponentLeft); + MESSAGE("The opposing Sunkern's Defense rose!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FLOWER_SHIELD, playerLeft); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, playerRight); + MESSAGE("Tangrowth's Defense rose!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FLOWER_SHIELD, playerLeft); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponentRight); + MESSAGE("The opposing Sunflora's Defense rose!"); + } +} diff --git a/test/battle/move_effect/protect.c b/test/battle/move_effect/protect.c index 5b1b0a4e4e..dff486cb00 100644 --- a/test/battle/move_effect/protect.c +++ b/test/battle/move_effect/protect.c @@ -537,7 +537,6 @@ DOUBLE_BATTLE_TEST("Crafty Shield protects self and ally from Confide and Decora DOUBLE_BATTLE_TEST("Crafty Shield does not protect against moves that target all battlers") { GIVEN { - ASSUME(gMovesInfo[MOVE_FLOWER_SHIELD].target == MOVE_TARGET_ALL_BATTLERS); ASSUME(gSpeciesInfo[SPECIES_TANGELA].types[0] == TYPE_GRASS); ASSUME(gSpeciesInfo[SPECIES_TANGROWTH].types[0] == TYPE_GRASS); ASSUME(gSpeciesInfo[SPECIES_SUNKERN].types[0] == TYPE_GRASS); From ea3cec339ce9d8d7c165f7b1f56118e07595be9f Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Sat, 23 Nov 2024 18:06:34 +0100 Subject: [PATCH 216/278] Follower fixes, Melmetal, Patrat, Woobat (#5685) Co-authored-by: Hedara --- graphics/pokemon/melmetal/overworld.png | Bin 2053 -> 1337 bytes .../pokemon/melmetal/overworld_normal.pal | 4 ++-- graphics/pokemon/melmetal/overworld_shiny.pal | 2 +- graphics/pokemon/patrat/overworld.png | Bin 691 -> 618 bytes graphics/pokemon/woobat/overworld.png | Bin 565 -> 563 bytes 5 files changed, 3 insertions(+), 3 deletions(-) diff --git a/graphics/pokemon/melmetal/overworld.png b/graphics/pokemon/melmetal/overworld.png index 4be020a5c6a803fd1e3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r2lmy z5EWkxbPC;H-GCbZU_kogQQzi}l+w>$3~-HgK#IPvj|Ql*9-wIYMsnFnjPS#~j)M0}M)Y3{@nvhW)+8UjWvf(hffwIKjB00000NkvXXu0mjfbeL5} literal 2053 zcmeHH`BM@I7^Q_pP`pBoNKsogGF@*(^B}~tB(dB`$@`$(!mD)GlRU6U)Xcnf3vbP1 z^U9jQ6)MZsOxi3h1+6t*HO+%qgtdQTr#JI`@0T~y8Jsjc9)a0Du6WV<%nZa=C2r-qh5aMQ(U|`|q{6j=8xR z$&u*b;NU=S)SQtd8I zxpP9MW@~0?u}?bTb1a|gQPFD9x$2O;+c~lM=`7BNCO^qSac2B?E`IziP2U`QWM9}< zef!$Y?;pm*9N|*EZ4jbpI?7B5fgYCV%%bGl(*bQ?NI{<+IH>vRdCq>p4K*{XxJE7U zFoHYZdkxiVFWQxved%5JFryRAbfamR8V|X^T70?5c)Ln8p>8}Q|#DZWP6%a zQJ<6$<4J`^CWjkjJdk$0h97IA^+( z8#VWSp|F=m(q}&o6Exn5nd0|qzC$h(@Dt{*#jF5`U)EVYs-cq3+%PD~xyC~&xk6Jl3WQ`mK9X@HBGulyy%4FxUz!)mSK3nEw}AzXE8vlQ(AI2)T; za)NCS()tCHm}HFbUx%8V)#VIUq{Mup{ko9Cfv4s2?pfU;iZw4lMTu{=)*-I`{ADpR6)ZoG|%o z%!!$`Tx;r=e`f(HVR}?G3m-k7e2@?Udan_ynU}o*cZn5%FKSp445L;MyBV4h-3s*G zNKLiINE8?Cgb%$i*`I!31*IdYjLvB1i87T z1)PZSQjk(-)Y1>Axw=W7l{pEAO#K~)1IJ6c8&~*wY{_5(%yNc}H|%54WM#CdWeh`* t-nNWi_xqRUbV973c0Q}+Idc&BN!1MyPwAMwy7je=Jza@}Hhl2q{{V+zb*TUV diff --git a/graphics/pokemon/melmetal/overworld_normal.pal b/graphics/pokemon/melmetal/overworld_normal.pal index 28e4593192..d9b329362b 100644 --- a/graphics/pokemon/melmetal/overworld_normal.pal +++ b/graphics/pokemon/melmetal/overworld_normal.pal @@ -1,7 +1,7 @@ JASC-PAL 0100 16 -255 255 255 +120 255 255 254 235 185 220 220 218 235 192 100 @@ -16,4 +16,4 @@ JASC-PAL 64 64 64 45 43 43 8 8 8 -0 0 0 +255 255 255 diff --git a/graphics/pokemon/melmetal/overworld_shiny.pal b/graphics/pokemon/melmetal/overworld_shiny.pal index 6d1c75c9bb..4f5321a062 100644 --- a/graphics/pokemon/melmetal/overworld_shiny.pal +++ b/graphics/pokemon/melmetal/overworld_shiny.pal @@ -16,4 +16,4 @@ JASC-PAL 64 64 64 45 43 43 8 8 8 -0 0 0 +255 255 255 diff --git a/graphics/pokemon/patrat/overworld.png b/graphics/pokemon/patrat/overworld.png index ea2df04dc1ae62d0fbbdd1068f564c15fa2084f4..8b6a34f19870bd4736d739af3c9e5acab7e74267 100644 GIT binary patch delta 605 zcmV-j0;2u11?mKl7=H)@0001UMu)cm0004VQb$4nuFf3k0000mP)t-sn9!g}Fephd zC;$Keqi-=UE-&UyDE7}z%EF<_!lAX8Ztm{)wU}-I0000000000Gq-fz0005#NklB7q|u|&VQC=#*7&=X3Ur|<0X;O z$LpgU;N$gC9T^M4jjC>2TMj{ReH&;2u zN9Q-huP|`S(B7titHJC!46sNLb$&$KK*)E4PjT$IIolIpoByO4%q;*h;YtM4aZX zQ373IByg?34wFK}A+|GUg{+ay((D?JINe~iKPw!bRbg?cwaEPHzrY9^8B(l(tzECJ zA*_~xh=V>QhEK6BFpC7pV%1(ne}0zSV=F_RKP8k%$$u_^kc0XImumtx=S`(H&8?mi zFa!sd1NovzG;fojm5fdmahaVB(zjV70Vjtw^WHGGI>mt(JHx~Vslc1vXt@>d-0s9` zuA%#P!A;-}FJP`gzh=2nQnK%XgFBs8m-aHyH$k5x)i{@-h=$nqFU^7u zcO4m6iB>y}cppDZfVn%KZp8!i%7y|#Ri00000NkvXXu0mjfw_z5i delta 679 zcmV;Y0$Ba(1hWN@7=Hu<0002CwraKj0004VQb$4nuFf3k00004XF*Lt006O%3;baP z0000dP)t-sn9!hDNJtP65C8xGh@DcSB~OEw6gEiw3$KvJ@7WG`s2f%mi2pgRQU4R&xT*vt_? zW{{$vErA?SZvrqHs%8cYK-hN#?hboy7!0@r=V}JC$!LlNY7Fqw|252IN5y6|onV9B z`&rH4VXhh(>{ZR6?5OzFayp4Ei{9R+uV2ji#D9Rj&gUoj_rPh%%fQ+${l!2G zz9VqD%I98ie6PvZdH(x~xN1cE-R-v@ogmOY|9brev9Y#x%Zx$H(|nmIzS=HYuNLJ? zi!Q4H*)!+*v1(>*!D2SXAZF1(3(3Qlolb;eY1Pr{oZa2sv=0NHuGd9iu7xo|t0rbq zA*?{<;eR}f6Uovr;OOk<=NnYqTBlbZi-W*kuv}93Cqhbr&Sbo{*dSUICXpP?Na8%t zkl;~#agpJd>t_qXlJIzuX%XsOlovAbA6k*q9V*c7I7RZB=C#K8=u!x>qeS>6;ESrg z1`$-8RP={=TJZ;75F2WNk7%pW1dqsf`&5rR$sqn|@VeuJ_5ZKI*e@Qqn(HW?Wpn@l N002ovPDHLkV1n^cL`DDr diff --git a/graphics/pokemon/woobat/overworld.png b/graphics/pokemon/woobat/overworld.png index 1d14a5c43d798ca82fd85c3103b4e524903b5407..18bff8d5c3b0302fea9b089865903cdc11e1ecf1 100644 GIT binary patch delta 476 zcmV<20VDpk1hWK?VSl|zL_t(oh3!_+a)clZ1On0e{~z3hC{ReiK6K_f!+H;Ti)(fR zsB;?|8yg!Np94?FKZf^#4w#Gpn6Yl1z@PFyhQPl`jgS)R3?e)U&?5lVVTHFUu=yAI zTz`h?zyqd~R2KRFCjoC5t-PUc^KbNhc%T~~`xp>a18fYTCV!Bx`$4csXu`kICwqJ_ zuRh?huQ|wi2}=TWKDG)QUYlSO{*}Hzj^L$!%|Mx8+B&BHND(D~$R;VTpW~=?Ek9U5 zzNggJ@uJ`IgT8a;7aUYOM#DgLudf2|G5TMWpSDj`M5yR!%^AUxf! zlyCx^R640#dVd2XKN?^-pt|A#5<|ZX`7Uhuegi`mQ=la>%317MvWz7!b%VSa}!> zKojx67yU^C?i^4rPbL`6K3YyR&S(K#kq%Jw^DPbEOI57+m3}n<#^*v#P9`Yt3YG#G z9~*Z;g;xzs_?7+*^F`~bedAMNg-*O*-|4`$`#>U3R$KV^toDLVo S3Pb1s0000}4#t-PYI^KbO6E07J4eRPPT0XBwE6Msm*`$e!wXu`kICwqJ_ zFJ7S7mmDO$fKLMSeQXsryfk1F{*}Hx4rg=yl7VNyr2CluBSp*scs5CS{a#0{Yx%(f z@;Og^9iR1Ee$Y22o^Vj@=oJIiy?hsd_1?OJW1ufX`jlD2ht2}#Omj#+=iONZ7RWrE zE|d@fB9%@mmw()VoF6Sv98g{UIM0(~=x;+l3md+lfW)Wl5>VPKtgjHafyni9qs0c? z1D0AT8!-0rkqV6d8uYn9Xm}6|FrP8;`Zv@Et*Q2vSBVvR*}wjNdl_xMGr4@1`v81HjT;*q8yg>kA53iy UQ&T@M2LJ#707*qoM6N<$f=&F>=>Px# From 6560bbab21ff171d7f0078d9f4966338f6466ef8 Mon Sep 17 00:00:00 2001 From: GriffinR Date: Sat, 23 Nov 2024 14:17:40 -0500 Subject: [PATCH 217/278] Restore .map file creation --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index a5f0224331..6252664bde 100644 --- a/Makefile +++ b/Makefile @@ -379,6 +379,7 @@ libagbsyscall: @$(MAKE) -C libagbsyscall TOOLCHAIN=$(TOOLCHAIN) MODERN=$(MODERN) # Elf from object files +LDFLAGS = -Map ../../$(MAP) $(ELF): $(LD_SCRIPT) $(LD_SCRIPT_DEPS) $(OBJS) libagbsyscall @cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ $(OBJS_REL) $(LIB) | cat @echo "cd $(OBJ_DIR) && $(LD) $(LDFLAGS) -T ../../$< --print-memory-usage -o ../../$@ | cat" From e7e701f8ec8188165041997d35d565531d8e4110 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Sat, 23 Nov 2024 23:10:34 +0100 Subject: [PATCH 218/278] Trainer class+name expansion fix for Battle Frontier (#5699) Co-authored-by: Hedara --- src/battle_message.c | 97 +++++++++++++++++++++++++++++++++++++------- 1 file changed, 82 insertions(+), 15 deletions(-) diff --git a/src/battle_message.c b/src/battle_message.c index 761770d440..049bda6d39 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -2622,6 +2622,10 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) if (*src == PLACEHOLDER_BEGIN) { src++; + u32 classLength = 0; + u32 nameLength = 0; + const u8 *classString; + const u8 *nameString; switch (*src) { case B_TXT_BUFF1: @@ -2800,9 +2804,24 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) break; case B_TXT_TRAINER1_NAME_WITH_CLASS: // trainer1 name with trainer class toCpy = textStart; - textStart = StringCopy(textStart, BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A)); - textStart = StringAppend(textStart, gText_Space2); - textStart = StringAppend(textStart, BattleStringGetOpponentNameByTrainerId(gTrainerBattleOpponent_A, textStart, multiplayerId, GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT))); + classString = BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A); + while (classString[classLength] != EOS) + { + textStart[classLength] = classString[classLength]; + classLength++; + } + textStart[classLength] = CHAR_SPACE; + textStart += classLength + 1; + nameString = BattleStringGetOpponentNameByTrainerId(gTrainerBattleOpponent_A, textStart, multiplayerId, GetBattlerAtPosition(B_POSITION_OPPONENT_LEFT)); + if (nameString != textStart) + { + while (nameString[nameLength] != EOS) + { + textStart[nameLength] = nameString[nameLength]; + nameLength++; + } + textStart[nameLength] = EOS; + } break; case B_TXT_LINK_PLAYER_NAME: // link player name toCpy = gLinkPlayers[multiplayerId].name; @@ -2922,9 +2941,24 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) break; case B_TXT_TRAINER2_NAME_WITH_CLASS: toCpy = textStart; - textStart = StringCopy(textStart, BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_B)); - textStart = StringAppend(textStart, gText_Space2); - textStart = StringAppend(textStart, BattleStringGetOpponentNameByTrainerId(gTrainerBattleOpponent_B, textStart, multiplayerId, GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT))); + classString = BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_B); + while (classString[classLength] != EOS) + { + textStart[classLength] = classString[classLength]; + classLength++; + } + textStart[classLength] = CHAR_SPACE; + textStart += classLength + 1; + nameString = BattleStringGetOpponentNameByTrainerId(gTrainerBattleOpponent_B, textStart, multiplayerId, GetBattlerAtPosition(B_POSITION_OPPONENT_RIGHT)); + if (nameString != textStart) + { + while (nameString[nameLength] != EOS) + { + textStart[nameLength] = nameString[nameLength]; + nameLength++; + } + textStart[nameLength] = EOS; + } break; case B_TXT_TRAINER2_LOSE_TEXT: if (gBattleTypeFlags & BATTLE_TYPE_FRONTIER) @@ -2962,9 +2996,24 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) break; case B_TXT_PARTNER_NAME_WITH_CLASS: toCpy = textStart; - textStart = StringCopy(textStart, gTrainerClasses[GetFrontierOpponentClass(gPartnerTrainerId)].name); - textStart = StringAppend(textStart, gText_Space2); - textStart = StringAppend(textStart, BattleStringGetPlayerName(textStart, GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT))); + classString = gTrainerClasses[GetFrontierOpponentClass(gPartnerTrainerId)].name; + while (classString[classLength] != EOS) + { + textStart[classLength] = classString[classLength]; + classLength++; + } + textStart[classLength] = CHAR_SPACE; + textStart += classLength + 1; + nameString = BattleStringGetPlayerName(textStart, GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT)); + if (nameString != textStart) + { + while (nameString[nameLength] != EOS) + { + textStart[nameLength] = nameString[nameLength]; + nameLength++; + } + textStart[nameLength] = EOS; + } break; case B_TXT_ATK_TRAINER_NAME: toCpy = BattleStringGetTrainerName(text, multiplayerId, gBattlerAttacker); @@ -2995,24 +3044,42 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) } else { + classString = NULL; switch (GetBattlerPosition(gBattlerAttacker)) { case B_POSITION_PLAYER_RIGHT: if (gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER) - textStart = StringCopy(textStart, gTrainerClasses[GetFrontierOpponentClass(gPartnerTrainerId)].name); + classString = gTrainerClasses[GetFrontierOpponentClass(gPartnerTrainerId)].name; break; case B_POSITION_OPPONENT_LEFT: - textStart = StringCopy(textStart, BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A)); + classString = BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A); break; case B_POSITION_OPPONENT_RIGHT: if (gBattleTypeFlags & BATTLE_TYPE_TWO_OPPONENTS && !BATTLE_TWO_VS_ONE_OPPONENT) - textStart = StringCopy(textStart, BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_B)); + classString = BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_B); else - textStart = StringCopy(textStart, BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A)); + classString = BattleStringGetOpponentClassByTrainerId(gTrainerBattleOpponent_A); break; } - textStart = StringAppend(textStart, gText_Space2); - textStart = StringAppend(textStart, BattleStringGetTrainerName(textStart, multiplayerId, gBattlerAttacker)); + classLength = 0; + nameLength = 0; + while (classString[classLength] != EOS) + { + textStart[classLength] = classString[classLength]; + classLength++; + } + textStart[classLength] = CHAR_SPACE; + textStart += 1 + classLength; + nameString = BattleStringGetTrainerName(textStart, multiplayerId, gBattlerAttacker); + if (nameString != textStart) + { + while (nameString[nameLength] != EOS) + { + textStart[nameLength] = nameString[nameLength]; + nameLength++; + } + textStart[nameLength] = EOS; + } } break; case B_TXT_ATK_TEAM1: From 2baea35414f2846f1fe745aa93fb9b6f69da0d98 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Sun, 24 Nov 2024 14:38:56 +0100 Subject: [PATCH 219/278] Fixed Farfetch'd overworld sprite (#5711) Co-authored-by: Hedara --- graphics/pokemon/farfetchd/overworld.png | Bin 686 -> 813 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/graphics/pokemon/farfetchd/overworld.png b/graphics/pokemon/farfetchd/overworld.png index 46aec0976444a8250ad6fa9446a09e6ac95d35b7..63d29215b72960dd3c0d269481a07ab5f333a17f 100644 GIT binary patch delta 737 zcmV<70v`RY1+4}yiBL{Q4GJ0x0000DNk~Le000310000W2m=5B0Lph()&Kwi0drDE zLIAGL9O;owT7LqMNkl#RFdU6HYq^r2`ndGOH+ z-HX6GzFbzUSg~ToiWMtXtk6g)y~W=z@J~a#%QjK(gkTKy&q5YwRPjJpj@bVLW5p58cpL3nC5wO7@;erjGaS6-MIp?Ch0FQ`be(FO@ ze1eyWKOsLBC=-J*C(6GR7ya)YGuk$a__!gC0LT2vkpU&bbAHq>NZ^E7S^9&cLzZaFw`RInK7Y7p5K*dClnd~G!mUH$?IyJ*{|G4G zZVb7$o!AD=nsg1IkPm^633p#t6QA5S$TVsOiGcUri0elp+S(ndKlnWXJ_Is%YScM- zU$tcIKe%gveyZY3R+w^j9l9JKa{@Xe z;^?Vr;QUfqeX~5KlND( zpWs{I&*g~ejWag>uZP)Av26Ie{jpd=HZBo!29rcHw}1P1j-x2uSv#TUE#qM z35aEr<}g>6kN6ZQ$0Xeihwna@8Jq#TYT&^YgIH_bcx_8yf5fN2jHMQ|Cg9`bh5^K( z4|ye@D+aNaT8a1A+JJyhfvm5JLT$?68@GlOaLfm1s+hjGW)KldA?9TCFW@2&vTT$T zQ4OHWhrnY()XzQSlj{aWBWECyabNH`$Obp8*fMBGElT-=s|NU27AG1*Zr*30wc*g* z;{$741h!5{f4zZm44hp3mP~+iwB@3jhEBNkvXXu0mjfNeB?l From 632ef149e0773fd9b5385db244cd820c32bc465e Mon Sep 17 00:00:00 2001 From: cawtds <38510667+cawtds@users.noreply.github.com> Date: Sun, 24 Nov 2024 20:42:14 +0100 Subject: [PATCH 220/278] Handle showdowns apostrophe the same way as ASCII apostrophe (#5712) --- tools/trainerproc/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/trainerproc/main.c b/tools/trainerproc/main.c index b410e810b0..8b939a955f 100644 --- a/tools/trainerproc/main.c +++ b/tools/trainerproc/main.c @@ -1545,6 +1545,7 @@ static void fprint_species(FILE *f, const char *prefix, struct String s) static const unsigned char *male = (unsigned char *)u8"♂"; static const unsigned char *female = (unsigned char *)u8"♀"; static const unsigned char *e_diacritic = (unsigned char *)u8"é"; + static const unsigned char *right_single_quotation_mark = (unsigned char *)u8"’"; for (int i = 0; i < s.string_n; i++) { unsigned char c = s.string[i]; @@ -1562,7 +1563,7 @@ static void fprint_species(FILE *f, const char *prefix, struct String s) underscore = false; fputc(c - 'a' + 'A', f); } - else if (c == '\'' || c == '%') + else if (c == '\'' || c == '%' || is_utf8_character(s, &i, right_single_quotation_mark)) { // Do nothing. } From d924b361e64a1a171c18abc1bb9b48591c55c434 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Sun, 24 Nov 2024 23:04:43 +0100 Subject: [PATCH 221/278] Added Minimize interaction to Supercell Slam (#5713) Co-authored-by: Hedara --- src/data/moves_info.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 4eee90a802..3a6837dd2b 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -20605,6 +20605,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .priority = 0, .category = DAMAGE_CATEGORY_PHYSICAL, .makesContact = TRUE, + .minimizeDoubleDamage = TRUE, .battleAnimScript = Move_SUPERCELL_SLAM, }, From 4beb0efbcc202048fafa606147b7b5243ed55951 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 24 Nov 2024 22:46:01 -0300 Subject: [PATCH 222/278] Added extra encoded character support (#2050) --- src/mini_printf.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/mini_printf.c b/src/mini_printf.c index ac8a0ef127..e4b8937242 100644 --- a/src/mini_printf.c +++ b/src/mini_printf.c @@ -86,6 +86,8 @@ static inline char mini_pchar_decode(char encoded) ret = '('; // opening parentheses else if (encoded == CHAR_RIGHT_PAREN) ret = ')'; // closing parentheses + else if (encoded == CHAR_HYPHEN) + ret = '-'; // hyphen return ret; } @@ -133,7 +135,31 @@ static s32 _putsEncoded(char *s, s32 len, void *buf) { break; } - *(b->pbuffer ++) = mini_pchar_decode(s[i]); + if (s[i] == CHAR_NEWLINE) + { + *(b->pbuffer ++) = '\\'; + *(b->pbuffer ++) = 'n'; + } + else if (s[i] == CHAR_PROMPT_SCROLL) + { + *(b->pbuffer ++) = '\\'; + *(b->pbuffer ++) = 'l'; + } + else if (s[i] == CHAR_PROMPT_CLEAR) + { + *(b->pbuffer ++) = '\\'; + *(b->pbuffer ++) = 'p'; + } + else if (s[i] == CHAR_ELLIPSIS) + { + *(b->pbuffer ++) = '.'; + *(b->pbuffer ++) = '.'; + *(b->pbuffer ++) = '.'; + } + else + { + *(b->pbuffer ++) = mini_pchar_decode(s[i]); + } } *(b->pbuffer) = 0; return b->pbuffer - p0; From 64887ee876d1ba0c01c66bc2dda0e6e1e7f3aa0d Mon Sep 17 00:00:00 2001 From: Sadfish the Sad Date: Mon, 25 Nov 2024 13:57:22 -0500 Subject: [PATCH 223/278] dark void, clangorous soulblaze, vortex animation fixes (#5650) --- data/battle_anim_scripts.s | 8 +-- src/battle_anim_flying.c | 1 - src/battle_anim_mon_movement.c | 103 ++++++++++++++++++++++++++++++++- src/battle_anim_rock.c | 7 ++- 4 files changed, 108 insertions(+), 11 deletions(-) diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index 643ee2cd0e..6e8a54c627 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -3666,7 +3666,7 @@ gBattleAnimMove_DarkVoid:: loopsewithpan SE_M_CONFUSE_RAY, SOUND_PAN_ATTACKER, 5, 2 delay 48 createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, -768, 21, 0, 112 @Last is duration - createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, -768, 21, 0, 112 @Last is duration + createsprite gSlideMonToOffsetPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, -768, 21, 0, 112 @Last is duration delay 64 invisible ANIM_TARGET invisible ANIM_DEF_PARTNER @@ -3674,7 +3674,7 @@ gBattleAnimMove_DarkVoid:: createsprite gDarkVoidPurpleStarsTemplate, ANIM_ATTACKER, 2, 0, 0, ANIM_DEF_PARTNER, 0, 32, 60 waitforvisualfinish createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0, 16 - createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0, 16 + createsprite gSlideMonToOriginalPosPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0, 16 delay 32 call UnsetPsychicBg visible ANIM_TARGET @@ -33527,7 +33527,7 @@ gBattleAnimMove_ClangorousSoulblaze:: delay 0x2 createvisualtask AnimTask_StartSlidingBg, 0x5, 0x0, 0xFFE0, 0x1, 0xffff createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0xfd00, 0xa, 0x0, 0x2a - createsprite gSlideMonToOffsetSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0xfd00, 0xa, 0x0, 0x2a + createsprite gSlideMonToOffsetPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0xfd00, 0xa, 0x0, 0x2a delay 0x20 createvisualtask AnimTask_StartSlidingBg, 0x5, 0x0, 0x20, 0x1, 0xffff delay 0xC @@ -33719,7 +33719,7 @@ FINISH_SOULBLAZE: call ResetFromWhiteScreen blendoff createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_TARGET, 0x0, 0x10 - createsprite gSlideMonToOriginalPosSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0x0, 0x10 + createsprite gSlideMonToOriginalPosPartnerSpriteTemplate, ANIM_ATTACKER, 2, ANIM_DEF_PARTNER, 0x0, 0x10 waitforvisualfinish end ClangorousSoulblazeEnergySwirl: diff --git a/src/battle_anim_flying.c b/src/battle_anim_flying.c index 42c99740d3..8b613ad677 100644 --- a/src/battle_anim_flying.c +++ b/src/battle_anim_flying.c @@ -363,7 +363,6 @@ static void AnimEllipticalGustCentered(struct Sprite *sprite) InitSpritePosToAnimTargetsCentre(sprite, FALSE); else InitSpritePosToAnimTarget(sprite, FALSE); - sprite->y += 20; sprite->data[1] = 191; sprite->callback = AnimEllipticalGust_Step; diff --git a/src/battle_anim_mon_movement.c b/src/battle_anim_mon_movement.c index 04fd111a84..240e43b713 100644 --- a/src/battle_anim_mon_movement.c +++ b/src/battle_anim_mon_movement.c @@ -15,8 +15,10 @@ static void ReverseHorizontalLungeDirection(struct Sprite *sprite); static void DoVerticalDip(struct Sprite *sprite); static void ReverseVerticalDipDirection(struct Sprite *sprite); static void SlideMonToOriginalPos(struct Sprite *sprite); +static void SlideMonToOriginalPosPartner(struct Sprite *sprite); static void SlideMonToOriginalPos_Step(struct Sprite *sprite); static void SlideMonToOffset(struct Sprite *sprite); +static void SlideMonToOffsetPartner(struct Sprite *sprite); static void SlideMonToOffsetAndBack(struct Sprite *sprite); static void SlideMonToOffsetAndBack_End(struct Sprite *sprite); static void AnimTask_WindUpLunge_Step1(u8 taskId); @@ -63,6 +65,17 @@ const struct SpriteTemplate gSlideMonToOriginalPosSpriteTemplate = .callback = SlideMonToOriginalPos, }; +const struct SpriteTemplate gSlideMonToOriginalPosPartnerSpriteTemplate = +{ + .tileTag = 0, + .paletteTag = 0, + .oam = &gDummyOamData, + .anims = gDummySpriteAnimTable, + .images = NULL, + .affineAnims = gDummySpriteAffineAnimTable, + .callback = SlideMonToOriginalPosPartner, +}; + const struct SpriteTemplate gSlideMonToOffsetSpriteTemplate = { .tileTag = 0, @@ -74,6 +87,17 @@ const struct SpriteTemplate gSlideMonToOffsetSpriteTemplate = .callback = SlideMonToOffset, }; +const struct SpriteTemplate gSlideMonToOffsetPartnerSpriteTemplate = +{ + .tileTag = 0, + .paletteTag = 0, + .oam = &gDummyOamData, + .anims = gDummySpriteAnimTable, + .images = NULL, + .affineAnims = gDummySpriteAffineAnimTable, + .callback = SlideMonToOffsetPartner, +}; + const struct SpriteTemplate gSlideMonToOffsetAndBackSpriteTemplate = { .tileTag = 0, @@ -487,7 +511,41 @@ static void ReverseVerticalDipDirection(struct Sprite *sprite) // arg 2: duration static void SlideMonToOriginalPos(struct Sprite *sprite) { - u32 monSpriteId = GetAnimBattlerSpriteId(gBattleAnimArgs[0]); + u32 monSpriteId; + if (!gBattleAnimArgs[0]) + monSpriteId = gBattlerSpriteIds[gBattleAnimAttacker]; + else + monSpriteId = gBattlerSpriteIds[gBattleAnimTarget]; + + sprite->data[0] = gBattleAnimArgs[2]; + sprite->data[1] = gSprites[monSpriteId].x + gSprites[monSpriteId].x2; + sprite->data[2] = gSprites[monSpriteId].x; + sprite->data[3] = gSprites[monSpriteId].y + gSprites[monSpriteId].y2; + sprite->data[4] = gSprites[monSpriteId].y; + InitSpriteDataForLinearTranslation(sprite); + sprite->data[3] = 0; + sprite->data[4] = 0; + sprite->data[5] = gSprites[monSpriteId].x2; + sprite->data[6] = gSprites[monSpriteId].y2; + sprite->invisible = TRUE; + + if (gBattleAnimArgs[1] == 1) + sprite->data[2] = 0; + else if (gBattleAnimArgs[1] == 2) + sprite->data[1] = 0; + + sprite->data[7] = gBattleAnimArgs[1]; + sprite->data[7] |= monSpriteId << 8; + sprite->callback = SlideMonToOriginalPos_Step; +} + +static void SlideMonToOriginalPosPartner(struct Sprite *sprite) +{ + u32 monSpriteId; + if (!gBattleAnimArgs[0]) + monSpriteId = gBattlerSpriteIds[BATTLE_PARTNER(gBattleAnimAttacker)]; + else + monSpriteId = gBattlerSpriteIds[BATTLE_PARTNER(gBattleAnimTarget)]; sprite->data[0] = gBattleAnimArgs[2]; sprite->data[1] = gSprites[monSpriteId].x + gSprites[monSpriteId].x2; @@ -550,9 +608,48 @@ static void SlideMonToOriginalPos_Step(struct Sprite *sprite) // arg 4: duration static void SlideMonToOffset(struct Sprite *sprite) { - u8 monSpriteId = GetAnimBattlerSpriteId(gBattleAnimArgs[0]); + u8 battler; + u8 monSpriteId; + if (!gBattleAnimArgs[0]) + battler = gBattleAnimAttacker; + else + battler = gBattleAnimTarget; - if (GetBattlerSide(gBattleAnimArgs[0]) != B_SIDE_PLAYER) + monSpriteId = gBattlerSpriteIds[battler]; + if (GetBattlerSide(battler) != B_SIDE_PLAYER) + { + gBattleAnimArgs[1] = -gBattleAnimArgs[1]; + if (gBattleAnimArgs[3] == 1) + { + gBattleAnimArgs[2] = -gBattleAnimArgs[2]; + } + } + + sprite->data[0] = gBattleAnimArgs[4]; + sprite->data[1] = gSprites[monSpriteId].x; + sprite->data[2] = gSprites[monSpriteId].x + gBattleAnimArgs[1]; + sprite->data[3] = gSprites[monSpriteId].y; + sprite->data[4] = gSprites[monSpriteId].y + gBattleAnimArgs[2]; + InitSpriteDataForLinearTranslation(sprite); + sprite->data[3] = 0; + sprite->data[4] = 0; + sprite->data[5] = monSpriteId; + sprite->invisible = TRUE; + StoreSpriteCallbackInData6(sprite, DestroyAnimSprite); + sprite->callback = TranslateSpriteLinearByIdFixedPoint; +} + +static void SlideMonToOffsetPartner(struct Sprite *sprite) +{ + u8 battler; + u8 monSpriteId; + if (!gBattleAnimArgs[0]) + battler = BATTLE_PARTNER(gBattleAnimAttacker); + else + battler = BATTLE_PARTNER(gBattleAnimTarget); + + monSpriteId = gBattlerSpriteIds[battler]; + if (GetBattlerSide(battler) != B_SIDE_PLAYER) { gBattleAnimArgs[1] = -gBattleAnimArgs[1]; if (gBattleAnimArgs[3] == 1) diff --git a/src/battle_anim_rock.c b/src/battle_anim_rock.c index 354fb21014..ec7bc535df 100644 --- a/src/battle_anim_rock.c +++ b/src/battle_anim_rock.c @@ -478,14 +478,15 @@ void AnimRockFragment(struct Sprite *sprite) // Swirls particle in vortex. Used for moves like Fire Spin or Sand Tomb void AnimParticleInVortex(struct Sprite *sprite) { - if (IsDoubleBattle() //got a little lazy here will fix later - && (gAnimMoveIndex == MOVE_BLEAKWIND_STORM + if (IsDoubleBattle() + && (gAnimMoveIndex == MOVE_BLEAKWIND_STORM || gAnimMoveIndex == MOVE_SANDSEAR_STORM || gAnimMoveIndex == MOVE_SPRINGTIDE_STORM || gAnimMoveIndex == MOVE_WILDBOLT_STORM)) InitSpritePosToAnimTargetsCentre(sprite, FALSE); else - InitSpritePosToAnimTarget(sprite, FALSE); + InitSpritePosToAnimBattler(gBattleAnimArgs[6], sprite, FALSE); + sprite->data[0] = gBattleAnimArgs[3]; sprite->data[1] = gBattleAnimArgs[2]; sprite->data[2] = gBattleAnimArgs[4]; From b1231269393e9135f87d515e69622666630e3165 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Wed, 27 Nov 2024 13:59:39 -0500 Subject: [PATCH 224/278] Update README.md to link to INSTALL.md (#5720) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index facd5f5626..5330e40981 100644 --- a/README.md +++ b/README.md @@ -6,12 +6,16 @@ pokeemerald-expansion is a decomp hack base project based off pret's [pokeemerald](https://github.com/pret/pokeemerald) decompilation project. It's recommended that any new projects that plan on using it, to clone this repository instead of pret's vanilla repository, as we regurlarly incorporate pret's documentation changes. This is ***NOT*** a standalone romhack, and as such, most features will be unavailable and/or unbalanced if played as is. +## Using pokeemerald-expansion + If you use pokeemerald-expansion in your hack, please add RHH (Rom Hacking Hideout) to your credits list. Optionally, you can list the version used, so it can help players know what features to expect. You can phrase it as the following: ``` Based off RHH's pokeemerald-expansion 1.9.3 https://github.com/rh-hideout/pokeemerald-expansion/ ``` +Please follow the instructions in `INSTALL.md` to get pokeemerald-expansion set up on your machine. + ## What features are included? - ***IMPORTANT*❗❗ Read through these to learn what features you can toggle**: - [Battle configurations](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/config/battle.h) From 6b170d70f1fb87728d9916b67ddf173a5409a4c8 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:05:11 +0100 Subject: [PATCH 225/278] Fixes Red Card / Eject Pack interaction (#5724) --- include/constants/battle_script_commands.h | 2 +- test/battle/form_change/primal_reversion.c | 16 ++++++++++++++++ test/battle/hold_effect/red_card.c | 22 ++++++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/include/constants/battle_script_commands.h b/include/constants/battle_script_commands.h index a8daf8841b..5f3feefa31 100644 --- a/include/constants/battle_script_commands.h +++ b/include/constants/battle_script_commands.h @@ -300,9 +300,9 @@ enum MoveEndEffects MOVEEND_RECOIL, MOVEEND_ITEM_EFFECTS_ATTACKER, MOVEEND_MAGICIAN, // Occurs after final multi-hit strike, and after other items/abilities would activate + MOVEEND_RED_CARD, // Red Card triggers before Eject Pack MOVEEND_EJECT_ITEMS, MOVEEND_WHITE_HERB, - MOVEEND_RED_CARD, MOVEEND_LIFEORB_SHELLBELL, // Includes shell bell, throat spray, etc MOVEEND_CHANGED_ITEMS, MOVEEND_PICKPOCKET, diff --git a/test/battle/form_change/primal_reversion.c b/test/battle/form_change/primal_reversion.c index df19a1d0d6..4b9e019b5b 100644 --- a/test/battle/form_change/primal_reversion.c +++ b/test/battle/form_change/primal_reversion.c @@ -332,3 +332,19 @@ DOUBLE_BATTLE_TEST("Primal reversion and other switch-in effects trigger for all EXPECT_EQ(opponentRight->statStages[STAT_SPEED], DEFAULT_STAT_STAGE - 1); } } + +SINGLE_BATTLE_TEST("111") +{ + GIVEN { + ASSUME(gMovesInfo[MOVE_TACKLE].power != 0); + PLAYER(SPECIES_GROUDON) { HP(1); Item(ITEM_RED_ORB); } + PLAYER(SPECIES_WOBBUFFET) + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponent, MOVE_TACKLE); SEND_OUT(player, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_PRIMAL_REVERSION, player); + MESSAGE("Groudon's Primal Reversion! It reverted to its primal form!"); + MESSAGE("Groudon fainted!"); + } +} diff --git a/test/battle/hold_effect/red_card.c b/test/battle/hold_effect/red_card.c index 3209549de1..7cdbba2412 100644 --- a/test/battle/hold_effect/red_card.c +++ b/test/battle/hold_effect/red_card.c @@ -467,4 +467,26 @@ SINGLE_BATTLE_TEST("Red Card prevents Emergency Exit activation when triggered") } } +SINGLE_BATTLE_TEST("Red Card activates before Eject Pack") +{ + GIVEN { + ASSUME(MoveHasAdditionalEffectSelf(MOVE_OVERHEAT, MOVE_EFFECT_SP_ATK_MINUS_2) == TRUE); + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_EJECT_PACK); } + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_RED_CARD); } + OPPONENT(SPECIES_WYNAUT); + } WHEN { + TURN { MOVE(player, MOVE_OVERHEAT); MOVE(opponent, MOVE_TACKLE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_OVERHEAT, player); + NONE_OF { + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + MESSAGE("Wobbuffet is switched out with the Eject Button!"); + } + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponent); + MESSAGE("Foe Wobbuffet held up its Red Card against Wobbuffet!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponent); + } +} + // SINGLE_BATTLE_TEST("Red Card activates but fails if the attacker has Dynamaxed") From 846427ac432942fb743850f06fcb9569bf26df5a Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Wed, 27 Nov 2024 20:08:38 +0100 Subject: [PATCH 226/278] Fixes gems triggering on confusion damage (#5723) --- src/battle_script_commands.c | 1 + test/battle/status2/confusion.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index b1dbcc6106..2ca3cd52f8 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -2119,6 +2119,7 @@ END: } if (gSpecialStatuses[gBattlerAttacker].gemBoost && !(gMoveResultFlags & MOVE_RESULT_NO_EFFECT) + && !(gHitMarker & HITMARKER_UNABLE_TO_USE_MOVE) && gBattleMons[gBattlerAttacker].item && gMovesInfo[gCurrentMove].effect != EFFECT_PLEDGE && gCurrentMove != MOVE_STRUGGLE) diff --git a/test/battle/status2/confusion.c b/test/battle/status2/confusion.c index 3c86e5d555..03a17bcfeb 100644 --- a/test/battle/status2/confusion.c +++ b/test/battle/status2/confusion.c @@ -26,3 +26,21 @@ SINGLE_BATTLE_TEST("Confusion adds a 50/33% chance to hit self with 40 power") EXPECT_EQ(damage[0], damage[1]); } } + +SINGLE_BATTLE_TEST("Confusion self hit does not consume Gems") +{ + PASSES_RANDOMLY(B_CONFUSION_SELF_DMG_CHANCE >= GEN_7 ? 33 : 50, 100, RNG_CONFUSION); + GIVEN { + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_NORMAL_GEM); }; + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponent, MOVE_CONFUSE_RAY); MOVE(player, MOVE_TACKLE); } + } SCENE { + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, player); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + MESSAGE("Normal Gem strengthened Wobbuffet's power!"); + } + MESSAGE("It hurt itself in its confusion!"); + } +} From 4f1dced851f2fb6b7153d3ad5646c2db2603d4a2 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Wed, 27 Nov 2024 22:50:39 +0100 Subject: [PATCH 227/278] Updated the new pokemon tutorial for 1.10 (#5721) Co-authored-by: Hedara Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com> --- docs/tutorials/how_to_new_pokemon_1_10_0.md | 1163 +++++++++++++++++++ 1 file changed, 1163 insertions(+) create mode 100644 docs/tutorials/how_to_new_pokemon_1_10_0.md diff --git a/docs/tutorials/how_to_new_pokemon_1_10_0.md b/docs/tutorials/how_to_new_pokemon_1_10_0.md new file mode 100644 index 0000000000..f6eaedee99 --- /dev/null +++ b/docs/tutorials/how_to_new_pokemon_1_10_0.md @@ -0,0 +1,1163 @@ + +This is a modified version of [the original tutorial about adding new Pokémon species available in Pokeemerald's wiki](https://github.com/pret/pokeemerald/wiki/How-to-add-a-new-Pokémon-species). + +Despite the persistent rumors about an incredibly strong third form of Mew hiding somewhere, it actually wasn't possible to catch it... OR WAS IT? +In this tutorial, we will add a new Pokémon species to the game. + +## IMPORTANT: This tutorial applies to 1.10.x versions. +- [Version 1.9.x](how_to_new_pokemon_1_9_0.md) +- [Version 1.8.x](how_to_new_pokemon_1_8_0.md) +- [Version 1.7.x](how_to_new_pokemon_1_7_0.md) +- [Version 1.6.x](how_to_new_pokemon_1_6_0.md) + +# Changes compared to vanilla +The main things that the Expansion changes are listed here. +* Still Front Pics *(`gMonStillFrontPic_YourPokemon`)* and by extension `src/anim_mon_front_pics.c` have been removed. +* `src/data/pokemon/cry_ids.h` doesn't exist anymore. +* You have 6 icon palettes available instead of the base 3. +* Most tables that use `SPECIES_x` as indexes have been moved to `gSpeciesInfo`. + +# Content +* [Useful resources](#useful-resources) +* [The Data - Part 1](#the-data---part-1) + * [1. Declare a species constant](#1-Declare-a-species-constant) + * [2. `SpeciesInfo`'s structure](#2-speciesinfos-structure) + * [3. Define its basic species information](#3-define-its-basic-species-information) + * [4. Species Name](#4-species-name) + * [5. Define its cry](#5-define-its-cry) + * [6. Define its Pokédex entry](#6-define-its-pokédex-entry) +* [The Graphics](#the-graphics) + * [1. Edit the sprites](#1-edit-the-sprites) + * [2. Add the sprites to the rom](#2-add-the-sprites-to-the-rom) + * [3. Add the animations to the rom](#3-add-the-animations-to-the-rom) + * [4. Linking graphic information to our Pokémon](#4-linking-graphic-information-to-our-pokémon) +* [The Data - Part 2](#the-data---part-2) + * [1. Species Flags](#1-species-flags) + * [2. Delimit the moveset](#2-delimit-the-moveset) + * [3. Define the Evolutions](#3-define-the-evolutions) + * [4. Make it appear!](#4-make-it-appear) +* [Optional data](#optional-data) + * [1. Form tables](#1-form-tables) + * [2. Form change tables](#2-form-change-tables) + * [3. Gender differences](#3-gender-differences) + * [4. Overworld Data](#4-overworld-data) + +# Useful resources +You can open a sprite debug menu by pressing `Select` in a Pokémon's summary screen outside of battle. + +![mGBA_6WOo1TSlsn](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/0c625cd8-8f89-4bc8-a285-b10a420a8f6d) + + +# The Data - Part 1 + +Our plan is as simple as it is brilliant: clone Mewtwo... and make it even stronger! + +## 1. Declare a species constant + +Our first step towards creating a new digital lifeform is to define its own species constant. + +Edit [include/constants/species.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/constants/species.h): + +```diff + #define SPECIES_NONE 0 + #define SPECIES_BULBASAUR 1 + ... + #define SPECIES_MIMIKYU_BUSTED_TOTEM 1523 + #define SPECIES_MIMIKYU_TOTEM_BUSTED SPECIES_MIMIKYU_BUSTED_TOTEM ++#define SPECIES_MEWTHREE 1524 + +-#define SPECIES_EGG (SPECIES_MIMIKYU_BUSTED_TOTEM + 1) ++#define SPECIES_EGG (SPECIES_MEWTHREE + 1) + + #define NUM_SPECIES SPECIES_EGG +``` +This number is stored in a Pokémon's save structure. These should generally never change, otherwise your saved Pokémon species will change as well. + +We add this at the end so that no existing species change Id and so that we don't have to renumber everything after it. + +Now, let's see how it looks in-game! + +![image](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/dc15b0ba-a4bd-4f4e-9658-2dff73a11f79) + +Hmmm, something's not right... + +Oh, I know! We need to add the rest of the data! Normally, the vanilla game would crash if we try to look up anything about Mewthree in this state, but the expansion defaults all of its data to `SPECIES_NONE`. + +Now, let's see what needs to be done. + +## 2. `SpeciesInfo`'s structure +Now, to better understand Mewthree, we also need to understand Mew. Let's look at its data. +```diff + [SPECIES_MEW] = + { + .baseHP = 100, + .baseAttack = 100, + .baseDefense = 100, + .baseSpeed = 100, + .baseSpAttack = 100, + .baseSpDefense = 100, + .types = MON_TYPES(TYPE_PSYCHIC), + .catchRate = 45, + #if P_UPDATED_EXP_YIELDS >= GEN_8 + .expYield = 300, + #elif P_UPDATED_EXP_YIELDS >= GEN_5 + .expYield = 270, + #else + .expYield = 64, + #endif + .evYield_HP = 3, + .itemCommon = ITEM_LUM_BERRY, + .itemRare = ITEM_LUM_BERRY, + .genderRatio = MON_GENDERLESS, + .eggCycles = 120, + .friendship = 100, + .growthRate = GROWTH_MEDIUM_SLOW, + .eggGroups = MON_EGG_GROUPS(EGG_GROUP_NO_EGGS_DISCOVERED), + .abilities = { ABILITY_SYNCHRONIZE, ABILITY_NONE, ABILITY_NONE }, + .bodyColor = BODY_COLOR_PINK, + .speciesName = _("Mew"), + .cryId = CRY_MEW, + .natDexNum = NATIONAL_DEX_MEW, + .categoryName = _("New Species"), + .height = 4, + .weight = 40, + .description = COMPOUND_STRING( + "A Mew is said to possess the genes of all\n" + "Pokémon. It is capable of making itself\n" + "invisible at will, so it entirely avoids\n" + "notice even if it approaches people."), + .pokemonScale = 457, + .pokemonOffset = -2, + .trainerScale = 256, + .trainerOffset = 0, + .frontPic = gMonFrontPic_Mew, + .frontPicSize = P_GBA_STYLE_SPECIES_GFX ? MON_COORDS_SIZE(40, 40) : MON_COORDS_SIZE(64, 48), + .frontPicYOffset = P_GBA_STYLE_SPECIES_GFX ? 13 : 9, + .frontAnimFrames = sAnims_Mew, + .frontAnimId = P_GBA_STYLE_SPECIES_GFX ? ANIM_SWING_CONVEX : ANIM_ZIGZAG_SLOW, + .enemyMonElevation = P_GBA_STYLE_SPECIES_GFX ? 8 : 11, + .backPic = gMonBackPic_Mew, + .backPicSize = P_GBA_STYLE_SPECIES_GFX ? MON_COORDS_SIZE(48, 48) : MON_COORDS_SIZE(64, 64), + .backPicYOffset = P_GBA_STYLE_SPECIES_GFX ? 8 : 0, + .backAnimId = BACK_ANIM_CONCAVE_ARC_SMALL, + .palette = gMonPalette_Mew, + .shinyPalette = gMonShinyPalette_Mew, + .iconSprite = gMonIcon_Mew, + .iconPalIndex = 0, + SHADOW(0, 13, SHADOW_SIZE_S) + FOOTPRINT(Mew) + OVERWORLD( + sPicTable_Mew, + SIZE_32x32, + SHADOW_SIZE_M, + TRACKS_NONE, + gOverworldPalette_Mew, + gShinyOverworldPalette_Mew + ) + .isMythical = TRUE, + .isFrontierBanned = TRUE, + .perfectIVCount = LEGENDARY_PERFECT_IV_COUNT, + .levelUpLearnset = sMewLevelUpLearnset, + .teachableLearnset = sMewTeachableLearnset, + }, +``` + +That's a lot of stuff! But don't worry, we'll go through it step by step throughout the tutorial +(and it's miles better than having this same data through 20+ files like it used to be). + +We'll start by adding the self-explanatory data that's also present in pret's vanilla structure: + +## 3. Define its basic species information +Edit [src/data/pokemon/species_info.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon/species_info.h): +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + [SPECIES_NONE] = {0}, + ... + + [SPECIES_EGG] = + { + FRONT_PIC(Egg, 24, 24), + .frontPicYOffset = 20, + .backPic = gMonFrontPic_Egg, + .backPicSize = MON_COORDS_SIZE(24, 24), + .backPicYOffset = 20, + .palette = gMonPalette_Egg, + .shinyPalette = gMonPalette_Egg, + ICON(Egg, 1), + }, + ++ [SPECIES_MEWTHREE] = ++ { ++ .baseHP = 106, ++ .baseAttack = 150, ++ .baseDefense = 70, ++ .baseSpeed = 140, ++ .baseSpAttack = 194, ++ .baseSpDefense = 120, ++ .types = MON_TYPES(TYPE_PSYCHIC), ++ .catchRate = 3, ++ .expYield = 255, ++ .evYield_SpAttack = 3, ++ .genderRatio = MON_GENDERLESS, ++ .eggCycles = 120, ++ .friendship = 0, ++ .growthRate = GROWTH_SLOW, ++ .eggGroups = MON_EGG_GROUPS(EGG_GROUP_NO_EGGS_DISCOVERED), ++ .abilities = { ABILITY_INSOMNIA, ABILITY_NONE, ABILITY_NONE }, ++ .bodyColor = BODY_COLOR_PURPLE, ++ }, + }; +``` + +The `.` is the structure reference operator in C to refer to the member object of the structure SpeciesInfo. + +- `baseHP`, `baseAttack`, `baseDefense`, `baseSpeed`, `baseSpAttack` and `baseSpDefense` are the base stats. They can't go higher than 255. +- `types` is using the macro `MON_TYPES` as a helper function for formatting so that only one type has to be input for species with a single type. + - To add a species with 2 types, use the format `MON_TYPES(TYPE_PSYCHIC, TYPE_NORMAL)`. +- `catchRate` is how likely it is to catch a Pokémon, the lower the value, the harder it is to catch. Legendaries generally have a catch rate of 3, so we put that here. +- `expYield` is the base amount of experience that a Pokémon gives when defeated/caught. In vanilla, this value caps at 255, but we've increased it to a maximum of 65535 accomodate later gen's higher experience yields. (The highest official value is Blissey's with 608, so going beyond this point may cause exponential gains that could break the system 😱) + - If you noticed, Mew's had some `#if`s, `#elif`s and `#endif` around it. This is because its yield has changed over time, and we let you choose which ones you want. This is not relevant to our Mewthree however, so we can just put a single `.expYield = 255,` line here. +- `evYield_HP`, `evYield_Attack`, `evYield_Defense`, `evYield_Speed`, `evYield_SpAttack` and `evYield_SpDefense` are how many EVs does the Pokémon give when they're caught. Each of these fields can have a value of 3 at most. Officially, no Pokémon give out more than 3 EVs total, with them being determined by their evolution stage (eg, Pichu, Pikachu and Raichu give 1, 2 and 3 Speed EVs respectively), and they tend to be associated with its higher stats. Since our Mewthree is a Special Attack monster, we'll be consistent and make it give out 3 Special Attack EVs, but you're always free to assign whatever you feel like :) + - Notice that the other `evYield` fields are not there. In C, numbers in a struct default to 0, so if we don't specify them, they'll be 0 all around! Less lines to worry about :D +- `itemCommon` and `itemRare` are used to determine what items is the Pokémon holding when encountering it in the wild. + - 50% for `itemCommon` and 5% for `itemRare` (boosted to 60%/20% when the first mon in the party has Compound Eyes or Super Luck) + - If they're both set as the same item, the item has a 100% chance of appearing. +- `genderRatio` is a fun one. + - There are 4 ways of handling this + - `PERCENT_FEMALE` is what most Pokémon use, where you define how likely it's gonna be female. It supports decimals, so you can put `PERCENT_FEMALE(12.5)` to have a 1 in 8 chance of your mon to be female. + - `MON_MALE` guarantees that all mon of this species will be male (eg. Tauros) + - `MON_FEMALE` guarantees that all mon of this species will be female (eg. Miltank) + - `MON_GENDERLESS` makes your species genderless, unable to breed with anything but Ditto to produce eggs. Most Legendaries are this, so we'll be chosing this as Mewthree's gender ratio. + - When working with evolution lines and don't want their genders to change after evolving, be sure that their gender ratios match their stages and evolution methods. Azurill is the only case where there's a mismatch, causing 1/3 of all Azurill to change from Female to Male. + - You might be wondering why some species have multiple defines for their genders, like `SPECIES_MEOWSTIC_(FE)MALE`. This is because those species have different stats and data from each other, so they're defined internally as different forms with `MON_MALE` and `MON_FEMALE` as gender ratios. If your species evolves depending on its gender and the evolutions have different stats, be sure to apply the correct evolution method! +- `eggCycles` determines how fast an egg of this species will hatch. Doesn't matter much for evolved species or those that can't lay eggs, but we add the field here just in case. +- `friendship` determines the amount of friendship of the mon when you catch it. Most Pokémon use `STANDARD_FRIENDSHIP`, but this creature of chaos does not want to be your friend, starting with 0. +- `growthRate` determines the amounts of experience required to reach each level. Go [here](https://bulbapedia.bulbagarden.net/wiki/Experience) for more info. + - This should be consistent across evolution lines, otherwise levels could change upon evolution. +- `eggGroups` are used for breed compatibility. Most Legendaries and Mythicals have the `EGG_GROUP_NO_EGGS_DISCOVERED` group, and so does our Mewthree. Go [here](https://bulbapedia.bulbagarden.net/wiki/Egg_Group) for more info. + - This is using the helper macro `MON_EGG_GROUPS`. +- `abilities` determines the potential abilites of our species. Notice how I also set the ability to `ABILITY_INSOMNIA`, so our little monster doesn't even need to sleep anymore. You can find the abilities for example here [include/constants/abilities.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/constants/abilities.h). + - When both slot 1 and 2 are defined as not being `ABILITY_NONE`, their starting ability will be decided on a coin flip using their personality. They can later be changed using an Ability Capsule. + - Certain Pokémon such as Zygarde and Rockruff have different forms to add additional abilities. As such, they cannot be changed using an Ability Capsule (though the Zygarde Cube can change Zygarde's ability by changing them to their corresponding form) + - The 3rd slot is for Hidden Abilities. If defined as `ABILITY_NONE`, it will default to Slot 1 (eg. Metapod doesn't have a Hidden Ability, but Caterpie and Butterfree do). Go [here](https://bulbapedia.bulbagarden.net/wiki/Ability#Hidden_Abilities) and [here](https://bulbapedia.bulbagarden.net/wiki/Ability_Patch) for more info. + - If the array is defined as `{ABILITY_1, ABILITY_2}`, the Hidden Ability is set as `ABILITY_NONE`. +- `bodyColor` is used in the Pokédex as a search filter. +- `noFlip` is used in to prevent front sprites from being flipped horizontally and cause weird issues, like Clawitzer's big claw changing sides. + +That's all the basic fields present in vanilla emerald, so now let's take a look at the new fields added by the expansion. + +## 4. Species Name + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .bodyColor = BODY_COLOR_PURPLE, ++ .speciesName = _("Mewthree"), + }, + }; +``` +The `_()` underscore function doesn't really exist - it's a convention borrowed from GNU gettext to let `preproc` know this is text to be converted to the custom encoding used by the Gen 3 Pokemon games. + +## 5. Define its cry + +Time for audio! +We first need to convert an existing audio file to the format supported by the expansion. + +Most formats are supported for conversion, but for simplicity's sake, we're gonna use an mp3 file. + +Now, let's copy the file to the `sound/direct_sound_samples/cries` folder. +Once that's done, let's run the following command: +``` +ffmpeg -i sound/direct_sound_samples/cries/mewthree.mp3 -c:a pcm_s8 -ac 1 -ar 13379 sound/direct_sound_samples/cries/mewthree.aif +``` +This will convert your audio file to .aif, which is what's read by the compiler. + +Let's add the cry to the ROM via [sound/direct_sound_data.inc](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/sound/direct_sound_data.inc). + +```diff +.if P_FAMILY_PECHARUNT == TRUE + .align 2 +Cry_Pecharunt:: + .incbin "sound/direct_sound_samples/cries/pecharunt.bin" +.endif @ P_FAMILY_PECHARUNT + ++ .align 2 ++Cry_Mewthree:: ++ .incbin "sound/direct_sound_samples/cries/mewthree.bin" + +``` + +Then we add the cry ID to [include/constants/cries.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/constants/cries.h): + +```diff +enum { + CRY_NONE, + ... +#if P_FAMILY_TERAPAGOS + CRY_TERAPAGOS, +#endif //P_FAMILY_TERAPAGOS +#if P_FAMILY_PECHARUNT + CRY_PECHARUNT, +#endif //P_FAMILY_PECHARUNT ++ CRY_MEWTHREE, + CRY_COUNT, +}; +``` + +And then link it in [sound/cry_tables.inc](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/sound/cry_tables.inc). `cry_reverse` in particular is for reversed cries used by moves such as Growl. The order of these two tables should match the order of the cry IDs, otherwise they'll be shifted. + +```diff + cry Cry_Terapagos + cry Cry_Pecharunt ++ cry Cry_Mewthree +``` +```diff + cry_reverse Cry_Terapagos + cry_reverse Cry_Pecharunt ++ cry_reverse Cry_Mewthree +``` + +Lastly, we add the cry to our species entry +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .speciesName = _("Mewthree"), ++ .cryId = CRY_MEWTHREE, + }, + }; +``` + +And let's see how it sounds in-game: + +https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/4f7667db-4db9-4bfd-a8dd-ece26f09f327 + +Good! Our monster now has a mighty roar! + +You can now delete the mp3 from the cries folder now once you made sure that the cry sounds like how you want it to. + +## 6. Define its Pokédex entry + +First, we will need to add new index constants for its Pokédex entry. The index constants are divided into the Hoenn Pokédex, which contains all Pokémon native to the Hoenn region, and the National Pokédex containing all known Pokémon, which can be received after entering the hall of fame for the first time. + +Edit [include/constants/pokedex.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/constants/pokedex.h): + +```diff +// National Pokedex order +enum { + NATIONAL_DEX_NONE, + // Kanto + NATIONAL_DEX_BULBASAUR, +... + NATIONAL_DEX_PECHARUNT, ++ NATIONAL_DEX_MEWTHREE, +}; +``` + +```diff + #define KANTO_DEX_COUNT NATIONAL_DEX_MEW + #define JOHTO_DEX_COUNT NATIONAL_DEX_CELEBI + +#if P_GEN_9_POKEMON == TRUE +- #define NATIONAL_DEX_COUNT NATIONAL_DEX_PECHARUNT ++ #define NATIONAL_DEX_COUNT NATIONAL_DEX_MEWTHREE +``` + +Do keep in mind that if you intend to add your new species to the Hoenn Dex, you'll also want to add a `HOENN_DEX` constant for it and give it a `HOENN_TO_NATIONAL` member, like this: + +```diff +// Hoenn Pokedex order +enum { + HOENN_DEX_NONE, + HOENN_DEX_TREECKO, +... + HOENN_DEX_DEOXYS, ++ HOENN_DEX_MEWTHREE, +}; + +- #define HOENN_DEX_COUNT (HOENN_DEX_DEOXYS + 1) ++ #define HOENN_DEX_COUNT (HOENN_DEX_MEWTHREE + 1) +``` + +Edit [src/pokemon.c](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/pokemon.c): + +```diff + const u16 sHoennToNationalOrder[NUM_SPECIES] = // Assigns Hoenn Dex Pokémon (Using National Dex Index) + { + HOENN_TO_NATIONAL(TREECKO), + ... + HOENN_TO_NATIONAL(DEOXYS), ++ HOENN_TO_NATIONAL(MEWTHREE), + }; +``` + +Now we can add the number and entry to our Mewthree: +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .cryId = CRY_MEWTHREE, ++ .natDexNum = NATIONAL_DEX_MEWTHREE, ++ .categoryName = _("New Species"), ++ .height = 15, ++ .weight = 330, ++ .description = COMPOUND_STRING( ++ "The rumors became true.\n" ++ "This is Mew's final form.\n" ++ "Its power level is over 9000.\n" ++ "Has science gone too far?"), ++ .pokemonScale = 256, ++ .pokemonOffset = 0, ++ .trainerScale = 290, ++ .trainerOffset = 2, + }, + }; +``` +![image](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/3759dd4c-8da5-4b1c-9a50-b9e9d0815e7f) + +The values `pokemonScale`, `pokemonOffset`, `trainerScale` and `trainerOffset` are used for the height comparison figure in the Pokédex. + +`height` and `weight` are specified in decimeters and hectograms respectively (which are meters and kilograms multiplied by 10, so 2.5 meters are 25 decimeters). + +In Pokémon Emerald, you can sort the Pokédex by name, height or weight. Apparently, the Pokémon order is hardcoded in the game files and not calculated from their data. Therefore we have to include our new Pokémon species at the right places. While the correct position for the alphabetical order is easy to find, it can become quite tedious for height and weight, so we added comments to the listings in order help out were they should fit. + +Edit [src/data/pokemon/pokedex_orders.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon/pokedex_orders.h): + +```diff + const u16 gPokedexOrder_Alphabetical[] = + { + ... + NATIONAL_DEX_MEW, ++ NATIONAL_DEX_MEWTHREE, + NATIONAL_DEX_MEWTWO, + ... + }; + + const u16 gPokedexOrder_Weight[] = + { + ... + // 72.8 lbs / 33.0 kg + //NATIONAL_DEX_MEWTWO_MEGA_Y, + NATIONAL_DEX_ESCAVALIER, + NATIONAL_DEX_FRILLISH, + NATIONAL_DEX_DURANT, + NATIONAL_DEX_CINDERACE, ++ NATIONAL_DEX_MEWTHREE, + //NATIONAL_DEX_PERSIAN_ALOLAN, + NATIONAL_DEX_TOEDSCOOL, + // 73.4 lbs / 33.3 kg + NATIONAL_DEX_DUGTRIO, + ... + }; + + const u16 gPokedexOrder_Height[] = + { + ... + // 4'11" / 1.5m + ... + NATIONAL_DEX_GLIMMORA, + NATIONAL_DEX_WO_CHIEN, + NATIONAL_DEX_IRON_LEAVES, + NATIONAL_DEX_IRON_BOULDER, ++ NATIONAL_DEX_MEWTHREE, + // 5'03" / 1.6m + ... + }; +``` +![mGBA_lUBfmFEKUx](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/3a8b8a17-759b-486b-9831-deb2f494bd71) + + +# The Graphics +We will start by copying the following files for *Mew* (not Mewtwo) and rename it to `mewthree`. +```sh +cp -r graphics/pokemon/mew/. graphics/pokemon/mewthree +``` +We aren't copying Mewtwo's folder because he has those pesky Mega Evolutions that will get in the way of what we're doing, so our sample will need to be pure from the source. + +## 1. Edit the sprites +Let's edit the sprites. Start your favourite image editor (I recommend Aseprite or its free alternative, Libresprite) and change `anim_front.png` and `back.png` to meet your expectations. + +__Make sure that you are using the indexed mode and you have limited yourself to 15 colors!__ + +Put the RGB values of your colors into `normal.pal` between the first and the last color and the RGB values for the shiny version into `shiny.pal`. +Edit `footprint.png` using two colors in indexed mode, black and white. +Finally, edit `icon.png`. +**Note**: the icon will use one of 6 predefined palettes instead of `normal.pal`. +Open an icon sprite and load one of the palettes to find out which palette suits your icon sprite best. + +## 2. Add the sprites to the rom +Sadly, just putting the image files into the graphics folder is not enough. To use the sprites we have to register them, which is kind of tedious. +First, create constants for the file paths. You'll want to add the constants for your species after the constants for the last valid species. + +Edit [src/data/graphics/pokemon.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/graphics/pokemon.h): + +```diff +#if P_FAMILY_PECHARUNT + const u32 gMonFrontPic_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/front.4bpp.lz"); + const u32 gMonPalette_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/normal.gbapal.lz"); + const u32 gMonBackPic_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/back.4bpp.lz"); + const u32 gMonShinyPalette_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/shiny.gbapal.lz"); + const u8 gMonIcon_Pecharunt[] = INCBIN_U8("graphics/pokemon/pecharunt/icon.4bpp"); +#if P_FOOTPRINTS + const u8 gMonFootprint_Pecharunt[] = INCBIN_U8("graphics/pokemon/pecharunt/footprint.1bpp"); +#endif //P_FOOTPRINTS +#if OW_POKEMON_OBJECT_EVENTS + const u32 gObjectEventPic_Pecharunt[] = INCBIN_COMP("graphics/pokemon/pecharunt/overworld.4bpp"); +#if OW_PKMN_OBJECTS_SHARE_PALETTES == FALSE + const u32 gOverworldPalette_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/overworld_normal.gbapal.lz"); + const u32 gShinyOverworldPalette_Pecharunt[] = INCBIN_U32("graphics/pokemon/pecharunt/overworld_shiny.gbapal.lz"); +#endif //OW_PKMN_OBJECTS_SHARE_PALETTES +#endif //OW_POKEMON_OBJECT_EVENTS +#endif //P_FAMILY_PECHARUNT + + const u32 gMonFrontPic_Egg[] = INCBIN_U32("graphics/pokemon/egg/anim_front.4bpp.lz"); + const u32 gMonPalette_Egg[] = INCBIN_U32("graphics/pokemon/egg/normal.gbapal.lz"); + const u8 gMonIcon_Egg[] = INCBIN_U8("graphics/pokemon/egg/icon.4bpp"); + ++ const u32 gMonFrontPic_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/anim_front.4bpp.lz"); ++ const u32 gMonBackPic_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/back.4bpp.lz"); ++ const u32 gMonPalette_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/normal.gbapal.lz"); ++ const u32 gMonShinyPalette_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/shiny.gbapal.lz"); ++ const u8 gMonIcon_Mewthree[] = INCBIN_U8("graphics/pokemon/mewthree/icon.4bpp"); ++ const u8 gMonFootprint_Mewthree[] = INCBIN_U8("graphics/pokemon/mewthree/footprint.1bpp"); +``` + +Please note that Pecharunt, the Pokémon that should be above your insertion for the time being, reads a `front.png` sprite instead of an `anim_front.png` sprite. This is because currently, Pecharunt lacks a 2nd frame. If the front sprite sheet of your species uses 2 frames, you should use `anim_front`. + +## 3. Add the animations to the rom + +You can define the animation order, in which the sprites will be shown. The first number is the sprite index (so 0 or 1) and the second number is the number of frames the sprite will be visible. + +Edit [src/data/pokemon_graphics/front_pic_anims.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon_graphics/front_pic_anims.h): + +```diff +#if P_FAMILY_PECHARUNT +PLACEHOLDER_ANIM_SINGLE_FRAME(Pecharunt); +#endif //P_FAMILY_PECHARUNT + ++static const union AnimCmd sAnim_Mewthree_1[] = ++{ ++ ANIMCMD_FRAME(1, 30), ++ ANIMCMD_FRAME(0, 20), ++ ANIMCMD_END, ++}; +``` + +```diff +#if P_FAMILY_PECHARUNT +SINGLE_ANIMATION(Pecharunt); +#endif //P_FAMILY_PECHARUNT ++SINGLE_ANIMATION(Mewthree); +SINGLE_ANIMATION(Egg); +``` + +You might be wondering what `PLACEHOLDER_ANIM_SINGLE_FRAME` is. Well, since Pecharun only has 1 frame, we use what's called a preprocessor *macro* to have in a single line what otherwise would've been this in the C file: +```c +static const union AnimCmd sAnim_Pecharunt_1[] = +{ + ANIMCMD_FRAME(0, 1), + ANIMCMD_END, +} +``` +Instead, we can use the already established macro that does the same thing, replacing the value in parenthesis with what we want (in this case, `Pecharunt`): +```c +#define PLACEHOLDER_ANIM_SINGLE_FRAME(name) \ +static const union AnimCmd sAnim_##name##_1[] = \ +{ \ + ANIMCMD_FRAME(0, 1), \ + ANIMCMD_END, \ +} +``` + +## 4. Linking graphic information to our Pokémon +Now that we have all the external data ready, we just need to add it to `gSpeciesInfo` plus the rest of the animation and graphical data that we want to use: + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .pokemonScale = 256, + .pokemonOffset = 0, + .trainerScale = 290, + .trainerOffset = 2, ++ .frontPic = gMonFrontPic_Mewthree, ++ .frontPicSize = MON_COORDS_SIZE(64, 64), ++ .frontPicYOffset = 0, ++ .frontAnimFrames = sAnims_Mewthree, ++ .frontAnimId = ANIM_GROW_VIBRATE, ++ .frontAnimDelay = 15, ++ .enemyMonElevation = 6, ++ .backPic = gMonBackPic_Mewthree, ++ .backPicSize = MON_COORDS_SIZE(64, 64), ++ .backPicYOffset = 0, ++ .backAnimId = BACK_ANIM_CONCAVE_ARC_SMALL, ++ .palette = gMonPalette_Mewthree, ++ .shinyPalette = gMonShinyPalette_Mewthree, + .iconSprite = gMonIcon_Mewthree, + .iconPalIndex = 2, ++ FOOTPRINT(Mewthree) + }, + }; +``` +Let's explain each of these: +- `frontPic`: + - Used to reference the front sprite, so in this case, we call for `gMonFrontPic_Mewthree`. +- `frontPicSize`: + - The two values (`width` and `height`) are used for defining the non-empty size of the front sprite, which is used in move animations. If you're unsure of the values, you can leave them both as 64. +- `frontPicYOffset`: + - Used to define what Y position the sprite sits at. This is used to set where they'd be "grounded". For the shadow, see `enemyMonElevation`. +- `frontAnimFrames`: + - We link our animation frame animations that we defined earlier here. +- `frontAnimId`: + - Because you are limited to two frames, there are already [predefined front sprite animations](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/pokemon_animation.h), describing translations, rotations, scalings or color changes. +- `frontAnimDelay`: + - Sets a delay in frame count between when the Pokémon appears and when the animation starts. +- `enemyMonElevation`: + - Used to determine the altitude from the ground. Any value above 0 will show a shadow under the Pokémon, to signify that they're floating. +- `backPic`: + - Used to reference the back sprite, so in this case, we call for `gMonBackPic_Mewthree`. +- `backPicSize`: + - The two values (`width` and `height`) are used for defining the non-empty size of the back sprite, which is used in move animations. If you're unsure of the values, you can leave them both as 64. + - **NOTE**: Mew has a tarnary switch here in order to change values depending on if a config option is set for displaying th original Gen 3 sprites. +- `backPicYOffset`: + - Used to define what Y position of the back sprite. When working with the animation debug menu, we recommend aligning the back sprite to the white background, as it was designed to properyly align with the real battle layout. +- `backAnimId`: + - Like `frontAnimId` except for the back sprites and them being a single frame. The IDs listed [here](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/include/pokemon_animation.h) are used to represent 3 different animations that happen based on the the Pokémon's nature. +- `palette`: + - Used to reference the non-shiny palette, so in this case, we call for `gMonPalette_Mewthree`. +- `shinyPalette`: + - Used to reference the shiny palette, so in this case, we call for `gMonShinyPalette_Mewthree`. +- `iconSprite`: + - Used to reference the icon sprite, so in this case, we call for `gMonIcon_Mewthree`. +- `iconPalIndex`: + - Here, you can choose between the six icon palettes; 0, 1, 2, 3, 4 and 5. All of them located in `graphics/pokemon/icon_palettes`. +- `FOOTPRINT` + - We made this single field into a macro so that they can be ignored when `P_FOOTPRINTS` is set to false. It's also why we don't have an "," after calling it like the other macros (we add it as part of the macro itself). + ```c + #if P_FOOTPRINTS + #define FOOTPRINT(sprite) .footprint = gMonFootprint_## sprite, + #else + #define FOOTPRINT(sprite) + #endif + ``` + +# The Data - Part 2 + +We're almost there just a bit left! + +## 1. Species Flags + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .abilities = { ABILITY_INSOMNIA, ABILITY_NONE, ABILITY_NONE }, + .bodyColor = BODY_COLOR_PURPLE, ++ .isLegendary = TRUE, ++ .perfectIVCount = LEGENDARY_PERFECT_IV_COUNT, + }, + }; +``` +Each species flag provides properties to the species: +- `isLegendary`: + - Does nothing. +- `isMythical`: + - Is skipped during Pokédex evaluations. + - Unless it also has the `dexForceRequired` flag. + - Cannot obtain Gigantamax factor via `ToggleGigantamaxFactor`. +- `isUltraBeast`: + - Beast Ball's multiplier is set to x5 for this species. + - All other ball multipliers are set to x0.1. +- `isParadox` (previously `isParadoxForm`): + - Makes it so that Booster Energy cannot be knocked off. +- `isTotem`: + - Does nothing. +- `isMegaEvolution`: + - A Mega indicator is added to the battle box indicating that they're Mega Evolved. + - The species doesn't receive affection benefits. + - Required when adding new Mega Evolutions. +- `isPrimalReversion`: + - A Primal Reversion indicator (Alpha or Omega for Kyogre/Groudon respectively) is added to the battle box indicating that they're Primal Reverted. + - Required when adding new Primal Reversions. +- `isUltraBurst`: + - Required when adding new Ultra Burst forms. +- `isGigantamax`: + - Used to determine if Gigantamax forms should have their GMax moves or not. + - Required when adding new Gigantamax forms. +- `isAlolanForm`, `isGalarianForm`, `isHisuianForm`, `isPaldeanForm`: + - In the future, these will be used to determine breeding offspring from different based on their region. +- `cannotBeTraded`: + - This species cannot be traded away (like Black/White Kyurem). +- `perfectIVCount`: + - Guarantees that the number of IVs specified here will be perfect. +- `tmIlliterate`: + - This species will be unable to learn the universal moves. +- `isFrontierBanned`: + - This species will be unable to enter Battle Frontier facilities. Replaces `gFrontierBannedSpecies`. + +## 2. Delimit the moveset + +Let's begin with the moves that can be learned by leveling up. + +Append to [src/data/pokemon/level_up_learnsets/gen_9.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon/level_up_learnsets/gen_9.h): +**NOTE**: You can ignore the warning at the top of the file if you're just adding moves to Pokemon. + +```diff +#if P_FAMILY_PECHARUNT +static const struct LevelUpMove sPecharuntLevelUpLearnset[] = { + LEVEL_UP_MOVE( 1, MOVE_SMOG), + LEVEL_UP_MOVE( 1, MOVE_POISON_GAS), + LEVEL_UP_MOVE( 1, MOVE_MEMENTO), + LEVEL_UP_MOVE( 1, MOVE_ASTONISH), + LEVEL_UP_MOVE( 8, MOVE_WITHDRAW), + LEVEL_UP_MOVE(16, MOVE_DESTINY_BOND), + LEVEL_UP_MOVE(24, MOVE_FAKE_TEARS), + LEVEL_UP_MOVE(32, MOVE_PARTING_SHOT), + LEVEL_UP_MOVE(40, MOVE_SHADOW_BALL), + LEVEL_UP_MOVE(48, MOVE_MALIGNANT_CHAIN), + LEVEL_UP_MOVE(56, MOVE_TOXIC), + LEVEL_UP_MOVE(64, MOVE_NASTY_PLOT), + LEVEL_UP_MOVE(72, MOVE_RECOVER), + LEVEL_UP_END +}; +#endif + ++static const struct LevelUpMove sMewthreeLevelUpLearnset[] = { ++ LEVEL_UP_MOVE( 1, MOVE_CONFUSION), ++ LEVEL_UP_MOVE( 1, MOVE_DISABLE), ++ LEVEL_UP_MOVE(11, MOVE_BARRIER), ++ LEVEL_UP_MOVE(22, MOVE_SWIFT), ++ LEVEL_UP_MOVE(33, MOVE_PSYCH_UP), ++ LEVEL_UP_MOVE(44, MOVE_FUTURE_SIGHT), ++ LEVEL_UP_MOVE(55, MOVE_MIST), ++ LEVEL_UP_MOVE(66, MOVE_PSYCHIC), ++ LEVEL_UP_MOVE(77, MOVE_AMNESIA), ++ LEVEL_UP_MOVE(88, MOVE_RECOVER), ++ LEVEL_UP_MOVE(99, MOVE_SAFEGUARD), ++ LEVEL_UP_END ++}; +``` +**NOTE**: If `P_LVL_UP_LEARNSETS` is not set to something equal to `GEN_9`, the file to be edited will change to what's specified. + +Again, we need to register the learnset in `gSpeciesInfo`: + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + .palette = gMonPalette_Mewthree, + .shinyPalette = gMonShinyPalette_Mewthree, + .iconSprite = gMonIcon_Mewthree, + .iconPalIndex = 2, ++ .levelUpLearnset = sMewthreeLevelUpLearnset, + }, + }; +``` + +Next we need to specify which moves can be taught via TM, HM, or Move Tutor. + +Append to [src/data/pokemon/teachable_learnsets.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon/teachable_learnsets.h): + +```diff +#if P_FAMILY_PECHARUNT +static const u16 sPecharuntTeachableLearnset[] = { + ... + MOVE_UNAVAILABLE, +}; +#endif //P_FAMILY_PECHARUNT + ++static const u16 sMewthreeTeachableLearnset[] = { ++ MOVE_FOCUS_PUNCH, ++ MOVE_WATER_PULSE, ++ MOVE_CALM_MIND, ++ MOVE_TOXIC, ++ MOVE_HAIL, ++ MOVE_BULK_UP, ++ MOVE_HIDDEN_POWER, ++ MOVE_SUNNY_DAY, ++ MOVE_TAUNT, ++ MOVE_ICE_BEAM, ++ MOVE_BLIZZARD, ++ MOVE_HYPER_BEAM, ++ MOVE_LIGHT_SCREEN, ++ MOVE_PROTECT, ++ MOVE_RAIN_DANCE, ++ MOVE_SAFEGUARD, ++ MOVE_FRUSTRATION, ++ MOVE_SOLAR_BEAM, ++ MOVE_IRON_TAIL, ++ MOVE_THUNDERBOLT, ++ MOVE_THUNDER, ++ MOVE_EARTHQUAKE, ++ MOVE_RETURN, ++ MOVE_PSYCHIC, ++ MOVE_SHADOW_BALL, ++ MOVE_BRICK_BREAK, ++ MOVE_DOUBLE_TEAM, ++ MOVE_REFLECT, ++ MOVE_SHOCK_WAVE, ++ MOVE_FLAMETHROWER, ++ MOVE_SANDSTORM, ++ MOVE_FIRE_BLAST, ++ MOVE_ROCK_TOMB, ++ MOVE_AERIAL_ACE, ++ MOVE_TORMENT, ++ MOVE_FACADE, ++ MOVE_SECRET_POWER, ++ MOVE_REST, ++ MOVE_SKILL_SWAP, ++ MOVE_SNATCH, ++ MOVE_STRENGTH, ++ MOVE_FLASH, ++ MOVE_ROCK_SMASH, ++ MOVE_MEGA_PUNCH, ++ MOVE_MEGA_KICK, ++ MOVE_BODY_SLAM, ++ MOVE_DOUBLE_EDGE, ++ MOVE_COUNTER, ++ MOVE_SEISMIC_TOSS, ++ MOVE_MIMIC, ++ MOVE_METRONOME, ++ MOVE_DREAM_EATER, ++ MOVE_THUNDER_WAVE, ++ MOVE_SUBSTITUTE, ++ MOVE_DYNAMIC_PUNCH, ++ MOVE_PSYCH_UP, ++ MOVE_SNORE, ++ MOVE_ICY_WIND, ++ MOVE_ENDURE, ++ MOVE_MUD_SLAP, ++ MOVE_ICE_PUNCH, ++ MOVE_SWAGGER, ++ MOVE_SLEEP_TALK, ++ MOVE_SWIFT, ++ MOVE_THUNDER_PUNCH, ++ MOVE_FIRE_PUNCH, ++ MOVE_UNAVAILABLE, // This is required to determine where the array ends. ++}; +#endif +``` + +Once more, we need to register the learnset in `gSpeciesInfo`: + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + FOOTPRINT(Mewthree) + .levelUpLearnset = sMewthreeLevelUpLearnset, ++ .teachableLearnset = sMewthreeTeachableLearnset, + }, + }; +``` + +If you want to create a Pokémon which can breed, you will need to edit [src/data/pokemon/egg_moves.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/pokemon/egg_moves.h). + + +## 3. Define the Evolutions + +We want Mewthree to evolve from Mewtwo by reaching level 100. + +Edit `gSpeciesInfo`: + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTWO] = + { + ... + FOOTPRINT(Mewtwo) + .isLegendary = TRUE, + .levelUpLearnset = sMewtwoLevelUpLearnset, + .teachableLearnset = sMewtwoTeachableLearnset, + .formSpeciesIdTable = sMewtwoFormSpeciesIdTable, + .formChangeTable = sMewtwoFormChangeTable, ++ .evolutions = EVOLUTION({EVO_LEVEL, 100, SPECIES_MEWTHREE}), + }, + }; +``` + +## 4. Make it appear! +Now Mewthree really does slumber in the games code - but we won't know until we make him appear somewhere! The legend tells that Mewthree is hiding somewhere in Petalburg Woods... + +Edit [src/data/wild_encounters.json](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/wild_encounters.json): + +```diff + { + "map": "MAP_PETALBURG_WOODS", + "base_label": "gPetalburgWoods", + "land_mons": { + "encounter_rate": 20, + "mons": [ + { + "min_level": 5, + "max_level": 5, + "species": "SPECIES_POOCHYENA" + }, + { + "min_level": 5, + "max_level": 5, + "species": "SPECIES_WURMPLE" + }, + { + "min_level": 5, + "max_level": 5, + "species": "SPECIES_SHROOMISH" + }, + { +- "min_level": 6, +- "max_level": 6, +- "species": "SPECIES_POOCHYENA" ++ "min_level": 5, ++ "max_level": 5, ++ "species": "SPECIES_MEWTHREE" + }, + ... + } +``` + +Congratulations, you have created your own personal pocket monster! You may call yourself a mad scientist now. + +# Optional data + +Now that you now have all the essential pieces to create a base species, there are some aspects that you might want to know if you want to do other stuff with your custom Pokémon. + +## 1. Form tables +Found in `src/data/pokemon/form_species_tables.h`. + +These are introduced to have a reference of what forms correspond to what Species of Pokémon. For example, we have Pikachu's table: +```c +#if P_FAMILY_PIKACHU +static const u16 sPikachuFormSpeciesIdTable[] = { + SPECIES_PIKACHU, + SPECIES_PIKACHU_COSPLAY, + SPECIES_PIKACHU_ROCK_STAR, + SPECIES_PIKACHU_BELLE, + SPECIES_PIKACHU_POP_STAR, + SPECIES_PIKACHU_PH_D, + SPECIES_PIKACHU_LIBRE, + SPECIES_PIKACHU_ORIGINAL_CAP, + SPECIES_PIKACHU_HOENN_CAP, + SPECIES_PIKACHU_SINNOH_CAP, + SPECIES_PIKACHU_UNOVA_CAP, + SPECIES_PIKACHU_KALOS_CAP, + SPECIES_PIKACHU_ALOLA_CAP, + SPECIES_PIKACHU_PARTNER_CAP, + SPECIES_PIKACHU_WORLD_CAP, + FORM_SPECIES_END, +}; +#endif //P_FAMILY_PIKACHU +``` +We register the table each form entry in `gSpeciesInfo`. + +```diff + [SPECIES_PIKACHU] = + { + ... + .teachableLearnset = sPikachuTeachableLearnset, ++ .formSpeciesIdTable = sPikachuFormSpeciesIdTable, + .evolutions = EVOLUTION({EVO_ITEM, ITEM_THUNDER_STONE, SPECIES_RAICHU}, + {EVO_NONE, 0, SPECIES_RAICHU_ALOLAN}), + }, + + [SPECIES_PIKACHU_COSPLAY] = + { + ... + .teachableLearnset = sPikachuTeachableLearnset, ++ .formSpeciesIdTable = sPikachuFormSpeciesIdTable, + }, +``` +...and so on. + +What this allows us to do is to be able to get all forms of a Pokémon in our code by using the `GetSpeciesFormTable` function. + +For example, in the HGSS dex, it lets us browse between the entries of every form available.: + +![image](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/a1a90b79-46a1-4cd6-97d6-ec5d741bfdc8) ![image](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/7cffc6be-0b5c-4074-b689-736a97297843) + +In addition, we have the `GET_BASE_SPECIES_ID` macro, which returns the first entry of the table (or return the species itself if it doesn't have a table registered). With this, you can check if a Pokémon is any form of a species. For example, making it so that the Light Ball affects all Pikachu forms: +```c + case HOLD_EFFECT_LIGHT_BALL: + if (GET_BASE_SPECIES_ID(gBattleMons[battlerAtk].species) == SPECIES_PIKACHU && IS_MOVE_SPECIAL(move)) + modifier = uq4_12_multiply_half_down(modifier, UQ_4_12(2.0)); + break; +``` + +## 2. Form change tables +Found in `src/data/pokemon/form_species_tables.h`. + +These tables, unlike the regular form tables, registers how Pokémon can switch between forms. + +```c +#if P_FAMILY_GASTLY +static const struct FormChange sGengarFormChangeTable[] = { + {FORM_CHANGE_BATTLE_MEGA_EVOLUTION_ITEM, SPECIES_GENGAR_MEGA, ITEM_GENGARITE}, + {FORM_CHANGE_BATTLE_GIGANTAMAX, SPECIES_GENGAR_GIGANTAMAX}, + {FORM_CHANGE_TERMINATOR}, +}; +#endif //P_FAMILY_GASTLY +``` +The first value is the type of form change. In the case of Gengar, we have both Mega Evolution and Gigantamax form changes. + +The second value is the target form, to which the Pokémon will change into. + +Values after that are referred as arguments, and needs to be put there depends on the type of form change, detailed in `include/constants/form_change_types.h`. + +## 3. Gender differences +![mGBA_Wq5cbDkNZG](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/45256192-b451-4baa-af06-f57ca16e1e46) + +You may have seen that there's a couple of duplicate fields with a "Female" suffix. +```diff + [SPECIES_FRILLISH] = + { + ... + .frontPic = gMonFrontPic_Frillish, ++ .frontPicFemale = gMonFrontPic_FrillishF, + .frontPicSize = MON_COORDS_SIZE(56, 56), ++ .frontPicSizeFemale = MON_COORDS_SIZE(56, 56), + .frontPicYOffset = 5, + .frontAnimFrames = sAnims_Frillish, + .frontAnimId = ANIM_RISING_WOBBLE, + .backPic = gMonBackPic_Frillish, ++ .backPicFemale = gMonBackPic_FrillishF, + .backPicSize = MON_COORDS_SIZE(40, 56), ++ .backPicSizeFemale = MON_COORDS_SIZE(40, 56), + .backPicYOffset = 7, + .backAnimId = BACK_ANIM_CONVEX_DOUBLE_ARC, + .palette = gMonPalette_Frillish, ++ .paletteFemale = gMonPalette_FrillishF, + .shinyPalette = gMonShinyPalette_Frillish, ++ .shinyPaletteFemale = gMonShinyPalette_FrillishF, + .iconSprite = gMonIcon_Frillish, ++ .iconSpriteFemale = gMonIcon_FrillishF, + .iconPalIndex = 0, ++ .iconPalIndexFemale = 1, + FOOTPRINT(Frillish) + .levelUpLearnset = sFrillishLevelUpLearnset, + .teachableLearnset = sFrillishTeachableLearnset, + .evolutions = EVOLUTION({EVO_LEVEL, 40, SPECIES_JELLICENT}), + }, +``` +These are used to change the graphics of the Pokémon if they're female. If they're not registered, they default to the male values. + +However, `iconPalIndexFemale` is a special case, where it's *doesn't* read the male icon palette if its `iconSpriteFemale` is set, so if you're setting a female icon, be sure to set their palette index as well. + +## 4. Overworld Data +![mGBA_4iqvhhSltK](https://github.com/rh-hideout/pokeemerald-expansion/assets/2904965/e59238dc-9779-4f26-a9e7-159a32caa3d9) + +If you have `OW_POKEMON_OBJECT_EVENTS` in your hack, you can add Overworld of your new species by following these steps: + +First, since you copied the contents from Mew's folder previously, you should also have copied its overworld sprites. Edit those to your liking, as we have done before, making sure to update the palettes + +Secondly, in [src/data/graphics/pokemon.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/graphics/pokemon.h), add the following: + +```diff + const u8 gMonIcon_Mewthree[] = INCBIN_U8("graphics/pokemon/mewthree/icon.4bpp"); + const u8 gMonFootprint_Mewthree[] = INCBIN_U8("graphics/pokemon/mewthree/footprint.1bpp"); ++ const u32 gObjectEventPic_Mewthree[] = INCBIN_COMP("graphics/pokemon/mewthree/overworld.4bpp"); ++ const u32 gOverworldPalette_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/overworld_normal.gbapal.lz"); ++ const u32 gShinyOverworldPalette_Mewthree[] = INCBIN_U32("graphics/pokemon/mewthree/overworld_shiny.gbapal.lz"); +``` + +Thirdly, in [spritesheet_rules.mk](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/spritesheet_rules.mk) + +```diff +$(POKEMONGFXDIR)/mewtwo/overworld.4bpp: %.4bpp: %.png + $(GFX) $< $@ -mwidth 4 -mheight 4 + ++$(POKEMONGFXDIR)/mewthree/overworld.4bpp: %.4bpp: %.png ++ $(GFX) $< $@ -mwidth 4 -mheight 4 + +$(POKEMONGFXDIR)/mew/overworld.4bpp: %.4bpp: %.png + $(GFX) $< $@ -mwidth 4 -mheight 4 +``` + +Fourthly, in [src/data/object_events/object_event_pic_tables_followers.h](https://github.com/rh-hideout/pokeemerald-expansion/blob/master/src/data/object_events/object_event_pic_tables_followers.h): +```diff +#if P_FAMILY_PECHARUNT +/*static const struct SpriteFrameImage sPicTable_Pecharunt[] = { + overworld_ascending_frames(gObjectEventPic_Pecharunt, 4, 4), +};*/ +#endif //P_FAMILY_PECHARUNT + ++static const struct SpriteFrameImage sPicTable_Mewthree[] = { ++ overworld_ascending_frames(gObjectEventPic_Mewthree, 4, 4), ++}; +``` + +And finally, in `gSpeciesInfo`: + +```diff + const struct SpeciesInfo gSpeciesInfo[] = + { + ... + [SPECIES_MEWTHREE] = + { + ... + FOOTPRINT(Mewthree) ++ OVERWORLD( ++ sPicTable_Mewthree, ++ SIZE_32x32, ++ SHADOW_SIZE_M, ++ TRACKS_FOOT, ++ gOverworldPalette_Mewthree, ++ gShinyOverworldPalette_Mewthree ++ ) + .levelUpLearnset = sMewthreeLevelUpLearnset, + .teachableLearnset = sMewthreeTeachableLearnset, + }, + }; +``` + +### Sprite Size +Depending on your species, you might want to use different sizes for it. For example, certain species known for being big like Steelix use sprites that fit a 64x64 frame instead of 32x32, and as such have `SIZE_64x64` in their data instead of `SIZE_32x32` to accomodate for them. + +Also, in `spritesheet_rules.mk`, `-mwidth` and `-mheight` need to be set to 8 instead of 4 for such cases. + +### Shadows +Gen 4 style shadows are defined by the `SHADOW` macro which takes the following arguments: + - X offset + - Y offset + - Shadow size +You have 4 options for their shadow, between Small, Medium, Large and Extra Large: + - `SHADOW_SIZE_S` + - `SHADOW_SIZE_M` + - `SHADOW_SIZE_L` + - `SHADOW_SIZE_XL_BATTLE_ONLY` +To make the Pokémon have no shadow, use the `NO_SHADOW` macro instead of `SHADOW`. + +### Tracks +You have 4 options for the tracks that your species will leave behind on sand. + - `TRACKS_NONE` + - `TRACKS_FOOT` ![sand_footprints](https://github.com/user-attachments/assets/8b8c34d6-72e9-4b9d-839d-0a5cc1ae1a4c) + - `TRACKS_SLITHER` ![slither_tracks](https://github.com/user-attachments/assets/28219c05-61e0-48b3-9aeb-43f48e4ffdd4) + - `TRACKS_SPOT` ![spot_tracks](https://github.com/user-attachments/assets/f7a24887-c5ca-47f2-8825-01f3df61deca) + - `TRACKS_BUG` ![bug_tracks](https://github.com/user-attachments/assets/8cd1dea4-4123-4af8-a558-992874a6d589) + + ...though technically you can also use `TRACKS_BIKE_TIRE` if you wish to. + +![bike_tire_tracks](https://github.com/user-attachments/assets/ac81d211-85e5-443a-ac54-c2976f1f0b82) From 174177a4d57d102bc181c02b2422d1b88a55b1dd Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:17:48 +0100 Subject: [PATCH 228/278] Fixes minor move desc errors (#5728) --- src/data/moves_info.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 3a6837dd2b..df12555c5b 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -12220,7 +12220,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = { .name = COMPOUND_STRING("Coil"), .description = COMPOUND_STRING( - "Coils up to raise Attack\n" + "Coils up to raise Attack,\n" "Defense and Accuracy."), .effect = EFFECT_COIL, .power = 0, @@ -17336,7 +17336,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .name = COMPOUND_STRING("Octolock"), .description = COMPOUND_STRING( "Traps the foe to lower Def\n" - "and Sp. Def fall each turn."), + "and Sp. Def each turn."), .effect = EFFECT_OCTOLOCK, .power = 0, .type = TYPE_FIGHTING, From 88cdd8bdfb901d22149ba027e17eadebb92b2839 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:22:32 +0100 Subject: [PATCH 229/278] Fixes Kee Maranga and Enigma Berry (#5727) --- include/battle.h | 2 +- src/battle_util.c | 4 ++-- test/battle/hold_effect/enigma_berry.c | 16 ++++++++++++++++ test/battle/hold_effect/kee_berry.c | 16 ++++++++++++++++ test/battle/hold_effect/maranga_berry.c | 16 ++++++++++++++++ 5 files changed, 51 insertions(+), 3 deletions(-) diff --git a/include/battle.h b/include/battle.h index fda1639fa5..20afe876ca 100644 --- a/include/battle.h +++ b/include/battle.h @@ -831,7 +831,7 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER #define BATTLER_MAX_HP(battlerId)(gBattleMons[battlerId].hp == gBattleMons[battlerId].maxHP) #define TARGET_TURN_DAMAGED ((gSpecialStatuses[gBattlerTarget].physicalDmg != 0 || gSpecialStatuses[gBattlerTarget].specialDmg != 0) || (gBattleStruct->enduredDamage & gBitTable[gBattlerTarget])) -#define BATTLER_TURN_DAMAGED(battlerId) ((gSpecialStatuses[battlerId].physicalDmg != 0 || gSpecialStatuses[battlerId].specialDmg != 0) || (gBattleStruct->enduredDamage & gBitTable[battler])) +#define BATTLER_TURN_DAMAGED(battlerId) ((gSpecialStatuses[battlerId].physicalDmg != 0 || gSpecialStatuses[battlerId].specialDmg != 0) || (gBattleStruct->enduredDamage & gBitTable[battlerId])) #define IS_BATTLER_OF_TYPE(battlerId, type)((GetBattlerType(battlerId, 0, FALSE) == type || GetBattlerType(battlerId, 1, FALSE) == type || (GetBattlerType(battlerId, 2, FALSE) != TYPE_MYSTERY && GetBattlerType(battlerId, 2, FALSE) == type))) #define IS_BATTLER_OF_BASE_TYPE(battlerId, type)((GetBattlerType(battlerId, 0, TRUE) == type || GetBattlerType(battlerId, 1, TRUE) == type || (GetBattlerType(battlerId, 2, TRUE) != TYPE_MYSTERY && GetBattlerType(battlerId, 2, TRUE) == type))) diff --git a/src/battle_util.c b/src/battle_util.c index de0d3e7cc6..dc98c278e3 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -6831,7 +6831,7 @@ static u8 TrySetEnigmaBerry(u32 battler) { if (IsBattlerAlive(battler) && !DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) - && ((TARGET_TURN_DAMAGED && gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) || gBattleScripting.overrideBerryRequirements) + && ((BATTLER_TURN_DAMAGED(battler) && gMoveResultFlags & MOVE_RESULT_SUPER_EFFECTIVE) || gBattleScripting.overrideBerryRequirements) && !(gBattleScripting.overrideBerryRequirements && gBattleMons[battler].hp == gBattleMons[battler].maxHP) && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) { @@ -6855,7 +6855,7 @@ static u8 DamagedStatBoostBerryEffect(u32 battler, u8 statId, u8 category) || (!DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) && GetBattleMoveCategory(gCurrentMove) == category && battler != gBattlerAttacker - && TARGET_TURN_DAMAGED)) + && BATTLER_TURN_DAMAGED(battler))) ) { BufferStatChange(battler, statId, STRINGID_STATROSE); diff --git a/test/battle/hold_effect/enigma_berry.c b/test/battle/hold_effect/enigma_berry.c index c678b178d3..16a598b272 100644 --- a/test/battle/hold_effect/enigma_berry.c +++ b/test/battle/hold_effect/enigma_berry.c @@ -58,3 +58,19 @@ SINGLE_BATTLE_TEST("Enigma Berry does nothing if Heal Block applies") } } } + +DOUBLE_BATTLE_TEST("Enigma Berry doesn't trigger if partner was hit") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT) { Item(ITEM_ENIGMA_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target: opponentLeft); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + } THEN { + EXPECT(opponentRight->item == ITEM_ENIGMA_BERRY); + } +} diff --git a/test/battle/hold_effect/kee_berry.c b/test/battle/hold_effect/kee_berry.c index ace35a824c..35a4e6fcd5 100644 --- a/test/battle/hold_effect/kee_berry.c +++ b/test/battle/hold_effect/kee_berry.c @@ -73,3 +73,19 @@ SINGLE_BATTLE_TEST("Kee Berry doesn't trigger if the item hold user used a physi EXPECT_EQ(player->statStages[STAT_DEF], DEFAULT_STAT_STAGE); } } + +DOUBLE_BATTLE_TEST("Kee Berry doesn't trigger if partner was hit") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT) { Item(ITEM_KEE_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target: opponentLeft); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + } THEN { + EXPECT(opponentRight->item == ITEM_KEE_BERRY); + } +} diff --git a/test/battle/hold_effect/maranga_berry.c b/test/battle/hold_effect/maranga_berry.c index a7b90bd9b3..036b2a51c0 100644 --- a/test/battle/hold_effect/maranga_berry.c +++ b/test/battle/hold_effect/maranga_berry.c @@ -73,3 +73,19 @@ SINGLE_BATTLE_TEST("Maranga Berry doesn't trigger if the item hold user used a s EXPECT_EQ(player->statStages[STAT_SPDEF], DEFAULT_STAT_STAGE); } } + +DOUBLE_BATTLE_TEST("Maranga Berry doesn't trigger if partner was hit") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WYNAUT) { Item(ITEM_MARANGA_BERRY); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target: opponentLeft); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponentRight); + } THEN { + EXPECT(opponentRight->item == ITEM_MARANGA_BERRY); + } +} From 0cd0e0b00567c87f649ba9111f0092d6bb5fd9ea Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 28 Nov 2024 11:24:38 +0100 Subject: [PATCH 230/278] Fixes Blunder Policy (#5722) --- src/battle_script_commands.c | 9 +++- test/battle/hold_effect/blunder_policy.c | 67 ++++++++++++++++++++++++ 2 files changed, 74 insertions(+), 2 deletions(-) create mode 100644 test/battle/hold_effect/blunder_policy.c diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 2ca3cd52f8..7a9409d4d4 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1767,8 +1767,6 @@ static void AccuracyCheck(bool32 recalcDragonDarts, const u8 *nextInstr, const u if (!RandomPercentage(RNG_ACCURACY, accuracy)) { gMoveResultFlags |= MOVE_RESULT_MISSED; - if (holdEffectAtk == HOLD_EFFECT_BLUNDER_POLICY) - gBattleStruct->blunderPolicy = TRUE; // Only activates from missing through acc/evasion checks if (gMovesInfo[gCurrentMove].effect == EFFECT_DRAGON_DARTS && !recalcDragonDarts // So we don't jump back and forth between targets @@ -2532,6 +2530,13 @@ static void Cmd_resultmessage(void) return; } + if (gMoveResultFlags & MOVE_RESULT_MISSED && !(gMoveResultFlags & (MOVE_RESULT_DOESNT_AFFECT_FOE | MOVE_RESULT_FAILED))) + { + if (GetBattlerHoldEffect(gBattlerAttacker, TRUE) == HOLD_EFFECT_BLUNDER_POLICY + && !IsBattlerProtected(gBattlerAttacker, gBattlerTarget, gCurrentMove)) + gBattleStruct->blunderPolicy = TRUE; // Only activates from missing through acc/evasion checks + } + if (gMoveResultFlags & MOVE_RESULT_MISSED && (!(gMoveResultFlags & MOVE_RESULT_DOESNT_AFFECT_FOE) || gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK)) { if (gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK) // Wonder Guard or Levitate - show the ability pop-up diff --git a/test/battle/hold_effect/blunder_policy.c b/test/battle/hold_effect/blunder_policy.c new file mode 100644 index 0000000000..552ad2f6fb --- /dev/null +++ b/test/battle/hold_effect/blunder_policy.c @@ -0,0 +1,67 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gItemsInfo[ITEM_BLUNDER_POLICY].holdEffect == HOLD_EFFECT_BLUNDER_POLICY); +} + +SINGLE_BATTLE_TEST("Blunder Policy raises the users speed by 2 stages if the user misses") +{ + PASSES_RANDOMLY(3, 10, RNG_ACCURACY); + GIVEN { + ASSUME(gMovesInfo[MOVE_FOCUS_BLAST].accuracy == 70); + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_BLUNDER_POLICY); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_FOCUS_BLAST); } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_FOCUS_BLAST, player); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + } THEN { + EXPECT(player->item == ITEM_NONE); + EXPECT_EQ(player->statStages[STAT_SPEED], DEFAULT_STAT_STAGE + 2); + } +} + + +SINGLE_BATTLE_TEST("Blunder Policy will never trigger if the move fails due to an immunity") +{ + PASSES_RANDOMLY(10, 10, RNG_ACCURACY); + GIVEN { + ASSUME(gMovesInfo[MOVE_FOCUS_BLAST].accuracy == 70); + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_BLUNDER_POLICY); } + OPPONENT(SPECIES_GASTLY); + } WHEN { + TURN { MOVE(player, MOVE_FOCUS_BLAST); } + } SCENE { + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_FOCUS_BLAST, player); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + } + } THEN { + EXPECT(player->item == ITEM_BLUNDER_POLICY); + EXPECT_EQ(player->statStages[STAT_SPEED], DEFAULT_STAT_STAGE); + } +} + +SINGLE_BATTLE_TEST("Blunder Policy will never trigger if the move fails due to Protect") +{ + PASSES_RANDOMLY(10, 10, RNG_ACCURACY); + GIVEN { + ASSUME(gMovesInfo[MOVE_FOCUS_BLAST].accuracy == 70); + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_BLUNDER_POLICY); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponent, MOVE_PROTECT); MOVE(player, MOVE_FOCUS_BLAST); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PROTECT, opponent); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_FOCUS_BLAST, player); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); + } + } THEN { + EXPECT(player->item == ITEM_BLUNDER_POLICY); + EXPECT_EQ(player->statStages[STAT_SPEED], DEFAULT_STAT_STAGE); + } +} From c4fe97011e5269e83d91cd710c22501f1e86bc3c Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 28 Nov 2024 22:51:34 +0100 Subject: [PATCH 231/278] Fix Floral Healing anim (#5733) --- data/battle_anim_scripts.s | 4 ++-- test/battle/form_change/primal_reversion.c | 16 ---------------- 2 files changed, 2 insertions(+), 18 deletions(-) diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index 68f804e8ed..55abebbbf0 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -10103,7 +10103,6 @@ Move_FLORAL_HEALING:: loadspritegfx ANIM_TAG_ORBS @circles loadspritegfx ANIM_TAG_PINK_PETAL @pink particles monbg ANIM_ATTACKER - monbg ANIM_TARGET playsewithpan SE_M_DETECT, SOUND_PAN_ATTACKER call CIRCLES_LEAVES call CIRCLES_LEAVES @@ -10111,6 +10110,7 @@ Move_FLORAL_HEALING:: panse SE_M_COMET_PUNCH, SOUND_PAN_ATTACKER, SOUND_PAN_TARGET, 0x2, 0x0 playsewithpan SE_M_TWISTER, 0x0 createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 0x46, 0x1, 0x40 + clearmonbg ANIM_ATTACKER delay 0x2 createsprite gFloralHealingWindLeavesTemplate, ANIM_ATTACKER, 2, 0x3c, 0x0, 0x40 delay 0x2 @@ -10133,6 +10133,7 @@ Move_FLORAL_HEALING:: createsprite gSweetScentPetalSpriteTemplate, ANIM_ATTACKER, 2, 0x55, 0x0, 0x78 delay 0x2 loopsewithpan SE_M_POISON_POWDER, SOUND_PAN_TARGET, 0x12, 0xa + monbg ANIM_TARGET call FloralHealingSpores call FloralHealingSpores call FloralHealingSpores @@ -10143,7 +10144,6 @@ Move_FLORAL_HEALING:: createsprite gGrantingStarsSpriteTemplate, ANIM_ATTACKER, 16, 0xc, 0xfffb, 0x1, 0x0, 0x20, 0x3c, 0x1 waitforvisualfinish clearmonbg ANIM_TARGET - clearmonbg ANIM_ATTACKER end FloralHealingSpores: createsprite gFloralHealingFlowerTemplate, ANIM_ATTACKER, 2, 0x0, 0xffec, 0x55, 0x50, 0x0 diff --git a/test/battle/form_change/primal_reversion.c b/test/battle/form_change/primal_reversion.c index 4b9e019b5b..df19a1d0d6 100644 --- a/test/battle/form_change/primal_reversion.c +++ b/test/battle/form_change/primal_reversion.c @@ -332,19 +332,3 @@ DOUBLE_BATTLE_TEST("Primal reversion and other switch-in effects trigger for all EXPECT_EQ(opponentRight->statStages[STAT_SPEED], DEFAULT_STAT_STAGE - 1); } } - -SINGLE_BATTLE_TEST("111") -{ - GIVEN { - ASSUME(gMovesInfo[MOVE_TACKLE].power != 0); - PLAYER(SPECIES_GROUDON) { HP(1); Item(ITEM_RED_ORB); } - PLAYER(SPECIES_WOBBUFFET) - OPPONENT(SPECIES_WOBBUFFET); - } WHEN { - TURN { MOVE(opponent, MOVE_TACKLE); SEND_OUT(player, 1); } - } SCENE { - ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_PRIMAL_REVERSION, player); - MESSAGE("Groudon's Primal Reversion! It reverted to its primal form!"); - MESSAGE("Groudon fainted!"); - } -} From 0f4b59898419b4ae2167ab7a14fb7c2e92daded3 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Thu, 28 Nov 2024 23:21:42 +0100 Subject: [PATCH 232/278] Fixes Aegislash not reverting back (#5734) --- include/constants/form_change_types.h | 4 ++++ src/battle_script_commands.c | 5 ++--- src/battle_util.c | 4 ++++ src/data/pokemon/form_change_tables.h | 8 +++++--- 4 files changed, 15 insertions(+), 6 deletions(-) diff --git a/include/constants/form_change_types.h b/include/constants/form_change_types.h index 74bc16cf2f..79a8a4cee7 100644 --- a/include/constants/form_change_types.h +++ b/include/constants/form_change_types.h @@ -134,4 +134,8 @@ // param1: amount of days #define FORM_CHANGE_DAYS_PASSED 23 +// Form change for Aegislash +#define FORM_CHANGE_BATTLE_ATTACK 24 +#define FORM_CHANGE_BATTLE_KINGS_SHIELD 25 + #endif // GUARD_CONSTANTS_FORM_CHANGE_TYPES_H diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 7a9409d4d4..f8619880d0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1127,7 +1127,6 @@ static bool32 NoTargetPresent(u8 battler, u32 move) return FALSE; } -// TODO: Convert this to a proper FORM_CHANGE type. static bool32 TryAegiFormChange(void) { // Only Aegislash with Stance Change can transform, transformed mons cannot. @@ -1142,12 +1141,12 @@ static bool32 TryAegiFormChange(void) case SPECIES_AEGISLASH_SHIELD: // Shield -> Blade if (IS_MOVE_STATUS(gCurrentMove)) return FALSE; - gBattleMons[gBattlerAttacker].species = SPECIES_AEGISLASH_BLADE; + TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_ATTACK); break; case SPECIES_AEGISLASH_BLADE: // Blade -> Shield if (gCurrentMove != MOVE_KINGS_SHIELD) return FALSE; - gBattleMons[gBattlerAttacker].species = SPECIES_AEGISLASH_SHIELD; + TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_KINGS_SHIELD); break; } diff --git a/src/battle_util.c b/src/battle_util.c index dc98c278e3..7e0970bcab 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -10848,6 +10848,10 @@ u16 GetBattleFormChangeTargetSpecies(u32 battler, u16 method) if (GetBattlerTeraType(battler) == formChanges[i].param1) targetSpecies = formChanges[i].targetSpecies; break; + case FORM_CHANGE_BATTLE_ATTACK: + case FORM_CHANGE_BATTLE_KINGS_SHIELD: + targetSpecies = formChanges[i].targetSpecies; + break; } } } diff --git a/src/data/pokemon/form_change_tables.h b/src/data/pokemon/form_change_tables.h index 52f888a55b..153dde2546 100644 --- a/src/data/pokemon/form_change_tables.h +++ b/src/data/pokemon/form_change_tables.h @@ -789,9 +789,11 @@ static const struct FormChange sFurfrouFormChangeTable[] = { #if P_FAMILY_HONEDGE static const struct FormChange sAegislashFormChangeTable[] = { - {FORM_CHANGE_BATTLE_SWITCH, SPECIES_AEGISLASH_SHIELD}, - {FORM_CHANGE_FAINT, SPECIES_AEGISLASH_SHIELD}, - {FORM_CHANGE_END_BATTLE, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_BATTLE_ATTACK, SPECIES_AEGISLASH_BLADE}, + {FORM_CHANGE_BATTLE_KINGS_SHIELD, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_BATTLE_SWITCH, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_FAINT, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_END_BATTLE, SPECIES_AEGISLASH_SHIELD}, {FORM_CHANGE_TERMINATOR}, }; #endif //P_FAMILY_HONEDGE From 320c015565854c982da8a368db3d3f84ec475710 Mon Sep 17 00:00:00 2001 From: Hedara Date: Fri, 29 Nov 2024 11:58:40 +0100 Subject: [PATCH 233/278] Fixed test messages --- test/battle/ability/intimidate.c | 12 ++++++------ test/battle/hold_effect/red_card.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/test/battle/ability/intimidate.c b/test/battle/ability/intimidate.c index f3b1f05c0c..e0f97d5bda 100644 --- a/test/battle/ability/intimidate.c +++ b/test/battle/ability/intimidate.c @@ -281,9 +281,9 @@ SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutral TURN { MOVE(player, move); SEND_OUT(player, 1); } } SCENE { ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); - MESSAGE("Neutralizing Gas filled the area!"); + MESSAGE("Neutralizing gas filled the area!"); ANIMATION(ANIM_TYPE_MOVE, move, player); - MESSAGE("The effects of Neutralizing Gas wore off!"); + MESSAGE("The effects of the neutralizing gas wore off!"); ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); SEND_IN_MESSAGE("Wobbuffet"); } THEN { @@ -316,11 +316,11 @@ SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutral } } SCENE { ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); - MESSAGE("Neutralizing Gas filled the area!"); + MESSAGE("Neutralizing gas filled the area!"); ANIMATION(ANIM_TYPE_MOVE, move, opponent); if (item != ITEM_NONE) ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, player); - MESSAGE("The effects of Neutralizing Gas wore off!"); + MESSAGE("The effects of the neutralizing gas wore off!"); ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); if (item != ITEM_NONE) { SEND_IN_MESSAGE("Wobbuffet"); @@ -341,9 +341,9 @@ SINGLE_BATTLE_TEST("Intimidate activates when it's no longer affected by Neutral TURN { MOVE(opponent, MOVE_FELL_STINGER); SEND_OUT(player, 1); } } SCENE { ABILITY_POPUP(player, ABILITY_NEUTRALIZING_GAS); - MESSAGE("Neutralizing Gas filled the area!"); + MESSAGE("Neutralizing gas filled the area!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_FELL_STINGER, opponent); - MESSAGE("The effects of Neutralizing Gas wore off!"); + MESSAGE("The effects of the neutralizing gas wore off!"); ABILITY_POPUP(opponent, ABILITY_INTIMIDATE); MESSAGE("Weezing fainted!"); ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_STATS_CHANGE, opponent); diff --git a/test/battle/hold_effect/red_card.c b/test/battle/hold_effect/red_card.c index c2a7238934..aa312797b2 100644 --- a/test/battle/hold_effect/red_card.c +++ b/test/battle/hold_effect/red_card.c @@ -486,7 +486,7 @@ SINGLE_BATTLE_TEST("Red Card activates before Eject Pack") MESSAGE("Wobbuffet is switched out with the Eject Button!"); } ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_HELD_ITEM_EFFECT, opponent); - MESSAGE("Foe Wobbuffet held up its Red Card against Wobbuffet!"); + MESSAGE("The opposing Wobbuffet held up its Red Card against Wobbuffet!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponent); } } From e4ef3a440fbdb18f86c16d39441768caea8be6d2 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Fri, 29 Nov 2024 18:46:45 +0100 Subject: [PATCH 234/278] Automatic Line Breaks, somewhat even lines (#5689) Co-authored-by: Hedara Co-authored-by: Eduardo Quezada --- include/battle_message.h | 1 + include/line_break.h | 33 ++++ src/battle_controller_player.c | 2 + src/battle_controller_safari.c | 2 + src/battle_message.c | 62 ++------ src/line_break.c | 281 +++++++++++++++++++++++++++++++++ 6 files changed, 331 insertions(+), 50 deletions(-) create mode 100644 include/line_break.h create mode 100644 src/line_break.c diff --git a/include/battle_message.h b/include/battle_message.h index 0b4570e389..7d000d289f 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -10,6 +10,7 @@ max(POKEMON_NAME_LENGTH + 1, \ ABILITY_NAME_LENGTH + 1))) #define BATTLE_MSG_MAX_WIDTH 208 +#define BATTLE_MSG_MAX_LINES 2 // for 0xFD #define B_TXT_BUFF1 0x0 diff --git a/include/line_break.h b/include/line_break.h new file mode 100644 index 0000000000..c423c9bf40 --- /dev/null +++ b/include/line_break.h @@ -0,0 +1,33 @@ +#ifndef GUARD_LINE_BREAK_H +#define GUARD_LINE_BREAK_H + +#define BADNESS_UNFILLED 1 // Badness added per pixel diff from max width +#define BADNESS_JAGGED 1 // Badness added per pixel diff from longest, squared per line +#define BADNESS_RUNT 100 // Badness added if there's a runt +#define BADNESS_OVERFLOW 100 // Badness added per pixel overflow, squared per line (not used) +#define BADNESS_WIDE_SPACE 1 // Badness added per extra pixel width (not used) +#define MAX_SPACE_WIDTH 5 + +struct StringWord { + u32 startIndex:16; + u32 length:8; + u32 width:8; +}; + +struct StringLine { + struct StringWord *words; + u16 numWords; + u8 spaceWidth; + u8 extraSpaceWidth; +}; + +void StripLineBreaks(u8 *src); +void BreakStringAutomatic(u8 *src, u32 maxWidth, u32 screenLines, u8 fontId); +void BreakSubStringAutomatic(u8 *src, u32 maxWidth, u32 screenLines, u8 fontId); + +bool32 IsWordSplittingChar(const u8 *src, u32 index); +u32 GetStringBadness(struct StringLine *stringLines, u32 numLines, u32 maxWidth); +void BuildNewString(struct StringLine *stringLines, u32 numLines, u32 maxLines, u8 *str); +bool32 StringHasManualBreaks(u8 *src); + +#endif // GUARD_LINE_BREAK_H diff --git a/src/battle_controller_player.c b/src/battle_controller_player.c index 87b1cd5ca4..3396999487 100644 --- a/src/battle_controller_player.c +++ b/src/battle_controller_player.c @@ -31,6 +31,7 @@ #include "text.h" #include "util.h" #include "window.h" +#include "line_break.h" #include "constants/battle_anim.h" #include "constants/battle_move_effects.h" #include "constants/battle_partner.h" @@ -2044,6 +2045,7 @@ static void PlayerHandleChooseAction(u32 battler) ActionSelectionCreateCursorAt(gActionSelectionCursor[battler], 0); PREPARE_MON_NICK_BUFFER(gBattleTextBuff1, battler, gBattlerPartyIndexes[battler]); BattleStringExpandPlaceholdersToDisplayedString(gText_WhatWillPkmnDo); + BreakStringAutomatic(gDisplayedStringBattle, WindowWidthPx(B_WIN_ACTION_PROMPT), 2, FONT_NORMAL); if (B_SHOW_PARTNER_TARGET && gBattleTypeFlags & BATTLE_TYPE_INGAME_PARTNER && IsBattlerAlive(B_POSITION_PLAYER_RIGHT)) { diff --git a/src/battle_controller_safari.c b/src/battle_controller_safari.c index b85157f246..932ce47fd9 100644 --- a/src/battle_controller_safari.c +++ b/src/battle_controller_safari.c @@ -20,6 +20,7 @@ #include "text.h" #include "util.h" #include "window.h" +#include "line_break.h" #include "constants/battle_anim.h" #include "constants/songs.h" #include "constants/trainers.h" @@ -298,6 +299,7 @@ static void SafariHandleChooseAction(u32 battler) ActionSelectionCreateCursorAt(gActionSelectionCursor[battler], 0); BattleStringExpandPlaceholdersToDisplayedString(gText_WhatWillPkmnDo2); + BreakStringAutomatic(gDisplayedStringBattle, WindowWidthPx(B_WIN_ACTION_PROMPT), 2, FONT_NORMAL); BattlePutTextOnWindow(gDisplayedStringBattle, B_WIN_ACTION_PROMPT); } diff --git a/src/battle_message.c b/src/battle_message.c index 049bda6d39..0dbb0c76a4 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -22,6 +22,7 @@ #include "text.h" #include "trainer_hill.h" #include "window.h" +#include "line_break.h" #include "constants/abilities.h" #include "constants/battle_dome.h" #include "constants/battle_string_ids.h" @@ -165,6 +166,11 @@ const u8 gText_drastically[] = _("drastically "); const u8 gText_severely[] = _("severely "); static const u8 sText_TerrainReturnedToNormal[] = _("The terrain returned to normal!"); // Unused +// Remove these when done testing +static const u8 sTest_TempTestText1[] = _("This is a text for testing stuff."); +static const u8 sTest_TempTestText2[] = _("This is a text for testing stuff that should be two lines."); +static const u8 sTest_TempTestText3[] = _("This is a text for testing stuff that should be three lines so it has to have some extra text."); + const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = { [STRINGID_TRAINER1LOSETEXT] = COMPOUND_STRING("{B_TRAINER1_LOSE_TEXT}"), @@ -1402,8 +1408,8 @@ const u8 gText_PkmnIsEvolving[] = _("What?\n{STR_VAR_1} is evolving!"); const u8 gText_CongratsPkmnEvolved[] = _("Congratulations! Your {STR_VAR_1}\nevolved into {STR_VAR_2}!{WAIT_SE}\p"); const u8 gText_PkmnStoppedEvolving[] = _("Huh? {STR_VAR_1}\nstopped evolving!\p"); const u8 gText_EllipsisQuestionMark[] = _("……?\p"); -const u8 gText_WhatWillPkmnDo[] = _("What will\n{B_BUFF1} do?"); -const u8 gText_WhatWillPkmnDo2[] = _("What will\n{B_PLAYER_NAME} do?"); +const u8 gText_WhatWillPkmnDo[] = _("What will {B_BUFF1} do?"); +const u8 gText_WhatWillPkmnDo2[] = _("What will {B_PLAYER_NAME} do?"); const u8 gText_WhatWillWallyDo[] = _("What will\nWALLY do?"); const u8 gText_LinkStandby[] = _("{PAUSE 16}Link standby…"); const u8 gText_BattleMenu[] = _("Battle{CLEAR_TO 56}Bag\nPokémon{CLEAR_TO 56}Run"); @@ -2421,8 +2427,7 @@ static void GetBattlerNick(u32 battler, u8 *dst) } \ } \ GetBattlerNick(battler, text); \ - toCpy = text; \ - dstWidth = GetStringLineWidth(fontId, dst, letterSpacing, lineNum, dstSize); + toCpy = text; #define HANDLE_NICKNAME_STRING_LOWERCASE(battler) \ if (GetBattlerSide(battler) != B_SIDE_PLAYER) \ @@ -2439,8 +2444,7 @@ static void GetBattlerNick(u32 battler, u8 *dst) } \ } \ GetBattlerNick(battler, text); \ - toCpy = text; \ - dstWidth = GetStringLineWidth(fontId, dst, letterSpacing, lineNum, dstSize); + toCpy = text; static const u8 *BattleStringGetOpponentNameByTrainerId(u16 trainerId, u8 *text, u8 multiplayerId, u8 battler) { @@ -2589,17 +2593,10 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) { u32 dstID = 0; // if they used dstID, why not use srcID as well? const u8 *toCpy = NULL; - u32 lastValidSkip = 0; - u32 toCpyWidth = 0; - u32 dstWidth = 0; - // This buffer may hold either the name of a trainer, Pokémon, or item. u8 text[max(max(max(32, TRAINER_NAME_LENGTH + 1), POKEMON_NAME_LENGTH + 1), ITEM_NAME_LENGTH)]; u8 *textStart = &text[0]; u8 multiplayerId; u8 fontId = FONT_NORMAL; - s16 letterSpacing = 0; - u32 lineNum = 1; - u32 displayedLineNums = 1; if (gBattleTypeFlags & BATTLE_TYPE_RECORDED_LINK) multiplayerId = gRecordedBattleMultiplayerId; @@ -2617,7 +2614,6 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) while (*src != EOS) { toCpy = NULL; - dstWidth = GetStringLineWidth(fontId, dst, letterSpacing, lineNum, dstSize); if (*src == PLACEHOLDER_BEGIN) { @@ -3122,18 +3118,6 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) if (toCpy != NULL) { - toCpyWidth = GetStringLineWidth(fontId, toCpy, letterSpacing, 1, dstSize); - - if (dstWidth + toCpyWidth > BATTLE_MSG_MAX_WIDTH) - { - dst[lastValidSkip] = displayedLineNums == 1 ? CHAR_NEWLINE : CHAR_PROMPT_SCROLL; - dstWidth = GetStringLineWidth(fontId, dst, letterSpacing, lineNum, dstSize); - if (displayedLineNums == 1) - displayedLineNums++; - else - displayedLineNums = 1; - lineNum++; - } while (*toCpy != EOS) { dst[dstID] = *toCpy; @@ -3153,31 +3137,7 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) } else { - toCpyWidth = GetGlyphWidth(*src, FALSE, fontId); dst[dstID] = *src; - if (dstWidth + toCpyWidth > BATTLE_MSG_MAX_WIDTH) - { - dst[lastValidSkip] = displayedLineNums == 1 ? CHAR_NEWLINE : CHAR_PROMPT_SCROLL; - if (displayedLineNums == 1) - displayedLineNums++; - else - displayedLineNums = 1; - lineNum++; - dstWidth = 0; - } - switch (*src) - { - case CHAR_PROMPT_CLEAR: - case CHAR_PROMPT_SCROLL: - displayedLineNums = 1; - case CHAR_NEWLINE: - lineNum++; - dstWidth = 0; - //fallthrough - case CHAR_SPACE: - lastValidSkip = dstID; - break; - } dstID++; } src++; @@ -3186,6 +3146,8 @@ u32 BattleStringExpandPlaceholders(const u8 *src, u8 *dst, u32 dstSize) dst[dstID] = *src; dstID++; + BreakStringAutomatic(dst, BATTLE_MSG_MAX_WIDTH, BATTLE_MSG_MAX_WIDTH, fontId); + return dstID; } diff --git a/src/line_break.c b/src/line_break.c new file mode 100644 index 0000000000..b8888f501f --- /dev/null +++ b/src/line_break.c @@ -0,0 +1,281 @@ +#include "global.h" +#include "line_break.h" +#include "text.h" +#include "malloc.h" + +void StripLineBreaks(u8 *src) +{ + u32 currIndex = 0; + while (src[currIndex] != EOS) + { + if (src[currIndex] == CHAR_PROMPT_SCROLL || src[currIndex] == CHAR_NEWLINE) + src[currIndex] = CHAR_SPACE; + currIndex++; + } +} + +void BreakStringAutomatic(u8 *src, u32 maxWidth, u32 screenLines, u8 fontId) +{ + u32 currIndex = 0; + u8 *currSrc = src; + while (src[currIndex] != EOS) + { + if (src[currIndex] == CHAR_PROMPT_CLEAR) + { + u8 replacedChar = src[currIndex + 1]; + src[currIndex + 1] = EOS; + BreakSubStringAutomatic(currSrc, maxWidth, screenLines, fontId); + src[currIndex + 1] = replacedChar; + currSrc = &src[currIndex + 1]; + } + currIndex++; + } + BreakSubStringAutomatic(currSrc, maxWidth, screenLines, fontId); +} + +void BreakSubStringAutomatic(u8 *src, u32 maxWidth, u32 screenLines, u8 fontId) +{ + // If the string already has line breaks, don't interfere with them + if (StringHasManualBreaks(src)) + return; + // Sanity check + if (src[0] == EOS) + return; + u32 numChars = 1; + u32 numWords = 1; + u32 currWordIndex = 0; + u32 currWordLength = 1; + bool32 isPrevCharSplitting = FALSE; + bool32 isCurrCharSplitting; + // Get numbers of chars in string and count words + while (src[numChars] != EOS) + { + isCurrCharSplitting = IsWordSplittingChar(src, numChars); + if (isCurrCharSplitting && !isPrevCharSplitting) + numWords++; + isPrevCharSplitting = isCurrCharSplitting; + numChars++; + } + // Allocate enough space for word data + struct StringWord *allWords = Alloc(numWords*sizeof(struct StringWord)); + + allWords[currWordIndex].startIndex = 0; + allWords[currWordIndex].width = 0; + isPrevCharSplitting = FALSE; + // Fill in word begin index and lengths + for (u32 i = 1; i < numChars; i++) + { + isCurrCharSplitting = IsWordSplittingChar(src, i); + if (isCurrCharSplitting && !isPrevCharSplitting) + { + allWords[currWordIndex].length = currWordLength; + currWordIndex++; + currWordLength = 0; + } + else if (!isCurrCharSplitting && isPrevCharSplitting) + { + allWords[currWordIndex].startIndex = i; + allWords[currWordIndex].width = 0; + currWordLength++; + } + else + { + currWordLength++; + } + isPrevCharSplitting = isCurrCharSplitting; + } + allWords[currWordIndex].length = currWordLength; + + // Fill in individual word widths + for (u32 i = 0; i < numWords; i++) + { + for (u32 j = 0; j < allWords[i].length; j++) + allWords[i].width += GetGlyphWidth(src[allWords[i].startIndex + j], FALSE, fontId); + } + + // Step 1: Does it all fit one one line? Then no break + // Step 2: Try to split across minimum number of lines + u32 spaceWidth = GetGlyphWidth(0, FALSE, fontId); + u32 totalWidth = allWords[0].width; + // Calculate total widths without any line breaks + for (u32 i = 1; i < numWords; i++) + totalWidth += allWords[i].width + spaceWidth; + + // If it doesn't fit on 1 line, do fancy line break calculation + // NOTE: Currently the line break calculation isn't fancy + if (totalWidth > maxWidth) + { + // Figure out how many lines are needed with naive method + u32 currLineWidth = 0; + u32 totalLines = 1; + bool32 shouldTryAgain; + for (currWordIndex = 0; currWordIndex < numWords; currWordIndex++) + { + if (currLineWidth + allWords[currWordIndex].length > maxWidth) + { + totalLines++; + currLineWidth = allWords[currWordIndex].width; + } + else + { + currLineWidth += allWords[currWordIndex].width + spaceWidth; + } + } + // LINE LAYOUT STARTS HERE + struct StringLine *stringLines; + do + { + shouldTryAgain = FALSE; + u16 targetLineWidth = totalWidth/totalLines; + stringLines = Alloc(totalLines*sizeof(struct StringLine)); + for (u32 lineIndex = 0; lineIndex < totalLines; lineIndex++) + { + stringLines[lineIndex].numWords = 0; + stringLines[lineIndex].spaceWidth = spaceWidth; + stringLines[lineIndex].extraSpaceWidth = 0; + } + currWordIndex = 0; + u16 currLineIndex = 0; + stringLines[currLineIndex].words = &allWords[currWordIndex]; + stringLines[currLineIndex].numWords = 1; + currLineWidth = allWords[currWordIndex].width; + currWordIndex++; + while (currWordIndex < numWords) + { + if (currLineWidth + spaceWidth + allWords[currWordIndex].width > maxWidth) + { + // go to next line + currLineIndex++; + if (currLineIndex == totalLines) + { + totalLines++; + Free(stringLines); + shouldTryAgain = TRUE; + break; + } + stringLines[currLineIndex].words = &allWords[currWordIndex]; + stringLines[currLineIndex].numWords = 1; + currLineWidth = allWords[currWordIndex].width; + currWordIndex++; + } + else if (currLineWidth > targetLineWidth) + { + // go to next line + currLineIndex++; + if (currLineIndex == totalLines) + { + totalLines++; + Free(stringLines); + shouldTryAgain = TRUE; + break; + } + stringLines[currLineIndex].words = &allWords[currWordIndex]; + stringLines[currLineIndex].numWords = 1; + currLineWidth = allWords[currWordIndex].width; + currWordIndex++; + } + else + { + // continue on current line + // add word and space width + currLineWidth += spaceWidth + allWords[currWordIndex].width; + stringLines[currLineIndex].numWords++; + currWordIndex++; + } + } + } while (shouldTryAgain); + //u32 currBadness = GetStringBadness(stringLines, totalLines, maxWidth); + BuildNewString(stringLines, totalLines, screenLines, src); + Free(stringLines); + } + + Free(allWords); +} + +// Only allow word splitting on allowed chars +bool32 IsWordSplittingChar(const u8 *src, u32 index) +{ + switch (src[index]) + { + case CHAR_SPACE: + return TRUE; + default: + return FALSE; + } +} + +// Badness calculation +// unfilled lines scale linerarly +// jagged lines scales by the square +// runts scale linearly +// numbers not final +// ISN'T ACTUALLY USED RIGHT NOW +u32 GetStringBadness(struct StringLine *stringLines, u32 numLines, u32 maxWidth) +{ + u32 badness = 0; + u32 *lineWidths = Alloc(numLines*4); + u32 widestWidth = 0; + for (u32 i = 0; i < numLines; i++) + { + lineWidths[i] = 0; + for (u32 j = 0; j < stringLines[i].numWords; j++) + lineWidths[i] += stringLines[i].words[j].width; + lineWidths[i] += (stringLines[i].numWords-1)*stringLines[i].spaceWidth; + if (lineWidths[i] > widestWidth) + widestWidth = lineWidths[i]; + if (stringLines[i].numWords == 1) + badness += BADNESS_RUNT; + } + for (u32 i = 0; i < numLines; i++) + { + u32 extraSpaceWidth = 0; + if (lineWidths[i] != widestWidth) + { + // Not the best way to do this, ideally a line should be allowed to get longer than current widest + // line. But then the widest line has to be recalculated. + while (lineWidths[i] + (extraSpaceWidth + 1) * (stringLines[i].numWords - 1) < widestWidth && extraSpaceWidth < MAX_SPACE_WIDTH) + extraSpaceWidth++; + lineWidths[i] += extraSpaceWidth*(stringLines[i].numWords-1); + } + badness += (maxWidth - lineWidths[i]) * BADNESS_UNFILLED; + u32 baseBadness = (widestWidth - lineWidths[i]) * BADNESS_JAGGED; + badness += baseBadness*baseBadness; + stringLines[i].extraSpaceWidth = extraSpaceWidth; + } + Free(lineWidths); + return badness; +} + +// Build the new string from the data stored in the StringLine structs +void BuildNewString(struct StringLine *stringLines, u32 numLines, u32 maxLines, u8 *str) +{ + u32 srcCharIndex = 0; + for (u32 lineIndex = 0; lineIndex < numLines; lineIndex++) + { + srcCharIndex += stringLines[lineIndex].words[0].length; + for (u32 wordIndex = 1; wordIndex < stringLines[lineIndex].numWords; wordIndex++) + // Add length of word and a space + srcCharIndex += stringLines[lineIndex].words[wordIndex].length + 1; + if (lineIndex + 1 < numLines) + { + // Add the appropriate line break depending on line number + if (lineIndex >= maxLines - 1 && numLines > maxLines) + str[srcCharIndex] = CHAR_PROMPT_SCROLL; + else + str[srcCharIndex] = CHAR_NEWLINE; + srcCharIndex++; + } + } +} + +bool32 StringHasManualBreaks(u8 *src) +{ + u32 charIndex = 0; + while (src[charIndex] != EOS) + { + if (src[charIndex] == CHAR_PROMPT_SCROLL || src[charIndex] == CHAR_NEWLINE) + return TRUE; + charIndex++; + } + return FALSE; +} From 51fbc80ac5a9c9003bff03399f156e9366638a5d Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sat, 30 Nov 2024 23:32:46 +0100 Subject: [PATCH 235/278] Fixes Misty Terrain displaying wrong message (#5742) --- src/battle_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index 7e0970bcab..f95b8f9901 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2784,7 +2784,7 @@ u8 DoBattlerEndTurnEffects(void) && !IsLeafGuardProtected(battler)) { CancelMultiTurnMoves(battler); - gEffectBattler = battler; + gEffectBattler = gBattlerTarget = battler; if (IsBattlerTerrainAffected(battler, STATUS_FIELD_ELECTRIC_TERRAIN)) { gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_TERRAINPREVENTS_ELECTRIC; From 953f2292e2b28a031b02c5171be7b901515a0b89 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Sat, 30 Nov 2024 17:39:27 -0500 Subject: [PATCH 236/278] Fixes Switch in flag not restoring mons properly with test (#5746) --- src/battle_ai_util.c | 1 + test/battle/ai/ai_switching.c | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 0277d7fd07..c033061dc9 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -3507,6 +3507,7 @@ u32 AI_WhoStrikesFirstPartyMon(u32 battlerAtk, u32 battlerDef, struct BattlePoke SetBattlerAiData(battlerAtk, AI_DATA); u32 aiMonFaster = AI_IsFaster(battlerAtk, battlerDef, moveConsidered); FreeRestoreBattleMons(savedBattleMons); + SetBattlerAiData(battlerAtk, AI_DATA); return aiMonFaster; } diff --git a/test/battle/ai/ai_switching.c b/test/battle/ai/ai_switching.c index 5610689f49..7f2368261d 100644 --- a/test/battle/ai/ai_switching.c +++ b/test/battle/ai/ai_switching.c @@ -895,3 +895,17 @@ AI_SINGLE_BATTLE_TEST("Switch AI: AI will switch into mon with good type matchup TURN { MOVE(player, MOVE_TACKLE); EXPECT_SWITCH(opponent, 1); } } } + +AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_MON_CHOICES: AI correctly handles abilities when scoring moves") +{ + GIVEN { + ASSUME(B_PRANKSTER_DARK_TYPES >= GEN_7); + ASSUME(gSpeciesInfo[SPECIES_GRENINJA].types[1] == TYPE_DARK); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_TRY_TO_FAINT | AI_FLAG_CHECK_VIABILITY | AI_FLAG_OMNISCIENT | AI_FLAG_SMART_MON_CHOICES); + PLAYER(SPECIES_GRENINJA) { Moves(MOVE_WATER_GUN); } + OPPONENT(SPECIES_WHIMSICOTT) { Ability(ABILITY_PRANKSTER); Moves(MOVE_LEECH_SEED, MOVE_STUN_SPORE, MOVE_ABSORB); } + OPPONENT(SPECIES_WHIMSICOTT) { Ability(ABILITY_INFILTRATOR); } + } WHEN { + TURN { MOVE(player, MOVE_WATER_GUN); EXPECT_MOVE(opponent, MOVE_ABSORB); } + } +} From 3343a16a7c00bb7eef9f7f261033ddd185d4c9cc Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sat, 30 Nov 2024 23:49:50 +0100 Subject: [PATCH 237/278] Fixes Dynamax dynamic move type (#5739) --- src/battle_dynamax.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 073e2c55bc..e0b782d12c 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -280,7 +280,10 @@ static u16 GetTypeBasedMaxMove(u32 battler, u32 type) // Returns the appropriate Max Move or G-Max Move for a battler to use. u16 GetMaxMove(u32 battler, u32 baseMove) { - u32 move = baseMove; + u32 moveType; + SetTypeBeforeUsingMove(baseMove, battler); + GET_MOVE_TYPE(baseMove, moveType); + if (baseMove == MOVE_NONE) // for move display { return MOVE_NONE; @@ -291,18 +294,12 @@ u16 GetMaxMove(u32 battler, u32 baseMove) } else if (gMovesInfo[baseMove].category == DAMAGE_CATEGORY_STATUS) { - move = MOVE_MAX_GUARD; - } - else if (gBattleStruct->dynamicMoveType) - { - move = GetTypeBasedMaxMove(battler, gBattleStruct->dynamicMoveType & DYNAMIC_TYPE_MASK); + return MOVE_MAX_GUARD; } else { - move = GetTypeBasedMaxMove(battler, gMovesInfo[baseMove].type); + return GetTypeBasedMaxMove(battler, moveType); } - - return move; } // First value is for Fighting, Poison and Multi-Attack. The second is for everything else. From b3b0973fbb88b5ab368925d764ba3cbee289ae54 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sun, 1 Dec 2024 00:06:17 +0100 Subject: [PATCH 238/278] Fixes Population Bomb / Triple Kick missing message (#5747) --- asm/macros/battle_script.inc | 4 +--- include/config/battle.h | 2 +- src/battle_script_commands.c | 40 +++++++++++------------------------- 3 files changed, 14 insertions(+), 32 deletions(-) diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 6dbcabe43e..27488c25d8 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -798,9 +798,7 @@ 2: .endm - .macro setmultihitcounter value:req - .byte 0x8d - .byte \value + .macro unused_0x8d .endm .macro initmultihitstring diff --git a/include/config/battle.h b/include/config/battle.h index fbc41be6ba..1b19d0d2c9 100644 --- a/include/config/battle.h +++ b/include/config/battle.h @@ -6,7 +6,7 @@ #define B_CRIT_MULTIPLIER GEN_LATEST // In Gen6+, critical hits multiply damage by 1.5 instead of 2. #define B_PARALYSIS_SPEED GEN_LATEST // In Gen7+, Speed is decreased by 50% instead of 75%. #define B_CONFUSION_SELF_DMG_CHANCE GEN_LATEST // In Gen7+, confusion has a 33.3% of self-damage, instead of 50%. -#define B_MULTI_HIT_CHANCE GEN_LATEST // In Gen5+, multi-hit moves have different %. See Cmd_setmultihitcounter for values. +#define B_MULTI_HIT_CHANCE GEN_LATEST // In Gen5+, multi-hit moves have different %. See SetRandomMultiHitCounter for values. #define B_WHITEOUT_MONEY GEN_LATEST // In Gen4+, the amount of money lost by losing a battle is determined by the amount of badges earned. Previously, it would cut the current money by half. (While this change was also in FRLG, for the sake of simplicity, setting this to GEN_3 will result in RSE behavior.) #define B_LIGHT_BALL_ATTACK_BOOST GEN_LATEST // In Gen4+, Light Ball doubles the power of physical moves in addition to special moves. #define B_SANDSTORM_SPDEF_BOOST GEN_LATEST // In Gen4+, Sandstorm weather multiplies the Sp. Defense of Rock-type Pokémon by x1.5. diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index f8619880d0..0375cfeed0 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -481,7 +481,7 @@ static void Cmd_statbuffchange(void); static void Cmd_normalisebuffs(void); static void Cmd_setbide(void); static void Cmd_twoturnmoveschargestringandanimation(void); -static void Cmd_setmultihitcounter(void); +static void Cmd_unused_0x8d(void); static void Cmd_initmultihitstring(void); static void Cmd_forcerandomswitch(void); static void Cmd_tryconversiontypechange(void); @@ -740,7 +740,7 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_normalisebuffs, //0x8A Cmd_setbide, //0x8B Cmd_twoturnmoveschargestringandanimation, //0x8C - Cmd_setmultihitcounter, //0x8D + Cmd_unused_0x8d, //0x8D Cmd_initmultihitstring, //0x8E Cmd_forcerandomswitch, //0x8F Cmd_tryconversiontypechange, //0x90 @@ -2538,6 +2538,15 @@ static void Cmd_resultmessage(void) if (gMoveResultFlags & MOVE_RESULT_MISSED && (!(gMoveResultFlags & MOVE_RESULT_DOESNT_AFFECT_FOE) || gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK)) { + if (gMultiHitCounter && gMultiHitCounter < gMovesInfo[gCurrentMove].strikeCount) + { + gMultiHitCounter = 0; + gMoveResultFlags &= ~MOVE_RESULT_MISSED; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_MultiHitPrintStrings; + return; + } + if (gBattleCommunication[MISS_TYPE] > B_MSG_AVOIDED_ATK) // Wonder Guard or Levitate - show the ability pop-up CreateAbilityPopUp(gBattlerTarget, gBattleMons[gBattlerTarget].ability, (gBattleTypeFlags & BATTLE_TYPE_DOUBLE) != 0); stringId = gMissStringIds[gBattleCommunication[MISS_TYPE]]; @@ -12019,33 +12028,8 @@ static void Cmd_twoturnmoveschargestringandanimation(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_setmultihitcounter(void) +static void Cmd_unused_0x8d(void) { - CMD_ARGS(u8 value); - - if (cmd->value) - { - gMultiHitCounter = cmd->value; - } - else - { - if (GetBattlerAbility(gBattlerAttacker) == ABILITY_SKILL_LINK) - { - gMultiHitCounter = 5; - } - else - { - // WARNING: These seem to be unused, see SetRandomMultiHitCounter. - if (B_MULTI_HIT_CHANCE >= GEN_5) - // 35%: 2 hits, 35%: 3 hits, 15% 4 hits, 15% 5 hits. - gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 7, 7, 3, 3); - else - // 37.5%: 2 hits, 37.5%: 3 hits, 12.5% 4 hits, 12.5% 5 hits. - gMultiHitCounter = RandomWeighted(RNG_HITS, 0, 0, 3, 3, 1, 1); - } - } - - gBattlescriptCurrInstr = cmd->nextInstr; } static void Cmd_initmultihitstring(void) From acdd447160f6e069a57b291ab551e0a65a181ee9 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sun, 1 Dec 2024 01:19:08 +0100 Subject: [PATCH 239/278] Changes Max Phantasm move anim script call (#5737) --- data/battle_anim_scripts.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/battle_anim_scripts.s b/data/battle_anim_scripts.s index 55abebbbf0..48ccc089dc 100644 --- a/data/battle_anim_scripts.s +++ b/data/battle_anim_scripts.s @@ -34257,7 +34257,7 @@ Move_G_MAX_TERROR:: Move_MAX_PHANTASM:: createvisualtask AnimTask_DynamaxGrowth, 0x5, 0x1, 0x1 waitforvisualfinish - goto Move_PHANTOM_FORCE + goto Move_SHADOW_BALL end Move_G_MAX_GRAVITAS:: From 987264caea512645d06d999531e56e7e4b4c1ac2 Mon Sep 17 00:00:00 2001 From: SarnPoke <77281351+SarnPoke@users.noreply.github.com> Date: Sun, 1 Dec 2024 01:35:44 +0100 Subject: [PATCH 240/278] Deoxys Sprite/Animation Fixes (#5603) --- graphics/pokemon/deoxys/anim_front.png | Bin 1484 -> 1494 bytes graphics/pokemon/deoxys/attack/anim_front.png | Bin 1705 -> 1787 bytes graphics/pokemon/deoxys/attack/normal.pal | 4 ++-- .../pokemon/deoxys/defense/anim_front.png | Bin 1280 -> 1670 bytes graphics/pokemon/deoxys/defense/normal.pal | 6 +++--- graphics/pokemon/deoxys/defense/shiny.pal | 2 +- graphics/pokemon/deoxys/normal.pal | 6 +++--- graphics/pokemon/deoxys/shiny.pal | 2 +- graphics/pokemon/deoxys/speed/anim_front.png | Bin 1599 -> 1681 bytes graphics/pokemon/deoxys/speed/normal.pal | 4 ++-- src/data/pokemon_graphics/front_pic_anims.h | 3 +-- 11 files changed, 13 insertions(+), 14 deletions(-) diff --git a/graphics/pokemon/deoxys/anim_front.png b/graphics/pokemon/deoxys/anim_front.png index d2f3e993818961667895514e9aca7a3d3685cef7..fc782931d1587be45130f8000e6b5e331e1eeace 100644 GIT binary patch delta 1463 zcmV;o1xWhL3)TyeB!35VNliru=n5MS9v0DHT=W0{02g#cSaefwW^{L9a%BKVOhiyl zM<8}(av(DOV1ZP1_K>z@;j|==^1poj5 zFi=cXMfjkw%t1l;u#o?AN? zME|7+^2GoE1o}xtK~#90wU*C|<2Dq>Jzy~CCSvH~|H8b?(gq4K($Et2&=N#4OV2$l z6lT~OyXmE27@`__oV^unk~FEHyO&<}U+A@$rGLU4y7xUy`y@N@kJw3Js1AcY?~||I zd$OdjWivf_6f_i^=ayO&3hKwZuU0Oov<7@(5iNn4@n`G1?=!0E zDTY5-76M%Na3tT!IZYctssS6k%*BVFmA`4v@p`6htb4sz$a#0Jw)6dEUpJLpPCAho=z*4Bf-_ux1oTf-2F+g4# z^SxI~1U{N=CFE=72ou@^zrOtw0h*HS;+ncz;JH--4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eo)%ThZ!p4bLZ>P;ZPuC7O* z0WrZXH-Gj~dI%8k;OqYe{teJ@LL!h`q32@Aea+Orc)ld8HSi{Y zbh^ZhXCsSjG)NO*DY^jq)eT_WAMT|ktW%&iVSmQLk_S250F?$anwDJwmC<^eycsKW zLIdk6j0c54_PFUIu8Z8QtDo)8Jj=-*w@Oi(Z>pcI|3RQ=0dv^`3>WZ)2@pJp7Vucs zm8Ak?6L2PYmon+m^~Tn~K{mMol6abmoFlOIi?@LbA;fq=M_ZuK(bYDl>qAt``#-JZAMOqa&b0A>6T(i% zSvF1#M+`6%9=~5^+n_Mv0%hMdfkd3HHhIMYcw7kT}{Ui}*XBROltCK2;A7xT>* z~fgd3fMe3JUs#wWb8-Gc& zGmW?(^Dk#+q%r?do@)q;(5Lspug#4nwj8^6q29kI3gCW>@ypvl zh#tPbx?1?FY>qLWF55N`7+qamhcKvsdDgZOQbxbI{uldeI*)aX+cpqzgX<6js+2fQ zb5iU$>EYE4t81~0cf=Lo>i(>O9rbzCt|`;+==x1dK}B0obW-7~y2=f{rLY!6MKJMEe_ZUy%KGQDL!sFu79Aj9g<|I8)+ U@k3AW7XSbN07*qoM6N<$f{6jhNdN!< diff --git a/graphics/pokemon/deoxys/attack/anim_front.png b/graphics/pokemon/deoxys/attack/anim_front.png index 0b43a9fe11e147604f6fb112102d703d15d38de5..566e80eafd01372ad38973a81193358cd53aade8 100644 GIT binary patch delta 186 zcmZ3<``sf3odCsWfl*^R3-)n2JsTth?3y^w370~qErTVAC~|>cZIUl zA_ZeTlfu>|4}nTJN(%hkfilKGHiK7#raX{hNq6*hWMJ6X&;2Kn705RT@CkAKv0y`j zg~k73uQQI05)u*_CmsY$*f1kugGE3>fknrU9}_(Vq&K|Eiw3G^O!9Vj`M;F?(@_Qn hHhE7M$B>FS8*60Q1pY}WvjgQBJYD@<);T3K0RUEdIz|8h delta 84 zcmey(yOMW;il9M&Pl)S}1sf79EPfPt?8wNN*sr3TH|d2h0|NtRfk$L90|Va?5N4dJ l%_q&kz$WkM;usRqy78PWn}EP`+YF#O22WQ%mvv4FO#sU48dLxP diff --git a/graphics/pokemon/deoxys/attack/normal.pal b/graphics/pokemon/deoxys/attack/normal.pal index 246d4784a2..52ddbb8fc6 100644 --- a/graphics/pokemon/deoxys/attack/normal.pal +++ b/graphics/pokemon/deoxys/attack/normal.pal @@ -3,8 +3,8 @@ JASC-PAL 16 248 160 176 96 56 56 -248 112 72 -184 104 104 +255 115 74 +204 65 65 24 24 24 104 200 224 80 144 176 diff --git a/graphics/pokemon/deoxys/defense/anim_front.png b/graphics/pokemon/deoxys/defense/anim_front.png index 2ee6e0c527eddef7c6f11f0f0e651cb6cbbf429d..ce3cdad39cf4eaeca8018faa22cef35fdac81e0e 100644 GIT binary patch delta 1640 zcmV-u2ABDO3Wg1kB!35VNliru=n5MSAShA9S|R`d02g#cSaefwW^{L9a%BKVOhiyl zM<8}(av(DOV1ZP1_K>z@;j|==^1poj5 zFi=cXMfjkwU^qC;K|%j>N< zME|7+^2GoE1*%CzK~#90t(VPeBS#R&)xJc`Nz)D1;#0Z?5~G`@U{~xpFJdqBD25#5 z1+{Hh@cJMPX3u*G0civ)r$g>}gs|ke5OUaeNmciZG&A}LhV;Q7)4!>zuCA{BPp8uy zI_`Cj4UITFMu?Y&e~2T1G9TX{E{+)ZaY`m$A2u+(H8*hz2TjQSZT8_az~GRF*MHuQ zKmP%6$b=ZWcUSHKK%ecOU!i$tvTM+B?Dhfc3!MHmwE!`knmt5hG}?F8f(C7@-3?=X zImB1??`u$anoZ>0j)Bt)RLBN!XeJV%wI!nPKnjqc&SZk9f17|rJ;5Ok9C_#ifeAKD z2zmt&rE?N7RS2&Rh5qjp--8O zlCTs?)_`|nf4=dtqE+#eA}QxX!OY)Q0QvM=6G1ure5X4}gAWlraK6KQS&|!o5_@_d z(h-2(7SJJ!dV1ffnP>rmLNFePJA#S$+m2f_00@A+Vt}nt2z?KbD_=37 zSI7(51pt&!LrgygHGnq4jKhus17yc9bshkU5!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_G}46Iu{T^vIy=4`Cl%qqZOck>0vFi%%Mmvv4F FO#lqnF2Mi* delta 116 zcmbQpyPs!*N`ygxPl)S}1sf~^5&|Y{$T;yJ!NTH4fro^I#DR>A0|ze5NZ9b>$BzPw zj);JOii!dTFnDcYcooRtEbxddW?X?_wfUqO7+AM@x;TbJv~E1NnN{Fb@P>~d N4W6!kF6*2UngDyWDt`a~ diff --git a/graphics/pokemon/deoxys/speed/normal.pal b/graphics/pokemon/deoxys/speed/normal.pal index dad052e1da..ea1073a0ee 100644 --- a/graphics/pokemon/deoxys/speed/normal.pal +++ b/graphics/pokemon/deoxys/speed/normal.pal @@ -6,9 +6,9 @@ JASC-PAL 80 144 176 104 200 224 96 56 56 -248 112 72 +255 115 74 24 24 24 -192 104 104 +204 65 65 192 192 208 152 96 176 248 248 248 diff --git a/src/data/pokemon_graphics/front_pic_anims.h b/src/data/pokemon_graphics/front_pic_anims.h index d802521afe..5b49ed6d20 100644 --- a/src/data/pokemon_graphics/front_pic_anims.h +++ b/src/data/pokemon_graphics/front_pic_anims.h @@ -5205,8 +5205,7 @@ static const union AnimCmd sAnim_DeoxysNormal_1[] = { ANIMCMD_FRAME(0, 16), ANIMCMD_FRAME(1, 16), - ANIMCMD_FRAME(0, 26), - ANIMCMD_FRAME(1, 16), + ANIMCMD_FRAME(1, 26), ANIMCMD_FRAME(0, 16), ANIMCMD_END, }; From 0ca588943b47606b6abd91c757b0b27e9001f518 Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Sun, 1 Dec 2024 13:45:35 +0100 Subject: [PATCH 241/278] Fixes choiced moves not locked in after ability block (#5738) --- include/battle.h | 2 +- include/battle_util.h | 1 + src/battle_script_commands.c | 40 -------------------------- src/battle_util.c | 56 ++++++++++++++++++++++++++++++++---- test/battle/ai/ai.c | 25 ++++++++++++++++ 5 files changed, 77 insertions(+), 47 deletions(-) diff --git a/include/battle.h b/include/battle.h index 20afe876ca..d32481ee4d 100644 --- a/include/battle.h +++ b/include/battle.h @@ -802,8 +802,8 @@ struct BattleStruct u8 categoryOverride; // for Z-Moves and Max Moves u32 stellarBoostFlags[NUM_BATTLE_SIDES]; // stored as a bitfield of flags for all types for each side u8 fickleBeamBoosted:1; - u8 obedienceResult:3; u8 redCardActivates:1; + u8 padding:6; u8 usedMicleBerry; }; diff --git a/include/battle_util.h b/include/battle_util.h index 71d81ce3bb..0d73a0a9dd 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -82,6 +82,7 @@ enum CANCELLER_SKY_DROP, CANCELLER_ASLEEP, CANCELLER_FROZEN, + CANCELLER_OBEDIENCE, CANCELLER_TRUANT, CANCELLER_RECHARGE, CANCELLER_FLINCH, diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0375cfeed0..ede9c07332 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1282,46 +1282,6 @@ static void Cmd_attackcanceler(void) gHitMarker &= ~HITMARKER_ALLOW_NO_PP; - if (!(gHitMarker & HITMARKER_OBEYS) && !(gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS)) - { - switch (gBattleStruct->obedienceResult) - { - case OBEYS: - break; - case DISOBEYS_LOAFS: - // Randomly select, then print a disobedient string - // B_MSG_LOAFING, B_MSG_WONT_OBEY, B_MSG_TURNED_AWAY, or B_MSG_PRETEND_NOT_NOTICE - gBattleCommunication[MULTISTRING_CHOOSER] = MOD(Random(), NUM_LOAF_STRINGS); - gBattlescriptCurrInstr = BattleScript_MoveUsedLoafingAround; - gMoveResultFlags |= MOVE_RESULT_MISSED; - return; - case DISOBEYS_HITS_SELF: - gBattlerTarget = gBattlerAttacker; - gBattleMoveDamage = CalculateMoveDamage(MOVE_NONE, gBattlerAttacker, gBattlerAttacker, TYPE_MYSTERY, 40, FALSE, FALSE, TRUE); - gBattlescriptCurrInstr = BattleScript_IgnoresAndHitsItself; - gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; - gHitMarker |= HITMARKER_OBEYS; - return; - case DISOBEYS_FALL_ASLEEP: - gBattlescriptCurrInstr = BattleScript_IgnoresAndFallsAsleep; - gMoveResultFlags |= MOVE_RESULT_MISSED; - return; - case DISOBEYS_WHILE_ASLEEP: - gBattlescriptCurrInstr = BattleScript_IgnoresWhileAsleep; - gMoveResultFlags |= MOVE_RESULT_MISSED; - return; - case DISOBEYS_RANDOM_MOVE: - gCalledMove = gBattleMons[gBattlerAttacker].moves[gCurrMovePos]; - SetAtkCancellerForCalledMove(); - gBattlescriptCurrInstr = BattleScript_IgnoresAndUsesRandomMove; - gBattlerTarget = GetMoveTarget(gCalledMove, NO_TARGET_OVERRIDE); - gHitMarker |= HITMARKER_DISOBEDIENT_MOVE; - gHitMarker |= HITMARKER_OBEYS; - return; - } - } - - gHitMarker |= HITMARKER_OBEYS; // Check if no available target present on the field or if Sky Battles ban the move if ((NoTargetPresent(gBattlerAttacker, gCurrentMove) && (!gBattleMoveEffects[gMovesInfo[gCurrentMove].effect].twoTurnEffect || (gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS))) diff --git a/src/battle_util.c b/src/battle_util.c index f95b8f9901..6f0b2af880 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -145,8 +145,6 @@ void HandleAction_UseMove(void) gBattleScripting.savedMoveEffect = 0; gCurrMovePos = gChosenMovePos = *(gBattleStruct->chosenMovePositions + gBattlerAttacker); - gBattleStruct->obedienceResult = GetAttackerObedienceForAction(); - // choose move if (gProtectStructs[gBattlerAttacker].noValidMoves) { @@ -3222,7 +3220,8 @@ void SetAtkCancellerForCalledMove(void) u8 AtkCanceller_UnableToUseMove(u32 moveType) { - u8 effect = 0; + u32 effect = 0; + u32 obedienceResult; do { switch (gBattleStruct->atkCancellerTracker) @@ -3306,6 +3305,53 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) } gBattleStruct->atkCancellerTracker++; break; + case CANCELLER_OBEDIENCE: + obedienceResult = GetAttackerObedienceForAction(); + if (obedienceResult != OBEYS + && !(gHitMarker & HITMARKER_NO_PPDEDUCT) // Don't check obedience after first hit of multi target move or multi hit moves + && !(gBattleMons[gBattlerAttacker].status2 & STATUS2_MULTIPLETURNS)) + { + switch (obedienceResult) + { + case DISOBEYS_LOAFS: + // Randomly select, then print a disobedient string + // B_MSG_LOAFING, B_MSG_WONT_OBEY, B_MSG_TURNED_AWAY, or B_MSG_PRETEND_NOT_NOTICE + gBattleCommunication[MULTISTRING_CHOOSER] = MOD(Random(), NUM_LOAF_STRINGS); + gBattlescriptCurrInstr = BattleScript_MoveUsedLoafingAround; + gMoveResultFlags |= MOVE_RESULT_MISSED; + break; + case DISOBEYS_HITS_SELF: + gBattlerTarget = gBattlerAttacker; + gBattleMoveDamage = CalculateMoveDamage(MOVE_NONE, gBattlerAttacker, gBattlerAttacker, TYPE_MYSTERY, 40, FALSE, FALSE, TRUE); + gBattlescriptCurrInstr = BattleScript_IgnoresAndHitsItself; + gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; + gHitMarker |= HITMARKER_OBEYS; + break; + case DISOBEYS_FALL_ASLEEP: + gBattlescriptCurrInstr = BattleScript_IgnoresAndFallsAsleep; + gMoveResultFlags |= MOVE_RESULT_MISSED; + break; + case DISOBEYS_WHILE_ASLEEP: + gBattlescriptCurrInstr = BattleScript_IgnoresWhileAsleep; + gMoveResultFlags |= MOVE_RESULT_MISSED; + break; + case DISOBEYS_RANDOM_MOVE: + gCalledMove = gBattleMons[gBattlerAttacker].moves[gCurrMovePos]; + SetAtkCancellerForCalledMove(); + gBattlescriptCurrInstr = BattleScript_IgnoresAndUsesRandomMove; + gBattlerTarget = GetMoveTarget(gCalledMove, NO_TARGET_OVERRIDE); + gHitMarker |= HITMARKER_DISOBEDIENT_MOVE; + gHitMarker |= HITMARKER_OBEYS; + break; + } + effect = 1; + } + else + { + gHitMarker |= HITMARKER_OBEYS; + } + gBattleStruct->atkCancellerTracker++; + break; case CANCELLER_TRUANT: // truant if (GetBattlerAbility(gBattlerAttacker) == ABILITY_TRUANT && gDisableStructs[gBattlerAttacker].truantCounter) { @@ -3554,7 +3600,6 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gBattleMoveDamage = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; if (GetActiveGimmick(gBattlerAttacker) != GIMMICK_Z_MOVE - || gBattleStruct->obedienceResult != OBEYS || HasTrainerUsedGimmick(gBattlerAttacker, GIMMICK_Z_MOVE)) gBattlescriptCurrInstr = BattleScript_MoveUsedPowder; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; @@ -3575,8 +3620,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gBattleStruct->atkCancellerTracker++; break; case CANCELLER_Z_MOVES: - if (GetActiveGimmick(gBattlerAttacker) == GIMMICK_Z_MOVE - && gBattleStruct->obedienceResult == OBEYS) + if (GetActiveGimmick(gBattlerAttacker) == GIMMICK_Z_MOVE) { // For Z-Mirror Move, so it doesn't play the animation twice. bool32 alreadyUsed = HasTrainerUsedGimmick(gBattlerAttacker, GIMMICK_Z_MOVE); diff --git a/test/battle/ai/ai.c b/test/battle/ai/ai.c index a19481c7ed..b52e64262d 100644 --- a/test/battle/ai/ai.c +++ b/test/battle/ai/ai.c @@ -805,3 +805,28 @@ AI_SINGLE_BATTLE_TEST("AI uses a guaranteed KO move instead of the move with the NOT MESSAGE("Wobbuffet fainted!"); } } + +AI_SINGLE_BATTLE_TEST("AI stays choice locked into moves in spite of the player's ability disabling them") +{ + u32 playerMon, ability, aiMove; + PARAMETRIZE { ability = ABILITY_DAZZLING; playerMon = SPECIES_BRUXISH; aiMove = MOVE_QUICK_ATTACK; } + PARAMETRIZE { ability = ABILITY_QUEENLY_MAJESTY; playerMon = SPECIES_TSAREENA; aiMove = MOVE_QUICK_ATTACK; } + PARAMETRIZE { ability = ABILITY_ARMOR_TAIL; playerMon = SPECIES_FARIGIRAF; aiMove = MOVE_QUICK_ATTACK; } + PARAMETRIZE { ability = ABILITY_SOUNDPROOF; playerMon = SPECIES_EXPLOUD; aiMove = MOVE_BOOMBURST; } + PARAMETRIZE { ability = ABILITY_BULLETPROOF; playerMon = SPECIES_CHESNAUGHT; aiMove = MOVE_BULLET_SEED; } + + GIVEN { + ASSUME(gItemsInfo[ITEM_CHOICE_BAND].holdEffect == HOLD_EFFECT_CHOICE_BAND); + ASSUME(gMovesInfo[MOVE_QUICK_ATTACK].priority == 1); + ASSUME(gMovesInfo[MOVE_BOOMBURST].soundMove == TRUE); + ASSUME(gMovesInfo[MOVE_BULLET_SEED].ballisticMove == TRUE); + ASSUME(gMovesInfo[MOVE_TAIL_WHIP].category == DAMAGE_CATEGORY_STATUS); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(playerMon) { Ability(ability); } + OPPONENT(SPECIES_SMEARGLE) { Item(ITEM_CHOICE_BAND); Moves(aiMove, MOVE_TACKLE); } + } WHEN { + TURN { SWITCH(player, 1); EXPECT_MOVE(opponent, aiMove); } + TURN { EXPECT_MOVE(opponent, aiMove); } + } +} From 6fe935f1b8b8d3eb515c794fd2212b1b97cdbde1 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 14:04:13 -0300 Subject: [PATCH 242/278] Version 1.9.4 --- .../ISSUE_TEMPLATE/01_battle_engine_bugs.yaml | 3 +- .../ISSUE_TEMPLATE/02_battle_ai_issues.yaml | 3 +- .github/ISSUE_TEMPLATE/04_other_errors.yaml | 3 +- README.md | 4 +- docs/SUMMARY.md | 1 + docs/changelogs/1.9.x/1.9.4.md | 200 ++++++++++++++++++ include/constants/expansion.h | 4 +- 7 files changed, 211 insertions(+), 7 deletions(-) create mode 100644 docs/changelogs/1.9.x/1.9.4.md diff --git a/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml b/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml index 8240a56801..6a654402ac 100644 --- a/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml +++ b/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml @@ -23,9 +23,10 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.3 (Latest release) + - 1.9.4 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 diff --git a/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml b/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml index 5688f8a7fb..ff9823aa01 100644 --- a/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml +++ b/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml @@ -23,9 +23,10 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.3 (Latest release) + - 1.9.4 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 diff --git a/.github/ISSUE_TEMPLATE/04_other_errors.yaml b/.github/ISSUE_TEMPLATE/04_other_errors.yaml index add0633d95..ab400f7b9d 100644 --- a/.github/ISSUE_TEMPLATE/04_other_errors.yaml +++ b/.github/ISSUE_TEMPLATE/04_other_errors.yaml @@ -23,9 +23,10 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.3 (Latest release) + - 1.9.4 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 diff --git a/README.md b/README.md index 5330e40981..823a02479c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ pokeemerald-expansion is a decomp hack base project based off pret's [pokeemeral If you use pokeemerald-expansion in your hack, please add RHH (Rom Hacking Hideout) to your credits list. Optionally, you can list the version used, so it can help players know what features to expect. You can phrase it as the following: ``` -Based off RHH's pokeemerald-expansion 1.9.3 https://github.com/rh-hideout/pokeemerald-expansion/ +Based off RHH's pokeemerald-expansion 1.9.4 https://github.com/rh-hideout/pokeemerald-expansion/ ``` Please follow the instructions in `INSTALL.md` to get pokeemerald-expansion set up on your machine. @@ -177,7 +177,7 @@ With this, you'll get the latest version of pokeemerald-expansion, plus a couple - Check your current version. - You can check in the debug menu's `Utilities -> Expansion Version` option. - If the option is not available, you possibly have version 1.6.2 or older. In that case, please check the [changelogs](CHANGELOG.md) to determine your version based on the features available on your repository. -- Once you have your remote set up, run the command `git pull RHH expansion/X.Y.Z`, replacing X, Y and Z with the digits of the respective version you want to update to (eg, to update to 1.9.3, use `git pull RHH expansion/1.9.3`). +- Once you have your remote set up, run the command `git pull RHH expansion/X.Y.Z`, replacing X, Y and Z with the digits of the respective version you want to update to (eg, to update to 1.9.4, use `git pull RHH expansion/1.9.4`). - ***Important:*** If you are several versions behind, we recommend updating one minor version at a time, skipping directly to the latest patch version (eg, 1.5.3 -> 1.6.2 -> 1.7.4 and so on) - Alternatively, you can update to unreleased versions of the expansion. - ***master (stable):*** It contains unreleased **bugfixes** that will come in the next patch version. To merge, use `git pull RHH master`. diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index ac4698fdc3..ab016136a1 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -19,6 +19,7 @@ - [How to use the Testing System](tutorials/how_to_testing_system.md) - [Changelog](./CHANGELOG.md) - [1.9.x]() + - [Version 1.9.4](changelogs/1.9.x/1.9.4.md) - [Version 1.9.3](changelogs/1.9.x/1.9.3.md) - [Version 1.9.2](changelogs/1.9.x/1.9.2.md) - [Version 1.9.1](changelogs/1.9.x/1.9.1.md) diff --git a/docs/changelogs/1.9.x/1.9.4.md b/docs/changelogs/1.9.x/1.9.4.md new file mode 100644 index 0000000000..36dc2afc73 --- /dev/null +++ b/docs/changelogs/1.9.x/1.9.4.md @@ -0,0 +1,200 @@ +# Version 1.9.4 + +```md +## How to update +- If you haven't set up a remote, run the command `git remote add RHH https://github.com/rh-hideout/pokeemerald-expansion`. +- Once you have your remote set up, run the command `git pull RHH expansion/1.9.4`. +``` + +## 🌋 IMPORTANT 🌋 +- This update integrates pret's latest Makefile changes, which rearranges the entire file in order to speed up compilation times overall. If you did any changes to it (such as installing Poryscript) and are having issues resolving the conflicts, keep expansion's version of Makefile and reapply your changes afterwards. + +## 🧬 General 🧬 +### Fixed +* Fixed alignment errors in `EWRAM_INIT` and friends when using u8, u16, etc. by @aronson in [#5512](https://github.com/rh-hideout/pokeemerald-expansion/pull/5512) +* Update test LD script to respect 4 byte data section alignment by @aronson in [#5517](https://github.com/rh-hideout/pokeemerald-expansion/pull/5517) +* Fixed Missing `string_util.h` include in `mini_printf.c` by @mrgriffin in [#5572](https://github.com/rh-hideout/pokeemerald-expansion/pull/5572) +* Fixed unnecessary dependency scanning for test build and test rom names by @ravepossum in [#5594](https://github.com/rh-hideout/pokeemerald-expansion/pull/5594) +* Fixed makefile: dependencies for `map_group_count.h` by @SBird1337 in [#5648](https://github.com/rh-hideout/pokeemerald-expansion/pull/5648) + - Fixes an issue that caused the build to fail on updates to `src/debug.c` due to mismatched dependency. + +## 🗺️ Overworld 🗺️ +### Changed +* Followers sprite fixes by @Cafeei in [#5669](https://github.com/rh-hideout/pokeemerald-expansion/pull/5669) +* Follower fixes, Melmetal, Patrat, Woobat by @hedara90 in [#5685](https://github.com/rh-hideout/pokeemerald-expansion/pull/5685) +* Fixed Farfetch'd overworld sprite by @hedara90 in [#5711](https://github.com/rh-hideout/pokeemerald-expansion/pull/5711) + +### Fixed +* Fixed Berry mutations always generating a Persim Berry by @Bassoonian in [#5504](https://github.com/rh-hideout/pokeemerald-expansion/pull/5504) + +## 🐉 Pokémon 🐉 +### Changed +* Changing `EVO_NONE` from `0xFFFE` to `0` by @GhoulMage in [#5547](https://github.com/rh-hideout/pokeemerald-expansion/pull/5547) + - There could be a case for out of bounds errors if arrays or iterations are happening where you're using + 1 or - 1, as `EVO_FRIENDSHIP` used to be the first index although it started with 1. +* PokeCommunity sprites batch (October) by @kittenchilly in [#5655](https://github.com/rh-hideout/pokeemerald-expansion/pull/5655) +* Followers sprite fixes by @Cafeei in [#5669](https://github.com/rh-hideout/pokeemerald-expansion/pull/5669) +* Follower fixes, Melmetal, Patrat, Woobat by @hedara90 in [#5685](https://github.com/rh-hideout/pokeemerald-expansion/pull/5685) +* Fixed Farfetch'd overworld sprite by @hedara90 in [#5711](https://github.com/rh-hideout/pokeemerald-expansion/pull/5711) + +### Fixed +* Fixed `P_FRIENDSHIP_EVO_THRESHOLD` not checking for Gen 8 by @kittenchilly in [#5503](https://github.com/rh-hideout/pokeemerald-expansion/pull/5503) +* Fixed HGSS dex search printing wrong mon after selecting evos by @ravepossum in [#5552](https://github.com/rh-hideout/pokeemerald-expansion/pull/5552) +* Fixed 64px uncompressed followers by @hedara90 in [#5601](https://github.com/rh-hideout/pokeemerald-expansion/pull/5601) +* Deoxys Sprite/Animation Fixes by @SarnPoke in [#5603](https://github.com/rh-hideout/pokeemerald-expansion/pull/5603) +* Fixes Aegislash not reverting back by @AlexOn1ine in [#5734](https://github.com/rh-hideout/pokeemerald-expansion/pull/5734) + +## ⚔️ Battle General ⚔️ +### Changed +* Fixed damage calc modifiers by @AlexOn1ine in [#5604](https://github.com/rh-hideout/pokeemerald-expansion/pull/5604) + +### Fixed +* Fixed Shiny Pokemon not being shiny after transforming with a gimmick by @hedara90 in [#5573](https://github.com/rh-hideout/pokeemerald-expansion/pull/5573) +* Handle showdowns apostrophe the same way as ASCII apostrophe by @cawtds in [#5712](https://github.com/rh-hideout/pokeemerald-expansion/pull/5712) +* Fixes Misty Terrain displaying wrong message by @AlexOn1ine in [#5742](https://github.com/rh-hideout/pokeemerald-expansion/pull/5742) +* Fixes Dynamax dynamic move type by @AlexOn1ine in [#5739](https://github.com/rh-hideout/pokeemerald-expansion/pull/5739) + +## 🤹 Moves 🤹 +### Changed +* Fixed damage calc modifiers by @AlexOn1ine in [#5604](https://github.com/rh-hideout/pokeemerald-expansion/pull/5604) +* Updated ability popups for Skill Swap, Mummy/Lingering Aroma, Worry Seed, Simple Beam, fix Doodle/Role Play bugs by @PhallenTree in [#5493](https://github.com/rh-hideout/pokeemerald-expansion/pull/5493) + +### Fixed +* Fixed Follow Me failing in Single Battles for Gen 6/7 config by @AsparagusEduardo in [#5542](https://github.com/rh-hideout/pokeemerald-expansion/pull/5542) +* Fixed `AnimTask_HorizontalShake` uses for shaking screen in battle anims by @ghoulslash in [#5562](https://github.com/rh-hideout/pokeemerald-expansion/pull/5562) +* Fixed weather genie move anims and Springtide Storm targets by @ravepossum in [#5553](https://github.com/rh-hideout/pokeemerald-expansion/pull/5553) +* Fixes Magic Guard not preventing Salt Cure by @AlexOn1ine in [#5583](https://github.com/rh-hideout/pokeemerald-expansion/pull/5583) +* Fixes Dragon Tail using the effect twice during a Parental Bond attack by @AlexOn1ine in [#5630](https://github.com/rh-hideout/pokeemerald-expansion/pull/5630) +* Fixes Magic Coat message by @AlexOn1ine in [#5645](https://github.com/rh-hideout/pokeemerald-expansion/pull/5645) +* Fixes Take heart by @AlexOn1ine in [#5658](https://github.com/rh-hideout/pokeemerald-expansion/pull/5658) +* Fixed Floral Healing anim by @AlexOn1ine in [#5733](https://github.com/rh-hideout/pokeemerald-expansion/pull/5733) +* Fixes Population Bomb / Triple Kick missing message by @AlexOn1ine in [#5747](https://github.com/rh-hideout/pokeemerald-expansion/pull/5747) +* Changes Max Phantasm move anim script call by @AlexOn1ine in [#5737](https://github.com/rh-hideout/pokeemerald-expansion/pull/5737) +* Fixes Partner targeting and Acupressure/Ally Switch interaction by @AlexOn1ine in [#5446](https://github.com/rh-hideout/pokeemerald-expansion/pull/5446) +* Revival Blessing fixes + Using Lunar Blessing's animation by @ghoulslash in [#5490](https://github.com/rh-hideout/pokeemerald-expansion/pull/5490) +* Fixed curse + Protean interaction by @hedara90 in [#5663](https://github.com/rh-hideout/pokeemerald-expansion/pull/5663) +* Added Minimize interaction to Supercell Slam by @hedara90 in [#5713](https://github.com/rh-hideout/pokeemerald-expansion/pull/5713) + +## 🎭 Abilities 🎭 +### Changed +* Fixed damage calc modifiers by @AlexOn1ine in [#5604](https://github.com/rh-hideout/pokeemerald-expansion/pull/5604) + +### Fixed +* Adds tests and Costar fix from PR #5526 by @AlexOn1ine in [#5529](https://github.com/rh-hideout/pokeemerald-expansion/pull/5529) +* Fixes Red Card / Eject Pack interaction with Emergency Exit by @AlexOn1ine in [#5657](https://github.com/rh-hideout/pokeemerald-expansion/pull/5657) +* Fixed curse + Protean interaction by @hedara90 in [#5663](https://github.com/rh-hideout/pokeemerald-expansion/pull/5663) +* Mimicry updates typing with `RemoveAllTerrains()` by @AERDU in [#5666](https://github.com/rh-hideout/pokeemerald-expansion/pull/5666) +* Updated ability popups for Skill Swap, Mummy/Lingering Aroma, Worry Seed, Simple Beam, fix Doodle/Role Play bugs by @PhallenTree in [#5493](https://github.com/rh-hideout/pokeemerald-expansion/pull/5493) +* Fixed curse + Protean interaction by @hedara90 in [#5663](https://github.com/rh-hideout/pokeemerald-expansion/pull/5663) +* Fixes Ice Face regression by @AlexOn1ine in [#5678](https://github.com/rh-hideout/pokeemerald-expansion/pull/5678) +* Fixes Neutralizing Gas crashes + adds missing interaction, Regenerator small fix by @PhallenTree in [#5694](https://github.com/rh-hideout/pokeemerald-expansion/pull/5694) + +## 🧶 Items 🧶 +### Changed +* Removes duplicate Booster Energy code by @AlexOn1ine in [#5656](https://github.com/rh-hideout/pokeemerald-expansion/pull/5656) + +### Fixed +* Fixes Red Card / Eject Pack interaction with Emergency Exit by @AlexOn1ine in [#5657](https://github.com/rh-hideout/pokeemerald-expansion/pull/5657) +* Fixes Red Card / Eject Pack interaction by @AlexOn1ine in [#5724](https://github.com/rh-hideout/pokeemerald-expansion/pull/5724) +* Fixes gems triggering on confusion damage by @AlexOn1ine in [#5723](https://github.com/rh-hideout/pokeemerald-expansion/pull/5723) +* Fixes Kee Maranga and Enigma Berry by @AlexOn1ine in [#5727](https://github.com/rh-hideout/pokeemerald-expansion/pull/5727) +* Fixes Blunder Policy by @AlexOn1ine in [#5722](https://github.com/rh-hideout/pokeemerald-expansion/pull/5722) + +## 🤖 Battle AI 🤖 +### Fixed +* Fixed certain move data being cleared on turn end by @Pawkkie and @AlexOn1ine in [#5488](https://github.com/rh-hideout/pokeemerald-expansion/pull/5488) +* Global is used instead of passed var by @AlexOn1ine in [#5546](https://github.com/rh-hideout/pokeemerald-expansion/pull/5546) +* Fixes `dynamicMoveType` global not being reset during AI calcs by @AlexOn1ine in [#5628](https://github.com/rh-hideout/pokeemerald-expansion/pull/5628) + +## 🧹 Other Cleanup 🧹 +* Remove one redundant call of `SetAiLogicDataForTurn` in `DoBattleIntro` by @AlexOn1ine in [#5491](https://github.com/rh-hideout/pokeemerald-expansion/pull/5491) +* Cleanup extraneous function in `battle_anim.h` by @hedara90 in [#5506](https://github.com/rh-hideout/pokeemerald-expansion/pull/5506) +* Add newline to move relearner string by @Bassoonian in [#5523](https://github.com/rh-hideout/pokeemerald-expansion/pull/5523) +* Fixed 10,000,000 Volt Thunderbolt name by @AsparagusEduardo in [#5533](https://github.com/rh-hideout/pokeemerald-expansion/pull/5533) +* Added constant to expansion inclusive copyright magic number by @pkmnsnfrn in [#5413](https://github.com/rh-hideout/pokeemerald-expansion/pull/5413) +* Centralise AI Tests trainer name by @Bassoonian in [#5532](https://github.com/rh-hideout/pokeemerald-expansion/pull/5532) +* Remove now outdated information from readme by @Bassoonian in [#5548](https://github.com/rh-hideout/pokeemerald-expansion/pull/5548) +* Changing `EVO_NONE` from `0xFFFE` to `0` by @GhoulMage in [#5547](https://github.com/rh-hideout/pokeemerald-expansion/pull/5547) + - There could be a case for out of bounds errors if arrays or iterations are happening where you're using + 1 or - 1, as `EVO_FRIENDSHIP` used to be the first index although it started with 1. +* Shed Skin chance fix by @Pawkkie in [#5558](https://github.com/rh-hideout/pokeemerald-expansion/pull/5558) +* Restore test file dependencies so they're rebuilt properly by @ravepossum in [#5617](https://github.com/rh-hideout/pokeemerald-expansion/pull/5617) +* Improve `SEND_OUT` error message; require Speed for all battlers by @mrgriffin in [#5631](https://github.com/rh-hideout/pokeemerald-expansion/pull/5631) +* Removes duplicate Booster Energy code by @AlexOn1ine in [#5656](https://github.com/rh-hideout/pokeemerald-expansion/pull/5656) +* Wrong assumtion in dauntless_shield.c by @AlexOn1ine in [#5692](https://github.com/rh-hideout/pokeemerald-expansion/pull/5692) + +## 🧪 Test Runner 🧪 +### Added +* Add curious medicine test by @ghoulslash in [#5540](https://github.com/rh-hideout/pokeemerald-expansion/pull/5540) +* Tests: detect task leaks by @mrgriffin in [#5528](https://github.com/rh-hideout/pokeemerald-expansion/pull/5528) + +### Changed +* Add text width tests for move, ability, item, and pokedex descriptions by @kittenchilly in [#5505](https://github.com/rh-hideout/pokeemerald-expansion/pull/5505) +* Centralise AI Tests trainer name by @Bassoonian in [#5532](https://github.com/rh-hideout/pokeemerald-expansion/pull/5532) +* Add basic Steam Engine, Guard Dog Tests by @ghoulslash in [#5569](https://github.com/rh-hideout/pokeemerald-expansion/pull/5569) +* Fixed damage test by @GhoulMage and @mrgriffin for teaching me pokeemerald-expansion tests in [#5574](https://github.com/rh-hideout/pokeemerald-expansion/pull/5574) +* Fallback `memmem` implementation by @mrgriffin in [#5561](https://github.com/rh-hideout/pokeemerald-expansion/pull/5561) +* Hydra: Support `%p` in test summaries by @mrgriffin in [#5626](https://github.com/rh-hideout/pokeemerald-expansion/pull/5626) +* Improve `SEND_OUT` error message; require Speed for all battlers by @mrgriffin in [#5631](https://github.com/rh-hideout/pokeemerald-expansion/pull/5631) +* Check that `PASSES_RANDOMLY` affected a `Random` call by @mrgriffin in [#5635](https://github.com/rh-hideout/pokeemerald-expansion/pull/5635) +* Wrong assumtion in dauntless_shield.c by @AlexOn1ine in [#5692](https://github.com/rh-hideout/pokeemerald-expansion/pull/5692) + +### Fixed +* Update test LD script to respect 4 byte data section alignment by @aronson in [#5517](https://github.com/rh-hideout/pokeemerald-expansion/pull/5517) +* Adds tests and Costar fix from PR #5526 by @AlexOn1ine in [#5529](https://github.com/rh-hideout/pokeemerald-expansion/pull/5529) +* Fixed broken Starting Terrain test by @hedara90 in [#5582](https://github.com/rh-hideout/pokeemerald-expansion/pull/5582) + +## 📚 Documentation 📚 +* Add changelog header in PR template to aid automation by @AsparagusEduardo in [#5539](https://github.com/rh-hideout/pokeemerald-expansion/pull/5539) +* Added compressed OW mon VRAM notice in config file by @AsparagusEduardo in [#5599](https://github.com/rh-hideout/pokeemerald-expansion/pull/5599) +* Update `README.md` to link to `INSTALL.md` by @Pawkkie in [#5720](https://github.com/rh-hideout/pokeemerald-expansion/pull/5720) +* Fixes minor move desc errors by @AlexOn1ine in [#5728](https://github.com/rh-hideout/pokeemerald-expansion/pull/5728) + +## 📦 Branch Synchronisation 📦 +### pret +* 15th of October in [#5527](https://github.com/rh-hideout/pokeemerald-expansion/pull/5527) + * Slight storage system documentation by @luckytyphlosion in [pret#2024](https://github.com/pret/pokeemerald/pull/2024) + * Clean up defines lacking spaces by @Bassoonian in [pret#2025](https://github.com/pret/pokeemerald/pull/2025) + * UB fix in battle_transition.c by @cawtds in [pret#2007](https://github.com/pret/pokeemerald/pull/2007) + * preproc: support arbitrary expressions in enums by @mrgriffin in [pret#2026](https://github.com/pret/pokeemerald/pull/2026) + * [Build System Rewrite] Refactored `Makefile` by @Icedude907 in [pret#1950](https://github.com/pret/pokeemerald/pull/1950) + * Fixed incorrect point macros in contest_ai_script.inc by @NTx86 in [pret#2028](https://github.com/pret/pokeemerald/pull/2028) + * [Build System Rewrite] Massive build speed improvement via scaninc changes by @Icedude907 in [pret#1954](https://github.com/pret/pokeemerald/pull/1954) + * [Build System Rewrite] Improved audio rules by @Icedude907 in [pret#1957](https://github.com/pret/pokeemerald/pull/1957) + * Update INSTALL.md to state that Windows 8 is no longer supported by Microsoft by @luciofstars in [pret#2029](https://github.com/pret/pokeemerald/pull/2029) + * Update pull_request_template.md to include Discord username update by @luciofstars in [pret#2030](https://github.com/pret/pokeemerald/pull/2030) + * remove ScriptContext_Enable from secret_base.h by @DizzyEggg in [pret#2032](https://github.com/pret/pokeemerald/pull/2032) + * Remove gflib by @Kurausukun in [pret#2033](https://github.com/pret/pokeemerald/pull/2033) + * Minor toolchain fixes by @GriffinRichards in [pret#2031](https://github.com/pret/pokeemerald/pull/2031) + * Bugfix for cable car hikerGraphicsIds array by @Scyrous in [pret#2039](https://github.com/pret/pokeemerald/pull/2039) + * Remove explicit symbol sizes in sym_common.txt by @GriffinRichards in [pret#2038](https://github.com/pret/pokeemerald/pull/2038) + * Ignore mGBA screenshots by @Jaizu in [pret#2041](https://github.com/pret/pokeemerald/pull/2041) + * Replaced copyright magic numbers in intro.c with constants by @pkmnsnfrn in [pret#2035](https://github.com/pret/pokeemerald/pull/2035) + * Fixed typo: | should be || in Task_TryFieldPoisonWhiteOut by @AreaZR in [pret#2044](https://github.com/pret/pokeemerald/pull/2044) + * [preproc] support C23 enum underlying type syntax by @mrgriffin in [pret#2043](https://github.com/pret/pokeemerald/pull/2043) + * Fixed deleting files with dependency files by @mid-kid in [pret#2045](https://github.com/pret/pokeemerald/pull/2045) + * Remove unnecessary looping for rule generation and unroll macros by @mid-kid in [pret#2046](https://github.com/pret/pokeemerald/pull/2046) + * Get rid of common syms by @luckytyphlosion in [pret#2040](https://github.com/pret/pokeemerald/pull/2040) + * Bugfix for cable car hikerGraphicsIds array by @Scyrous in [pret#2039](https://github.com/pret/pokeemerald/pull/2039) + * UB fix in battle_transition.c by @cawtds in [pret#2007](https://github.com/pret/pokeemerald/pull/2007) + * Fixed typo: | should be || in Task_TryFieldPoisonWhiteOut by @AreaZR in [pret#2044](https://github.com/pret/pokeemerald/pull/2044) + * Get rid of common syms by @luckytyphlosion in [pret#2040](https://github.com/pret/pokeemerald/pull/2040) + * Fixed incorrect point macros in contest_ai_script.inc by @NTx86 in [pret#2028](https://github.com/pret/pokeemerald/pull/2028) +* 5th of November in [#5644](https://github.com/rh-hideout/pokeemerald-expansion/pull/5644) + * Added define value for bard sound length by @fdeblasio in [pret#2052](https://github.com/pret/pokeemerald/pull/2052) + * Silence 'Nothing to be done for generated' messages by @GriffinRichards in [pret#2059](https://github.com/pret/pokeemerald/pull/2059) + * Lay out emerald version png horizontally by @GriffinRichards in [pret#2062](https://github.com/pret/pokeemerald/pull/2062) +* 29 of November in [#5736](https://github.com/rh-hideout/pokeemerald-expansion/pull/5736) + * Remove usage of gHeap in sSpritePalettes_ContestantsTurnBlinkEffect by @Lactozilla in [pret#2064](https://github.com/pret/pokeemerald/pull/2064) + * BUGFIX: Fix Counter and Mirror Coat checking the wrong category by @surtr-games in [pret#2066](https://github.com/pret/pokeemerald/pull/2066) + * Add TRY_DRAW_SPOT_PIXEL by @GriffinRichards in [pret#2055](https://github.com/pret/pokeemerald/pull/2055) + * Added extra encoded character support by @AsparagusEduardo in [pret#2050](https://github.com/pret/pokeemerald/pull/2050) +### merrp's followers +* Merrp merge (12th of October) by @Bassoonian in [#5514](https://github.com/rh-hideout/pokeemerald-expansion/pull/5514) + - d80190fe105eee12bbf74ae29647ac909084d35c fix: Dig in Sealed Chamber no longer freezes follower. + +## New Contributors +* @AERDU made their first contribution in [#5666](https://github.com/rh-hideout/pokeemerald-expansion/pull/5666) + +**Full Changelog**: https://github.com/rh-hideout/pokeemerald-expansion/compare/expansion/1.9.3...expansion/1.9.4 + + + diff --git a/include/constants/expansion.h b/include/constants/expansion.h index 44b1169bcd..7d883d77a8 100644 --- a/include/constants/expansion.h +++ b/include/constants/expansion.h @@ -1,13 +1,13 @@ #ifndef GUARD_CONSTANTS_EXPANSION_H #define GUARD_CONSTANTS_EXPANSION_H -// Last version: 1.9.3 +// Last version: 1.9.4 #define EXPANSION_VERSION_MAJOR 1 #define EXPANSION_VERSION_MINOR 9 #define EXPANSION_VERSION_PATCH 4 // FALSE if this this version of Expansion is not a tagged commit, i.e. // it contains unreleased changes. -#define EXPANSION_TAGGED_RELEASE FALSE +#define EXPANSION_TAGGED_RELEASE TRUE #endif From 720938f040248ebbcecf9bba8b627223783934f0 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 14:28:26 -0300 Subject: [PATCH 243/278] Fix conflicts --- include/battle.h | 3 +-- src/battle_util.c | 9 ++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/include/battle.h b/include/battle.h index 54c81a3e57..37f2359641 100644 --- a/include/battle.h +++ b/include/battle.h @@ -828,9 +828,8 @@ struct BattleStruct u8 commandingDondozo; u16 commanderActive[MAX_BATTLERS_COUNT]; u32 stellarBoostFlags[NUM_BATTLE_SIDES]; // stored as a bitfield of flags for all types for each side - u8 fickleBeamBoosted:1; u8 redCardActivates:1; - u8 padding:6; + u8 padding:7; u8 usedEjectItem; u8 usedMicleBerry; }; diff --git a/src/battle_util.c b/src/battle_util.c index dc2dcc55f1..01822691a3 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -3314,7 +3314,14 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) break; case DISOBEYS_HITS_SELF: gBattlerTarget = gBattlerAttacker; - gBattleMoveDamage = CalculateMoveDamage(MOVE_NONE, gBattlerAttacker, gBattlerAttacker, TYPE_MYSTERY, 40, FALSE, FALSE, TRUE); + struct DamageCalculationData damageCalcData; + damageCalcData.battlerAtk = damageCalcData.battlerDef = gBattlerAttacker; + damageCalcData.move = MOVE_NONE; + damageCalcData.moveType = TYPE_MYSTERY; + damageCalcData.isCrit = FALSE; + damageCalcData.randomFactor = FALSE; + damageCalcData.updateFlags = TRUE; + gBattleMoveDamage = CalculateMoveDamage(&damageCalcData, 40); gBattlescriptCurrInstr = BattleScript_IgnoresAndHitsItself; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; gHitMarker |= HITMARKER_OBEYS; From bb274c06918b19aca172f3d0e65be1c21cb27df4 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 14:42:40 -0300 Subject: [PATCH 244/278] Add missing changelogs to list --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index bb9fec3e7e..70abeffd3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Pokeemerald-Expansion Changelogs ## 1.9.x +- **[Version 1.9.4](docs/changelogs/1.9.x/1.9.4.md) - 🧹 Bugfix Release** +- **[Version 1.9.3](docs/changelogs/1.9.x/1.9.3.md) - 🧹 Bugfix Release** - **[Version 1.9.2](docs/changelogs/1.9.x/1.9.2.md) - 🧹 Bugfix Release** - **[Version 1.9.1](docs/changelogs/1.9.x/1.9.1.md) - 🧹 Bugfix Release** - **[Version 1.9.0](docs/changelogs/1.9.x/1.9.0.md) - ✨ Feature Release** From ebc03c3cb313b242f7bcdd396dcb00233d44b839 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 14:46:22 -0300 Subject: [PATCH 245/278] Added missing PR --- docs/changelogs/1.9.x/1.9.4.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/changelogs/1.9.x/1.9.4.md b/docs/changelogs/1.9.x/1.9.4.md index 36dc2afc73..2a41988bd4 100644 --- a/docs/changelogs/1.9.x/1.9.4.md +++ b/docs/changelogs/1.9.x/1.9.4.md @@ -98,6 +98,7 @@ * Fixes gems triggering on confusion damage by @AlexOn1ine in [#5723](https://github.com/rh-hideout/pokeemerald-expansion/pull/5723) * Fixes Kee Maranga and Enigma Berry by @AlexOn1ine in [#5727](https://github.com/rh-hideout/pokeemerald-expansion/pull/5727) * Fixes Blunder Policy by @AlexOn1ine in [#5722](https://github.com/rh-hideout/pokeemerald-expansion/pull/5722) +* Fixes Rusted Shield/Sword allowed to be Knocked Off from Zamazenta/Zacian by @iriv24 in [#5750](https://github.com/rh-hideout/pokeemerald-expansion/pull/5750) ## 🤖 Battle AI 🤖 ### Fixed From bd7a46f9c7b42ad25e50723a4a2aca8028039ed5 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 15:10:46 -0300 Subject: [PATCH 246/278] Version 1.10.0 --- .../ISSUE_TEMPLATE/01_battle_engine_bugs.yaml | 12 +- .../ISSUE_TEMPLATE/02_battle_ai_issues.yaml | 12 +- .github/ISSUE_TEMPLATE/04_other_errors.yaml | 12 +- CHANGELOG.md | 3 + README.md | 4 +- docs/SUMMARY.md | 2 + docs/changelogs/1.10.0/1.10.0.md | 324 ++++++++++++++++++ include/constants/expansion.h | 2 +- 8 files changed, 341 insertions(+), 30 deletions(-) create mode 100644 docs/changelogs/1.10.0/1.10.0.md diff --git a/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml b/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml index 6a654402ac..0a3eff0e43 100644 --- a/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml +++ b/.github/ISSUE_TEMPLATE/01_battle_engine_bugs.yaml @@ -23,21 +23,15 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.4 (Latest release) + - 1.10.0 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.4 - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 - - 1.8.6 - - 1.8.5 - - 1.8.4 - - 1.8.3 - - 1.8.2 - - 1.8.1 - - 1.8.0 - - pre-1.8.0 + - pre-1.9.0 validations: required: true - type: input diff --git a/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml b/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml index ff9823aa01..4b8eec3a43 100644 --- a/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml +++ b/.github/ISSUE_TEMPLATE/02_battle_ai_issues.yaml @@ -23,21 +23,15 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.4 (Latest release) + - 1.10.0 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.4 - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 - - 1.8.6 - - 1.8.5 - - 1.8.4 - - 1.8.3 - - 1.8.2 - - 1.8.1 - - 1.8.0 - - pre-1.8.0 + - pre-1.9.0 validations: required: true - type: input diff --git a/.github/ISSUE_TEMPLATE/04_other_errors.yaml b/.github/ISSUE_TEMPLATE/04_other_errors.yaml index ab400f7b9d..54335ca5e4 100644 --- a/.github/ISSUE_TEMPLATE/04_other_errors.yaml +++ b/.github/ISSUE_TEMPLATE/04_other_errors.yaml @@ -23,21 +23,15 @@ body: label: Version description: What version of pokeemerald-expansion are you using as a base? options: - - 1.9.4 (Latest release) + - 1.10.0 (Latest release) - master (default, unreleased bugfixes) - upcoming (Edge) + - 1.9.4 - 1.9.3 - 1.9.2 - 1.9.1 - 1.9.0 - - 1.8.6 - - 1.8.5 - - 1.8.4 - - 1.8.3 - - 1.8.2 - - 1.8.1 - - 1.8.0 - - pre-1.8.0 + - pre-1.9.0 validations: required: true - type: input diff --git a/CHANGELOG.md b/CHANGELOG.md index 70abeffd3e..13d6e4f4eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Pokeemerald-Expansion Changelogs +## 1.10.x +- **[Version 1.10.0](docs/changelogs/1.10.x/1.10.0.md) - ✨ Feature Release** + ## 1.9.x - **[Version 1.9.4](docs/changelogs/1.9.x/1.9.4.md) - 🧹 Bugfix Release** - **[Version 1.9.3](docs/changelogs/1.9.x/1.9.3.md) - 🧹 Bugfix Release** diff --git a/README.md b/README.md index 823a02479c..277dae2be7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ pokeemerald-expansion is a decomp hack base project based off pret's [pokeemeral If you use pokeemerald-expansion in your hack, please add RHH (Rom Hacking Hideout) to your credits list. Optionally, you can list the version used, so it can help players know what features to expect. You can phrase it as the following: ``` -Based off RHH's pokeemerald-expansion 1.9.4 https://github.com/rh-hideout/pokeemerald-expansion/ +Based off RHH's pokeemerald-expansion 1.10.0 https://github.com/rh-hideout/pokeemerald-expansion/ ``` Please follow the instructions in `INSTALL.md` to get pokeemerald-expansion set up on your machine. @@ -177,7 +177,7 @@ With this, you'll get the latest version of pokeemerald-expansion, plus a couple - Check your current version. - You can check in the debug menu's `Utilities -> Expansion Version` option. - If the option is not available, you possibly have version 1.6.2 or older. In that case, please check the [changelogs](CHANGELOG.md) to determine your version based on the features available on your repository. -- Once you have your remote set up, run the command `git pull RHH expansion/X.Y.Z`, replacing X, Y and Z with the digits of the respective version you want to update to (eg, to update to 1.9.4, use `git pull RHH expansion/1.9.4`). +- Once you have your remote set up, run the command `git pull RHH expansion/X.Y.Z`, replacing X, Y and Z with the digits of the respective version you want to update to (eg, to update to 1.10.0, use `git pull RHH expansion/1.10.0`). - ***Important:*** If you are several versions behind, we recommend updating one minor version at a time, skipping directly to the latest patch version (eg, 1.5.3 -> 1.6.2 -> 1.7.4 and so on) - Alternatively, you can update to unreleased versions of the expansion. - ***master (stable):*** It contains unreleased **bugfixes** that will come in the next patch version. To merge, use `git pull RHH master`. diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index ab016136a1..cb02bb306e 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -18,6 +18,8 @@ - [v1.6.x](tutorials/how_to_new_pokemon_1_6_0.md) - [How to use the Testing System](tutorials/how_to_testing_system.md) - [Changelog](./CHANGELOG.md) + - [1.10.x]() + - [Version 1.10.0](changelogs/1.9.x/1.9.4.md) - [1.9.x]() - [Version 1.9.4](changelogs/1.9.x/1.9.4.md) - [Version 1.9.3](changelogs/1.9.x/1.9.3.md) diff --git a/docs/changelogs/1.10.0/1.10.0.md b/docs/changelogs/1.10.0/1.10.0.md new file mode 100644 index 0000000000..9cf2f9b41e --- /dev/null +++ b/docs/changelogs/1.10.0/1.10.0.md @@ -0,0 +1,324 @@ +# Version 1.10.0 + +```md +## How to update +- If you haven't set up a remote, run the command `git remote add RHH https://github.com/rh-hideout/pokeemerald-expansion`. +- Once you have your remote set up, run the command `git pull RHH expansion/1.10.0`. +``` + +## 🌋 *REFACTORS* 🌋 +📜 = Uses a migration script. +* Changes Evolution methods to Enums by @AlexOn1ine in [#4977](https://github.com/rh-hideout/pokeemerald-expansion/pull/4977) +* Turn item hold effects into an enum by @Bassoonian in [#5498](https://github.com/rh-hideout/pokeemerald-expansion/pull/5498) +* Change `GET_MOVE_TYPE` to a function by @AlexOn1ine in [#5090](https://github.com/rh-hideout/pokeemerald-expansion/pull/5090) +* Created `COMPOUND_STRING`s for default player names by @fdeblasio in [#5037](https://github.com/rh-hideout/pokeemerald-expansion/pull/5037) +* Removed agbcc by @mrgriffin in [#4994](https://github.com/rh-hideout/pokeemerald-expansion/pull/4994) +* Refactor Frontier Brains by @fdeblasio in [#5027](https://github.com/rh-hideout/pokeemerald-expansion/pull/5027) +* Removed all instances of `gBitTable[x]` by @hedara90 in [#5123](https://github.com/rh-hideout/pokeemerald-expansion/pull/5123) +* Made `BuildColorMaps` redundant by using static tables by @pkmnsnfrn in [#5289](https://github.com/rh-hideout/pokeemerald-expansion/pull/5289) +* Removed `FRONTIER_BRAIN_SPRITES` and updated `TRAINER_SPRITE`, `TRAINER_BACK_SPRITE`, and `TRAINER_CLASS` by @fdeblasio in [#5166](https://github.com/rh-hideout/pokeemerald-expansion/pull/5166) +* Added `ShouldSwitch` result to `AiLogicData` by @Pawkkie and @AlexOn1ine had the idea! in [#5440](https://github.com/rh-hideout/pokeemerald-expansion/pull/5440) +* Switch AI refactor + considers free switches by @Pawkkie in [#5379](https://github.com/rh-hideout/pokeemerald-expansion/pull/5379) +* Refactor `ShouldSwitchIfAllBadMoves` by @Pawkkie in [#5452](https://github.com/rh-hideout/pokeemerald-expansion/pull/5452) +* Updated Wring Out effects to match Eruption effects by @AsparagusEduardo in [#5549](https://github.com/rh-hideout/pokeemerald-expansion/pull/5549) + - Changed Wring Out/Crush Grip/Hard Press to use `power` instead of `argument` to determine its max power, just like how Eruption/Water Spout/Dragon Energy do it. + - Also: + - Renamed `EFFECT_VARY_POWER_BASED_ON_HP` to `EFFECT_POWER_BASED_ON_TARGET_HP` + - Renamed `EFFECT_ERUPTION` to `EFFECT_POWER_BASED_ON_USER_HP` +* Update battle messages to Gen 5+ standards by @kittenchilly in [#3240](https://github.com/rh-hideout/pokeemerald-expansion/pull/3240) +* Should switch refactor to facilitate switch prediction by @Pawkkie in [#5466](https://github.com/rh-hideout/pokeemerald-expansion/pull/5466) +* Unwind `TRAINER_CLASS` macro by @SBird1337 in [#5611](https://github.com/rh-hideout/pokeemerald-expansion/pull/5611) +* Refactors Absorb to use `Moveend` by @AlexOn1ine in [#5670](https://github.com/rh-hideout/pokeemerald-expansion/pull/5670) + * For new absorbing moves an argument should be added in `moves_info.h` +* Changes name of `B_SCR_NAME_WITH_PREFIX` by @AlexOn1ine in [#5675](https://github.com/rh-hideout/pokeemerald-expansion/pull/5675) + +## 🧬 General 🧬 +### Added +* Added performance counter by @hedara90 and @SBird1337 provided the actual code in [#5284](https://github.com/rh-hideout/pokeemerald-expansion/pull/5284) +* Added debug build target by @u8-Salem in [#4817](https://github.com/rh-hideout/pokeemerald-expansion/pull/4817) +* Added `AUTO_SCROLL_TEXT` and `NUM_FRAMES_AUTO_SCROLL_DELAY` by @pkmnsnfrn in [#5054](https://github.com/rh-hideout/pokeemerald-expansion/pull/5054) +* Adds `SAVE_TYPE_ERROR_SCREEN` by @pkmnsnfrn in [#5188](https://github.com/rh-hideout/pokeemerald-expansion/pull/5188) +* Move Relearner and Renaming From Summary Screen by @ravepossum in [#5513](https://github.com/rh-hideout/pokeemerald-expansion/pull/5513) +* Automatic Line Breaks, somewhat even lines by @hedara90 and @AsparagusEduardo in [#5689](https://github.com/rh-hideout/pokeemerald-expansion/pull/5689) + - Automatically insert line breaks into a string with `BreakStringAutomatic`. + - This function does not modify strings with existing line breaks. + - Remove existing line breaks from a string with `StripLineBreaks`. + +### Changed +* Removed agbcc by @mrgriffin in [#4994](https://github.com/rh-hideout/pokeemerald-expansion/pull/4994) +* Removed all instances of `gBitTable[x]` by @hedara90 in [#5123](https://github.com/rh-hideout/pokeemerald-expansion/pull/5123) +* Converted Mechadoll text to `COMPOUND_STRING`s by @fdeblasio in [#5276](https://github.com/rh-hideout/pokeemerald-expansion/pull/5276) +* New terrain bgs by @TheTrueSadfish in [#5162](https://github.com/rh-hideout/pokeemerald-expansion/pull/5162) +* Removed agbcc screenshots from `.gitignore` by @Bassoonian in [#5538](https://github.com/rh-hideout/pokeemerald-expansion/pull/5538) +* Set default battle shadow to Gen3 by @hedara90 in [#5632](https://github.com/rh-hideout/pokeemerald-expansion/pull/5632) + - Note: Trainerslides don't work properly with Gen4 shadows. +* Convert 3 variouses to `callnatives` by @AlexOn1ine in [#5646](https://github.com/rh-hideout/pokeemerald-expansion/pull/5646) + +## 🗺️ Overworld 🗺️ +### Added +* FRLG+ whiteout message by @cawtds in [#4967](https://github.com/rh-hideout/pokeemerald-expansion/pull/4967) +* Dynamic Move Types in Summary Screen/Battle by @Galaxeeh in [#5084](https://github.com/rh-hideout/pokeemerald-expansion/pull/5084) +* Adds `OW_BERRY_IMMORTAL` by @pkmnsnfrn in [#5187](https://github.com/rh-hideout/pokeemerald-expansion/pull/5187) +* (Default Off) Item Description Headers by @ghoulslash in [#4767](https://github.com/rh-hideout/pokeemerald-expansion/pull/4767) +* RTC-based wild encounters by @hjk321 in [#5313](https://github.com/rh-hideout/pokeemerald-expansion/pull/5313) +* Added `MB_X_Y_STAIR_WARP` metatile behaviors by @pkmnsnfrn in [#5278](https://github.com/rh-hideout/pokeemerald-expansion/pull/5278) +* Added Sideways Stairs by @ghoulslash in [#4836](https://github.com/rh-hideout/pokeemerald-expansion/pull/4836) +* Added `OW_UNION_DISABLE_CHECK` and `OW_FLAG_MOVE_UNION_ROOM_CHECK` by @pkmnsnfrn in [#5448](https://github.com/rh-hideout/pokeemerald-expansion/pull/5448) +* Adds new scripting macros to increase developer quality of life by @pkmnsnfrn in [#5177](https://github.com/rh-hideout/pokeemerald-expansion/pull/5177) +* Added more later gen fishing mechanics by @kittenchilly in [#5518](https://github.com/rh-hideout/pokeemerald-expansion/pull/5518) + +### Changed +* Created PokeNav `COMPOUND_STRING`s by @fdeblasio in [#4983](https://github.com/rh-hideout/pokeemerald-expansion/pull/4983) +* Added `I_REPEL_INCLUDE_FAINTED` config and behavior by @kittenchilly in [#5239](https://github.com/rh-hideout/pokeemerald-expansion/pull/5239) +* RTC-based wild encounters follow up by @AlexOn1ine in [#5328](https://github.com/rh-hideout/pokeemerald-expansion/pull/5328) +* Revert rtc based encounters by @AlexOn1ine in [#5331](https://github.com/rh-hideout/pokeemerald-expansion/pull/5331) +* Made BuildColorMaps redundant by using static tables by @pkmnsnfrn in [#5289](https://github.com/rh-hideout/pokeemerald-expansion/pull/5289) +* Added `OW_AUTO_SIGNPOST` and associated metatile behaviors by @pkmnsnfrn in [#5044](https://github.com/rh-hideout/pokeemerald-expansion/pull/5044) +* Added support for overworld sprite gender differences + add all the sprites by @kittenchilly in [#5394](https://github.com/rh-hideout/pokeemerald-expansion/pull/5394) + +### Fixed +* Added some null pointer checks by @tertu-m in [#5130](https://github.com/rh-hideout/pokeemerald-expansion/pull/5130) +* Reset item flags on new game by @ghoulslash in [#5363](https://github.com/rh-hideout/pokeemerald-expansion/pull/5363) +* Follower female fix by @hedara90 in [#5475](https://github.com/rh-hideout/pokeemerald-expansion/pull/5475) + +## 🐉 Pokémon 🐉 +### Added +* Added config to change Vivillon's breeding form by @kittenchilly in [#4813](https://github.com/rh-hideout/pokeemerald-expansion/pull/4813) +* Added back GBA sprites via config by @AsparagusEduardo and @AlexOn1ine for their help with script to migrate data from vanilla to our current `gSpeciesInfo` in [#5206](https://github.com/rh-hideout/pokeemerald-expansion/pull/5206) +* Added config to disable gender differences by @AsparagusEduardo in [#5595](https://github.com/rh-hideout/pokeemerald-expansion/pull/5595) + +### Changed +* Made perfect IV count into a granular setting by @AsparagusEduardo in [#5115](https://github.com/rh-hideout/pokeemerald-expansion/pull/5115) +* Updated species defines by @pkmnsnfrn in [#5075](https://github.com/rh-hideout/pokeemerald-expansion/pull/5075) +* Added support for overworld sprite gender differences + add all the sprites by @kittenchilly in [#5394](https://github.com/rh-hideout/pokeemerald-expansion/pull/5394) +* Renamed folders and symbols to match species defines by @AsparagusEduardo in [#5581](https://github.com/rh-hideout/pokeemerald-expansion/pull/5581) + - Burmy and Wormadam footprints were in a `plant` subfolder. They have been moved to the species root folder + - Paldean Wooper's subfolder was named `wooper_paldean` instead of just `paldean`. This has been corrected. + - Zen Mode Galarian Darmanitan's folder was located in `darmanitan/galarian/zen_mode`. This has been corrected to `darmanitan/galar_zen`, alongside Galarian Standard Mode's `darmanitan/galar_standard`. + - Also updated Ogerpon's folders similarly. + - Renamed `SPECIES_PIKACHU_PARTNER_CAP` to `SPECIES_PIKACHU_PARTNER`. +* Changing `EVO_NONE` from `0xFFFE` to `0` by @GhoulMage in [#5547](https://github.com/rh-hideout/pokeemerald-expansion/pull/5547) + - There could be a case for out of bounds errors if arrays or iterations are happening where you're using + 1 or - 1, as `EVO_FRIENDSHIP` used to be the first index although it started with 1. + +### Fixed +* Follower female fix by @hedara90 in [#5475](https://github.com/rh-hideout/pokeemerald-expansion/pull/5475) +* Fixed some gba sprites by @SubzeroEclipse in [#5607](https://github.com/rh-hideout/pokeemerald-expansion/pull/5607) + +## ⚔️ Battle General ⚔️ +### Added +* FRLG+ whiteout message by @cawtds in [#4967](https://github.com/rh-hideout/pokeemerald-expansion/pull/4967) +* Added B_SHOW_TYPES and cleaned up IsDoubleBattle by @pkmnsnfrn in [#5131](https://github.com/rh-hideout/pokeemerald-expansion/pull/5131) +* EV Caps and EV Items by @Flash1Lucky and @AlexOn1ine in [#5269](https://github.com/rh-hideout/pokeemerald-expansion/pull/5269) +* Added in-battle shadows underneath all enemy battlers by @lhearachel in [#5178](https://github.com/rh-hideout/pokeemerald-expansion/pull/5178) +* Added Gen 1 Crit Chance by @Pawkkie in [#5439](https://github.com/rh-hideout/pokeemerald-expansion/pull/5439) +* Added battle flag that prevents running from wild Pokémon by @SarnPoke in [#5502](https://github.com/rh-hideout/pokeemerald-expansion/pull/5502) + +### Changed +* Refactor Frontier Brains by @fdeblasio in [#5027](https://github.com/rh-hideout/pokeemerald-expansion/pull/5027) +* Removed some hardcoding of move IDs + Gen4/5 Defog by @AsparagusEduardo in [#5156](https://github.com/rh-hideout/pokeemerald-expansion/pull/5156) +* Convert 8 various to `callnatives` by @AsparagusEduardo in [#5172](https://github.com/rh-hideout/pokeemerald-expansion/pull/5172) +* Anger Shell use `saveattacker` by @ghoulslash in [#5409](https://github.com/rh-hideout/pokeemerald-expansion/pull/5409) +* Clean up Unseen Fist Check by @AlexOn1ine in [#5420](https://github.com/rh-hideout/pokeemerald-expansion/pull/5420) +* Updated species defines by @pkmnsnfrn in [#5075](https://github.com/rh-hideout/pokeemerald-expansion/pull/5075) +* Removes Crit Chance preproc by @AlexOn1ine in [#5520](https://github.com/rh-hideout/pokeemerald-expansion/pull/5520) +* Update battle messages to Gen 5+ standards by @kittenchilly in [#3240](https://github.com/rh-hideout/pokeemerald-expansion/pull/3240) +* More post-#3240 cleanup by @kittenchilly in [#5593](https://github.com/rh-hideout/pokeemerald-expansion/pull/5593) +* Unwind `TRAINER_CLASS` macro by @SBird1337 in [#5611](https://github.com/rh-hideout/pokeemerald-expansion/pull/5611) +* Removes redundant Decorate check by @AlexOn1ine in [#5696](https://github.com/rh-hideout/pokeemerald-expansion/pull/5696) +* Changes target bit of Flower Shield by @AlexOn1ine in [#5698](https://github.com/rh-hideout/pokeemerald-expansion/pull/5698) + +### Fixed +* Fixed a sprite issue with `B_SHOW_TYPES` by @pkmnsnfrn in [#5157](https://github.com/rh-hideout/pokeemerald-expansion/pull/5157) +* Dynamic Move Display fixes by @Galaxeeh in [#5251](https://github.com/rh-hideout/pokeemerald-expansion/pull/5251) +* Fixed a display issue with `B_SHOW_TYPES` by @pkmnsnfrn and @iriv24 in [#5201](https://github.com/rh-hideout/pokeemerald-expansion/pull/5201) +* Fixed Gen 3 foreseen and Beat Up damage type by @hedara90 in [#5323](https://github.com/rh-hideout/pokeemerald-expansion/pull/5323) +* Fixes Defog used by the wrong side when there is a Substitue and Screen by @AlexOn1ine in [#5381](https://github.com/rh-hideout/pokeemerald-expansion/pull/5381) +* Fixes Hidden Power dynamic type bug by @AlexOn1ine in [#5463](https://github.com/rh-hideout/pokeemerald-expansion/pull/5463) +* Display the correct shadow size when sending out a new Pokemon by @lhearachel in [#5618](https://github.com/rh-hideout/pokeemerald-expansion/pull/5618) +* Fixed text wrap obtaining the incorrect glyph width by @AsparagusEduardo and @AlexOn1ine for their help verifying that the fix works with one of his custom strings in [#5620](https://github.com/rh-hideout/pokeemerald-expansion/pull/5620) +* Improve line breaks/scrolls by @cawtds in [#5641](https://github.com/rh-hideout/pokeemerald-expansion/pull/5641) +* Fixed Order Up + Tera Stellar breaking each other with Commander by @PhallenTree in [#5667](https://github.com/rh-hideout/pokeemerald-expansion/pull/5667) +* Fixes wrong Id when AI chooses mon to switch in by @AlexOn1ine in [#5684](https://github.com/rh-hideout/pokeemerald-expansion/pull/5684) +* Fixes Absorb regression caused by #5670 by @AlexOn1ine in [#5688](https://github.com/rh-hideout/pokeemerald-expansion/pull/5688) +* Fixes heal blocked leeach seed in tests by @AlexOn1ine in [#5700](https://github.com/rh-hideout/pokeemerald-expansion/pull/5700) +* Trainer class+name expansion fix for Battle Frontier by @hedara90 in [#5699](https://github.com/rh-hideout/pokeemerald-expansion/pull/5699) + +## 🤹 Moves 🤹 +### Changed +* Added Population Bomb animation by @kittenchilly in [#5194](https://github.com/rh-hideout/pokeemerald-expansion/pull/5194) +* Move battle anim arrays to C by @cawtds in [#5306](https://github.com/rh-hideout/pokeemerald-expansion/pull/5306) +* Grass/Water Pledge Swamp Animation + Sea of Fire animation tweak by @SonikkuA-DatH in [#5325](https://github.com/rh-hideout/pokeemerald-expansion/pull/5325) +* New animations for many moves more details in description by @TheTrueSadfish in [#5367](https://github.com/rh-hideout/pokeemerald-expansion/pull/5367) +* Use move effect for some moves instead of ids by @AlexOn1ine in [#5433](https://github.com/rh-hideout/pokeemerald-expansion/pull/5433) +* Adds Commander and Order Up by @AlexOn1ine in [#5246](https://github.com/rh-hideout/pokeemerald-expansion/pull/5246) +* Heart Swap Move Animation by @SonikkuA-DatH in [#5460](https://github.com/rh-hideout/pokeemerald-expansion/pull/5460) +* Update `shed_tail.c` by @Bassoonian in [#5494](https://github.com/rh-hideout/pokeemerald-expansion/pull/5494) +* Added Ion Deluge animation by @kittenchilly in [#5467](https://github.com/rh-hideout/pokeemerald-expansion/pull/5467) +* Updated Wring Out effects to match Eruption effects by @AsparagusEduardo in [#5549](https://github.com/rh-hideout/pokeemerald-expansion/pull/5549) + - Changed Wring Out/Crush Grip/Hard Press to use `power` instead of `argument` to determine its max power, just like how Eruption/Water Spout/Dragon Energy do it. Also: + - Renamed `EFFECT_VARY_POWER_BASED_ON_HP` to `EFFECT_POWER_BASED_ON_TARGET_HP` + - Renamed `EFFECT_ERUPTION` to `EFFECT_POWER_BASED_ON_USER_HP` +* Refactors Absorb to use Moveend by @AlexOn1ine in [#5670](https://github.com/rh-hideout/pokeemerald-expansion/pull/5670) + * For new absorbing moves an argument should be added in `moves_info.h` + +### Fixed +* Dark Void, Clangorous Soulblaze, vortex animation fixes by @TheTrueSadfish in [#5650](https://github.com/rh-hideout/pokeemerald-expansion/pull/5650) + +## 🎭 Abilities 🎭 +### Changed +* Adds Commander and Order Up by @AlexOn1ine in [#5246](https://github.com/rh-hideout/pokeemerald-expansion/pull/5246) + +## 🧶 Items 🧶 +### Added +* Adds `OW_BERRY_IMMORTAL` by @pkmnsnfrn in [#5187](https://github.com/rh-hideout/pokeemerald-expansion/pull/5187) +* Added functionality to Poké Flute and Town Map by @kittenchilly and @LOuroboros basically did the Town Map implementation in [#5405](https://github.com/rh-hideout/pokeemerald-expansion/pull/5405) +* Decouple Poke Ball ids from item ids by @AlexOn1ine in [#5560](https://github.com/rh-hideout/pokeemerald-expansion/pull/5560) + +### Changed +* Consolidated the values of Rotom's moves and added Gen9 base form effect by @fdeblasio in [#5186](https://github.com/rh-hideout/pokeemerald-expansion/pull/5186) +* Added `I_REPEL_INCLUDE_FAINTED` config and behavior by @kittenchilly in [#5239](https://github.com/rh-hideout/pokeemerald-expansion/pull/5239) + +### Fixed +* Replace hardcoded flute check with consumability check by @Bassoonian in [#5508](https://github.com/rh-hideout/pokeemerald-expansion/pull/5508) + +## 🤖 Battle AI 🤖 +### Added +* Adds config to show target of ingame partner by @AlexOn1ine in [#5307](https://github.com/rh-hideout/pokeemerald-expansion/pull/5307) +* Switch AI refactor + considers free switches by @Pawkkie in [#5379](https://github.com/rh-hideout/pokeemerald-expansion/pull/5379) +* New AI flag for marking the two last Pokémon as Ace Pokémon by @GhoulMage in [#5587](https://github.com/rh-hideout/pokeemerald-expansion/pull/5587) + +### Changed +* Chilly Reception AI by @kittenchilly in [#5271](https://github.com/rh-hideout/pokeemerald-expansion/pull/5271) +* Shed Tail AI by @SarnPoke and @AlexOn1ine, @Pawkkie in [#5275](https://github.com/rh-hideout/pokeemerald-expansion/pull/5275) +* More missing AI logic by @kittenchilly in [#5279](https://github.com/rh-hideout/pokeemerald-expansion/pull/5279) +* Adds basic trainer and smart trainer flags by @AlexOn1ine in [#5298](https://github.com/rh-hideout/pokeemerald-expansion/pull/5298) +* `AI_FLAG_SETUP_FIRST_TURN` rename and clarifications by @Pawkkie in [#5310](https://github.com/rh-hideout/pokeemerald-expansion/pull/5310) +* Added Composite AI Flags to Docs by @Pawkkie in [#5349](https://github.com/rh-hideout/pokeemerald-expansion/pull/5349) +* AI frostbite score fixes and improvements by @Pawkkie and @kittenchilly for the suggestion! in [#5362](https://github.com/rh-hideout/pokeemerald-expansion/pull/5362) +* Switch AI `hitsToKO` considers one shot prevention by @Pawkkie in [#5371](https://github.com/rh-hideout/pokeemerald-expansion/pull/5371) +* Adds `CanEndureHit` AI function by @AlexOn1ine in [#5373](https://github.com/rh-hideout/pokeemerald-expansion/pull/5373) +* Switch AI `hitsToKO` considers Disguise by @Pawkkie in [#5375](https://github.com/rh-hideout/pokeemerald-expansion/pull/5375) +* Added `ShouldSwitch` result to `AiLogicData` by @Pawkkie and @AlexOn1ine had the idea! in [#5440](https://github.com/rh-hideout/pokeemerald-expansion/pull/5440) +* Removes duplicate code in AI functions by @AlexOn1ine in [#5457](https://github.com/rh-hideout/pokeemerald-expansion/pull/5457) +* Unify `GetBattlerAbility`/`TerrainAffected` to remove duplicate ai function by @AlexOn1ine in [#5497](https://github.com/rh-hideout/pokeemerald-expansion/pull/5497) +* `ShouldSwitchIfGameStatePrompt` Tests by @Pawkkie in [#5462](https://github.com/rh-hideout/pokeemerald-expansion/pull/5462) +* `AI_FLAG_ACE_POKEMON` takes into account separate trainers by @GhoulMage and @/uvula on Discord noted the weird behaviour. in [#5608](https://github.com/rh-hideout/pokeemerald-expansion/pull/5608) + - Fix for the AI not considering both trainers Ace Pokémons in double battles with `AI_FLAG_ACE_POKEMON`. +* Moves that deal a Fixed amount don't need AI handling by @AlexOn1ine in [#5614](https://github.com/rh-hideout/pokeemerald-expansion/pull/5614) +* Combines `CalculateMoveDamage` arguments into a struct by @AlexOn1ine in [#5570](https://github.com/rh-hideout/pokeemerald-expansion/pull/5570) + +### Fixed +* AI burn score fixes and improvements by @Pawkkie and @iriv24 and @AlexOn1ine in [#5356](https://github.com/rh-hideout/pokeemerald-expansion/pull/5356) +* Improve AI's Skill Swap handling in double battles by @Pawkkie in [#5360](https://github.com/rh-hideout/pokeemerald-expansion/pull/5360) +* Refactor `ShouldSwitchIfAllBadMoves` by @Pawkkie in [#5452](https://github.com/rh-hideout/pokeemerald-expansion/pull/5452) +* Should switch refactor to facilitate switch prediction by @Pawkkie in [#5466](https://github.com/rh-hideout/pokeemerald-expansion/pull/5466) +* Fixes Switch in flag not restoring mons properly with test by @Pawkkie and @iriv24 for finding, @AlexOn1ine for fixing in [#5746](https://github.com/rh-hideout/pokeemerald-expansion/pull/5746) + +## 🧹 Other Cleanup 🧹 +* Removed metadata in AIF files by @SombrAbsol in [#4958](https://github.com/rh-hideout/pokeemerald-expansion/pull/4958) +* Removed `gPaletteDecompressionBuffer` and unused palette functions/vars by @DizzyEggg in [#4841](https://github.com/rh-hideout/pokeemerald-expansion/pull/4841) +* Changes Evolution methods to `enum`s by @AlexOn1ine in [#4977](https://github.com/rh-hideout/pokeemerald-expansion/pull/4977) +* Doesn't compile on some compilers by @AlexOn1ine in [#5099](https://github.com/rh-hideout/pokeemerald-expansion/pull/5099) +* Update `event.inc` to accomodate new `gDecompressionBuffer` name by @Bassoonian in [#5100](https://github.com/rh-hideout/pokeemerald-expansion/pull/5100) +* Created `COMPOUND_STRING`s for default player names by @fdeblasio in [#5037](https://github.com/rh-hideout/pokeemerald-expansion/pull/5037) +* Changed single-use berry blender strings to be `COMPOUND_STRING`s by @fdeblasio in [#4963](https://github.com/rh-hideout/pokeemerald-expansion/pull/4963) +* Made perfect IV count into a granular setting by @AsparagusEduardo in [#5115](https://github.com/rh-hideout/pokeemerald-expansion/pull/5115) +* Dynamic move type clean up by @AlexOn1ine in [#5132](https://github.com/rh-hideout/pokeemerald-expansion/pull/5132) +* Refactor Frontier Brains by @fdeblasio in [#5027](https://github.com/rh-hideout/pokeemerald-expansion/pull/5027) +* Removed some hardcoding of move IDs + Gen4/5 Defog by @AsparagusEduardo in [#5156](https://github.com/rh-hideout/pokeemerald-expansion/pull/5156) +* Teatime animations use `B_WAIT_TIME_LONG` by @AsparagusEduardo in [#5173](https://github.com/rh-hideout/pokeemerald-expansion/pull/5173) +* Created PokeNav `COMPOUND_STRING`s by @fdeblasio in [#4983](https://github.com/rh-hideout/pokeemerald-expansion/pull/4983) +* Removed `gBitTable` usage again by @hedara90 in [#5193](https://github.com/rh-hideout/pokeemerald-expansion/pull/5193) +* Removed support for the original LCG random number generator by @tertu-m in [#5078](https://github.com/rh-hideout/pokeemerald-expansion/pull/5078) +* Deprecate MMBN Names by @pkmnsnfrn in [#5240](https://github.com/rh-hideout/pokeemerald-expansion/pull/5240) +* Convert 8 various to `callnatives` by @AsparagusEduardo in [#5172](https://github.com/rh-hideout/pokeemerald-expansion/pull/5172) +* Converted PC strings to `COMPOUND_STRING`s by @fdeblasio in [#5314](https://github.com/rh-hideout/pokeemerald-expansion/pull/5314) +* Cleaned up duplicate dynamic type functions by @AsparagusEduardo in [#5338](https://github.com/rh-hideout/pokeemerald-expansion/pull/5338) +* Removes redundant `moveTargetType` ai function by @AlexOn1ine in [#5354](https://github.com/rh-hideout/pokeemerald-expansion/pull/5354) +* Made `BuildColorMaps` redundant by using static tables by @pkmnsnfrn in [#5289](https://github.com/rh-hideout/pokeemerald-expansion/pull/5289) +* Some strings were switched by @AlexOn1ine in [#5374](https://github.com/rh-hideout/pokeemerald-expansion/pull/5374) +* Switch AI hitsToKO considers Disguise by @Pawkkie in [#5375](https://github.com/rh-hideout/pokeemerald-expansion/pull/5375) +* Cleaned up a bit of code with `GetBattlerPartyData` by @AlexOn1ine in [#5378](https://github.com/rh-hideout/pokeemerald-expansion/pull/5378) +* Minor Gem check optimazation by @AlexOn1ine in [#5401](https://github.com/rh-hideout/pokeemerald-expansion/pull/5401) +* Simplify HP Logic by @AreaZR in [#5403](https://github.com/rh-hideout/pokeemerald-expansion/pull/5403) +* Anger Shell use `saveattacker` by @ghoulslash in [#5409](https://github.com/rh-hideout/pokeemerald-expansion/pull/5409) +* Converted berry and PokeBlock strings to `COMPOUND_STRING`s by @fdeblasio in [#5324](https://github.com/rh-hideout/pokeemerald-expansion/pull/5324) +* Merge item description branch history by @Bassoonian in [#5419](https://github.com/rh-hideout/pokeemerald-expansion/pull/5419) +* Clean up Unseen Fist Check by @AlexOn1ine in [#5420](https://github.com/rh-hideout/pokeemerald-expansion/pull/5420) +* Merge level_caps and ev_caps into one caps file by @kittenchilly in [#5429](https://github.com/rh-hideout/pokeemerald-expansion/pull/5429) +* Removed trailing whitespace pass 10-2-2024 (Upcoming) by @kittenchilly in [#5456](https://github.com/rh-hideout/pokeemerald-expansion/pull/5456) +* Fixed Commander test name by @Bassoonian in [#5458](https://github.com/rh-hideout/pokeemerald-expansion/pull/5458) +* Updated species defines by @pkmnsnfrn in [#5075](https://github.com/rh-hideout/pokeemerald-expansion/pull/5075) +* Adds padding in `AiLogicData` by @AlexOn1ine in [#5468](https://github.com/rh-hideout/pokeemerald-expansion/pull/5468) +* Simplify `BS_FAINTED_MULTIPLE_1` double battle logic in openpartyscreen by @ghoulslash in [#5435](https://github.com/rh-hideout/pokeemerald-expansion/pull/5435) +* Removes duplicate code in AI functions by @AlexOn1ine in [#5457](https://github.com/rh-hideout/pokeemerald-expansion/pull/5457) +* `ShouldPivot` type cleanup by @Pawkkie in [#5441](https://github.com/rh-hideout/pokeemerald-expansion/pull/5441) +* Turn item hold effects into an enum by @Bassoonian in [#5498](https://github.com/rh-hideout/pokeemerald-expansion/pull/5498) +* Unify `GetBattlerAbility`/`TerrainAffected` to remove duplicate ai function by @AlexOn1ine in [#5497](https://github.com/rh-hideout/pokeemerald-expansion/pull/5497) +* Clean up Shedinja code by @Bassoonian in [#5501](https://github.com/rh-hideout/pokeemerald-expansion/pull/5501) +* Clean up `scrcmd` PR by @Bassoonian in [#5511](https://github.com/rh-hideout/pokeemerald-expansion/pull/5511) +* Removes Crit Chance preproc by @AlexOn1ine in [#5520](https://github.com/rh-hideout/pokeemerald-expansion/pull/5520) +* Removed agbcc screenshots from gitignore by @Bassoonian in [#5538](https://github.com/rh-hideout/pokeemerald-expansion/pull/5538) +* Removed unnecessary `gBattlerAttacker` usage by @AlexOn1ine in [#5554](https://github.com/rh-hideout/pokeemerald-expansion/pull/5554) +* Removed remaining line breaks from #3240 + Prefix wrap fix by @AsparagusEduardo in [#5556](https://github.com/rh-hideout/pokeemerald-expansion/pull/5556) +* More post-#3240 cleanup by @kittenchilly in [#5593](https://github.com/rh-hideout/pokeemerald-expansion/pull/5593) +* Renamed folders and symbols to match species defines by @AsparagusEduardo in [#5581](https://github.com/rh-hideout/pokeemerald-expansion/pull/5581) + - Also: + - Burmy and Wormadam footprints were in a `plant` subfolder. They have been moved to the species root folder + - Paldean Wooper's subfolder was named `wooper_paldean` instead of just `paldean`. This has been corrected. + - Zen Mode Galarian Darmanitan's folder was located in `darmanitan/galarian/zen_mode`. This has been corrected to `darmanitan/galar_zen`, alongside Galarian Standard Mode's `darmanitan/galar_standard`. + - Also updated Ogerpon's folders similarly. + - Renamed `SPECIES_PIKACHU_PARTNER_CAP` to `SPECIES_PIKACHU_PARTNER`. +* Minor `BattleStruct` clean up by @AlexOn1ine in [#5585](https://github.com/rh-hideout/pokeemerald-expansion/pull/5585) +* Fixed a ball update oversight by @Bassoonian in [#5609](https://github.com/rh-hideout/pokeemerald-expansion/pull/5609) +* `AI_FLAG_ACE_POKEMON` takes into account separate trainers by @GhoulMage and @/uvula on Discord noted the weird behaviour in [#5608](https://github.com/rh-hideout/pokeemerald-expansion/pull/5608) + - Fix for the AI not considering both trainers Ace Pokémons in double battles with `AI_FLAG_ACE_POKEMON`. +* Moves that deal a Fixed amount don't need AI handling by @AlexOn1ine in [#5614](https://github.com/rh-hideout/pokeemerald-expansion/pull/5614) +* Combines `CalculateMoveDamage` arguments into a struct by @AlexOn1ine in [#5570](https://github.com/rh-hideout/pokeemerald-expansion/pull/5570) +* Follow up for #5570 by @AlexOn1ine in [#5625](https://github.com/rh-hideout/pokeemerald-expansion/pull/5625) +* `AI_CalcDamage` clean up by @AlexOn1ine in [#5629](https://github.com/rh-hideout/pokeemerald-expansion/pull/5629) +* Convert 3 variouses to `callnatives` by @AlexOn1ine in [#5646](https://github.com/rh-hideout/pokeemerald-expansion/pull/5646) +* Convert `gBattleStringsTable` to `COMPOUND_STRING`s by @AsparagusEduardo in [#5649](https://github.com/rh-hideout/pokeemerald-expansion/pull/5649) +* Added merged placeholder text for trainer name with class by @kittenchilly in [#5622](https://github.com/rh-hideout/pokeemerald-expansion/pull/5622) +* Cleans up Primal Reversion code by @AlexOn1ine in [#5659](https://github.com/rh-hideout/pokeemerald-expansion/pull/5659) +* Critical Hit documentation and distorted match up struct switch by @AlexOn1ine in [#5665](https://github.com/rh-hideout/pokeemerald-expansion/pull/5665) +* Changes name of `B_SCR_NAME_WITH_PREFIX` by @AlexOn1ine in [#5675](https://github.com/rh-hideout/pokeemerald-expansion/pull/5675) +* Removes redundant Decorate check by @AlexOn1ine in [#5696](https://github.com/rh-hideout/pokeemerald-expansion/pull/5696) +* Changes taget bit of Flower Shield by @AlexOn1ine in [#5698](https://github.com/rh-hideout/pokeemerald-expansion/pull/5698) +* Changing `EVO_NONE` from `0xFFFE` to `0` by @GhoulMage in [#5547](https://github.com/rh-hideout/pokeemerald-expansion/pull/5547) + - There could be a case for out of bounds errors if arrays or iterations are happening where you're using + 1 or - 1, as `EVO_FRIENDSHIP` used to be the first index although it started with 1. + +## 🧪 Test Runner 🧪 +### Changed +* Fixed Commander test name by @Bassoonian in [#5458](https://github.com/rh-hideout/pokeemerald-expansion/pull/5458) +* `ShouldSwitchIfGameStatePrompt` Tests by @Pawkkie in [#5462](https://github.com/rh-hideout/pokeemerald-expansion/pull/5462) +* Added various tests, add `RNG_RANDOM_TARGET` by @ghoulslash in [#5438](https://github.com/rh-hideout/pokeemerald-expansion/pull/5438) +* Added Costar Tests, Download Test for Doubles by @ghoulslash in [#5526](https://github.com/rh-hideout/pokeemerald-expansion/pull/5526) +* Updated Wring Out effects to match Eruption effects by @AsparagusEduardo in [#5549](https://github.com/rh-hideout/pokeemerald-expansion/pull/5549) + - Changed Wring Out/Crush Grip/Hard Press to use `power` instead of `argument` to determine its max power, just like how Eruption/Water Spout/Dragon Energy do it. Also: + - Renamed `EFFECT_VARY_POWER_BASED_ON_HP` to `EFFECT_POWER_BASED_ON_TARGET_HP` + - Renamed `EFFECT_ERUPTION` to `EFFECT_POWER_BASED_ON_USER_HP` +* Healer ability tests by @Pawkkie in [#5559](https://github.com/rh-hideout/pokeemerald-expansion/pull/5559) +* Mark all tests as used by @mrgriffin in [#5531](https://github.com/rh-hideout/pokeemerald-expansion/pull/5531) + +### Fixed +* Should switch refactor to facilitate switch prediction by @Pawkkie in [#5466](https://github.com/rh-hideout/pokeemerald-expansion/pull/5466) + +## 📚 Documentation 📚 +* `DoBattleIntro` state documentation by @AsparagusEduardo and @ShinyDragonHunter in [#5231](https://github.com/rh-hideout/pokeemerald-expansion/pull/5231) +* Deprecate MMBN Names by @pkmnsnfrn in [#5240](https://github.com/rh-hideout/pokeemerald-expansion/pull/5240) +* `AI_FLAG_SETUP_FIRST_TURN` Rename and Clarifications by @Pawkkie in [#5310](https://github.com/rh-hideout/pokeemerald-expansion/pull/5310) +* Added Composite AI Flags to Docs by @Pawkkie in [#5349](https://github.com/rh-hideout/pokeemerald-expansion/pull/5349) +* Updated the new pokemon tutorial for 1.10 by @hedara90 in [#5721](https://github.com/rh-hideout/pokeemerald-expansion/pull/5721) + - Some changes compared to previous. + +## New Contributors +* @SombrAbsol made their first contribution in [#4958](https://github.com/rh-hideout/pokeemerald-expansion/pull/4958) +* @Galaxeeh made their first contribution in [#5084](https://github.com/rh-hideout/pokeemerald-expansion/pull/5084) +* @Flash1Lucky made their first contribution in [#5269](https://github.com/rh-hideout/pokeemerald-expansion/pull/5269) +* @GhoulMage made their first contribution in [#5547](https://github.com/rh-hideout/pokeemerald-expansion/pull/5547) + +**Full Changelog**: https://github.com/rh-hideout/pokeemerald-expansion/compare/expansion/1.9.4...expansion/1.10.0 + + + diff --git a/include/constants/expansion.h b/include/constants/expansion.h index 6e6ce7f0ee..c24fbeec80 100644 --- a/include/constants/expansion.h +++ b/include/constants/expansion.h @@ -1,7 +1,7 @@ #ifndef GUARD_CONSTANTS_EXPANSION_H #define GUARD_CONSTANTS_EXPANSION_H -// Last version: 1.9.4 +// Last version: 1.10.0 #define EXPANSION_VERSION_MAJOR 1 #define EXPANSION_VERSION_MINOR 10 #define EXPANSION_VERSION_PATCH 0 From 7e5327864e306fc46bb987a1fa5174c390d25641 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 15:27:01 -0300 Subject: [PATCH 247/278] Start of 1.10.1 cycle --- include/constants/expansion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants/expansion.h b/include/constants/expansion.h index c24fbeec80..24d5ed3853 100644 --- a/include/constants/expansion.h +++ b/include/constants/expansion.h @@ -4,10 +4,10 @@ // Last version: 1.10.0 #define EXPANSION_VERSION_MAJOR 1 #define EXPANSION_VERSION_MINOR 10 -#define EXPANSION_VERSION_PATCH 0 +#define EXPANSION_VERSION_PATCH 1 // FALSE if this this version of Expansion is not a tagged commit, i.e. // it contains unreleased changes. -#define EXPANSION_TAGGED_RELEASE TRUE +#define EXPANSION_TAGGED_RELEASE FALSE #endif From 1dde42c0cc9d13c853e215c81f9ecc53ae9cffea Mon Sep 17 00:00:00 2001 From: iriv24 <40581123+iriv24@users.noreply.github.com> Date: Sun, 1 Dec 2024 14:37:46 -0500 Subject: [PATCH 248/278] Cant't knock off Rusted Shield/Sword from Zamazenta/Zacian (#5750) --- src/battle_util.c | 1 + test/battle/move_effect/knock_off.c | 122 +++++++++++++++++++++++++++- 2 files changed, 122 insertions(+), 1 deletion(-) diff --git a/src/battle_util.c b/src/battle_util.c index 6f0b2af880..4dd236a695 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -10672,6 +10672,7 @@ bool32 DoesSpeciesUseHoldItemToChangeForm(u16 species, u16 heldItemId) case FORM_CHANGE_BATTLE_PRIMAL_REVERSION: case FORM_CHANGE_BATTLE_ULTRA_BURST: case FORM_CHANGE_ITEM_HOLD: + case FORM_CHANGE_BEGIN_BATTLE: if (formChanges[i].param1 == heldItemId) return TRUE; break; diff --git a/test/battle/move_effect/knock_off.c b/test/battle/move_effect/knock_off.c index 50d8aaa773..b03432e695 100644 --- a/test/battle/move_effect/knock_off.c +++ b/test/battle/move_effect/knock_off.c @@ -202,6 +202,126 @@ SINGLE_BATTLE_TEST("Knock Off doesn't knock off items from Pokemon behind substi } WHEN { TURN { MOVE(opponent, MOVE_SUBSTITUTE); MOVE(player, MOVE_KNOCK_OFF); } } SCENE { - NOT MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Poké Ball"); + NOT MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Poké Ball!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off does knock off Mega Stones from Pokemon that don't actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_ABSOLITE); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Absolite!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off Mega Stones from Pokemon that actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_ABSOL) { Item(ITEM_ABSOLITE); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Absol's Absolite!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off does knock off Orbs for Primal Reversion from Pokemon that don't actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_RED_ORB); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Red Orb!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off Orbs for Primal Reversion from Pokemon that actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_GROUDON) { Item(ITEM_RED_ORB); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Groudon's Red Orb!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off Z-Crystals") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_ELECTRIUM_Z); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Electrium Z!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off Ultranecrozium Z from Pokemon that actually use it") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_NECROZMA_DUSK_MANE) { Item(ITEM_ULTRANECROZIUM_Z); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Necrozma's Ultranecrozium Z!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off does knock off other form-change hold items from Pokemon that don't actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_SKY_PLATE); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Sky Plate!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off other form-change hold items from Pokemon that actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_ARCEUS) { Item(ITEM_SKY_PLATE); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Arceus's Sky Plate!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off does knock off begin-battle form-change hold items from Pokemon that don't actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_RUSTED_SHIELD); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + MESSAGE("Wobbuffet knocked off Foe Wobbuffet's Rusted Shield!"); + } +} + +SINGLE_BATTLE_TEST("Knock Off doesn't knock off begin-battle form-change hold items from Pokemon that actually use them") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_ZAMAZENTA_HERO_OF_MANY_BATTLES) { Item(ITEM_RUSTED_SHIELD); } + } WHEN { + TURN { MOVE(opponent, MOVE_CELEBRATE); MOVE(player, MOVE_KNOCK_OFF); } + } SCENE { + NOT MESSAGE("Wobbuffet knocked off Foe Zamazenta's Rusted Shield!"); } } From 2e30e66e1518f2e25b27421e21036d914dbc4484 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 15:33:42 -0300 Subject: [PATCH 249/278] Begin 1.11.0 cycle --- include/constants/expansion.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants/expansion.h b/include/constants/expansion.h index c24fbeec80..59f0928fcb 100644 --- a/include/constants/expansion.h +++ b/include/constants/expansion.h @@ -1,9 +1,9 @@ #ifndef GUARD_CONSTANTS_EXPANSION_H #define GUARD_CONSTANTS_EXPANSION_H -// Last version: 1.10.0 +// Last version: 1.10.1 #define EXPANSION_VERSION_MAJOR 1 -#define EXPANSION_VERSION_MINOR 10 +#define EXPANSION_VERSION_MINOR 11 #define EXPANSION_VERSION_PATCH 0 // FALSE if this this version of Expansion is not a tagged commit, i.e. From 00cb7b36e105016c6aa468af8a6c09039165589f Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 15:36:39 -0300 Subject: [PATCH 250/278] Actually start 1.11.0 cycle --- include/constants/expansion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/constants/expansion.h b/include/constants/expansion.h index 59f0928fcb..6b3a5ace78 100644 --- a/include/constants/expansion.h +++ b/include/constants/expansion.h @@ -8,6 +8,6 @@ // FALSE if this this version of Expansion is not a tagged commit, i.e. // it contains unreleased changes. -#define EXPANSION_TAGGED_RELEASE TRUE +#define EXPANSION_TAGGED_RELEASE FALSE #endif From f44b8f9a0e0988e9c1c3e44f28a3d72e3aa5fda6 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Sun, 1 Dec 2024 15:48:45 -0500 Subject: [PATCH 251/278] Smart Switching handles Soundproof (#5703) --- src/battle_ai_switch_items.c | 5 +++++ test/battle/ai/ai_switching.c | 22 ++++++++++++++++++---- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 47f5cae740..9f807ad70d 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -381,6 +381,11 @@ static bool32 FindMonThatAbsorbsOpponentsMove(u32 battler) else if (gMovesInfo[predictedMove].type == TYPE_GROUND || (isOpposingBattlerChargingOrInvulnerable && gMovesInfo[incomingMove].type == TYPE_GROUND)) { absorbingTypeAbilities[numAbsorbingAbilities++] = ABILITY_EARTH_EATER; + absorbingTypeAbilities[numAbsorbingAbilities++] = ABILITY_LEVITATE; + } + else if (gMovesInfo[predictedMove].soundMove || (isOpposingBattlerChargingOrInvulnerable && gMovesInfo[incomingMove].soundMove)) + { + absorbingTypeAbilities[numAbsorbingAbilities++] = ABILITY_SOUNDPROOF; } else { diff --git a/test/battle/ai/ai_switching.c b/test/battle/ai/ai_switching.c index 7f2368261d..12f7443a15 100644 --- a/test/battle/ai/ai_switching.c +++ b/test/battle/ai/ai_switching.c @@ -708,15 +708,29 @@ AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if player's m AI_SINGLE_BATTLE_TEST("AI_FLAG_SMART_SWITCHING: AI will switch out if it has an absorber") { + u32 aiMon; u32 move; u32 absorbingAbility; + PARAMETRIZE { aiMon = SPECIES_NINETALES; absorbingAbility = ABILITY_FLASH_FIRE; move = MOVE_FLAMETHROWER;} + PARAMETRIZE { aiMon = SPECIES_MANTINE; absorbingAbility = ABILITY_WATER_ABSORB; move = MOVE_SURF;} + PARAMETRIZE { aiMon = SPECIES_TOXICROAK; absorbingAbility = ABILITY_DRY_SKIN; move = MOVE_SURF;} + PARAMETRIZE { aiMon = SPECIES_GASTRODON; absorbingAbility = ABILITY_STORM_DRAIN; move = MOVE_SURF;} + PARAMETRIZE { aiMon = SPECIES_JOLTEON; absorbingAbility = ABILITY_VOLT_ABSORB; move = MOVE_THUNDERBOLT;} + PARAMETRIZE { aiMon = SPECIES_ELECTIVIRE; absorbingAbility = ABILITY_MOTOR_DRIVE; move = MOVE_THUNDERBOLT;} + PARAMETRIZE { aiMon = SPECIES_MANECTRIC; absorbingAbility = ABILITY_LIGHTNING_ROD; move = MOVE_THUNDERBOLT;} + PARAMETRIZE { aiMon = SPECIES_ELECTIVIRE; absorbingAbility = ABILITY_MOTOR_DRIVE; move = MOVE_THUNDERBOLT;} + PARAMETRIZE { aiMon = SPECIES_AZUMARILL; absorbingAbility = ABILITY_SAP_SIPPER; move = MOVE_GIGA_DRAIN;} + PARAMETRIZE { aiMon = SPECIES_ORTHWORM; absorbingAbility = ABILITY_EARTH_EATER; move = MOVE_EARTHQUAKE;} + PARAMETRIZE { aiMon = SPECIES_BRONZONG; absorbingAbility = ABILITY_LEVITATE; move = MOVE_EARTHQUAKE;} + PARAMETRIZE { aiMon = SPECIES_ELECTRODE; absorbingAbility = ABILITY_SOUNDPROOF; move = MOVE_HYPER_VOICE;} GIVEN { + ASSUME(B_REDIRECT_ABILITY_IMMUNITY >= GEN_5); ASSUME(gMovesInfo[MOVE_WATER_GUN].type == TYPE_WATER); AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_SMART_SWITCHING); - PLAYER(SPECIES_LUVDISC) { Moves(MOVE_WATER_GUN); } + PLAYER(SPECIES_ZIGZAGOON) { Moves(move); } OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_TACKLE); } - OPPONENT(SPECIES_MANTINE) { Moves(MOVE_TACKLE); Ability(ABILITY_WATER_ABSORB); } + OPPONENT(aiMon) { Moves(MOVE_TACKLE); Ability(absorbingAbility); } } WHEN { - TURN { MOVE(player, MOVE_WATER_GUN) ; EXPECT_MOVE(opponent, MOVE_TACKLE); } - TURN { MOVE(player, MOVE_WATER_GUN) ; EXPECT_SWITCH(opponent, 1); } + TURN { MOVE(player, move); EXPECT_MOVE(opponent, MOVE_TACKLE); } + TURN { MOVE(player, move); EXPECT_SWITCH(opponent, 1); } } } From 42b94e378ba7cc252775adcc162fe7fede2eec2e Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Sun, 1 Dec 2024 15:58:13 -0500 Subject: [PATCH 252/278] Add Revival Blessing AI (#5704) --- src/battle_ai_main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 3c031de092..60e6f90fea 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -4399,7 +4399,13 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) break; case EFFECT_REVIVAL_BLESSING: if (GetFirstFaintedPartyIndex(battlerAtk) != PARTY_SIZE) + { ADJUST_SCORE(DECENT_EFFECT); + if (AI_DATA->shouldSwitch & (1u << battlerAtk)) // Bad matchup + ADJUST_SCORE(WEAK_EFFECT); + if (AI_DATA->mostSuitableMonId[battlerAtk] != PARTY_SIZE) // Good mon to send in after + ADJUST_SCORE(WEAK_EFFECT); + } break; //case EFFECT_EXTREME_EVOBOOST: // TODO //break; From 4635f0e0f857af389dcb924b770e4c47d50a15bb Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 1 Dec 2024 18:36:25 -0300 Subject: [PATCH 253/278] Converted Stance Change to proper Form Change + Tests (#5749) --- include/constants/form_change_types.h | 12 +++- src/battle_script_commands.c | 29 +++------ src/battle_util.c | 12 +++- src/data/pokemon/form_change_tables.h | 11 ++-- test/battle/ability/stance_change.c | 84 +++++++++++++++++++++++++++ 5 files changed, 115 insertions(+), 33 deletions(-) create mode 100644 test/battle/ability/stance_change.c diff --git a/include/constants/form_change_types.h b/include/constants/form_change_types.h index 79a8a4cee7..8af9740cad 100644 --- a/include/constants/form_change_types.h +++ b/include/constants/form_change_types.h @@ -134,8 +134,14 @@ // param1: amount of days #define FORM_CHANGE_DAYS_PASSED 23 -// Form change for Aegislash -#define FORM_CHANGE_BATTLE_ATTACK 24 -#define FORM_CHANGE_BATTLE_KINGS_SHIELD 25 +// Form change that activates before using a move. +// param1: move to check +// param2: ability to check, optional +#define FORM_CHANGE_BATTLE_BEFORE_MOVE 24 + +// Form change that activates before using a specific move category. +// param1: move category to check +// param2: ability to check, optional +#define FORM_CHANGE_BATTLE_BEFORE_MOVE_CATEGORY 25 #endif // GUARD_CONSTANTS_FORM_CHANGE_TYPES_H diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0390f0e85a..29c1c02edc 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1125,29 +1125,14 @@ static bool32 NoTargetPresent(u8 battler, u32 move) return FALSE; } -static bool32 TryAegiFormChange(void) +static bool32 TryFormChangeBeforeMove(void) { - // Only Aegislash with Stance Change can transform, transformed mons cannot. - if (GetBattlerAbility(gBattlerAttacker) != ABILITY_STANCE_CHANGE - || gBattleMons[gBattlerAttacker].status2 & STATUS2_TRANSFORMED) + bool32 result = TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_BEFORE_MOVE); + if (!result) + result = TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_BEFORE_MOVE_CATEGORY); + if (!result) return FALSE; - switch (gBattleMons[gBattlerAttacker].species) - { - default: - return FALSE; - case SPECIES_AEGISLASH_SHIELD: // Shield -> Blade - if (IS_MOVE_STATUS(gCurrentMove)) - return FALSE; - TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_ATTACK); - break; - case SPECIES_AEGISLASH_BLADE: // Blade -> Shield - if (gCurrentMove != MOVE_KINGS_SHIELD) - return FALSE; - TryBattleFormChange(gBattlerAttacker, FORM_CHANGE_BATTLE_KINGS_SHIELD); - break; - } - BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AttackerFormChange; return TRUE; @@ -1221,7 +1206,7 @@ static void Cmd_attackcanceler(void) gBattlescriptCurrInstr = BattleScript_MoveEnd; return; } - if (B_STANCE_CHANGE_FAIL < GEN_7 && TryAegiFormChange()) + if (B_STANCE_CHANGE_FAIL < GEN_7 && TryFormChangeBeforeMove()) return; if (AtkCanceller_UnableToUseMove(moveType)) return; @@ -1282,7 +1267,7 @@ static void Cmd_attackcanceler(void) gMoveResultFlags |= MOVE_RESULT_MISSED; return; } - if (B_STANCE_CHANGE_FAIL >= GEN_7 && TryAegiFormChange()) + if (B_STANCE_CHANGE_FAIL >= GEN_7 && TryFormChangeBeforeMove()) return; gHitMarker &= ~HITMARKER_ALLOW_NO_PP; diff --git a/src/battle_util.c b/src/battle_util.c index bcd43f8962..5238bbfc53 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -10988,9 +10988,15 @@ u16 GetBattleFormChangeTargetSpecies(u32 battler, u16 method) if (GetBattlerTeraType(battler) == formChanges[i].param1) targetSpecies = formChanges[i].targetSpecies; break; - case FORM_CHANGE_BATTLE_ATTACK: - case FORM_CHANGE_BATTLE_KINGS_SHIELD: - targetSpecies = formChanges[i].targetSpecies; + case FORM_CHANGE_BATTLE_BEFORE_MOVE: + if (formChanges[i].param1 == gCurrentMove + && (formChanges[i].param2 == ABILITY_NONE || formChanges[i].param2 == GetBattlerAbility(battler))) + targetSpecies = formChanges[i].targetSpecies; + break; + case FORM_CHANGE_BATTLE_BEFORE_MOVE_CATEGORY: + if (formChanges[i].param1 == GetBattleMoveCategory(gCurrentMove) + && (formChanges[i].param2 == ABILITY_NONE || formChanges[i].param2 == GetBattlerAbility(battler))) + targetSpecies = formChanges[i].targetSpecies; break; } } diff --git a/src/data/pokemon/form_change_tables.h b/src/data/pokemon/form_change_tables.h index 4af68ce318..340bdb1fa6 100644 --- a/src/data/pokemon/form_change_tables.h +++ b/src/data/pokemon/form_change_tables.h @@ -789,11 +789,12 @@ static const struct FormChange sFurfrouFormChangeTable[] = { #if P_FAMILY_HONEDGE static const struct FormChange sAegislashFormChangeTable[] = { - {FORM_CHANGE_BATTLE_ATTACK, SPECIES_AEGISLASH_BLADE}, - {FORM_CHANGE_BATTLE_KINGS_SHIELD, SPECIES_AEGISLASH_SHIELD}, - {FORM_CHANGE_BATTLE_SWITCH, SPECIES_AEGISLASH_SHIELD}, - {FORM_CHANGE_FAINT, SPECIES_AEGISLASH_SHIELD}, - {FORM_CHANGE_END_BATTLE, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_BATTLE_BEFORE_MOVE_CATEGORY, SPECIES_AEGISLASH_BLADE, DAMAGE_CATEGORY_PHYSICAL, ABILITY_STANCE_CHANGE}, + {FORM_CHANGE_BATTLE_BEFORE_MOVE_CATEGORY, SPECIES_AEGISLASH_BLADE, DAMAGE_CATEGORY_SPECIAL, ABILITY_STANCE_CHANGE}, + {FORM_CHANGE_BATTLE_BEFORE_MOVE, SPECIES_AEGISLASH_SHIELD, MOVE_KINGS_SHIELD, ABILITY_STANCE_CHANGE}, + {FORM_CHANGE_BATTLE_SWITCH, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_FAINT, SPECIES_AEGISLASH_SHIELD}, + {FORM_CHANGE_END_BATTLE, SPECIES_AEGISLASH_SHIELD}, {FORM_CHANGE_TERMINATOR}, }; #endif //P_FAMILY_HONEDGE diff --git a/test/battle/ability/stance_change.c b/test/battle/ability/stance_change.c new file mode 100644 index 0000000000..8221e16385 --- /dev/null +++ b/test/battle/ability/stance_change.c @@ -0,0 +1,84 @@ +#include "global.h" +#include "test/battle.h" + + +SINGLE_BATTLE_TEST("Stance Change changes Aegislash from Shield to Blade when using a damaging move") +{ + u16 move; + PARAMETRIZE { move = MOVE_TACKLE; } + PARAMETRIZE { move = MOVE_SWIFT; } + PARAMETRIZE { move = MOVE_GROWL; } + GIVEN { + PLAYER(SPECIES_AEGISLASH_SHIELD); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, move); } + } SCENE { + if (move != MOVE_GROWL) { + ABILITY_POPUP(player, ABILITY_STANCE_CHANGE); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player); + } else { + NONE_OF { + ABILITY_POPUP(player, ABILITY_STANCE_CHANGE); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player); + } + } + ANIMATION(ANIM_TYPE_MOVE, move, player); + } THEN { + if (move != MOVE_GROWL) + EXPECT_EQ(player->species, SPECIES_AEGISLASH_BLADE); + else + EXPECT_EQ(player->species, SPECIES_AEGISLASH_SHIELD); + } +} + +SINGLE_BATTLE_TEST("Stance Change changes Aegislash from Blade to Shield when using King's Shield") +{ + u16 move; + PARAMETRIZE { move = MOVE_PROTECT; } + PARAMETRIZE { move = MOVE_KINGS_SHIELD; } + GIVEN { + PLAYER(SPECIES_AEGISLASH_BLADE); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, move); } + } SCENE { + if (move == MOVE_KINGS_SHIELD) { + ABILITY_POPUP(player, ABILITY_STANCE_CHANGE); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player); + } else { + NONE_OF { + ABILITY_POPUP(player, ABILITY_STANCE_CHANGE); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player); + } + } + ANIMATION(ANIM_TYPE_MOVE, move, player); + } THEN { + if (move == MOVE_KINGS_SHIELD) + EXPECT_EQ(player->species, SPECIES_AEGISLASH_SHIELD); + else + EXPECT_EQ(player->species, SPECIES_AEGISLASH_BLADE); + } +} + +SINGLE_BATTLE_TEST("Stance Change doesn't change Aegislash to Shield if King's Shield is called by a different move - Sleep Talk") +{ + KNOWN_FAILING; // Currently does change form + GIVEN { + ASSUME(gMovesInfo[MOVE_SLEEP_TALK].effect == EFFECT_SLEEP_TALK); + PLAYER(SPECIES_AEGISLASH_BLADE) { Moves(MOVE_KINGS_SHIELD, MOVE_SLEEP_TALK); Status1(STATUS1_SLEEP_TURN(3)); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SLEEP_TALK); } + } SCENE { + NONE_OF { + ABILITY_POPUP(player, ABILITY_STANCE_CHANGE); + ANIMATION(ANIM_TYPE_GENERAL, B_ANIM_FORM_CHANGE, player); + } + ANIMATION(ANIM_TYPE_MOVE, MOVE_KINGS_SHIELD, player); + } THEN { + EXPECT_EQ(player->species, SPECIES_AEGISLASH_BLADE); + } +} + +TO_DO_BATTLE_TEST("Stance Change doesn't change Aegislash to Shield if King's Shield is called by a different move - Me First"); From 4ddcef8944404172c0bae53f3f72dda8fb1abf94 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Sun, 1 Dec 2024 17:17:55 -0800 Subject: [PATCH 254/278] Update docs/scope.md Co-authored-by: Bassoonian --- docs/scope.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/scope.md b/docs/scope.md index 5db9102ca8..21f401b29e 100644 --- a/docs/scope.md +++ b/docs/scope.md @@ -11,7 +11,7 @@ This document is a guide for contributors and Senate to decide if a feature is w # Guidelines -A pull request meets the scope crtieria if: +A pull request meets the scope criteria if: * The feature does not belong to a category considered “not in scope” AND * The feature belongs to a category considered “in scope” From 0322d518875d857d8d6f3e11a3c3aaa9f2938156 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Mon, 2 Dec 2024 05:05:04 -0300 Subject: [PATCH 255/278] Split "Do nothing" move effects (#5613) --- data/battle_scripts_1.s | 25 +++++++++++++++++++------ include/battle_scripts.h | 3 +++ include/constants/battle_move_effects.h | 3 +++ src/battle_ai_main.c | 6 ++++++ src/data/battle_move_effects.h | 21 +++++++++++++++++++++ src/data/moves_info.h | 6 +++--- test/battle/move_effect/hold_hands.c | 25 +++++++++++++++++++++++++ 7 files changed, 80 insertions(+), 9 deletions(-) create mode 100644 test/battle/move_effect/hold_hands.c diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 3d24cbfdf0..5e30457341 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -3868,26 +3868,39 @@ BattleScript_EffectDoNothing:: attackcanceler attackstring ppreduce - jumpifmove MOVE_HOLD_HANDS, BattleScript_EffectHoldHands attackanimation waitanimation - jumpifmove MOVE_CELEBRATE, BattleScript_EffectCelebrate - jumpifmove MOVE_HAPPY_HOUR, BattleScript_EffectHappyHour incrementgamestat GAME_STAT_USED_SPLASH printstring STRINGID_BUTNOTHINGHAPPENED waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd -BattleScript_EffectHoldHands: + +BattleScript_EffectHoldHands:: + attackcanceler + attackstring + ppreduce jumpifsideaffecting BS_TARGET, SIDE_STATUS_CRAFTY_SHIELD, BattleScript_ButItFailed jumpifbyteequal gBattlerTarget, gBattlerAttacker, BattleScript_ButItFailed attackanimation waitanimation goto BattleScript_MoveEnd -BattleScript_EffectCelebrate: + +BattleScript_EffectCelebrate:: + attackcanceler + attackstring + ppreduce + attackanimation + waitanimation printstring STRINGID_CELEBRATEMESSAGE waitmessage B_WAIT_TIME_LONG goto BattleScript_MoveEnd -BattleScript_EffectHappyHour: + +BattleScript_EffectHappyHour:: + attackcanceler + attackstring + ppreduce + attackanimation + waitanimation seteffectprimary MOVE_EFFECT_HAPPY_HOUR goto BattleScript_MoveEnd diff --git a/include/battle_scripts.h b/include/battle_scripts.h index 1148c955e5..4c8d8c0dde 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -624,6 +624,9 @@ extern const u8 BattleScript_EffectMimic[]; extern const u8 BattleScript_EffectMetronome[]; extern const u8 BattleScript_EffectLeechSeed[]; extern const u8 BattleScript_EffectDoNothing[]; +extern const u8 BattleScript_EffectHoldHands[]; +extern const u8 BattleScript_EffectCelebrate[]; +extern const u8 BattleScript_EffectHappyHour[]; extern const u8 BattleScript_EffectDisable[]; extern const u8 BattleScript_EffectLevelDamage[]; extern const u8 BattleScript_EffectPsywave[]; diff --git a/include/constants/battle_move_effects.h b/include/constants/battle_move_effects.h index b1472d0280..15edbd28ef 100644 --- a/include/constants/battle_move_effects.h +++ b/include/constants/battle_move_effects.h @@ -67,6 +67,9 @@ enum { EFFECT_METRONOME, EFFECT_LEECH_SEED, EFFECT_DO_NOTHING, + EFFECT_HOLD_HANDS, + EFFECT_CELEBRATE, + EFFECT_HAPPY_HOUR, EFFECT_DISABLE, EFFECT_LEVEL_DAMAGE, EFFECT_PSYWAVE, diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 60e6f90fea..5768666dfb 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -2412,6 +2412,9 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) ADJUST_SCORE(-10); break; case EFFECT_DO_NOTHING: + case EFFECT_HOLD_HANDS: + case EFFECT_CELEBRATE: + case EFFECT_HAPPY_HOUR: ADJUST_SCORE(-10); break; case EFFECT_INSTRUCT: @@ -3513,6 +3516,9 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) ADJUST_SCORE(DECENT_EFFECT); break; case EFFECT_DO_NOTHING: + case EFFECT_HOLD_HANDS: + case EFFECT_CELEBRATE: + case EFFECT_HAPPY_HOUR: //todo - check z splash, z celebrate, z happy hour (lol) break; case EFFECT_TELEPORT: // Either remove or add better logic diff --git a/src/data/battle_move_effects.h b/src/data/battle_move_effects.h index b5b3e539c8..ab70de3681 100644 --- a/src/data/battle_move_effects.h +++ b/src/data/battle_move_effects.h @@ -425,6 +425,27 @@ const struct BattleMoveEffect gBattleMoveEffects[NUM_BATTLE_MOVE_EFFECTS] = .encourageEncore = TRUE, }, + [EFFECT_HOLD_HANDS] = + { + .battleScript = BattleScript_EffectHoldHands, + .battleTvScore = 1, + .encourageEncore = TRUE, + }, + + [EFFECT_CELEBRATE] = + { + .battleScript = BattleScript_EffectCelebrate, + .battleTvScore = 1, + .encourageEncore = TRUE, + }, + + [EFFECT_HAPPY_HOUR] = + { + .battleScript = BattleScript_EffectHappyHour, + .battleTvScore = 1, + .encourageEncore = TRUE, + }, + [EFFECT_DISABLE] = { .battleScript = BattleScript_EffectDisable, diff --git a/src/data/moves_info.h b/src/data/moves_info.h index 180d0d74ac..49d35c0897 100644 --- a/src/data/moves_info.h +++ b/src/data/moves_info.h @@ -15010,7 +15010,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .description = COMPOUND_STRING( "Doubles the amount of\n" "Prize Money received."), - .effect = EFFECT_DO_NOTHING, + .effect = EFFECT_HAPPY_HOUR, .power = 0, .type = TYPE_NORMAL, .accuracy = 0, @@ -15080,7 +15080,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .description = COMPOUND_STRING( "Congratulates you on your\n" "special day."), - .effect = EFFECT_DO_NOTHING, + .effect = EFFECT_CELEBRATE, .power = 0, .type = TYPE_NORMAL, .accuracy = 0, @@ -15110,7 +15110,7 @@ const struct MoveInfo gMovesInfo[MOVES_COUNT_DYNAMAX] = .description = COMPOUND_STRING( "The user and ally hold hands\n" "making them happy."), - .effect = EFFECT_DO_NOTHING, + .effect = EFFECT_HOLD_HANDS, .power = 0, .type = TYPE_NORMAL, .accuracy = 0, diff --git a/test/battle/move_effect/hold_hands.c b/test/battle/move_effect/hold_hands.c new file mode 100644 index 0000000000..bcdb6a952a --- /dev/null +++ b/test/battle/move_effect/hold_hands.c @@ -0,0 +1,25 @@ +#include "global.h" +#include "test/battle.h" + +ASSUMPTIONS +{ + ASSUME(gMovesInfo[MOVE_HOLD_HANDS].effect == EFFECT_HOLD_HANDS); +} + +DOUBLE_BATTLE_TEST("Hold Hands is blocked by Crafty Shield") +{ + GIVEN { + PLAYER(SPECIES_WYNAUT); + PLAYER(SPECIES_WYNAUT); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { + MOVE(playerLeft, MOVE_CRAFTY_SHIELD, target: opponentLeft); + MOVE(playerRight, MOVE_HOLD_HANDS, target: playerLeft); + } + } SCENE { + NOT ANIMATION(ANIM_TYPE_MOVE, MOVE_HOLD_HANDS, playerLeft); + MESSAGE("Wynaut protected itself!"); + } +} From 2b7905beb1d8a334105653ced32fa9de8c1e43aa Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Mon, 2 Dec 2024 03:06:03 -0500 Subject: [PATCH 256/278] Add B_FLAG_SLEEP_CLAUSE (#5566) Co-authored-by: Isaac Rivera Co-authored-by: iriv24 <40581123+iriv24@users.noreply.github.com> Co-authored-by: Hedara --- asm/macros/battle_script.inc | 8 +- data/battle_scripts_1.s | 17 +- include/battle.h | 2 + include/battle_ai_util.h | 1 + include/battle_scripts.h | 1 + include/battle_util.h | 5 +- include/config/battle.h | 1 + include/config/test.h | 4 + include/constants/battle_string_ids.h | 3 +- src/battle_ai_main.c | 10 +- src/battle_ai_switch_items.c | 2 +- src/battle_ai_util.c | 13 +- src/battle_dynamax.c | 6 +- src/battle_main.c | 7 + src/battle_message.c | 1 + src/battle_script_commands.c | 59 +- src/battle_util.c | 59 +- src/pokemon.c | 17 + test/battle/sleep_clause.c | 1816 +++++++++++++++++++++++++ test/test_runner_battle.c | 1 - 20 files changed, 2012 insertions(+), 21 deletions(-) create mode 100644 test/battle/sleep_clause.c diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 7ae4403ff9..6f3d2437c3 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -1667,6 +1667,11 @@ callnative BS_DamageToQuarterTargetHP .endm + .macro jumpifsleepclause jumpInstr:req + callnative BS_JumpIfSleepClause + .4byte \jumpInstr + .endm + .macro ficklebeamdamagecalculation callnative BS_FickleBeamDamageCalculation .endm @@ -2004,9 +2009,10 @@ .4byte \jumpInstr .endm - .macro trypsychoshift failInstr:req + .macro trypsychoshift failInstr:req sleepClauseFailInstr:req various BS_ATTACKER, VARIOUS_PSYCHO_SHIFT .4byte \failInstr + .4byte \sleepClauseFailInstr .endm .macro curestatus battler:req diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 5e30457341..e6ca33051c 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -1639,7 +1639,7 @@ BattleScript_EffectPsychoShift:: BattleScript_EffectPsychoShiftCanWork: jumpifstatus BS_TARGET, STATUS1_ANY, BattleScript_ButItFailed jumpifsafeguard BattleScript_SafeguardProtected - trypsychoshift BattleScript_ButItFailed + trypsychoshift BattleScript_ButItFailed, BattleScript_SleepClauseBlocked attackanimation waitanimation copybyte gEffectBattler, gBattlerTarget @@ -2892,6 +2892,7 @@ BattleScript_EffectSleep:: jumpifleafguardprotected BS_TARGET, BattleScript_AbilityProtectsDoesntAffect jumpifshieldsdown BS_TARGET, BattleScript_AbilityProtectsDoesntAffect jumpifstatus BS_TARGET, STATUS1_ANY, BattleScript_ButItFailed + jumpifsleepclause BattleScript_SleepClauseBlocked jumpifterrainaffected BS_TARGET, STATUS_FIELD_ELECTRIC_TERRAIN, BattleScript_ElectricTerrainPrevents jumpifterrainaffected BS_TARGET, STATUS_FIELD_MISTY_TERRAIN, BattleScript_MistyTerrainPrevents accuracycheck BattleScript_ButItFailed, ACC_CURR_MOVE @@ -5154,6 +5155,7 @@ BattleScript_EffectYawn:: jumpifflowerveil BattleScript_FlowerVeilProtects jumpifleafguardprotected BS_TARGET, BattleScript_AbilityProtectsDoesntAffect jumpifshieldsdown BS_TARGET, BattleScript_AbilityProtectsDoesntAffect + jumpifsleepclause BattleScript_SleepClauseBlocked jumpifsubstituteblocks BattleScript_ButItFailed jumpifsafeguard BattleScript_SafeguardProtected accuracycheck BattleScript_ButItFailed, NO_ACC_CALC_CHECK_LOCK_ON @@ -10108,3 +10110,16 @@ BattleScript_EffectSnow:: call BattleScript_CheckPrimalWeather setfieldweather ENUM_WEATHER_SNOW goto BattleScript_MoveWeatherChange + +BattleScript_SleepClauseBlocked:: + pause B_WAIT_TIME_SHORT + orhalfword gMoveResultFlags, MOVE_RESULT_FAILED + printstring STRINGID_BLOCKEDBYSLEEPCLAUSE + waitmessage B_WAIT_TIME_LONG + goto BattleScript_MoveEnd + +BattleScript_SleepClausePreventsEnd:: + pause B_WAIT_TIME_SHORT + printstring STRINGID_BLOCKEDBYSLEEPCLAUSE + waitmessage B_WAIT_TIME_LONG + end2 diff --git a/include/battle.h b/include/battle.h index 37f2359641..35b70a8032 100644 --- a/include/battle.h +++ b/include/battle.h @@ -832,6 +832,8 @@ struct BattleStruct u8 padding:7; u8 usedEjectItem; u8 usedMicleBerry; + u8 monCausingSleepClause[NUM_BATTLE_SIDES]; // Stores which pokemon on a given side is causing Sleep Clause to be active as the mon's index in the party + u8 sleepClauseEffectExempt:4; // Stores whether effect should be exempt from triggering Sleep Clause (Effect Spore) }; // The palaceFlags member of struct BattleStruct contains 1 flag per move to indicate which moves the AI should consider, diff --git a/include/battle_ai_util.h b/include/battle_ai_util.h index c74cad2e78..56dd8aa6e1 100644 --- a/include/battle_ai_util.h +++ b/include/battle_ai_util.h @@ -185,6 +185,7 @@ bool32 PartnerMoveEffectIsTerrain(u32 battlerAtkPartner, u32 partnerMove); bool32 PartnerMoveIs(u32 battlerAtkPartner, u32 partnerMove, u32 moveCheck); bool32 PartnerMoveIsSameAsAttacker(u32 battlerAtkPartner, u32 battlerDef, u32 move, u32 partnerMove); bool32 PartnerMoveIsSameNoTarget(u32 battlerAtkPartner, u32 move, u32 partnerMove); +bool32 PartnerMoveActivatesSleepClause(u32 move); bool32 ShouldUseWishAromatherapy(u32 battlerAtk, u32 battlerDef, u32 move); // party logic diff --git a/include/battle_scripts.h b/include/battle_scripts.h index 4c8d8c0dde..93cc7ba3ae 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -520,6 +520,7 @@ extern const u8 BattleScript_Terastallization[]; extern const u8 BattleScript_BoosterEnergyEnd2[]; extern const u8 BattleScript_TeraShellDistortingTypeMatchups[]; extern const u8 BattleScript_TeraFormChange[]; +extern const u8 BattleScript_SleepClausePreventsEnd[]; // zmoves extern const u8 BattleScript_ZMoveActivateDamaging[]; diff --git a/include/battle_util.h b/include/battle_util.h index e3fc7d869f..395cbf28e3 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -291,7 +291,7 @@ bool32 MoveHasChargeTurnAdditionalEffect(u32 move); bool32 CanTargetPartner(u32 battlerAtk, u32 battlerDef); bool32 TargetFullyImmuneToCurrMove(u32 battlerAtk, u32 battlerDef); -bool32 CanBeSlept(u32 battler, u32 ability); +bool32 CanBeSlept(u32 battler, u32 ability, u32 isBlockedBySleepClause); bool32 CanBePoisoned(u32 battlerAtk, u32 battlerDef, u32 defAbility); bool32 CanBeBurned(u32 battler, u32 ability); bool32 CanBeParalyzed(u32 battler, u32 ability); @@ -314,5 +314,8 @@ bool8 CanMonParticipateInSkyBattle(struct Pokemon *mon); bool8 IsMonBannedFromSkyBattles(u16 species); void RemoveBattlerType(u32 battler, u8 type); u32 GetMoveType(u32 move); +void TryActivateSleepClause(u32 battler, u32 indexInParty); +void TryDeactivateSleepClause(u32 battlerSide, u32 indexInParty); +bool8 IsSleepClauseActiveForSide(u32 battlerSide); #endif // GUARD_BATTLE_UTIL_H diff --git a/include/config/battle.h b/include/config/battle.h index b0184838cb..43da403010 100644 --- a/include/config/battle.h +++ b/include/config/battle.h @@ -192,6 +192,7 @@ #define B_FLAG_DYNAMAX_BATTLE 0 // If this flag is set, the ability to Dynamax in battle is enabled for all trainers. #define B_FLAG_TERA_ORB_CHARGED 0 // If this flag is set, the Tera Orb is charged. It is automatically set upon healing and cleared upon Terastallizing once configured. #define B_FLAG_TERA_ORB_NO_COST 0 // If this flag is set, the Tera Orb does not use up its charge upon Terastallization. In S/V, this occurs after an event with Terapagos. +#define B_FLAG_SLEEP_CLAUSE 0 // If this flag is set, sleep clause is enabled; if the player / AI has already put a Pokémon on the opponent's side to sleep and it is still sleeping, another one can't be put to sleep. AI requires AI_FLAG_CHECK_BAD_MOVE to understand. // Var Settings // To use the following features in scripting, replace the 0s with the var ID you're assigning it to. diff --git a/include/config/test.h b/include/config/test.h index 708c2ca581..cce97484df 100644 --- a/include/config/test.h +++ b/include/config/test.h @@ -1129,4 +1129,8 @@ #undef P_FAMILY_PECHARUNT #define P_FAMILY_PECHARUNT TRUE +// Flags +#undef B_FLAG_SLEEP_CLAUSE +#define B_FLAG_SLEEP_CLAUSE FLAG_SPECIAL_FLAG_UNUSED_0x4003 + #endif // GUARD_CONFIG_TEST_H diff --git a/include/constants/battle_string_ids.h b/include/constants/battle_string_ids.h index 563e70fc06..bd6c5b9501 100644 --- a/include/constants/battle_string_ids.h +++ b/include/constants/battle_string_ids.h @@ -724,8 +724,9 @@ #define STRINGID_ELECTRICCURRENTISRUNNING 722 #define STRINGID_SEEMSWEIRD 723 #define STRINGID_WAGGLINGAFINGER 724 +#define STRINGID_BLOCKEDBYSLEEPCLAUSE 725 -#define BATTLESTRINGS_COUNT 725 +#define BATTLESTRINGS_COUNT 726 // This is the string id that gBattleStringsTable starts with. // String ids before this (e.g. STRINGID_INTROMSG) are not in the table, diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 5768666dfb..28ac8f48d1 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -982,6 +982,8 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) case EFFECT_SLEEP: if (!AI_CanPutToSleep(battlerAtk, battlerDef, aiData->abilities[battlerDef], move, aiData->partnerMove)) ADJUST_SCORE(-10); + if (PartnerMoveActivatesSleepClause(aiData->partnerMove)) + ADJUST_SCORE(-20); break; case EFFECT_EXPLOSION: if (!(AI_THINKING_STRUCT->aiFlags[battlerAtk] & AI_FLAG_WILL_SUICIDE)) @@ -1794,7 +1796,7 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) ADJUST_SCORE(-10); break; case EFFECT_REST: - if (!CanBeSlept(battlerAtk, aiData->abilities[battlerAtk])) + if (!CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], FALSE)) ADJUST_SCORE(-10); //fallthrough case EFFECT_RESTORE_HP: @@ -2077,6 +2079,8 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) ADJUST_SCORE(-10); else if (!AI_CanPutToSleep(battlerAtk, battlerDef, aiData->abilities[battlerDef], move, aiData->partnerMove)) ADJUST_SCORE(-10); + if (PartnerMoveActivatesSleepClause(aiData->partnerMove)) + ADJUST_SCORE(-20); break; case EFFECT_SKILL_SWAP: if (aiData->abilities[battlerAtk] == ABILITY_NONE || aiData->abilities[battlerDef] == ABILITY_NONE @@ -2676,7 +2680,7 @@ static s32 AI_DoubleBattle(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) if (IsMoveEffectWeather(move)) ADJUST_SCORE(-10); break; - } + } } // check partner move effect // Adjust for always crit moves @@ -3454,7 +3458,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) } break; case EFFECT_REST: - if (!(CanBeSlept(battlerAtk, aiData->abilities[battlerAtk]))) + if (!(CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], FALSE))) { break; } diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 9f807ad70d..ba2f3247a3 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -502,7 +502,7 @@ static bool32 ShouldSwitchIfBadlyStatused(u32 battler) { //Yawn if (gStatuses3[battler] & STATUS3_YAWN - && CanBeSlept(battler, monAbility) + && CanBeSlept(battler, monAbility, TRUE) && gBattleMons[battler].hp > gBattleMons[battler].maxHP / 3) { switchMon = TRUE; diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index c033061dc9..21c738de01 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -2902,7 +2902,7 @@ bool32 IsBattlerIncapacitated(u32 battler, u32 ability) bool32 AI_CanPutToSleep(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 partnerMove) { - if (!CanBeSlept(battlerDef, defAbility) + if (!CanBeSlept(battlerDef, defAbility, TRUE) || DoesSubstituteBlockMove(battlerAtk, battlerDef, move) || PartnerMoveEffectIsStatusSameTarget(BATTLE_PARTNER(battlerAtk), battlerDef, partnerMove)) // shouldn't try to sleep mon that partner is trying to make sleep return FALSE; @@ -3392,6 +3392,17 @@ bool32 PartnerMoveIsSameNoTarget(u32 battlerAtkPartner, u32 move, u32 partnerMov return FALSE; } +bool32 PartnerMoveActivatesSleepClause(u32 partnerMove) +{ + u32 effect = gMovesInfo[partnerMove].effect; + if (!IsDoubleBattle() || !FlagGet(B_FLAG_SLEEP_CLAUSE)) + return FALSE; + if (effect == EFFECT_SLEEP + || effect == EFFECT_YAWN) + return TRUE; + return FALSE; +} + bool32 ShouldUseWishAromatherapy(u32 battlerAtk, u32 battlerDef, u32 move) { u32 i; diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 17425b51d8..79995b0f16 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -759,7 +759,7 @@ void BS_SetMaxMoveEffect(void) { static const u8 sSnoozeEffects[] = {TRUE, FALSE}; if (!(gStatuses3[gBattlerTarget] & STATUS3_YAWN) - && CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget)) + && CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE) && RandomElement(RNG_G_MAX_SNOOZE, sSnoozeEffects)) // 50% chance of success { gStatuses3[gBattlerTarget] |= STATUS3_YAWN_TURN(2); @@ -881,12 +881,14 @@ void BS_TrySetStatus1(void) } break; case STATUS1_SLEEP: - if (CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget))) + if (CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE)) { if (B_SLEEP_TURNS >= GEN_5) gBattleMons[gBattlerTarget].status1 |= STATUS1_SLEEP_TURN((Random() % 3) + 2); else gBattleMons[gBattlerTarget].status1 |= STATUS1_SLEEP_TURN((Random() % 4) + 3); + + TryActivateSleepClause(gBattlerTarget, gBattlerPartyIndexes[gBattlerTarget]); gBattleCommunication[MULTISTRING_CHOOSER] = 4; effect++; } diff --git a/src/battle_main.c b/src/battle_main.c index ecad0d4e82..a665494c1c 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3121,6 +3121,13 @@ static void BattleStartClearSetData(void) gSelectedMonPartyId = PARTY_SIZE; // Revival Blessing gCategoryIconSpriteId = 0xFF; + + if(FlagGet(B_FLAG_SLEEP_CLAUSE)) + { + // If monCausingSleepClause[side] equals PARTY_SIZE, Sleep Clause is not active for the given side. + gBattleStruct->monCausingSleepClause[B_SIDE_PLAYER] = PARTY_SIZE; + gBattleStruct->monCausingSleepClause[B_SIDE_OPPONENT] = PARTY_SIZE; + } } void SwitchInClearSetData(u32 battler) diff --git a/src/battle_message.c b/src/battle_message.c index 0dbb0c76a4..46256accdd 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -890,6 +890,7 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_ELECTRICCURRENTISRUNNING] = COMPOUND_STRING("An electric current is running across the battlefield!"), [STRINGID_SEEMSWEIRD] = COMPOUND_STRING("The battlefield seems weird!"), [STRINGID_WAGGLINGAFINGER] = COMPOUND_STRING("Waggling a finger let it use {B_CURRENT_MOVE}!"), + [STRINGID_BLOCKEDBYSLEEPCLAUSE] = COMPOUND_STRING("Sleep Clause kept {B_DEF_NAME_WITH_PREFIX2} awake!"), }; const u16 gTrainerUsedItemStringIds[] = diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0390f0e85a..53c71adff7 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -3004,7 +3004,7 @@ void SetMoveEffect(bool32 primary, bool32 certain) if (i != gBattlersCount) break; - if (!CanBeSlept(gEffectBattler, GetBattlerAbility(gEffectBattler))) + if (!CanBeSlept(gEffectBattler, GetBattlerAbility(gEffectBattler), TRUE) && !(gBattleStruct->sleepClauseEffectExempt & (1u << gEffectBattler))) break; cancelMultiTurnMovesResult = CancelMultiTurnMoves(gEffectBattler); @@ -3223,6 +3223,8 @@ void SetMoveEffect(bool32 primary, bool32 certain) gBattleMons[gEffectBattler].status1 |= STATUS1_SLEEP_TURN(1 + RandomUniform(RNG_SLEEP_TURNS, 1, 3)); else gBattleMons[gEffectBattler].status1 |= STATUS1_SLEEP_TURN(1 + RandomUniform(RNG_SLEEP_TURNS, 2, 5)); + + TryActivateSleepClause(gEffectBattler, gBattlerPartyIndexes[gEffectBattler]); } else { @@ -4188,6 +4190,8 @@ static void Cmd_tryfaintmon(void) PREPARE_MOVE_BUFFER(gBattleTextBuff1, gBattleMons[gBattlerAttacker].moves[moveIndex]) } + + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } else { @@ -5931,6 +5935,7 @@ static void Cmd_moveend(void) gBattlescriptCurrInstr = BattleScript_TargetPRLZHeal; break; case STATUS1_SLEEP: + TryDeactivateSleepClause(GetBattlerSide(gBattlerTarget), gBattlerPartyIndexes[gBattlerTarget]); gBattlescriptCurrInstr = BattleScript_TargetWokeUp; break; case STATUS1_BURN: @@ -10171,7 +10176,7 @@ static void Cmd_various(void) } case VARIOUS_PSYCHO_SHIFT: { - VARIOUS_ARGS(const u8 *failInstr); + VARIOUS_ARGS(const u8 *failInstr, const u8 *sleepClauseFailInstr); u32 targetAbility = GetBattlerAbility(gBattlerTarget); // Psycho shift works if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_POISON) && CanBePoisoned(gBattlerAttacker, gBattlerTarget, targetAbility)) @@ -10182,10 +10187,15 @@ static void Cmd_various(void) gBattleCommunication[MULTISTRING_CHOOSER] = 2; else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_PARALYSIS) && CanBeParalyzed(gBattlerTarget, targetAbility)) gBattleCommunication[MULTISTRING_CHOOSER] = 3; - else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) && CanBeSlept(gBattlerTarget, targetAbility)) + else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) && CanBeSlept(gBattlerTarget, targetAbility, TRUE)) gBattleCommunication[MULTISTRING_CHOOSER] = 4; else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_FROSTBITE) && CanGetFrostbite(gBattlerTarget)) gBattleCommunication[MULTISTRING_CHOOSER] = 5; + else if (IsSleepClauseActiveForSide(GetBattlerSide(battler))) + { + gBattlescriptCurrInstr = cmd->sleepClauseFailInstr; + return; + } else { gBattlescriptCurrInstr = cmd->failInstr; @@ -10196,11 +10206,16 @@ static void Cmd_various(void) BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_STATUS_BATTLE, 0, sizeof(gBattleMons[battler].status1), &gBattleMons[battler].status1); MarkBattlerForControllerExec(battler); gBattlescriptCurrInstr = cmd->nextInstr; + TryActivateSleepClause(battler, gBattlerPartyIndexes[battler]); return; } case VARIOUS_CURE_STATUS: { VARIOUS_ARGS(); + + if (gBattleMons[battler].status1 & STATUS1_SLEEP) + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); + gBattleMons[battler].status1 = 0; BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_STATUS_BATTLE, 0, sizeof(gBattleMons[battler].status1), &gBattleMons[battler].status1); MarkBattlerForControllerExec(battler); @@ -13269,12 +13284,11 @@ static void Cmd_healpartystatus(void) u32 zero = 0; u32 partner = GetBattlerAtPosition(BATTLE_PARTNER(GetBattlerPosition(gBattlerAttacker))); u8 toHeal = 0; + struct Pokemon *party = GetBattlerParty(gBattlerAttacker); + s32 i; if (gCurrentMove == MOVE_HEAL_BELL) { - struct Pokemon *party = GetBattlerParty(gBattlerAttacker); - s32 i; - gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_BELL; if (GetBattlerAbility(gBattlerAttacker) != ABILITY_SOUNDPROOF @@ -13340,7 +13354,10 @@ static void Cmd_healpartystatus(void) } if (ability != ABILITY_SOUNDPROOF) + { toHeal |= (1 << i); + TryDeactivateSleepClause(GetBattlerSide(gBattlerAttacker), i); + } } } } @@ -13349,6 +13366,11 @@ static void Cmd_healpartystatus(void) gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SOOTHING_AROMA; toHeal = (1 << PARTY_SIZE) - 1; + for (i = 0; i < PARTY_SIZE; i++) + { + TryDeactivateSleepClause(GetBattlerSide(gBattlerAttacker), i); + } + gBattleMons[gBattlerAttacker].status1 = 0; gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_NIGHTMARE; @@ -14123,6 +14145,9 @@ static void Cmd_curestatuswithmove(void) if (shouldHeal) { + if (gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) + TryDeactivateSleepClause(GetBattlerSide(gBattlerAttacker), gBattlerPartyIndexes[gBattlerAttacker]); + gBattleMons[gBattlerAttacker].status1 = 0; gBattlescriptCurrInstr = cmd->nextInstr; BtlController_EmitSetMonData(gBattlerAttacker, BUFFER_A, REQUEST_STATUS_BATTLE, 0, sizeof(gBattleMons[gBattlerAttacker].status1), &gBattleMons[gBattlerAttacker].status1); @@ -14731,6 +14756,9 @@ static void Cmd_switchoutabilities(void) switch (GetBattlerAbility(battler)) { case ABILITY_NATURAL_CURE: + if (gBattleMons[battler].status1 & STATUS1_SLEEP) + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); + gBattleMons[battler].status1 = 0; BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_STATUS_BATTLE, 1u << *(gBattleStruct->battlerPartyIndexes + battler), @@ -17250,6 +17278,25 @@ void BS_DamageToQuarterTargetHP(void) gBattlescriptCurrInstr = cmd->nextInstr; } +void BS_JumpIfSleepClause(void) +{ + NATIVE_ARGS(const u8 *jumpInstr); + + // Can freely sleep own partner + if (IsDoubleBattle() && B_FLAG_SLEEP_CLAUSE && GetBattlerSide(gBattlerAttacker) == GetBattlerSide(gBattlerTarget)) + { + gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerTarget); + gBattlescriptCurrInstr = cmd->nextInstr; + return; + } + gBattleStruct->sleepClauseEffectExempt &= ~(1u << gBattlerTarget); + // Can't sleep if clause is active otherwise + if (IsSleepClauseActiveForSide(GetBattlerSide(gBattlerTarget))) + gBattlescriptCurrInstr = cmd->jumpInstr; + else + gBattlescriptCurrInstr = cmd->nextInstr; +} + void BS_FickleBeamDamageCalculation(void) { NATIVE_ARGS(); diff --git a/src/battle_util.c b/src/battle_util.c index bcd43f8962..b8a4653d56 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2785,6 +2785,10 @@ u8 DoBattlerEndTurnEffects(void) gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_TERRAINPREVENTS_MISTY; BattleScriptExecute(BattleScript_TerrainPreventsEnd2); } + else if (IsSleepClauseActiveForSide(GetBattlerSide(battler))) + { + BattleScriptExecute(BattleScript_SleepClausePreventsEnd); + } else { if (B_SLEEP_TURNS >= GEN_5) @@ -2792,6 +2796,7 @@ u8 DoBattlerEndTurnEffects(void) else gBattleMons[battler].status1 |= ((Random() % 4) + 3); + TryActivateSleepClause(battler, gBattlerPartyIndexes[battler]); BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_STATUS_BATTLE, 0, 4, &gBattleMons[battler].status1); MarkBattlerForControllerExec(battler); BattleScriptExecute(BattleScript_YawnMakesAsleep); @@ -3239,6 +3244,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) { if (UproarWakeUpCheck(gBattlerAttacker)) { + TryDeactivateSleepClause(GetBattlerSide(gBattlerAttacker), gBattlerPartyIndexes[gBattlerAttacker]); gBattleMons[gBattlerAttacker].status1 &= ~STATUS1_SLEEP; gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_NIGHTMARE; BattleScriptPushCursor(); @@ -3268,6 +3274,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) } else { + TryDeactivateSleepClause(GetBattlerSide(gBattlerAttacker), gBattlerPartyIndexes[gBattlerAttacker]); gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_NIGHTMARE; BattleScriptPushCursor(); gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_WOKE_UP; @@ -3327,6 +3334,8 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gHitMarker |= HITMARKER_OBEYS; break; case DISOBEYS_FALL_ASLEEP: + if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerAttacker); gBattlescriptCurrInstr = BattleScript_IgnoresAndFallsAsleep; gMoveResultFlags |= MOVE_RESULT_MISSED; break; @@ -5212,7 +5221,11 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 if (gBattleMons[battler].status1 & (STATUS1_POISON | STATUS1_TOXIC_POISON)) StringCopy(gBattleTextBuff1, gStatusConditionString_PoisonJpn); if (gBattleMons[battler].status1 & STATUS1_SLEEP) + { StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); + } + if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) StringCopy(gBattleTextBuff1, gStatusConditionString_ParalysisJpn); if (gBattleMons[battler].status1 & STATUS1_BURN) @@ -5816,10 +5829,12 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED - && CanBeSlept(gBattlerAttacker, ability) + && CanBeSlept(gBattlerAttacker, ability, FALSE) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { + if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerAttacker); gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_SLEEP; PREPARE_ABILITY_BUFFER(gBattleTextBuff1, gLastUsedAbility); BattleScriptPushCursor(); @@ -6252,6 +6267,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 case ABILITY_VITAL_SPIRIT: if (gBattleMons[battler].status1 & STATUS1_SLEEP) { + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); effect = 1; @@ -6674,8 +6690,11 @@ bool32 IsBattlerTerrainAffected(u32 battler, u32 terrainFlag) return IsBattlerGrounded(battler); } -bool32 CanBeSlept(u32 battler, u32 ability) +bool32 CanBeSlept(u32 battler, u32 ability, u32 isBlockedBySleepClause) { + if(IsSleepClauseActiveForSide(GetBattlerSide(battler)) && isBlockedBySleepClause) + return FALSE; + if (ability == ABILITY_INSOMNIA || ability == ABILITY_VITAL_SPIRIT || ability == ABILITY_COMATOSE @@ -7345,6 +7364,7 @@ static u8 ItemEffectMoveEnd(u32 battler, u16 holdEffect) BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_BerryCureSlpRet; effect = ITEM_STATUS_CHANGE; + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } break; case HOLD_EFFECT_CURE_CONFUSION: @@ -7376,6 +7396,7 @@ static u8 ItemEffectMoveEnd(u32 battler, u16 holdEffect) { gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) @@ -7586,6 +7607,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; BattleScriptExecute(BattleScript_BerryCureSlpEnd2); effect = ITEM_STATUS_CHANGE; + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } break; case HOLD_EFFECT_CURE_STATUS: @@ -7604,6 +7626,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); i++; + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) { @@ -7883,6 +7906,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; BattleScriptExecute(BattleScript_BerryCureSlpEnd2); effect = ITEM_STATUS_CHANGE; + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } break; case HOLD_EFFECT_CURE_CONFUSION: @@ -7907,6 +7931,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); i++; + TryDeactivateSleepClause(GetBattlerSide(battler), gBattlerPartyIndexes[battler]); } if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) { @@ -8547,7 +8572,7 @@ u8 GetAttackerObedienceForAction() obedienceLevel = levelReferenced - obedienceLevel; calc = ((rnd >> 16) & 255); - if (calc < obedienceLevel && CanBeSlept(gBattlerAttacker, GetBattlerAbility(gBattlerAttacker))) + if (calc < obedienceLevel && CanBeSlept(gBattlerAttacker, GetBattlerAbility(gBattlerAttacker), FALSE)) { // try putting asleep int i; @@ -11972,3 +11997,31 @@ u32 GetMoveType(u32 move) return TYPE_MYSTERY; return gMovesInfo[move].type; } + +void TryActivateSleepClause(u32 battler, u32 indexInParty) +{ + if (gBattleStruct->sleepClauseEffectExempt & (1u << battler)) + { + gBattleStruct->sleepClauseEffectExempt &= ~(1u << battler); + return; + } + + if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + gBattleStruct->monCausingSleepClause[GetBattlerSide(battler)] = indexInParty; +} + +void TryDeactivateSleepClause(u32 battlerSide, u32 indexInParty) +{ + // If the pokemon on the given side at the given index in the party is the one causing Sleep Clause to be active, + // set monCausingSleepClause[battlerSide] = PARTY_SIZE, which means Sleep Clause is not active for the given side + if (FlagGet(B_FLAG_SLEEP_CLAUSE) && gBattleStruct->monCausingSleepClause[battlerSide] == indexInParty) + gBattleStruct->monCausingSleepClause[battlerSide] = PARTY_SIZE; +} + +bool8 IsSleepClauseActiveForSide(u32 battlerSide) +{ + // If monCausingSleepClause[battlerSide] == PARTY_SIZE, Sleep Clause is not active for the given side. + // If monCausingSleepClause[battlerSide] < PARTY_SIZE, it means it is storing the index of the mon that is causing Sleep Clause to be active, + // from which it follows that Sleep Clause is active. + return (FlagGet(B_FLAG_SLEEP_CLAUSE) && (gBattleStruct->monCausingSleepClause[battlerSide] < PARTY_SIZE)); +} diff --git a/src/pokemon.c b/src/pokemon.c index a605b43e50..743f5b2771 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -4199,7 +4199,24 @@ bool8 HealStatusConditions(struct Pokemon *mon, u32 healMask, u8 battlerId) status &= ~healMask; SetMonData(mon, MON_DATA_STATUS, &status); if (gMain.inBattle && battlerId != MAX_BATTLERS_COUNT) + { gBattleMons[battlerId].status1 &= ~healMask; + if((healMask & STATUS1_SLEEP)) + { + u32 i = 0; + u32 battlerSide = GetBattlerSide(battlerId); + struct Pokemon *party = GetSideParty(battlerSide); + + for (i = 0; i < PARTY_SIZE; i++) + { + if (&party[i] == mon) + { + TryDeactivateSleepClause(battlerSide, i); + break; + } + } + } + } return FALSE; } else diff --git a/test/battle/sleep_clause.c b/test/battle/sleep_clause.c new file mode 100644 index 0000000000..c8393685b8 --- /dev/null +++ b/test/battle/sleep_clause.c @@ -0,0 +1,1816 @@ +#include "global.h" +#include "test/battle.h" + +AI_SINGLE_BATTLE_TEST("Sleep Clause: AI will not use sleep moves while sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_SPORE, MOVE_MACH_PUNCH); } + } WHEN { + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(player, 1); EXPECT_MOVE(opponent, MOVE_MACH_PUNCH); } + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_MACH_PUNCH); } + } +} + +AI_DOUBLE_BATTLE_TEST("Sleep Clause: AI will not use sleep moves while sleep clause is active (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_SPORE, MOVE_MACH_PUNCH); } + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_MACH_PUNCH); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_CELEBRATE); MOVE(playerRight, MOVE_CELEBRATE); EXPECT_MOVE(opponentLeft, MOVE_SPORE); EXPECT_MOVE(opponentRight, MOVE_MACH_PUNCH); } + TURN { SWITCH(playerLeft, 2); MOVE(playerRight, MOVE_CELEBRATE); EXPECT_MOVE(opponentLeft, MOVE_MACH_PUNCH); EXPECT_MOVE(opponentRight, MOVE_MACH_PUNCH); } + TURN { MOVE(playerLeft, MOVE_CELEBRATE); MOVE(playerRight, MOVE_CELEBRATE); EXPECT_MOVE(opponentLeft, MOVE_MACH_PUNCH); EXPECT_MOVE(opponentRight, MOVE_MACH_PUNCH); } + } +} + +AI_DOUBLE_BATTLE_TEST("Sleep Clause: AI will not use sleep move if partner is already using a sleep move") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_SPORE, MOVE_MACH_PUNCH); } + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_SPORE, MOVE_MACH_PUNCH); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_CELEBRATE); MOVE(playerRight, MOVE_CELEBRATE); EXPECT_MOVE(opponentLeft, MOVE_SPORE); EXPECT_MOVE(opponentRight, MOVE_MACH_PUNCH); } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep moves fail when sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_SPORE); SWITCH(opponent, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + MESSAGE("Sleep Clause kept the opposing Wobbuffet awake!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep moves fail when sleep clause is active (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { HP(1); MaxHP(100); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentRight); MOVE(playerRight, MOVE_SPORE, target: opponentLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + } + MESSAGE("Sleep Clause kept the opposing Wobbuffet awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Rest does not activate sleep clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_TACKLE); MOVE(opponent, MOVE_REST); } + TURN { MOVE(player, MOVE_SPORE); SWITCH(opponent, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Rest does not activate sleep clause (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { HP(1); MaxHP(100); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_REST); MOVE(playerLeft, MOVE_SPORE, target: opponentRight); } + } SCENE { + STATUS_ICON(opponentLeft, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_REST, opponentLeft); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Rest can still be used when sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_TACKLE); SWITCH(opponent, 1); } + TURN { MOVE(opponent, MOVE_REST); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_REST, opponent); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Rest can still be used when sleep clause is active (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET) { HP(1); MaxHP(100); } + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentRight); MOVE(opponentLeft, MOVE_REST); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + STATUS_ICON(opponentLeft, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_REST, opponentLeft); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Psycho Shift'ing sleep will fail if sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_SLEEP_TALK].effect == EFFECT_SLEEP_TALK); + ASSUME(gMovesInfo[MOVE_PSYCHO_SHIFT].effect == EFFECT_PSYCHO_SHIFT); + PLAYER(SPECIES_WOBBUFFET) + PLAYER(SPECIES_WOBBUFFET) { Moves(MOVE_SLEEP_TALK, MOVE_PSYCHO_SHIFT); } + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(player, 1); SWITCH(opponent, 1); } + TURN { MOVE(opponent, MOVE_SPORE); MOVE(player, MOVE_SLEEP_TALK); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SLEEP_TALK, player); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_PSYCHO_SHIFT, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + STATUS_ICON(opponent, sleep: TRUE); + } + MESSAGE("Sleep Clause kept the opposing Wobbuffet awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Psycho Shift'ing sleep will activate sleep clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_SLEEP_TALK].effect == EFFECT_SLEEP_TALK); + ASSUME(gMovesInfo[MOVE_PSYCHO_SHIFT].effect == EFFECT_PSYCHO_SHIFT); + PLAYER(SPECIES_ZIGZAGOON) + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_SLEEP_TALK, MOVE_PSYCHO_SHIFT); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); MOVE(opponent, MOVE_SLEEP_TALK); } + TURN { SWITCH(player, 1); SWITCH(opponent, 1); } + TURN { MOVE(opponent, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SLEEP_TALK, opponent); + ANIMATION(ANIM_TYPE_MOVE, MOVE_PSYCHO_SHIFT, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + STATUS_ICON(player, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +AI_SINGLE_BATTLE_TEST("Sleep Clause: AI will not use Yawn while sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_YAWN, MOVE_MACH_PUNCH); } + } WHEN { + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_YAWN); } + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_MACH_PUNCH); } + TURN { SWITCH(player, 1); EXPECT_MOVE(opponent, MOVE_MACH_PUNCH); } + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_MACH_PUNCH); } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Yawn will fail when sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponent, MOVE_YAWN); } + TURN { } + TURN { SWITCH(player, 1); MOVE(opponent, MOVE_YAWN); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Wobbuffet fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + STATUS_ICON(player, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Wobbuffet awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Effect Spore causes sleep 11% of the time with sleep clause active") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(player, 1); } + TURN { MOVE(player, MOVE_TACKLE); } + TURN { } + } SCENE { + ABILITY_POPUP(opponent, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("The opposing Breloom's Effect Spore made Wobbuffet sleep!"); + STATUS_ICON(player, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Effect Spore causes sleep 11% of the time with sleep clause active (Doubles)") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(opponentLeft, MOVE_SPORE, target:playerRight); MOVE(playerLeft, MOVE_TACKLE, target:opponentLeft);} + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Wobbuffet fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ABILITY_POPUP(opponentLeft, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("The opposing Breloom's Effect Spore made Wobbuffet sleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + } +} + + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep from Effect Spore will not activate sleep clause") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(player, MOVE_TACKLE); } + TURN {} + TURN { SWITCH(player, 1); MOVE(opponent, MOVE_SPORE); } + } SCENE { + ABILITY_POPUP(opponent, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("The opposing Breloom's Effect Spore made Wobbuffet sleep!"); + STATUS_ICON(player, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Wobbuffet fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep from Effect Spore will not activate sleep clause (Doubles)") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target:opponentLeft); MOVE(opponentLeft, MOVE_SPORE, target:playerRight); } + } SCENE { + ABILITY_POPUP(opponentLeft, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("The opposing Breloom's Effect Spore made Wobbuffet sleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Wobbuffet fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Moves with sleep effect chance will activate sleep clause") +{ + PASSES_RANDOMLY(10, 100, RNG_SECONDARY_EFFECT); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(MoveHasAdditionalEffect(MOVE_RELIC_SONG, MOVE_EFFECT_SLEEP)); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_RELIC_SONG); } + TURN { MOVE(player, MOVE_SPORE); SWITCH(opponent, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_RELIC_SONG, player); + HP_BAR(opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + STATUS_ICON(opponent, sleep: TRUE); + MESSAGE("Wobbuffet used Spore!"); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Moves with sleep effect chance will still do damage when sleep clause active, but won't sleep") +{ + PASSES_RANDOMLY(100, 100, RNG_SECONDARY_EFFECT); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(MoveHasAdditionalEffect(MOVE_RELIC_SONG, MOVE_EFFECT_SLEEP)); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_RELIC_SONG); SWITCH(opponent, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_RELIC_SONG, player); + HP_BAR(opponent); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Dire Claw cannot sleep a mon when sleep clause is active") +{ + PASSES_RANDOMLY(100, 100, RNG_SECONDARY_EFFECT); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(MoveHasAdditionalEffect(MOVE_DIRE_CLAW, MOVE_EFFECT_DIRE_CLAW)); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_DIRE_CLAW); SWITCH(opponent, 1); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_DIRE_CLAW, player); + HP_BAR(opponent); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Dark Void can only sleep one opposing mon if sleep clause is active") +{ + // Source: https://bulbapedia.bulbagarden.net/wiki/Dark_Void_(move) + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_DARK_VOID].effect == EFFECT_DARK_VOID); + PLAYER(SPECIES_DARKRAI); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_DARK_VOID); } + TURN { MOVE(playerLeft, MOVE_DARK_VOID); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_DARK_VOID, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + STATUS_ICON(opponentRight, sleep: TRUE); + MESSAGE("The opposing Wobbuffet fell asleep!"); + } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: G-Max Befuddle can only sleep one opposing mon if sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_G_MAX_BEFUDDLE].argument == MAX_EFFECT_EFFECT_SPORE_FOES); + PLAYER(SPECIES_BUTTERFREE) { GigantamaxFactor(TRUE); } + PLAYER(SPECIES_CATERPIE); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(playerLeft, MOVE_BUG_BITE, target: opponentLeft, gimmick: GIMMICK_DYNAMAX, + WITH_RNG(RNG_G_MAX_BEFUDDLE, STATUS1_SLEEP)); } + } SCENE { + MESSAGE("Butterfree used G-Max Befuddle!"); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + STATUS_ICON(opponentRight, sleep: TRUE); + MESSAGE("The opposing Wobbuffet fell asleep!"); + } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon wakes up") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(B_SLEEP_TURNS >= GEN_5); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN {} + TURN {} + TURN {} + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("The opposing Wobbuffet woke up!"); + MESSAGE("Wobbuffet used Spore!"); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Wobbuffet fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up with Aromatherapy / Heal Bell / Sparkly Swirl") +{ + u32 move = MOVE_NONE, switchIndex = 0; + struct BattlePokemon *healingSlot = opponentRight; + struct BattlePokemon *sporedSlot = opponentLeft; + PARAMETRIZE { move = MOVE_AROMATHERAPY; healingSlot = opponentRight; sporedSlot = opponentLeft; switchIndex = 0; } + PARAMETRIZE { move = MOVE_HEAL_BELL; healingSlot = opponentRight; sporedSlot = opponentLeft; switchIndex = 0; } + PARAMETRIZE { move = MOVE_SPARKLY_SWIRL; healingSlot = opponentRight; sporedSlot = opponentLeft; switchIndex = 0; } + PARAMETRIZE { move = MOVE_AROMATHERAPY; healingSlot = opponentLeft; sporedSlot = opponentRight; switchIndex = 1; } + PARAMETRIZE { move = MOVE_HEAL_BELL; healingSlot = opponentLeft; sporedSlot = opponentRight; switchIndex = 1; } + PARAMETRIZE { move = MOVE_SPARKLY_SWIRL; healingSlot = opponentLeft; sporedSlot = opponentRight; switchIndex = 1; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_AROMATHERAPY].effect == EFFECT_HEAL_BELL); + ASSUME(gMovesInfo[MOVE_HEAL_BELL].effect == EFFECT_HEAL_BELL); + ASSUME(gMovesInfo[MOVE_SPARKLY_SWIRL].effect == EFFECT_SPARKLY_SWIRL); + ASSUME(B_SLEEP_TURNS >= GEN_5); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target:sporedSlot); } + TURN { SWITCH(sporedSlot, 2); MOVE(playerLeft, MOVE_SPORE, target:healingSlot); } + if (move == MOVE_SPARKLY_SWIRL) + TURN { SWITCH(sporedSlot, switchIndex); MOVE(healingSlot, move, target: playerRight); MOVE(playerLeft, MOVE_SPORE, target:sporedSlot); } + else + TURN { SWITCH(sporedSlot, switchIndex); MOVE(healingSlot, move); MOVE(playerLeft, MOVE_SPORE, target:sporedSlot); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, sporedSlot); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(sporedSlot, sleep: TRUE); + MESSAGE("Zigzagoon used Spore!"); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, healingSlot); + STATUS_ICON(healingSlot, sleep: TRUE); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + if (move == MOVE_AROMATHERAPY) + { + MESSAGE("The opposing Zigzagoon used Aromatherapy!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_AROMATHERAPY, healingSlot); + } + else if (move == MOVE_HEAL_BELL) + { + MESSAGE("The opposing Zigzagoon used Heal Bell!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_HEAL_BELL, healingSlot); + } + else + { + MESSAGE("The opposing Zigzagoon used Sparkly Swirl!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPARKLY_SWIRL, healingSlot); + } + STATUS_ICON(sporedSlot, sleep: FALSE); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, sporedSlot); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up forcefully by a move from an opponent") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(MoveHasAdditionalEffect(MOVE_WAKE_UP_SLAP, MOVE_EFFECT_REMOVE_STATUS)); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); } + TURN { SWITCH(opponentLeft, 2); MOVE(playerLeft, MOVE_SPORE, target:opponentRight); } + TURN { SWITCH(opponentLeft, 0); MOVE(playerLeft, MOVE_WAKE_UP_SLAP, target:opponentLeft); } + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + MESSAGE("Zigzagoon used Spore!"); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + STATUS_ICON(opponentRight, sleep: TRUE); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + MESSAGE("Zigzagoon used Wake-Up Slap!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_WAKE_UP_SLAP, playerLeft); + MESSAGE("The opposing Zigzagoon woke up!"); + STATUS_ICON(opponentLeft, sleep: FALSE); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up forcefully by Uproar") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_UPROAR].effect == EFFECT_UPROAR); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); MOVE(playerRight, MOVE_UPROAR); MOVE(opponentRight, MOVE_ROAR, target:playerRight); } + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + MESSAGE("Zigzagoon used Uproar!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_UPROAR, playerRight); + MESSAGE("Zigzagoon caused an uproar!"); + MESSAGE("The uproar woke the opposing Zigzagoon!"); + STATUS_ICON(opponentLeft, sleep: FALSE); + MESSAGE("The opposing Zigzagoon used Roar!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_ROAR, opponentRight); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by using Sleep Talk into a status curing move") +{ + u32 move; + PARAMETRIZE { move = MOVE_PSYCHO_SHIFT; } + PARAMETRIZE { move = MOVE_JUNGLE_HEALING; } + PARAMETRIZE { move = MOVE_LUNAR_BLESSING; } + PARAMETRIZE { move = MOVE_TAKE_HEART; } + PARAMETRIZE { move = MOVE_AROMATHERAPY; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_SLEEP_TALK].effect == EFFECT_SLEEP_TALK); + ASSUME(gMovesInfo[MOVE_PSYCHO_SHIFT].effect == EFFECT_PSYCHO_SHIFT); + ASSUME(gMovesInfo[MOVE_JUNGLE_HEALING].effect == EFFECT_JUNGLE_HEALING); + ASSUME(gMovesInfo[MOVE_LUNAR_BLESSING].effect == EFFECT_JUNGLE_HEALING); + ASSUME(gMovesInfo[MOVE_PURIFY].effect == EFFECT_PURIFY); + ASSUME(gMovesInfo[MOVE_TAKE_HEART].effect == EFFECT_TAKE_HEART); + ASSUME(gMovesInfo[MOVE_AROMATHERAPY].effect == EFFECT_HEAL_BELL); + ASSUME(gItemsInfo[ITEM_CHESTO_BERRY].holdEffect == HOLD_EFFECT_CURE_SLP); + PLAYER(SPECIES_ZIGZAGOON) { Item(ITEM_CHESTO_BERRY); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_SLEEP_TALK, move); } + } WHEN { + TURN { MOVE(player, MOVE_SPORE); MOVE(opponent, MOVE_SLEEP_TALK); } + TURN { MOVE(player, MOVE_SPORE); MOVE(opponent, move); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("The opposing Zigzagoon used Sleep Talk!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SLEEP_TALK, opponent); + if (move == MOVE_PSYCHO_SHIFT) + { + MESSAGE("The opposing Zigzagoon used Psycho Shift!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_PSYCHO_SHIFT, opponent); + } + else if (move == MOVE_JUNGLE_HEALING) + { + MESSAGE("The opposing Zigzagoon used Jungle Healing!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_JUNGLE_HEALING, opponent); + } + else if (move == MOVE_LUNAR_BLESSING) + { + MESSAGE("The opposing Zigzagoon used Lunar Blessing!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_LUNAR_BLESSING, opponent); + } + else if (move == MOVE_TAKE_HEART) + { + MESSAGE("The opposing Zigzagoon used Take Heart!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_TAKE_HEART, opponent); + } + else if (move == MOVE_AROMATHERAPY) + { + MESSAGE("The opposing Zigzagoon used Aromatherapy!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_AROMATHERAPY, opponent); + } + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by Hydration in the rain") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_PELIPPER) { Ability(ABILITY_DRIZZLE); } + OPPONENT(SPECIES_LUVDISC) { Ability(ABILITY_HYDRATION); } + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Pelipper used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Luvdisc fell asleep!"); + MESSAGE("The opposing Luvdisc's Hydration cured its sleep problem!"); + STATUS_ICON(opponent, sleep: FALSE); + MESSAGE("Pelipper used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Luvdisc fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by Natural Cure") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_SWABLU) { Ability(ABILITY_NATURAL_CURE); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); } + TURN { SWITCH(opponent, 0); MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Swablu fell asleep!"); + MESSAGE("2 withdrew Swablu!"); + MESSAGE("2 sent out Swablu!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Swablu fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by Shed Skin") +{ + if (B_ABILITY_TRIGGER_CHANCE == GEN_4) + PASSES_RANDOMLY(30, 100, RNG_SHED_SKIN); + else + PASSES_RANDOMLY(33, 100, RNG_SHED_SKIN); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_DRATINI) { Ability(ABILITY_SHED_SKIN); } + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Dratini fell asleep!"); + MESSAGE("The opposing Dratini's Shed Skin cured its sleep problem!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Dratini fell asleep!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by Healer") +{ + PASSES_RANDOMLY(30, 100, RNG_HEALER); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_CHANSEY) { Ability(ABILITY_HEALER); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); } + TURN { MOVE(playerLeft, MOVE_SPORE, target:opponentLeft); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("The opposing Chansey's Healer cured the opposing Zigzagoon's problem!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by using a held item") +{ + u32 heldItem = ITEM_NONE; + PARAMETRIZE { heldItem = ITEM_CHESTO_BERRY; } + PARAMETRIZE { heldItem = ITEM_LUM_BERRY; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gItemsInfo[ITEM_CHESTO_BERRY].holdEffect == HOLD_EFFECT_CURE_SLP); + ASSUME(gItemsInfo[ITEM_LUM_BERRY].holdEffect == HOLD_EFFECT_CURE_STATUS); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON) { Item(heldItem); } + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + if (heldItem == ITEM_CHESTO_BERRY) + MESSAGE("The opposing Zigzagoon's Chesto Berry woke it up!"); + else + MESSAGE("The opposing Zigzagoon's Lum Berry cured its sleep problem!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by Flinging a held item") +{ + u32 heldItem = ITEM_NONE; + PARAMETRIZE { heldItem = ITEM_CHESTO_BERRY; } + PARAMETRIZE { heldItem = ITEM_LUM_BERRY; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_FLING].effect == EFFECT_FLING); + ASSUME(gItemsInfo[ITEM_CHESTO_BERRY].holdEffect == HOLD_EFFECT_CURE_SLP); + ASSUME(gItemsInfo[ITEM_LUM_BERRY].holdEffect == HOLD_EFFECT_CURE_STATUS); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON) { Item(heldItem); } + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentLeft); MOVE(playerRight, MOVE_FLING, target: opponentLeft); } + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentLeft); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("Zigzagoon used Fling!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_FLING, playerRight); + if (heldItem == ITEM_CHESTO_BERRY) + MESSAGE("The opposing Zigzagoon's Chesto Berry woke it up!"); + else + MESSAGE("The opposing Zigzagoon's Lum Berry cured its sleep problem!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by using an item") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gItemsInfo[ITEM_AWAKENING].battleUsage == EFFECT_ITEM_CURE_STATUS); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { USE_ITEM(opponent, ITEM_AWAKENING, partyIndex: 0); MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("Zigzagoon had its status healed!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon faints") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON) { Level(5); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { MOVE(player, MOVE_TACKLE); SEND_OUT(opponent, 1); } + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("The opposing Zigzagoon fainted!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon faints (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON) { Level(5); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentLeft); MOVE(playerRight, MOVE_TACKLE, target: opponentLeft); } + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentRight);} + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("The opposing Zigzagoon fainted!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up by gaining the ability Insomnia / Vital Spirit") +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_VITAL_SPIRIT; } + PARAMETRIZE { ability = ABILITY_INSOMNIA; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_DELIBIRD) { Ability(ability); } + OPPONENT(SPECIES_ZIGZAGOON) { Moves(MOVE_SLEEP_TALK, MOVE_SKILL_SWAP); } + } WHEN { + TURN { MOVE(player, MOVE_SPORE); MOVE(opponent, MOVE_SLEEP_TALK); } + TURN { MOVE(opponent, MOVE_SKILL_SWAP); } + TURN { MOVE(player, MOVE_SPORE); MOVE(opponent, MOVE_SKILL_SWAP); } + } SCENE { + MESSAGE("Delibird used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + MESSAGE("The opposing Zigzagoon used Sleep Talk!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SLEEP_TALK, opponent); + MESSAGE("The opposing Zigzagoon used Skill Swap!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, opponent); + if (ability == ABILITY_VITAL_SPIRIT) + MESSAGE("The opposing Zigzagoon's Vital Spirit cured its sleep problem!"); + if (ability == ABILITY_INSOMNIA) + MESSAGE("The opposing Zigzagoon's Insomnia cured its sleep problem!"); + MESSAGE("The opposing Zigzagoon used Skill Swap!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SKILL_SWAP, opponent); + MESSAGE("Delibird used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is sent out, has Trace, and Traces Insomnia / Vital spirit") +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_VITAL_SPIRIT; } + PARAMETRIZE { ability = ABILITY_INSOMNIA; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON) + PLAYER(SPECIES_DELIBIRD) { Ability(ability); } + OPPONENT(SPECIES_RALTS) { Ability(ABILITY_TRACE); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(player, 1); SWITCH(opponent, 1); } + TURN { SWITCH(opponent, 0); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Ralts fell asleep!"); + MESSAGE("2 sent out Zigzagoon!"); + MESSAGE("2 sent out Ralts!"); + if (ability == ABILITY_VITAL_SPIRIT) + MESSAGE("The opposing Ralts's Vital Spirit cured its sleep problem!"); + if (ability == ABILITY_INSOMNIA) + MESSAGE("The opposing Ralts's Insomnia cured its sleep problem!"); + MESSAGE("2 sent out Zigzagoon!"); + MESSAGE("Delibird used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is sent out and transforms into a mon with Insomnia / Vital spirit") +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_VITAL_SPIRIT; } + PARAMETRIZE { ability = ABILITY_INSOMNIA; } + KNOWN_FAILING; // Sleep Clause parts work, but Imposter seems broken with battle messages / targeting. Issue #5565 https://github.com/rh-hideout/pokeemerald-expansion/issues/5565 + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gItemsInfo[ITEM_LAGGING_TAIL].holdEffect == HOLD_EFFECT_LAGGING_TAIL); + PLAYER(SPECIES_ZIGZAGOON) + PLAYER(SPECIES_DELIBIRD) { Ability(ability); } + OPPONENT(SPECIES_DITTO) { Ability(ABILITY_IMPOSTER); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(player, 1); SWITCH(opponent, 1); } + TURN { SWITCH(opponent, 0); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("The opposing Ditto transformed into Zigzagoon using Imposter!"); + MESSAGE("Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Ditto fell asleep!"); + MESSAGE("2 sent out Zigzagoon!"); + MESSAGE("2 sent out Ditto!"); + if (ability == ABILITY_VITAL_SPIRIT) + MESSAGE("The opposing Ditto's Vital Spirit cured its sleep problem!"); + else + MESSAGE("The opposing Ditto's Insomnia cured its sleep problem!"); + MESSAGE("2 sent out Zigzagoon!"); + MESSAGE("Delibird used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + } +} + +AI_SINGLE_BATTLE_TEST("Sleep Clause: AI will use sleep moves again when sleep clause has been deactivated") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gItemsInfo[ITEM_CHESTO_BERRY].holdEffect == HOLD_EFFECT_CURE_SLP); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT); + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_CHESTO_BERRY); } + OPPONENT(SPECIES_BRELOOM) { Moves(MOVE_SPORE, MOVE_MACH_PUNCH); } + } WHEN { + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_SPORE); } + TURN { MOVE(player, MOVE_CELEBRATE); EXPECT_MOVE(opponent, MOVE_SPORE); } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep clause is deactivated when a sleeping mon is woken up with G-Max Sweetness") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_G_MAX_SWEETNESS].argument == MAX_EFFECT_AROMATHERAPY); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_APPLETUN) { GigantamaxFactor(TRUE); } + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_WOBBUFFET); + } WHEN { + TURN { MOVE(opponentRight, MOVE_SPORE, target: playerRight); } + TURN { MOVE(playerLeft, MOVE_VINE_WHIP, target: opponentLeft, gimmick: GIMMICK_DYNAMAX); } + TURN { MOVE(opponentRight, MOVE_SPORE, target: playerRight); } + } SCENE { + MESSAGE("The opposing Wobbuffet used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Wobbuffet fell asleep!"); + MESSAGE("Appletun used G-Max Sweetness!"); + MESSAGE("Wobbuffet's status returned to normal!"); + MESSAGE("The opposing Wobbuffet used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Wobbuffet fell asleep!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Pre-existing sleep condition doesn't activate sleep clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON) { Status1(STATUS1_SLEEP); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Sleep caused by Effect Spore does not prevent sleep clause from ever activating") // checks that sleepClauseEffectExempt works properly +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_AROMATHERAPY].effect == EFFECT_HEAL_BELL); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(player, MOVE_TACKLE); } + TURN { SWITCH(player, 1); MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(player, 2); MOVE(opponent, MOVE_SPORE); } + } SCENE { + ABILITY_POPUP(opponent, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("The opposing Breloom's Effect Spore made Zigzagoon sleep!"); + STATUS_ICON(player, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Waking up after Effect Spore doesn't deactivate sleep clause") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + } WHEN { + TURN { MOVE(player, MOVE_TACKLE); } + TURN {} + TURN {} + TURN {} + TURN { MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(player, 1); MOVE(opponent, MOVE_SPORE); } + } SCENE { + ABILITY_POPUP(opponent, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("The opposing Breloom's Effect Spore made Zigzagoon sleep!"); + STATUS_ICON(player, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Waking up after Effect Spore doesn't deactivate sleep clause (Doubles)") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(B_ABILITY_TRIGGER_CHANCE >= GEN_5); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_AROMATHERAPY].effect == EFFECT_HEAL_BELL); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_TACKLE, target: opponentLeft); MOVE(opponentRight, MOVE_SPORE, target:playerRight); } + TURN { SWITCH(playerLeft, 2); } + TURN { MOVE(playerLeft, MOVE_AROMATHERAPY); MOVE(opponentRight, MOVE_SPORE, target:playerRight); MOVE(opponentLeft, MOVE_SPORE, target:playerLeft); } + } SCENE { + ABILITY_POPUP(opponentLeft, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("The opposing Breloom's Effect Spore made Zigzagoon sleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_AROMATHERAPY, playerLeft); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Waking up after Rest doesn't deactivate sleep clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_ZIGZAGOON) { HP(1); MaxHP(100); } + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_REST); } + TURN {} + TURN {} + TURN {} + TURN { MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(player, 1); MOVE(opponent, MOVE_SPORE); } + } SCENE { + MESSAGE("Zigzagoon went to sleep!"); + STATUS_ICON(player, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_REST, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon woke up!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponent); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, player); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(player, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Waking up after Rest doesn't deactivate sleep clause (Doubles)") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_REST].effect == EFFECT_REST); + PLAYER(SPECIES_ZIGZAGOON) { HP(1); MaxHP(100); } + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_REST); MOVE(opponentRight, MOVE_SPORE, target:playerRight); } + TURN { SWITCH(playerRight, 2); } + TURN {} + TURN {} + TURN { MOVE(opponentRight, MOVE_SPORE, target:playerRight); } + } SCENE { + MESSAGE("Zigzagoon went to sleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_REST, playerLeft); + MESSAGE("The opposing Zigzagoon used Spore!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + MESSAGE("Zigzagoon woke up!"); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Suppressing and then sleeping Vital Spirit / Insomnia and switching back in deactivates sleep clause") +{ + u32 ability; + PARAMETRIZE { ability = ABILITY_VITAL_SPIRIT; } + PARAMETRIZE { ability = ABILITY_INSOMNIA; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_DELIBIRD) { Ability(ability); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_GASTRO_ACID); } + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 0); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Delibird fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Mold Breaker Pokémon sleeping Vital Spirit / Insomnia activates sleep clause") +{ + KNOWN_FAILING; // Interaction between Mold Breaker and Vital Spirit / Insomnia is broken. Issue #5578 https://github.com/rh-hideout/pokeemerald-expansion/issues/5578 + u32 ability; + PARAMETRIZE { ability = ABILITY_VITAL_SPIRIT; } + PARAMETRIZE { ability = ABILITY_INSOMNIA; } + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_PANCHAM) { Ability(ABILITY_MOLD_BREAKER); } + OPPONENT(SPECIES_DELIBIRD) { Ability(ability); } + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 0); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Delibird fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + MESSAGE("Sleep Clause kept the opposing Delibird awake!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Yawn'd Pokémon slept due to Effect Spore before Yawn triggers does not activate sleep clause") +{ + PASSES_RANDOMLY(11, 100, RNG_EFFECT_SPORE); + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + ASSUME(gMovesInfo[MOVE_TACKLE].makesContact); + PLAYER(SPECIES_BRELOOM) { Ability(ABILITY_EFFECT_SPORE); } + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_YAWN); } + TURN { MOVE(opponent, MOVE_TACKLE); } + TURN { SWITCH(opponent, 1); MOVE(player, MOVE_SPORE); } + } SCENE { + MESSAGE("The opposing Zigzagoon grew drowsy!"); + ABILITY_POPUP(player, ABILITY_EFFECT_SPORE); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("Breloom's Effect Spore made the opposing Zigzagoon sleep!"); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Yawn'd Pokémon who's partner is slept before Yawn triggers will not fall asleep due to sleep clause being activated") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_YAWN, target: opponentLeft); MOVE(playerRight, MOVE_YAWN, target: opponentRight); } + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentLeft); } + } SCENE { + MESSAGE("The opposing Zigzagoon grew drowsy!"); + MESSAGE("The opposing Zigzagoon grew drowsy!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + MESSAGE( "The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: If both Pokémon on one side are Yawn'd at the same time, one will fall asleep and the other will not") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_ZIGZAGOON) { Speed(5); } + PLAYER(SPECIES_ZIGZAGOON) { Speed(4); } + OPPONENT(SPECIES_ZIGZAGOON) { Speed(3); } + OPPONENT(SPECIES_ZIGZAGOON) { Speed(2); } + } WHEN { + TURN { MOVE(playerLeft, MOVE_YAWN, target: opponentLeft); MOVE(playerRight, MOVE_YAWN, target: opponentRight); } + TURN { } + } SCENE { + MESSAGE("The opposing Zigzagoon grew drowsy!"); + MESSAGE("The opposing Zigzagoon grew drowsy!"); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + MESSAGE( "The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Reflection moves (ie. Magic Coat) fail if sleep clause is active and they reflect a sleep move") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_MAGIC_COAT].effect == EFFECT_MAGIC_COAT); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); } + TURN { MOVE(player, MOVE_MAGIC_COAT); MOVE(opponent, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_MAGIC_COAT, player); + MESSAGE("The opposing Zigzagoon bounced the Spore back!"); // Should be MESSAGE("Zigzagoon bounced the Spore back!"); Issue #5579 https://github.com/rh-hideout/pokeemerald-expansion/issues/5579 + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Reflection moves (ie. Magic Coat) that reflect a sleep move activate sleep clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_MAGIC_COAT].effect == EFFECT_MAGIC_COAT); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(player, MOVE_MAGIC_COAT); MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); } + TURN { MOVE(player, MOVE_SPORE); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_MAGIC_COAT, player); + MESSAGE("Zigzagoon bounced the Spore back!"); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, player); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Reflection moves (ie. Magic Coat) that reflect Dark Void only sleep one opposing Pokémon") +{ + // Source: https://bulbapedia.bulbagarden.net/wiki/Dark_Void_(move) + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_MAGIC_COAT].effect == EFFECT_MAGIC_COAT); + ASSUME(gMovesInfo[MOVE_DARK_VOID].effect == EFFECT_DARK_VOID); + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_DARKRAI); + OPPONENT(SPECIES_DARKRAI); + } WHEN { + TURN { MOVE(playerLeft, MOVE_MAGIC_COAT); MOVE(opponentLeft, MOVE_DARK_VOID); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_DARK_VOID, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Darkrai fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + STATUS_ICON(opponentRight, sleep: TRUE); + MESSAGE("The opposing Darkrai fell asleep!"); + } + } +} + +SINGLE_BATTLE_TEST("Sleep Clause: Magic Bounce'ing a sleep move activates sleep clause, and fails if sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ESPEON) { Ability(ABILITY_MAGIC_BOUNCE); } + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(opponent, MOVE_SPORE); } + TURN { SWITCH(opponent, 1); } + TURN { MOVE(opponent, MOVE_SPORE); } + } SCENE { + MESSAGE("The opposing Zigzagoon's Spore was bounced back by Espeon's Magic Bounce!"); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + MESSAGE("The opposing Zigzagoon's Spore was bounced back by Espeon's Magic Bounce!"); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponent); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponent, sleep: TRUE); + } + MESSAGE("Sleep Clause kept the opposing Zigzagoon awake!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Magic Bounce reflecting Dark Void only sleeps one opposing Pokémon") +{ + // Source: https://bulbapedia.bulbagarden.net/wiki/Dark_Void_(move) + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_DARK_VOID].effect == EFFECT_DARK_VOID); + PLAYER(SPECIES_ESPEON) { Ability(ABILITY_MAGIC_BOUNCE); } + PLAYER(SPECIES_WOBBUFFET); + OPPONENT(SPECIES_DARKRAI); + OPPONENT(SPECIES_DARKRAI); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_DARK_VOID); } + } SCENE { + MESSAGE("The opposing Darkrai's Dark Void was bounced back by Espeon's Magic Bounce!"); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Darkrai fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + STATUS_ICON(opponentRight, sleep: TRUE); + MESSAGE("The opposing Darkrai fell asleep!"); + } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep Clause does not prevent sleeping your partner Pokémon with sleep effects") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + TURN { SWITCH(playerRight, 2); MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + TURN { SWITCH(playerRight, 3); MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + TURN { SWITCH(playerRight, 4); MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + TURN { SWITCH(playerRight, 5); MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep Clause does not prevent sleeping your partner Pokémon with Yawn") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN {} + TURN { SWITCH(playerRight, 2); MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN {} + TURN { SWITCH(playerRight, 3); MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN {} + TURN { SWITCH(playerRight, 4); MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN {} + TURN { SWITCH(playerRight, 5); MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN {} + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + STATUS_ICON(playerRight, sleep: TRUE); + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + STATUS_ICON(playerRight, sleep: TRUE); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Sleep moves used after being Encore'd are prevented when sleep clause is active") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(opponentLeft, MOVE_SPORE, target: playerLeft); MOVE(playerRight, MOVE_ENCORE, target: opponentLeft); } + TURN { SWITCH(playerLeft, 2); FORCED_MOVE(opponentLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + MESSAGE("Zigzagoon used Encore!"); + MESSAGE("Go! Zigzagoon!"); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + } + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Spore'ing opponent after Yawn'ing partner does not prevent Yawn's effect from sleeping partner") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_SPORE, target: playerRight); } + TURN { SWITCH(playerRight, 2); MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN { MOVE(playerLeft, MOVE_SPORE, target: opponentLeft); MOVE(playerRight, MOVE_SPORE, target: opponentRight); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + MESSAGE("Go! Zigzagoon!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentLeft); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentLeft, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, playerRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, opponentRight); + MESSAGE("The opposing Zigzagoon fell asleep!"); + STATUS_ICON(opponentRight, sleep: TRUE); + } + MESSAGE("Zigzagoon fell asleep!"); + } +} + +DOUBLE_BATTLE_TEST("Sleep Clause: Opponent Spore'ing player's partner after partner was Yawn'd by player does not prevent Spore's effect from sleeping partner and activating clause") +{ + GIVEN { + FLAG_SET(B_FLAG_SLEEP_CLAUSE); + ASSUME(gMovesInfo[MOVE_SPORE].effect == EFFECT_SLEEP); + ASSUME(gMovesInfo[MOVE_YAWN].effect == EFFECT_YAWN); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + PLAYER(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + OPPONENT(SPECIES_ZIGZAGOON); + } WHEN { + TURN { MOVE(playerLeft, MOVE_YAWN, target: playerRight); } + TURN { MOVE(opponentLeft, MOVE_SPORE, target: playerRight); MOVE(opponentRight, MOVE_SPORE, target:playerLeft); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_YAWN, playerLeft); + MESSAGE("Zigzagoon grew drowsy!"); + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentLeft); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerRight); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerRight, sleep: TRUE); + NONE_OF { + ANIMATION(ANIM_TYPE_MOVE, MOVE_SPORE, opponentRight); + ANIMATION(ANIM_TYPE_STATUS, B_ANIM_STATUS_SLP, playerLeft); + MESSAGE("Zigzagoon fell asleep!"); + STATUS_ICON(playerLeft, sleep: TRUE); + } + MESSAGE("Sleep Clause kept Zigzagoon awake!"); + } +} diff --git a/test/test_runner_battle.c b/test/test_runner_battle.c index b073ac226a..6faf6a4715 100644 --- a/test/test_runner_battle.c +++ b/test/test_runner_battle.c @@ -1371,7 +1371,6 @@ static inline rng_value_t MakeRngValue(const u16 seed) static void CB2_BattleTest_NextTrial(void) { - ClearFlagAfterTest(); TearDownBattle(); SetMainCallback2(CB2_BattleTest_NextParameter); From 8d262e7bd282580d5472d3e54abd812359ece554 Mon Sep 17 00:00:00 2001 From: hedara90 <90hedara@gmail.com> Date: Mon, 2 Dec 2024 15:12:09 +0100 Subject: [PATCH 257/278] Removed testing strings for automatic line breaks (#5757) --- src/battle_message.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/battle_message.c b/src/battle_message.c index 0dbb0c76a4..51d41d947e 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -166,11 +166,6 @@ const u8 gText_drastically[] = _("drastically "); const u8 gText_severely[] = _("severely "); static const u8 sText_TerrainReturnedToNormal[] = _("The terrain returned to normal!"); // Unused -// Remove these when done testing -static const u8 sTest_TempTestText1[] = _("This is a text for testing stuff."); -static const u8 sTest_TempTestText2[] = _("This is a text for testing stuff that should be two lines."); -static const u8 sTest_TempTestText3[] = _("This is a text for testing stuff that should be three lines so it has to have some extra text."); - const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = { [STRINGID_TRAINER1LOSETEXT] = COMPOUND_STRING("{B_TRAINER1_LOSE_TEXT}"), From aa61f24e816d9e3e50ecd9f4a45b76ec8c17f578 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Mon, 2 Dec 2024 18:25:24 +0100 Subject: [PATCH 258/278] clean up --- asm/macros/battle_script.inc | 6 ++-- data/battle_scripts_1.s | 6 ++-- include/battle.h | 9 +++++- include/battle_util.h | 1 - src/battle_main.c | 1 - src/battle_script_commands.c | 53 ++++++++++++++++++------------------ src/battle_util.c | 7 ----- 7 files changed, 39 insertions(+), 44 deletions(-) diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 8e18fdd15f..6241f120b8 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -356,7 +356,7 @@ .byte 0x3a .endm - .macro healthbarupdate_nonmovedamage battler:req + .macro absorb battler:req .byte 0x3b .byte \battler .endm @@ -1232,11 +1232,11 @@ .byte 0xe5 .endm - .macro setbattlemovedamage + .macro unused_0xE6 .byte 0xe6 .endm - .macro copybattlemovedamage + .macro unused_0xE7 .byte 0xe7 .endm diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index b1b35d1af6..43eb17880f 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -3013,12 +3013,10 @@ BattleScript_CantMakeAsleep:: BattleScript_EffectAbsorbLiquidOoze:: call BattleScript_AbilityPopUpTarget - goto BattleScript_EffectAbsorbFromHealthBarUpdate + goto BattleScript_EffectAbsorb BattleScript_EffectAbsorb:: - playanimation BS_ATTACKER, B_ANIM_SIMPLE_HEAL -BattleScript_EffectAbsorbFromHealthBarUpdate: - healthbarupdate_nonmovedamage BS_ATTACKER + absorb BS_ATTACKER datahpupdate BS_ATTACKER printfromtable gAbsorbDrainStringIds waitmessage B_WAIT_TIME_LONG diff --git a/include/battle.h b/include/battle.h index ef2bf93f7d..3c09e2f3fb 100644 --- a/include/battle.h +++ b/include/battle.h @@ -840,7 +840,7 @@ struct BattleStruct s32 calculatedCritChance[MAX_BATTLERS_COUNT]; u16 moveResultFlags[MAX_BATTLERS_COUNT]; u8 missStringId[MAX_BATTLERS_COUNT]; - u8 noResultString[MAX_BATTLERS_COUNT]; + u8 noResultString[MAX_BATTLERS_COUNT]; u8 doneDoublesSpreadHit:1; u8 calculatedDamageDone:1; u8 calculatedSpreadMoveAccuracy:1; @@ -1206,6 +1206,13 @@ static inline bool32 IsSpreadMove(u32 moveTarget) return IsDoubleBattle() && (moveTarget == MOVE_TARGET_BOTH || moveTarget == MOVE_TARGET_FOES_AND_ALLY); } +static inline bool32 IsDoubleSpreadMove(void) +{ + return gBattleStruct->numSpreadTargets > 1 + && !(gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE | HITMARKER_UNABLE_TO_USE_MOVE)) + && IsSpreadMove(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove)); +} + static inline bool32 IsBattlerInvalidForSpreadMove(u32 battlerAtk, u32 battlerDef, u32 moveTarget) { return battlerDef == battlerAtk diff --git a/include/battle_util.h b/include/battle_util.h index 129710b3bb..836e9c0931 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -314,7 +314,6 @@ bool8 CanMonParticipateInSkyBattle(struct Pokemon *mon); bool8 IsMonBannedFromSkyBattles(u16 species); void RemoveBattlerType(u32 battler, u8 type); u32 GetMoveType(u32 move); -bool32 IsDoubleSpreadMove(void); void ClearDamageCalcResults(void); #endif // GUARD_BATTLE_UTIL_H diff --git a/src/battle_main.c b/src/battle_main.c index 9b79db1681..d76d880497 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3041,7 +3041,6 @@ static void BattleStartClearSetData(void) gBattleStruct->AI_monToSwitchIntoId[i] = PARTY_SIZE; gBattleStruct->skyDropTargets[i] = 0xFF; gBattleStruct->overwrittenAbilities[i] = ABILITY_NONE; - } gLastUsedMove = 0; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 6e3e980a7e..cc24aeaaa9 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -397,7 +397,7 @@ static void Cmd_bichalfword(void); static void Cmd_bicword(void); static void Cmd_pause(void); static void Cmd_waitstate(void); -static void Cmd_healthbarupdate_nonmovedamage(void); +static void Cmd_absorb(void); static void Cmd_return(void); static void Cmd_end(void); static void Cmd_end2(void); @@ -568,8 +568,8 @@ static void Cmd_switchoutabilities(void); static void Cmd_jumpifhasnohp(void); static void Cmd_jumpifnotcurrentmoveargtype(void); static void Cmd_pickup(void); -static void Cmd_setbattlemovedamage(void); -static void Cmd_copybattlemovedamage(void); +static void Cmd_unused_0xE6(void); +static void Cmd_unused_0xE7(void); static void Cmd_settypebasedhalvers(void); static void Cmd_jumpifsubstituteblocks(void); static void Cmd_tryrecycleitem(void); @@ -656,7 +656,7 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_bicword, //0x38 Cmd_pause, //0x39 Cmd_waitstate, //0x3A - Cmd_healthbarupdate_nonmovedamage, //0x3B + Cmd_absorb, //0x3B Cmd_return, //0x3C Cmd_end, //0x3D Cmd_end2, //0x3E @@ -827,8 +827,8 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_jumpifhasnohp, //0xE3 Cmd_jumpifnotcurrentmoveargtype, //0xE4 Cmd_pickup, //0xE5 - Cmd_setbattlemovedamage, //0xE6 - Cmd_copybattlemovedamage, //0xE7 + Cmd_unused_0xE6, //0xE6 + Cmd_unused_0xE7, //0xE7 Cmd_settypebasedhalvers, //0xE8 Cmd_jumpifsubstituteblocks, //0xE9 Cmd_tryrecycleitem, //0xEA @@ -1515,7 +1515,6 @@ static bool32 JumpIfMoveAffectedByProtect(u32 move, u32 battler, u32 shouldJump) return affected; } -// TODO: the record ability check is wrong static bool32 AccuracyCalcHelper(u32 move, u32 battler) { u32 effect = FALSE; @@ -2901,16 +2900,16 @@ static void Cmd_effectivenesssound(void) static inline bool32 ShouldPrintTwoFoesMessage(u32 moveResult) { return gBattlerTarget == BATTLE_OPPOSITE(gBattlerAttacker) - && gBattleStruct->moveResultFlags[BATTLE_PARTNER(gBattlerTarget)] & moveResult - && !gBattleStruct->noResultString[BATTLE_PARTNER(gBattlerTarget)]; + && gBattleStruct->moveResultFlags[BATTLE_PARTNER(gBattlerTarget)] & moveResult + && !gBattleStruct->noResultString[BATTLE_PARTNER(gBattlerTarget)]; } static inline bool32 ShouldRelyOnTwoFoesMessage(u32 moveResult) { return gBattlerTarget == BATTLE_PARTNER(BATTLE_OPPOSITE(gBattlerAttacker)) - && gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & moveResult - && !(gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & MOVE_RESULT_MISSED && gBattleStruct->missStringId[BATTLE_OPPOSITE(gBattlerAttacker)] > B_MSG_AVOIDED_ATK) - && !gBattleStruct->noResultString[BATTLE_OPPOSITE(gBattlerAttacker)]; + && gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & moveResult + && !(gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & MOVE_RESULT_MISSED && gBattleStruct->missStringId[BATTLE_OPPOSITE(gBattlerAttacker)] > B_MSG_AVOIDED_ATK) + && !gBattleStruct->noResultString[BATTLE_OPPOSITE(gBattlerAttacker)]; } static void Cmd_resultmessage(void) @@ -2951,10 +2950,10 @@ static void Cmd_resultmessage(void) case MOVE_RESULT_SUPER_EFFECTIVE: if (IsDoubleSpreadMove()) { - if (ShouldPrintTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) + if (ShouldPrintTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) stringId = STRINGID_SUPEREFFECTIVETWOFOES; - else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) - stringId = 0; // Was handled or will be handled as a double string + else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_SUPER_EFFECTIVE)) + stringId = 0; // Was handled or will be handled as a double string else stringId = STRINGID_SUPEREFFECTIVE; } @@ -2969,15 +2968,15 @@ static void Cmd_resultmessage(void) } break; case MOVE_RESULT_NOT_VERY_EFFECTIVE: - if (IsDoubleSpreadMove()) - { - if (ShouldPrintTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) - stringId = STRINGID_NOTVERYEFFECTIVETWOFOES; - else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) - stringId = 0; // Was handled or will be handled as a double string - else - stringId = STRINGID_NOTVERYEFFECTIVE; // Needs a string - } + if (IsDoubleSpreadMove()) + { + if (ShouldPrintTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) + stringId = STRINGID_NOTVERYEFFECTIVETWOFOES; + else if (ShouldRelyOnTwoFoesMessage(MOVE_RESULT_NOT_VERY_EFFECTIVE)) + stringId = 0; // Was handled or will be handled as a double string + else + stringId = STRINGID_NOTVERYEFFECTIVE; // Needs a string + } else if (!gMultiHitCounter) { stringId = STRINGID_NOTVERYEFFECTIVE; @@ -5502,7 +5501,7 @@ static void Cmd_waitstate(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_healthbarupdate_nonmovedamage(void) +static void Cmd_absorb(void) { CMD_ARGS(u8 battler); @@ -15213,11 +15212,11 @@ static void Cmd_pickup(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_setbattlemovedamage(void) +static void Cmd_unused_0xE6(void) { } -static void Cmd_copybattlemovedamage(void) +static void Cmd_unused_0xE7(void) { } diff --git a/src/battle_util.c b/src/battle_util.c index 49d9adf475..5c3c5244eb 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -11967,13 +11967,6 @@ u32 GetMoveType(u32 move) return gMovesInfo[move].type; } -bool32 IsDoubleSpreadMove(void) -{ - return gBattleStruct->numSpreadTargets > 1 - && !(gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE | HITMARKER_UNABLE_TO_USE_MOVE)) - && IsSpreadMove(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove)); -} - void ClearDamageCalcResults(void) { for (u32 battler = 0; battler < MAX_BATTLERS_COUNT; battler++) From 65587be4d75e3f38732e6797bce1b1ba54bdf1d3 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Mon, 2 Dec 2024 09:26:48 -0800 Subject: [PATCH 259/278] Update scope.md --- docs/scope.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/scope.md b/docs/scope.md index 21f401b29e..896be8e280 100644 --- a/docs/scope.md +++ b/docs/scope.md @@ -5,8 +5,8 @@ This document is a guide for contributors and Senate to decide if a feature is w # Definitions * **Showdown Supported (SS)**: A core series game who's metagame can be played on Showdown. - * Notably, this is every [core series game](https://bulbapedia.bulbagarden.net/wiki/Core_series#List_of_core_series_games) except Pokémon Legends: Arceus and Pokémon Legends: Z-A. -* **Base Expansion Version**: A .gba file built from an unmodified `master` branch of `pokeemerald-expansion`. + * Notably, this is every [core series game](https://bulbapedia.bulbagarden.net/wiki/Core_series#List_of_core_series_games) except Pokémon Legends: Arceus. +* **Base Expansion Version**: "A .gba file built from an unmodified `master` or `upcoming` branch of `pokeemerald-expansion`. * **Vanilla Emerald Version**: A .gba file built from an unmodified `master` branch of pret's `pokeemerald`. # Guidelines From d9baebafab9adaa693ca574a4473b0937c175563 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Mon, 2 Dec 2024 15:44:46 -0300 Subject: [PATCH 260/278] Fixed changelog links to changelog 1.10 (#5758) --- docs/SUMMARY.md | 2 +- docs/changelogs/{1.10.0 => 1.10.x}/1.10.0.md | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename docs/changelogs/{1.10.0 => 1.10.x}/1.10.0.md (100%) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index cb02bb306e..a0c58cb1c6 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -19,7 +19,7 @@ - [How to use the Testing System](tutorials/how_to_testing_system.md) - [Changelog](./CHANGELOG.md) - [1.10.x]() - - [Version 1.10.0](changelogs/1.9.x/1.9.4.md) + - [Version 1.10.0](changelogs/1.10.x/1.10.0.md) - [1.9.x]() - [Version 1.9.4](changelogs/1.9.x/1.9.4.md) - [Version 1.9.3](changelogs/1.9.x/1.9.3.md) diff --git a/docs/changelogs/1.10.0/1.10.0.md b/docs/changelogs/1.10.x/1.10.0.md similarity index 100% rename from docs/changelogs/1.10.0/1.10.0.md rename to docs/changelogs/1.10.x/1.10.0.md From 8acb31339d3b3b744f53e794bd85e7552cf1ac67 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Mon, 2 Dec 2024 19:57:45 +0100 Subject: [PATCH 261/278] rename critChance and moveDamage --- include/battle.h | 4 +- src/battle_dynamax.c | 12 +- src/battle_script_commands.c | 342 +++++++++++++++++------------------ src/battle_tv.c | 8 +- src/battle_util.c | 234 ++++++++++++------------ src/battle_z_move.c | 2 +- 6 files changed, 301 insertions(+), 301 deletions(-) diff --git a/include/battle.h b/include/battle.h index 9639c217cb..301c87681b 100644 --- a/include/battle.h +++ b/include/battle.h @@ -839,8 +839,8 @@ struct BattleStruct s32 battlerExpReward; // Simultaneous hp reduction for spread moves - s32 calculatedDamage[MAX_BATTLERS_COUNT]; - s32 calculatedCritChance[MAX_BATTLERS_COUNT]; + s32 moveDamage[MAX_BATTLERS_COUNT]; + s32 critChance[MAX_BATTLERS_COUNT]; u16 moveResultFlags[MAX_BATTLERS_COUNT]; u8 missStringId[MAX_BATTLERS_COUNT]; u8 noResultString[MAX_BATTLERS_COUNT]; diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 1763333b6a..6ad81ad903 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -887,8 +887,8 @@ void BS_TrySetStatus1(void) gBattleMons[gBattlerTarget].status1 |= STATUS1_SLEEP_TURN((Random() % 3) + 2); else gBattleMons[gBattlerTarget].status1 |= STATUS1_SLEEP_TURN((Random() % 4) + 3); - - TryActivateSleepClause(gBattlerTarget, gBattlerPartyIndexes[gBattlerTarget]); + + TryActivateSleepClause(gBattlerTarget, gBattlerPartyIndexes[gBattlerTarget]); gBattleCommunication[MULTISTRING_CHOOSER] = 4; effect++; } @@ -977,10 +977,10 @@ void BS_TrySetStatus2(void) void BS_HealOneSixth(void) { NATIVE_ARGS(const u8* failInstr); - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP / 6; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; - gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP / 6; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = cmd->failInstr; // fail diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 64c603fd48..0661cc2333 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -2050,29 +2050,29 @@ static void Cmd_critcalc(void) continue; if (B_CRIT_CHANCE == GEN_1) - gBattleStruct->calculatedCritChance[battlerDef] = CalcCritChanceStageGen1(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); + gBattleStruct->critChance[battlerDef] = CalcCritChanceStageGen1(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); else - gBattleStruct->calculatedCritChance[battlerDef] = CalcCritChanceStage(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); + gBattleStruct->critChance[battlerDef] = CalcCritChanceStage(gBattlerAttacker, battlerDef, gCurrentMove, TRUE); if (gBattleTypeFlags & (BATTLE_TYPE_WALLY_TUTORIAL | BATTLE_TYPE_FIRST_BATTLE)) gSpecialStatuses[battlerDef].criticalHit = FALSE; - else if (gBattleStruct->calculatedCritChance[battlerDef] == -1) + else if (gBattleStruct->critChance[battlerDef] == -1) gSpecialStatuses[battlerDef].criticalHit = FALSE; - else if (gBattleStruct->calculatedCritChance[battlerDef] == -2) + else if (gBattleStruct->critChance[battlerDef] == -2) gSpecialStatuses[battlerDef].criticalHit = TRUE; else { if (B_CRIT_CHANCE == GEN_1) { u32 critRoll = RandomUniform(RNG_CRITICAL_HIT, 1, 256); - if (critRoll <= gBattleStruct->calculatedCritChance[battlerDef]) + if (critRoll <= gBattleStruct->critChance[battlerDef]) gSpecialStatuses[battlerDef].criticalHit = TRUE; else gSpecialStatuses[battlerDef].criticalHit = FALSE; } else { - gSpecialStatuses[battlerDef].criticalHit = RandomChance(RNG_CRITICAL_HIT, 1, GetCriticalHitOdds(gBattleStruct->calculatedCritChance[battlerDef])); + gSpecialStatuses[battlerDef].criticalHit = RandomChance(RNG_CRITICAL_HIT, 1, GetCriticalHitOdds(gBattleStruct->critChance[battlerDef])); } } @@ -2128,7 +2128,7 @@ static void Cmd_damagecalc(void) GetShellSideArmCategory(battlerDef); damageCalcData.battlerDef = battlerDef; damageCalcData.isCrit = gSpecialStatuses[battlerDef].criticalHit; - gBattleStruct->calculatedDamage[battlerDef] = CalculateMoveDamage(&damageCalcData, 0); + gBattleStruct->moveDamage[battlerDef] = CalculateMoveDamage(&damageCalcData, 0); } } else @@ -2141,7 +2141,7 @@ static void Cmd_damagecalc(void) GetShellSideArmCategory(gBattlerTarget); damageCalcData.battlerDef = gBattlerTarget; damageCalcData.isCrit = gSpecialStatuses[gBattlerTarget].criticalHit; - gBattleStruct->calculatedDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, 0); + gBattleStruct->moveDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, 0); } gBattlescriptCurrInstr = cmd->nextInstr; @@ -2195,13 +2195,13 @@ static void Cmd_adjustdamage(void) { // Damage deals typeless 0 HP. gBattleStruct->moveResultFlags[battlerDef] &= ~(MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE); - gBattleStruct->calculatedDamage[battlerDef] = 0; + gBattleStruct->moveDamage[battlerDef] = 0; RecordAbilityBattle(gBattlerTarget, ABILITY_ICE_FACE); gBattleResources->flags->flags[battlerDef] |= RESOURCE_FLAG_ICE_FACE; // Form change will be done after attack animation in Cmd_resultmessage. goto END; } - if (gBattleMons[gBattlerTarget].hp > gBattleStruct->calculatedDamage[battlerDef]) + if (gBattleMons[gBattlerTarget].hp > gBattleStruct->moveDamage[battlerDef]) goto END; holdEffect = GetBattlerHoldEffect(battlerDef, TRUE); @@ -2241,7 +2241,7 @@ static void Cmd_adjustdamage(void) goto END; // Handle reducing the dmg to 1 hp. - gBattleStruct->calculatedDamage[battlerDef] = gBattleMons[battlerDef].hp - 1; + gBattleStruct->moveDamage[battlerDef] = gBattleMons[battlerDef].hp - 1; gBattleStruct->enduredDamage |= 1u << battlerDef; if (gProtectStructs[battlerDef].endured) @@ -2266,7 +2266,7 @@ static void Cmd_adjustdamage(void) } END: - if (!(gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT) && gBattleStruct->calculatedDamage[battlerDef] >= 1) + if (!(gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT) && gBattleStruct->moveDamage[battlerDef] >= 1) gSpecialStatuses[gBattlerAttacker].damagedMons |= 1u << battlerDef; } @@ -2512,7 +2512,7 @@ static void Cmd_attackanimation(void) multihit = gMultiHitCounter; else if (gMultiHitCounter != 0 && gMultiHitCounter != 1) { - if (gBattleMons[gBattlerTarget].hp <= gBattleStruct->calculatedDamage[gBattlerTarget]) + if (gBattleMons[gBattlerTarget].hp <= gBattleStruct->moveDamage[gBattlerTarget]) multihit = 1; else multihit = gMultiHitCounter; @@ -2525,7 +2525,7 @@ static void Cmd_attackanimation(void) gCurrentMove, gBattleScripting.animTurn, gBattleMovePower, - gBattleStruct->calculatedDamage[gBattlerTarget], + gBattleStruct->moveDamage[gBattlerTarget], gBattleMons[gBattlerAttacker].friendship, &gDisableStructs[gBattlerAttacker], multihit); @@ -2559,13 +2559,13 @@ static void DoublesHPBarReduction(void) for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) { if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT - || gBattleStruct->calculatedDamage[battlerDef] == 0 + || gBattleStruct->moveDamage[battlerDef] == 0 || gBattleStruct->noResultString[battlerDef] || DoesSubstituteBlockMove(gBattlerAttacker, battlerDef, gCurrentMove) || DoesDisguiseBlockMove(battlerDef, gCurrentMove)) continue; - s32 currDmg = gBattleStruct->calculatedDamage[battlerDef]; + s32 currDmg = gBattleStruct->moveDamage[battlerDef]; s32 healthValue = min(currDmg, 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign BtlController_EmitHealthBarUpdate(battlerDef, BUFFER_A, healthValue); MarkBattlerForControllerExec(battlerDef); @@ -2601,12 +2601,12 @@ static void Cmd_healthbarupdate(void) } else { - s16 healthValue = min(gBattleStruct->calculatedDamage[battler], 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign + s16 healthValue = min(gBattleStruct->moveDamage[battler], 10000); // Max damage (10000) not present in R/S, ensures that huge damage values don't change sign BtlController_EmitHealthBarUpdate(battler, BUFFER_A, healthValue); MarkBattlerForControllerExec(battler); - if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->calculatedDamage[battler] > 0) + if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->moveDamage[battler] > 0) gBattleResults.playerMonWasDamaged = TRUE; } } @@ -2633,12 +2633,12 @@ static void Cmd_datahpupdate(void) { if (DoesSubstituteBlockMove(gBattlerAttacker, battler, gCurrentMove) && gDisableStructs[battler].substituteHP && !(gHitMarker & HITMARKER_IGNORE_SUBSTITUTE)) { - if (gDisableStructs[battler].substituteHP >= gBattleStruct->calculatedDamage[battler]) + if (gDisableStructs[battler].substituteHP >= gBattleStruct->moveDamage[battler]) { if (gSpecialStatuses[battler].shellBellDmg == 0) - gSpecialStatuses[battler].shellBellDmg = gBattleStruct->calculatedDamage[battler]; - gDisableStructs[battler].substituteHP -= gBattleStruct->calculatedDamage[battler]; - gHpDealt = gBattleStruct->calculatedDamage[battler]; + gSpecialStatuses[battler].shellBellDmg = gBattleStruct->moveDamage[battler]; + gDisableStructs[battler].substituteHP -= gBattleStruct->moveDamage[battler]; + gHpDealt = gBattleStruct->moveDamage[battler]; } else { @@ -2668,7 +2668,7 @@ static void Cmd_datahpupdate(void) else gBattleMons[battler].species = SPECIES_MIMIKYU_BUSTED; if (B_DISGUISE_HP_LOSS >= GEN_8) - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; BattleScriptPush(cmd->nextInstr); gBattlescriptCurrInstr = BattleScript_TargetFormChange; return; @@ -2676,10 +2676,10 @@ static void Cmd_datahpupdate(void) else { gHitMarker &= ~HITMARKER_IGNORE_SUBSTITUTE; - if (gBattleStruct->calculatedDamage[battler] < 0) + if (gBattleStruct->moveDamage[battler] < 0) { // Negative damage is HP gain - gBattleMons[battler].hp += -gBattleStruct->calculatedDamage[battler]; + gBattleMons[battler].hp += -gBattleStruct->moveDamage[battler]; if (gBattleMons[battler].hp > gBattleMons[battler].maxHP) gBattleMons[battler].hp = gBattleMons[battler].maxHP; } @@ -2691,7 +2691,7 @@ static void Cmd_datahpupdate(void) } else { - gBideDmg[battler] += gBattleStruct->calculatedDamage[battler]; + gBideDmg[battler] += gBattleStruct->moveDamage[battler]; if (cmd->battler == BS_TARGET) gBideTarget[battler] = gBattlerAttacker; else @@ -2699,10 +2699,10 @@ static void Cmd_datahpupdate(void) } // Deal damage to the battler - if (gBattleMons[battler].hp > gBattleStruct->calculatedDamage[battler]) + if (gBattleMons[battler].hp > gBattleStruct->moveDamage[battler]) { - gBattleMons[battler].hp -= gBattleStruct->calculatedDamage[battler]; - gHpDealt = gBattleStruct->calculatedDamage[battler]; + gBattleMons[battler].hp -= gBattleStruct->moveDamage[battler]; + gHpDealt = gBattleStruct->moveDamage[battler]; } else { @@ -3874,11 +3874,11 @@ void SetMoveEffect(bool32 primary, bool32 certain) } break; case MOVE_EFFECT_RECOIL_HP_25: // Struggle - gBattleStruct->calculatedDamage[gEffectBattler] = (gBattleMons[gEffectBattler].maxHP) / 4; - if (gBattleStruct->calculatedDamage[gEffectBattler] == 0) - gBattleStruct->calculatedDamage[gEffectBattler] = 1; + gBattleStruct->moveDamage[gEffectBattler] = (gBattleMons[gEffectBattler].maxHP) / 4; + if (gBattleStruct->moveDamage[gEffectBattler] == 0) + gBattleStruct->moveDamage[gEffectBattler] = 1; if (GetBattlerAbility(gEffectBattler) == ABILITY_PARENTAL_BOND) - gBattleStruct->calculatedDamage[gEffectBattler] *= 2; + gBattleStruct->moveDamage[gEffectBattler] *= 2; BattleScriptPush(gBattlescriptCurrInstr + 1); gBattlescriptCurrInstr = BattleScript_MoveEffectRecoil; @@ -3917,9 +3917,9 @@ void SetMoveEffect(bool32 primary, bool32 certain) { i = BATTLE_PARTNER(gBattlerTarget); gBattleScripting.savedBattler = i; - gBattleStruct->calculatedDamage[i] = gBattleMons[i].maxHP / 16; - if (gBattleStruct->calculatedDamage[i] == 0) - gBattleStruct->calculatedDamage[i] = 1; + gBattleStruct->moveDamage[i] = gBattleMons[i].maxHP / 16; + if (gBattleStruct->moveDamage[i] == 0) + gBattleStruct->moveDamage[i] = 1; gBattlescriptCurrInstr = BattleScript_MoveEffectFlameBurst; } break; @@ -4444,7 +4444,7 @@ static void Cmd_tryfaintmon(void) { gHitMarker &= ~HITMARKER_DESTINYBOND; BattleScriptPush(gBattlescriptCurrInstr); - gBattleStruct->calculatedDamage[destinyBondBattler] = gBattleMons[destinyBondBattler].hp; + gBattleStruct->moveDamage[destinyBondBattler] = gBattleMons[destinyBondBattler].hp; gBattlescriptCurrInstr = BattleScript_DestinyBondTakesLife; } if ((gStatuses3[gBattlerTarget] & STATUS3_GRUDGE) @@ -5475,10 +5475,10 @@ static void Cmd_absorb(void) return; u32 battler = GetBattlerForBattleScript(cmd->battler); - BtlController_EmitHealthBarUpdate(battler, BUFFER_A, gBattleStruct->calculatedDamage[battler]); + BtlController_EmitHealthBarUpdate(battler, BUFFER_A, gBattleStruct->moveDamage[battler]); MarkBattlerForControllerExec(battler); - if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->calculatedDamage[battler] > 0) + if (GetBattlerSide(battler) == B_SIDE_PLAYER && gBattleStruct->moveDamage[battler] > 0) gBattleResults.playerMonWasDamaged = TRUE; gBattlescriptCurrInstr = cmd->nextInstr; @@ -5886,9 +5886,9 @@ static void Cmd_moveend(void) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { gProtectStructs[gBattlerAttacker].touchedProtectLike = FALSE; - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_SPIKY_SHIELD); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_SpikyShieldEffect; @@ -5974,13 +5974,13 @@ static void Cmd_moveend(void) } else if (IsBattlerAlive(gBattlerAttacker) && MoveResultHasEffect(gBattlerTarget)) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, (gBattleStruct->calculatedDamage[gBattlerTarget] * gMovesInfo[gCurrentMove].argument / 100)); - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); + gBattleStruct->moveDamage[gBattlerAttacker] = max(1, (gBattleStruct->moveDamage[gBattlerTarget] * gMovesInfo[gCurrentMove].argument / 100)); + gBattleStruct->moveDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->moveDamage[gBattlerAttacker]); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_IGNORE_DISGUISE; effect = TRUE; if (GetBattlerAbility(gBattlerTarget) == ABILITY_LIQUID_OOZE) { - gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; + gBattleStruct->moveDamage[gBattlerAttacker] *= -1; gHitMarker |= HITMARKER_PASSIVE_DAMAGE; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_ABSORB_OOZE; BattleScriptPushCursor(); @@ -6053,14 +6053,14 @@ static void Cmd_moveend(void) && IsBattlerAlive(gBattlerAttacker) && gBattleScripting.savedDmg != 0) // Some checks may be redundant alongside this one { - gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, gBattleScripting.savedDmg * max(1, gMovesInfo[gCurrentMove].recoil) / 100); + gBattleStruct->moveDamage[gBattlerAttacker] = max(1, gBattleScripting.savedDmg * max(1, gMovesInfo[gCurrentMove].recoil) / 100); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MoveEffectRecoil; effect = TRUE; } else if (gMovesInfo[gCurrentMove].effect == EFFECT_EXPLOSION && !IsAbilityOnField(ABILITY_DAMP)) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = 0; + gBattleStruct->moveDamage[gBattlerAttacker] = 0; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_FaintAttackerForExplosion; effect = TRUE; @@ -6071,7 +6071,7 @@ static void Cmd_moveend(void) && !(gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_FAILED) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = (GetNonDynamaxMaxHP(gBattlerAttacker) + 1) / 2; // Half of Max HP Rounded UP + gBattleStruct->moveDamage[gBattlerAttacker] = (GetNonDynamaxMaxHP(gBattlerAttacker) + 1) / 2; // Half of Max HP Rounded UP BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_MaxHp50Recoil; effect = TRUE; @@ -7659,9 +7659,9 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && IsBattlerGrounded(battler)) { u8 spikesDmg = (5 - gSideTimers[GetBattlerSide(battler)].spikesAmount) * 2; - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (spikesDmg); - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (spikesDmg); + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; gDisableStructs[battler].spikesDone = TRUE; SetDmgHazardsBattlescript(battler, B_MSG_PKMNHURTBYSPIKES); @@ -7672,9 +7672,9 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD) { gDisableStructs[battler].stealthRockDone = TRUE; - gBattleStruct->calculatedDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_STEALTH_ROCK].type, battler); + gBattleStruct->moveDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_STEALTH_ROCK].type, battler); - if (gBattleStruct->calculatedDamage[battler] != 0) + if (gBattleStruct->moveDamage[battler] != 0) SetDmgHazardsBattlescript(battler, B_MSG_STEALTHROCKDMG); } else if (!(gDisableStructs[battler].toxicSpikesDone) @@ -7731,15 +7731,15 @@ static bool32 DoSwitchInEffectsForBattler(u32 battler) && GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD) { gDisableStructs[battler].steelSurgeDone = TRUE; - gBattleStruct->calculatedDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_G_MAX_STEELSURGE].type, battler); + gBattleStruct->moveDamage[battler] = GetStealthHazardDamage(gMovesInfo[MOVE_G_MAX_STEELSURGE].type, battler); - if (gBattleStruct->calculatedDamage[battler] != 0) + if (gBattleStruct->moveDamage[battler] != 0) SetDmgHazardsBattlescript(battler, B_MSG_SHARPSTEELDMG); } else if (gBattleMons[battler].hp != gBattleMons[battler].maxHP && gBattleStruct->zmove.healReplacement) { gBattleStruct->zmove.healReplacement = FALSE; - gBattleStruct->calculatedDamage[battler] = -1 * (gBattleMons[battler].maxHP); + gBattleStruct->moveDamage[battler] = -1 * (gBattleMons[battler].maxHP); gBattleScripting.battler = battler; BattleScriptPushCursor(); gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_Z_HP_TRAP; @@ -8495,10 +8495,10 @@ static bool32 TryCheekPouch(u32 battler, u32 itemId) && gBattleStruct->ateBerry[GetBattlerSide(battler)] & (1u << gBattlerPartyIndexes[battler]) && !BATTLER_MAX_HP(battler)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 3; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 3; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; gBattlerAbility = battler; BattleScriptPush(gBattlescriptCurrInstr + 2); gBattlescriptCurrInstr = BattleScript_CheekPouchActivates; @@ -9555,9 +9555,9 @@ static void Cmd_various(void) { VARIOUS_ARGS(u8 stat); i = cmd->stat; - gBattleStruct->calculatedDamage[gBattlerAttacker] = *(u16 *)(&gBattleMons[battler].attack) + (i - 1); - gBattleStruct->calculatedDamage[gBattlerAttacker] *= gStatStageRatios[gBattleMons[battler].statStages[i]][0]; - gBattleStruct->calculatedDamage[gBattlerAttacker] /= gStatStageRatios[gBattleMons[battler].statStages[i]][1]; + gBattleStruct->moveDamage[gBattlerAttacker] = *(u16 *)(&gBattleMons[battler].attack) + (i - 1); + gBattleStruct->moveDamage[gBattlerAttacker] *= gStatStageRatios[gBattleMons[battler].statStages[i]][0]; + gBattleStruct->moveDamage[gBattlerAttacker] /= gStatStageRatios[gBattleMons[battler].statStages[i]][1]; gBattlescriptCurrInstr = cmd->nextInstr; return; } @@ -9674,10 +9674,10 @@ static void Cmd_various(void) } else { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -10378,7 +10378,7 @@ static void Cmd_various(void) case VARIOUS_SET_ARG_TO_BATTLE_DAMAGE: { VARIOUS_ARGS(); - gBattleStruct->calculatedDamage[gBattlerTarget] = gMovesInfo[gCurrentMove].argument; + gBattleStruct->moveDamage[gBattlerTarget] = gMovesInfo[gCurrentMove].argument; break; } case VARIOUS_TRY_AUTOTOMIZE: @@ -10837,10 +10837,10 @@ static void Cmd_various(void) case VARIOUS_TRY_HEAL_QUARTER_HP: { VARIOUS_ARGS(const u8 *failInstr); - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; if (gBattleMons[battler].hp == gBattleMons[battler].maxHP) gBattlescriptCurrInstr = cmd->failInstr; // fail @@ -11124,7 +11124,7 @@ static void Cmd_various(void) } if (atLeastOneStatBoosted && gBattleMons[gBattlerAttacker].hp > hpFraction) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = hpFraction; + gBattleStruct->moveDamage[gBattlerAttacker] = hpFraction; gBattlescriptCurrInstr = cmd->nextInstr; } else @@ -11425,7 +11425,7 @@ static void Cmd_tryexplosion(void) if (gBattleControllerExecFlags) return; - gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; + gBattleStruct->moveDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; BtlController_EmitHealthBarUpdate(gBattlerAttacker, BUFFER_A, INSTANT_HP_BAR_DROP); MarkBattlerForControllerExec(gBattlerAttacker); gBattlescriptCurrInstr = cmd->nextInstr; @@ -11474,10 +11474,10 @@ static void Cmd_tryhealhalfhealth(void) if (cmd->battler == BS_ATTACKER) gBattlerTarget = gBattlerAttacker; - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; - gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = failInstr; @@ -11634,44 +11634,44 @@ static void Cmd_manipulatedamage(void) switch (cmd->mode) { case DMG_CHANGE_SIGN: - gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; + gBattleStruct->moveDamage[gBattlerAttacker] *= -1; break; case DMG_RECOIL_FROM_MISS: if (B_RECOIL_IF_MISS_DMG >= GEN_5) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; } else if (B_RECOIL_IF_MISS_DMG == GEN_4) { - if ((gBattleMons[gBattlerTarget].maxHP / 2) < gBattleStruct->calculatedDamage[gBattlerTarget]) - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + if ((gBattleMons[gBattlerTarget].maxHP / 2) < gBattleStruct->moveDamage[gBattlerTarget]) + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; } else { - gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleStruct->calculatedDamage[gBattlerTarget] /= 2; + gBattleStruct->moveDamage[gBattlerAttacker] = gBattleStruct->moveDamage[gBattlerTarget] /= 2; } - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; break; case DMG_DOUBLED: - gBattleStruct->calculatedDamage[gBattlerTarget] *= 2; + gBattleStruct->moveDamage[gBattlerTarget] *= 2; break; case DMG_1_8_TARGET_HP: - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 8; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 8; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; break; case DMG_FULL_ATTACKER_HP: - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker); + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker); break; case DMG_BIG_ROOT: - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); + gBattleStruct->moveDamage[gBattlerAttacker] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->moveDamage[gBattlerAttacker]); break; case DMG_CURR_ATTACKER_HP: - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerAttacker); + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerAttacker); break; case DMG_RECOIL_FROM_IMMUNE: - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerTarget) / 2; break; } @@ -11684,7 +11684,7 @@ static void Cmd_trysetrest(void) const u8 *failInstr = cmd->failInstr; gBattlerTarget = gBattlerAttacker; - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP * (-1); + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].maxHP * (-1); if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) { @@ -11856,19 +11856,19 @@ static void Cmd_stockpiletohpheal(void) { if (gDisableStructs[gBattlerAttacker].stockpileCounter > 0) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (1 << (3 - gDisableStructs[gBattlerAttacker].stockpileCounter)); + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (1 << (3 - gDisableStructs[gBattlerAttacker].stockpileCounter)); gBattleScripting.animTurn = gDisableStructs[gBattlerAttacker].stockpileCounter; gBattleStruct->moveEffect2 = MOVE_EFFECT_STOCKPILE_WORE_OFF; } else // Snatched move { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; gBattleScripting.animTurn = 1; } - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; - gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; gBattlerTarget = gBattlerAttacker; @@ -11882,12 +11882,12 @@ static void Cmd_setdrainedhp(void) CMD_ARGS(); if (gMovesInfo[gCurrentMove].argument != 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); + gBattleStruct->moveDamage[gBattlerAttacker] = (gHpDealt * gMovesInfo[gCurrentMove].argument / 100); else - gBattleStruct->calculatedDamage[gBattlerAttacker] = (gHpDealt / 2); + gBattleStruct->moveDamage[gBattlerAttacker] = (gHpDealt / 2); - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12710,23 +12710,23 @@ static void Cmd_tryKO(void) { if (gProtectStructs[gBattlerTarget].endured) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_ENDURED; } else if (gSpecialStatuses[gBattlerTarget].focusBanded || gSpecialStatuses[gBattlerTarget].focusSashed) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_HUNG_ON; gLastUsedItem = gBattleMons[gBattlerTarget].item; } else if (B_AFFECTION_MECHANICS == TRUE && gSpecialStatuses[gBattlerTarget].affectionEndured) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp - 1; gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_FOE_ENDURED_AFFECTION; } else { - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerTarget].hp; gBattleStruct->moveResultFlags[gBattlerTarget] |= MOVE_RESULT_ONE_HIT_KO; } gBattlescriptCurrInstr = cmd->nextInstr; @@ -12748,9 +12748,9 @@ static void Cmd_damagetohalftargethp(void) { CMD_ARGS(); - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) / 2; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) / 2; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12758,7 +12758,7 @@ static void Cmd_damagetohalftargethp(void) static void Cmd_unused_95(void) { CMD_ARGS(); - gBattleStruct->calculatedDamage[gBattlerTarget] = gBideDmg[gBattlerAttacker] * 2; + gBattleStruct->moveDamage[gBattlerTarget] = gBideDmg[gBattlerAttacker] * 2; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12956,18 +12956,18 @@ static void Cmd_setsubstitute(void) if (gBattleMons[gBattlerAttacker].hp <= hp) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = 0; + gBattleStruct->moveDamage[gBattlerAttacker] = 0; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SUBSTITUTE_FAILED; } else { - gBattleStruct->calculatedDamage[gBattlerAttacker] = hp; // one bit value will only work for Pokémon which max hp can go to 1020(which is more than possible in games) - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = hp; // one bit value will only work for Pokémon which max hp can go to 1020(which is more than possible in games) + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; gBattleMons[gBattlerAttacker].status2 |= STATUS2_SUBSTITUTE; gBattleMons[gBattlerAttacker].status2 &= ~STATUS2_WRAPPED; - gDisableStructs[gBattlerAttacker].substituteHP = gBattleStruct->calculatedDamage[gBattlerAttacker]; + gDisableStructs[gBattlerAttacker].substituteHP = gBattleStruct->moveDamage[gBattlerAttacker]; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_SET_SUBSTITUTE; gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE; } @@ -13058,7 +13058,7 @@ static void Cmd_dmgtolevel(void) { CMD_ARGS(); - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13067,7 +13067,7 @@ static void Cmd_psywavedamageeffect(void) CMD_ARGS(); s32 randDamage = B_PSYWAVE_DMG >= GEN_6 ? (Random() % 101) : ((Random() % 11) * 10); - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level * (randDamage + 50) / 100; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleMons[gBattlerAttacker].level * (randDamage + 50) / 100; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13082,7 +13082,7 @@ static void Cmd_counterdamagecalculator(void) && sideAttacker != sideTarget && gBattleMons[gProtectStructs[gBattlerAttacker].physicalBattlerId].hp) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 2; + gBattleStruct->moveDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 2; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -13109,7 +13109,7 @@ static void Cmd_mirrorcoatdamagecalculator(void) && sideAttacker != sideTarget && gBattleMons[gProtectStructs[gBattlerAttacker].specialBattlerId].hp) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 2; + gBattleStruct->moveDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 2; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -13211,8 +13211,8 @@ static void Cmd_painsplitdmgcalc(void) { s32 hpDiff = (gBattleMons[gBattlerAttacker].hp + GetNonDynamaxHP(gBattlerTarget)) / 2; - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - hpDiff; - gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp - hpDiff; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - hpDiff; + gBattleStruct->moveDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp - hpDiff; gSpecialStatuses[gBattlerTarget].shellBellDmg = IGNORE_SHELL_BELL; gBattlescriptCurrInstr = cmd->nextInstr; @@ -13698,9 +13698,9 @@ static void Cmd_cursetarget(void) else { gBattleMons[gBattlerTarget].status2 |= STATUS2_CURSED; - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -13872,10 +13872,10 @@ static void Cmd_presentdamagecalculation(void) else { // TODO: Check if this is correct - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 4; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; - gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerTarget) / 4; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] *= -1; gBattleStruct->presentBasePower = 0; } } @@ -14032,9 +14032,9 @@ static void Cmd_halvehp(void) if (gBattleMons[gBattlerAttacker].hp > halfHp) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -14140,23 +14140,23 @@ static void Cmd_recoverbasedonsunlight(void) if (gCurrentMove == MOVE_SHORE_UP) { if (WEATHER_HAS_EFFECT && gBattleWeather & B_WEATHER_SANDSTORM) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; + gBattleStruct->moveDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; else - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; } else { if (!(gBattleWeather & B_WEATHER_ANY) || !WEATHER_HAS_EFFECT || GetBattlerHoldEffect(gBattlerAttacker, TRUE) == HOLD_EFFECT_UTILITY_UMBRELLA) - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 2; else if (gBattleWeather & B_WEATHER_SUN) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; + gBattleStruct->moveDamage[gBattlerAttacker] = 20 * GetNonDynamaxMaxHP(gBattlerAttacker) / 30; else // not sunny weather - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; } - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; - gBattleStruct->calculatedDamage[gBattlerAttacker] *= -1; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] *= -1; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -14257,13 +14257,13 @@ static void Cmd_trydobeatup(void) gBattlescriptCurrInstr = cmd->nextInstr; - gBattleStruct->calculatedDamage[gBattlerTarget] = gSpeciesInfo[GetMonData(&party[gBattleCommunication[0]], MON_DATA_SPECIES)].baseAttack; - gBattleStruct->calculatedDamage[gBattlerTarget] *= gMovesInfo[gCurrentMove].power; - gBattleStruct->calculatedDamage[gBattlerTarget] *= (GetMonData(&party[gBattleCommunication[0]], MON_DATA_LEVEL) * 2 / 5 + 2); - gBattleStruct->calculatedDamage[gBattlerTarget] /= gSpeciesInfo[gBattleMons[gBattlerTarget].species].baseDefense; - gBattleStruct->calculatedDamage[gBattlerTarget] = (gBattleStruct->calculatedDamage[gBattlerTarget] / 50) + 2; + gBattleStruct->moveDamage[gBattlerTarget] = gSpeciesInfo[GetMonData(&party[gBattleCommunication[0]], MON_DATA_SPECIES)].baseAttack; + gBattleStruct->moveDamage[gBattlerTarget] *= gMovesInfo[gCurrentMove].power; + gBattleStruct->moveDamage[gBattlerTarget] *= (GetMonData(&party[gBattleCommunication[0]], MON_DATA_LEVEL) * 2 / 5 + 2); + gBattleStruct->moveDamage[gBattlerTarget] /= gSpeciesInfo[gBattleMons[gBattlerTarget].species].baseDefense; + gBattleStruct->moveDamage[gBattlerTarget] = (gBattleStruct->moveDamage[gBattlerTarget] / 50) + 2; if (gProtectStructs[gBattlerAttacker].helpingHand) - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleStruct->calculatedDamage[gBattlerTarget] * 15 / 10; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleStruct->moveDamage[gBattlerTarget] * 15 / 10; gBattleCommunication[0]++; } @@ -14362,7 +14362,7 @@ static void Cmd_trymemento(void) else { // Success, drop user's HP bar to 0 - gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; + gBattleStruct->moveDamage[gBattlerAttacker] = gBattleMons[gBattlerAttacker].hp; BtlController_EmitHealthBarUpdate(gBattlerAttacker, BUFFER_A, INSTANT_HP_BAR_DROP); MarkBattlerForControllerExec(gBattlerAttacker); gBattlescriptCurrInstr = cmd->nextInstr; @@ -14696,16 +14696,16 @@ static void Cmd_trywish(void) if (B_WISH_HP_SOURCE >= GEN_5) { if (GetBattlerSide(gBattlerTarget) == B_SIDE_PLAYER) - gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetMonData(&gPlayerParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); + gBattleStruct->moveDamage[gBattlerTarget] = max(1, GetMonData(&gPlayerParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); else - gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetMonData(&gEnemyParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); + gBattleStruct->moveDamage[gBattlerTarget] = max(1, GetMonData(&gEnemyParty[gWishFutureKnock.wishPartyId[gBattlerTarget]], MON_DATA_MAX_HP) / 2); } else { - gBattleStruct->calculatedDamage[gBattlerTarget] = max(1, GetNonDynamaxMaxHP(gBattlerAttacker) / 2); + gBattleStruct->moveDamage[gBattlerTarget] = max(1, GetNonDynamaxMaxHP(gBattlerAttacker) / 2); } - gBattleStruct->calculatedDamage[gBattlerTarget] *= -1; + gBattleStruct->moveDamage[gBattlerTarget] *= -1; if (gBattleMons[gBattlerTarget].hp == gBattleMons[gBattlerTarget].maxHP) gBattlescriptCurrInstr = cmd->failInstr; else @@ -14788,7 +14788,7 @@ static void Cmd_setdamagetohealthdifference(void) } else { - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - gBattleMons[gBattlerAttacker].hp; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxHP(gBattlerTarget) - gBattleMons[gBattlerAttacker].hp; gBattlescriptCurrInstr = cmd->nextInstr; } } @@ -15065,8 +15065,8 @@ static void Cmd_switchoutabilities(void) case ABILITY_REGENERATOR: u32 regenerate = GetNonDynamaxMaxHP(gBattlerAttacker) / 3; regenerate += gBattleMons[battler].hp; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] > gBattleMons[battler].maxHP) - gBattleStruct->calculatedDamage[gBattlerAttacker] = gBattleMons[battler].maxHP; + if (gBattleStruct->moveDamage[gBattlerAttacker] > gBattleMons[battler].maxHP) + gBattleStruct->moveDamage[gBattlerAttacker] = gBattleMons[battler].maxHP; BtlController_EmitSetMonData(battler, BUFFER_A, REQUEST_HP_BATTLE, 1u << *(gBattleStruct->battlerPartyIndexes + battler), sizeof(regenerate), @@ -16008,7 +16008,7 @@ static void Cmd_subattackerhpbydmg(void) { CMD_ARGS(); - gBattleMons[gBattlerAttacker].hp -= gBattleStruct->calculatedDamage[gBattlerTarget]; + gBattleMons[gBattlerAttacker].hp -= gBattleStruct->moveDamage[gBattlerTarget]; gBattlescriptCurrInstr = cmd->nextInstr; } @@ -16248,7 +16248,7 @@ void BS_CalcMetalBurstDmg(void) && sideAttacker != (sideTarget = GetBattlerSide(gProtectStructs[gBattlerAttacker].physicalBattlerId)) && gBattleMons[gProtectStructs[gBattlerAttacker].physicalBattlerId].hp) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 150 / 100; + gBattleStruct->moveDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].physicalDmg * 150 / 100; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -16261,7 +16261,7 @@ void BS_CalcMetalBurstDmg(void) && sideAttacker != (sideTarget = GetBattlerSide(gProtectStructs[gBattlerAttacker].specialBattlerId)) && gBattleMons[gProtectStructs[gBattlerAttacker].specialBattlerId].hp) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 150 / 100; + gBattleStruct->moveDamage[gBattlerTarget] = gProtectStructs[gBattlerAttacker].specialDmg * 150 / 100; if (IsAffectedByFollowMe(gBattlerAttacker, sideTarget, gCurrentMove)) gBattlerTarget = gSideTimers[sideTarget].followmeTarget; @@ -16644,7 +16644,7 @@ void BS_ItemRestoreHP(void) // Heal is applied as move damage if battler is active. if (battler != MAX_BATTLERS_COUNT && hp != 0) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = -healAmount; + gBattleStruct->moveDamage[gBattlerAttacker] = -healAmount; gBattlescriptCurrInstr = cmd->restoreBattlerInstr; } else @@ -17207,14 +17207,14 @@ void BS_TryHealPulse(void) else { if (GetBattlerAbility(gBattlerAttacker) == ABILITY_MEGA_LAUNCHER && gMovesInfo[gCurrentMove].pulseMove) - gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 75 / 100); + gBattleStruct->moveDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 75 / 100); else if (gFieldStatuses & STATUS_FIELD_GRASSY_TERRAIN && gMovesInfo[gCurrentMove].argument == MOVE_EFFECT_FLORAL_HEALING) - gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 2 / 3); + gBattleStruct->moveDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) * 2 / 3); else - gBattleStruct->calculatedDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) / 2); + gBattleStruct->moveDamage[gBattlerTarget] = -(GetNonDynamaxMaxHP(gBattlerTarget) / 2); - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = -1; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = -1; gBattlescriptCurrInstr = cmd->nextInstr; } } @@ -17401,10 +17401,10 @@ void BS_TryUpdateRecoilTracker(void) switch(gender) { case MON_MALE: - TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_MALE, gBattleStruct->calculatedDamage[gBattlerAttacker], MOVE_NONE); + TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_MALE, gBattleStruct->moveDamage[gBattlerAttacker], MOVE_NONE); break; case MON_FEMALE: - TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_FEMALE, gBattleStruct->calculatedDamage[gBattlerAttacker], MOVE_NONE); + TryUpdateEvolutionTracker(EVO_RECOIL_DAMAGE_FEMALE, gBattleStruct->moveDamage[gBattlerAttacker], MOVE_NONE); break; } @@ -17463,9 +17463,9 @@ void BS_TryActivateGulpMissile(void) { if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; } switch(gBattleMons[gBattlerTarget].species) @@ -17567,9 +17567,9 @@ void BS_ApplyTerastallization(void) void BS_DamageToQuarterTargetHP(void) { NATIVE_ARGS(); - gBattleStruct->calculatedDamage[gBattlerTarget] = (3 * GetNonDynamaxHP(gBattlerTarget)) / 4; - if (gBattleStruct->calculatedDamage[gBattlerTarget] == 0) - gBattleStruct->calculatedDamage[gBattlerTarget] = 1; + gBattleStruct->moveDamage[gBattlerTarget] = (3 * GetNonDynamaxHP(gBattlerTarget)) / 4; + if (gBattleStruct->moveDamage[gBattlerTarget] == 0) + gBattleStruct->moveDamage[gBattlerTarget] = 1; gBattlescriptCurrInstr = cmd->nextInstr; } diff --git a/src/battle_tv.c b/src/battle_tv.c index a2b34476c9..b03eee1ca9 100644 --- a/src/battle_tv.c +++ b/src/battle_tv.c @@ -1242,7 +1242,7 @@ static void TrySetBattleSeminarShow(void) if (sVariableDmgMoves[i] != TABLE_END) return; - dmgByMove[gMoveSelectionCursor[gBattlerAttacker]] = gBattleStruct->calculatedDamage[gBattlerTarget]; // TODO: Not sure + dmgByMove[gMoveSelectionCursor[gBattlerAttacker]] = gBattleStruct->moveDamage[gBattlerTarget]; // TODO: Not sure currMoveSaved = gCurrentMove; for (i = 0; i < MAX_MON_MOVES; i++) { @@ -1258,8 +1258,8 @@ static void TrySetBattleSeminarShow(void) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = FALSE; - gBattleStruct->calculatedDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, powerOverride); - dmgByMove[i] = gBattleStruct->calculatedDamage[gBattlerTarget]; + gBattleStruct->moveDamage[gBattlerTarget] = CalculateMoveDamage(&damageCalcData, powerOverride); + dmgByMove[i] = gBattleStruct->moveDamage[gBattlerTarget]; if (dmgByMove[i] == 0 && MoveResultHasEffect(gBattlerTarget)) dmgByMove[i] = 1; } @@ -1290,7 +1290,7 @@ static void TrySetBattleSeminarShow(void) } } - gBattleStruct->calculatedDamage[gBattlerTarget] = dmgByMove[gMoveSelectionCursor[gBattlerAttacker]]; + gBattleStruct->moveDamage[gBattlerTarget] = dmgByMove[gMoveSelectionCursor[gBattlerAttacker]]; gCurrentMove = currMoveSaved; } diff --git a/src/battle_util.c b/src/battle_util.c index 01086e059a..d7e883f14d 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2337,9 +2337,9 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_SAFETY_GOGGLES) { gBattleScripting.battler = battler; - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_DamagingWeather); effect++; } @@ -2350,7 +2350,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { gBattleScripting.battler = battler; - gBattleStruct->calculatedDamage[battler] = -1 * max(1, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->moveDamage[battler] = -1 * max(1, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_IceBodyHeal); effect++; } @@ -2363,9 +2363,9 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerHoldEffect(battler, TRUE) != HOLD_EFFECT_SAFETY_GOGGLES) { gBattleScripting.battler = battler; - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_DamagingWeather); effect++; } @@ -2377,7 +2377,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK) && IsBattlerAlive(battler)) { - gBattleStruct->calculatedDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->moveDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_IngrainTurnHeal); effect++; } @@ -2389,7 +2389,7 @@ u8 DoBattlerEndTurnEffects(void) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK) && IsBattlerAlive(battler)) { - gBattleStruct->calculatedDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); + gBattleStruct->moveDamage[battler] = GetDrainedBigRootHp(battler, GetNonDynamaxMaxHP(battler) / 16); BattleScriptExecute(BattleScript_AquaRingHeal); effect++; } @@ -2434,12 +2434,12 @@ u8 DoBattlerEndTurnEffects(void) gBattlerAttacker = battler; gBattleScripting.animArg1 = gBattlerTarget; gBattleScripting.animArg2 = gBattlerAttacker; - gBattleStruct->calculatedDamage[gBattlerAttacker] = max(1, GetNonDynamaxMaxHP(battler) / 8); - gBattleStruct->calculatedDamage[gBattlerTarget] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->calculatedDamage[gBattlerAttacker]); + gBattleStruct->moveDamage[gBattlerAttacker] = max(1, GetNonDynamaxMaxHP(battler) / 8); + gBattleStruct->moveDamage[gBattlerTarget] = GetDrainedBigRootHp(gBattlerAttacker, gBattleStruct->moveDamage[gBattlerAttacker]); gHitMarker |= HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE; if (GetBattlerAbility(battler) == ABILITY_LIQUID_OOZE) { - gBattleStruct->calculatedDamage[gBattlerTarget] = gBattleStruct->calculatedDamage[gBattlerTarget] * -1; + gBattleStruct->moveDamage[gBattlerTarget] = gBattleStruct->moveDamage[gBattlerTarget] * -1; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_LEECH_SEED_OOZE; BattleScriptExecute(BattleScript_LeechSeedTurnDrainLiquidOoze); } @@ -2465,19 +2465,19 @@ u8 DoBattlerEndTurnEffects(void) { if (!BATTLER_MAX_HP(battler) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; BattleScriptExecute(BattleScript_PoisonHealActivates); effect++; } } else { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_PoisonTurnDmg); effect++; } @@ -2493,22 +2493,22 @@ u8 DoBattlerEndTurnEffects(void) { if (!BATTLER_MAX_HP(battler) && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; BattleScriptExecute(BattleScript_PoisonHealActivates); effect++; } } else { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; if ((gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) != STATUS1_TOXIC_TURN(15)) // not 16 turns gBattleMons[battler].status1 += STATUS1_TOXIC_TURN(1); - gBattleStruct->calculatedDamage[battler] *= (gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) >> 8; + gBattleStruct->moveDamage[battler] *= (gBattleMons[battler].status1 & STATUS1_TOXIC_COUNTER) >> 8; BattleScriptExecute(BattleScript_PoisonTurnDmg); effect++; } @@ -2520,15 +2520,15 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); if (ability == ABILITY_HEATPROOF) { - if (gBattleStruct->calculatedDamage[battler] > (gBattleStruct->calculatedDamage[battler] / 2) + 1) // Record ability if the burn takes less damage than it normally would. + if (gBattleStruct->moveDamage[battler] > (gBattleStruct->moveDamage[battler] / 2) + 1) // Record ability if the burn takes less damage than it normally would. RecordAbilityBattle(battler, ABILITY_HEATPROOF); - gBattleStruct->calculatedDamage[battler] /= 2; + gBattleStruct->moveDamage[battler] /= 2; } - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_BurnTurnDmg); effect++; } @@ -2539,9 +2539,9 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BURN_DAMAGE >= GEN_7 ? 16 : 8); + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_FrostbiteTurnDmg); effect++; } @@ -2556,9 +2556,9 @@ u8 DoBattlerEndTurnEffects(void) // persist even after the affected Pokémon has been awakened by Shed Skin. if (gBattleMons[battler].status1 & STATUS1_SLEEP) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_NightmareTurnDmg); effect++; } @@ -2574,9 +2574,9 @@ u8 DoBattlerEndTurnEffects(void) && IsBattlerAlive(battler) && !IsBattlerProtectedByMagicGuard(battler, ability)) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_CurseTurnDmg); effect++; } @@ -2598,12 +2598,12 @@ u8 DoBattlerEndTurnEffects(void) PREPARE_MOVE_BUFFER(gBattleTextBuff1, gBattleStruct->wrappedMove[battler]); gBattlescriptCurrInstr = BattleScript_WrapTurnDmg; if (GetBattlerHoldEffect(gBattleStruct->wrappedBy[battler], TRUE) == HOLD_EFFECT_BINDING_BAND) - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 6 : 8); + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 6 : 8); else - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 8 : 16); + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (B_BINDING_DAMAGE >= GEN_6 ? 8 : 16); - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; } else // broke free { @@ -2906,11 +2906,11 @@ u8 DoBattlerEndTurnEffects(void) { gBattlerTarget = battler; if (IS_BATTLER_OF_TYPE(battler, TYPE_STEEL) || IS_BATTLER_OF_TYPE(battler, TYPE_WATER)) - gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].maxHP / 4; + gBattleStruct->moveDamage[battler] = gBattleMons[battler].maxHP / 4; else - gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].maxHP / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = gBattleMons[battler].maxHP / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; PREPARE_MOVE_BUFFER(gBattleTextBuff1, MOVE_SALT_CURE); BattleScriptExecute(BattleScript_SaltCureExtraDamage); effect++; @@ -2960,7 +2960,7 @@ u8 DoBattlerEndTurnEffects(void) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { gBattleScripting.battler = battler; - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 6; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 6; ChooseDamageNonTypesString(gSideTimers[side].damageNonTypesType); BattleScriptExecute(BattleScript_DamageNonTypesContinues); effect++; @@ -2971,7 +2971,7 @@ u8 DoBattlerEndTurnEffects(void) case ENDTURN_SEA_OF_FIRE_DAMAGE: if (IsBattlerAlive(battler) && gSideStatuses[GetBattlerSide(battler)] & SIDE_STATUS_SEA_OF_FIRE) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; BtlController_EmitStatusAnimation(battler, BUFFER_A, FALSE, STATUS1_BURN); MarkBattlerForControllerExec(battler); BattleScriptExecute(BattleScript_HurtByTheSeaOfFire); @@ -3062,7 +3062,7 @@ bool32 HandleWishPerishSongOnTurnEnd(void) if (gDisableStructs[battler].perishSongTimer == 0) { gStatuses3[battler] &= ~STATUS3_PERISH_SONG; - gBattleStruct->calculatedDamage[battler] = gBattleMons[battler].hp; + gBattleStruct->moveDamage[battler] = gBattleMons[battler].hp; gBattlescriptCurrInstr = BattleScript_PerishSongTakesLife; } else @@ -3327,7 +3327,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = TRUE; - gBattleStruct->calculatedDamage[gBattlerAttacker] = CalculateMoveDamage(&damageCalcData, 40); + gBattleStruct->moveDamage[gBattlerAttacker] = CalculateMoveDamage(&damageCalcData, 40); gBattlescriptCurrInstr = BattleScript_IgnoresAndHitsItself; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; gHitMarker |= HITMARKER_OBEYS; @@ -3472,7 +3472,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) damageCalcData.isCrit = FALSE; damageCalcData.randomFactor = FALSE; damageCalcData.updateFlags = TRUE; - gBattleStruct->calculatedDamage[gBattlerAttacker] = CalculateMoveDamage(&damageCalcData, 40); + gBattleStruct->moveDamage[gBattlerAttacker] = CalculateMoveDamage(&damageCalcData, 40); gProtectStructs[gBattlerAttacker].confusionSelfDmg = TRUE; gHitMarker |= HITMARKER_UNABLE_TO_USE_MOVE; } @@ -3610,7 +3610,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gProtectStructs[gBattlerAttacker].powderSelfDmg = TRUE; if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD && (B_POWDER_RAIN < GEN_7 || !IsBattlerWeatherAffected(gBattlerAttacker, B_WEATHER_RAIN_PRIMAL))) - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; if (GetActiveGimmick(gBattlerAttacker) != GIMMICK_Z_MOVE || HasTrainerUsedGimmick(gBattlerAttacker, GIMMICK_Z_MOVE)) @@ -5126,7 +5126,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 gBattlerTarget = partner; gBattlerAttacker = battler; gSpecialStatuses[battler].switchInAbilityDone = TRUE; - gBattleStruct->calculatedDamage[partner] = (GetNonDynamaxMaxHP(partner) / 4) * -1; + gBattleStruct->moveDamage[partner] = (GetNonDynamaxMaxHP(partner) / 4) * -1; BattleScriptPushCursorAndCallback(BattleScript_HospitalityActivates); effect++; } @@ -5244,10 +5244,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) { BattleScriptPushCursorAndCallback(BattleScript_RainDishActivates); - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / (gLastUsedAbility == ABILITY_RAIN_DISH ? 16 : 8); - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / (gLastUsedAbility == ABILITY_RAIN_DISH ? 16 : 8); + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; effect++; } break; @@ -5347,9 +5347,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 { SOLAR_POWER_HP_DROP: BattleScriptPushCursorAndCallback(BattleScript_SolarPowerActivates); - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; effect++; } break; @@ -5509,10 +5509,10 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 else gBattlescriptCurrInstr = BattleScript_MoveHPDrain_PPLoss; - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 4; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; } break; case MOVE_ABSORBED_BY_STAT_INCREASE_ABILITY: @@ -5797,9 +5797,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (B_ROUGH_SKIN_DMG >= GEN_4 ? 8 : 16); - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / (B_ROUGH_SKIN_DMG >= GEN_4 ? 8 : 16); + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; PREPARE_ABILITY_BUFFER(gBattleTextBuff1, gLastUsedAbility); BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_RoughSkinActivates; @@ -5821,9 +5821,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 } else { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AftermathDmg; } @@ -5835,7 +5835,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && !IsBattlerAlive(gBattlerTarget) && IsBattlerAlive(gBattlerAttacker)) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = gSpecialStatuses[gBattlerTarget].shellBellDmg; + gBattleStruct->moveDamage[gBattlerAttacker] = gSpecialStatuses[gBattlerTarget].shellBellDmg; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_AftermathDmg; effect++; @@ -6054,9 +6054,9 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 { if (GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 4; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; } switch(gBattleMons[gBattlerTarget].species) @@ -6869,14 +6869,14 @@ static u8 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, bool32 end2) { PREPARE_FLAVOR_BUFFER(gBattleTextBuff1, flavorId); - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / GetBattlerItemHoldEffectParam(battler, itemId); - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / GetBattlerItemHoldEffectParam(battler, itemId); + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) { - gBattleStruct->calculatedDamage[battler] *= 2; + gBattleStruct->moveDamage[battler] *= 2; gBattlerAbility = battler; } gBattleScripting.battler = battler; @@ -7008,9 +7008,9 @@ static u8 TrySetEnigmaBerry(u32 battler) && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) { gBattleScripting.battler = battler; - gBattleStruct->calculatedDamage[battler] = (gBattleMons[battler].maxHP * 25 / 100) * -1; + gBattleStruct->moveDamage[battler] = (gBattleMons[battler].maxHP * 25 / 100) * -1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleStruct->calculatedDamage[battler] *= 2; + gBattleStruct->moveDamage[battler] *= 2; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHealHP_RemoveItemRet; @@ -7126,13 +7126,13 @@ static u8 ItemHealHp(u32 battler, u32 itemId, bool32 end2, bool32 percentHeal) && HasEnoughHpToEatBerry(battler, 2, itemId)) { if (percentHeal) - gBattleStruct->calculatedDamage[battler] = (GetNonDynamaxMaxHP(battler) * GetBattlerItemHoldEffectParam(battler, itemId) / 100) * -1; + gBattleStruct->moveDamage[battler] = (GetNonDynamaxMaxHP(battler) * GetBattlerItemHoldEffectParam(battler, itemId) / 100) * -1; else - gBattleStruct->calculatedDamage[battler] = GetBattlerItemHoldEffectParam(battler, itemId) * -1; + gBattleStruct->moveDamage[battler] = GetBattlerItemHoldEffectParam(battler, itemId) * -1; // check ripen if (ItemId_GetPocket(itemId) == POCKET_BERRIES && GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleStruct->calculatedDamage[battler] *= 2; + gBattleStruct->moveDamage[battler] *= 2; gBattlerAbility = battler; // in SWSH, berry juice shows ability pop up but has no effect. This is mimicked here if (end2) @@ -7828,9 +7828,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) } else if (GetBattlerAbility(battler) != ABILITY_MAGIC_GUARD && !moveTurn) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_ItemHurtEnd2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -7842,10 +7842,10 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) if (gBattleMons[battler].hp < gBattleMons[battler].maxHP && !moveTurn && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; - gBattleStruct->calculatedDamage[battler] *= -1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 16; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; + gBattleStruct->moveDamage[battler] *= -1; BattleScriptExecute(BattleScript_ItemHealHP_End2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -8098,7 +8098,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) atkHoldEffectParam *= 2; if (gSideStatuses[GetBattlerSide(battler)] & SIDE_STATUS_RAINBOW && gCurrentMove != MOVE_SECRET_POWER) atkHoldEffectParam *= 2; - if (gBattleStruct->calculatedDamage[battler] != 0 // Need to have done damage + if (gBattleStruct->moveDamage[battler] != 0 // Need to have done damage && MoveResultHasEffect(gBattlerTarget) && TARGET_TURN_DAMAGED && !gMovesInfo[gCurrentMove].ignoresKingsRock @@ -8142,9 +8142,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) gLastUsedItem = atkItem; gPotentialItemEffectBattler = gBattlerAttacker; gBattleScripting.battler = gBattlerAttacker; - gBattleStruct->calculatedDamage[gBattlerAttacker] = (gSpecialStatuses[gBattlerTarget].shellBellDmg / atkHoldEffectParam) * -1; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = -1; + gBattleStruct->moveDamage[gBattlerAttacker] = (gSpecialStatuses[gBattlerTarget].shellBellDmg / atkHoldEffectParam) * -1; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = -1; gSpecialStatuses[gBattlerTarget].shellBellDmg = 0; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHealHP_Ret; @@ -8159,9 +8159,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && !gSpecialStatuses[gBattlerAttacker].preventLifeOrbDamage && gSpecialStatuses[gBattlerAttacker].damagedMons) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 10; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 10; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_ItemHurtRet; @@ -8206,9 +8206,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IsBattlerAlive(gBattlerAttacker) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 6; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 6; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); gBattlescriptCurrInstr = BattleScript_RockyHelmetActivates; @@ -8280,11 +8280,11 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IS_MOVE_PHYSICAL(gCurrentMove) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleStruct->calculatedDamage[gBattlerAttacker] *= 2; + gBattleStruct->moveDamage[gBattlerAttacker] *= 2; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); @@ -8300,11 +8300,11 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) && IS_MOVE_SPECIAL(gCurrentMove) && GetBattlerAbility(gBattlerAttacker) != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; - if (gBattleStruct->calculatedDamage[gBattlerAttacker] == 0) - gBattleStruct->calculatedDamage[gBattlerAttacker] = 1; + gBattleStruct->moveDamage[gBattlerAttacker] = GetNonDynamaxMaxHP(gBattlerAttacker) / 8; + if (gBattleStruct->moveDamage[gBattlerAttacker] == 0) + gBattleStruct->moveDamage[gBattlerAttacker] = 1; if (GetBattlerAbility(battler) == ABILITY_RIPEN) - gBattleStruct->calculatedDamage[gBattlerAttacker] *= 2; + gBattleStruct->moveDamage[gBattlerAttacker] *= 2; effect = ITEM_HP_CHANGE; BattleScriptPushCursor(); @@ -8378,9 +8378,9 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) case HOLD_EFFECT_STICKY_BARB: // Not an orb per se, but similar effect, and needs to NOT activate with pickpocket if (battlerAbility != ABILITY_MAGIC_GUARD) { - gBattleStruct->calculatedDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; - if (gBattleStruct->calculatedDamage[battler] == 0) - gBattleStruct->calculatedDamage[battler] = 1; + gBattleStruct->moveDamage[battler] = GetNonDynamaxMaxHP(battler) / 8; + if (gBattleStruct->moveDamage[battler] == 0) + gBattleStruct->moveDamage[battler] = 1; BattleScriptExecute(BattleScript_ItemHurtEnd2); effect = ITEM_HP_CHANGE; RecordItemEffectBattle(battler, battlerHoldEffect); @@ -12076,8 +12076,8 @@ void ClearDamageCalcResults(void) { for (u32 battler = 0; battler < MAX_BATTLERS_COUNT; battler++) { - gBattleStruct->calculatedDamage[battler] = 0; - gBattleStruct->calculatedCritChance[battler] = 0; + gBattleStruct->moveDamage[battler] = 0; + gBattleStruct->critChance[battler] = 0; gBattleStruct->moveResultFlags[battler] = 0; gBattleStruct->noResultString[battler] = 0; gBattleStruct->missStringId[battler] = 0; diff --git a/src/battle_z_move.c b/src/battle_z_move.c index 5e5c2c0836..53a39b6a79 100644 --- a/src/battle_z_move.c +++ b/src/battle_z_move.c @@ -503,7 +503,7 @@ void SetZEffect(void) case Z_EFFECT_RECOVER_HP: if (gBattleMons[gBattlerAttacker].hp != gBattleMons[gBattlerAttacker].maxHP) { - gBattleStruct->calculatedDamage[gBattlerAttacker] = (-1) * gBattleMons[gBattlerAttacker].maxHP; + gBattleStruct->moveDamage[gBattlerAttacker] = (-1) * gBattleMons[gBattlerAttacker].maxHP; gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_Z_RECOVER_HP; BattleScriptPush(gBattlescriptCurrInstr + Z_EFFECT_BS_LENGTH); gBattlescriptCurrInstr = BattleScript_RecoverHPZMove; From 9b06f7e4924604b8f69619009829ab0ba1dee437 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Mon, 2 Dec 2024 11:01:49 -0800 Subject: [PATCH 262/278] Update scope.md --- docs/scope.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/scope.md b/docs/scope.md index 896be8e280..1bec4f2db7 100644 --- a/docs/scope.md +++ b/docs/scope.md @@ -41,8 +41,7 @@ A pull request meets the scope criteria if: 5. **Non-SS Gimmicks**: Adds Gimmicks that have NOT appeared in a Showdown-supported title 6. **Non-SS Battle Types**: Adds Special Battle Types that have NOT appeared in a Showdown-supported title 7. **Duplicate Feature UI**: Adds functionality that duplicates the core functionality of an existing vanilla feature -8. **Vanilla Link Compatibility**: Link compatibility with vanilla -9. **External Program**: External programs +8. **Vanilla Link Compatibility**: Link compatibility with vanilla ## Discussion Required Categories @@ -51,3 +50,5 @@ Pull Requests that fall into this category should be brought up to maintainers, 1. **Developer Ease of Use:** Lowers barrier of entry for developers to use existing behavior 2. **Fangame Features:** Adds a popular feature from other fangames 3. **Popular Non-SS Features:** Exceptions can be made for uniquely popular or requested features (Drowsy, PLA Legend Plate, etc.) +4. **External Program**: External programs like poryscript, porymoves, etc. + From 8eab725485aa410adf57f59a2da5aa7ead424337 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:59:05 -0500 Subject: [PATCH 263/278] Fix Sleep Clause AI handling of partner sleeping moves (#5761) Co-authored-by: Alex <93446519+AlexOn1ine@users.noreply.github.com> --- src/battle_ai_util.c | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 21c738de01..e8041ae7a1 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -2371,6 +2371,32 @@ bool32 IsSwitchOutEffect(u32 effect) } } +static inline bool32 IsMoveSleepClauseTrigger(u32 move) +{ + u32 i, effect = gMovesInfo[move].effect; + + // Sleeping effects like Sleep Powder, Yawn, Dark Void, etc. + switch (effect) + { + case EFFECT_SLEEP: + case EFFECT_YAWN: + case EFFECT_DARK_VOID: + return TRUE; + } + + // Sleeping effects like G-Max Befuddle, G-Max Snooze, etc. + for (i = 0; i < gMovesInfo[move].numAdditionalEffects; i++) + { + switch (gMovesInfo[move].additionalEffects[i].moveEffect) + { + case MAX_EFFECT_EFFECT_SPORE_FOES: + case MAX_EFFECT_YAWN_FOE: + return TRUE; + } + } + return FALSE; +} + bool32 HasDamagingMove(u32 battlerId) { u32 i; @@ -3394,13 +3420,9 @@ bool32 PartnerMoveIsSameNoTarget(u32 battlerAtkPartner, u32 move, u32 partnerMov bool32 PartnerMoveActivatesSleepClause(u32 partnerMove) { - u32 effect = gMovesInfo[partnerMove].effect; if (!IsDoubleBattle() || !FlagGet(B_FLAG_SLEEP_CLAUSE)) return FALSE; - if (effect == EFFECT_SLEEP - || effect == EFFECT_YAWN) - return TRUE; - return FALSE; + return IsMoveSleepClauseTrigger(partnerMove); } bool32 ShouldUseWishAromatherapy(u32 battlerAtk, u32 battlerDef, u32 move) From 3cd89c6e1961a7da6c653e3c311e191da4cee800 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Mon, 2 Dec 2024 11:49:06 -0800 Subject: [PATCH 264/278] Added scope document link to website --- docs/SUMMARY.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index ac4698fdc3..168a8b5e51 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -64,3 +64,4 @@ - [Version 0.9.0](changelogs/0.9.x/0.9.0.md) - [Team Procedures]() - [How to make an Expansion version](team_procedures/expansion_versions.md) + - [Scope Guidelines](docs/scope.md) From 0d31f3b972c0469114302c6e7cc2cc18284d64e3 Mon Sep 17 00:00:00 2001 From: pkmnsnfrn Date: Mon, 2 Dec 2024 11:50:21 -0800 Subject: [PATCH 265/278] Fixed broken link to scope doc --- docs/SUMMARY.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 168a8b5e51..e0f2a62bed 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -64,4 +64,4 @@ - [Version 0.9.0](changelogs/0.9.x/0.9.0.md) - [Team Procedures]() - [How to make an Expansion version](team_procedures/expansion_versions.md) - - [Scope Guidelines](docs/scope.md) + - [Scope Guidelines](scope.md) From b15f7ad4f145ff8f981150857b112e58b6f03fbe Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Mon, 2 Dec 2024 16:35:28 -0500 Subject: [PATCH 266/278] Sleep Clause global config (#5762) --- include/battle_util.h | 1 + include/config/battle.h | 1 + src/battle_ai_util.c | 2 +- src/battle_main.c | 2 +- src/battle_script_commands.c | 2 +- src/battle_util.c | 19 ++++++++++++++----- 6 files changed, 19 insertions(+), 8 deletions(-) diff --git a/include/battle_util.h b/include/battle_util.h index 395cbf28e3..b2a28001ab 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -317,5 +317,6 @@ u32 GetMoveType(u32 move); void TryActivateSleepClause(u32 battler, u32 indexInParty); void TryDeactivateSleepClause(u32 battlerSide, u32 indexInParty); bool8 IsSleepClauseActiveForSide(u32 battlerSide); +bool32 IsSleepClauseEnabled(); #endif // GUARD_BATTLE_UTIL_H diff --git a/include/config/battle.h b/include/config/battle.h index 43da403010..861e3e3fad 100644 --- a/include/config/battle.h +++ b/include/config/battle.h @@ -256,6 +256,7 @@ #define B_OVERWORLD_FOG GEN_LATEST // In Gen8+, overworld Fog summons Misty Terrain in battle. In Gen4 only, overworld Fog summons the unique fog weather condition in battle. #define B_TOXIC_REVERSAL GEN_LATEST // In Gen5+, bad poison will change to regular poison at the end of battles. #define B_TRY_CATCH_TRAINER_BALL GEN_LATEST // In Gen4+, trying to catch a Trainer's Pokémon does not consume the Poké Ball. +#define B_SLEEP_CLAUSE FALSE // Enables Sleep Clause all the time in every case, overriding B_FLAG_SLEEP_CLAUSE. Use that for modularity. // Animation Settings #define B_NEW_SWORD_PARTICLE FALSE // If set to TRUE, it updates Swords Dance's particle. diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index e8041ae7a1..0f8a383e92 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -3420,7 +3420,7 @@ bool32 PartnerMoveIsSameNoTarget(u32 battlerAtkPartner, u32 move, u32 partnerMov bool32 PartnerMoveActivatesSleepClause(u32 partnerMove) { - if (!IsDoubleBattle() || !FlagGet(B_FLAG_SLEEP_CLAUSE)) + if (!IsDoubleBattle() || !IsSleepClauseEnabled()) return FALSE; return IsMoveSleepClauseTrigger(partnerMove); } diff --git a/src/battle_main.c b/src/battle_main.c index a665494c1c..5fee90f94e 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3122,7 +3122,7 @@ static void BattleStartClearSetData(void) gSelectedMonPartyId = PARTY_SIZE; // Revival Blessing gCategoryIconSpriteId = 0xFF; - if(FlagGet(B_FLAG_SLEEP_CLAUSE)) + if(IsSleepClauseEnabled()) { // If monCausingSleepClause[side] equals PARTY_SIZE, Sleep Clause is not active for the given side. gBattleStruct->monCausingSleepClause[B_SIDE_PLAYER] = PARTY_SIZE; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 48999882e5..812266b0fc 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -17268,7 +17268,7 @@ void BS_JumpIfSleepClause(void) NATIVE_ARGS(const u8 *jumpInstr); // Can freely sleep own partner - if (IsDoubleBattle() && B_FLAG_SLEEP_CLAUSE && GetBattlerSide(gBattlerAttacker) == GetBattlerSide(gBattlerTarget)) + if (IsDoubleBattle() && IsSleepClauseEnabled() && GetBattlerSide(gBattlerAttacker) == GetBattlerSide(gBattlerTarget)) { gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerTarget); gBattlescriptCurrInstr = cmd->nextInstr; diff --git a/src/battle_util.c b/src/battle_util.c index 27346f91e8..380564038d 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -3334,7 +3334,7 @@ u8 AtkCanceller_UnableToUseMove(u32 moveType) gHitMarker |= HITMARKER_OBEYS; break; case DISOBEYS_FALL_ASLEEP: - if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + if (IsSleepClauseEnabled()) gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerAttacker); gBattlescriptCurrInstr = BattleScript_IgnoresAndFallsAsleep; gMoveResultFlags |= MOVE_RESULT_MISSED; @@ -5833,7 +5833,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { - if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + if (IsSleepClauseEnabled()) gBattleStruct->sleepClauseEffectExempt |= (1u << gBattlerAttacker); gBattleScripting.moveEffect = MOVE_EFFECT_AFFECTS_USER | MOVE_EFFECT_SLEEP; PREPARE_ABILITY_BUFFER(gBattleTextBuff1, gLastUsedAbility); @@ -12012,7 +12012,7 @@ void TryActivateSleepClause(u32 battler, u32 indexInParty) return; } - if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + if (IsSleepClauseEnabled()) gBattleStruct->monCausingSleepClause[GetBattlerSide(battler)] = indexInParty; } @@ -12020,7 +12020,7 @@ void TryDeactivateSleepClause(u32 battlerSide, u32 indexInParty) { // If the pokemon on the given side at the given index in the party is the one causing Sleep Clause to be active, // set monCausingSleepClause[battlerSide] = PARTY_SIZE, which means Sleep Clause is not active for the given side - if (FlagGet(B_FLAG_SLEEP_CLAUSE) && gBattleStruct->monCausingSleepClause[battlerSide] == indexInParty) + if (IsSleepClauseEnabled() && gBattleStruct->monCausingSleepClause[battlerSide] == indexInParty) gBattleStruct->monCausingSleepClause[battlerSide] = PARTY_SIZE; } @@ -12029,5 +12029,14 @@ bool8 IsSleepClauseActiveForSide(u32 battlerSide) // If monCausingSleepClause[battlerSide] == PARTY_SIZE, Sleep Clause is not active for the given side. // If monCausingSleepClause[battlerSide] < PARTY_SIZE, it means it is storing the index of the mon that is causing Sleep Clause to be active, // from which it follows that Sleep Clause is active. - return (FlagGet(B_FLAG_SLEEP_CLAUSE) && (gBattleStruct->monCausingSleepClause[battlerSide] < PARTY_SIZE)); + return (IsSleepClauseEnabled() && (gBattleStruct->monCausingSleepClause[battlerSide] < PARTY_SIZE)); +} + +bool32 IsSleepClauseEnabled() +{ + if (B_SLEEP_CLAUSE) + return TRUE; + if (FlagGet(B_FLAG_SLEEP_CLAUSE)) + return TRUE; + return FALSE; } From c0f5285f219e34cb0294c63be140d23863fe03a0 Mon Sep 17 00:00:00 2001 From: AlexOn1ine Date: Tue, 3 Dec 2024 00:04:57 +0100 Subject: [PATCH 267/278] fix magic coat --- src/battle_script_commands.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 0661cc2333..b96d6a30ce 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -1309,6 +1309,7 @@ static void Cmd_attackcanceler(void) gBattleStruct->bouncedMoveIsUsed = TRUE; // Edge case for bouncing a powder move against a grass type pokemon. + ClearDamageCalcResults(); SetAtkCancellerForCalledMove(); if (BlocksPrankster(gCurrentMove, gBattlerTarget, gBattlerAttacker, TRUE)) { @@ -1755,7 +1756,10 @@ static void AccuracyCheck(bool32 recalcDragonDarts, const u8 *nextInstr, const u if (gBattleStruct->moveResultFlags[gBattlerTarget] & MOVE_RESULT_MISSED) gBattleStruct->moveResultFlags[gBattlerTarget] = MOVE_RESULT_MISSED; - gBattleStruct->calculatedSpreadMoveAccuracy = TRUE; + + if (calcSpreadMove) + gBattleStruct->calculatedSpreadMoveAccuracy = TRUE; + JumpIfMoveFailed(7, move); } } From c8b0da2493a1c86f70fbcff51252eb37d2d6553c Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Tue, 3 Dec 2024 06:28:22 -0500 Subject: [PATCH 268/278] Add AI_FLAG_WEIGH_ABILITY_PREDICTION (#5636) --- docs/tutorials/ai_flags.md | 3 ++ include/constants/battle_ai.h | 45 ++++++++++++------------ include/random.h | 1 + src/battle_ai_util.c | 22 ++++++++++-- test/battle/ai/ai_flag_predict_ability.c | 16 +++++++++ 5 files changed, 63 insertions(+), 24 deletions(-) create mode 100644 test/battle/ai/ai_flag_predict_ability.c diff --git a/docs/tutorials/ai_flags.md b/docs/tutorials/ai_flags.md index 7b77305c13..fcad6ed34f 100644 --- a/docs/tutorials/ai_flags.md +++ b/docs/tutorials/ai_flags.md @@ -165,3 +165,6 @@ AI always assumes it will roll the lowest possible result when comparing damage ## `AI_FLAG_SEQUENCE_SWITCHING` AI will always switch out after a KO in exactly party order as defined in the trainer data (ie. slot 1, then 2, then 3, etc.). The AI will never switch out mid-battle unless forced to (Roar etc.). If the AI uses a move that requires a switch where it makes a decision about what to send in (U-Turn etc.), it will always switch out into the lowest available party index. + +## `AI_FLAG_WEIGH_ABILITY_PREDICTION` +AI will predict the player's ability based to its aiRating. Without this flag the AI randomly assumes an ability with an even distribution between all possible abilities until one is confirmed. With this flag, it instead guesses proportionally to each ability's aiRating, making it far more likely to guess an ability like Water Absorb than Damp if both are options. diff --git a/include/constants/battle_ai.h b/include/constants/battle_ai.h index df6069ead9..ecde1e8668 100644 --- a/include/constants/battle_ai.h +++ b/include/constants/battle_ai.h @@ -26,35 +26,36 @@ // AI Flags. Most run specific functions to update score, new flags are used for internal logic in other scripts // See docs/ai_flags.md for more details. -#define AI_FLAG_CHECK_BAD_MOVE (1 << 0) // AI will avoid using moves that are likely to fail or be ineffective in the current situation. -#define AI_FLAG_TRY_TO_FAINT (1 << 1) // AI will prioritize KOing the player's mon if able. -#define AI_FLAG_CHECK_VIABILITY (1 << 2) // AI damaging moves and move effects to determine the best available move in the current situation. +#define AI_FLAG_CHECK_BAD_MOVE (1 << 0) // AI will avoid using moves that are likely to fail or be ineffective in the current situation. +#define AI_FLAG_TRY_TO_FAINT (1 << 1) // AI will prioritize KOing the player's mon if able. +#define AI_FLAG_CHECK_VIABILITY (1 << 2) // AI damaging moves and move effects to determine the best available move in the current situation. #define AI_FLAG_FORCE_SETUP_FIRST_TURN (1 << 3) // AI will prioritize using setup moves on the first turn at the expensve of all else. AI_FLAG_CHECK_VIABILITY will instead do this when the AI determines it makes sense. -#define AI_FLAG_RISKY (1 << 4) // AI will generally behave more recklessly, prioritizing damage over accuracy, explosions, etc. -#define AI_FLAG_PREFER_STRONGEST_MOVE (1 << 5) // AI adds score bonus to any move the AI has that either OHKOs or 2HKOs the player. -#define AI_FLAG_PREFER_BATON_PASS (1 << 6) // AI prefers raising its own stats and setting for / using Baton Pass. -#define AI_FLAG_DOUBLE_BATTLE (1 << 7) // Automatically set for double battles, handles AI behaviour with partner. -#define AI_FLAG_HP_AWARE (1 << 8) // AI will favour certain move effects based on how much remaining HP it and the player's mon have. -#define AI_FLAG_POWERFUL_STATUS (1 << 9) // AI prefers moves that set up field effects or side statuses, even if the user can faint the target. +#define AI_FLAG_RISKY (1 << 4) // AI will generally behave more recklessly, prioritizing damage over accuracy, explosions, etc. +#define AI_FLAG_PREFER_STRONGEST_MOVE (1 << 5) // AI adds score bonus to any move the AI has that either OHKOs or 2HKOs the player. +#define AI_FLAG_PREFER_BATON_PASS (1 << 6) // AI prefers raising its own stats and setting for / using Baton Pass. +#define AI_FLAG_DOUBLE_BATTLE (1 << 7) // Automatically set for double battles, handles AI behaviour with partner. +#define AI_FLAG_HP_AWARE (1 << 8) // AI will favour certain move effects based on how much remaining HP it and the player's mon have. +#define AI_FLAG_POWERFUL_STATUS (1 << 9) // AI prefers moves that set up field effects or side statuses, even if the user can faint the target. // New, Trainer Handicap Flags -#define AI_FLAG_NEGATE_UNAWARE (1 << 10) // AI is NOT aware of negating effects like wonder room, mold breaker, etc. -#define AI_FLAG_WILL_SUICIDE (1 << 11) // AI will use explosion / self destruct / final gambit / etc. +#define AI_FLAG_NEGATE_UNAWARE (1 << 10) // AI is NOT aware of negating effects like wonder room, mold breaker, etc. +#define AI_FLAG_WILL_SUICIDE (1 << 11) // AI will use explosion / self destruct / final gambit / etc. // New, Trainer Strategy Flags -#define AI_FLAG_PREFER_STATUS_MOVES (1 << 12) // AI gets a score bonus for status moves. Should be combined with AI_FLAG_CHECK_BAD_MOVE to prevent using only status moves. -#define AI_FLAG_STALL (1 << 13) // AI stalls battle and prefers secondary damage/trapping/etc. TODO not finished. -#define AI_FLAG_SMART_SWITCHING (1 << 14) // AI includes a lot more switching checks. Automatically includes AI_FLAG_SMART_MON_CHOICES. -#define AI_FLAG_ACE_POKEMON (1 << 15) // AI has an Ace Pokemon. The last Pokemon in the party will not be used until it's the last one remaining. -#define AI_FLAG_OMNISCIENT (1 << 16) // AI has full knowledge of player moves, abilities, hold items. -#define AI_FLAG_SMART_MON_CHOICES (1 << 17) // AI will make smarter decisions when choosing which mon to send out mid-battle and after a KO, which are separate decisions. Automatically included by AI_FLAG_SMART_SWITCHING. -#define AI_FLAG_CONSERVATIVE (1 << 18) // AI assumes all moves will low roll damage. -#define AI_FLAG_SEQUENCE_SWITCHING (1 << 19) // AI switches in mons in exactly party order, and never switches mid-battle. -#define AI_FLAG_DOUBLE_ACE_POKEMON (1 << 20) // AI has *two* Ace Pokémon. The last two Pokémons in the party won't be used unless they're the last ones remaining. Goes well in battles where the trainer ID equals to twins, couples, etc. +#define AI_FLAG_PREFER_STATUS_MOVES (1 << 12) // AI gets a score bonus for status moves. Should be combined with AI_FLAG_CHECK_BAD_MOVE to prevent using only status moves. +#define AI_FLAG_STALL (1 << 13) // AI stalls battle and prefers secondary damage/trapping/etc. TODO not finished. +#define AI_FLAG_SMART_SWITCHING (1 << 14) // AI includes a lot more switching checks. Automatically includes AI_FLAG_SMART_MON_CHOICES. +#define AI_FLAG_ACE_POKEMON (1 << 15) // AI has an Ace Pokemon. The last Pokemon in the party will not be used until it's the last one remaining. +#define AI_FLAG_OMNISCIENT (1 << 16) // AI has full knowledge of player moves, abilities, hold items. +#define AI_FLAG_SMART_MON_CHOICES (1 << 17) // AI will make smarter decisions when choosing which mon to send out mid-battle and after a KO, which are separate decisions. Automatically included by AI_FLAG_SMART_SWITCHING. +#define AI_FLAG_CONSERVATIVE (1 << 18) // AI assumes all moves will low roll damage. +#define AI_FLAG_SEQUENCE_SWITCHING (1 << 19) // AI switches in mons in exactly party order, and never switches mid-battle. +#define AI_FLAG_DOUBLE_ACE_POKEMON (1 << 20) // AI has *two* Ace Pokémon. The last two Pokémons in the party won't be used unless they're the last ones remaining. Goes well in battles where the trainer ID equals to twins, couples, etc. +#define AI_FLAG_WEIGH_ABILITY_PREDICTION (1 << 21) // AI will predict player's ability based on aiRating -#define AI_FLAG_COUNT 21 +#define AI_FLAG_COUNT 22 // The following options are enough to have a basic/smart trainer. Any other addtion could make the trainer worse/better depending on the flag #define AI_FLAG_BASIC_TRAINER (AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_TRY_TO_FAINT | AI_FLAG_CHECK_VIABILITY) -#define AI_FLAG_SMART_TRAINER (AI_FLAG_BASIC_TRAINER | AI_FLAG_OMNISCIENT | AI_FLAG_SMART_SWITCHING | AI_FLAG_SMART_MON_CHOICES) +#define AI_FLAG_SMART_TRAINER (AI_FLAG_BASIC_TRAINER | AI_FLAG_OMNISCIENT | AI_FLAG_SMART_SWITCHING | AI_FLAG_SMART_MON_CHOICES | AI_FLAG_WEIGH_ABILITY_PREDICTION) // 'other' ai logic flags #define AI_FLAG_DYNAMIC_FUNC (1 << 28) // Create custom AI functions for specific battles via "setdynamicaifunc" cmd diff --git a/include/random.h b/include/random.h index 2409a1a883..000bc1302c 100644 --- a/include/random.h +++ b/include/random.h @@ -174,6 +174,7 @@ enum RandomTag RNG_AI_SWITCH_SE_DEFENSIVE, RNG_SHELL_SIDE_ARM, RNG_RANDOM_TARGET, + RNG_AI_PREDICT_ABILITY, RNG_HEALER, }; diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 0f8a383e92..940d73c6ed 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -102,6 +102,15 @@ bool32 IsAiBattlerAware(u32 battlerId) return BattlerHasAi(battlerId); } +bool32 IsAiBattlerPredictingAbility(u32 battlerId) +{ + if (AI_THINKING_STRUCT->aiFlags[B_POSITION_OPPONENT_LEFT] & AI_FLAG_WEIGH_ABILITY_PREDICTION + || AI_THINKING_STRUCT->aiFlags[B_POSITION_OPPONENT_RIGHT] & AI_FLAG_WEIGH_ABILITY_PREDICTION) + return TRUE; + + return BattlerHasAi(battlerId); +} + void ClearBattlerMoveHistory(u32 battlerId) { memset(BATTLE_HISTORY->usedMoves[battlerId], 0, sizeof(BATTLE_HISTORY->usedMoves[battlerId])); @@ -1333,6 +1342,8 @@ s32 AI_DecideKnownAbilityForTurn(u32 battlerId) u32 validAbilities[NUM_ABILITY_SLOTS]; u8 i, numValidAbilities = 0; u32 knownAbility = AI_GetBattlerAbility(battlerId); + u32 indexAbility; + u32 abilityAiRatings[NUM_ABILITY_SLOTS] = {0}; // We've had ability overwritten by e.g. Worry Seed. It is not part of AI_PARTY in case of switching if (gBattleStruct->overwrittenAbilities[battlerId]) @@ -1355,10 +1366,17 @@ s32 AI_DecideKnownAbilityForTurn(u32 battlerId) for (i = 0; i < NUM_ABILITY_SLOTS; i++) { - if (gSpeciesInfo[gBattleMons[battlerId].species].abilities[i] != ABILITY_NONE) - validAbilities[numValidAbilities++] = gSpeciesInfo[gBattleMons[battlerId].species].abilities[i]; + indexAbility = gSpeciesInfo[gBattleMons[battlerId].species].abilities[i]; + if (indexAbility != ABILITY_NONE) + { + abilityAiRatings[numValidAbilities] = gAbilitiesInfo[indexAbility].aiRating; + validAbilities[numValidAbilities++] = indexAbility; + } } + if (numValidAbilities > 0 && IsAiBattlerPredictingAbility(battlerId)) + return validAbilities[RandomWeighted(RNG_AI_PREDICT_ABILITY, abilityAiRatings[0], abilityAiRatings[1], abilityAiRatings[2])]; + if (numValidAbilities > 0) return validAbilities[RandomUniform(RNG_AI_ABILITY, 0, numValidAbilities - 1)]; diff --git a/test/battle/ai/ai_flag_predict_ability.c b/test/battle/ai/ai_flag_predict_ability.c new file mode 100644 index 0000000000..ab934698b8 --- /dev/null +++ b/test/battle/ai/ai_flag_predict_ability.c @@ -0,0 +1,16 @@ +#include "global.h" +#include "test/battle.h" +#include "battle_ai_util.h" + +AI_SINGLE_BATTLE_TEST("AI_FLAG_WEIGH_ABILITY_PREDICTION: AI will predict opposing ability based on its aiRating") +{ + PASSES_RANDOMLY(7, 14, RNG_AI_PREDICT_ABILITY); + GIVEN { + ASSUME(gMovesInfo[MOVE_THUNDERBOLT].type == TYPE_ELECTRIC); + AI_FLAGS(AI_FLAG_CHECK_BAD_MOVE | AI_FLAG_CHECK_VIABILITY | AI_FLAG_TRY_TO_FAINT | AI_FLAG_WEIGH_ABILITY_PREDICTION); + PLAYER(SPECIES_LANTURN) { Ability(ABILITY_VOLT_ABSORB); }; + OPPONENT(SPECIES_LANTURN) { Moves(MOVE_THUNDERBOLT, MOVE_ICE_BEAM, MOVE_SURF); } + } WHEN { + TURN { EXPECT_MOVE(opponent, MOVE_THUNDERBOLT); } + } +} From a97cfaa068110a7a8d3dafaf8e354cd87293c79a Mon Sep 17 00:00:00 2001 From: Frank DeBlasio <35279583+fdeblasio@users.noreply.github.com> Date: Tue, 3 Dec 2024 06:32:13 -0500 Subject: [PATCH 269/278] Converts multi-choice options to COMPOUND_STRINGs (#5686) --- include/strings.h | 213 -------------------------------------- src/data/script_menu.h | 226 ++++++++++++++++++++--------------------- src/field_specials.c | 185 +++++++++++++++++---------------- src/strings.c | 213 -------------------------------------- 4 files changed, 210 insertions(+), 627 deletions(-) diff --git a/include/strings.h b/include/strings.h index 45bbeb9707..ec5d36041e 100644 --- a/include/strings.h +++ b/include/strings.h @@ -509,16 +509,6 @@ extern const u8 gText_HealthboxGender_None[]; extern const u8 gText_HealthboxGender_Male[]; extern const u8 gText_HealthboxGender_Female[]; -extern const u8 gText_99TimesPlus[]; -extern const u8 gText_1MinutePlus[]; -extern const u8 gText_SpaceSeconds[]; -extern const u8 gText_SpaceTimes[]; - -extern const u8 gText_BigGuy[]; -extern const u8 gText_BigGirl[]; -extern const u8 gText_Son[]; -extern const u8 gText_Daughter[]; - // Multichoice strings extern const u8 gText_Exit[]; extern const u8 gText_1F[]; @@ -539,73 +529,6 @@ extern const u8 gText_B4F[]; extern const u8 gText_Rooftop[]; extern const u8 gText_ElevatorNowOn[]; -extern const u8 gText_BlueFlute[]; -extern const u8 gText_YellowFlute[]; -extern const u8 gText_RedFlute[]; -extern const u8 gText_WhiteFlute[]; -extern const u8 gText_BlackFlute[]; -extern const u8 gText_PrettyChair[]; -extern const u8 gText_PrettyDesk[]; - -extern const u8 gText_0Pts[]; -extern const u8 gText_10Pts[]; -extern const u8 gText_20Pts[]; -extern const u8 gText_30Pts[]; -extern const u8 gText_40Pts[]; -extern const u8 gText_50Pts[]; -extern const u8 gText_60Pts[]; -extern const u8 gText_70Pts[]; -extern const u8 gText_80Pts[]; -extern const u8 gText_90Pts[]; -extern const u8 gText_100Pts[]; -extern const u8 gText_QuestionMark[]; - -extern const u8 gText_KissPoster16BP[]; -extern const u8 gText_KissCushion32BP[]; -extern const u8 gText_SmoochumDoll32BP[]; -extern const u8 gText_TogepiDoll48BP[]; -extern const u8 gText_MeowthDoll48BP[]; -extern const u8 gText_ClefairyDoll48BP[]; -extern const u8 gText_DittoDoll48BP[]; -extern const u8 gText_CyndaquilDoll80BP[]; -extern const u8 gText_ChikoritaDoll80BP[]; -extern const u8 gText_TotodileDoll80BP[]; - -extern const u8 gText_LaprasDoll128BP[]; -extern const u8 gText_SnorlaxDoll128BP[]; -extern const u8 gText_VenusaurDoll256BP[]; -extern const u8 gText_CharizardDoll256BP[]; -extern const u8 gText_BlastoiseDoll256BP[]; - -extern const u8 gText_Protein1BP[]; -extern const u8 gText_Calcium1BP[]; -extern const u8 gText_Iron1BP[]; -extern const u8 gText_Zinc1BP[]; -extern const u8 gText_Carbos1BP[]; -extern const u8 gText_HpUp1BP[]; - -extern const u8 gText_Leftovers48BP[]; -extern const u8 gText_WhiteHerb48BP[]; -extern const u8 gText_QuickClaw48BP[]; -extern const u8 gText_MentalHerb48BP[]; -extern const u8 gText_BrightPowder64BP[]; -extern const u8 gText_ChoiceBand64BP[]; -extern const u8 gText_KingsRock64BP[]; -extern const u8 gText_FocusBand64BP[]; -extern const u8 gText_ScopeLens64BP[]; - -extern const u8 gText_EnergyPowder50[]; -extern const u8 gText_EnergyRoot80[]; -extern const u8 gText_HealPowder50[]; -extern const u8 gText_RevivalHerb300[]; -extern const u8 gText_Protein1000[]; -extern const u8 gText_Iron1000[]; -extern const u8 gText_Carbos1000[]; -extern const u8 gText_Calcium1000[]; -extern const u8 gText_Zinc1000[]; -extern const u8 gText_HPUp1000[]; -extern const u8 gText_PPUp3000[]; - extern const u8 gText_BattleTower2[]; extern const u8 gText_BattleDome[]; extern const u8 gText_BattlePalace[]; @@ -616,28 +539,6 @@ extern const u8 gText_BattlePyramid[]; extern const u8 gText_RankingHall[]; extern const u8 gText_ExchangeService[]; -// Battle Frontier Move Tutors -extern const u8 gText_Softboiled16BP[]; -extern const u8 gText_SeismicToss24BP[]; -extern const u8 gText_DreamEater24BP[]; -extern const u8 gText_MegaPunch24BP[]; -extern const u8 gText_MegaKick48BP[]; -extern const u8 gText_BodySlam48BP[]; -extern const u8 gText_RockSlide48BP[]; -extern const u8 gText_Counter48BP[]; -extern const u8 gText_ThunderWave48BP[]; -extern const u8 gText_SwordsDance48BP[]; -extern const u8 gText_DefenseCurl16BP[]; -extern const u8 gText_Snore24BP[]; -extern const u8 gText_MudSlap24BP[]; -extern const u8 gText_Swift24BP[]; -extern const u8 gText_IcyWind24BP[]; -extern const u8 gText_Endure48BP[]; -extern const u8 gText_PsychUp48BP[]; -extern const u8 gText_IcePunch48BP[]; -extern const u8 gText_ThunderPunch48BP[]; -extern const u8 gText_FirePunch48BP[]; - extern const u8 gText_SlateportCity[]; extern const u8 gText_BattleFrontier[]; extern const u8 gText_SouthernIsland[]; @@ -934,31 +835,13 @@ extern const u8 gText_SomeonesPC[]; extern const u8 gText_PlayersPC[]; extern const u8 gText_WhichPCShouldBeAccessed[]; -extern const u8 gText_Petalburg[]; -extern const u8 gText_Slateport[]; -extern const u8 gText_Enter2[]; extern const u8 gText_Info2[]; -extern const u8 gText_WhatsAContest[]; -extern const u8 gText_TypesOfContests[]; -extern const u8 gText_Ranks[]; extern const u8 gText_Decoration2[]; extern const u8 gText_PackUp[]; extern const u8 gText_Registry[]; extern const u8 gText_Information[]; -extern const u8 gText_Mach[]; -extern const u8 gText_Acro[]; -extern const u8 gText_Psn[]; -extern const u8 gText_Par[]; -extern const u8 gText_Slp[]; -extern const u8 gText_Brn[]; -extern const u8 gText_Frz[]; -extern const u8 gText_Dewford[]; -extern const u8 gText_SawIt[]; -extern const u8 gText_NotYet[]; extern const u8 gText_Yes[]; extern const u8 gText_No[]; -extern const u8 gText_Challenge[]; -extern const u8 gText_Info3[]; // Pokédex strings extern const u8 gText_SearchForPkmnBasedOnParameters[]; @@ -1009,41 +892,7 @@ extern const u8 gText_DexEmptyString[]; extern const u8 gText_DexSearchDontSpecify[]; extern const u8 gText_DexSearchTypeNone[]; -extern const u8 gText_FreshWaterAndPrice[]; -extern const u8 gText_SodaPopAndPrice[]; -extern const u8 gText_LemonadeAndPrice[]; -extern const u8 gText_HowToRide[]; -extern const u8 gText_HowToTurn[]; -extern const u8 gText_SandySlopes[]; -extern const u8 gText_Wheelies[]; -extern const u8 gText_BunnyHops[]; -extern const u8 gText_Jump[]; -extern const u8 gText_Satisfied[]; -extern const u8 gText_Dissatisfied[]; -extern const u8 gText_DeepSeaTooth[]; -extern const u8 gText_DeepSeaScale[]; -extern const u8 gText_BlueFlute2[]; -extern const u8 gText_YellowFlute2[]; -extern const u8 gText_RedFlute2[]; -extern const u8 gText_WhiteFlute2[]; -extern const u8 gText_BlackFlute2[]; -extern const u8 gText_GlassChair[]; -extern const u8 gText_GlassDesk[]; -extern const u8 gText_TreeckoDollAndPrice[]; -extern const u8 gText_TorchicDollAndPrice[]; -extern const u8 gText_MudkipDollAndPrice[]; -extern const u8 gText_TM32AndPrice[]; -extern const u8 gText_TM29AndPrice[]; -extern const u8 gText_TM35AndPrice[]; -extern const u8 gText_TM24AndPrice[]; -extern const u8 gText_TM13AndPrice[]; -extern const u8 gText_50CoinsAndPrice[]; -extern const u8 gText_500CoinsAndPrice[]; -extern const u8 gText_Excellent2[]; -extern const u8 gText_NotSoGood[]; extern const u8 gText_LilycoveCity[]; -extern const u8 gText_Right[]; -extern const u8 gText_Left[]; extern const u8 gText_RedShard[]; extern const u8 gText_YellowShard[]; extern const u8 gText_BlueShard[]; @@ -1054,79 +903,20 @@ extern const u8 gText_ReadyToStart[]; extern const u8 gText_Record2[]; extern const u8 gText_Rest[]; extern const u8 gText_Retire[]; -extern const u8 gText_RedTent[]; -extern const u8 gText_BlueTent[]; extern const u8 gText_TradeCenter[]; extern const u8 gText_Colosseum[]; extern const u8 gText_RecordCorner[]; -extern const u8 gText_SingleBattle[]; -extern const u8 gText_DoubleBattle[]; -extern const u8 gText_MultiBattle[]; extern const u8 gText_BerryCrush3[]; -extern const u8 gText_PokemonJump[]; -extern const u8 gText_DodrioBerryPicking[]; -extern const u8 gText_JoinGroup[]; -extern const u8 gText_BecomeLeader[]; -extern const u8 gText_NormalRank[]; -extern const u8 gText_SuperRank[]; -extern const u8 gText_HyperRank[]; -extern const u8 gText_MasterRank[]; -extern const u8 gText_BattleBag[]; -extern const u8 gText_HeldItem[]; -extern const u8 gText_LinkContest[]; -extern const u8 gText_AboutE_Mode[]; -extern const u8 gText_AboutG_Mode[]; -extern const u8 gText_E_Mode[]; -extern const u8 gText_G_Mode[]; extern const u8 gText_Blank[]; -extern const u8 gText_5BP[]; -extern const u8 gText_10BP[]; -extern const u8 gText_15BP[]; -extern const u8 gText_ClawFossil[]; -extern const u8 gText_RootFossil[]; -extern const u8 gText_No4[]; -extern const u8 gText_TwoStyles[]; -extern const u8 gText_Lv50_3[]; -extern const u8 gText_OpenLevel2[]; -extern const u8 gText_MonTypeAndNo[]; -extern const u8 gText_HoldItems[]; -extern const u8 gText_Symbols2[]; -extern const u8 gText_Record3[]; -extern const u8 gText_BattlePts[]; extern const u8 gText_BattleRules[]; extern const u8 gText_JudgeMind[]; extern const u8 gText_JudgeSkill[]; extern const u8 gText_JudgeBody[]; -extern const u8 gText_TowerInfo[]; -extern const u8 gText_BattleMon[]; -extern const u8 gText_BattleSalon[]; -extern const u8 gText_MultiLink2[]; -extern const u8 gText_Matchup[]; -extern const u8 gText_TourneyTree[]; -extern const u8 gText_DoubleKO[]; extern const u8 gText_BasicRules[]; extern const u8 gText_SwapPartners[]; extern const u8 gText_SwapNumber[]; extern const u8 gText_SwapNotes[]; -extern const u8 gText_OpenLevel3[]; -extern const u8 gText_PyramidPokemon[]; -extern const u8 gText_PyramidTrainers[]; -extern const u8 gText_PyramidMaze[]; -extern const u8 gText_BattleBag2[]; -extern const u8 gText_PokenavAndBag[]; -extern const u8 gText_HeldItems[]; -extern const u8 gText_PokemonOrder[]; extern const u8 gText_GoOn[]; -extern const u8 gText_Red[]; -extern const u8 gText_Blue[]; -extern const u8 gText_IllBattleNow[]; -extern const u8 gText_IWon[]; -extern const u8 gText_ILost[]; -extern const u8 gText_IWontTell[]; -extern const u8 gText_CaveOfOrigin[]; -extern const u8 gText_MtPyre[]; -extern const u8 gText_SkyPillar[]; -extern const u8 gText_DontRemember[]; extern const u8 gText_BattlePokemon[]; extern const u8 gText_NormalTagMatch[]; extern const u8 gText_VarietyTagMatch[]; @@ -2697,9 +2487,6 @@ extern const u8 gText_ExpShareOff[]; extern const u8 gText_BasePointsResetToZero[]; -extern const u8 gText_Fertilize[]; -extern const u8 gText_PlantBerry[]; - // Map name pop-up extern const u8 gText_AM[]; extern const u8 gText_PM[]; diff --git a/src/data/script_menu.h b/src/data/script_menu.h index 3b29171327..fc0b574a2f 100644 --- a/src/data/script_menu.h +++ b/src/data/script_menu.h @@ -1,23 +1,23 @@ // multichoice lists static const struct MenuAction MultichoiceList_BrineyOnDewford[] = { - {gText_Petalburg}, - {gText_Slateport}, + {COMPOUND_STRING("PETALBURG")}, + {COMPOUND_STRING("SLATEPORT")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_EnterInfo[] = { - {gText_Enter2}, + {COMPOUND_STRING("ENTER")}, {gText_Info2}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_ContestInfo[] = { - {gText_WhatsAContest}, - {gText_TypesOfContests}, - {gText_Ranks}, + {COMPOUND_STRING("What's a CONTEST?")}, + {COMPOUND_STRING("Types of CONTESTS")}, + {COMPOUND_STRING("Ranks")}, {gText_Cancel2}, }; @@ -56,30 +56,30 @@ static const struct MenuAction MultichoiceList_RegisterMenu[] = static const struct MenuAction MultichoiceList_Bike[] = { - {gText_Mach}, - {gText_Acro}, + {COMPOUND_STRING("MACH")}, + {COMPOUND_STRING("ACRO")}, }; static const struct MenuAction MultichoiceList_StatusInfo[] = { - {gText_Psn}, - {gText_Par}, - {gText_Slp}, - {gText_Brn}, - {gText_Frz}, + {COMPOUND_STRING("PSN")}, + {COMPOUND_STRING("PAR")}, + {COMPOUND_STRING("SLP")}, + {COMPOUND_STRING("BRN")}, + {COMPOUND_STRING("FRZ")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_BrineyOffDewford[] = { - {gText_Dewford}, + {COMPOUND_STRING("DEWFORD")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_ViewedPaintings[] = { - {gText_SawIt}, - {gText_NotYet}, + {COMPOUND_STRING("Saw it")}, + {COMPOUND_STRING("Not yet")}, }; static const struct MenuAction MultichoiceList_YesNoInfo2[] = @@ -91,8 +91,8 @@ static const struct MenuAction MultichoiceList_YesNoInfo2[] = static const struct MenuAction MultichoiceList_ChallengeInfo[] = { - {gText_Challenge}, - {gText_Info3}, + {COMPOUND_STRING("CHALLENGE")}, + {COMPOUND_STRING("INFO")}, {gText_Exit}, }; @@ -210,82 +210,82 @@ static const struct MenuAction MultichoiceList_Mechadoll5_Q3[] = static const struct MenuAction MultichoiceList_VendingMachine[] = { - {gText_FreshWaterAndPrice}, - {gText_SodaPopAndPrice}, - {gText_LemonadeAndPrice}, + {COMPOUND_STRING("FRESH WATER{CLEAR_TO 0x48}¥200")}, + {COMPOUND_STRING("SODA POP{CLEAR_TO 0x48}¥300")}, + {COMPOUND_STRING("LEMONADE{CLEAR_TO 0x48}¥350")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_MachBikeInfo[] = { - {gText_HowToRide}, - {gText_HowToTurn}, - {gText_SandySlopes}, + {COMPOUND_STRING("HOW TO RIDE")}, + {COMPOUND_STRING("HOW TO TURN")}, + {COMPOUND_STRING("SANDY SLOPES")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_AcroBikeInfo[] = { - {gText_Wheelies}, - {gText_BunnyHops}, - {gText_Jump}, + {COMPOUND_STRING("WHEELIES")}, + {COMPOUND_STRING("BUNNY-HOPS")}, + {COMPOUND_STRING("JUMP")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_Satisfaction[] = { - {gText_Satisfied}, - {gText_Dissatisfied}, + {COMPOUND_STRING("Satisfied")}, + {COMPOUND_STRING("Dissatisfied")}, }; static const struct MenuAction MultichoiceList_SternDeepSea[] = { - {gText_DeepSeaTooth}, - {gText_DeepSeaScale}, + {COMPOUND_STRING("DEEPSEATOOTH")}, + {COMPOUND_STRING("DEEPSEASCALE")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_UnusedAshVendor[] = { - {gText_BlueFlute2}, - {gText_YellowFlute2}, - {gText_RedFlute2}, - {gText_WhiteFlute2}, - {gText_BlackFlute2}, - {gText_GlassChair}, - {gText_GlassDesk}, + {COMPOUND_STRING("BLUE FLUTE")}, + {COMPOUND_STRING("YELLOW FLUTE")}, + {COMPOUND_STRING("RED FLUTE")}, + {COMPOUND_STRING("WHITE FLUTE")}, + {COMPOUND_STRING("BLACK FLUTE")}, + {COMPOUND_STRING("GLASS CHAIR")}, + {COMPOUND_STRING("GLASS DESK")}, {gText_Cancel2}, }; static const struct MenuAction MultichoiceList_GameCornerDolls[] = { - {gText_TreeckoDollAndPrice}, - {gText_TorchicDollAndPrice}, - {gText_MudkipDollAndPrice}, + {COMPOUND_STRING("TREECKO DOLL 1,000 COINS")}, + {COMPOUND_STRING("TORCHIC DOLL 1,000 COINS")}, + {COMPOUND_STRING("MUDKIP DOLL 1,000 COINS")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_GameCornerTMs[] = { - {gText_TM32AndPrice}, - {gText_TM29AndPrice}, - {gText_TM35AndPrice}, - {gText_TM24AndPrice}, - {gText_TM13AndPrice}, + {COMPOUND_STRING("TM32{CLEAR_TO 0x48}1,500 COINS")}, + {COMPOUND_STRING("TM29{CLEAR_TO 0x48}3,500 COINS")}, + {COMPOUND_STRING("TM35{CLEAR_TO 0x48}4,000 COINS")}, + {COMPOUND_STRING("TM24{CLEAR_TO 0x48}4,000 COINS")}, + {COMPOUND_STRING("TM13{CLEAR_TO 0x48}4,000 COINS")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_GameCornerCoins[] = { - {gText_50CoinsAndPrice}, - {gText_500CoinsAndPrice}, + {COMPOUND_STRING(" 50 COINS ¥1,000")}, + {COMPOUND_STRING("500 COINS ¥10,000")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_HowsFishing[] = { - {gText_Excellent2}, - {gText_NotSoGood}, + {COMPOUND_STRING("Excellent")}, + {COMPOUND_STRING("Not so good")}, }; static const struct MenuAction MultichoiceList_SSTidalSlateportWithBF[] = @@ -304,8 +304,8 @@ static const struct MenuAction MultichoiceList_SSTidalBattleFrontier[] = static const struct MenuAction MultichoiceList_RightLeft[] = { - {gText_Right}, - {gText_Left}, + {COMPOUND_STRING("Right")}, + {COMPOUND_STRING("Left")}, }; static const struct MenuAction MultichoiceList_SSTidalSlateportNoBF[] = @@ -452,8 +452,8 @@ static const struct MenuAction MultichoiceList_TourneyNoRecord[] = static const struct MenuAction MultichoiceList_Tent[] = { - {gText_RedTent}, - {gText_BlueTent}, + {COMPOUND_STRING("RED TENT")}, + {COMPOUND_STRING("BLUE TENT")}, }; static const struct MenuAction MultichoiceList_LinkServicesNoBerry[] = @@ -473,9 +473,9 @@ static const struct MenuAction MultichoiceList_YesNoInfo[] = static const struct MenuAction MultichoiceList_BattleMode[] = { - {gText_SingleBattle}, - {gText_DoubleBattle}, - {gText_MultiBattle}, + {COMPOUND_STRING("SINGLE BATTLE")}, + {COMPOUND_STRING("DOUBLE BATTLE")}, + {COMPOUND_STRING("MULTI BATTLE")}, {gText_Info2}, {gText_Exit}, }; @@ -506,46 +506,46 @@ static const struct MenuAction MultichoiceList_LinkServicesNoRecordBerry[] = static const struct MenuAction MultichoiceList_WirelessMinigame[] = { - {gText_PokemonJump}, - {gText_DodrioBerryPicking}, + {COMPOUND_STRING("POKéMON JUMP")}, + {COMPOUND_STRING("DODRIO BERRY-PICKING")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_LinkLeader[] = { - {gText_JoinGroup}, - {gText_BecomeLeader}, + {COMPOUND_STRING("JOIN GROUP")}, + {COMPOUND_STRING("BECOME LEADER")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_ContestRank[] = { - {gText_NormalRank}, - {gText_SuperRank}, - {gText_HyperRank}, - {gText_MasterRank}, + {COMPOUND_STRING("NORMAL RANK")}, + {COMPOUND_STRING("SUPER RANK")}, + {COMPOUND_STRING("HYPER RANK")}, + {COMPOUND_STRING("MASTER RANK")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_FrontierItemChoose[] = { - {gText_BattleBag}, - {gText_HeldItem}, + {COMPOUND_STRING("BATTLE BAG")}, + {COMPOUND_STRING("HELD ITEM")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_LinkContestInfo[] = { - {gText_LinkContest}, - {gText_AboutE_Mode}, - {gText_AboutG_Mode}, + {COMPOUND_STRING("LINK CONTEST")}, + {COMPOUND_STRING("ABOUT E-MODE")}, + {COMPOUND_STRING("ABOUT G-MODE")}, {gText_Cancel2}, }; static const struct MenuAction MultichoiceList_LinkContestMode[] = { - {gText_E_Mode}, - {gText_G_Mode}, + {COMPOUND_STRING("E-MODE")}, + {COMPOUND_STRING("G-MODE")}, {gText_Exit}, }; @@ -563,9 +563,9 @@ static const struct MenuAction MultichoiceList_ForcedStartMenu[] = static const struct MenuAction MultichoiceList_FrontierGamblerBet[] = { - {gText_5BP}, - {gText_10BP}, - {gText_15BP}, + {COMPOUND_STRING(" 5BP")}, + {COMPOUND_STRING("10BP")}, + {COMPOUND_STRING("15BP")}, {gText_Exit}, }; @@ -600,32 +600,32 @@ static const struct MenuAction MultichoiceList_UnusedSSTidal4[] = static const struct MenuAction MultichoiceList_Fossil[] = { - {gText_ClawFossil}, - {gText_RootFossil}, + {COMPOUND_STRING("CLAW FOSSIL")}, + {COMPOUND_STRING("ROOT FOSSIL")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_YesNo[] = { {gText_Yes}, - {gText_No4}, + {COMPOUND_STRING("NO")}, }; static const struct MenuAction MultichoiceList_FrontierRules[] = { - {gText_TwoStyles}, - {gText_Lv50_3}, - {gText_OpenLevel2}, - {gText_MonTypeAndNo}, - {gText_HoldItems}, + {COMPOUND_STRING("TWO STYLES")}, + {COMPOUND_STRING("LV. 50")}, + {COMPOUND_STRING("OPEN LEVEL")}, + {COMPOUND_STRING("{PKMN} TYPE & NO.")}, + {COMPOUND_STRING("HOLD ITEMS")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_FrontierPassInfo[] = { - {gText_Symbols2}, - {gText_Record3}, - {gText_BattlePts}, + {COMPOUND_STRING("SYMBOLS")}, + {COMPOUND_STRING("RECORD")}, + {COMPOUND_STRING("BATTLE PTS")}, {gText_Exit}, }; @@ -640,18 +640,18 @@ static const struct MenuAction MultichoiceList_BattleArenaRules[] = static const struct MenuAction MultichoiceList_BattleTowerRules[] = { - {gText_TowerInfo}, - {gText_BattleMon}, - {gText_BattleSalon}, - {gText_MultiLink2}, + {COMPOUND_STRING("TOWER INFO")}, + {COMPOUND_STRING("BATTLE {PKMN}")}, + {COMPOUND_STRING("BATTLE SALON")}, + {COMPOUND_STRING("MULTI-LINK")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_BattleDomeRules[] = { - {gText_Matchup}, - {gText_TourneyTree}, - {gText_DoubleKO}, + {COMPOUND_STRING("MATCHUP")}, + {COMPOUND_STRING("TOURNEY TREE")}, + {COMPOUND_STRING("DOUBLE KO")}, {gText_Exit}, }; @@ -661,7 +661,7 @@ static const struct MenuAction MultichoiceList_BattleFactoryRules[] = {gText_SwapPartners}, {gText_SwapNumber}, {gText_SwapNotes}, - {gText_OpenLevel3}, + {COMPOUND_STRING("OPEN LEVEL")}, {gText_Exit}, }; @@ -677,18 +677,18 @@ static const struct MenuAction MultichoiceList_BattlePalaceRules[] = static const struct MenuAction MultichoiceList_BattlePyramidRules[] = { - {gText_PyramidPokemon}, - {gText_PyramidTrainers}, - {gText_PyramidMaze}, - {gText_BattleBag2}, + {COMPOUND_STRING("PYRAMID: POKéMON")}, + {COMPOUND_STRING("PYRAMID: TRAINERS")}, + {COMPOUND_STRING("PYRAMID: MAZE")}, + {COMPOUND_STRING("BATTLE BAG")}, {gText_Exit}, }; static const struct MenuAction MultichoiceList_BattlePikeRules[] = { - {gText_PokenavAndBag}, - {gText_HeldItems}, - {gText_PokemonOrder}, + {COMPOUND_STRING("POKéNAV AND BAG")}, + {COMPOUND_STRING("HELD ITEMS")}, + {COMPOUND_STRING("POKéMON ORDER")}, {gText_Exit}, }; @@ -722,24 +722,24 @@ static const struct MenuAction MultichoiceList_GoOnRetire[] = static const struct MenuAction MultichoiceList_TVLati[] = { - {gText_Red}, - {gText_Blue}, + {COMPOUND_STRING("RED")}, + {COMPOUND_STRING("BLUE")}, }; static const struct MenuAction MultichoiceList_BattleTowerFeelings[] = { - {gText_IllBattleNow}, - {gText_IWon}, - {gText_ILost}, - {gText_IWontTell}, + {COMPOUND_STRING("I'll battle now!")}, + {COMPOUND_STRING("I won!")}, + {COMPOUND_STRING("I lost!")}, + {COMPOUND_STRING("I won't tell.")}, }; static const struct MenuAction MultichoiceList_WheresRayquaza[] = { - {gText_CaveOfOrigin}, - {gText_MtPyre}, - {gText_SkyPillar}, - {gText_DontRemember}, + {COMPOUND_STRING("CAVE OF ORIGIN")}, + {COMPOUND_STRING("MT. PYRE")}, + {COMPOUND_STRING("SKY PILLAR")}, + {COMPOUND_STRING("Don't remember")}, }; static const struct MenuAction MultichoiceList_SlateportTentRules[] = @@ -773,8 +773,8 @@ static const struct MenuAction MultichoiceList_TagMatchType[] = static const struct MenuAction MultichoiceList_BerryPlot[] = { - {gText_Fertilize}, - {gText_PlantBerry}, + {COMPOUND_STRING("FERTILIZE")}, + {COMPOUND_STRING("PLANT BERRY")}, {gText_Exit}, }; diff --git a/src/field_specials.c b/src/field_specials.c index f5154f8424..680b527dc7 100644 --- a/src/field_specials.c +++ b/src/field_specials.c @@ -148,6 +148,15 @@ static void BufferFanClubTrainerName_(struct LinkBattleRecords *, u8, u8); static void BufferFanClubTrainerName_(u8 whichLinkTrainer, u8 whichNPCTrainer); #endif //FREE_LINK_BATTLE_RECORDS +static const u8 sText_BigGuy[] = _("Big guy"); +static const u8 sText_BigGirl[] = _("Big girl"); +static const u8 sText_Son[] = _("son"); +static const u8 sText_Daughter[] = _("daughter"); +static const u8 sText_99TimesPlus[] = _("99 times +"); +static const u8 sText_1MinutePlus[] = _("1 minute +"); +static const u8 sText_SpaceSeconds[] = _(" seconds"); +static const u8 sText_SpaceTimes[] = _(" time(s)"); + void Special_ShowDiploma(void) { SetMainCallback2(CB2_ShowDiploma); @@ -191,11 +200,11 @@ static void DetermineCyclingRoadResults(u32 numFrames, u8 numBikeCollisions) if (numBikeCollisions < 100) { ConvertIntToDecimalStringN(gStringVar1, numBikeCollisions, STR_CONV_MODE_LEFT_ALIGN, 2); - StringAppend(gStringVar1, gText_SpaceTimes); + StringAppend(gStringVar1, sText_SpaceTimes); } else { - StringCopy(gStringVar1, gText_99TimesPlus); + StringCopy(gStringVar1, sText_99TimesPlus); } if (numFrames < 3600) @@ -203,11 +212,11 @@ static void DetermineCyclingRoadResults(u32 numFrames, u8 numBikeCollisions) ConvertIntToDecimalStringN(gStringVar2, numFrames / 60, STR_CONV_MODE_RIGHT_ALIGN, 2); gStringVar2[2] = CHAR_DEC_SEPARATOR; ConvertIntToDecimalStringN(&gStringVar2[3], ((numFrames % 60) * 100) / 60, STR_CONV_MODE_LEADING_ZEROS, 2); - StringAppend(gStringVar2, gText_SpaceSeconds); + StringAppend(gStringVar2, sText_SpaceSeconds); } else { - StringCopy(gStringVar2, gText_1MinutePlus); + StringCopy(gStringVar2, sText_1MinutePlus); } result = 0; @@ -916,17 +925,17 @@ u8 GetPlayerTrainerIdOnesDigit(void) void GetPlayerBigGuyGirlString(void) { if (gSaveBlock2Ptr->playerGender == MALE) - StringCopy(gStringVar1, gText_BigGuy); + StringCopy(gStringVar1, sText_BigGuy); else - StringCopy(gStringVar1, gText_BigGirl); + StringCopy(gStringVar1, sText_BigGirl); } void GetRivalSonDaughterString(void) { if (gSaveBlock2Ptr->playerGender == MALE) - StringCopy(gStringVar1, gText_Daughter); + StringCopy(gStringVar1, sText_Daughter); else - StringCopy(gStringVar1, gText_Son); + StringCopy(gStringVar1, sText_Son); } u8 GetBattleOutcome(void) @@ -2421,89 +2430,89 @@ static const u8 *const sScrollableMultichoiceOptions[][MAX_SCROLL_MULTI_LENGTH] }, [SCROLL_MULTI_GLASS_WORKSHOP_VENDOR] = { - gText_BlueFlute, - gText_YellowFlute, - gText_RedFlute, - gText_WhiteFlute, - gText_BlackFlute, - gText_PrettyChair, - gText_PrettyDesk, + COMPOUND_STRING("BLUE FLUTE"), + COMPOUND_STRING("YELLOW FLUTE"), + COMPOUND_STRING("RED FLUTE"), + COMPOUND_STRING("WHITE FLUTE"), + COMPOUND_STRING("BLACK FLUTE"), + COMPOUND_STRING("PRETTY CHAIR"), + COMPOUND_STRING("PRETTY DESK"), gText_Exit }, [SCROLL_MULTI_POKEMON_FAN_CLUB_RATER] = { - gText_0Pts, - gText_10Pts, - gText_20Pts, - gText_30Pts, - gText_40Pts, - gText_50Pts, - gText_60Pts, - gText_70Pts, - gText_80Pts, - gText_90Pts, - gText_100Pts, - gText_QuestionMark + COMPOUND_STRING("0 pts"), + COMPOUND_STRING("10 pts"), + COMPOUND_STRING("20 pts"), + COMPOUND_STRING("30 pts"), + COMPOUND_STRING("40 pts"), + COMPOUND_STRING("50 pts"), + COMPOUND_STRING("60 pts"), + COMPOUND_STRING("70 pts"), + COMPOUND_STRING("80 pts"), + COMPOUND_STRING("90 pts"), + COMPOUND_STRING("100 pts"), + COMPOUND_STRING("?") }, [SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_1] = { - gText_KissPoster16BP, - gText_KissCushion32BP, - gText_SmoochumDoll32BP, - gText_TogepiDoll48BP, - gText_MeowthDoll48BP, - gText_ClefairyDoll48BP, - gText_DittoDoll48BP, - gText_CyndaquilDoll80BP, - gText_ChikoritaDoll80BP, - gText_TotodileDoll80BP, + COMPOUND_STRING("KISS POSTER{CLEAR_TO 0x5E}16BP"), + COMPOUND_STRING("KISS CUSHION{CLEAR_TO 0x5E}32BP"), + COMPOUND_STRING("SMOOCHUM DOLL{CLEAR_TO 0x5E}32BP"), + COMPOUND_STRING("TOGEPI DOLL{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("MEOWTH DOLL{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("CLEFAIRY DOLL{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("DITTO DOLL{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("CYNDAQUIL DOLL{CLEAR_TO 0x5E}80BP"), + COMPOUND_STRING("CHIKORITA DOLL{CLEAR_TO 0x5E}80BP"), + COMPOUND_STRING("TOTODILE DOLL{CLEAR_TO 0x5E}80BP"), gText_Exit }, [SCROLL_MULTI_BF_EXCHANGE_CORNER_DECOR_VENDOR_2] = { - gText_LaprasDoll128BP, - gText_SnorlaxDoll128BP, - gText_VenusaurDoll256BP, - gText_CharizardDoll256BP, - gText_BlastoiseDoll256BP, + COMPOUND_STRING("LAPRAS DOLL{CLEAR_TO 0x58}128BP"), + COMPOUND_STRING("SNORLAX DOLL{CLEAR_TO 0x58}128BP"), + COMPOUND_STRING("VENUSAUR DOLL{CLEAR_TO 0x58}256BP"), + COMPOUND_STRING("CHARIZARD DOLL{CLEAR_TO 0x58}256BP"), + COMPOUND_STRING("BLASTOISE DOLL{CLEAR_TO 0x58}256BP"), gText_Exit }, [SCROLL_MULTI_BF_EXCHANGE_CORNER_VITAMIN_VENDOR] = { - gText_Protein1BP, - gText_Calcium1BP, - gText_Iron1BP, - gText_Zinc1BP, - gText_Carbos1BP, - gText_HpUp1BP, + COMPOUND_STRING("PROTEIN{CLEAR_TO 0x64}1BP"), + COMPOUND_STRING("CALCIUM{CLEAR_TO 0x64}1BP"), + COMPOUND_STRING("IRON{CLEAR_TO 0x64}1BP"), + COMPOUND_STRING("ZINC{CLEAR_TO 0x64}1BP"), + COMPOUND_STRING("CARBOS{CLEAR_TO 0x64}1BP"), + COMPOUND_STRING("HP UP{CLEAR_TO 0x64}1BP"), gText_Exit }, [SCROLL_MULTI_BF_EXCHANGE_CORNER_HOLD_ITEM_VENDOR] = { - gText_Leftovers48BP, - gText_WhiteHerb48BP, - gText_QuickClaw48BP, - gText_MentalHerb48BP, - gText_BrightPowder64BP, - gText_ChoiceBand64BP, - gText_KingsRock64BP, - gText_FocusBand64BP, - gText_ScopeLens64BP, + COMPOUND_STRING("LEFTOVERS{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("WHITE HERB{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("QUICK CLAW{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("MENTAL HERB{CLEAR_TO 0x5E}48BP"), + COMPOUND_STRING("BRIGHTPOWDER{CLEAR_TO 0x5E}64BP"), + COMPOUND_STRING("CHOICE BAND{CLEAR_TO 0x5E}64BP"), + COMPOUND_STRING("KING'S ROCK{CLEAR_TO 0x5E}64BP"), + COMPOUND_STRING("FOCUS BAND{CLEAR_TO 0x5E}64BP"), + COMPOUND_STRING("SCOPE LENS{CLEAR_TO 0x5E}64BP"), gText_Exit }, [SCROLL_MULTI_BERRY_POWDER_VENDOR] = { - gText_EnergyPowder50, - gText_EnergyRoot80, - gText_HealPowder50, - gText_RevivalHerb300, - gText_Protein1000, - gText_Iron1000, - gText_Carbos1000, - gText_Calcium1000, - gText_Zinc1000, - gText_HPUp1000, - gText_PPUp3000, + COMPOUND_STRING("ENERGYPOWDER{CLEAR_TO 114}{FONT_SMALL}50"), + COMPOUND_STRING("ENERGY ROOT{CLEAR_TO 114}{FONT_SMALL}80"), + COMPOUND_STRING("HEAL POWDER{CLEAR_TO 114}{FONT_SMALL}50"), + COMPOUND_STRING("REVIVAL HERB{CLEAR_TO 108}{FONT_SMALL}300"), + COMPOUND_STRING("PROTEIN{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("IRON{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("CARBOS{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("CALCIUM{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("ZINC{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("HP UP{CLEAR_TO 99}{FONT_SMALL}1,000"), + COMPOUND_STRING("PP UP{CLEAR_TO 99}{FONT_SMALL}3,000"), gText_Exit }, [SCROLL_MULTI_BF_RECEPTIONIST] = @@ -2521,30 +2530,30 @@ static const u8 *const sScrollableMultichoiceOptions[][MAX_SCROLL_MULTI_LENGTH] }, [SCROLL_MULTI_BF_MOVE_TUTOR_1] = { - gText_Softboiled16BP, - gText_SeismicToss24BP, - gText_DreamEater24BP, - gText_MegaPunch24BP, - gText_MegaKick48BP, - gText_BodySlam48BP, - gText_RockSlide48BP, - gText_Counter48BP, - gText_ThunderWave48BP, - gText_SwordsDance48BP, + COMPOUND_STRING("SOFTBOILED{CLEAR_TO 0x4E}16BP"), + COMPOUND_STRING("SEISMIC TOSS{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("DREAM EATER{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("MEGA PUNCH{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("MEGA KICK{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("BODY SLAM{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("ROCK SLIDE{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("COUNTER{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("THUNDER WAVE{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("SWORDS DANCE{CLEAR_TO 0x4E}48BP"), gText_Exit }, [SCROLL_MULTI_BF_MOVE_TUTOR_2] = { - gText_DefenseCurl16BP, - gText_Snore24BP, - gText_MudSlap24BP, - gText_Swift24BP, - gText_IcyWind24BP, - gText_Endure48BP, - gText_PsychUp48BP, - gText_IcePunch48BP, - gText_ThunderPunch48BP, - gText_FirePunch48BP, + COMPOUND_STRING("DEFENSE CURL{CLEAR_TO 0x4E}16BP"), + COMPOUND_STRING("SNORE{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("MUD-SLAP{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("SWIFT{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("ICY WIND{CLEAR_TO 0x4E}24BP"), + COMPOUND_STRING("ENDURE{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("PSYCH UP{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("ICE PUNCH{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("THUNDERPUNCH{CLEAR_TO 0x4E}48BP"), + COMPOUND_STRING("FIRE PUNCH{CLEAR_TO 0x4E}48BP"), gText_Exit }, [SCROLL_MULTI_SS_TIDAL_DESTINATION] = diff --git a/src/strings.c b/src/strings.c index b886ac639f..f5372c96e0 100644 --- a/src/strings.c +++ b/src/strings.c @@ -513,17 +513,7 @@ const u8 gText_Brawly[] = _("BRAWLY"); const u8 gText_Winona[] = _("WINONA"); const u8 gText_Phoebe[] = _("PHOEBE"); const u8 gText_Glacia[] = _("GLACIA"); -const u8 gText_Petalburg[] = _("PETALBURG"); -const u8 gText_Slateport[] = _("SLATEPORT"); -const u8 gText_Littleroot[] = _("LITTLEROOT"); // Unused. Given the context, Briney may at one point have been able to sail the player here -const u8 gText_Lilycove[] = _("LILYCOVE"); // Unused. Given the context, Briney may at one point have been able to sail the player here -const u8 gText_Dewford[] = _("DEWFORD"); -const u8 gText_Enter2[] = _("ENTER"); const u8 gText_Info2[] = _("INFO"); -const u8 gText_WhatsAContest[] = _("What's a CONTEST?"); -const u8 gText_TypesOfContests[] = _("Types of CONTESTS"); -const u8 gText_Ranks[] = _("Ranks"); -const u8 gText_Judging[] = _("Judging"); //unused const u8 gText_CoolnessContest[] = _("COOLNESS CONTEST"); const u8 gText_BeautyContest[] = _("BEAUTY CONTEST"); const u8 gText_CutenessContest[] = _("CUTENESS CONTEST"); @@ -531,71 +521,17 @@ const u8 gText_SmartnessContest[] = _("SMARTNESS CONTEST"); const u8 gText_ToughnessContest[] = _("TOUGHNESS CONTEST"); const u8 gText_Decoration2[] = _("DECORATION"); const u8 gText_PackUp[] = _("PACK UP"); -const u8 gText_Count[] = _("COUNT"); //unused const u8 gText_Registry[] = _("REGISTRY"); const u8 gText_Information[] = _("INFORMATION"); -const u8 gText_Mach[] = _("MACH"); -const u8 gText_Acro[] = _("ACRO"); -const u8 gText_Psn[] = _("PSN"); -const u8 gText_Par[] = _("PAR"); -const u8 gText_Slp[] = _("SLP"); -const u8 gText_Brn[] = _("BRN"); -const u8 gText_Frz[] = _("FRZ"); -const u8 gText_Toxic[] = _("TOXIC"); // Unused -const u8 gText_Ok3[] = _("OK"); // Unused -const u8 gText_Quit[] = _("QUIT"); // Unused -const u8 gText_SawIt[] = _("Saw it"); -const u8 gText_NotYet[] = _("Not yet"); const u8 gText_Yes[] = _("YES"); const u8 gText_No[] = _("NO"); -const u8 gText_Info4[] = _("INFO"); // Unused -const u8 gText_SingleBattle[] = _("SINGLE BATTLE"); -const u8 gText_DoubleBattle[] = _("DOUBLE BATTLE"); -const u8 gText_MultiBattle[] = _("MULTI BATTLE"); -const u8 gText_MrBriney[] = _("MR. BRINEY"); // Unused -const u8 gText_Challenge[] = _("CHALLENGE"); -const u8 gText_Info3[] = _("INFO"); const u8 gText_Lv50[] = _("LV. 50"); const u8 gText_OpenLevel[] = _("OPEN LEVEL"); -const u8 gText_FreshWaterAndPrice[] = _("FRESH WATER{CLEAR_TO 0x48}¥200"); -const u8 gText_SodaPopAndPrice[] = _("SODA POP{CLEAR_TO 0x48}¥300"); -const u8 gText_LemonadeAndPrice[] = _("LEMONADE{CLEAR_TO 0x48}¥350"); -const u8 gText_HowToRide[] = _("HOW TO RIDE"); -const u8 gText_HowToTurn[] = _("HOW TO TURN"); -const u8 gText_SandySlopes[] = _("SANDY SLOPES"); -const u8 gText_Wheelies[] = _("WHEELIES"); -const u8 gText_BunnyHops[] = _("BUNNY-HOPS"); -const u8 gText_Jump[] = _("JUMP"); -const u8 gText_Satisfied[] = _("Satisfied"); -const u8 gText_Dissatisfied[] = _("Dissatisfied"); -const u8 gText_DeepSeaTooth[] = _("DEEPSEATOOTH"); -const u8 gText_DeepSeaScale[] = _("DEEPSEASCALE"); -const u8 gText_BlueFlute2[] = _("BLUE FLUTE"); -const u8 gText_YellowFlute2[] = _("YELLOW FLUTE"); -const u8 gText_RedFlute2[] = _("RED FLUTE"); -const u8 gText_WhiteFlute2[] = _("WHITE FLUTE"); -const u8 gText_BlackFlute2[] = _("BLACK FLUTE"); -const u8 gText_GlassChair[] = _("GLASS CHAIR"); -const u8 gText_GlassDesk[] = _("GLASS DESK"); -const u8 gText_TreeckoDollAndPrice[] = _("TREECKO DOLL 1,000 COINS"); -const u8 gText_TorchicDollAndPrice[] = _("TORCHIC DOLL 1,000 COINS"); -const u8 gText_MudkipDollAndPrice[] = _("MUDKIP DOLL 1,000 COINS"); -const u8 gText_50CoinsAndPrice[] = _(" 50 COINS ¥1,000"); -const u8 gText_500CoinsAndPrice[] = _("500 COINS ¥10,000"); -const u8 gText_Excellent2[] = _("Excellent"); -const u8 gText_NotSoGood[] = _("Not so good"); const u8 gText_RedShard[] = _("RED SHARD"); const u8 gText_YellowShard[] = _("YELLOW SHARD"); const u8 gText_BlueShard[] = _("BLUE SHARD"); const u8 gText_GreenShard[] = _("GREEN SHARD"); const u8 gText_BattleFrontier[] = _("BATTLE FRONTIER"); -const u8 gText_Right[] = _("Right"); -const u8 gText_Left[] = _("Left"); -const u8 gText_TM32AndPrice[] = _("TM32{CLEAR_TO 0x48}1,500 COINS"); -const u8 gText_TM29AndPrice[] = _("TM29{CLEAR_TO 0x48}3,500 COINS"); -const u8 gText_TM35AndPrice[] = _("TM35{CLEAR_TO 0x48}4,000 COINS"); -const u8 gText_TM24AndPrice[] = _("TM24{CLEAR_TO 0x48}4,000 COINS"); -const u8 gText_TM13AndPrice[] = _("TM13{CLEAR_TO 0x48}4,000 COINS"); const u8 gText_Cool[] = _("COOL"); const u8 gText_Beauty[] = _("BEAUTY"); const u8 gText_Cute[] = _("CUTE"); @@ -623,21 +559,10 @@ const u8 gText_LogOff[] = _("LOG OFF"); const u8 gText_Opponent[] = _("OPPONENT"); const u8 gText_Tourney_Tree[] = _("TOURNEY TREE"); const u8 gText_ReadyToStart[] = _("READY TO START"); -const u8 gText_NormalRank[] = _("NORMAL RANK"); -const u8 gText_SuperRank[] = _("SUPER RANK"); -const u8 gText_HyperRank[] = _("HYPER RANK"); -const u8 gText_MasterRank[] = _("MASTER RANK"); const u8 gText_Single2[] = _("SINGLE"); const u8 gText_Double2[] = _("DOUBLE"); const u8 gText_Multi[] = _("MULTI"); const u8 gText_MultiLink[] = _("MULTI-LINK"); -const u8 gText_BattleBag[] = _("BATTLE BAG"); -const u8 gText_HeldItem[] = _("HELD ITEM"); -const u8 gText_LinkContest[] = _("LINK CONTEST"); -const u8 gText_AboutE_Mode[] = _("ABOUT E-MODE"); -const u8 gText_AboutG_Mode[] = _("ABOUT G-MODE"); -const u8 gText_E_Mode[] = _("E-MODE"); -const u8 gText_G_Mode[] = _("G-MODE"); const u8 gText_MenuOptionPokedex[] = _("POKéDEX"); const u8 gText_MenuOptionPokemon[] = _("POKéMON"); const u8 gText_MenuOptionBag[] = _("BAG"); @@ -646,22 +571,10 @@ const u8 gText_Blank[] = _(""); const u8 gText_MenuOptionSave[] = _("SAVE"); const u8 gText_MenuOptionOption[] = _("OPTION"); const u8 gText_MenuOptionExit[] = _("EXIT"); -const u8 gText_5BP[] = _(" 5BP"); -const u8 gText_10BP[] = _("10BP"); -const u8 gText_15BP[] = _("15BP"); -const u8 gText_RedTent[] = _("RED TENT"); -const u8 gText_BlueTent[] = _("BLUE TENT"); const u8 gText_SouthernIsland[] = _("SOUTHERN ISLAND"); const u8 gText_BirthIsland[] = _("BIRTH ISLAND"); const u8 gText_FarawayIsland[] = _("FARAWAY ISLAND"); const u8 gText_NavelRock[] = _("NAVEL ROCK"); -const u8 gText_ClawFossil[] = _("CLAW FOSSIL"); -const u8 gText_RootFossil[] = _("ROOT FOSSIL"); -const u8 gText_No4[] = _("NO"); -const u8 gText_IllBattleNow[] = _("I'll battle now!"); -const u8 gText_IWon[] = _("I won!"); -const u8 gText_ILost[] = _("I lost!"); -const u8 gText_IWontTell[] = _("I won't tell."); const u8 gText_NormalTagMatch[] = _("NORMAL TAG MATCH"); const u8 gText_VarietyTagMatch[] = _("VARIETY TAG MATCH"); const u8 gText_UniqueTagMatch[] = _("UNIQUE TAG MATCH"); @@ -670,69 +583,25 @@ const u8 gText_TradeCenter[] = _("TRADE CENTER"); const u8 gText_Colosseum[] = _("COLOSSEUM"); const u8 gText_RecordCorner[] = _("RECORD CORNER"); const u8 gText_BerryCrush3[] = _("BERRY CRUSH"); -const u8 gText_EmptyLinkService[] = _(""); // Maybe Spin Trade? -const u8 gText_PokemonJump[] = _("POKéMON JUMP"); -const u8 gText_DodrioBerryPicking[] = _("DODRIO BERRY-PICKING"); -const u8 gText_BecomeLeader[] = _("BECOME LEADER"); -const u8 gText_JoinGroup[] = _("JOIN GROUP"); -const u8 gText_TwoStyles[] = _("TWO STYLES"); -const u8 gText_Lv50_3[] = _("LV. 50"); -const u8 gText_OpenLevel2[] = _("OPEN LEVEL"); -const u8 gText_MonTypeAndNo[] = _("{PKMN} TYPE & NO."); -const u8 gText_HoldItems[] = _("HOLD ITEMS"); -const u8 gText_Symbols2[] = _("SYMBOLS"); -const u8 gText_Record3[] = _("RECORD"); -const u8 gText_BattlePts[] = _("BATTLE PTS"); -const u8 gText_TowerInfo[] = _("TOWER INFO"); -const u8 gText_BattleMon[] = _("BATTLE {PKMN}"); -const u8 gText_BattleSalon[] = _("BATTLE SALON"); -const u8 gText_MultiLink2[] = _("MULTI-LINK"); const u8 gText_BattleRules[] = _("BATTLE RULES"); const u8 gText_JudgeMind[] = _("JUDGE: MIND"); const u8 gText_JudgeSkill[] = _("JUDGE: SKILL"); const u8 gText_JudgeBody[] = _("JUDGE: BODY"); -const u8 gText_Matchup[] = _("MATCHUP"); -const u8 gText_TourneyTree[] = _("TOURNEY TREE"); -const u8 gText_DoubleKO[] = _("DOUBLE KO"); const u8 gText_BasicRules[] = _("BASIC RULES"); const u8 gText_SwapPartners[] = _("SWAP: PARTNER"); const u8 gText_SwapNumber[] = _("SWAP: NUMBER"); const u8 gText_SwapNotes[] = _("SWAP: NOTES"); -const u8 gText_OpenLevel3[] = _("OPEN LEVEL"); const u8 gText_BattleBasics[] = _("BATTLE BASICS"); const u8 gText_PokemonNature[] = _("POKéMON NATURE"); const u8 gText_PokemonMoves[] = _("POKéMON MOVES"); const u8 gText_Underpowered[] = _("UNDERPOWERED"); const u8 gText_WhenInDanger[] = _("WHEN IN DANGER"); -const u8 gText_PyramidPokemon[] = _("PYRAMID: POKéMON"); -const u8 gText_PyramidTrainers[] = _("PYRAMID: TRAINERS"); -const u8 gText_PyramidMaze[] = _("PYRAMID: MAZE"); -const u8 gText_BattleBag2[] = _("BATTLE BAG"); -const u8 gText_PokenavAndBag[] = _("POKéNAV AND BAG"); -const u8 gText_HeldItems[] = _("HELD ITEMS"); -const u8 gText_PokemonOrder[] = _("POKéMON ORDER"); const u8 gText_BattlePokemon[] = _("BATTLE POKéMON"); const u8 gText_BattleTrainers[] = _("BATTLE TRAINERS"); const u8 gText_GoOn[] = _("GO ON"); const u8 gText_Record2[] = _("RECORD"); const u8 gText_Rest[] = _("REST"); const u8 gText_Retire[] = _("RETIRE"); -const u8 gText_99TimesPlus[] = _("99 times +"); -const u8 gText_1MinutePlus[] = _("1 minute +"); -const u8 gText_SpaceSeconds[] = _(" seconds"); -const u8 gText_SpaceTimes[] = _(" time(s)"); -const u8 gText_Dot[] = _("."); // Unused -const u8 gText_BigGuy[] = _("Big guy"); -const u8 gText_BigGirl[] = _("Big girl"); -const u8 gText_Son[] = _("son"); -const u8 gText_Daughter[] = _("daughter"); -const u8 gText_BlueFlute[] = _("BLUE FLUTE"); -const u8 gText_YellowFlute[] = _("YELLOW FLUTE"); -const u8 gText_RedFlute[] = _("RED FLUTE"); -const u8 gText_WhiteFlute[] = _("WHITE FLUTE"); -const u8 gText_BlackFlute[] = _("BLACK FLUTE"); -const u8 gText_PrettyChair[] = _("PRETTY CHAIR"); -const u8 gText_PrettyDesk[] = _("PRETTY DESK"); const u8 gText_1F[] = _("1F"); const u8 gText_2F[] = _("2F"); const u8 gText_3F[] = _("3F"); @@ -751,25 +620,10 @@ const u8 gText_B4F[] = _("B4F"); const u8 gText_Rooftop[] = _("ROOFTOP"); const u8 gText_ElevatorNowOn[] = _("Now on:"); const u8 gText_BP[] = _("BP"); -const u8 gText_EnergyPowder50[] = _("ENERGYPOWDER{CLEAR_TO 114}{FONT_SMALL}50"); -const u8 gText_EnergyRoot80[] = _("ENERGY ROOT{CLEAR_TO 114}{FONT_SMALL}80"); -const u8 gText_HealPowder50[] = _("HEAL POWDER{CLEAR_TO 114}{FONT_SMALL}50"); -const u8 gText_RevivalHerb300[] = _("REVIVAL HERB{CLEAR_TO 108}{FONT_SMALL}300"); -const u8 gText_Protein1000[] = _("PROTEIN{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_Iron1000[] = _("IRON{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_Carbos1000[] = _("CARBOS{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_Calcium1000[] = _("CALCIUM{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_Zinc1000[] = _("ZINC{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_HPUp1000[] = _("HP UP{CLEAR_TO 99}{FONT_SMALL}1,000"); -const u8 gText_PPUp3000[] = _("PP UP{CLEAR_TO 99}{FONT_SMALL}3,000"); const u8 gText_RankingHall[] = _("RANKING HALL"); const u8 gText_ExchangeService[] = _("EXCHANGE SERVICE"); const u8 gText_LilycoveCity[] = _("LILYCOVE CITY"); const u8 gText_SlateportCity[] = _("SLATEPORT CITY"); -const u8 gText_CaveOfOrigin[] = _("CAVE OF ORIGIN"); -const u8 gText_MtPyre[] = _("MT. PYRE"); -const u8 gText_SkyPillar[] = _("SKY PILLAR"); -const u8 gText_DontRemember[] = _("Don't remember"); const u8 gText_Exit[] = _("EXIT"); const u8 gText_YourPartysFull[] = _("Your party's full!{PAUSE_UNTIL_PRESS}"); const u8 gText_NatureSlash[] = _("NATURE/"); @@ -909,68 +763,6 @@ const u8 gText_Jackpot[] = _("jackpot"); const u8 gText_First[] = _("first"); const u8 gText_Second[] = _("second"); const u8 gText_Third[] = _("third"); -const u8 gText_0Pts[] = _("0 pts"); -const u8 gText_10Pts[] = _("10 pts"); -const u8 gText_20Pts[] = _("20 pts"); -const u8 gText_30Pts[] = _("30 pts"); -const u8 gText_40Pts[] = _("40 pts"); -const u8 gText_50Pts[] = _("50 pts"); -const u8 gText_60Pts[] = _("60 pts"); -const u8 gText_70Pts[] = _("70 pts"); -const u8 gText_80Pts[] = _("80 pts"); -const u8 gText_90Pts[] = _("90 pts"); -const u8 gText_100Pts[] = _("100 pts"); -const u8 gText_QuestionMark[] = _("?"); -const u8 gText_KissPoster16BP[] = _("KISS POSTER{CLEAR_TO 0x5E}16BP"); -const u8 gText_KissCushion32BP[] = _("KISS CUSHION{CLEAR_TO 0x5E}32BP"); -const u8 gText_SmoochumDoll32BP[] = _("SMOOCHUM DOLL{CLEAR_TO 0x5E}32BP"); -const u8 gText_TogepiDoll48BP[] = _("TOGEPI DOLL{CLEAR_TO 0x5E}48BP"); -const u8 gText_MeowthDoll48BP[] = _("MEOWTH DOLL{CLEAR_TO 0x5E}48BP"); -const u8 gText_ClefairyDoll48BP[] = _("CLEFAIRY DOLL{CLEAR_TO 0x5E}48BP"); -const u8 gText_DittoDoll48BP[] = _("DITTO DOLL{CLEAR_TO 0x5E}48BP"); -const u8 gText_CyndaquilDoll80BP[] = _("CYNDAQUIL DOLL{CLEAR_TO 0x5E}80BP"); -const u8 gText_ChikoritaDoll80BP[] = _("CHIKORITA DOLL{CLEAR_TO 0x5E}80BP"); -const u8 gText_TotodileDoll80BP[] = _("TOTODILE DOLL{CLEAR_TO 0x5E}80BP"); -const u8 gText_LaprasDoll128BP[] = _("LAPRAS DOLL{CLEAR_TO 0x58}128BP"); -const u8 gText_SnorlaxDoll128BP[] = _("SNORLAX DOLL{CLEAR_TO 0x58}128BP"); -const u8 gText_VenusaurDoll256BP[] = _("VENUSAUR DOLL{CLEAR_TO 0x58}256BP"); -const u8 gText_CharizardDoll256BP[] = _("CHARIZARD DOLL{CLEAR_TO 0x58}256BP"); -const u8 gText_BlastoiseDoll256BP[] = _("BLASTOISE DOLL{CLEAR_TO 0x58}256BP"); -const u8 gText_Protein1BP[] = _("PROTEIN{CLEAR_TO 0x64}1BP"); -const u8 gText_Calcium1BP[] = _("CALCIUM{CLEAR_TO 0x64}1BP"); -const u8 gText_Iron1BP[] = _("IRON{CLEAR_TO 0x64}1BP"); -const u8 gText_Zinc1BP[] = _("ZINC{CLEAR_TO 0x64}1BP"); -const u8 gText_Carbos1BP[] = _("CARBOS{CLEAR_TO 0x64}1BP"); -const u8 gText_HpUp1BP[] = _("HP UP{CLEAR_TO 0x64}1BP"); -const u8 gText_Leftovers48BP[] = _("LEFTOVERS{CLEAR_TO 0x5E}48BP"); -const u8 gText_WhiteHerb48BP[] = _("WHITE HERB{CLEAR_TO 0x5E}48BP"); -const u8 gText_QuickClaw48BP[] = _("QUICK CLAW{CLEAR_TO 0x5E}48BP"); -const u8 gText_MentalHerb48BP[] = _("MENTAL HERB{CLEAR_TO 0x5E}48BP"); -const u8 gText_BrightPowder64BP[] = _("BRIGHTPOWDER{CLEAR_TO 0x5E}64BP"); -const u8 gText_ChoiceBand64BP[] = _("CHOICE BAND{CLEAR_TO 0x5E}64BP"); -const u8 gText_KingsRock64BP[] = _("KING'S ROCK{CLEAR_TO 0x5E}64BP"); -const u8 gText_FocusBand64BP[] = _("FOCUS BAND{CLEAR_TO 0x5E}64BP"); -const u8 gText_ScopeLens64BP[] = _("SCOPE LENS{CLEAR_TO 0x5E}64BP"); -const u8 gText_Softboiled16BP[] = _("SOFTBOILED{CLEAR_TO 0x4E}16BP"); -const u8 gText_SeismicToss24BP[] = _("SEISMIC TOSS{CLEAR_TO 0x4E}24BP"); -const u8 gText_DreamEater24BP[] = _("DREAM EATER{CLEAR_TO 0x4E}24BP"); -const u8 gText_MegaPunch24BP[] = _("MEGA PUNCH{CLEAR_TO 0x4E}24BP"); -const u8 gText_MegaKick48BP[] = _("MEGA KICK{CLEAR_TO 0x4E}48BP"); -const u8 gText_BodySlam48BP[] = _("BODY SLAM{CLEAR_TO 0x4E}48BP"); -const u8 gText_RockSlide48BP[] = _("ROCK SLIDE{CLEAR_TO 0x4E}48BP"); -const u8 gText_Counter48BP[] = _("COUNTER{CLEAR_TO 0x4E}48BP"); -const u8 gText_ThunderWave48BP[] = _("THUNDER WAVE{CLEAR_TO 0x4E}48BP"); -const u8 gText_SwordsDance48BP[] = _("SWORDS DANCE{CLEAR_TO 0x4E}48BP"); -const u8 gText_DefenseCurl16BP[] = _("DEFENSE CURL{CLEAR_TO 0x4E}16BP"); -const u8 gText_Snore24BP[] = _("SNORE{CLEAR_TO 0x4E}24BP"); -const u8 gText_MudSlap24BP[] = _("MUD-SLAP{CLEAR_TO 0x4E}24BP"); -const u8 gText_Swift24BP[] = _("SWIFT{CLEAR_TO 0x4E}24BP"); -const u8 gText_IcyWind24BP[] = _("ICY WIND{CLEAR_TO 0x4E}24BP"); -const u8 gText_Endure48BP[] = _("ENDURE{CLEAR_TO 0x4E}48BP"); -const u8 gText_PsychUp48BP[] = _("PSYCH UP{CLEAR_TO 0x4E}48BP"); -const u8 gText_IcePunch48BP[] = _("ICE PUNCH{CLEAR_TO 0x4E}48BP"); -const u8 gText_ThunderPunch48BP[] = _("THUNDERPUNCH{CLEAR_TO 0x4E}48BP"); -const u8 gText_FirePunch48BP[] = _("FIRE PUNCH{CLEAR_TO 0x4E}48BP"); #if OW_POISON_DAMAGE < GEN_4 const u8 gText_PkmnFainted_FldPsn[] = _("{STR_VAR_1} fainted…\p\n"); #else @@ -1193,9 +985,6 @@ const u8 gJPText_ConnectionComplete[] = _("つうしん しゅうりょう!" const u8 gJPText_NewTrainerHasComeToHoenn[] = _("あらたな トレーナーが\nホウエンに やってきた!"); const u8 gJPText_PleaseWaitAMoment[] = _("しばらく おまちください"); const u8 gJPText_WriteErrorUnableToSaveData[] = _("かきこみ エラー です\nデータが ほぞん できませんでした"); -const u8 gText_Red[] = _("RED"); -const u8 gText_Blue[] = _("BLUE"); -const u8 gText_3Dashes[] = _("---"); // Unused const u8 gText_SingleBattleRoomResults[] = _("{PLAYER}'s Single Battle Room Results"); const u8 gText_DoubleBattleRoomResults[] = _("{PLAYER}'s Double Battle Room Results"); const u8 gText_MultiBattleRoomResults[] = _("{PLAYER}'s Multi Battle Room Results"); @@ -1563,8 +1352,6 @@ const u8 gText_Berries[] = _("BERRIES"); const u8 gText_ExpShareOn[] = _("The Exp. Share has been turned on.{PAUSE_UNTIL_PRESS}"); const u8 gText_ExpShareOff[] = _("The Exp. Share has been turned off.{PAUSE_UNTIL_PRESS}"); const u8 gText_BasePointsResetToZero[] = _("{STR_VAR_1}'s base points\nwere all reset to zero!{PAUSE_UNTIL_PRESS}"); -const u8 gText_Fertilize[] = _("FERTILIZE"); -const u8 gText_PlantBerry[] = _("PLANT BERRY"); const u8 gText_AM[] = _("AM"); const u8 gText_PM[] = _("PM"); const u8 gText_Relearn[] = _("{START_BUTTON} RELEARN"); // future note: don't decap this, because it mimics the summary screen BG graphics which will not get decapped From 993663d9b0f6bd861b2c014edc13abe983f42a18 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Tue, 3 Dec 2024 12:12:54 +0000 Subject: [PATCH 270/278] Variadic IS_BATTLER_OF_TYPE and GetBattlerTypes (#5708) --- include/battle.h | 26 +++++++++++-- include/battle_util.h | 3 +- src/battle_ai_main.c | 11 ++++-- src/battle_ai_util.c | 10 ++--- src/battle_script_commands.c | 60 ++++++++++++++---------------- src/battle_util.c | 72 ++++++++++++++++++++---------------- 6 files changed, 103 insertions(+), 79 deletions(-) diff --git a/include/battle.h b/include/battle.h index 35b70a8032..2155c6ac6e 100644 --- a/include/battle.h +++ b/include/battle.h @@ -855,9 +855,29 @@ STATIC_ASSERT(sizeof(((struct BattleStruct *)0)->palaceFlags) * 8 >= MAX_BATTLER #define TARGET_TURN_DAMAGED ((gSpecialStatuses[gBattlerTarget].physicalDmg != 0 || gSpecialStatuses[gBattlerTarget].specialDmg != 0) || (gBattleStruct->enduredDamage & (1u << gBattlerTarget))) #define BATTLER_TURN_DAMAGED(battlerId) ((gSpecialStatuses[battlerId].physicalDmg != 0 || gSpecialStatuses[battlerId].specialDmg != 0) || (gBattleStruct->enduredDamage & (1u << battler))) -#define IS_BATTLER_OF_TYPE(battlerId, type)((GetBattlerType(battlerId, 0, FALSE) == type || GetBattlerType(battlerId, 1, FALSE) == type || (GetBattlerType(battlerId, 2, FALSE) != TYPE_MYSTERY && GetBattlerType(battlerId, 2, FALSE) == type))) -#define IS_BATTLER_OF_BASE_TYPE(battlerId, type)((GetBattlerType(battlerId, 0, TRUE) == type || GetBattlerType(battlerId, 1, TRUE) == type || (GetBattlerType(battlerId, 2, TRUE) != TYPE_MYSTERY && GetBattlerType(battlerId, 2, TRUE) == type))) -#define IS_BATTLER_TYPELESS(battlerId)(GetBattlerType(battlerId, 0, FALSE) == TYPE_MYSTERY && GetBattlerType(battlerId, 1, FALSE) == TYPE_MYSTERY && GetBattlerType(battlerId, 2, FALSE) == TYPE_MYSTERY) +/* Checks if 'battlerId' is any of the types. + * Passing multiple types is more efficient than calling this multiple + * times with one type because it shares the 'GetBattlerTypes' result. */ +#define _IS_BATTLER_ANY_TYPE(battlerId, ignoreTera, ...) \ + ({ \ + u32 types[3]; \ + GetBattlerTypes(battlerId, ignoreTera, types); \ + RECURSIVELY(R_FOR_EACH(_IS_BATTLER_ANY_TYPE_HELPER, __VA_ARGS__)) FALSE; \ + }) + +#define _IS_BATTLER_ANY_TYPE_HELPER(type) (types[0] == type) || (types[1] == type) || (types[2] == type) || + +#define IS_BATTLER_ANY_TYPE(battlerId, ...) _IS_BATTLER_ANY_TYPE(battlerId, FALSE, __VA_ARGS__) +#define IS_BATTLER_OF_TYPE IS_BATTLER_ANY_TYPE +#define IS_BATTLER_ANY_BASE_TYPE(battlerId, ...) _IS_BATTLER_ANY_TYPE(battlerId, TRUE, __VA_ARGS__) +#define IS_BATTLER_OF_BASE_TYPE IS_BATTLER_ANY_BASE_TYPE + +#define IS_BATTLER_TYPELESS(battlerId) \ + ({ \ + u32 types[3]; \ + GetBattlerTypes(battlerId, FALSE, types); \ + types[0] == TYPE_MYSTERY && types[1] == TYPE_MYSTERY && types[2] == TYPE_MYSTERY; \ + }) #define SET_BATTLER_TYPE(battlerId, type) \ { \ diff --git a/include/battle_util.h b/include/battle_util.h index b2a28001ab..9b22dc583d 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -309,7 +309,8 @@ bool32 AreBattlersOfOppositeGender(u32 battler1, u32 battler2); bool32 AreBattlersOfSameGender(u32 battler1, u32 battler2); u32 CalcSecondaryEffectChance(u32 battler, u32 battlerAbility, const struct AdditionalEffect *additionalEffect); bool32 MoveEffectIsGuaranteed(u32 battler, u32 battlerAbility, const struct AdditionalEffect *additionalEffect); -u8 GetBattlerType(u32 battler, u8 typeIndex, bool32 ignoreTera); +void GetBattlerTypes(u32 battler, bool32 ignoreTera, u32 types[static 3]); +u32 GetBattlerType(u32 battler, u32 typeIndex, bool32 ignoreTera); bool8 CanMonParticipateInSkyBattle(struct Pokemon *mon); bool8 IsMonBannedFromSkyBattles(u16 species); void RemoveBattlerType(u32 battler, u8 type); diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index 28ac8f48d1..cb85ba8c78 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -2354,12 +2354,15 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) ADJUST_SCORE(-10); break; case EFFECT_SOAK: + { + u32 types[3]; + GetBattlerTypes(battlerDef, FALSE, types); + // TODO: Use the type of the move like 'VARIOUS_TRY_SOAK'? if (PartnerMoveIsSameAsAttacker(BATTLE_PARTNER(battlerAtk), battlerDef, move, aiData->partnerMove) - || (GetBattlerType(battlerDef, 0, FALSE) == TYPE_WATER - && GetBattlerType(battlerDef, 1, FALSE) == TYPE_WATER - && GetBattlerType(battlerDef, 2, FALSE) == TYPE_MYSTERY)) + || (types[0] == TYPE_WATER && types[1] == TYPE_WATER && types[2] == TYPE_MYSTERY)) ADJUST_SCORE(-10); // target is already water-only break; + } case EFFECT_THIRD_TYPE: switch (move) { @@ -4433,7 +4436,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) ADJUST_SCORE(GOOD_EFFECT); break; case EFFECT_SALT_CURE: - if (IS_BATTLER_OF_TYPE(battlerDef, TYPE_WATER) || IS_BATTLER_OF_TYPE(battlerDef, TYPE_STEEL)) + if (IS_BATTLER_ANY_TYPE(battlerDef, TYPE_WATER, TYPE_STEEL)) ADJUST_SCORE(DECENT_EFFECT); break; } // move effect checks diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index 940d73c6ed..a27bc56d72 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -1601,9 +1601,7 @@ bool32 ShouldSetSandstorm(u32 battler, u32 ability, u32 holdEffect) || ability == ABILITY_OVERCOAT || ability == ABILITY_MAGIC_GUARD || holdEffect == HOLD_EFFECT_SAFETY_GOGGLES - || IS_BATTLER_OF_TYPE(battler, TYPE_ROCK) - || IS_BATTLER_OF_TYPE(battler, TYPE_STEEL) - || IS_BATTLER_OF_TYPE(battler, TYPE_GROUND) + || IS_BATTLER_ANY_TYPE(battler, TYPE_ROCK, TYPE_GROUND, TYPE_STEEL) || HasMoveEffect(battler, EFFECT_SHORE_UP) || HasMoveEffect(battler, EFFECT_WEATHER_BALL)) { @@ -2568,9 +2566,7 @@ static u32 GetPoisonDamage(u32 battlerId) static bool32 BattlerAffectedBySandstorm(u32 battlerId, u32 ability) { - if (!IS_BATTLER_OF_TYPE(battlerId, TYPE_ROCK) - && !IS_BATTLER_OF_TYPE(battlerId, TYPE_GROUND) - && !IS_BATTLER_OF_TYPE(battlerId, TYPE_STEEL) + if (!IS_BATTLER_ANY_TYPE(battlerId, TYPE_ROCK, TYPE_GROUND, TYPE_STEEL) && ability != ABILITY_SAND_VEIL && ability != ABILITY_SAND_FORCE && ability != ABILITY_SAND_RUSH @@ -2975,7 +2971,7 @@ bool32 AI_CanPoison(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u3 || DoesSubstituteBlockMove(battlerAtk, battlerDef, move) || PartnerMoveEffectIsStatusSameTarget(BATTLE_PARTNER(battlerAtk), battlerDef, partnerMove)) return FALSE; - else if (defAbility != ABILITY_CORROSION && (IS_BATTLER_OF_TYPE(battlerDef, TYPE_POISON) || IS_BATTLER_OF_TYPE(battlerDef, TYPE_STEEL))) + else if (defAbility != ABILITY_CORROSION && IS_BATTLER_ANY_TYPE(battlerDef, TYPE_POISON, TYPE_STEEL)) return FALSE; else if (IsValidDoubleBattle(battlerAtk) && AI_DATA->abilities[BATTLE_PARTNER(battlerDef)] == ABILITY_PASTEL_VEIL) return FALSE; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 812266b0fc..99b2e0469f 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -2213,19 +2213,13 @@ END: // B_WEATHER_STRONG_WINDS prints a string when it's about to reduce the power // of a move that is Super Effective against a Flying-type Pokémon. - if (gBattleWeather & B_WEATHER_STRONG_WINDS) + if ((gBattleWeather & B_WEATHER_STRONG_WINDS) + && GetTypeModifier(moveType, TYPE_FLYING) >= UQ_4_12(2.0) + && IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_FLYING)) { - if ((GetBattlerType(gBattlerTarget, 0, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 0, FALSE)) >= UQ_4_12(2.0)) - || (GetBattlerType(gBattlerTarget, 1, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 1, FALSE)) >= UQ_4_12(2.0)) - || (GetBattlerType(gBattlerTarget, 2, FALSE) == TYPE_FLYING - && GetTypeModifier(moveType, GetBattlerType(gBattlerTarget, 2, FALSE)) >= UQ_4_12(2.0))) - { - gBattlerAbility = gBattlerTarget; - BattleScriptPushCursor(); - gBattlescriptCurrInstr = BattleScript_AttackWeakenedByStrongWinds; - } + gBattlerAbility = gBattlerTarget; + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_AttackWeakenedByStrongWinds; } } @@ -8697,7 +8691,7 @@ static bool32 HasAttackerFaintedTarget(void) bool32 CanPoisonType(u8 battlerAttacker, u8 battlerTarget) { return GetBattlerAbility(battlerAttacker) == ABILITY_CORROSION - || (!IS_BATTLER_OF_TYPE(battlerTarget, TYPE_STEEL) && !IS_BATTLER_OF_TYPE(battlerTarget, TYPE_POISON)); + || !IS_BATTLER_ANY_TYPE(battlerTarget, TYPE_POISON, TYPE_STEEL); } bool32 CanParalyzeType(u8 battlerAttacker, u8 battlerTarget) @@ -10012,9 +10006,10 @@ static void Cmd_various(void) case VARIOUS_TRY_SOAK: { VARIOUS_ARGS(const u8 *failInstr); - if ((GetBattlerType(gBattlerTarget, 0, FALSE) == gMovesInfo[gCurrentMove].type - && GetBattlerType(gBattlerTarget, 1, FALSE) == gMovesInfo[gCurrentMove].type) - || GetActiveGimmick(gBattlerTarget) == GIMMICK_TERA) + u32 types[3]; + GetBattlerTypes(gBattlerTarget, FALSE, types); + if ((types[0] == gMovesInfo[gCurrentMove].type && types[1] == gMovesInfo[gCurrentMove].type) + || GetActiveGimmick(gBattlerTarget) == GIMMICK_TERA) { gBattlescriptCurrInstr = cmd->failInstr; } @@ -15188,7 +15183,7 @@ static void Cmd_handleballthrow(void) ballMultiplier = 150; break; case BALL_NET: - if (IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_WATER) || IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_BUG)) + if (IS_BATTLER_ANY_TYPE(gBattlerTarget, TYPE_WATER, TYPE_BUG)) ballMultiplier = B_NET_BALL_MODIFIER >= GEN_7 ? 350 : 300; break; case BALL_DIVE: @@ -16635,9 +16630,8 @@ void BS_TryReflectType(void) { NATIVE_ARGS(const u8 *failInstr); u16 targetBaseSpecies = GET_BASE_SPECIES_ID(gBattleMons[gBattlerTarget].species); - u8 targetType1 = GetBattlerType(gBattlerTarget, 0, FALSE); - u8 targetType2 = GetBattlerType(gBattlerTarget, 1, FALSE); - u8 targetType3 = GetBattlerType(gBattlerTarget, 2, FALSE); + u32 targetTypes[3]; + GetBattlerTypes(gBattlerTarget, FALSE, targetTypes); if (targetBaseSpecies == SPECIES_ARCEUS || targetBaseSpecies == SPECIES_SILVALLY) { @@ -16651,32 +16645,32 @@ void BS_TryReflectType(void) { gBattlescriptCurrInstr = cmd->failInstr; } - else if (targetType1 == TYPE_MYSTERY && targetType2 == TYPE_MYSTERY && targetType3 != TYPE_MYSTERY) + else if (targetTypes[0] == TYPE_MYSTERY && targetTypes[1] == TYPE_MYSTERY && targetTypes[2] != TYPE_MYSTERY) { gBattleMons[gBattlerAttacker].types[0] = TYPE_NORMAL; gBattleMons[gBattlerAttacker].types[1] = TYPE_NORMAL; - gBattleMons[gBattlerAttacker].types[2] = targetType3; + gBattleMons[gBattlerAttacker].types[2] = targetTypes[2]; gBattlescriptCurrInstr = cmd->nextInstr; } - else if (targetType1 == TYPE_MYSTERY && targetType2 != TYPE_MYSTERY) + else if (targetTypes[0] == TYPE_MYSTERY && targetTypes[1] != TYPE_MYSTERY) { - gBattleMons[gBattlerAttacker].types[0] = targetType2; - gBattleMons[gBattlerAttacker].types[1] = targetType2; - gBattleMons[gBattlerAttacker].types[2] = targetType3; + gBattleMons[gBattlerAttacker].types[0] = targetTypes[1]; + gBattleMons[gBattlerAttacker].types[1] = targetTypes[1]; + gBattleMons[gBattlerAttacker].types[2] = targetTypes[2]; gBattlescriptCurrInstr = cmd->nextInstr; } - else if (targetType1 != TYPE_MYSTERY && targetType2 == TYPE_MYSTERY) + else if (targetTypes[0] != TYPE_MYSTERY && targetTypes[1] == TYPE_MYSTERY) { - gBattleMons[gBattlerAttacker].types[0] = targetType1; - gBattleMons[gBattlerAttacker].types[1] = targetType1; - gBattleMons[gBattlerAttacker].types[2] = targetType3; + gBattleMons[gBattlerAttacker].types[0] = targetTypes[0]; + gBattleMons[gBattlerAttacker].types[1] = targetTypes[0]; + gBattleMons[gBattlerAttacker].types[2] = targetTypes[2]; gBattlescriptCurrInstr = cmd->nextInstr; } else { - gBattleMons[gBattlerAttacker].types[0] = targetType1; - gBattleMons[gBattlerAttacker].types[1] = targetType2; - gBattleMons[gBattlerAttacker].types[2] = targetType3; + gBattleMons[gBattlerAttacker].types[0] = targetTypes[0]; + gBattleMons[gBattlerAttacker].types[1] = targetTypes[1]; + gBattleMons[gBattlerAttacker].types[2] = targetTypes[2]; gBattlescriptCurrInstr = cmd->nextInstr; } } diff --git a/src/battle_util.c b/src/battle_util.c index 380564038d..f1d34f8ac8 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -2333,9 +2333,7 @@ u8 DoBattlerEndTurnEffects(void) && ability != ABILITY_SAND_FORCE && ability != ABILITY_SAND_RUSH && ability != ABILITY_OVERCOAT - && !IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_ROCK) - && !IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_GROUND) - && !IS_BATTLER_OF_TYPE(gBattlerAttacker, TYPE_STEEL) + && !IS_BATTLER_ANY_TYPE(gBattlerAttacker, TYPE_ROCK, TYPE_GROUND, TYPE_STEEL) && !(gStatuses3[gBattlerAttacker] & (STATUS3_UNDERGROUND | STATUS3_UNDERWATER)) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_SAFETY_GOGGLES) { @@ -2906,7 +2904,7 @@ u8 DoBattlerEndTurnEffects(void) && !IsBattlerProtectedByMagicGuard(battler, ability)) { gBattlerTarget = battler; - if (IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_STEEL) || IS_BATTLER_OF_TYPE(gBattlerTarget, TYPE_WATER)) + if (IS_BATTLER_ANY_TYPE(gBattlerTarget, TYPE_STEEL, TYPE_WATER)) gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP / 4; else gBattleMoveDamage = gBattleMons[gBattlerTarget].maxHP / 8; @@ -10556,13 +10554,14 @@ static void UpdateMoveResultFlags(uq4_12_t modifier) static inline uq4_12_t CalcTypeEffectivenessMultiplierInternal(u32 move, u32 moveType, u32 battlerAtk, u32 battlerDef, bool32 recordAbilities, uq4_12_t modifier, u32 defAbility) { u32 illusionSpecies; + u32 types[3]; + GetBattlerTypes(battlerDef, FALSE, types); - MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, GetBattlerType(battlerDef, 0, FALSE), battlerAtk, recordAbilities); - if (GetBattlerType(battlerDef, 1, FALSE) != GetBattlerType(battlerDef, 0, FALSE)) - MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, GetBattlerType(battlerDef, 1, FALSE), battlerAtk, recordAbilities); - if (GetBattlerType(battlerDef, 2, FALSE) != TYPE_MYSTERY && GetBattlerType(battlerDef, 2, FALSE) != GetBattlerType(battlerDef, 1, FALSE) - && GetBattlerType(battlerDef, 2, FALSE) != GetBattlerType(battlerDef, 0, FALSE)) - MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, GetBattlerType(battlerDef, 2, FALSE), battlerAtk, recordAbilities); + MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, types[0], battlerAtk, recordAbilities); + if (types[1] != types[0]) + MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, types[1], battlerAtk, recordAbilities); + if (types[2] != TYPE_MYSTERY && types[2] != types[1] && types[2] != types[0]) + MulByTypeEffectiveness(&modifier, move, moveType, battlerDef, types[2], battlerAtk, recordAbilities); if (moveType == TYPE_FIRE && gDisableStructs[battlerDef].tarShot) modifier = uq4_12_multiply(modifier, UQ_4_12(2.0)); @@ -10593,8 +10592,9 @@ static inline uq4_12_t CalcTypeEffectivenessMultiplierInternal(u32 move, u32 mov } // Thousand Arrows ignores type modifiers for flying mons - if (!IsBattlerGrounded(battlerDef) && (gMovesInfo[move].ignoreTypeIfFlyingAndUngrounded) - && (GetBattlerType(battlerDef, 0, FALSE) == TYPE_FLYING || GetBattlerType(battlerDef, 1, FALSE) == TYPE_FLYING || GetBattlerType(battlerDef, 2, FALSE) == TYPE_FLYING)) + if (!IsBattlerGrounded(battlerDef) + && (gMovesInfo[move].ignoreTypeIfFlyingAndUngrounded) + && IS_BATTLER_OF_TYPE(battlerDef, TYPE_FLYING)) { modifier = UQ_4_12(1.0); } @@ -11109,8 +11109,9 @@ bool32 TryBattleFormChange(u32 battler, u32 method) bool32 DoBattlersShareType(u32 battler1, u32 battler2) { s32 i; - u8 types1[3] = {GetBattlerType(battler1, 0, FALSE), GetBattlerType(battler1, 1, FALSE), GetBattlerType(battler1, 2, FALSE)}; - u8 types2[3] = {GetBattlerType(battler2, 0, FALSE), GetBattlerType(battler2, 1, FALSE), GetBattlerType(battler2, 2, FALSE)}; + u32 types1[3], types2[3]; + GetBattlerTypes(battler1, FALSE, types1); + GetBattlerTypes(battler2, FALSE, types2); if (types1[2] == TYPE_MYSTERY) types1[2] = types1[0]; @@ -11881,31 +11882,40 @@ bool8 IsMonBannedFromSkyBattles(u16 species) } } -u8 GetBattlerType(u32 battler, u8 typeIndex, bool32 ignoreTera) +void GetBattlerTypes(u32 battler, bool32 ignoreTera, u32 types[static 3]) { - u32 teraType = GetBattlerTeraType(battler); - u16 types[3] = {0}; + // Terastallization. + bool32 isTera = GetActiveGimmick(battler) == GIMMICK_TERA; + if (!ignoreTera && isTera) + { + u32 teraType = GetBattlerTeraType(battler); + if (teraType != TYPE_STELLAR) + { + types[0] = types[1] = types[2] = teraType; + return; + } + } + types[0] = gBattleMons[battler].types[0]; types[1] = gBattleMons[battler].types[1]; types[2] = gBattleMons[battler].types[2]; - // Handle Terastallization - if (GetActiveGimmick(battler) == GIMMICK_TERA && teraType != TYPE_STELLAR && !ignoreTera) - return GetBattlerTeraType(battler); - - // Handle Roost's Flying-type suppression - if (typeIndex == 0 || typeIndex == 1) + // Roost. + if (!isTera && (gBattleResources->flags->flags[battler] & RESOURCE_FLAG_ROOST)) { - if (gBattleResources->flags->flags[battler] & RESOURCE_FLAG_ROOST - && GetActiveGimmick(battler) != GIMMICK_TERA) - { - if (types[0] == TYPE_FLYING && types[1] == TYPE_FLYING) - return B_ROOST_PURE_FLYING >= GEN_5 ? TYPE_NORMAL : TYPE_MYSTERY; - else - return types[typeIndex] == TYPE_FLYING ? TYPE_MYSTERY : types[typeIndex]; - } + if (types[0] == TYPE_FLYING && types[1] == TYPE_FLYING) + types[0] = types[1] = B_ROOST_PURE_FLYING >= GEN_5 ? TYPE_NORMAL : TYPE_MYSTERY; + else if (types[0] == TYPE_FLYING) + types[0] = TYPE_MYSTERY; + else if (types[1] == TYPE_FLYING) + types[1] = TYPE_MYSTERY; } +} +u32 GetBattlerType(u32 battler, u32 typeIndex, bool32 ignoreTera) +{ + u32 types[3]; + GetBattlerTypes(battler, ignoreTera, types); return types[typeIndex]; } From 3b9ea629a7aecfdfb90d9a681c7fdac4c4365ab4 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Tue, 3 Dec 2024 12:15:06 -0300 Subject: [PATCH 271/278] Fixed switch out abilities switch in gcc 11 --- src/battle_script_commands.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index b96d6a30ce..6690e13bbd 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -15067,6 +15067,7 @@ static void Cmd_switchoutabilities(void) MarkBattlerForControllerExec(battler); break; case ABILITY_REGENERATOR: + { u32 regenerate = GetNonDynamaxMaxHP(gBattlerAttacker) / 3; regenerate += gBattleMons[battler].hp; if (gBattleStruct->moveDamage[gBattlerAttacker] > gBattleMons[battler].maxHP) @@ -15078,6 +15079,7 @@ static void Cmd_switchoutabilities(void) MarkBattlerForControllerExec(battler); break; } + } gBattlescriptCurrInstr = cmd->nextInstr; } From 70224f0ea390aa7c97718029c24d367507fdd50f Mon Sep 17 00:00:00 2001 From: Alex <93446519+AlexOn1ine@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:15:29 +0100 Subject: [PATCH 272/278] Fixes items preventing other switch in effects (#5732) Co-authored-by: Pawkkie <61265402+Pawkkie@users.noreply.github.com> --- data/battle_scripts_1.s | 6 +- include/battle_scripts.h | 1 + include/battle_util.h | 28 +- src/battle_main.c | 2 +- src/battle_script_commands.c | 8 +- src/battle_util.c | 317 +++++++++++------------ test/battle/hold_effect/booster_energy.c | 25 ++ test/battle/hold_effect/cure_status.c | 27 ++ 8 files changed, 230 insertions(+), 184 deletions(-) diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 3d24cbfdf0..b38dc4b7f8 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -10079,6 +10079,10 @@ BattleScript_BerserkGeneRet_End: end3 BattleScript_BoosterEnergyEnd2:: + call BattleScript_BoosterEnergyRet + end2 + +BattleScript_BoosterEnergyRet:: playanimation BS_SCRIPTING, B_ANIM_HELD_ITEM_EFFECT, sB_ANIM_ARG1 call BattleScript_AbilityPopUpScripting printstring STRINGID_BOOSTERENERGYACTIVATES @@ -10086,7 +10090,7 @@ BattleScript_BoosterEnergyEnd2:: printstring STRINGID_STATWASHEIGHTENED waitmessage B_WAIT_TIME_MED removeitem BS_SCRIPTING - end2 + return BattleScript_EffectSnow:: attackcanceler diff --git a/include/battle_scripts.h b/include/battle_scripts.h index 1148c955e5..3c58b28e1e 100644 --- a/include/battle_scripts.h +++ b/include/battle_scripts.h @@ -518,6 +518,7 @@ extern const u8 BattleScript_AromaVeilProtectsRet[]; extern const u8 BattleScript_LowerAtkSpAtk[]; extern const u8 BattleScript_Terastallization[]; extern const u8 BattleScript_BoosterEnergyEnd2[]; +extern const u8 BattleScript_BoosterEnergyRet[]; extern const u8 BattleScript_TeraShellDistortingTypeMatchups[]; extern const u8 BattleScript_TeraFormChange[]; diff --git a/include/battle_util.h b/include/battle_util.h index e3fc7d869f..82f4ed2ce1 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -65,16 +65,20 @@ enum { #define ABILITYEFFECT_WATER_SPORT 253 // Only used if B_SPORT_TURNS >= GEN_6 // For the first argument of ItemBattleEffects, to deteremine which block of item effects to try -#define ITEMEFFECT_ON_SWITCH_IN 0 -#define ITEMEFFECT_NORMAL 1 -#define ITEMEFFECT_DUMMY 2 // Unused, empty -#define ITEMEFFECT_MOVE_END 3 -#define ITEMEFFECT_KINGSROCK 4 -#define ITEMEFFECT_TARGET 5 -#define ITEMEFFECT_ORBS 6 -#define ITEMEFFECT_LIFEORB_SHELLBELL 7 -#define ITEMEFFECT_USE_LAST_ITEM 8 // move end effects for just the battler, not whole field -#define ITEMEFFECT_STATS_CHANGED 9 // For White Herb and Eject Pack +enum ItemEffect +{ + ITEMEFFECT_NONE, + ITEMEFFECT_ON_SWITCH_IN, + ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN, + ITEMEFFECT_NORMAL, + ITEMEFFECT_MOVE_END, + ITEMEFFECT_KINGSROCK, + ITEMEFFECT_TARGET, + ITEMEFFECT_ORBS, + ITEMEFFECT_LIFEORB_SHELLBELL, + ITEMEFFECT_USE_LAST_ITEM, // move end effects for just the battler, not whole field + ITEMEFFECT_STATS_CHANGED, // For White Herb and Eject Pack +}; #define WEATHER_HAS_EFFECT ((!IsAbilityOnField(ABILITY_CLOUD_NINE) && !IsAbilityOnField(ABILITY_AIR_LOCK))) @@ -208,7 +212,7 @@ bool32 IsBattlerProtected(u32 battlerAtk, u32 battlerDef, u32 move); bool32 CanBattlerEscape(u32 battler); // no ability check void BattleScriptExecute(const u8 *BS_ptr); void BattleScriptPushCursorAndCallback(const u8 *BS_ptr); -u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn); +u32 ItemBattleEffects(enum ItemEffect, u32 battler, bool32 moveTurn); void ClearVariousBattlerFlags(u32 battler); void HandleAction_RunBattleScript(void); u32 SetRandomTarget(u32 battler); @@ -265,7 +269,7 @@ void TryRestoreHeldItems(void); bool32 CanStealItem(u32 battlerStealing, u32 battlerItem, u16 item); void TrySaveExchangedItem(u32 battler, u16 stolenItem); bool32 IsPartnerMonFromSameTrainer(u32 battler); -u8 TryHandleSeed(u32 battler, u32 terrainFlag, u8 statId, u16 itemId, bool32 execute); +u32 TryHandleSeed(u32 battler, u32 terrainFlag, u32 statId, u32 itemId, enum ItemEffect caseID); bool32 IsBattlerAffectedByHazards(u32 battler, bool32 toxicSpikes); void SortBattlersBySpeed(u8 *battlers, bool32 slowToFast); bool32 CompareStat(u32 battler, u8 statId, u8 cmpTo, u8 cmpKind); diff --git a/src/battle_main.c b/src/battle_main.c index ecad0d4e82..075dd3dd3c 100644 --- a/src/battle_main.c +++ b/src/battle_main.c @@ -3900,7 +3900,7 @@ static void TryDoEventsBeforeFirstTurn(void) case FIRST_TURN_EVENTS_ITEM_EFFECTS: while (gBattleStruct->switchInBattlerCounter < gBattlersCount) // From fastest to slowest { - if (ItemBattleEffects(ITEMEFFECT_ON_SWITCH_IN, gBattlerByTurnOrder[gBattleStruct->switchInBattlerCounter++], FALSE)) + if (ItemBattleEffects(ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN, gBattlerByTurnOrder[gBattleStruct->switchInBattlerCounter++], FALSE)) return; } gBattleStruct->switchInBattlerCounter = 0; diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 29c1c02edc..12a2e215bf 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -10410,16 +10410,16 @@ static void Cmd_various(void) switch (GetBattlerHoldEffectParam(battler)) { case HOLD_EFFECT_PARAM_ELECTRIC_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_ELECTRIC_TERRAIN, STAT_DEF, item, FALSE); + effect = TryHandleSeed(battler, STATUS_FIELD_ELECTRIC_TERRAIN, STAT_DEF, item, ITEMEFFECT_NONE); break; case HOLD_EFFECT_PARAM_GRASSY_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_GRASSY_TERRAIN, STAT_DEF, item, FALSE); + effect = TryHandleSeed(battler, STATUS_FIELD_GRASSY_TERRAIN, STAT_DEF, item, ITEMEFFECT_NONE); break; case HOLD_EFFECT_PARAM_MISTY_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_MISTY_TERRAIN, STAT_SPDEF, item, FALSE); + effect = TryHandleSeed(battler, STATUS_FIELD_MISTY_TERRAIN, STAT_SPDEF, item, ITEMEFFECT_NONE); break; case HOLD_EFFECT_PARAM_PSYCHIC_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_PSYCHIC_TERRAIN, STAT_SPDEF, item, FALSE); + effect = TryHandleSeed(battler, STATUS_FIELD_PSYCHIC_TERRAIN, STAT_SPDEF, item, ITEMEFFECT_NONE); break; } diff --git a/src/battle_util.c b/src/battle_util.c index 5238bbfc53..b376a20920 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -6799,7 +6799,7 @@ bool32 HasEnoughHpToEatBerry(u32 battler, u32 hpFraction, u32 itemId) return FALSE; } -static u8 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, bool32 end2) +static u32 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, enum ItemEffect caseID) { if (HasEnoughHpToEatBerry(battler, (B_CONFUSE_BERRIES_HEAL >= GEN_7 ? 4 : 2), itemId) && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK))) @@ -6817,7 +6817,7 @@ static u8 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, bool32 end2) gBattlerAbility = battler; } gBattleScripting.battler = battler; - if (end2) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { if (GetFlavorRelationByPersonality(gBattleMons[battler].personality, flavorId) < 0) BattleScriptExecute(BattleScript_BerryConfuseHealEnd2); @@ -6838,7 +6838,7 @@ static u8 HealConfuseBerry(u32 battler, u32 itemId, u32 flavorId, bool32 end2) return 0; } -static u8 StatRaiseBerry(u32 battler, u32 itemId, u32 statId, bool32 end2) +static u32 StatRaiseBerry(u32 battler, u32 itemId, u32 statId, enum ItemEffect caseID) { if (CompareStat(battler, statId, MAX_STAT_STAGE, CMP_LESS_THAN) && HasEnoughHpToEatBerry(battler, GetBattlerItemHoldEffectParam(battler, itemId), itemId)) { @@ -6852,7 +6852,7 @@ static u8 StatRaiseBerry(u32 battler, u32 itemId, u32 statId, bool32 end2) gBattleScripting.animArg1 = STAT_ANIM_PLUS1 + statId; gBattleScripting.animArg2 = 0; - if (end2) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_BerryStatRaiseEnd2); } @@ -6863,10 +6863,10 @@ static u8 StatRaiseBerry(u32 battler, u32 itemId, u32 statId, bool32 end2) } return ITEM_STATS_CHANGE; } - return 0; + return ITEM_NO_EFFECT; } -static u8 RandomStatRaiseBerry(u32 battler, u32 itemId, bool32 end2) +static u32 RandomStatRaiseBerry(u32 battler, u32 itemId, enum ItemEffect caseID) { s32 i; u16 stringId; @@ -6902,7 +6902,7 @@ static u8 RandomStatRaiseBerry(u32 battler, u32 itemId, bool32 end2) gBattleScripting.animArg1 = STAT_ANIM_PLUS2 + i + 1; gBattleScripting.animArg2 = 0; - if (end2) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_BerryStatRaiseEnd2); } @@ -6917,12 +6917,12 @@ static u8 RandomStatRaiseBerry(u32 battler, u32 itemId, bool32 end2) return 0; } -static u8 TrySetMicleBerry(u32 battler, u32 itemId, bool32 end2) +static u32 TrySetMicleBerry(u32 battler, u32 itemId, enum ItemEffect caseID) { if (HasEnoughHpToEatBerry(battler, 4, itemId)) { gBattleStruct->usedMicleBerry |= 1u << battler; - if (end2) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_MicleBerryActivateEnd2); } @@ -6985,7 +6985,7 @@ static u8 DamagedStatBoostBerryEffect(u32 battler, u8 statId, u8 category) return 0; } -u8 TryHandleSeed(u32 battler, u32 terrainFlag, u8 statId, u16 itemId, bool32 execute) +u32 TryHandleSeed(u32 battler, u32 terrainFlag, u32 statId, u32 itemId, enum ItemEffect caseID) { if (gFieldStatuses & terrainFlag && CompareStat(battler, statId, MAX_STAT_STAGE, CMP_LESS_THAN)) { @@ -6995,7 +6995,7 @@ u8 TryHandleSeed(u32 battler, u32 terrainFlag, u8 statId, u16 itemId, bool32 exe SET_STATCHANGER(statId, 1, FALSE); gBattleScripting.animArg1 = STAT_ANIM_PLUS1 + statId; gBattleScripting.animArg2 = 0; - if (execute) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_BerryStatRaiseEnd2); } @@ -7009,7 +7009,7 @@ u8 TryHandleSeed(u32 battler, u32 terrainFlag, u8 statId, u16 itemId, bool32 exe return 0; } -static u32 ItemRestorePp(u32 battler, u32 itemId, bool32 execute) +static u32 ItemRestorePp(u32 battler, u32 itemId, enum ItemEffect caseID) { struct Pokemon *party = GetBattlerParty(battler); struct Pokemon *mon = &party[gBattlerPartyIndexes[battler]]; @@ -7037,7 +7037,7 @@ static u32 ItemRestorePp(u32 battler, u32 itemId, bool32 execute) PREPARE_MOVE_BUFFER(gBattleTextBuff1, move); - if (execute) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_BerryPPHealEnd2); } @@ -7056,7 +7056,7 @@ static u32 ItemRestorePp(u32 battler, u32 itemId, bool32 execute) return 0; } -static u8 ItemHealHp(u32 battler, u32 itemId, bool32 end2, bool32 percentHeal) +static u32 ItemHealHp(u32 battler, u32 itemId, enum ItemEffect caseID, bool32 percentHeal) { if (!(gBattleScripting.overrideBerryRequirements && gBattleMons[battler].hp == gBattleMons[battler].maxHP) && (B_HEAL_BLOCKING < GEN_5 || !(gStatuses3[battler] & STATUS3_HEAL_BLOCK)) @@ -7072,7 +7072,7 @@ static u8 ItemHealHp(u32 battler, u32 itemId, bool32 end2, bool32 percentHeal) gBattleMoveDamage *= 2; gBattlerAbility = battler; // in SWSH, berry juice shows ability pop up but has no effect. This is mimicked here - if (end2) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_ItemHealHP_RemoveItemEnd2); } @@ -7153,9 +7153,9 @@ static bool32 GetMentalHerbEffect(u32 battler) return ret; } -static u8 TryConsumeMirrorHerb(u32 battler, bool32 execute) +static u32 TryConsumeMirrorHerb(u32 battler, enum ItemEffect caseID) { - u8 effect = 0; + u32 effect = 0; if (gProtectStructs[battler].eatMirrorHerb) { @@ -7164,7 +7164,7 @@ static u8 TryConsumeMirrorHerb(u32 battler, bool32 execute) gBattleScripting.battler = battler; gProtectStructs[battler].eatMirrorHerb = 0; ChooseStatBoostAnimation(battler); - if (execute) + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) { BattleScriptExecute(BattleScript_MirrorHerbCopyStatChangeEnd2); } @@ -7178,7 +7178,7 @@ static u8 TryConsumeMirrorHerb(u32 battler, bool32 execute) return effect; } -static inline u32 TryBoosterEnergy(u32 battler) +static inline u32 TryBoosterEnergy(u32 battler, enum ItemEffect caseID) { if (gBattleStruct->boosterEnergyActivates & (1u << battler) || gBattleMons[battler].status2 & STATUS2_TRANSFORMED) return ITEM_NO_EFFECT; @@ -7189,7 +7189,15 @@ static inline u32 TryBoosterEnergy(u32 battler) PREPARE_STAT_BUFFER(gBattleTextBuff1, GetHighestStatId(battler)); gBattlerAbility = gBattleScripting.battler = battler; gBattleStruct->boosterEnergyActivates |= 1u << battler; - BattleScriptExecute(BattleScript_BoosterEnergyEnd2); + if (caseID == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseID == ITEMEFFECT_NORMAL) + { + BattleScriptExecute(BattleScript_BoosterEnergyEnd2); + } + else + { + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_BoosterEnergyRet; + } return ITEM_EFFECT_OTHER; } @@ -7224,59 +7232,59 @@ static u8 ItemEffectMoveEnd(u32 battler, u16 holdEffect) { case HOLD_EFFECT_MICLE_BERRY: if (B_HP_BERRIES >= GEN_4) - effect = TrySetMicleBerry(battler, gLastUsedItem, FALSE); + effect = TrySetMicleBerry(battler, gLastUsedItem, ITEMEFFECT_NONE); break; case HOLD_EFFECT_RESTORE_HP: if (B_HP_BERRIES >= GEN_4) - effect = ItemHealHp(battler, gLastUsedItem, FALSE, FALSE); + effect = ItemHealHp(battler, gLastUsedItem, ITEMEFFECT_NONE, FALSE); break; case HOLD_EFFECT_RESTORE_PCT_HP: if (B_BERRIES_INSTANT >= GEN_4) - effect = ItemHealHp(battler, gLastUsedItem, FALSE, TRUE); + effect = ItemHealHp(battler, gLastUsedItem, ITEMEFFECT_NONE, TRUE); break; case HOLD_EFFECT_RESTORE_PP: if (B_BERRIES_INSTANT >= GEN_4) - effect = ItemRestorePp(battler, gLastUsedItem, FALSE); + effect = ItemRestorePp(battler, gLastUsedItem, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CONFUSE_SPICY: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, FALSE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CONFUSE_DRY: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, FALSE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CONFUSE_SWEET: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, FALSE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CONFUSE_BITTER: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, FALSE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CONFUSE_SOUR: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, FALSE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, ITEMEFFECT_NONE); break; case HOLD_EFFECT_ATTACK_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, FALSE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, ITEMEFFECT_NONE); break; case HOLD_EFFECT_DEFENSE_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, FALSE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, ITEMEFFECT_NONE); break; case HOLD_EFFECT_SPEED_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, FALSE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, ITEMEFFECT_NONE); break; case HOLD_EFFECT_SP_ATTACK_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, FALSE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, ITEMEFFECT_NONE); break; case HOLD_EFFECT_SP_DEFENSE_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, FALSE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, ITEMEFFECT_NONE); break; case HOLD_EFFECT_ENIGMA_BERRY: // consume and heal if hit by super effective move if (B_BERRIES_INSTANT >= GEN_4) @@ -7292,7 +7300,7 @@ static u8 ItemEffectMoveEnd(u32 battler, u16 holdEffect) break; case HOLD_EFFECT_RANDOM_STAT_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = RandomStatRaiseBerry(battler, gLastUsedItem, FALSE); + effect = RandomStatRaiseBerry(battler, gLastUsedItem, ITEMEFFECT_NONE); break; case HOLD_EFFECT_CURE_PAR: if (gBattleMons[battler].status1 & STATUS1_PARALYSIS && !UnnerveOn(battler, gLastUsedItem)) @@ -7427,20 +7435,79 @@ static u8 ItemEffectMoveEnd(u32 battler, u16 holdEffect) effect = ITEM_STATS_CHANGE; break; case HOLD_EFFECT_MIRROR_HERB: - effect = TryConsumeMirrorHerb(battler, FALSE); + effect = TryConsumeMirrorHerb(battler, ITEMEFFECT_NONE); break; } return effect; } -u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) +static inline bool32 TryCureStatus(u32 battler, enum ItemEffect caseId) { - int i = 0, moveType; - u8 effect = ITEM_NO_EFFECT; - u32 battlerHoldEffect = 0, atkHoldEffect; - u8 atkHoldEffectParam; - u16 atkItem; + u32 effect = ITEM_NO_EFFECT; + u32 string = 0; + + if ((gBattleMons[battler].status1 & STATUS1_ANY || gBattleMons[battler].status2 & STATUS2_CONFUSION) && !UnnerveOn(battler, gLastUsedItem)) + { + if (gBattleMons[battler].status1 & STATUS1_PSN_ANY) + { + StringCopy(gBattleTextBuff1, gStatusConditionString_PoisonJpn); + string++; + } + if (gBattleMons[battler].status1 & STATUS1_SLEEP) + { + gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; + StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); + string++; + } + if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) + { + StringCopy(gBattleTextBuff1, gStatusConditionString_ParalysisJpn); + string++; + } + if (gBattleMons[battler].status1 & STATUS1_BURN) + { + StringCopy(gBattleTextBuff1, gStatusConditionString_BurnJpn); + string++; + } + if (gBattleMons[battler].status1 & STATUS1_FREEZE || gBattleMons[battler].status1 & STATUS1_FROSTBITE) + { + StringCopy(gBattleTextBuff1, gStatusConditionString_IceJpn); + string++; + } + if (gBattleMons[battler].status2 & STATUS2_CONFUSION) + { + StringCopy(gBattleTextBuff1, gStatusConditionString_ConfusionJpn); + string++; + } + if (string <= 1) + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_CURED_PROBLEM; + else + gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_NORMALIZED_STATUS; + gBattleMons[battler].status1 = 0; + RemoveConfusionStatus(battler); + if (caseId == ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN || caseId == ITEMEFFECT_NORMAL) + { + BattleScriptExecute(BattleScript_BerryCureChosenStatusEnd2); + } + else + { + BattleScriptPushCursor(); + gBattlescriptCurrInstr = BattleScript_BerryCureChosenStatusRet; + } + effect = ITEM_STATUS_CHANGE; + } + + return effect; +} + +u32 ItemBattleEffects(enum ItemEffect caseID, u32 battler, bool32 moveTurn) +{ + u32 moveType = 0; + u32 effect = ITEM_NO_EFFECT; + u32 battlerHoldEffect = 0, atkHoldEffect = 0; + u32 atkHoldEffectParam = 0; + u32 atkItem = 0; if (caseID != ITEMEFFECT_USE_LAST_ITEM) { @@ -7454,7 +7521,10 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) switch (caseID) { + case ITEMEFFECT_NONE: + break; case ITEMEFFECT_ON_SWITCH_IN: + case ITEMEFFECT_ON_SWITCH_IN_FIRST_TURN: if (!gSpecialStatuses[battler].switchInItemDone) { switch (battlerHoldEffect) @@ -7476,43 +7546,43 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_CONFUSE_SPICY: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, caseID); break; case HOLD_EFFECT_CONFUSE_DRY: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, caseID); break; case HOLD_EFFECT_CONFUSE_SWEET: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, caseID); break; case HOLD_EFFECT_CONFUSE_BITTER: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, caseID); break; case HOLD_EFFECT_CONFUSE_SOUR: if (B_BERRIES_INSTANT >= GEN_4) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, caseID); break; case HOLD_EFFECT_ATTACK_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, caseID); break; case HOLD_EFFECT_DEFENSE_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, caseID); break; case HOLD_EFFECT_SPEED_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, caseID); break; case HOLD_EFFECT_SP_ATTACK_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, caseID); break; case HOLD_EFFECT_SP_DEFENSE_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, caseID); break; case HOLD_EFFECT_CRITICAL_UP: if (B_BERRIES_INSTANT >= GEN_4 @@ -7527,7 +7597,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_RANDOM_STAT_UP: if (B_BERRIES_INSTANT >= GEN_4) - effect = RandomStatRaiseBerry(battler, gLastUsedItem, TRUE); + effect = RandomStatRaiseBerry(battler, gLastUsedItem, caseID); break; case HOLD_EFFECT_CURE_PAR: if (B_BERRIES_INSTANT >= GEN_4 @@ -7589,59 +7659,16 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) } break; case HOLD_EFFECT_CURE_STATUS: - if (B_BERRIES_INSTANT >= GEN_4 - && (gBattleMons[battler].status1 & STATUS1_ANY || gBattleMons[battler].status2 & STATUS2_CONFUSION) - && !UnnerveOn(battler, gLastUsedItem)) - { - i = 0; - if (gBattleMons[battler].status1 & STATUS1_PSN_ANY) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_PoisonJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_SLEEP) - { - gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; - StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_ParalysisJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_BURN) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_BurnJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_FREEZE || gBattleMons[battler].status1 & STATUS1_FROSTBITE) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_IceJpn); - i++; - } - if (gBattleMons[battler].status2 & STATUS2_CONFUSION) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_ConfusionJpn); - i++; - } - if (i <= 1) - gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_CURED_PROBLEM; - else - gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_NORMALIZED_STATUS; - gBattleMons[battler].status1 = 0; - RemoveConfusionStatus(battler); - BattleScriptExecute(BattleScript_BerryCureChosenStatusEnd2); - effect = ITEM_STATUS_CHANGE; - } + if (B_BERRIES_INSTANT >= GEN_4) + effect = TryCureStatus(battler, caseID); break; case HOLD_EFFECT_RESTORE_HP: if (B_BERRIES_INSTANT >= GEN_4) - effect = ItemHealHp(battler, gLastUsedItem, TRUE, FALSE); + effect = ItemHealHp(battler, gLastUsedItem, caseID, FALSE); break; case HOLD_EFFECT_RESTORE_PCT_HP: if (B_BERRIES_INSTANT >= GEN_4) - effect = ItemHealHp(battler, gLastUsedItem, TRUE, TRUE); + effect = ItemHealHp(battler, gLastUsedItem, caseID, TRUE); break; case HOLD_EFFECT_AIR_BALLOON: effect = ITEM_EFFECT_OTHER; @@ -7660,16 +7687,16 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) switch (GetBattlerHoldEffectParam(battler)) { case HOLD_EFFECT_PARAM_ELECTRIC_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_ELECTRIC_TERRAIN, STAT_DEF, gLastUsedItem, TRUE); + effect = TryHandleSeed(battler, STATUS_FIELD_ELECTRIC_TERRAIN, STAT_DEF, gLastUsedItem, caseID); break; case HOLD_EFFECT_PARAM_GRASSY_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_GRASSY_TERRAIN, STAT_DEF, gLastUsedItem, TRUE); + effect = TryHandleSeed(battler, STATUS_FIELD_GRASSY_TERRAIN, STAT_DEF, gLastUsedItem, caseID); break; case HOLD_EFFECT_PARAM_MISTY_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_MISTY_TERRAIN, STAT_SPDEF, gLastUsedItem, TRUE); + effect = TryHandleSeed(battler, STATUS_FIELD_MISTY_TERRAIN, STAT_SPDEF, gLastUsedItem, caseID); break; case HOLD_EFFECT_PARAM_PSYCHIC_TERRAIN: - effect = TryHandleSeed(battler, STATUS_FIELD_PSYCHIC_TERRAIN, STAT_SPDEF, gLastUsedItem, TRUE); + effect = TryHandleSeed(battler, STATUS_FIELD_PSYCHIC_TERRAIN, STAT_SPDEF, gLastUsedItem, caseID); break; } break; @@ -7709,10 +7736,10 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) effect = ITEM_STATS_CHANGE; break; case HOLD_EFFECT_MIRROR_HERB: - effect = TryConsumeMirrorHerb(battler, TRUE); + effect = TryConsumeMirrorHerb(battler, caseID); break; case HOLD_EFFECT_BOOSTER_ENERGY: - effect = TryBoosterEnergy(battler); + effect = TryBoosterEnergy(battler, caseID); break; } if (effect != 0) @@ -7736,15 +7763,15 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) { case HOLD_EFFECT_RESTORE_HP: if (!moveTurn) - effect = ItemHealHp(battler, gLastUsedItem, TRUE, FALSE); + effect = ItemHealHp(battler, gLastUsedItem, caseID, FALSE); break; case HOLD_EFFECT_RESTORE_PCT_HP: if (!moveTurn) - effect = ItemHealHp(battler, gLastUsedItem, TRUE, TRUE); + effect = ItemHealHp(battler, gLastUsedItem, caseID, TRUE); break; case HOLD_EFFECT_RESTORE_PP: if (!moveTurn) - effect = ItemRestorePp(battler, gLastUsedItem, TRUE); + effect = ItemRestorePp(battler, gLastUsedItem, caseID); break; case HOLD_EFFECT_RESTORE_STATS: effect = RestoreWhiteHerbStats(battler); @@ -7786,43 +7813,43 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_CONFUSE_SPICY: if (!moveTurn) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SPICY, caseID); break; case HOLD_EFFECT_CONFUSE_DRY: if (!moveTurn) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_DRY, caseID); break; case HOLD_EFFECT_CONFUSE_SWEET: if (!moveTurn) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SWEET, caseID); break; case HOLD_EFFECT_CONFUSE_BITTER: if (!moveTurn) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_BITTER, caseID); break; case HOLD_EFFECT_CONFUSE_SOUR: if (!moveTurn) - effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, TRUE); + effect = HealConfuseBerry(battler, gLastUsedItem, FLAVOR_SOUR, caseID); break; case HOLD_EFFECT_ATTACK_UP: if (!moveTurn) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_ATK, caseID); break; case HOLD_EFFECT_DEFENSE_UP: if (!moveTurn) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_DEF, caseID); break; case HOLD_EFFECT_SPEED_UP: if (!moveTurn) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPEED, caseID); break; case HOLD_EFFECT_SP_ATTACK_UP: if (!moveTurn) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPATK, caseID); break; case HOLD_EFFECT_SP_DEFENSE_UP: if (!moveTurn) - effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, TRUE); + effect = StatRaiseBerry(battler, gLastUsedItem, STAT_SPDEF, caseID); break; case HOLD_EFFECT_CRITICAL_UP: if (!moveTurn && !(gBattleMons[battler].status2 & STATUS2_FOCUS_ENERGY_ANY) @@ -7836,7 +7863,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_RANDOM_STAT_UP: if (!moveTurn) - effect = RandomStatRaiseBerry(battler, gLastUsedItem, TRUE); + effect = RandomStatRaiseBerry(battler, gLastUsedItem, caseID); break; case HOLD_EFFECT_CURE_PAR: if (gBattleMons[battler].status1 & STATUS1_PARALYSIS && !UnnerveOn(battler, gLastUsedItem)) @@ -7894,49 +7921,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) } break; case HOLD_EFFECT_CURE_STATUS: - if ((gBattleMons[battler].status1 & STATUS1_ANY || gBattleMons[battler].status2 & STATUS2_CONFUSION) && !UnnerveOn(battler, gLastUsedItem)) - { - i = 0; - if (gBattleMons[battler].status1 & STATUS1_PSN_ANY) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_PoisonJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_SLEEP) - { - gBattleMons[battler].status2 &= ~STATUS2_NIGHTMARE; - StringCopy(gBattleTextBuff1, gStatusConditionString_SleepJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_PARALYSIS) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_ParalysisJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_BURN) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_BurnJpn); - i++; - } - if (gBattleMons[battler].status1 & STATUS1_FREEZE || gBattleMons[battler].status1 & STATUS1_FROSTBITE) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_IceJpn); - i++; - } - if (gBattleMons[battler].status2 & STATUS2_CONFUSION) - { - StringCopy(gBattleTextBuff1, gStatusConditionString_ConfusionJpn); - i++; - } - if (i <= 1) - gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_CURED_PROBLEM; - else - gBattleCommunication[MULTISTRING_CHOOSER] = B_MSG_NORMALIZED_STATUS; - gBattleMons[battler].status1 = 0; - RemoveConfusionStatus(battler); - BattleScriptExecute(BattleScript_BerryCureChosenStatusEnd2); - effect = ITEM_STATUS_CHANGE; - } + effect = TryCureStatus(battler, caseID); break; case HOLD_EFFECT_MENTAL_HERB: if (GetMentalHerbEffect(battler)) @@ -7949,7 +7934,7 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) break; case HOLD_EFFECT_MICLE_BERRY: if (!moveTurn) - effect = TrySetMicleBerry(battler, gLastUsedItem, TRUE); + effect = TrySetMicleBerry(battler, gLastUsedItem, caseID); break; case HOLD_EFFECT_BERSERK_GENE: BufferStatChange(battler, STAT_ATK, STRINGID_STATROSE); @@ -7967,10 +7952,10 @@ u8 ItemBattleEffects(u8 caseID, u32 battler, bool32 moveTurn) effect = ITEM_STATS_CHANGE; break; case HOLD_EFFECT_MIRROR_HERB: - effect = TryConsumeMirrorHerb(battler, TRUE); + effect = TryConsumeMirrorHerb(battler, caseID); break; case HOLD_EFFECT_BOOSTER_ENERGY: - effect = TryBoosterEnergy(battler); + effect = TryBoosterEnergy(battler, caseID); break; } diff --git a/test/battle/hold_effect/booster_energy.c b/test/battle/hold_effect/booster_energy.c index a63f462b72..072eb8df60 100644 --- a/test/battle/hold_effect/booster_energy.c +++ b/test/battle/hold_effect/booster_energy.c @@ -209,3 +209,28 @@ SINGLE_BATTLE_TEST("Booster Energy can't be tricked if a Paradox species is invo MESSAGE("But it failed!"); } } + +DOUBLE_BATTLE_TEST("Booster Energy triggers correctly for all battlers if multiple fainted the previous turn") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_CATERPIE) { HP(1); } + PLAYER(SPECIES_GOUGING_FIRE) { Item(ITEM_BOOSTER_ENERGY); } + PLAYER(SPECIES_IRON_MOTH) { Item(ITEM_BOOSTER_ENERGY); } + OPPONENT(SPECIES_CATERPIE) { HP(1); } + OPPONENT(SPECIES_CATERPIE) { HP(1); } + OPPONENT(SPECIES_FLUTTER_MANE) { Item(ITEM_BOOSTER_ENERGY); } + OPPONENT(SPECIES_CATERPIE); + } WHEN { + TURN { MOVE(playerLeft, MOVE_EXPLOSION); + SEND_OUT(opponentRight, 3); + SEND_OUT(opponentLeft, 2); + SEND_OUT(playerRight, 3); + SEND_OUT(playerLeft, 2); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_EXPLOSION, playerLeft); + ABILITY_POPUP(playerLeft, ABILITY_PROTOSYNTHESIS); + ABILITY_POPUP(playerRight, ABILITY_QUARK_DRIVE); + ABILITY_POPUP(opponentLeft, ABILITY_PROTOSYNTHESIS); + } +} diff --git a/test/battle/hold_effect/cure_status.c b/test/battle/hold_effect/cure_status.c index d954983f88..133eeafb41 100644 --- a/test/battle/hold_effect/cure_status.c +++ b/test/battle/hold_effect/cure_status.c @@ -265,3 +265,30 @@ SINGLE_BATTLE_TEST("Player Pokemon can be further poisoned with Toxic spikes aft STATUS_ICON(player, poison: TRUE); } } + +DOUBLE_BATTLE_TEST("Lum Berry correctly cures all battlers if multiple fainted the previous turn") +{ + GIVEN { + PLAYER(SPECIES_WOBBUFFET); + PLAYER(SPECIES_CATERPIE) { HP(1); } + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_LUM_BERRY); Status1(STATUS1_BURN); } + PLAYER(SPECIES_WOBBUFFET) { Item(ITEM_LUM_BERRY); Status1(STATUS1_POISON); } + OPPONENT(SPECIES_CATERPIE) { HP(1); } + OPPONENT(SPECIES_CATERPIE) { HP(1); } + OPPONENT(SPECIES_WOBBUFFET) { Item(ITEM_LUM_BERRY); Status1(STATUS1_PARALYSIS); } + OPPONENT(SPECIES_CATERPIE); + } WHEN { + TURN { MOVE(playerLeft, MOVE_EXPLOSION); + SEND_OUT(opponentRight, 3); + SEND_OUT(opponentLeft, 2); + SEND_OUT(playerRight, 3); + SEND_OUT(playerLeft, 2); } + } SCENE { + ANIMATION(ANIM_TYPE_MOVE, MOVE_EXPLOSION, playerLeft); + } THEN { + EXPECT_EQ(playerLeft->status1, STATUS1_NONE); + EXPECT_EQ(playerRight->status1, STATUS1_NONE); + EXPECT_EQ(opponentLeft->status1, STATUS1_NONE); + + } +} From 1b880a118539e6bfd7e6dea4c1a39c0321f49217 Mon Sep 17 00:00:00 2001 From: Frank DeBlasio <35279583+fdeblasio@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:11:59 -0500 Subject: [PATCH 273/278] Converted item-related variables to COMPOUND_STRINGs (#5714) --- include/strings.h | 72 +------------------------------------------ src/data/party_menu.h | 46 ++++++++++++++------------- src/item_menu.c | 44 ++++++++++++++------------ src/item_use.c | 49 +++++++++++++++++++---------- src/player_pc.c | 52 ++++++++++++++++++------------- src/strings.c | 64 -------------------------------------- 6 files changed, 113 insertions(+), 214 deletions(-) diff --git a/include/strings.h b/include/strings.h index ec5d36041e..8e1f797079 100644 --- a/include/strings.h +++ b/include/strings.h @@ -177,12 +177,7 @@ extern const u8 gMenuText_Toss[]; extern const u8 gMenuText_Give[]; extern const u8 gMenuText_Give2[]; extern const u8 gMenuText_Register[]; -extern const u8 gMenuText_Check[]; -extern const u8 gMenuText_Walk[]; -extern const u8 gMenuText_Deselect[]; -extern const u8 gMenuText_CheckTag[]; extern const u8 gMenuText_Confirm[]; -extern const u8 gMenuText_Show[]; extern const u8 gMenuText_Give2[]; extern const u8 gText_EggNickname[]; @@ -318,15 +313,10 @@ extern const u8 gText_ThrewAwayVar2Var1s[]; extern const u8 gText_CantWriteMail[]; extern const u8 gText_NoPokemon[]; extern const u8 gText_Var1CantBeHeld[]; -extern const u8 gText_Var1CantBeHeldHere[]; extern const u8 gText_CantBuyKeyItem[]; extern const u8 gText_HowManyToSell[]; extern const u8 gText_ICanPayVar1[]; extern const u8 gText_TurnedOverVar1ForVar2[]; -extern const u8 gText_DepositHowManyVar1[]; -extern const u8 gText_CantStoreImportantItems[]; -extern const u8 gText_DepositedVar2Var1s[]; -extern const u8 gText_NoRoomForItems[]; extern const u8 gText_ThreeDashes[]; extern const u8 *const gPocketNamesStringsTable[]; @@ -450,28 +440,12 @@ extern const u8 gBirchDexRatingText_LessThan190[]; extern const u8 gBirchDexRatingText_LessThan200[]; extern const u8 gBirchDexRatingText_DexCompleted[]; -// player pc text +// player PC text extern const u8 gText_WhatWouldYouLike[]; extern const u8 gText_NoMailHere[]; - -extern const u8 gText_TakeOutItemsFromPC[]; -extern const u8 gText_StoreItemsInPC[]; -extern const u8 gText_ThrowAwayItemsInPC[]; extern const u8 gText_GoBackPrevMenu[]; - -extern const u8 gText_ItemStorage[]; -extern const u8 gText_Mailbox[]; -extern const u8 gText_Decoration[]; -extern const u8 gText_TurnOff[]; - -extern const u8 gText_WithdrawItem[]; -extern const u8 gText_DepositItem[]; -extern const u8 gText_TossItem[]; extern const u8 gText_Cancel[]; -extern const u8 gText_Read[]; -extern const u8 gText_MoveToBag[]; -extern const u8 gText_Give2[]; extern const u8 gText_Cancel2[]; extern const u8 gText_NoItems[]; @@ -481,12 +455,8 @@ extern const u8 gText_BagIsFull[]; extern const u8 gText_MailToBagMessageErased[]; extern const u8 gText_GoBackPrevMenu[]; -extern const u8 gText_WithdrawHowManyItems[]; -extern const u8 gText_WithdrawXItems[]; extern const u8 gText_TossHowManyVar1s[]; extern const u8 gText_ThrewAwayVar2Var1s[]; -extern const u8 gText_NoRoomInBag[]; -extern const u8 gText_TooImportantToToss[]; extern const u8 gText_ConfirmTossItems[]; extern const u8 gText_MoveVar1Where[]; @@ -717,26 +687,12 @@ extern const u8 gText_Gabby[]; extern const u8 gText_Anna[]; extern const u8 gText_DadsAdvice[]; -extern const u8 gText_CantDismountBike[]; -extern const u8 gText_ItemFinderNothing[]; -extern const u8 gText_ItemFinderNearby[]; -extern const u8 gText_ItemFinderOnTop[]; -extern const u8 gText_CoinCase[]; -extern const u8 gText_PowderQty[]; -extern const u8 gText_BootedUpHM[]; -extern const u8 gText_BootedUpTM[]; -extern const u8 gText_TMHMContainedVar1[]; extern const u8 gText_PlayerUsedVar2[]; extern const u8 gText_RepelEffectsLingered[]; extern const u8 gText_LureEffectsLingered[]; -extern const u8 gText_UsedVar2WildLured[]; -extern const u8 gText_UsedVar2WildRepelled[]; extern const u8 gText_BoxFull[]; extern const u8 gText_WontHaveEffect[]; extern const u8 gText_NextFusionMon[]; -extern const u8 gText_PlayedPokeFluteCatchy[]; -extern const u8 gText_PlayedPokeFlute[]; -extern const u8 gText_PokeFluteAwakenedMon[]; extern const u8 gText_LevelSymbol[]; extern const u8 gText_PkmnInfo[]; @@ -940,19 +896,6 @@ extern const u8 CableClub_Text_YouMayBattleHere[]; extern const u8 CableClub_Text_CanMixRecords[]; extern const u8 CableClub_Text_CanMakeBerryPowder[]; -// Rotom Catalog text -extern const u8 gText_LightBulb[]; -extern const u8 gText_MicrowaveOven[]; -extern const u8 gText_WashingMachine[]; -extern const u8 gText_Refrigerator[]; -extern const u8 gText_ElectricFan[]; -extern const u8 gText_LawnMower[]; -extern const u8 gText_Exit[]; - -// Zygarde Cube text -extern const u8 gText_ChangeForm[]; -extern const u8 gText_ChangeAbility[]; - // Frontier records. extern const u8 gText_WinStreak[]; extern const u8 gText_Record[]; @@ -1677,21 +1620,8 @@ extern const u8 gText_NotAble2[]; extern const u8 gText_Learned[]; extern const u8 gText_Have[]; extern const u8 gText_DontHave[]; -extern const u8 gText_Take[]; -extern const u8 gText_Mail[]; -extern const u8 gText_Take2[]; -extern const u8 gText_Read2[]; extern const u8 gText_Cancel2[]; -extern const u8 gText_Shift[]; -extern const u8 gText_SendOut[]; -extern const u8 gText_Enter[]; -extern const u8 gText_NoEntry[]; -extern const u8 gText_Store[]; extern const u8 gText_Register[]; -extern const u8 gText_Trade4[]; -extern const u8 gText_Summary5[]; -extern const u8 gText_Switch2[]; -extern const u8 gText_Item[]; extern const u8 gText_NotPkmnOtherTrainerWants[]; extern const u8 gText_ThatIsntAnEgg[]; extern const u8 gText_OtherTrainersPkmnCantBeTraded[]; diff --git a/src/data/party_menu.h b/src/data/party_menu.h index 841cedca88..3bc86593fa 100644 --- a/src/data/party_menu.h +++ b/src/data/party_menu.h @@ -686,39 +686,41 @@ static const u16 sUnusedData[] = 0x0121, 0x013b, 0x000f, 0x0013, 0x0039, 0x0046, 0x0094, 0x00f9, 0x007f, 0x0123, }; +static const u8 sText_Trade4[] = _("TRADE"); + struct { const u8 *text; TaskFunc func; } static const sCursorOptions[MENU_FIELD_MOVES] = { - [MENU_SUMMARY] = {gText_Summary5, CursorCb_Summary}, - [MENU_SWITCH] = {gText_Switch2, CursorCb_Switch}, + [MENU_SUMMARY] = {COMPOUND_STRING("SUMMARY"), CursorCb_Summary}, + [MENU_SWITCH] = {COMPOUND_STRING("SWITCH"), CursorCb_Switch}, [MENU_CANCEL1] = {gText_Cancel2, CursorCb_Cancel1}, - [MENU_ITEM] = {gText_Item, CursorCb_Item}, + [MENU_ITEM] = {COMPOUND_STRING("ITEM"), CursorCb_Item}, [MENU_GIVE] = {gMenuText_Give, CursorCb_Give}, - [MENU_TAKE_ITEM] = {gText_Take, CursorCb_TakeItem}, - [MENU_MAIL] = {gText_Mail, CursorCb_Mail}, - [MENU_TAKE_MAIL] = {gText_Take2, CursorCb_TakeMail}, - [MENU_READ] = {gText_Read2, CursorCb_Read}, + [MENU_TAKE_ITEM] = {COMPOUND_STRING("TAKE"), CursorCb_TakeItem}, + [MENU_MAIL] = {COMPOUND_STRING("MAIL"), CursorCb_Mail}, + [MENU_TAKE_MAIL] = {COMPOUND_STRING("TAKE"), CursorCb_TakeMail}, + [MENU_READ] = {COMPOUND_STRING("READ"), CursorCb_Read}, [MENU_CANCEL2] = {gText_Cancel2, CursorCb_Cancel2}, - [MENU_SHIFT] = {gText_Shift, CursorCb_SendMon}, - [MENU_SEND_OUT] = {gText_SendOut, CursorCb_SendMon}, - [MENU_ENTER] = {gText_Enter, CursorCb_Enter}, - [MENU_NO_ENTRY] = {gText_NoEntry, CursorCb_NoEntry}, - [MENU_STORE] = {gText_Store, CursorCb_Store}, + [MENU_SHIFT] = {COMPOUND_STRING("SHIFT"), CursorCb_SendMon}, + [MENU_SEND_OUT] = {COMPOUND_STRING("SEND OUT"), CursorCb_SendMon}, + [MENU_ENTER] = {COMPOUND_STRING("ENTER"), CursorCb_Enter}, + [MENU_NO_ENTRY] = {COMPOUND_STRING("NO ENTRY"), CursorCb_NoEntry}, + [MENU_STORE] = {COMPOUND_STRING("STORE"), CursorCb_Store}, [MENU_REGISTER] = {gText_Register, CursorCb_Register}, - [MENU_TRADE1] = {gText_Trade4, CursorCb_Trade1}, - [MENU_TRADE2] = {gText_Trade4, CursorCb_Trade2}, + [MENU_TRADE1] = {sText_Trade4, CursorCb_Trade1}, + [MENU_TRADE2] = {sText_Trade4, CursorCb_Trade2}, [MENU_TOSS] = {gMenuText_Toss, CursorCb_Toss}, - [MENU_CATALOG_BULB] = {gText_LightBulb, CursorCb_CatalogBulb}, - [MENU_CATALOG_OVEN] = {gText_MicrowaveOven, CursorCb_CatalogOven}, - [MENU_CATALOG_WASHING] = {gText_WashingMachine, CursorCb_CatalogWashing}, - [MENU_CATALOG_FRIDGE] = {gText_Refrigerator, CursorCb_CatalogFridge}, - [MENU_CATALOG_FAN] = {gText_ElectricFan, CursorCb_CatalogFan}, - [MENU_CATALOG_MOWER] = {gText_LawnMower, CursorCb_CatalogMower}, - [MENU_CHANGE_FORM] = {gText_ChangeForm, CursorCb_ChangeForm}, - [MENU_CHANGE_ABILITY] = {gText_ChangeAbility, CursorCb_ChangeAbility}, + [MENU_CATALOG_BULB] = {COMPOUND_STRING("Light bulb"), CursorCb_CatalogBulb}, + [MENU_CATALOG_OVEN] = {COMPOUND_STRING("Microwave oven"), CursorCb_CatalogOven}, + [MENU_CATALOG_WASHING] = {COMPOUND_STRING("Washing machine"), CursorCb_CatalogWashing}, + [MENU_CATALOG_FRIDGE] = {COMPOUND_STRING("Refrigerator"), CursorCb_CatalogFridge}, + [MENU_CATALOG_FAN] = {COMPOUND_STRING("Electric fan"), CursorCb_CatalogFan}, + [MENU_CATALOG_MOWER] = {COMPOUND_STRING("Lawn mower"), CursorCb_CatalogMower}, + [MENU_CHANGE_FORM] = {COMPOUND_STRING("Change form"), CursorCb_ChangeForm}, + [MENU_CHANGE_ABILITY] = {COMPOUND_STRING("Change Ability"), CursorCb_ChangeAbility}, }; static const u8 sPartyMenuAction_SummarySwitchCancel[] = {MENU_SUMMARY, MENU_SWITCH, MENU_CANCEL1}; diff --git a/src/item_menu.c b/src/item_menu.c index d885f0a8ec..709dded46b 100755 --- a/src/item_menu.c +++ b/src/item_menu.c @@ -212,6 +212,12 @@ static void ConfirmSell(u8); static void CancelSell(u8); static void Task_FadeAndCloseBagMenuIfMulch(u8 taskId); +static const u8 sText_Var1CantBeHeldHere[] = _("The {STR_VAR_1} can't be held\nhere."); +static const u8 sText_DepositHowManyVar1[] = _("Deposit how many\n{STR_VAR_1}?"); +static const u8 sText_DepositedVar2Var1s[] = _("Deposited {STR_VAR_2}\n{STR_VAR_1}."); +static const u8 sText_NoRoomForItems[] = _("There's no room to\nstore items."); +static const u8 sText_CantStoreImportantItems[] = _("Important items\ncan't be stored in\nthe PC!"); + static const struct BgTemplate sBgTemplates_ItemMenu[] = { { @@ -266,20 +272,20 @@ static const struct ListMenuTemplate sItemListMenu = }; static const struct MenuAction sItemMenuActions[] = { - [ACTION_USE] = {gMenuText_Use, {ItemMenu_UseOutOfBattle}}, - [ACTION_TOSS] = {gMenuText_Toss, {ItemMenu_Toss}}, - [ACTION_REGISTER] = {gMenuText_Register, {ItemMenu_Register}}, - [ACTION_GIVE] = {gMenuText_Give, {ItemMenu_Give}}, - [ACTION_CANCEL] = {gText_Cancel2, {ItemMenu_Cancel}}, - [ACTION_BATTLE_USE] = {gMenuText_Use, {ItemMenu_UseInBattle}}, - [ACTION_CHECK] = {gMenuText_Check, {ItemMenu_UseOutOfBattle}}, - [ACTION_WALK] = {gMenuText_Walk, {ItemMenu_UseOutOfBattle}}, - [ACTION_DESELECT] = {gMenuText_Deselect, {ItemMenu_Register}}, - [ACTION_CHECK_TAG] = {gMenuText_CheckTag, {ItemMenu_CheckTag}}, - [ACTION_CONFIRM] = {gMenuText_Confirm, {Task_FadeAndCloseBagMenu}}, - [ACTION_SHOW] = {gMenuText_Show, {ItemMenu_Show}}, - [ACTION_GIVE_FAVOR_LADY] = {gMenuText_Give2, {ItemMenu_GiveFavorLady}}, - [ACTION_CONFIRM_QUIZ_LADY] = {gMenuText_Confirm, {ItemMenu_ConfirmQuizLady}}, + [ACTION_USE] = {gMenuText_Use, {ItemMenu_UseOutOfBattle}}, + [ACTION_TOSS] = {gMenuText_Toss, {ItemMenu_Toss}}, + [ACTION_REGISTER] = {gMenuText_Register, {ItemMenu_Register}}, + [ACTION_GIVE] = {gMenuText_Give, {ItemMenu_Give}}, + [ACTION_CANCEL] = {gText_Cancel2, {ItemMenu_Cancel}}, + [ACTION_BATTLE_USE] = {gMenuText_Use, {ItemMenu_UseInBattle}}, + [ACTION_CHECK] = {COMPOUND_STRING("CHECK"), {ItemMenu_UseOutOfBattle}}, + [ACTION_WALK] = {COMPOUND_STRING("WALK"), {ItemMenu_UseOutOfBattle}}, + [ACTION_DESELECT] = {COMPOUND_STRING("CHECK TAG"), {ItemMenu_Register}}, + [ACTION_CHECK_TAG] = {COMPOUND_STRING("DESELECT"), {ItemMenu_CheckTag}}, + [ACTION_CONFIRM] = {gMenuText_Confirm, {Task_FadeAndCloseBagMenu}}, + [ACTION_SHOW] = {COMPOUND_STRING("SHOW"), {ItemMenu_Show}}, + [ACTION_GIVE_FAVOR_LADY] = {gMenuText_Give2, {ItemMenu_GiveFavorLady}}, + [ACTION_CONFIRM_QUIZ_LADY] = {gMenuText_Confirm, {ItemMenu_ConfirmQuizLady}}, [ACTION_DUMMY] = {gText_EmptyString2, {NULL}} }; @@ -2038,7 +2044,7 @@ static void Task_ItemContext_GiveToParty(u8 taskId) else if (!IsHoldingItemAllowed(gSpecialVar_ItemId)) { CopyItemName(gSpecialVar_ItemId, gStringVar1); - StringExpandPlaceholders(gStringVar4, gText_Var1CantBeHeldHere); + StringExpandPlaceholders(gStringVar4, sText_Var1CantBeHeldHere); DisplayItemMessage(taskId, FONT_NORMAL, gStringVar4, HandleErrorMessage); } else if (gBagPosition.pocket != KEYITEMS_POCKET && !ItemId_GetImportance(gSpecialVar_ItemId)) @@ -2236,7 +2242,7 @@ static void Task_ItemContext_Deposit(u8 taskId) { u8 *end = CopyItemNameHandlePlural(gSpecialVar_ItemId, gStringVar1, 2); WrapFontIdToFit(gStringVar1, end, FONT_NORMAL, WindowWidthPx(WIN_DESCRIPTION) - 10 - 6); - StringExpandPlaceholders(gStringVar4, gText_DepositHowManyVar1); + StringExpandPlaceholders(gStringVar4, sText_DepositHowManyVar1); FillWindowPixelBuffer(WIN_DESCRIPTION, PIXEL_FILL(0)); BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, gStringVar4, 3, 1, 0, 0, 0, COLORID_NORMAL); AddItemQuantityWindow(ITEMWIN_QUANTITY); @@ -2276,7 +2282,7 @@ static void TryDepositItem(u8 taskId) if (ItemId_GetImportance(gSpecialVar_ItemId)) { // Can't deposit important items - BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, gText_CantStoreImportantItems, 3, 1, 0, 0, 0, COLORID_NORMAL); + BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, sText_CantStoreImportantItems, 3, 1, 0, 0, 0, COLORID_NORMAL); gTasks[taskId].func = WaitDepositErrorMessage; } else if (AddPCItem(gSpecialVar_ItemId, tItemCount) == TRUE) @@ -2285,14 +2291,14 @@ static void TryDepositItem(u8 taskId) u8 *end = CopyItemNameHandlePlural(gSpecialVar_ItemId, gStringVar1, tItemCount); WrapFontIdToFit(gStringVar1, end, FONT_NORMAL, WindowWidthPx(WIN_DESCRIPTION) - 10 - 6); ConvertIntToDecimalStringN(gStringVar2, tItemCount, STR_CONV_MODE_LEFT_ALIGN, MAX_ITEM_DIGITS); - StringExpandPlaceholders(gStringVar4, gText_DepositedVar2Var1s); + StringExpandPlaceholders(gStringVar4, sText_DepositedVar2Var1s); BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, gStringVar4, 3, 1, 0, 0, 0, COLORID_NORMAL); gTasks[taskId].func = Task_RemoveItemFromBag; } else { // No room to deposit - BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, gText_NoRoomForItems, 3, 1, 0, 0, 0, COLORID_NORMAL); + BagMenu_Print(WIN_DESCRIPTION, FONT_NORMAL, sText_NoRoomForItems, 3, 1, 0, 0, 0, COLORID_NORMAL); gTasks[taskId].func = WaitDepositErrorMessage; } } diff --git a/src/item_use.c b/src/item_use.c index c04d9b9911..2dc33b164c 100644 --- a/src/item_use.c +++ b/src/item_use.c @@ -80,6 +80,21 @@ static void CB2_OpenPokeblockFromBag(void); static void ItemUseOnFieldCB_Honey(u8 taskId); static bool32 IsValidLocationForVsSeeker(void); +static const u8 sText_CantDismountBike[] = _("You can't dismount your BIKE here.{PAUSE_UNTIL_PRESS}"); +static const u8 sText_ItemFinderNearby[] = _("Huh?\nThe ITEMFINDER's responding!\pThere's an item buried around here!{PAUSE_UNTIL_PRESS}"); +static const u8 sText_ItemFinderOnTop[] = _("Oh!\nThe ITEMFINDER's shaking wildly!{PAUSE_UNTIL_PRESS}"); +static const u8 sText_ItemFinderNothing[] = _("… … … …Nope!\nThere's no response.{PAUSE_UNTIL_PRESS}"); +static const u8 sText_CoinCase[] = _("Your COINS:\n{STR_VAR_1}{PAUSE_UNTIL_PRESS}"); +static const u8 sText_PowderQty[] = _("POWDER QTY: {STR_VAR_1}{PAUSE_UNTIL_PRESS}"); +static const u8 sText_BootedUpTM[] = _("Booted up a TM."); +static const u8 sText_BootedUpHM[] = _("Booted up an HM."); +static const u8 sText_TMHMContainedVar1[] = _("It contained\n{STR_VAR_1}.\pTeach {STR_VAR_1}\nto a POKéMON?"); +static const u8 sText_UsedVar2WildLured[] = _("{PLAYER} used the\n{STR_VAR_2}.\pWild POKéMON will be lured.{PAUSE_UNTIL_PRESS}"); +static const u8 sText_UsedVar2WildRepelled[] = _("{PLAYER} used the\n{STR_VAR_2}.\pWild POKéMON will be repelled.{PAUSE_UNTIL_PRESS}"); +static const u8 sText_PlayedPokeFluteCatchy[] = _("Played the POKé FLUTE.\pNow, that's a catchy tune!{PAUSE_UNTIL_PRESS}"); +static const u8 sText_PlayedPokeFlute[] = _("Played the POKé FLUTE."); +static const u8 sText_PokeFluteAwakenedMon[] = _("The POKé FLUTE awakened sleeping\nPOKéMON.{PAUSE_UNTIL_PRESS}"); + // EWRAM variables EWRAM_DATA static void(*sItemUseOnFieldCB)(u8 taskId) = NULL; @@ -168,7 +183,7 @@ void DisplayDadsAdviceCannotUseItemMessage(u8 taskId, bool8 isUsingRegisteredKey static void DisplayCannotDismountBikeMessage(u8 taskId, bool8 isUsingRegisteredKeyItemOnField) { - DisplayCannotUseItemMessage(taskId, isUsingRegisteredKeyItemOnField, gText_CantDismountBike); + DisplayCannotUseItemMessage(taskId, isUsingRegisteredKeyItemOnField, sText_CantDismountBike); } static void Task_CloseCantUseKeyItemMessage(u8 taskId) @@ -322,7 +337,7 @@ static void ItemUseOnFieldCB_Itemfinder(u8 taskId) if (ItemfinderCheckForHiddenItems(gMapHeader.events, taskId) == TRUE) gTasks[taskId].func = Task_UseItemfinder; else - DisplayItemMessageOnField(taskId, gText_ItemFinderNothing, Task_CloseItemfinderMessage); + DisplayItemMessageOnField(taskId, sText_ItemFinderNothing, Task_CloseItemfinderMessage); } // Define itemfinder task data @@ -615,7 +630,7 @@ static void PlayerFaceHiddenItem(u8 direction) static void Task_HiddenItemNearby(u8 taskId) { if (ObjectEventCheckHeldMovementStatus(&gObjectEvents[GetObjectEventIdByLocalIdAndMap(OBJ_EVENT_ID_PLAYER, 0, 0)]) == TRUE) - DisplayItemMessageOnField(taskId, gText_ItemFinderNearby, Task_CloseItemfinderMessage); + DisplayItemMessageOnField(taskId, sText_ItemFinderNearby, Task_CloseItemfinderMessage); } static void Task_StandingOnHiddenItem(u8 taskId) @@ -632,7 +647,7 @@ static void Task_StandingOnHiddenItem(u8 taskId) tCounter++; if (tCounter == 4) - DisplayItemMessageOnField(taskId, gText_ItemFinderOnTop, Task_CloseItemfinderMessage); + DisplayItemMessageOnField(taskId, sText_ItemFinderOnTop, Task_CloseItemfinderMessage); } } @@ -693,7 +708,7 @@ static void Task_AccessPokemonBoxLink(u8 taskId) void ItemUseOutOfBattle_CoinCase(u8 taskId) { ConvertIntToDecimalStringN(gStringVar1, GetCoins(), STR_CONV_MODE_LEFT_ALIGN, 4); - StringExpandPlaceholders(gStringVar4, gText_CoinCase); + StringExpandPlaceholders(gStringVar4, sText_CoinCase); if (!gTasks[taskId].tUsingRegisteredKeyItem) { @@ -708,7 +723,7 @@ void ItemUseOutOfBattle_CoinCase(u8 taskId) void ItemUseOutOfBattle_PowderJar(u8 taskId) { ConvertIntToDecimalStringN(gStringVar1, GetBerryPowder(), STR_CONV_MODE_LEFT_ALIGN, 5); - StringExpandPlaceholders(gStringVar4, gText_PowderQty); + StringExpandPlaceholders(gStringVar4, sText_PowderQty); if (!gTasks[taskId].tUsingRegisteredKeyItem) { @@ -858,9 +873,9 @@ void ItemUseOutOfBattle_DynamaxCandy(u8 taskId) void ItemUseOutOfBattle_TMHM(u8 taskId) { if (gSpecialVar_ItemId >= ITEM_HM01) - DisplayItemMessage(taskId, FONT_NORMAL, gText_BootedUpHM, BootUpSoundTMHM); // HM + DisplayItemMessage(taskId, FONT_NORMAL, sText_BootedUpHM, BootUpSoundTMHM); // HM else - DisplayItemMessage(taskId, FONT_NORMAL, gText_BootedUpTM, BootUpSoundTMHM); // TM + DisplayItemMessage(taskId, FONT_NORMAL, sText_BootedUpTM, BootUpSoundTMHM); // TM } static void BootUpSoundTMHM(u8 taskId) @@ -874,7 +889,7 @@ static void Task_ShowTMHMContainedMessage(u8 taskId) if (JOY_NEW(A_BUTTON | B_BUTTON)) { StringCopy(gStringVar1, GetMoveName(ItemIdToBattleMoveId(gSpecialVar_ItemId))); - StringExpandPlaceholders(gStringVar4, gText_TMHMContainedVar1); + StringExpandPlaceholders(gStringVar4, sText_TMHMContainedVar1); DisplayItemMessage(taskId, FONT_NORMAL, gStringVar4, UseTMHMYesNo); } } @@ -1015,13 +1030,13 @@ void ItemUseOutOfBattle_BlackWhiteFlute(u8 taskId) { FlagSet(FLAG_SYS_ENC_UP_ITEM); FlagClear(FLAG_SYS_ENC_DOWN_ITEM); - StringExpandPlaceholders(gStringVar4, gText_UsedVar2WildLured); + StringExpandPlaceholders(gStringVar4, sText_UsedVar2WildLured); } else { FlagSet(FLAG_SYS_ENC_DOWN_ITEM); FlagClear(FLAG_SYS_ENC_UP_ITEM); - StringExpandPlaceholders(gStringVar4, gText_UsedVar2WildRepelled); + StringExpandPlaceholders(gStringVar4, sText_UsedVar2WildRepelled); } gTasks[taskId].data[8] = 0; gTasks[taskId].func = Task_UsedBlackWhiteFlute; @@ -1504,9 +1519,9 @@ static void Task_DisplayPokeFluteMessage(u8 taskId) if (WaitFanfare(FALSE)) { if (gTasks[taskId].data[3] == 0) - DisplayItemMessage(taskId, FONT_NORMAL, gText_PokeFluteAwakenedMon, CloseItemMessage); + DisplayItemMessage(taskId, FONT_NORMAL, sText_PokeFluteAwakenedMon, CloseItemMessage); else - DisplayItemMessageOnField(taskId, gText_PokeFluteAwakenedMon, Task_CloseCantUseKeyItemMessage); + DisplayItemMessageOnField(taskId, sText_PokeFluteAwakenedMon, Task_CloseCantUseKeyItemMessage); } } @@ -1530,16 +1545,16 @@ void ItemUseOutOfBattle_PokeFlute(u8 taskId) if (wokeSomeoneUp) { if (gTasks[taskId].data[3] == 0) - DisplayItemMessage(taskId, FONT_NORMAL, gText_PlayedPokeFlute, Task_PlayPokeFlute); + DisplayItemMessage(taskId, FONT_NORMAL, sText_PlayedPokeFlute, Task_PlayPokeFlute); else - DisplayItemMessageOnField(taskId, gText_PlayedPokeFlute, Task_PlayPokeFlute); + DisplayItemMessageOnField(taskId, sText_PlayedPokeFlute, Task_PlayPokeFlute); } else { if (gTasks[taskId].data[3] == 0) - DisplayItemMessage(taskId, FONT_NORMAL, gText_PlayedPokeFluteCatchy, CloseItemMessage); + DisplayItemMessage(taskId, FONT_NORMAL, sText_PlayedPokeFluteCatchy, CloseItemMessage); else - DisplayItemMessageOnField(taskId, gText_PlayedPokeFluteCatchy, Task_CloseCantUseKeyItemMessage); + DisplayItemMessageOnField(taskId, sText_PlayedPokeFluteCatchy, Task_CloseCantUseKeyItemMessage); } } diff --git a/src/player_pc.c b/src/player_pc.c index 3dd5fcc36f..b44799223c 100644 --- a/src/player_pc.c +++ b/src/player_pc.c @@ -181,20 +181,30 @@ static EWRAM_DATA u8 sTopMenuNumOptions = 0; EWRAM_DATA struct PlayerPCItemPageStruct gPlayerPCItemPageInfo = {}; static EWRAM_DATA struct ItemStorageMenu *sItemStorageMenu = NULL; +static const u8 sText_WithdrawItem[] = _("WITHDRAW ITEM"); +static const u8 sText_DepositItem[] = _("DEPOSIT ITEM"); +static const u8 sText_TossItem[] = _("TOSS ITEM"); +static const u8 sText_Mailbox[] = _("MAILBOX"); + +static const u8 sText_WithdrawHowManyItems[] = _("Withdraw how many\n{STR_VAR_1}?"); +static const u8 sText_WithdrawXItems[] = _("Withdrew {STR_VAR_2}\n{STR_VAR_1}."); +static const u8 sText_NoRoomInBag[] = _("There is no more\nroom in the BAG."); +static const u8 sText_TooImportantToToss[] = _("That's much too\nimportant to toss\nout!"); + static const u8 *const sItemStorage_OptionDescriptions[] = { - [MENU_WITHDRAW] = gText_TakeOutItemsFromPC, - [MENU_DEPOSIT] = gText_StoreItemsInPC, - [MENU_TOSS] = gText_ThrowAwayItemsInPC, + [MENU_WITHDRAW] = COMPOUND_STRING("Take out items from the PC."), + [MENU_DEPOSIT] = COMPOUND_STRING("Store items in the PC."), + [MENU_TOSS] = COMPOUND_STRING("Throw away items stored in the PC."), [MENU_EXIT] = gText_GoBackPrevMenu, }; static const struct MenuAction sPlayerPCMenuActions[] = { - [MENU_ITEMSTORAGE] = { gText_ItemStorage, {PlayerPC_ItemStorage} }, - [MENU_MAILBOX] = { gText_Mailbox, {PlayerPC_Mailbox} }, - [MENU_DECORATION] = { gText_Decoration, {PlayerPC_Decoration} }, - [MENU_TURNOFF] = { gText_TurnOff, {PlayerPC_TurnOff} } + [MENU_ITEMSTORAGE] = { COMPOUND_STRING("ITEM STORAGE"), {PlayerPC_ItemStorage} }, + [MENU_MAILBOX] = { sText_Mailbox, {PlayerPC_Mailbox} }, + [MENU_DECORATION] = { COMPOUND_STRING("DECORATION"), {PlayerPC_Decoration} }, + [MENU_TURNOFF] = { COMPOUND_STRING("TURN OFF"), {PlayerPC_TurnOff} } }; static const u8 sBedroomPC_OptionOrder[] = @@ -216,9 +226,9 @@ static const u8 sPlayerPC_OptionOrder[] = static const struct MenuAction sItemStorage_MenuActions[] = { - [MENU_WITHDRAW] = { gText_WithdrawItem, {ItemStorage_Withdraw} }, - [MENU_DEPOSIT] = { gText_DepositItem, {ItemStorage_Deposit} }, - [MENU_TOSS] = { gText_TossItem, {ItemStorage_Toss} }, + [MENU_WITHDRAW] = { sText_WithdrawItem, {ItemStorage_Withdraw} }, + [MENU_DEPOSIT] = { sText_DepositItem, {ItemStorage_Deposit} }, + [MENU_TOSS] = { sText_TossItem, {ItemStorage_Toss} }, [MENU_EXIT] = { gText_Cancel, {ItemStorage_Exit} } }; @@ -230,10 +240,10 @@ static const u16 sNewGamePCItems[][2] = const struct MenuAction gMailboxMailOptions[] = { - { gText_Read, {Mailbox_DoMailRead} }, - { gText_MoveToBag, {Mailbox_MoveToBag} }, - { gText_Give2, {Mailbox_Give} }, - { gText_Cancel2, {Mailbox_Cancel} } + { COMPOUND_STRING("READ"), {Mailbox_DoMailRead} }, + { COMPOUND_STRING("MOVE TO BAG"), {Mailbox_MoveToBag} }, + { COMPOUND_STRING("GIVE"), {Mailbox_Give} }, + { gText_Cancel2, {Mailbox_Cancel} } }; static const struct WindowTemplate sWindowTemplates_MainMenus[] = @@ -697,7 +707,7 @@ static void Mailbox_DrawMailboxMenu(u8 taskId) { u8 windowId = MailboxMenu_AddWindow(MAILBOXWIN_TITLE); MailboxMenu_AddWindow(MAILBOXWIN_LIST); - AddTextPrinterParameterized(windowId, FONT_NORMAL, gText_Mailbox, GetStringCenterAlignXOffset(FONT_NORMAL, gText_Mailbox, 0x40), 1, 0, NULL); + AddTextPrinterParameterized(windowId, FONT_NORMAL, sText_Mailbox, GetStringCenterAlignXOffset(FONT_NORMAL, sText_Mailbox, 0x40), 1, 0, NULL); ScheduleBgCopyTilemapToVram(0); gTasks[taskId].tListTaskId = MailboxMenu_CreateList(&gPlayerPCItemPageInfo); MailboxMenu_AddScrollArrows(&gPlayerPCItemPageInfo); @@ -1145,9 +1155,9 @@ static void ItemStorage_CreateListMenu(u8 taskId) for (i = 0; i <= ITEMPC_WIN_LIST_END; i++) ItemStorage_AddWindow(i); toss = tInTossMenu; - text = gText_TossItem; + text = sText_TossItem; if (!toss) - text = gText_WithdrawItem; + text = sText_WithdrawItem; x = GetStringCenterAlignXOffset(FONT_NORMAL, text, 104); AddTextPrinterParameterized(sItemStorageMenu->windowIds[ITEMPC_WIN_TITLE], FONT_NORMAL, text, x, 1, 0, NULL); CopyWindowToVram(sItemStorageMenu->windowIds[ITEMPC_WIN_ICON], COPYWIN_GFX); @@ -1170,10 +1180,10 @@ static const u8 *ItemStorage_GetMessage(u16 itemId) string = gText_GoBackPrevMenu; break; case MSG_HOW_MANY_TO_WITHDRAW: - string = gText_WithdrawHowManyItems; + string = sText_WithdrawHowManyItems; break; case MSG_WITHDREW_ITEM: - string = gText_WithdrawXItems; + string = sText_WithdrawXItems; break; case MSG_HOW_MANY_TO_TOSS: string = gText_TossHowManyVar1s; @@ -1182,10 +1192,10 @@ static const u8 *ItemStorage_GetMessage(u16 itemId) string = gText_ThrewAwayVar2Var1s; break; case MSG_NO_MORE_ROOM: - string = gText_NoRoomInBag; + string = sText_NoRoomInBag; break; case MSG_TOO_IMPORTANT: - string = gText_TooImportantToToss; + string = sText_TooImportantToToss; break; case MSG_OKAY_TO_THROW_AWAY: string = gText_ConfirmTossItems; diff --git a/src/strings.c b/src/strings.c index f5372c96e0..fb3c96eb9d 100644 --- a/src/strings.c +++ b/src/strings.c @@ -126,21 +126,11 @@ const u8 gMenuText_Use[] = _("USE"); const u8 gMenuText_Toss[] = _("TOSS"); const u8 gMenuText_Register[] = _("REGISTER"); const u8 gMenuText_Give[] = _("GIVE"); -const u8 gMenuText_CheckTag[] = _("CHECK TAG"); const u8 gMenuText_Confirm[] = _("CONFIRM"); -const u8 gMenuText_Walk[] = _("WALK"); const u8 gText_Cancel[] = _("CANCEL"); const u8 gText_Cancel2[] = _("CANCEL"); -const u8 gMenuText_Show[] = _("SHOW"); const u8 gText_EmptyString2[] = _(""); -const u8 gText_Cancel7[] = _("CANCEL"); // Unused -const u8 gText_Item[] = _("ITEM"); -const u8 gText_Mail[] = _("MAIL"); -const u8 gText_Take[] = _("TAKE"); -const u8 gText_Store[] = _("STORE"); -const u8 gMenuText_Check[] = _("CHECK"); const u8 gText_None[] = _("NONE"); -const u8 gMenuText_Deselect[] = _("DESELECT"); const u8 gText_FiveMarks[] = _("?????"); const u8 gText_Slash[] = _("/"); const u8 gText_OneDash[] = _("-"); @@ -166,39 +156,19 @@ const u8 gText_CantWriteMail[] = _("You can't write\nMAIL here."); const u8 gText_NoPokemon[] = _("There is no\nPOKéMON."); const u8 gText_MoveVar1Where[] = _("Move the\n{STR_VAR_1}\nwhere?"); const u8 gText_Var1CantBeHeld[] = _("The {STR_VAR_1} can't be held."); -const u8 gText_Var1CantBeHeldHere[] = _("The {STR_VAR_1} can't be held\nhere."); -const u8 gText_DepositHowManyVar1[] = _("Deposit how many\n{STR_VAR_1}?"); -const u8 gText_DepositedVar2Var1s[] = _("Deposited {STR_VAR_2}\n{STR_VAR_1}."); -const u8 gText_NoRoomForItems[] = _("There's no room to\nstore items."); -const u8 gText_CantStoreImportantItems[] = _("Important items\ncan't be stored in\nthe PC!"); -const u8 gText_TooImportantToToss[] = _("That's much too\nimportant to toss\nout!"); const u8 gText_TossHowManyVar1s[] = _("Toss out how many\n{STR_VAR_1}?"); const u8 gText_ThrewAwayVar2Var1s[] = _("Threw away {STR_VAR_2}\n{STR_VAR_1}."); const u8 gText_ConfirmTossItems[] = _("Is it okay to\nthrow away {STR_VAR_2}\n{STR_VAR_1}?"); const u8 gText_DadsAdvice[] = _("DAD's advice…\n{PLAYER}, there's a time and place for\leverything!{PAUSE_UNTIL_PRESS}"); -const u8 gText_CantDismountBike[] = _("You can't dismount your BIKE here.{PAUSE_UNTIL_PRESS}"); -const u8 gText_ItemFinderNearby[] = _("Huh?\nThe ITEMFINDER's responding!\pThere's an item buried around here!{PAUSE_UNTIL_PRESS}"); -const u8 gText_ItemFinderOnTop[] = _("Oh!\nThe ITEMFINDER's shaking wildly!{PAUSE_UNTIL_PRESS}"); -const u8 gText_ItemFinderNothing[] = _("… … … …Nope!\nThere's no response.{PAUSE_UNTIL_PRESS}"); -const u8 gText_CoinCase[] = _("Your COINS:\n{STR_VAR_1}{PAUSE_UNTIL_PRESS}"); -const u8 gText_BootedUpTM[] = _("Booted up a TM."); -const u8 gText_BootedUpHM[] = _("Booted up an HM."); -const u8 gText_TMHMContainedVar1[] = _("It contained\n{STR_VAR_1}.\pTeach {STR_VAR_1}\nto a POKéMON?"); const u8 gText_PlayerUsedVar2[] = _("{PLAYER} used the\n{STR_VAR_2}.{PAUSE_UNTIL_PRESS}"); const u8 gText_RepelEffectsLingered[] = _("But the effects of a REPEL\nlingered from earlier.{PAUSE_UNTIL_PRESS}"); const u8 gText_LureEffectsLingered[] = _("But the effects of a Lure\nlingered from earlier.{PAUSE_UNTIL_PRESS}"); -const u8 gText_UsedVar2WildLured[] = _("{PLAYER} used the\n{STR_VAR_2}.\pWild POKéMON will be lured.{PAUSE_UNTIL_PRESS}"); -const u8 gText_UsedVar2WildRepelled[] = _("{PLAYER} used the\n{STR_VAR_2}.\pWild POKéMON will be repelled.{PAUSE_UNTIL_PRESS}"); const u8 gText_BoxFull[] = _("The BOX is full.{PAUSE_UNTIL_PRESS}"); -const u8 gText_PowderQty[] = _("POWDER QTY: {STR_VAR_1}{PAUSE_UNTIL_PRESS}"); const u8 gText_TheField[] = _("the field"); const u8 gText_TheBattle[] = _("the battle"); const u8 gText_ThePokemonList[] = _("the POKéMON LIST"); const u8 gText_TheShop[] = _("the shop"); const u8 gText_ThePC[] = _("the PC"); -const u8 gText_PlayedPokeFluteCatchy[] = _("Played the POKé FLUTE.\pNow, that's a catchy tune!{PAUSE_UNTIL_PRESS}"); -const u8 gText_PlayedPokeFlute[] = _("Played the POKé FLUTE."); -const u8 gText_PokeFluteAwakenedMon[] = _("The POKé FLUTE awakened sleeping\nPOKéMON.{PAUSE_UNTIL_PRESS}"); const u8 *const gBagMenu_ReturnToStrings[] = { @@ -266,16 +236,6 @@ const u8 gText_HowManyToSell[] = _("{STR_VAR_2}?\nHow many would you like to sel const u8 gText_ICanPayVar1[] = _("I can pay ¥{STR_VAR_1}.\nWould that be okay?"); const u8 gText_TurnedOverVar1ForVar2[] = _("Turned over the {STR_VAR_2}\nand received ¥{STR_VAR_1}."); const u8 gText_PokedollarVar1[] = _("¥{STR_VAR_1}"); -const u8 gText_Shift[] = _("SHIFT"); -const u8 gText_SendOut[] = _("SEND OUT"); -const u8 gText_Switch2[] = _("SWITCH"); -const u8 gText_Summary5[] = _("SUMMARY"); -const u8 gText_Moves[] = _("MOVES"); // Unused -const u8 gText_Enter[] = _("ENTER"); -const u8 gText_NoEntry[] = _("NO ENTRY"); -const u8 gText_Take2[] = _("TAKE"); -const u8 gText_Read2[] = _("READ"); -const u8 gText_Trade4[] = _("TRADE"); const u8 gText_HP3[] = _("HP"); const u8 gText_SpAtk3[] = _("SP. ATK"); const u8 gText_SpDef3[] = _("SP. DEF"); @@ -483,23 +443,7 @@ const u8 gText_Tristan[] = _("TRISTAN"); const u8 gText_Philip[] = _("PHILIP"); const u8 gText_Dennis[] = _("DENNIS"); const u8 gText_Roberto[] = _("ROBERTO"); -const u8 gText_TurnOff[] = _("TURN OFF"); -const u8 gText_Decoration[] = _("DECORATION"); -const u8 gText_ItemStorage[] = _("ITEM STORAGE"); -const u8 gText_Mailbox[] = _("MAILBOX"); -const u8 gText_DepositItem[] = _("DEPOSIT ITEM"); -const u8 gText_WithdrawItem[] = _("WITHDRAW ITEM"); -const u8 gText_TossItem[] = _("TOSS ITEM"); -const u8 gText_StoreItemsInPC[] = _("Store items in the PC."); -const u8 gText_TakeOutItemsFromPC[] = _("Take out items from the PC."); -const u8 gText_ThrowAwayItemsInPC[] = _("Throw away items stored in the PC."); const u8 gText_NoItems[] = _("There are no items.{PAUSE_UNTIL_PRESS}"); -const u8 gText_NoRoomInBag[] = _("There is no more\nroom in the BAG."); -const u8 gText_WithdrawHowManyItems[] = _("Withdraw how many\n{STR_VAR_1}?"); -const u8 gText_WithdrawXItems[] = _("Withdrew {STR_VAR_2}\n{STR_VAR_1}."); -const u8 gText_Read[] = _("READ"); -const u8 gText_MoveToBag[] = _("MOVE TO BAG"); -const u8 gText_Give2[] = _("GIVE"); const u8 gText_NoMailHere[] = _("There's no MAIL here.{PAUSE_UNTIL_PRESS}"); const u8 gText_WhatToDoWithVar1sMail[] = _("What would you like to do with\n{STR_VAR_1}'s MAIL?"); const u8 gText_MessageWillBeLost[] = _("The message will be lost.\nIs that okay?"); @@ -1286,14 +1230,6 @@ const u8 gText_TrainerHill1F[] = _("1F"); const u8 gText_TrainerHill2F[] = _("2F"); const u8 gText_TrainerHill3F[] = _("3F"); const u8 gText_TrainerHill4F[] = _("4F"); -const u8 gText_LightBulb[] = _("Light bulb"); -const u8 gText_MicrowaveOven[] = _("Microwave oven"); -const u8 gText_WashingMachine[] = _("Washing machine"); -const u8 gText_Refrigerator[] = _("Refrigerator"); -const u8 gText_ElectricFan[] = _("Electric fan"); -const u8 gText_LawnMower[] = _("Lawn mower"); -const u8 gText_ChangeForm[] = _("Change form"); -const u8 gText_ChangeAbility[] = _("Change Ability"); const u8 gText_TeachWhichMoveToPkmn[] = _("Teach which move to\n{STR_VAR_1}?"); const u8 gText_MoveRelearnerTeachMoveConfirm[] = _("Teach {STR_VAR_2}?"); const u8 gText_MoveRelearnerPkmnLearnedMove[] = _("{STR_VAR_1} learned\n{STR_VAR_2}!"); From 5c180a0b09cec08ddc42ac84ccceef86de217095 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 4 Dec 2024 11:30:19 -0300 Subject: [PATCH 274/278] Added FONT_SHORT_NARROWER (#5101) --- charmap.txt | 1 + data/scripts/debug.inc | 119 ++++++++++++++++++++++++ graphics/fonts/latin_short_narrower.png | Bin 0 -> 4374 bytes graphics/fonts/latin_small_narrower.png | Bin 7037 -> 4397 bytes graphics_file_rules.mk | 3 + include/fonts.h | 2 + include/text.h | 1 + src/debug.c | 11 +++ src/fonts.c | 36 +++++++ src/text.c | 77 ++++++++++++++- 10 files changed, 249 insertions(+), 1 deletion(-) create mode 100644 graphics/fonts/latin_short_narrower.png diff --git a/charmap.txt b/charmap.txt index 63c2f6ebe1..3a2081e304 100644 --- a/charmap.txt +++ b/charmap.txt @@ -465,6 +465,7 @@ FONT_SMALL_NARROW = FC 06 08 FONT_NARROWER = FC 06 0A FONT_SMALL_NARROWER = FC 06 0B FONT_SHORT_NARROW = FC 06 0C +FONT_SHORT_NARROWER = FC 06 0D @ colors diff --git a/data/scripts/debug.inc b/data/scripts/debug.inc index 4851c87c40..9da3f529fc 100644 --- a/data/scripts/debug.inc +++ b/data/scripts/debug.inc @@ -447,3 +447,122 @@ Debug_EventScript_EWRAMCounters:: Debug_EventScript_EWRAMCounters_Text:: .string "Follower Steps: {STR_VAR_1}.\n" .string "Fishing Chain: {STR_VAR_2}.$" + +Debug_EventScript_FontTest_Text_1:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Angel Adept Blind Bodice Clique\n" + .string "Coast Dunce Docile Enact Eosin\l" + .string "Furlong Focal Gnome Gondola Human\l" + .string "Hoist Inlet Iodine Justin Jocose\l" + .string "Knoll Koala Linden Loads Milliner\l" + .string "Modal Number Nodule Onset Oddball\l" + .string "Pneumo Poncho Quanta Qophs Rhone\l" + .string "Roman Snout Sodium Tundra Tocsin\l" + .string "Uncle Udder Vulcan Vocal Whale\l" + .string "Woman Xmas Xenon Yunnan Young\l" + .string "Zloty Zodiac.$" + +Debug_EventScript_FontTest_Text_2:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Angel angel adept for the nuance loads\n" + .string "of the arena cocoa and quaalude. Blind\l" + .string "blind bodice for the submit oboe of the\l" + .string "club snob and abbot. Clique clique\l" + .string "coast for the pouch loco of the franc\l" + .string "assoc and accede. Dunce dunce docile\l" + .string "for the loudness mastodon of the\l" + .string "loud statehood and huddle.$" + +Debug_EventScript_FontTest_Text_3:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Enact enact eosin for the quench coed\n" + .string "of the pique canoe and bleep. Furlong\l" + .string "furlong focal for the genuflect\l" + .string "profound of the motif aloof and offers.\l" + .string "Gnome gnome gondola for the impugn\l" + .string "logos of the unplug analog and smuggle.\l" + .string "Human human hoist for the buddhist\l" + .string "alcohol of the riyadh caliph and\l" + .string "bathhouse.$" + +Debug_EventScript_FontTest_Text_4:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Inlet inlet iodine for the quince\n" + .string "champion of the ennui scampi and shiite.\l" + .string "Justin justin jocose for the djibouti\l" + .string "sojourn of the oranj raj and hajjis.\l" + .string "Knoll knoll koala for the banknote\l" + .string "lookout of the dybbuk outlook and\l" + .string "trekked. Linden linden loads for the\l" + .string "ulna monolog of the consul menthol and\l" + .string "shallot.$" + +Debug_EventScript_FontTest_Text_5:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Milliner milliner modal for the alumna\n" + .string "solomon of the album custom and summon.\l" + .string "Number number nodule for the unmade\l" + .string "economic of the shotgun bison and\l" + .string "tunnel. Onset onset oddball for the\l" + .string "abandon podium of the antiquo tempo\l" + .string "and moonlit. Pneumo pneumo poncho for\l" + .string "the dauphin opossum of the holdup\l" + .string "bishop and supplies.$" + +Debug_EventScript_FontTest_Text_6:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Quanta quanta qophs for the inquest\n" + .string "sheqel of the cinq coq and suqqu. Rhone\l" + .string "rhone roman for the burnt porous of the\l" + .string "lemur clamor and carrot. Snout snout\l" + .string "sodium for the ensnare bosom of the\l" + .string "genus pathos and missing. Tundra\l" + .string "tundra tocsin for the nutmeg isotope\l" + .string "of the peasant ingot and ottoman.$" + +Debug_EventScript_FontTest_Text_7:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Uncle uncle udder for the dunes cloud\n" + .string "of the hindu thou and continuum. Vulcan\l" + .string "vulcan vocal for the alluvial ovoid of\l" + .string "the yugoslav chekhov and revved. Whale\l" + .string "whale woman for the meanwhile blowout\l" + .string "of the forepaw meadow and glowworm.\l" + .string "Xmas xmas xenon for the bauxite\l" + .string "doxology of the tableaux equinox and\l" + .string "exxon.$" + +Debug_EventScript_FontTest_Text_8:: + .string "{FONT_SHORT_NARROWER}" @ Edit this to test your font + .string "Yunnan yunnan young for the dynamo\n" + .string "coyote of the obloquy employ and\l" + .string "sayyid. Zloty zloty zodiac for the gizmo\l" + .string "ozone of the franz laissez and buzzing.$" + +Debug_PrintFontTest:: + msgbox Debug_EventScript_FontTest_Text_1, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_2, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_3, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_4, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_5, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_6, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_7, MSGBOX_DEFAULT + msgbox Debug_EventScript_FontTest_Text_8, MSGBOX_DEFAULT + releaseall + end + +Debug_EventScript_FontTest:: + lockall + goto Debug_PrintFontTest +@ goto_if_eq VAR_RESULT, 0, Debug_NoPokemon +@ dynmultipush Debug_EventScript_InflictStatus1_Text_Single, 0 +@ dynmultipush Debug_EventScript_InflictStatus1_Text_PartyWide, 1 +@ dynmultipush Debug_EventScript_InflictStatus1_Text_Close, 2 +@ dynmultistack 0, 0, FALSE, 3 FALSE, 0, NULL +@ switch VAR_RESULT +@ case 0, Debug_EventScript_InflictStatus1_Single +@ case 1, Debug_EventScript_InflictStatus1_Party +@ case 2, Debug_EventScript_InflictStatus1_Close +@Debug_EventScript_InflictStatus1_Close: +@ releaseall +@ end diff --git a/graphics/fonts/latin_short_narrower.png b/graphics/fonts/latin_short_narrower.png new file mode 100644 index 0000000000000000000000000000000000000000..9c79ae474fdc289bea5a2332d0847001c3aeb190 GIT binary patch literal 4374 zcmcIoc{J3E+yBnjObjM8wnU@sA}-mBAz8AFN>TQ!C`@rJBijr`DqE7uI;But`Eh_>>JASNb2yyex&KqPhKFK*Hwgw^w!QLuTwQrVoKT(y%48}rbX;ys1dSZ%{V-l=;FZc$bO}czc6hz zjd=0!X#7jV47YHuf&8~M{39GSiU^RLC)HEx(MV$3_E$D3%ngy~d;mc6IUrWkvdNx9o>T&BZ{8EmXc_yOB zV9T^F!Y<9+6C;c#Hg1)*ZxT4AvBf`D^mmt(n~QoVkKY~y#UPtq2@ZERCO{U-;^%|M zVsXvOkD%Bt-^=nwDKnMl{VFw6eO_v-04#z{o9|^FUjLAI>@^FY7fGVhVnRN}rmOqtif3Q2x@oNpRJ-$v9s1K4=0^V@d0+-Paq+ z9G5{$AW5R3rogeevpQ||phUILCH!dPp$pTheF8-3S02;|atQ2IQ$1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}jxZ{^;RniRVP{b>#gTT8@hia!lL5#YP+_M`g$;jOTiZU^$ zFbd&A-=3K;T>C3}g-4KHa20aAKe|+kN9cb@;s0Rme>md*SE%0o4g&8O7_p4b8H0t%Ilv80$Bu+I4f;wg1q9EOyk9q>0E_3V0J9Ty zV#0kv*A>y6uvhrZeLaq49MrBLFUKm*7vdLV%U205^6HAYuENXjO8Qn|+dsmmmn

vbi3sH%;uxH@mAbop3bWN@S?Tn?hQIO{fCW!f&vQ?=h}f=+7k_t z_2U92RND4$DGEF`R-bkK2Yn+vFR?tVtvtVXT{e5$VF7!E;1!QJFBt>A1wZJE@cD^! z=3R^)Ja=t96$>4E#jn49$C03s=5VxQMG0~-K;Nd&`Cc1$$(mj5Z#?}r_K7YLJ8^n<9%Nes91hHNZTIUlJxxY0GwI-6c7cO(ON3BD?FU_A0t*xy6-)2i~)%UMcry zTe}=$W-5ITPy`sDDX`g*+0!=Cp-mv%zn!{>D+%G4GW}iDm zb!SGD9ul{X?hD`C_$2Kwnppef>lf?XjxEilP+r4LGgP^Z=~eiXg3x;>N-f7|$nP!Y zE^@P24^u=zWx$1m^v`hOnE_nM%XE%DsH-KLguId^LJj_ygFPwl1-q=$9MFhUnK1Nj ovn^UG#rf&9=WQZPy0Z7U$%uzHu;0E_{QJ?cykKiuV&We2U-w!$FaQ7m literal 0 HcmV?d00001 diff --git a/graphics/fonts/latin_small_narrower.png b/graphics/fonts/latin_small_narrower.png index a183bed7cc286937c85ea2f7d7245fa41750ae85..d03f1b8ad0e2dd74778b0054d91943ab79943dc0 100644 GIT binary patch literal 4397 zcmeHLX*`tc-@otM48~Z}SV}UY=%lfn?24&`#29oCCu=7R!m%`EyDdp4TmMdSl4x;K zl0ju`GlOUoqB8ce?_oj`q{m$Ip`QFP{IBQg%pMVN;Yu^IEJ8xp**GYLRNxcX#jcy*Burxw@ae zg&}{PBgvMBJQEjPpv)SJHdn&Z`*_;mj5vJe8X8KTS&weC0ecCFy!dJ1VL)jHL6(`y zVM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H2PgdxOU@pT diff --git a/graphics_file_rules.mk b/graphics_file_rules.mk index 39d634e19d..9f1be162f4 100644 --- a/graphics_file_rules.mk +++ b/graphics_file_rules.mk @@ -248,6 +248,9 @@ $(FONTGFXDIR)/small_narrower.latfont: $(FONTGFXDIR)/latin_small_narrower.png $(FONTGFXDIR)/short_narrow.latfont: $(FONTGFXDIR)/latin_short_narrow.png $(GFX) $< $@ +$(FONTGFXDIR)/short_narrower.latfont: $(FONTGFXDIR)/latin_short_narrower.png + $(GFX) $< $@ + $(FONTGFXDIR)/small.hwjpnfont: $(FONTGFXDIR)/japanese_small.png $(GFX) $< $@ diff --git a/include/fonts.h b/include/fonts.h index a6be35db98..5e6a9ffad5 100644 --- a/include/fonts.h +++ b/include/fonts.h @@ -21,5 +21,7 @@ extern const u8 gFontSmallNarrowerLatinGlyphWidths[]; extern const u16 gFontSmallNarrowerLatinGlyphs[]; extern const u8 gFontShortNarrowLatinGlyphWidths[]; extern const u16 gFontShortNarrowLatinGlyphs[]; +extern const u8 gFontShortNarrowerLatinGlyphWidths[]; +extern const u16 gFontShortNarrowerLatinGlyphs[]; #endif // GUARD_FONTS_H diff --git a/include/text.h b/include/text.h index 55500868dc..a148410c2f 100644 --- a/include/text.h +++ b/include/text.h @@ -21,6 +21,7 @@ enum { FONT_NARROWER, FONT_SMALL_NARROWER, FONT_SHORT_NARROW, + FONT_SHORT_NARROWER, }; // Return values for font functions diff --git a/src/debug.c b/src/debug.c index f1c403fc1e..590e415b7e 100644 --- a/src/debug.c +++ b/src/debug.c @@ -89,6 +89,7 @@ enum UtilDebugMenu DEBUG_UTIL_MENU_ITEM_SAVEBLOCK, DEBUG_UTIL_MENU_ITEM_ROM_SPACE, DEBUG_UTIL_MENU_ITEM_WEATHER, + DEBUG_UTIL_MENU_ITEM_FONT_TEST, DEBUG_UTIL_MENU_ITEM_CHECKWALLCLOCK, DEBUG_UTIL_MENU_ITEM_SETWALLCLOCK, DEBUG_UTIL_MENU_ITEM_WATCHCREDITS, @@ -365,6 +366,7 @@ static void DebugAction_Util_CheckSaveBlock(u8 taskId); static void DebugAction_Util_CheckROMSpace(u8 taskId); static void DebugAction_Util_Weather(u8 taskId); static void DebugAction_Util_Weather_SelectId(u8 taskId); +static void DebugAction_Util_FontTest(u8 taskId); static void DebugAction_Util_CheckWallClock(u8 taskId); static void DebugAction_Util_SetWallClock(u8 taskId); static void DebugAction_Util_WatchCredits(u8 taskId); @@ -453,6 +455,7 @@ static void DebugAction_BerryFunctions_Weeds(u8 taskId); extern const u8 Debug_FlagsNotSetOverworldConfigMessage[]; extern const u8 Debug_FlagsNotSetBattleConfigMessage[]; extern const u8 Debug_FlagsAndVarNotSetBattleConfigMessage[]; +extern const u8 Debug_EventScript_FontTest[]; extern const u8 Debug_EventScript_CheckEVs[]; extern const u8 Debug_EventScript_CheckIVs[]; extern const u8 Debug_EventScript_InflictStatus1[]; @@ -525,6 +528,7 @@ static const u8 sDebugText_Util_SaveBlockSpace[] = _("Save Block space static const u8 sDebugText_Util_ROMSpace[] = _("ROM space…{CLEAR_TO 110}{RIGHT_ARROW}"); static const u8 sDebugText_Util_Weather[] = _("Set weather…{CLEAR_TO 110}{RIGHT_ARROW}"); static const u8 sDebugText_Util_Weather_ID[] = _("Weather ID: {STR_VAR_3}\n{STR_VAR_1}\n{STR_VAR_2}"); +static const u8 sDebugText_Util_FontTest[] = _("Font Test…{CLEAR_TO 110}{RIGHT_ARROW}"); static const u8 sDebugText_Util_CheckWallClock[] = _("Check wall clock…{CLEAR_TO 110}{RIGHT_ARROW}"); static const u8 sDebugText_Util_SetWallClock[] = _("Set wall clock…{CLEAR_TO 110}{RIGHT_ARROW}"); static const u8 sDebugText_Util_WatchCredits[] = _("Watch credits…{CLEAR_TO 110}{RIGHT_ARROW}"); @@ -714,6 +718,7 @@ static const struct ListMenuItem sDebugMenu_Items_Utilities[] = [DEBUG_UTIL_MENU_ITEM_SAVEBLOCK] = {sDebugText_Util_SaveBlockSpace, DEBUG_UTIL_MENU_ITEM_SAVEBLOCK}, [DEBUG_UTIL_MENU_ITEM_ROM_SPACE] = {sDebugText_Util_ROMSpace, DEBUG_UTIL_MENU_ITEM_ROM_SPACE}, [DEBUG_UTIL_MENU_ITEM_WEATHER] = {sDebugText_Util_Weather, DEBUG_UTIL_MENU_ITEM_WEATHER}, + [DEBUG_UTIL_MENU_ITEM_FONT_TEST] = {sDebugText_Util_FontTest, DEBUG_UTIL_MENU_ITEM_FONT_TEST}, [DEBUG_UTIL_MENU_ITEM_CHECKWALLCLOCK] = {sDebugText_Util_CheckWallClock, DEBUG_UTIL_MENU_ITEM_CHECKWALLCLOCK}, [DEBUG_UTIL_MENU_ITEM_SETWALLCLOCK] = {sDebugText_Util_SetWallClock, DEBUG_UTIL_MENU_ITEM_SETWALLCLOCK}, [DEBUG_UTIL_MENU_ITEM_WATCHCREDITS] = {sDebugText_Util_WatchCredits, DEBUG_UTIL_MENU_ITEM_WATCHCREDITS}, @@ -884,6 +889,7 @@ static void (*const sDebugMenu_Actions_Utilities[])(u8) = [DEBUG_UTIL_MENU_ITEM_SAVEBLOCK] = DebugAction_Util_CheckSaveBlock, [DEBUG_UTIL_MENU_ITEM_ROM_SPACE] = DebugAction_Util_CheckROMSpace, [DEBUG_UTIL_MENU_ITEM_WEATHER] = DebugAction_Util_Weather, + [DEBUG_UTIL_MENU_ITEM_FONT_TEST] = DebugAction_Util_FontTest, [DEBUG_UTIL_MENU_ITEM_CHECKWALLCLOCK] = DebugAction_Util_CheckWallClock, [DEBUG_UTIL_MENU_ITEM_SETWALLCLOCK] = DebugAction_Util_SetWallClock, [DEBUG_UTIL_MENU_ITEM_WATCHCREDITS] = DebugAction_Util_WatchCredits, @@ -2294,6 +2300,11 @@ static void DebugAction_Util_Weather_SelectId(u8 taskId) } } +static void DebugAction_Util_FontTest(u8 taskId) +{ + Debug_DestroyMenu_Full_Script(taskId, Debug_EventScript_FontTest); +} + static void DebugAction_Util_CheckWallClock(u8 taskId) { Debug_DestroyMenu_Full_Script(taskId, PlayersHouse_2F_EventScript_CheckWallClock); diff --git a/src/fonts.c b/src/fonts.c index 2dcb0a7e78..2eb8ed062b 100644 --- a/src/fonts.c +++ b/src/fonts.c @@ -288,6 +288,42 @@ ALIGNED(4) const u8 gFontShortNarrowLatinGlyphWidths[] = { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 3, }; +ALIGNED(4) const u16 gFontShortNarrowerLatinGlyphs[] = INCBIN_U16("graphics/fonts/short_narrower.latfont"); +ALIGNED(4) const u8 gFontShortNarrowerLatinGlyphWidths[] = { + 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, + 8, 4, 4, 4, 5, 5, 4, 4, 3, 4, 4, 4, 4, 4, 4, 3, + 4, 4, 4, 4, 4, 6, 4, 4, 4, 5, 4, 5, 8, 6, 6, 3, + 3, 3, 3, 3, 8, 8, 3, 5, 5, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 5, 5, 4, 8, 8, 8, 7, 8, 8, 4, 4, 6, 4, 4, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 4, 3, 3, 3, 3, 3, 3, 4, + 3, 3, 3, 3, 3, 3, 3, 5, 3, 7, 7, 7, 7, 0, 0, 3, + 4, 5, 6, 7, 4, 6, 6, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 7, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 3, 5, 3, + 5, 5, 5, 3, 3, 5, 5, 6, 3, 6, 6, 4, 4, 4, 4, 4, + 4, 4, 4, 4, 4, 4, 4, 5, 5, 4, 4, 4, 4, 4, 4, 4, + 4, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 2, 4, 4, + 2, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 8, + 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 10, 10, 10, 10, 8, 8, 10, 8, 10, 10, 10, 10, 10, 10, 10, 10, + 10, 10, 10, 10, 10, 10, 10, 10, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 3, +}; + ALIGNED(4) const u16 gFontSmallJapaneseGlyphs[] = INCBIN_U16("graphics/fonts/small.hwjpnfont"); ALIGNED(4) const u16 gFontNormalJapaneseGlyphs[] = INCBIN_U16("graphics/fonts/normal.hwjpnfont"); diff --git a/src/text.c b/src/text.c index acb2871a86..29ffc5ea3a 100644 --- a/src/text.c +++ b/src/text.c @@ -26,6 +26,7 @@ static u16 FontFunc_SmallNarrow(struct TextPrinter *); static u16 FontFunc_Narrower(struct TextPrinter *); static u16 FontFunc_SmallNarrower(struct TextPrinter *); static u16 FontFunc_ShortNarrow(struct TextPrinter *); +static u16 FontFunc_ShortNarrower(struct TextPrinter *); static void DecompressGlyph_Small(u16, bool32); static void DecompressGlyph_Normal(u16, bool32); static void DecompressGlyph_Short(u16, bool32); @@ -35,6 +36,7 @@ static void DecompressGlyph_Bold(u16); static void DecompressGlyph_Narrower(u16, bool32); static void DecompressGlyph_SmallNarrower(u16, bool32); static void DecompressGlyph_ShortNarrow(u16, bool32); +static void DecompressGlyph_ShortNarrower(u16, bool32); static u32 GetGlyphWidth_Small(u16, bool32); static u32 GetGlyphWidth_Normal(u16, bool32); static u32 GetGlyphWidth_Short(u16, bool32); @@ -43,6 +45,7 @@ static u32 GetGlyphWidth_SmallNarrow(u16, bool32); static u32 GetGlyphWidth_Narrower(u16, bool32); static u32 GetGlyphWidth_SmallNarrower(u16, bool32); static u32 GetGlyphWidth_ShortNarrow(u16, bool32); +static u32 GetGlyphWidth_ShortNarrower(u16, bool32); static EWRAM_DATA struct TextPrinter sTempTextPrinter = {0}; static EWRAM_DATA struct TextPrinter sTextPrinters[WINDOWS_MAX] = {0}; @@ -102,6 +105,7 @@ static const struct GlyphWidthFunc sGlyphWidthFuncs[] = { FONT_NARROWER, GetGlyphWidth_Narrower }, { FONT_SMALL_NARROWER, GetGlyphWidth_SmallNarrower }, { FONT_SHORT_NARROW, GetGlyphWidth_ShortNarrow }, + { FONT_SHORT_NARROWER, GetGlyphWidth_ShortNarrower }, }; struct @@ -260,6 +264,16 @@ static const struct FontInfo sFontInfos[] = .bgColor = 1, .shadowColor = 3, }, + [FONT_SHORT_NARROWER] = { + .fontFunction = FontFunc_ShortNarrower, + .maxLetterWidth = 5, + .maxLetterHeight = 14, + .letterSpacing = 0, + .lineSpacing = 0, + .fgColor = 2, + .bgColor = 1, + .shadowColor = 3, + }, }; static const u8 sMenuCursorDimensions[][2] = @@ -277,6 +291,7 @@ static const u8 sMenuCursorDimensions[][2] = [FONT_NARROWER] = { 8, 15 }, [FONT_SMALL_NARROWER] = { 8, 8 }, [FONT_SHORT_NARROW] = { 8, 14 }, + [FONT_SHORT_NARROWER] = { 8, 14 }, }; static const u16 sFontBoldJapaneseGlyphs[] = INCBIN_U16("graphics/fonts/bold.hwjpnfont"); @@ -850,6 +865,18 @@ static u16 FontFunc_ShortNarrow(struct TextPrinter *textPrinter) return RenderText(textPrinter); } +static u16 FontFunc_ShortNarrower(struct TextPrinter *textPrinter) +{ + struct TextPrinterSubStruct *subStruct = (struct TextPrinterSubStruct *)(&textPrinter->subStructFields); + + if (subStruct->hasFontIdBeenSet == FALSE) + { + subStruct->fontId = FONT_SHORT_NARROWER; + subStruct->hasFontIdBeenSet = TRUE; + } + return RenderText(textPrinter); +} + void TextPrinterInitDownArrowCounters(struct TextPrinter *textPrinter) { struct TextPrinterSubStruct *subStruct = (struct TextPrinterSubStruct *)(&textPrinter->subStructFields); @@ -1238,6 +1265,9 @@ static u16 RenderText(struct TextPrinter *textPrinter) case FONT_SHORT_NARROW: DecompressGlyph_ShortNarrow(currChar, textPrinter->japanese); break; + case FONT_SHORT_NARROWER: + DecompressGlyph_ShortNarrower(currChar, textPrinter->japanese); + break; case FONT_BRAILLE: break; } @@ -2161,6 +2191,50 @@ static u32 GetGlyphWidth_ShortNarrow(u16 glyphId, bool32 isJapanese) return gFontShortNarrowLatinGlyphWidths[glyphId]; } +static void DecompressGlyph_ShortNarrower(u16 glyphId, bool32 isJapanese) +{ + const u16 *glyphs; + + if (isJapanese == TRUE) + { + glyphs = gFontShortJapaneseGlyphs + (0x100 * (glyphId >> 0x3)) + (0x10 * (glyphId & 0x7)); + DecompressGlyphTile(glyphs, gCurGlyph.gfxBufferTop); + DecompressGlyphTile(glyphs + 0x8, gCurGlyph.gfxBufferTop + 8); + DecompressGlyphTile(glyphs + 0x80, gCurGlyph.gfxBufferBottom); // gCurGlyph + 0x20 + DecompressGlyphTile(glyphs + 0x88, gCurGlyph.gfxBufferBottom + 8); // gCurGlyph + 0x60 + gCurGlyph.width = gFontShortJapaneseGlyphWidths[glyphId]; + gCurGlyph.height = 14; + } + else + { + glyphs = gFontShortNarrowerLatinGlyphs + (0x20 * glyphId); + gCurGlyph.width = gFontShortNarrowerLatinGlyphWidths[glyphId]; + + if (gCurGlyph.width <= 8) + { + DecompressGlyphTile(glyphs, gCurGlyph.gfxBufferTop); + DecompressGlyphTile(glyphs + 0x10, gCurGlyph.gfxBufferBottom); + } + else + { + DecompressGlyphTile(glyphs, gCurGlyph.gfxBufferTop); + DecompressGlyphTile(glyphs + 0x8, gCurGlyph.gfxBufferTop + 8); + DecompressGlyphTile(glyphs + 0x10, gCurGlyph.gfxBufferBottom); + DecompressGlyphTile(glyphs + 0x18, gCurGlyph.gfxBufferBottom + 8); + } + + gCurGlyph.height = 14; + } +} + +static u32 GetGlyphWidth_ShortNarrower(u16 glyphId, bool32 isJapanese) +{ + if (isJapanese == TRUE) + return gFontShortJapaneseGlyphWidths[glyphId]; + else + return gFontShortNarrowerLatinGlyphWidths[glyphId]; +} + static const s8 sNarrowerFontIds[] = { [FONT_SMALL] = FONT_SMALL_NARROW, @@ -2175,7 +2249,8 @@ static const s8 sNarrowerFontIds[] = [FONT_BOLD] = -1, [FONT_NARROWER] = -1, [FONT_SMALL_NARROWER] = -1, - [FONT_SHORT_NARROW] = -1, + [FONT_SHORT_NARROW] = FONT_SHORT_NARROWER, + [FONT_SHORT_NARROWER] = -1, }; // If the narrowest font ID doesn't fit the text, we still return that From e4f8b4ccf041b05d6c7697fa0f9aa1b2116d1844 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Wed, 4 Dec 2024 11:31:28 -0300 Subject: [PATCH 275/278] Addressed review changes (minus encapsulation) --- asm/macros/battle_script.inc | 4 +- data/battle_scripts_1.s | 4 +- include/battle.h | 2 +- include/battle_message.h | 3 +- include/config/general.h | 2 +- include/constants/battle_script_commands.h | 16 +- include/constants/battle_string_ids.h | 389 ++++++++++----------- src/battle_message.c | 3 +- src/battle_script_commands.c | 132 +++---- test/battle/ability/commander.c | 4 +- test/battle/ability/tera_shell.c | 20 -- test/battle/move_effect/absorb.c | 14 - test/battle/move_effect/dragon_darts.c | 11 - test/battle/move_effect/endeavor.c | 2 + test/battle/move_effect/explosion.c | 1 + test/battle/move_effect/mind_blown.c | 1 + test/battle/spread_moves.c | 47 +-- 17 files changed, 292 insertions(+), 363 deletions(-) diff --git a/asm/macros/battle_script.inc b/asm/macros/battle_script.inc index 26835c2e0d..c9c95515f0 100644 --- a/asm/macros/battle_script.inc +++ b/asm/macros/battle_script.inc @@ -356,7 +356,7 @@ .byte 0x3a .endm - .macro absorb battler:req + .macro absorbhealthbarupdate battler:req .byte 0x3b .byte \battler .endm @@ -832,7 +832,7 @@ .byte 0x94 .endm - .macro unused_95 + .macro copybidedmg .byte 0x95 .endm diff --git a/data/battle_scripts_1.s b/data/battle_scripts_1.s index 44cb8ff6bc..5c6e53aa99 100644 --- a/data/battle_scripts_1.s +++ b/data/battle_scripts_1.s @@ -3017,7 +3017,7 @@ BattleScript_EffectAbsorbLiquidOoze:: goto BattleScript_EffectAbsorb BattleScript_EffectAbsorb:: - absorb BS_ATTACKER + absorbhealthbarupdate BS_ATTACKER datahpupdate BS_ATTACKER printfromtable gAbsorbDrainStringIds waitmessage B_WAIT_TIME_LONG @@ -6081,7 +6081,7 @@ BattleScript_BideAttack:: accuracycheck BattleScript_MoveMissed, ACC_CURR_MOVE typecalc clearmoveresultflags MOVE_RESULT_SUPER_EFFECTIVE | MOVE_RESULT_NOT_VERY_EFFECTIVE - unused_95 + copybidedmg adjustdamage setbyte sB_ANIM_TURN, 1 attackanimation diff --git a/include/battle.h b/include/battle.h index 301c87681b..bb65a4b181 100644 --- a/include/battle.h +++ b/include/battle.h @@ -1211,7 +1211,7 @@ static inline bool32 IsSpreadMove(u32 moveTarget) static inline bool32 IsDoubleSpreadMove(void) { - return gBattleStruct->numSpreadTargets > 1 + return gBattleStruct->numSpreadTargets > 1 && !(gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE | HITMARKER_UNABLE_TO_USE_MOVE)) && IsSpreadMove(GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove)); } diff --git a/include/battle_message.h b/include/battle_message.h index 60fa8c507a..914e97d5d6 100644 --- a/include/battle_message.h +++ b/include/battle_message.h @@ -74,8 +74,7 @@ #define B_TXT_DEF_TEAM1 0x3A // Your/The opposing #define B_TXT_DEF_TEAM2 0x3B // your/the opposing #define B_TXT_DEF_PARTNER_NAME 0x3C -// #define B_TXT_SELECTION_NAME 0x3C - removed -// #define B_TXT_SELECTION_NAME2 0x3D no Illusion check - removed +// #define B_UNUSED_0x3D 0x3D #define B_TXT_ATK_NAME_WITH_PREFIX2 0x3E //lowercase #define B_TXT_DEF_NAME_WITH_PREFIX2 0x3F //lowercase #define B_TXT_EFF_NAME_WITH_PREFIX2 0x40 //lowercase diff --git a/include/config/general.h b/include/config/general.h index bd34106832..cff1432bb7 100644 --- a/include/config/general.h +++ b/include/config/general.h @@ -6,7 +6,7 @@ // still has them in the ROM. This is because the developers forgot // to define NDEBUG before release, however this has been changed as // Ruby's actual debug build does not use the AGBPrint features. -// #define NDEBUG +#define NDEBUG // To enable printf debugging, comment out "#define NDEBUG". This allows // the various AGBPrint functions to be used. (See include/gba/isagbprint.h). diff --git a/include/constants/battle_script_commands.h b/include/constants/battle_script_commands.h index 196cea0b42..609090b12e 100644 --- a/include/constants/battle_script_commands.h +++ b/include/constants/battle_script_commands.h @@ -222,14 +222,14 @@ #define VARIOUS_SWAP_STATS 130 // Cmd_manipulatedamage -#define DMG_CHANGE_SIGN 1 -#define DMG_RECOIL_FROM_MISS 2 -#define DMG_DOUBLED 3 -#define DMG_1_8_TARGET_HP 4 -#define DMG_FULL_ATTACKER_HP 5 -#define DMG_CURR_ATTACKER_HP 6 -#define DMG_BIG_ROOT 7 -#define DMG_RECOIL_FROM_IMMUNE 8 // Used to calculate recoil for the Gen 4 version of Jump Kick +#define DMG_CHANGE_SIGN 1 +#define DMG_RECOIL_FROM_MISS 2 +#define DMG_DOUBLED 3 +#define DMG_1_8_TARGET_HP 4 +#define DMG_FULL_ATTACKER_HP 5 +#define DMG_CURR_ATTACKER_HP 6 +#define DMG_BIG_ROOT 7 +#define DMG_RECOIL_FROM_IMMUNE 8 // Used to calculate recoil for the Gen 4 version of Jump Kick // Cmd_jumpifcantswitch #define SWITCH_IGNORE_ESCAPE_PREVENTION (1 << 7) diff --git a/include/constants/battle_string_ids.h b/include/constants/battle_string_ids.h index b2a569aef8..5149e85bcf 100644 --- a/include/constants/battle_string_ids.h +++ b/include/constants/battle_string_ids.h @@ -531,205 +531,204 @@ #define STRINGID_LASERFOCUS 529 #define STRINGID_GEMACTIVATES 530 #define STRINGID_BERRYDMGREDUCES 531 -#define STRINGID_TARGETATEITEM 532 -#define STRINGID_AIRBALLOONFLOAT 533 -#define STRINGID_AIRBALLOONPOP 534 -#define STRINGID_INCINERATEBURN 535 -#define STRINGID_BUGBITE 536 -#define STRINGID_ILLUSIONWOREOFF 537 -#define STRINGID_ATTACKERCUREDTARGETSTATUS 538 -#define STRINGID_ATTACKERLOSTFIRETYPE 539 -#define STRINGID_HEALERCURE 540 -#define STRINGID_SCRIPTINGABILITYSTATRAISE 541 -#define STRINGID_RECEIVERABILITYTAKEOVER 542 -#define STRINGID_PKNMABSORBINGPOWER 543 -#define STRINGID_NOONEWILLBEABLETORUNAWAY 544 -#define STRINGID_DESTINYKNOTACTIVATES 545 -#define STRINGID_CLOAKEDINAFREEZINGLIGHT 546 -#define STRINGID_CLEARAMULETWONTLOWERSTATS 547 -#define STRINGID_FERVENTWISHREACHED 548 -#define STRINGID_AIRLOCKACTIVATES 549 -#define STRINGID_PRESSUREENTERS 550 -#define STRINGID_DARKAURAENTERS 551 -#define STRINGID_FAIRYAURAENTERS 552 -#define STRINGID_AURABREAKENTERS 553 -#define STRINGID_COMATOSEENTERS 554 -#define STRINGID_SCREENCLEANERENTERS 555 -#define STRINGID_FETCHEDPOKEBALL 556 -#define STRINGID_BATTLERABILITYRAISEDSTAT 557 -#define STRINGID_ASANDSTORMKICKEDUP 558 -#define STRINGID_PKMNSWILLPERISHIN3TURNS 559 -#define STRINGID_ABILITYRAISEDSTATDRASTICALLY 560 -#define STRINGID_AURAFLAREDTOLIFE 561 -#define STRINGID_ASONEENTERS 562 -#define STRINGID_CURIOUSMEDICINEENTERS 563 -#define STRINGID_CANACTFASTERTHANKSTO 564 -#define STRINGID_MICLEBERRYACTIVATES 565 -#define STRINGID_PKMNSHOOKOFFTHETAUNT 566 -#define STRINGID_PKMNGOTOVERITSINFATUATION 567 -#define STRINGID_ITEMCANNOTBEREMOVED 568 -#define STRINGID_STICKYBARBTRANSFER 569 -#define STRINGID_PKMNBURNHEALED 570 -#define STRINGID_REDCARDACTIVATE 571 -#define STRINGID_EJECTBUTTONACTIVATE 572 -#define STRINGID_ATKGOTOVERINFATUATION 573 -#define STRINGID_TORMENTEDNOMORE 574 -#define STRINGID_HEALBLOCKEDNOMORE 575 -#define STRINGID_ATTACKERBECAMEFULLYCHARGED 576 -#define STRINGID_ATTACKERBECAMEASHSPECIES 577 -#define STRINGID_EXTREMELYHARSHSUNLIGHT 578 -#define STRINGID_EXTREMESUNLIGHTFADED 579 -#define STRINGID_MOVEEVAPORATEDINTHEHARSHSUNLIGHT 580 -#define STRINGID_EXTREMELYHARSHSUNLIGHTWASNOTLESSENED 581 -#define STRINGID_HEAVYRAIN 582 -#define STRINGID_HEAVYRAINLIFTED 583 -#define STRINGID_MOVEFIZZLEDOUTINTHEHEAVYRAIN 584 -#define STRINGID_NORELIEFROMHEAVYRAIN 585 -#define STRINGID_MYSTERIOUSAIRCURRENT 586 -#define STRINGID_STRONGWINDSDISSIPATED 587 -#define STRINGID_MYSTERIOUSAIRCURRENTBLOWSON 588 -#define STRINGID_ATTACKWEAKENEDBSTRONGWINDS 589 -#define STRINGID_STUFFCHEEKSCANTSELECT 590 -#define STRINGID_PKMNREVERTEDTOPRIMAL 591 -#define STRINGID_BUTPOKEMONCANTUSETHEMOVE 592 -#define STRINGID_BUTHOOPACANTUSEIT 593 -#define STRINGID_BROKETHROUGHPROTECTION 594 -#define STRINGID_ABILITYALLOWSONLYMOVE 595 -#define STRINGID_SWAPPEDABILITIES 596 -#define STRINGID_PASTELVEILPROTECTED 597 -#define STRINGID_PASTELVEILENTERS 598 -#define STRINGID_BATTLERTYPECHANGEDTO 599 -#define STRINGID_BOTHCANNOLONGERESCAPE 600 -#define STRINGID_CANTESCAPEDUETOUSEDMOVE 601 -#define STRINGID_PKMNBECAMEWEAKERTOFIRE 602 -#define STRINGID_ABOUTTOUSEPOLTERGEIST 603 -#define STRINGID_CANTESCAPEBECAUSEOFCURRENTMOVE 604 -#define STRINGID_NEUTRALIZINGGASENTERS 605 -#define STRINGID_NEUTRALIZINGGASOVER 606 -#define STRINGID_TARGETTOOHEAVY 607 -#define STRINGID_PKMNTOOKTARGETHIGH 608 -#define STRINGID_PKMNINSNAPTRAP 609 -#define STRINGID_METEORBEAMCHARGING 610 -#define STRINGID_HEATUPBEAK 611 -#define STRINGID_COURTCHANGE 612 -#define STRINGID_PLAYERLOSTTOENEMYTRAINER 613 -#define STRINGID_PLAYERPAIDPRIZEMONEY 614 -#define STRINGID_ZPOWERSURROUNDS 615 -#define STRINGID_ZMOVEUNLEASHED 616 -#define STRINGID_ZMOVERESETSSTATS 617 -#define STRINGID_ZMOVEALLSTATSUP 618 -#define STRINGID_ZMOVEZBOOSTCRIT 619 -#define STRINGID_ZMOVERESTOREHP 620 -#define STRINGID_ZMOVESTATUP 621 -#define STRINGID_ZMOVEHPTRAP 622 -#define STRINGID_ATTACKEREXPELLEDTHEPOISON 623 -#define STRINGID_ATTACKERSHOOKITSELFAWAKE 624 -#define STRINGID_ATTACKERBROKETHROUGHPARALYSIS 625 -#define STRINGID_ATTACKERHEALEDITSBURN 626 -#define STRINGID_ATTACKERMELTEDTHEICE 627 -#define STRINGID_TARGETTOUGHEDITOUT 628 -#define STRINGID_ATTACKERLOSTELECTRICTYPE 629 -#define STRINGID_ATTACKERSWITCHEDSTATWITHTARGET 630 -#define STRINGID_BEINGHITCHARGEDPKMNWITHPOWER 631 -#define STRINGID_SUNLIGHTACTIVATEDABILITY 632 -#define STRINGID_STATWASHEIGHTENED 633 -#define STRINGID_ELECTRICTERRAINACTIVATEDABILITY 634 -#define STRINGID_ABILITYWEAKENEDSURROUNDINGMONSSTAT 635 -#define STRINGID_ATTACKERGAINEDSTRENGTHFROMTHEFALLEN 636 -#define STRINGID_PKMNSABILITYPREVENTSABILITY 637 -#define STRINGID_PREPARESHELLTRAP 638 -#define STRINGID_SHELLTRAPDIDNTWORK 639 -#define STRINGID_SPIKESDISAPPEAREDFROMTEAM 640 -#define STRINGID_TOXICSPIKESDISAPPEAREDFROMTEAM 641 -#define STRINGID_STICKYWEBDISAPPEAREDFROMTEAM 642 -#define STRINGID_STEALTHROCKDISAPPEAREDFROMTEAM 643 -#define STRINGID_COULDNTFULLYPROTECT 644 -#define STRINGID_STOCKPILEDEFFECTWOREOFF 645 -#define STRINGID_PKMNREVIVEDREADYTOFIGHT 646 -#define STRINGID_ITEMRESTOREDSPECIESHEALTH 647 -#define STRINGID_ITEMCUREDSPECIESSTATUS 648 -#define STRINGID_ITEMRESTOREDSPECIESPP 649 -#define STRINGID_THUNDERCAGETRAPPED 650 -#define STRINGID_PKMNHURTBYFROSTBITE 651 -#define STRINGID_PKMNGOTFROSTBITE 652 -#define STRINGID_PKMNSITEMHEALEDFROSTBITE 653 -#define STRINGID_ATTACKERHEALEDITSFROSTBITE 654 -#define STRINGID_PKMNFROSTBITEHEALED 655 -#define STRINGID_PKMNFROSTBITEHEALED2 656 -#define STRINGID_PKMNFROSTBITEHEALEDBY 657 -#define STRINGID_MIRRORHERBCOPIED 658 -#define STRINGID_STARTEDSNOW 659 -#define STRINGID_SNOWCONTINUES 660 -#define STRINGID_SNOWSTOPPED 661 -#define STRINGID_SNOWWARNINGSNOW 662 -#define STRINGID_PKMNITEMMELTED 663 -#define STRINGID_ULTRABURSTREACTING 664 -#define STRINGID_ULTRABURSTCOMPLETED 665 -#define STRINGID_TEAMGAINEDEXP 666 -#define STRINGID_CURRENTMOVECANTSELECT 667 -#define STRINGID_TARGETISBEINGSALTCURED 668 -#define STRINGID_TARGETISHURTBYSALTCURE 669 -#define STRINGID_TARGETCOVEREDINSTICKYCANDYSYRUP 670 -#define STRINGID_SHARPSTEELFLOATS 671 -#define STRINGID_SHARPSTEELDMG 672 -#define STRINGID_PKMNBLEWAWAYSHARPSTEEL 673 -#define STRINGID_SHARPSTEELDISAPPEAREDFROMTEAM 674 -#define STRINGID_TEAMTRAPPEDWITHVINES 675 -#define STRINGID_PKMNHURTBYVINES 676 -#define STRINGID_TEAMCAUGHTINVORTEX 677 -#define STRINGID_PKMNHURTBYVORTEX 678 -#define STRINGID_TEAMSURROUNDEDBYFIRE 679 -#define STRINGID_PKMNBURNINGUP 680 -#define STRINGID_TEAMSURROUNDEDBYROCKS 681 -#define STRINGID_PKMNHURTBYROCKSTHROWN 682 -#define STRINGID_MOVEBLOCKEDBYDYNAMAX 683 -#define STRINGID_ZEROTOHEROTRANSFORMATION 684 -#define STRINGID_THETWOMOVESBECOMEONE 685 -#define STRINGID_ARAINBOWAPPEAREDONSIDE 686 -#define STRINGID_THERAINBOWDISAPPEARED 687 -#define STRINGID_WAITINGFORPARTNERSMOVE 688 -#define STRINGID_SEAOFFIREENVELOPEDSIDE 689 -#define STRINGID_HURTBYTHESEAOFFIRE 690 -#define STRINGID_THESEAOFFIREDISAPPEARED 691 -#define STRINGID_SWAMPENVELOPEDSIDE 692 -#define STRINGID_THESWAMPDISAPPEARED 693 -#define STRINGID_PKMNTELLCHILLINGRECEPTIONJOKE 694 -#define STRINGID_HOSPITALITYRESTORATION 695 -#define STRINGID_ELECTROSHOTCHARGING 696 -#define STRINGID_ITEMWASUSEDUP 697 -#define STRINGID_ATTACKERLOSTITSTYPE 698 -#define STRINGID_SHEDITSTAIL 699 -#define STRINGID_CLOAKEDINAHARSHLIGHT 700 -#define STRINGID_SUPERSWEETAROMAWAFTS 701 -#define STRINGID_DIMENSIONSWERETWISTED 702 -#define STRINGID_BIZARREARENACREATED 703 -#define STRINGID_BIZARREAREACREATED 704 -#define STRINGID_TIDYINGUPCOMPLETE 705 -#define STRINGID_PKMNTERASTALLIZEDINTO 706 -#define STRINGID_BOOSTERENERGYACTIVATES 707 -#define STRINGID_FOGCREPTUP 708 -#define STRINGID_FOGISDEEP 709 -#define STRINGID_FOGLIFTED 710 -#define STRINGID_PKMNMADESHELLGLEAM 711 -#define STRINGID_FICKLEBEAMDOUBLED 712 -#define STRINGID_COMMANDERACTIVATES 713 -#define STRINGID_POKEFLUTECATCHY 714 -#define STRINGID_POKEFLUTE 715 -#define STRINGID_MONHEARINGFLUTEAWOKE 716 -#define STRINGID_SUNLIGHTISHARSH 717 -#define STRINGID_ITISHAILING 718 -#define STRINGID_ITISSNOWING 719 -#define STRINGID_ISCOVEREDWITHGRASS 720 -#define STRINGID_MISTSWIRLSAROUND 721 -#define STRINGID_ELECTRICCURRENTISRUNNING 722 -#define STRINGID_SEEMSWEIRD 723 -#define STRINGID_WAGGLINGAFINGER 724 +#define STRINGID_AIRBALLOONFLOAT 532 +#define STRINGID_AIRBALLOONPOP 533 +#define STRINGID_INCINERATEBURN 534 +#define STRINGID_BUGBITE 535 +#define STRINGID_ILLUSIONWOREOFF 536 +#define STRINGID_ATTACKERCUREDTARGETSTATUS 537 +#define STRINGID_ATTACKERLOSTFIRETYPE 538 +#define STRINGID_HEALERCURE 539 +#define STRINGID_SCRIPTINGABILITYSTATRAISE 540 +#define STRINGID_RECEIVERABILITYTAKEOVER 541 +#define STRINGID_PKNMABSORBINGPOWER 542 +#define STRINGID_NOONEWILLBEABLETORUNAWAY 543 +#define STRINGID_DESTINYKNOTACTIVATES 544 +#define STRINGID_CLOAKEDINAFREEZINGLIGHT 545 +#define STRINGID_CLEARAMULETWONTLOWERSTATS 546 +#define STRINGID_FERVENTWISHREACHED 547 +#define STRINGID_AIRLOCKACTIVATES 548 +#define STRINGID_PRESSUREENTERS 549 +#define STRINGID_DARKAURAENTERS 550 +#define STRINGID_FAIRYAURAENTERS 551 +#define STRINGID_AURABREAKENTERS 552 +#define STRINGID_COMATOSEENTERS 553 +#define STRINGID_SCREENCLEANERENTERS 554 +#define STRINGID_FETCHEDPOKEBALL 555 +#define STRINGID_BATTLERABILITYRAISEDSTAT 556 +#define STRINGID_ASANDSTORMKICKEDUP 557 +#define STRINGID_PKMNSWILLPERISHIN3TURNS 558 +#define STRINGID_ABILITYRAISEDSTATDRASTICALLY 559 +#define STRINGID_AURAFLAREDTOLIFE 560 +#define STRINGID_ASONEENTERS 561 +#define STRINGID_CURIOUSMEDICINEENTERS 562 +#define STRINGID_CANACTFASTERTHANKSTO 563 +#define STRINGID_MICLEBERRYACTIVATES 564 +#define STRINGID_PKMNSHOOKOFFTHETAUNT 565 +#define STRINGID_PKMNGOTOVERITSINFATUATION 566 +#define STRINGID_ITEMCANNOTBEREMOVED 567 +#define STRINGID_STICKYBARBTRANSFER 568 +#define STRINGID_PKMNBURNHEALED 569 +#define STRINGID_REDCARDACTIVATE 570 +#define STRINGID_EJECTBUTTONACTIVATE 571 +#define STRINGID_ATKGOTOVERINFATUATION 572 +#define STRINGID_TORMENTEDNOMORE 573 +#define STRINGID_HEALBLOCKEDNOMORE 574 +#define STRINGID_ATTACKERBECAMEFULLYCHARGED 575 +#define STRINGID_ATTACKERBECAMEASHSPECIES 576 +#define STRINGID_EXTREMELYHARSHSUNLIGHT 577 +#define STRINGID_EXTREMESUNLIGHTFADED 578 +#define STRINGID_MOVEEVAPORATEDINTHEHARSHSUNLIGHT 579 +#define STRINGID_EXTREMELYHARSHSUNLIGHTWASNOTLESSENED 580 +#define STRINGID_HEAVYRAIN 581 +#define STRINGID_HEAVYRAINLIFTED 582 +#define STRINGID_MOVEFIZZLEDOUTINTHEHEAVYRAIN 583 +#define STRINGID_NORELIEFROMHEAVYRAIN 584 +#define STRINGID_MYSTERIOUSAIRCURRENT 585 +#define STRINGID_STRONGWINDSDISSIPATED 586 +#define STRINGID_MYSTERIOUSAIRCURRENTBLOWSON 587 +#define STRINGID_ATTACKWEAKENEDBSTRONGWINDS 588 +#define STRINGID_STUFFCHEEKSCANTSELECT 589 +#define STRINGID_PKMNREVERTEDTOPRIMAL 590 +#define STRINGID_BUTPOKEMONCANTUSETHEMOVE 591 +#define STRINGID_BUTHOOPACANTUSEIT 592 +#define STRINGID_BROKETHROUGHPROTECTION 593 +#define STRINGID_ABILITYALLOWSONLYMOVE 594 +#define STRINGID_SWAPPEDABILITIES 595 +#define STRINGID_PASTELVEILPROTECTED 596 +#define STRINGID_PASTELVEILENTERS 597 +#define STRINGID_BATTLERTYPECHANGEDTO 598 +#define STRINGID_BOTHCANNOLONGERESCAPE 599 +#define STRINGID_CANTESCAPEDUETOUSEDMOVE 600 +#define STRINGID_PKMNBECAMEWEAKERTOFIRE 601 +#define STRINGID_ABOUTTOUSEPOLTERGEIST 602 +#define STRINGID_CANTESCAPEBECAUSEOFCURRENTMOVE 603 +#define STRINGID_NEUTRALIZINGGASENTERS 604 +#define STRINGID_NEUTRALIZINGGASOVER 605 +#define STRINGID_TARGETTOOHEAVY 606 +#define STRINGID_PKMNTOOKTARGETHIGH 607 +#define STRINGID_PKMNINSNAPTRAP 608 +#define STRINGID_METEORBEAMCHARGING 609 +#define STRINGID_HEATUPBEAK 610 +#define STRINGID_COURTCHANGE 611 +#define STRINGID_PLAYERLOSTTOENEMYTRAINER 612 +#define STRINGID_PLAYERPAIDPRIZEMONEY 613 +#define STRINGID_ZPOWERSURROUNDS 614 +#define STRINGID_ZMOVEUNLEASHED 615 +#define STRINGID_ZMOVERESETSSTATS 616 +#define STRINGID_ZMOVEALLSTATSUP 617 +#define STRINGID_ZMOVEZBOOSTCRIT 618 +#define STRINGID_ZMOVERESTOREHP 619 +#define STRINGID_ZMOVESTATUP 620 +#define STRINGID_ZMOVEHPTRAP 621 +#define STRINGID_ATTACKEREXPELLEDTHEPOISON 622 +#define STRINGID_ATTACKERSHOOKITSELFAWAKE 623 +#define STRINGID_ATTACKERBROKETHROUGHPARALYSIS 624 +#define STRINGID_ATTACKERHEALEDITSBURN 625 +#define STRINGID_ATTACKERMELTEDTHEICE 626 +#define STRINGID_TARGETTOUGHEDITOUT 627 +#define STRINGID_ATTACKERLOSTELECTRICTYPE 628 +#define STRINGID_ATTACKERSWITCHEDSTATWITHTARGET 629 +#define STRINGID_BEINGHITCHARGEDPKMNWITHPOWER 630 +#define STRINGID_SUNLIGHTACTIVATEDABILITY 631 +#define STRINGID_STATWASHEIGHTENED 632 +#define STRINGID_ELECTRICTERRAINACTIVATEDABILITY 633 +#define STRINGID_ABILITYWEAKENEDSURROUNDINGMONSSTAT 634 +#define STRINGID_ATTACKERGAINEDSTRENGTHFROMTHEFALLEN 635 +#define STRINGID_PKMNSABILITYPREVENTSABILITY 636 +#define STRINGID_PREPARESHELLTRAP 637 +#define STRINGID_SHELLTRAPDIDNTWORK 638 +#define STRINGID_SPIKESDISAPPEAREDFROMTEAM 639 +#define STRINGID_TOXICSPIKESDISAPPEAREDFROMTEAM 640 +#define STRINGID_STICKYWEBDISAPPEAREDFROMTEAM 641 +#define STRINGID_STEALTHROCKDISAPPEAREDFROMTEAM 642 +#define STRINGID_COULDNTFULLYPROTECT 643 +#define STRINGID_STOCKPILEDEFFECTWOREOFF 644 +#define STRINGID_PKMNREVIVEDREADYTOFIGHT 645 +#define STRINGID_ITEMRESTOREDSPECIESHEALTH 646 +#define STRINGID_ITEMCUREDSPECIESSTATUS 647 +#define STRINGID_ITEMRESTOREDSPECIESPP 648 +#define STRINGID_THUNDERCAGETRAPPED 649 +#define STRINGID_PKMNHURTBYFROSTBITE 650 +#define STRINGID_PKMNGOTFROSTBITE 651 +#define STRINGID_PKMNSITEMHEALEDFROSTBITE 652 +#define STRINGID_ATTACKERHEALEDITSFROSTBITE 653 +#define STRINGID_PKMNFROSTBITEHEALED 654 +#define STRINGID_PKMNFROSTBITEHEALED2 655 +#define STRINGID_PKMNFROSTBITEHEALEDBY 656 +#define STRINGID_MIRRORHERBCOPIED 657 +#define STRINGID_STARTEDSNOW 658 +#define STRINGID_SNOWCONTINUES 659 +#define STRINGID_SNOWSTOPPED 660 +#define STRINGID_SNOWWARNINGSNOW 661 +#define STRINGID_PKMNITEMMELTED 662 +#define STRINGID_ULTRABURSTREACTING 663 +#define STRINGID_ULTRABURSTCOMPLETED 664 +#define STRINGID_TEAMGAINEDEXP 665 +#define STRINGID_CURRENTMOVECANTSELECT 666 +#define STRINGID_TARGETISBEINGSALTCURED 667 +#define STRINGID_TARGETISHURTBYSALTCURE 668 +#define STRINGID_TARGETCOVEREDINSTICKYCANDYSYRUP 669 +#define STRINGID_SHARPSTEELFLOATS 670 +#define STRINGID_SHARPSTEELDMG 671 +#define STRINGID_PKMNBLEWAWAYSHARPSTEEL 672 +#define STRINGID_SHARPSTEELDISAPPEAREDFROMTEAM 673 +#define STRINGID_TEAMTRAPPEDWITHVINES 674 +#define STRINGID_PKMNHURTBYVINES 675 +#define STRINGID_TEAMCAUGHTINVORTEX 676 +#define STRINGID_PKMNHURTBYVORTEX 677 +#define STRINGID_TEAMSURROUNDEDBYFIRE 678 +#define STRINGID_PKMNBURNINGUP 679 +#define STRINGID_TEAMSURROUNDEDBYROCKS 680 +#define STRINGID_PKMNHURTBYROCKSTHROWN 681 +#define STRINGID_MOVEBLOCKEDBYDYNAMAX 682 +#define STRINGID_ZEROTOHEROTRANSFORMATION 683 +#define STRINGID_THETWOMOVESBECOMEONE 684 +#define STRINGID_ARAINBOWAPPEAREDONSIDE 685 +#define STRINGID_THERAINBOWDISAPPEARED 686 +#define STRINGID_WAITINGFORPARTNERSMOVE 687 +#define STRINGID_SEAOFFIREENVELOPEDSIDE 688 +#define STRINGID_HURTBYTHESEAOFFIRE 689 +#define STRINGID_THESEAOFFIREDISAPPEARED 690 +#define STRINGID_SWAMPENVELOPEDSIDE 691 +#define STRINGID_THESWAMPDISAPPEARED 692 +#define STRINGID_PKMNTELLCHILLINGRECEPTIONJOKE 693 +#define STRINGID_HOSPITALITYRESTORATION 694 +#define STRINGID_ELECTROSHOTCHARGING 695 +#define STRINGID_ITEMWASUSEDUP 696 +#define STRINGID_ATTACKERLOSTITSTYPE 697 +#define STRINGID_SHEDITSTAIL 698 +#define STRINGID_CLOAKEDINAHARSHLIGHT 699 +#define STRINGID_SUPERSWEETAROMAWAFTS 700 +#define STRINGID_DIMENSIONSWERETWISTED 701 +#define STRINGID_BIZARREARENACREATED 702 +#define STRINGID_BIZARREAREACREATED 703 +#define STRINGID_TIDYINGUPCOMPLETE 704 +#define STRINGID_PKMNTERASTALLIZEDINTO 705 +#define STRINGID_BOOSTERENERGYACTIVATES 706 +#define STRINGID_FOGCREPTUP 707 +#define STRINGID_FOGISDEEP 708 +#define STRINGID_FOGLIFTED 709 +#define STRINGID_PKMNMADESHELLGLEAM 710 +#define STRINGID_FICKLEBEAMDOUBLED 711 +#define STRINGID_COMMANDERACTIVATES 712 +#define STRINGID_POKEFLUTECATCHY 713 +#define STRINGID_POKEFLUTE 714 +#define STRINGID_MONHEARINGFLUTEAWOKE 715 +#define STRINGID_SUNLIGHTISHARSH 716 +#define STRINGID_ITISHAILING 717 +#define STRINGID_ITISSNOWING 718 +#define STRINGID_ISCOVEREDWITHGRASS 719 +#define STRINGID_MISTSWIRLSAROUND 720 +#define STRINGID_ELECTRICCURRENTISRUNNING 721 +#define STRINGID_SEEMSWEIRD 722 +#define STRINGID_WAGGLINGAFINGER 723 +#define STRINGID_BLOCKEDBYSLEEPCLAUSE 724 #define STRINGID_SUPEREFFECTIVETWOFOES 725 #define STRINGID_NOTVERYEFFECTIVETWOFOES 726 #define STRINGID_ITDOESNTAFFECTTWOFOES 727 -#define STRINGID_BLOCKEDBYSLEEPCLAUSE 728 -#define BATTLESTRINGS_COUNT 729 +#define BATTLESTRINGS_COUNT 728 // This is the string id that gBattleStringsTable starts with. // String ids before this (e.g. STRINGID_INTROMSG) are not in the table, diff --git a/src/battle_message.c b/src/battle_message.c index 412d105585..db68c9968e 100644 --- a/src/battle_message.c +++ b/src/battle_message.c @@ -694,7 +694,6 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_LASERFOCUS] = COMPOUND_STRING("{B_ATK_NAME_WITH_PREFIX} concentrated intensely!"), [STRINGID_GEMACTIVATES] = COMPOUND_STRING("The {B_LAST_ITEM} strengthened {B_ATK_NAME_WITH_PREFIX2}'s power!"), [STRINGID_BERRYDMGREDUCES] = COMPOUND_STRING("The {B_LAST_ITEM} weakened the damage to {B_SCR_NAME_WITH_PREFIX2}!"), - [STRINGID_TARGETATEITEM] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX} ate its {B_LAST_ITEM}!"), [STRINGID_AIRBALLOONFLOAT] = COMPOUND_STRING("{B_SCR_NAME_WITH_PREFIX} floats in the air with its Air Balloon!"), [STRINGID_AIRBALLOONPOP] = COMPOUND_STRING("{B_DEF_NAME_WITH_PREFIX}'s Air Balloon popped!"), [STRINGID_INCINERATEBURN] = COMPOUND_STRING("{B_EFF_NAME_WITH_PREFIX}'s {B_LAST_ITEM} was burnt up!"), @@ -887,10 +886,10 @@ const u8 *const gBattleStringsTable[BATTLESTRINGS_COUNT] = [STRINGID_ELECTRICCURRENTISRUNNING] = COMPOUND_STRING("An electric current is running across the battlefield!"), [STRINGID_SEEMSWEIRD] = COMPOUND_STRING("The battlefield seems weird!"), [STRINGID_WAGGLINGAFINGER] = COMPOUND_STRING("Waggling a finger let it use {B_CURRENT_MOVE}!"), + [STRINGID_BLOCKEDBYSLEEPCLAUSE] = COMPOUND_STRING("Sleep Clause kept {B_DEF_NAME_WITH_PREFIX2} awake!"), [STRINGID_SUPEREFFECTIVETWOFOES] = COMPOUND_STRING("It's super effective on {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}!"), [STRINGID_NOTVERYEFFECTIVETWOFOES] = COMPOUND_STRING("It's not very effective on {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}!"), [STRINGID_ITDOESNTAFFECTTWOFOES] = COMPOUND_STRING("It doesn't affect {B_DEF_NAME_WITH_PREFIX2} and {B_DEF_PARTNER_NAME}…"), - [STRINGID_BLOCKEDBYSLEEPCLAUSE] = COMPOUND_STRING("Sleep Clause kept {B_DEF_NAME_WITH_PREFIX2} awake!"), }; const u16 gTrainerUsedItemStringIds[] = diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index 6690e13bbd..e4c8b238d3 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -487,7 +487,7 @@ static void Cmd_givepaydaymoney(void); static void Cmd_setlightscreen(void); static void Cmd_tryKO(void); static void Cmd_damagetohalftargethp(void); -static void Cmd_unused_95(void); +static void Cmd_copybidedmg(void); static void Cmd_unused_96(void); static void Cmd_tryinfatuating(void); static void Cmd_updatestatusicon(void); @@ -746,7 +746,7 @@ void (* const gBattleScriptingCommandsTable[])(void) = Cmd_setlightscreen, //0x92 Cmd_tryKO, //0x93 Cmd_damagetohalftargethp, //0x94 - Cmd_unused_95, //0x95 + Cmd_copybidedmg, //0x95 Cmd_unused_96, //0x96 Cmd_tryinfatuating, //0x97 Cmd_updatestatusicon, //0x98 @@ -1706,7 +1706,7 @@ static void AccuracyCheck(bool32 recalcDragonDarts, const u8 *nextInstr, const u { u32 moveType = GetMoveType(move); u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, move); - bool32 calcSpreadMove = IsSpreadMove(moveTarget) && !IS_MOVE_STATUS(move); + bool32 calcSpreadMove = IsSpreadMove(moveTarget) && !IS_MOVE_STATUS(move); for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) { @@ -2183,9 +2183,9 @@ static void Cmd_adjustdamage(void) if (!calcSpreadMoveDamage && battlerDef != gBattlerTarget) continue; - if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) - || gBattleStruct->noResultString[battlerDef]) - continue; + if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) + || gBattleStruct->noResultString[battlerDef]) + continue; if (DoesSubstituteBlockMove(gBattlerAttacker, battlerDef, gCurrentMove)) goto END; @@ -2331,21 +2331,21 @@ static inline bool32 DoesBattlerNegateDamage(u32 battler) if (gBattleMons[battler].status2 & STATUS2_TRANSFORMED) return FALSE; - if (ability == ABILITY_DISGUISE && species == SPECIES_MIMIKYU) - return TRUE; - if (ability == ABILITY_ICE_FACE && species == SPECIES_EISCUE && GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_SPECIAL) - return TRUE; + if (ability == ABILITY_DISGUISE && species == SPECIES_MIMIKYU) + return TRUE; + if (ability == ABILITY_ICE_FACE && species == SPECIES_EISCUE && GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_SPECIAL) + return TRUE; return FALSE; } static u32 UpdateEffectivenessResultFlagsForDoubleSpreadMoves(u32 resultFlags) { - // Only play the "best" sound - for (u32 sound = 0; sound < 3; sound++) - { - for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) - { + // Only play the "best" sound + for (u32 sound = 0; sound < 3; sound++) + { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { if ((gBattleStruct->moveResultFlags[battlerDef] & (MOVE_RESULT_MISSED | MOVE_RESULT_NO_EFFECT) || gBattleStruct->noResultString[battlerDef])) continue; @@ -2367,10 +2367,10 @@ static u32 UpdateEffectivenessResultFlagsForDoubleSpreadMoves(u32 resultFlags) return 0; //Normal effectiveness return gBattleStruct->moveResultFlags[battlerDef]; } - } - } + } + } - return resultFlags; + return resultFlags; } static inline bool32 TryStrongWindsWeakenAttack(u32 battlerDef) @@ -2389,7 +2389,7 @@ static inline bool32 TryStrongWindsWeakenAttack(u32 battlerDef) } } - return FALSE; + return FALSE; } static inline bool32 TryTeraShellDistortTypeMatchups(u32 battlerDef) @@ -2420,30 +2420,30 @@ static inline bool32 TryActivateWeakenessBerry(u32 battlerDef) return TRUE; } - return FALSE; + return FALSE; } static bool32 ProcessPreAttackAnimationFuncs(void) { - if (IsDoubleSpreadMove()) - { + if (IsDoubleSpreadMove()) + { u32 moveTarget = GetBattlerMoveTargetType(gBattlerAttacker, gCurrentMove); - if (!gBattleStruct->printedStrongWindsWeakenedAttack) - { - for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) - { + if (!gBattleStruct->printedStrongWindsWeakenedAttack) + { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) || (battlerDef == BATTLE_PARTNER(gBattlerAttacker) && !(moveTarget & MOVE_TARGET_FOES_AND_ALLY)) || (gBattleStruct->noResultString[battlerDef] && gBattleStruct->noResultString[battlerDef] != DO_ACCURACY_CHECK)) continue; - if (TryStrongWindsWeakenAttack(battlerDef)) - return TRUE; - } - } + if (TryStrongWindsWeakenAttack(battlerDef)) + return TRUE; + } + } - for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) - { + for (u32 battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { if (IsBattlerInvalidForSpreadMove(gBattlerAttacker, battlerDef, moveTarget) || (battlerDef == BATTLE_PARTNER(gBattlerAttacker) && !(moveTarget & MOVE_TARGET_FOES_AND_ALLY)) || (gBattleStruct->noResultString[battlerDef] && gBattleStruct->noResultString[battlerDef] != DO_ACCURACY_CHECK)) @@ -2451,21 +2451,21 @@ static bool32 ProcessPreAttackAnimationFuncs(void) if (TryTeraShellDistortTypeMatchups(battlerDef)) return TRUE; - if (TryActivateWeakenessBerry(battlerDef)) - return TRUE; - } - } - else - { - if (TryStrongWindsWeakenAttack(gBattlerTarget)) - return TRUE; - if (TryTeraShellDistortTypeMatchups(gBattlerTarget)) - return TRUE; - if (TryActivateWeakenessBerry(gBattlerTarget)) + if (TryActivateWeakenessBerry(battlerDef)) + return TRUE; + } + } + else + { + if (TryStrongWindsWeakenAttack(gBattlerTarget)) return TRUE; - } + if (TryTeraShellDistortTypeMatchups(gBattlerTarget)) + return TRUE; + if (TryActivateWeakenessBerry(gBattlerTarget)) + return TRUE; + } - return FALSE; + return FALSE; } static void Cmd_attackanimation(void) @@ -2479,7 +2479,7 @@ static void Cmd_attackanimation(void) u32 moveResultFlags = gBattleStruct->moveResultFlags[gBattlerTarget]; if (IsDoubleSpreadMove()) - moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); + moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); if ((gHitMarker & (HITMARKER_NO_ANIMATIONS | HITMARKER_DISABLE_ANIMATION)) && gCurrentMove != MOVE_TRANSFORM @@ -2556,7 +2556,7 @@ static void Cmd_waitanimation(void) static void DoublesHPBarReduction(void) { - if (gBattleStruct->doneDoublesSpreadHit + if (gBattleStruct->doneDoublesSpreadHit || gHitMarker & (HITMARKER_IGNORE_SUBSTITUTE | HITMARKER_PASSIVE_DAMAGE)) return; @@ -2798,19 +2798,19 @@ static void Cmd_effectivenesssound(void) u32 moveResultFlags = gBattleStruct->moveResultFlags[gBattlerTarget]; - if (IsDoubleSpreadMove()) - { - if (gBattleStruct->doneDoublesSpreadHit - || !gBattleStruct->calculatedDamageDone //The attack animation didn't play yet - only play sound after animation - || GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_STATUS) //To handle Dark Void missing basically + if (IsDoubleSpreadMove()) + { + if (gBattleStruct->doneDoublesSpreadHit + || !gBattleStruct->calculatedDamageDone //The attack animation didn't play yet - only play sound after animation + || GetBattleMoveCategory(gCurrentMove) == DAMAGE_CATEGORY_STATUS) //To handle Dark Void missing basically { gBattlescriptCurrInstr = cmd->nextInstr; return; } - moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); - } - else if (MoveResultHasEffect(gBattlerTarget) && DoesBattlerNegateDamage(gBattlerTarget)) - moveResultFlags = 0; + moveResultFlags = UpdateEffectivenessResultFlagsForDoubleSpreadMoves(gBattleStruct->moveResultFlags[gBattlerTarget]); + } + else if (MoveResultHasEffect(gBattlerTarget) && DoesBattlerNegateDamage(gBattlerTarget)) + moveResultFlags = 0; if (!(moveResultFlags & MOVE_RESULT_MISSED)) { @@ -2856,14 +2856,14 @@ static void Cmd_effectivenesssound(void) static inline bool32 ShouldPrintTwoFoesMessage(u32 moveResult) { - return gBattlerTarget == BATTLE_OPPOSITE(gBattlerAttacker) + return gBattlerTarget == BATTLE_OPPOSITE(gBattlerAttacker) && gBattleStruct->moveResultFlags[BATTLE_PARTNER(gBattlerTarget)] & moveResult && !gBattleStruct->noResultString[BATTLE_PARTNER(gBattlerTarget)]; } static inline bool32 ShouldRelyOnTwoFoesMessage(u32 moveResult) { - return gBattlerTarget == BATTLE_PARTNER(BATTLE_OPPOSITE(gBattlerAttacker)) + return gBattlerTarget == BATTLE_PARTNER(BATTLE_OPPOSITE(gBattlerAttacker)) && gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & moveResult && !(gBattleStruct->moveResultFlags[BATTLE_OPPOSITE(gBattlerAttacker)] & MOVE_RESULT_MISSED && gBattleStruct->missStringId[BATTLE_OPPOSITE(gBattlerAttacker)] > B_MSG_AVOIDED_ATK) && !gBattleStruct->noResultString[BATTLE_OPPOSITE(gBattlerAttacker)]; @@ -3033,7 +3033,7 @@ static void Cmd_resultmessage(void) } if (stringId) PrepareStringBattle(stringId, gBattlerAttacker); - else + else gBattleCommunication[MSG_DISPLAY] = 0; gBattlescriptCurrInstr = cmd->nextInstr; @@ -8159,11 +8159,11 @@ static void Cmd_hitanimation(void) } } } - else if (!gBattleStruct->doneDoublesSpreadHit) - { + else if (!gBattleStruct->doneDoublesSpreadHit) + { u32 battlerDef; - for (battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) - { + for (battlerDef = 0; battlerDef < gBattlersCount; battlerDef++) + { if (gBattleStruct->moveResultFlags[battlerDef] & MOVE_RESULT_NO_EFFECT || gBattleStruct->noResultString[battlerDef]) continue; @@ -8175,8 +8175,8 @@ static void Cmd_hitanimation(void) BtlController_EmitHitAnimation(battlerDef, BUFFER_A); MarkBattlerForControllerExec(battlerDef); } - } - } + } + } gBattlescriptCurrInstr = cmd->nextInstr; } @@ -12759,7 +12759,7 @@ static void Cmd_damagetohalftargethp(void) gBattlescriptCurrInstr = cmd->nextInstr; } -static void Cmd_unused_95(void) +static void Cmd_copybidedmg(void) { CMD_ARGS(); gBattleStruct->moveDamage[gBattlerTarget] = gBideDmg[gBattlerAttacker] * 2; diff --git a/test/battle/ability/commander.c b/test/battle/ability/commander.c index 521d4f4b40..26f5574ba8 100644 --- a/test/battle/ability/commander.c +++ b/test/battle/ability/commander.c @@ -323,8 +323,8 @@ DOUBLE_BATTLE_TEST("Commander Attacker is kept (Dondozo Left Slot)") MESSAGE("Tatsugiri was swallowed by Dondozo and became Dondozo's commander!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); HP_BAR(playerLeft); - // MESSAGE("The opposing Wobbuffet's attack missed!"); TODO: Message issue, otherwise fine HP_BAR(opponentRight); + MESSAGE("The opposing Wobbuffet's attack missed!"); } } @@ -344,7 +344,7 @@ DOUBLE_BATTLE_TEST("Commander Attacker is kept (Dondozo Right Slot)") ANIMATION(ANIM_TYPE_MOVE, MOVE_TACKLE, opponentRight); ABILITY_POPUP(playerLeft, ABILITY_COMMANDER); MESSAGE("Tatsugiri was swallowed by Dondozo and became Dondozo's commander!"); - // MESSAGE("The opposing Wobbuffet's attack missed!"); TODO: Message issue, otherwise fine + MESSAGE("The opposing Wobbuffet's attack missed!"); ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); HP_BAR(playerRight); HP_BAR(opponentRight); diff --git a/test/battle/ability/tera_shell.c b/test/battle/ability/tera_shell.c index 047b5dd502..ef2993a0e7 100644 --- a/test/battle/ability/tera_shell.c +++ b/test/battle/ability/tera_shell.c @@ -97,23 +97,3 @@ DOUBLE_BATTLE_TEST("Tera Shell only makes the first hit against Terapagos from a NOT MESSAGE("It's not very effective…"); } } - -DOUBLE_BATTLE_TEST("[1]") -{ - GIVEN { - PLAYER(SPECIES_TERAPAGOS_TERASTAL) { Ability(ABILITY_TERA_SHELL); } - PLAYER(SPECIES_TERAPAGOS_TERASTAL) { Ability(ABILITY_TERA_SHELL); } - OPPONENT(SPECIES_WOBBUFFET); - OPPONENT(SPECIES_WOBBUFFET); - } WHEN { - TURN { MOVE(opponentLeft, MOVE_BLIZZARD); } - } SCENE { - ABILITY_POPUP(playerLeft, ABILITY_TERA_SHELL); - MESSAGE("Terapagos made its shell gleam! It's distorting type matchups!"); - ABILITY_POPUP(playerRight, ABILITY_TERA_SHELL); - MESSAGE("Terapagos made its shell gleam! It's distorting type matchups!"); - ANIMATION(ANIM_TYPE_MOVE, MOVE_BLIZZARD, opponentLeft); - HP_BAR(playerLeft); - HP_BAR(playerRight); - } -} diff --git a/test/battle/move_effect/absorb.c b/test/battle/move_effect/absorb.c index 95b479eac0..bd4eada975 100644 --- a/test/battle/move_effect/absorb.c +++ b/test/battle/move_effect/absorb.c @@ -6,20 +6,6 @@ ASSUMPTIONS ASSUME(gMovesInfo[MOVE_ABSORB].effect == EFFECT_ABSORB); } -SINGLE_BATTLE_TEST("test") -{ - GIVEN { - PLAYER(SPECIES_WOBBUFFET) { HP(1); } - OPPONENT(SPECIES_WOBBUFFET); - } WHEN { - TURN { MOVE(player, MOVE_ABSORB); } - TURN { MOVE(player, MOVE_ABSORB); } - } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_ABSORB, player); - ANIMATION(ANIM_TYPE_MOVE, MOVE_ABSORB, player); - } -} - SINGLE_BATTLE_TEST("Absorb recovers 50% of the damage dealt") { s16 damage; diff --git a/test/battle/move_effect/dragon_darts.c b/test/battle/move_effect/dragon_darts.c index d1700344d8..dfe629896f 100644 --- a/test/battle/move_effect/dragon_darts.c +++ b/test/battle/move_effect/dragon_darts.c @@ -7,17 +7,6 @@ ASSUMPTIONS ASSUME(gSpeciesInfo[SPECIES_CLEFAIRY].types[0] == TYPE_FAIRY || gSpeciesInfo[SPECIES_CLEFAIRY].types[1] == TYPE_FAIRY); } -SINGLE_BATTLE_TEST("Dragon Darts test") -{ - GIVEN { - PLAYER(SPECIES_WOBBUFFET); - OPPONENT(SPECIES_CLEFAIRY); - } WHEN { - TURN { MOVE(player, MOVE_DRAGON_DARTS); } - } SCENE { - } -} - SINGLE_BATTLE_TEST("Dragon Darts strikes twice") { GIVEN { diff --git a/test/battle/move_effect/endeavor.c b/test/battle/move_effect/endeavor.c index 8e0ce98ceb..7080ee9c28 100644 --- a/test/battle/move_effect/endeavor.c +++ b/test/battle/move_effect/endeavor.c @@ -19,3 +19,5 @@ SINGLE_BATTLE_TEST("Endeavor causes the target's HP to equal the user's current EXPECT_EQ(player->hp, opponent->hp); } } +TO_DO_BATTLE_TEST("Endeavor does not change HP if the target has less HP than the user, but still plays the animation") +TO_DO_BATTLE_TEST("Endeavor doesn't ignore type immunity") // Ghost types diff --git a/test/battle/move_effect/explosion.c b/test/battle/move_effect/explosion.c index 078ec3a199..f383ecb1a2 100644 --- a/test/battle/move_effect/explosion.c +++ b/test/battle/move_effect/explosion.c @@ -85,6 +85,7 @@ DOUBLE_BATTLE_TEST("Explosion causes everyone to faint in a double battle") HP_BAR(playerRight, hp: 0); HP_BAR(opponentRight, hp: 0); MESSAGE("The opposing Abra fainted!"); + MESSAGE("Wynaut fainted!"); MESSAGE("The opposing Kadabra fainted!"); MESSAGE("Wobbuffet fainted!"); } diff --git a/test/battle/move_effect/mind_blown.c b/test/battle/move_effect/mind_blown.c index 08168ff3b0..85e6a8fdbd 100644 --- a/test/battle/move_effect/mind_blown.c +++ b/test/battle/move_effect/mind_blown.c @@ -99,6 +99,7 @@ DOUBLE_BATTLE_TEST("Mind Blown causes everyone to faint in a double battle") HP_BAR(playerRight, hp: 0); HP_BAR(opponentRight, hp: 0); MESSAGE("The opposing Abra fainted!"); + MESSAGE("Wynaut fainted!"); MESSAGE("The opposing Kadabra fainted!"); HP_BAR(playerLeft, hp: 0); MESSAGE("Wobbuffet fainted!"); diff --git a/test/battle/spread_moves.c b/test/battle/spread_moves.c index d3547d5edf..7b395a1cc2 100644 --- a/test/battle/spread_moves.c +++ b/test/battle/spread_moves.c @@ -28,36 +28,29 @@ DOUBLE_BATTLE_TEST("Spread Moves: Ability and Item effects activate correctly af } } -DOUBLE_BATTLE_TEST("Spread Moves: No damage will be dealt to a mon in an invulnerable position - Surf") +DOUBLE_BATTLE_TEST("Spread Moves: No damage will be dealt to a mon in an invulnerable position") { + u32 attackingMove = 0, invulMove = 0; + PARAMETRIZE { attackingMove = MOVE_HYPER_VOICE; invulMove = MOVE_FLY; } + PARAMETRIZE { attackingMove = MOVE_LAVA_PLUME; invulMove = MOVE_FLY; } + PARAMETRIZE { attackingMove = MOVE_HYPER_VOICE; invulMove = MOVE_DIVE; } + PARAMETRIZE { attackingMove = MOVE_LAVA_PLUME; invulMove = MOVE_DIVE; } GIVEN { + ASSUME(gMovesInfo[MOVE_HYPER_VOICE].target == MOVE_TARGET_BOTH); + ASSUME(gMovesInfo[MOVE_LAVA_PLUME].target == MOVE_TARGET_FOES_AND_ALLY); PLAYER(SPECIES_WOBBUFFET); PLAYER(SPECIES_WYNAUT); OPPONENT(SPECIES_ZAPDOS); OPPONENT(SPECIES_WOBBUFFET); } WHEN { - TURN { MOVE(opponentLeft, MOVE_FLY, target: playerLeft); MOVE(playerLeft, MOVE_HYPER_VOICE); } + TURN { MOVE(opponentLeft, invulMove, target: playerLeft); MOVE(playerLeft, attackingMove); } } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_HYPER_VOICE, playerLeft); + ANIMATION(ANIM_TYPE_MOVE, attackingMove, playerLeft); NOT HP_BAR(opponentLeft); HP_BAR(opponentRight); } } -DOUBLE_BATTLE_TEST("Spread Moves: No damage will be dealt to a mon in an invulnerable position - Surf") -{ - GIVEN { - PLAYER(SPECIES_WOBBUFFET); - PLAYER(SPECIES_WYNAUT); - OPPONENT(SPECIES_ZAPDOS); - OPPONENT(SPECIES_WOBBUFFET); - } WHEN { - TURN { MOVE(playerLeft, MOVE_BUBBLE_BEAM, target: opponentLeft); MOVE(opponentLeft, MOVE_SURF); } - } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_SURF, opponentLeft); - } -} - DOUBLE_BATTLE_TEST("Spread Moves: A spread move attack will activate both resist berries") { s16 opponentLeftDmg[2]; @@ -233,26 +226,6 @@ DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Eiscue and Mimikyu (Based on vanil } } -// Can be removed once the above test passes -DOUBLE_BATTLE_TEST("Spread Moves: AOE move vs Eiscue and Mimikyu (Based on battler id)") -{ - GIVEN { - ASSUME(gMovesInfo[MOVE_EARTHQUAKE].target == MOVE_TARGET_FOES_AND_ALLY); - ASSUME(gMovesInfo[MOVE_EARTHQUAKE].category == DAMAGE_CATEGORY_PHYSICAL); - PLAYER(SPECIES_WOBBUFFET); - PLAYER(SPECIES_EISCUE); - OPPONENT(SPECIES_MIMIKYU); - OPPONENT(SPECIES_EISCUE); - } WHEN { - TURN { MOVE(playerLeft, MOVE_EARTHQUAKE); } - } SCENE { - ANIMATION(ANIM_TYPE_MOVE, MOVE_EARTHQUAKE, playerLeft); - ABILITY_POPUP(opponentLeft, ABILITY_DISGUISE); - ABILITY_POPUP(playerRight, ABILITY_ICE_FACE); - ABILITY_POPUP(opponentRight, ABILITY_ICE_FACE); - } -} - DOUBLE_BATTLE_TEST("Spread Moves: Spread move, Gem Boosted, vs Resist Berries") { GIVEN { From 93e733820c3d7736185c36d934ccb3889d609fa3 Mon Sep 17 00:00:00 2001 From: psf <77138753+pkmnsnfrn@users.noreply.github.com> Date: Wed, 4 Dec 2024 07:54:39 -0800 Subject: [PATCH 276/278] Added instructions in PR template to make crediting people more clear (#5755) --- .github/pull_request_template.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 6a74e9fbd5..f083a2a23f 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -17,7 +17,8 @@ ## **People who collaborated with me in this PR** - + + ## Feature(s) this PR does NOT handle: From c714caa27aba5c838faca1509f41f98311073f47 Mon Sep 17 00:00:00 2001 From: Martin Griffin Date: Wed, 4 Dec 2024 18:22:35 +0000 Subject: [PATCH 277/278] trainerproc: Fix showing incorrect error context (#5769) --- tools/trainerproc/main.c | 98 ++++++++++++++++++++++------------------ 1 file changed, 53 insertions(+), 45 deletions(-) diff --git a/tools/trainerproc/main.c b/tools/trainerproc/main.c index 8b939a955f..f1bcf1bfa4 100644 --- a/tools/trainerproc/main.c +++ b/tools/trainerproc/main.c @@ -251,51 +251,6 @@ static bool set_parse_error(struct Parser *p, struct SourceLocation location, co return false; } -static bool show_parse_error(struct Parser *p) -{ - // Print error message. - int n = fprintf(stderr, "%s:%d: ", p->source->path, p->error_location.line); - fprintf(stderr, "error: %s\n", p->error); - - // Seek to the line. - int line, begin, end; - for (line = 1, begin = 0; begin < p->source->buffer_n; begin++) - { - if (p->error_location.line == line) - break; - if (p->source->buffer[begin] == '\n') - line++; - } - for (end = begin; end < p->source->buffer_n; end++) - { - if (p->source->buffer[end] == '\n') - break; - } - - // Print the source line. - fprintf(stderr, "%s:%d: %.*s\n", p->source->path, p->error_location.line, end - begin, &p->source->buffer[begin]); - - // Print caret pointing at the column. - fprintf(stderr, "%*s", n, ""); - for (int column = 1; column < p->error_location.column && begin + column < end; column++) - { - unsigned char c = p->source->buffer[begin + column]; - fputc(c == '\t' ? c : ' ', stderr); - } - fprintf(stderr, "^\n"); - - p->error = NULL; - p->fatal_error = true; - - return false; -} - -static bool set_show_parse_error(struct Parser *p, struct SourceLocation location, const char *error) -{ - set_parse_error(p, location, error); - return show_parse_error(p); -} - __attribute__((warn_unused_result)) static bool peek_char(struct Parser *p, unsigned char *c) { @@ -618,6 +573,59 @@ static bool match_move_identifier(struct Parser *p, struct Token *t) return true; } +static bool show_parse_error(struct Parser *p) +{ + // Print error message. + int n = fprintf(stderr, "%s:%d: ", p->source->path, p->error_location.line); + fprintf(stderr, "error: %s\n", p->error); + + struct Parser p_ = { + .source = p->source, + .location = { .line = 1, .column = 1 }, + .offset = 0, + }; + + for (;;) { + if (p->error_location.line == p_.location.line) + break; + if (!match_empty_line(&p_)) + skip_line(&p_); + if (match_eof(&p_)) + assert(false); + } + + int begin = p_.offset; + int end; + for (end = begin; end < p->source->buffer_n; end++) + { + if (p->source->buffer[end] == '\n') + break; + } + + // Print the source line. + fprintf(stderr, "%s:%d: %.*s\n", p->source->path, p->error_location.line, end - begin, &p->source->buffer[begin]); + + // Print caret pointing at the column. + fprintf(stderr, "%*s", n, ""); + for (int column = 1; column < p->error_location.column && begin + column < end; column++) + { + unsigned char c = p->source->buffer[begin + column]; + fputc(c == '\t' ? c : ' ', stderr); + } + fprintf(stderr, "^\n"); + + p->error = NULL; + p->fatal_error = true; + + return false; +} + +static bool set_show_parse_error(struct Parser *p, struct SourceLocation location, const char *error) +{ + set_parse_error(p, location, error); + return show_parse_error(p); +} + __attribute__((warn_unused_result)) static bool parse_section(struct Parser *p, struct Token *section) { From 599f4d339b75e5f3a1f933baca3b759e8ce87f33 Mon Sep 17 00:00:00 2001 From: Pawkkie <61265402+Pawkkie@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:54:31 -0500 Subject: [PATCH 278/278] Adds SleepClauseBlock enum to CanBeSlept (#5773) --- include/battle_util.h | 8 +++++++- src/battle_ai_main.c | 4 ++-- src/battle_ai_switch_items.c | 2 +- src/battle_ai_util.c | 2 +- src/battle_dynamax.c | 4 ++-- src/battle_script_commands.c | 4 ++-- src/battle_util.c | 6 +++--- 7 files changed, 18 insertions(+), 12 deletions(-) diff --git a/include/battle_util.h b/include/battle_util.h index 14edad6460..d05bebafbc 100644 --- a/include/battle_util.h +++ b/include/battle_util.h @@ -148,6 +148,12 @@ struct DamageCalculationData u32 padding:2; }; +enum SleepClauseBlock +{ + NOT_BLOCKED_BY_SLEEP_CLAUSE, + BLOCKED_BY_SLEEP_CLAUSE, +}; + void HandleAction_ThrowBall(void); bool32 IsAffectedByFollowMe(u32 battlerAtk, u32 defSide, u32 move); void HandleAction_UseMove(void); @@ -292,7 +298,7 @@ bool32 MoveHasChargeTurnAdditionalEffect(u32 move); bool32 CanTargetPartner(u32 battlerAtk, u32 battlerDef); bool32 TargetFullyImmuneToCurrMove(u32 battlerAtk, u32 battlerDef); -bool32 CanBeSlept(u32 battler, u32 ability, u32 isBlockedBySleepClause); +bool32 CanBeSlept(u32 battler, u32 ability, enum SleepClauseBlock isBlockedBySleepClause); bool32 CanBePoisoned(u32 battlerAtk, u32 battlerDef, u32 defAbility); bool32 CanBeBurned(u32 battler, u32 ability); bool32 CanBeParalyzed(u32 battler, u32 ability); diff --git a/src/battle_ai_main.c b/src/battle_ai_main.c index cb85ba8c78..a7e462ff97 100644 --- a/src/battle_ai_main.c +++ b/src/battle_ai_main.c @@ -1796,7 +1796,7 @@ static s32 AI_CheckBadMove(u32 battlerAtk, u32 battlerDef, u32 move, s32 score) ADJUST_SCORE(-10); break; case EFFECT_REST: - if (!CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], FALSE)) + if (!CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], NOT_BLOCKED_BY_SLEEP_CLAUSE)) ADJUST_SCORE(-10); //fallthrough case EFFECT_RESTORE_HP: @@ -3461,7 +3461,7 @@ static u32 AI_CalcMoveEffectScore(u32 battlerAtk, u32 battlerDef, u32 move) } break; case EFFECT_REST: - if (!(CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], FALSE))) + if (!(CanBeSlept(battlerAtk, aiData->abilities[battlerAtk], NOT_BLOCKED_BY_SLEEP_CLAUSE))) { break; } diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 05600faca1..fd09421ef3 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -502,7 +502,7 @@ static bool32 ShouldSwitchIfBadlyStatused(u32 battler) { //Yawn if (gStatuses3[battler] & STATUS3_YAWN - && CanBeSlept(battler, monAbility, TRUE) + && CanBeSlept(battler, monAbility, BLOCKED_BY_SLEEP_CLAUSE) && gBattleMons[battler].hp > gBattleMons[battler].maxHP / 3) { switchMon = TRUE; diff --git a/src/battle_ai_util.c b/src/battle_ai_util.c index d0ec630fad..228e5202c5 100644 --- a/src/battle_ai_util.c +++ b/src/battle_ai_util.c @@ -2941,7 +2941,7 @@ bool32 IsBattlerIncapacitated(u32 battler, u32 ability) bool32 AI_CanPutToSleep(u32 battlerAtk, u32 battlerDef, u32 defAbility, u32 move, u32 partnerMove) { - if (!CanBeSlept(battlerDef, defAbility, TRUE) + if (!CanBeSlept(battlerDef, defAbility, BLOCKED_BY_SLEEP_CLAUSE) || DoesSubstituteBlockMove(battlerAtk, battlerDef, move) || PartnerMoveEffectIsStatusSameTarget(BATTLE_PARTNER(battlerAtk), battlerDef, partnerMove)) // shouldn't try to sleep mon that partner is trying to make sleep return FALSE; diff --git a/src/battle_dynamax.c b/src/battle_dynamax.c index 6ad81ad903..1523bcbd6e 100644 --- a/src/battle_dynamax.c +++ b/src/battle_dynamax.c @@ -759,7 +759,7 @@ void BS_SetMaxMoveEffect(void) { static const u8 sSnoozeEffects[] = {TRUE, FALSE}; if (!(gStatuses3[gBattlerTarget] & STATUS3_YAWN) - && CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE) + && CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), BLOCKED_BY_SLEEP_CLAUSE) && RandomElement(RNG_G_MAX_SNOOZE, sSnoozeEffects)) // 50% chance of success { gStatuses3[gBattlerTarget] |= STATUS3_YAWN_TURN(2); @@ -881,7 +881,7 @@ void BS_TrySetStatus1(void) } break; case STATUS1_SLEEP: - if (CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), TRUE)) + if (CanBeSlept(gBattlerTarget, GetBattlerAbility(gBattlerTarget), BLOCKED_BY_SLEEP_CLAUSE)) { if (B_SLEEP_TURNS >= GEN_5) gBattleMons[gBattlerTarget].status1 |= STATUS1_SLEEP_TURN((Random() % 3) + 2); diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c index c817a14df1..79da4a671f 100644 --- a/src/battle_script_commands.c +++ b/src/battle_script_commands.c @@ -3266,7 +3266,7 @@ void SetMoveEffect(bool32 primary, bool32 certain) if (i != gBattlersCount) break; - if (!CanBeSlept(gEffectBattler, GetBattlerAbility(gEffectBattler), TRUE) && !(gBattleStruct->sleepClauseEffectExempt & (1u << gEffectBattler))) + if (!CanBeSlept(gEffectBattler, GetBattlerAbility(gEffectBattler), BLOCKED_BY_SLEEP_CLAUSE) && !(gBattleStruct->sleepClauseEffectExempt & (1u << gEffectBattler))) break; cancelMultiTurnMovesResult = CancelMultiTurnMoves(gEffectBattler); @@ -10475,7 +10475,7 @@ static void Cmd_various(void) gBattleCommunication[MULTISTRING_CHOOSER] = 2; else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_PARALYSIS) && CanBeParalyzed(gBattlerTarget, targetAbility)) gBattleCommunication[MULTISTRING_CHOOSER] = 3; - else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) && CanBeSlept(gBattlerTarget, targetAbility, TRUE)) + else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_SLEEP) && CanBeSlept(gBattlerTarget, targetAbility, BLOCKED_BY_SLEEP_CLAUSE)) gBattleCommunication[MULTISTRING_CHOOSER] = 4; else if ((gBattleMons[gBattlerAttacker].status1 & STATUS1_FROSTBITE) && CanGetFrostbite(gBattlerTarget)) gBattleCommunication[MULTISTRING_CHOOSER] = 5; diff --git a/src/battle_util.c b/src/battle_util.c index 36fd867b38..c068d90c8f 100644 --- a/src/battle_util.c +++ b/src/battle_util.c @@ -5871,7 +5871,7 @@ u32 AbilityBattleEffects(u32 caseID, u32 battler, u32 ability, u32 special, u32 && IsBattlerAlive(gBattlerAttacker) && !gProtectStructs[gBattlerAttacker].confusionSelfDmg && TARGET_TURN_DAMAGED - && CanBeSlept(gBattlerAttacker, ability, FALSE) + && CanBeSlept(gBattlerAttacker, ability, NOT_BLOCKED_BY_SLEEP_CLAUSE) && GetBattlerHoldEffect(gBattlerAttacker, TRUE) != HOLD_EFFECT_PROTECTIVE_PADS && IsMoveMakingContact(move, gBattlerAttacker)) { @@ -6732,7 +6732,7 @@ bool32 IsBattlerTerrainAffected(u32 battler, u32 terrainFlag) return IsBattlerGrounded(battler); } -bool32 CanBeSlept(u32 battler, u32 ability, u32 isBlockedBySleepClause) +bool32 CanBeSlept(u32 battler, u32 ability, enum SleepClauseBlock isBlockedBySleepClause) { if(IsSleepClauseActiveForSide(GetBattlerSide(battler)) && isBlockedBySleepClause) return FALSE; @@ -8614,7 +8614,7 @@ u8 GetAttackerObedienceForAction() obedienceLevel = levelReferenced - obedienceLevel; calc = ((rnd >> 16) & 255); - if (calc < obedienceLevel && CanBeSlept(gBattlerAttacker, GetBattlerAbility(gBattlerAttacker), FALSE)) + if (calc < obedienceLevel && CanBeSlept(gBattlerAttacker, GetBattlerAbility(gBattlerAttacker), NOT_BLOCKED_BY_SLEEP_CLAUSE)) { // try putting asleep int i;