mirror of
https://github.com/pret/pokeruby.git
synced 2024-12-11 14:54:06 +00:00
Sort includes
This commit is contained in:
parent
4d2b22a899
commit
f26daa3d69
@ -1,31 +1,31 @@
|
||||
#include "rom3.h"
|
||||
#include "unknown_task.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokedex.h"
|
||||
#include "item.h"
|
||||
#include "util.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "pokeball.h"
|
||||
#include "battle_interface.h"
|
||||
#include "global.h"
|
||||
#include "abilities.h"
|
||||
#include "battle.h"
|
||||
#include "battle_interface.h"
|
||||
#include "battle_setup.h"
|
||||
#include "data2.h"
|
||||
#include "item.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
#include "text.h"
|
||||
#include "name_string_util.h"
|
||||
#include "palette.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokeball.h"
|
||||
#include "pokedex.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom3.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "species.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
#include "pokemon.h"
|
||||
#include "species.h"
|
||||
#include "link.h"
|
||||
#include "name_string_util.h"
|
||||
#include "battle_setup.h"
|
||||
#include "rng.h"
|
||||
#include "sound.h"
|
||||
#include "songs.h"
|
||||
#include "text.h"
|
||||
#include "trig.h"
|
||||
#include "abilities.h"
|
||||
#include "unknown_task.h"
|
||||
#include "util.h"
|
||||
|
||||
struct UnknownStruct6
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "battle_message.h"
|
||||
#include "global.h"
|
||||
#include "battle.h"
|
||||
#include "battle_message.h"
|
||||
#include "menu_cursor.h"
|
||||
#include "text.h"
|
||||
|
||||
|
@ -1,22 +1,22 @@
|
||||
#include "battle.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "battle_interface.h"
|
||||
#include "pokeball.h"
|
||||
#include "task.h"
|
||||
#include "battle_anim_813F0F4.h"
|
||||
#include "util.h"
|
||||
#include "rom3.h"
|
||||
#include "global.h"
|
||||
#include "battle_811DA74.h"
|
||||
#include "battle.h"
|
||||
#include "battle_anim_813F0F4.h"
|
||||
#include "battle_interface.h"
|
||||
#include "link.h"
|
||||
#include "m4a.h"
|
||||
#include "main.h"
|
||||
#include "palette.h"
|
||||
#include "pokeball.h"
|
||||
#include "pokemon.h"
|
||||
#include "rom3.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "util.h"
|
||||
|
||||
struct UnknownStruct1
|
||||
{
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include "util.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "global.h"
|
||||
#include "battle_ai.h"
|
||||
#include "abilities.h"
|
||||
@ -10,7 +8,9 @@
|
||||
#include "moves.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "species.h"
|
||||
#include "util.h"
|
||||
|
||||
extern u16 gBattleTypeFlags;
|
||||
extern u16 gBattleWeather;
|
||||
|
@ -1,14 +1,14 @@
|
||||
#include "rom_8077ABC.h"
|
||||
#include "battle_interface.h"
|
||||
#include "battle_anim_80CA710.h"
|
||||
#include "contest.h"
|
||||
#include "main.h"
|
||||
#include "battle.h"
|
||||
#include "global.h"
|
||||
#include "battle_anim.h"
|
||||
#include "battle.h"
|
||||
#include "battle_anim_80CA710.h"
|
||||
#include "battle_interface.h"
|
||||
#include "contest.h"
|
||||
#include "decompress.h"
|
||||
#include "m4a.h"
|
||||
#include "main.h"
|
||||
#include "palette.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "rom_8077ABC.h"
|
||||
#include "global.h"
|
||||
#include "battle_anim.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "battle.h"
|
||||
#include "battle_message.h"
|
||||
#include "global.h"
|
||||
#include "battle_anim_81258BC.h"
|
||||
#include "text.h"
|
||||
#include "battle.h"
|
||||
#include "battle_message.h"
|
||||
#include "menu_cursor.h"
|
||||
#include "text.h"
|
||||
|
||||
extern struct Window gUnknown_03004210;
|
||||
extern u8 gUnknown_020238CC[];
|
||||
@ -13,7 +13,7 @@ extern const u8 gUnknown_08400CBB[];
|
||||
extern u8 gUnknown_02024A60;
|
||||
extern const u8 gUnknown_08400D15[];
|
||||
|
||||
extern void* gUnknown_03004330[];
|
||||
extern void *gUnknown_03004330[];
|
||||
extern u16 gUnknown_030042A0;
|
||||
extern u16 gUnknown_030042A4;
|
||||
|
||||
|
@ -1,17 +1,17 @@
|
||||
#include "rom_8077ABC.h"
|
||||
#include "task.h"
|
||||
#include "safari_zone.h"
|
||||
#include "pokedex.h"
|
||||
#include "global.h"
|
||||
#include "battle_interface.h"
|
||||
#include "battle.h"
|
||||
#include "decompress.h"
|
||||
#include "palette.h"
|
||||
#include "pokedex.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "safari_zone.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "decompress.h"
|
||||
#include "sound.h"
|
||||
#include "songs.h"
|
||||
#include "battle.h"
|
||||
#include "palette.h"
|
||||
|
||||
struct UnknownStruct5
|
||||
{
|
||||
|
@ -1,16 +1,16 @@
|
||||
#include "party_menu.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "battle.h"
|
||||
#include "item_menu.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "global.h"
|
||||
#include "battle_party_menu.h"
|
||||
#include "battle.h"
|
||||
#include "item_menu.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "palette.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "string_util.h"
|
||||
|
@ -1,18 +1,17 @@
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "battle_transition.h"
|
||||
#include "fieldmap.h"
|
||||
#include "secret_base.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "global.h"
|
||||
#include "battle_setup.h"
|
||||
#include "battle.h"
|
||||
#include "battle_transition.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "field_control_avatar.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_message_box.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "main.h"
|
||||
#include "map_constants.h"
|
||||
#include "metatile_behavior.h"
|
||||
@ -23,6 +22,7 @@
|
||||
#include "safari_zone.h"
|
||||
#include "script.h"
|
||||
#include "script_pokemon_80C4.h"
|
||||
#include "secret_base.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "species.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "fieldmap.h"
|
||||
#include "item_menu.h"
|
||||
#include "global.h"
|
||||
#include "berry.h"
|
||||
#include "field_control_avatar.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "fieldmap.h"
|
||||
#include "item.h"
|
||||
#include "item_menu.h"
|
||||
#include "items.h"
|
||||
#include "main.h"
|
||||
#include "rng.h"
|
||||
|
@ -1,13 +1,13 @@
|
||||
#include "menu_helpers.h"
|
||||
#include "item_menu.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "global.h"
|
||||
#include "berry_tag_screen.h"
|
||||
#include "berry.h"
|
||||
#include "decompress.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "item_menu.h"
|
||||
#include "items.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "palette.h"
|
||||
#include "rom4.h"
|
||||
#include "songs.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "bike.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "fieldmap.h"
|
||||
#include "flags.h"
|
||||
#include "global.fieldmap.h"
|
||||
#include "metatile_behavior.h"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "fieldmap.h"
|
||||
#include "main.h"
|
||||
#include "global.h"
|
||||
#include "braille_puzzles.h"
|
||||
#include "event_data.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_effect.h"
|
||||
#include "fieldmap.h"
|
||||
#include "flags.h"
|
||||
#include "main.h"
|
||||
#include "map_obj_lock.h"
|
||||
#include "menu.h"
|
||||
#include "rom6.h"
|
||||
|
10
src/clock.c
10
src/clock.c
@ -1,16 +1,16 @@
|
||||
#include "dewford_trend.h"
|
||||
#include "field_weather.h"
|
||||
#include "tv.h"
|
||||
#include "time_events.h"
|
||||
#include "field_specials.h"
|
||||
#include "global.h"
|
||||
#include "clock.h"
|
||||
#include "berry.h"
|
||||
#include "dewford_trend.h"
|
||||
#include "event_data.h"
|
||||
#include "field_specials.h"
|
||||
#include "field_weather.h"
|
||||
#include "lottery_corner.h"
|
||||
#include "main.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "time_events.h"
|
||||
#include "tv.h"
|
||||
#include "wallclock.h"
|
||||
|
||||
static void InitTimeBasedEvents(void);
|
||||
|
@ -1,7 +1,6 @@
|
||||
#include "unknown_task.h"
|
||||
#include "cute_sketch.h"
|
||||
#include "global.h"
|
||||
#include "contest_painting.h"
|
||||
#include "cute_sketch.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "main.h"
|
||||
@ -12,6 +11,7 @@
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "text.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern u8 unk_2000000[];
|
||||
extern u8 gUnknown_03000750;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "field_weather.h"
|
||||
#include "global.h"
|
||||
#include "coord_event_weather.h"
|
||||
#include "field_weather.h"
|
||||
|
||||
struct CoordEventWeather
|
||||
{
|
||||
|
@ -1,10 +1,9 @@
|
||||
#include "task.h"
|
||||
#include "intro_credits_graphics.h"
|
||||
#include "hall_of_fame.h"
|
||||
#include "global.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "event_data.h"
|
||||
#include "hall_of_fame.h"
|
||||
#include "intro_credits_graphics.h"
|
||||
#include "m4a.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
@ -15,6 +14,7 @@
|
||||
#include "sound.h"
|
||||
#include "species.h"
|
||||
#include "starter_choose.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
|
||||
asm(".set REG_BASE, 0x4000000");
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "diploma.h"
|
||||
#include "main.h"
|
||||
@ -11,6 +10,7 @@
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
static void VBlankCB(void);
|
||||
static void MainCB2(void);
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "rotating_gate.h"
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "field_camera.h"
|
||||
#include "berry.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "fieldmap.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "sprite.h"
|
||||
#include "text.h"
|
||||
|
||||
|
@ -1,25 +1,25 @@
|
||||
#include "fieldmap.h"
|
||||
#include "start_menu.h"
|
||||
#include "item_menu.h"
|
||||
#include "secret_base.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "coord_event_weather.h"
|
||||
#include "field_specials.h"
|
||||
#include "daycare.h"
|
||||
#include "field_poison.h"
|
||||
#include "global.h"
|
||||
#include "field_control_avatar.h"
|
||||
#include "battle_setup.h"
|
||||
#include "bike.h"
|
||||
#include "coord_event_weather.h"
|
||||
#include "daycare.h"
|
||||
#include "event_data.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_poison.h"
|
||||
#include "field_specials.h"
|
||||
#include "fieldmap.h"
|
||||
#include "flags.h"
|
||||
#include "item_menu.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "rom4.h"
|
||||
#include "safari_zone.h"
|
||||
#include "script.h"
|
||||
#include "secret_base.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "start_menu.h"
|
||||
#include "trainer_see.h"
|
||||
#include "vars.h"
|
||||
#include "wild_encounter.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "field_door.h"
|
||||
#include "field_camera.h"
|
||||
#include "fieldmap.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "task.h"
|
||||
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "rom4.h"
|
||||
#include "fldeff_flash.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "global.h"
|
||||
#include "gba/syscall.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "fldeff_flash.h"
|
||||
#include "global.fieldmap.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "task.h"
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "fieldmap.h"
|
||||
#include "metatile_behavior.h"
|
||||
|
||||
extern u32 gUnknown_08376008[];
|
||||
|
20
src/field_map_obj.c
Executable file → Normal file
20
src/field_map_obj.c
Executable file → Normal file
@ -1,18 +1,18 @@
|
||||
#include "field_effect_helpers.h"
|
||||
#include "global.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "fieldmap.h"
|
||||
#include "berry.h"
|
||||
#include "event_data.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "palette.h"
|
||||
#include "rom4.h"
|
||||
#include "rng.h"
|
||||
#include "sprite.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_effect_helpers.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "fieldmap.h"
|
||||
#include "palette.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "sprite.h"
|
||||
|
||||
extern const struct SpriteTemplate *const gFieldEffectObjectTemplatePointers[36];
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "global.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "sprite.h"
|
||||
|
||||
typedef void (*SpriteStepFunc)(struct Sprite *sprite, u8 dir);
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "menu.h"
|
||||
#include "global.h"
|
||||
#include "field_message_box.h"
|
||||
#include "menu.h"
|
||||
#include "string_util.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
|
@ -1,27 +1,27 @@
|
||||
#include "fieldmap.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_effect_helpers.h"
|
||||
#include "tv.h"
|
||||
#include "party_menu.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "global.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "bike.h"
|
||||
#include "event_data.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_effect_helpers.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "fieldmap.h"
|
||||
#include "main.h"
|
||||
#include "map_object_constants.h"
|
||||
#include "menu.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "party_menu.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "script.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "tv.h"
|
||||
#include "wild_encounter.h"
|
||||
|
||||
extern u32 gUnknown_0202FF84[];
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "global.h"
|
||||
#include "field_poison.h"
|
||||
#include "field_message_box.h"
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "script.h"
|
||||
#include "string_util.h"
|
||||
#include "task.h"
|
||||
|
@ -1,12 +1,12 @@
|
||||
#include "region_map.h"
|
||||
#include "global.h"
|
||||
#include "field_region_map.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
#include "region_map.h"
|
||||
#include "sprite.h"
|
||||
#include "text.h"
|
||||
#include "strings2.h"
|
||||
#include "text.h"
|
||||
|
||||
struct RegionMapStruct
|
||||
{
|
||||
|
@ -1,16 +1,16 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "field_specials.h"
|
||||
#include "main.h"
|
||||
#include "script_movement.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "field_special_scene.h"
|
||||
#include "event_data.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_specials.h"
|
||||
#include "fieldmap.h"
|
||||
#include "main.h"
|
||||
#include "palette.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "script_movement.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "diploma.h"
|
||||
#include "global.h"
|
||||
#include "field_specials.h"
|
||||
#include "diploma.h"
|
||||
#include "event_data.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "main.h"
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "script.h"
|
||||
#include "secret_base.h"
|
||||
#include "rom4.h"
|
||||
#include "tv.h"
|
||||
#include "global.h"
|
||||
#include "fieldmap.h"
|
||||
#include "palette.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "secret_base.h"
|
||||
#include "tv.h"
|
||||
|
||||
struct BackupMapData
|
||||
{
|
||||
|
@ -1,20 +1,20 @@
|
||||
#include "pokemon_menu.h"
|
||||
#include "fieldmap.h"
|
||||
#include "task.h"
|
||||
#include "global.h"
|
||||
#include "fldeff_cut.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "fieldmap.h"
|
||||
#include "map_obj_lock.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "metatile_behaviors.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom4.h"
|
||||
#include "rom6.h"
|
||||
#include "script.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
|
||||
extern u8 gCutGrassSpriteArray[8]; // seems to be an array of 8 sprite IDs
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "party_menu.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "global.h"
|
||||
#include "fldeff_softboiled.h"
|
||||
#include "menu.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "pokemon_menu.h"
|
||||
#include "party_menu.h"
|
||||
#include "global.h"
|
||||
#include "braille_puzzles.h"
|
||||
#include "field_effect.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom6.h"
|
||||
#include "script.h"
|
||||
#include "task.h"
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "pokemon_menu.h"
|
||||
#include "global.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom6.h"
|
||||
#include "script.h"
|
||||
#include "sound.h"
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "task.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "global.h"
|
||||
#include "fldeff_teleport.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom4.h"
|
||||
#include "rom6.h"
|
||||
#include "task.h"
|
||||
|
||||
extern u32 gUnknown_0202FF84[];
|
||||
|
||||
|
@ -1,11 +1,10 @@
|
||||
#include "intro_credits_graphics.h"
|
||||
#include "unknown_task.h"
|
||||
#include "hall_of_fame.h"
|
||||
#include "global.h"
|
||||
#include "gba/m4a_internal.h"
|
||||
#include "intro.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "hall_of_fame.h"
|
||||
#include "intro_credits_graphics.h"
|
||||
#include "libgncmultiboot.h"
|
||||
#include "link.h"
|
||||
#include "m4a.h"
|
||||
@ -20,6 +19,7 @@
|
||||
#include "task.h"
|
||||
#include "title_screen.h"
|
||||
#include "trig.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern struct SpriteTemplate gUnknown_02024E8C;
|
||||
extern u16 gUnknown_02039318;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "berry.h"
|
||||
#include "global.h"
|
||||
#include "item.h"
|
||||
#include "berry.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
|
||||
|
@ -1,24 +1,19 @@
|
||||
#include "pokemon_menu.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "item_menu.h"
|
||||
#include "bike.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "pokemon_item_effect.h"
|
||||
#include "party_menu.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "field_effect.h"
|
||||
#include "global.h"
|
||||
#include "item_use.h"
|
||||
#include "battle.h"
|
||||
#include "berry.h"
|
||||
#include "bike.h"
|
||||
#include "coins.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "item.h"
|
||||
#include "item_menu.h"
|
||||
#include "items.h"
|
||||
#include "mail.h"
|
||||
#include "main.h"
|
||||
@ -27,7 +22,12 @@
|
||||
#include "menu_helpers.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "palette.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "pokemon_item_effect.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom4.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "script.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "berry_blender.h"
|
||||
#include "global.h"
|
||||
#include "link.h"
|
||||
#include "battle.h"
|
||||
#include "berry_blender.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
|
10
src/mail.c
10
src/mail.c
@ -1,20 +1,20 @@
|
||||
#include "easy_chat.h"
|
||||
#include "mail_data.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "mail.h"
|
||||
#include "easy_chat.h"
|
||||
#include "items.h"
|
||||
#include "mail_data.h"
|
||||
#include "menu.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "name_string_util.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "rom4.h"
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
struct UnkMailStruct
|
||||
{
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "pokemon_icon.h"
|
||||
#include "global.h"
|
||||
#include "mail_data.h"
|
||||
#include "items.h"
|
||||
#include "name_string_util.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "species.h"
|
||||
#include "text.h"
|
||||
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include "rom3.h"
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "gba/flash_internal.h"
|
||||
#include "gba/m4a_internal.h"
|
||||
@ -10,10 +8,12 @@
|
||||
#include "m4a.h"
|
||||
#include "play_time.h"
|
||||
#include "rng.h"
|
||||
#include "rom3.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "siirtc.h"
|
||||
#include "sound.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern struct SoundInfo gSoundInfo;
|
||||
extern u32 IntrMain[];
|
||||
|
@ -1,16 +1,15 @@
|
||||
#include "unknown_task.h"
|
||||
#include "field_effect.h"
|
||||
#include "pokeball.h"
|
||||
#include "global.h"
|
||||
#include "main_menu.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "event_data.h"
|
||||
#include "field_effect.h"
|
||||
#include "menu.h"
|
||||
#include "mystery_event_menu.h"
|
||||
#include "naming_screen.h"
|
||||
#include "option_menu.h"
|
||||
#include "palette.h"
|
||||
#include "pokeball.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "save_menu_util.h"
|
||||
@ -22,6 +21,7 @@
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "title_screen.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
#define BirchSpeechUpdateWindowText() ((u8)MenuUpdateWindowText_OverrideLineLength(24))
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "region_map.h"
|
||||
#include "global.h"
|
||||
#include "map_name_popup.h"
|
||||
#include "event_data.h"
|
||||
#include "menu.h"
|
||||
#include "region_map.h"
|
||||
#include "task.h"
|
||||
|
||||
EWRAM_DATA static u8 sTaskId = 0;
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "script_movement.h"
|
||||
#include "global.h"
|
||||
#include "map_obj_lock.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "script_movement.h"
|
||||
#include "task.h"
|
||||
|
||||
extern u16 gScriptFacing;
|
||||
|
@ -1,9 +1,8 @@
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "contest_link_80C857C.h"
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "matsuda_debug_menu.h"
|
||||
#include "contest.h"
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "contest_link_80C857C.h"
|
||||
#include "data2.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
@ -15,6 +14,7 @@
|
||||
#include "string_util.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern u8 gUnknown_0203856C;
|
||||
extern u8 gUnknown_0203857D[][64];
|
||||
|
@ -1,12 +1,12 @@
|
||||
#include "easy_chat.h"
|
||||
#include "trader.h"
|
||||
#include "global.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "easy_chat.h"
|
||||
#include "menu.h"
|
||||
#include "rng.h"
|
||||
#include "script.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "trader.h"
|
||||
|
||||
extern u16 gScriptResult;
|
||||
extern u16 gSpecialVar_0x8004;
|
||||
|
@ -1,12 +1,12 @@
|
||||
#include "daycare.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "learn_move.h"
|
||||
#include "global.h"
|
||||
#include "mori_debug_menu.h"
|
||||
#include "data2.h"
|
||||
#include "daycare.h"
|
||||
#include "learn_move.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "start_menu.h"
|
||||
#include "string_util.h"
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "mystery_event_script.h"
|
||||
#include "global.h"
|
||||
#include "mystery_event_menu.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "mystery_event_script.h"
|
||||
#include "palette.h"
|
||||
#include "save.h"
|
||||
#include "songs.h"
|
||||
|
@ -1,14 +1,13 @@
|
||||
#include "util.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "field_effect.h"
|
||||
#include "global.h"
|
||||
#include "naming_screen.h"
|
||||
#include "data2.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
@ -17,6 +16,7 @@
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "trig.h"
|
||||
#include "util.h"
|
||||
|
||||
extern u16 gKeyRepeatStartDelay;
|
||||
|
||||
|
@ -1,30 +1,30 @@
|
||||
#include "item_menu.h"
|
||||
#include "mail_data.h"
|
||||
#include "tv.h"
|
||||
#include "secret_base.h"
|
||||
#include "contest.h"
|
||||
#include "battle_records.h"
|
||||
#include "pokemon_storage_system.h"
|
||||
#include "player_pc.h"
|
||||
#include "decoration_inventory.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "easy_chat.h"
|
||||
#include "field_specials.h"
|
||||
#include "global.h"
|
||||
#include "new_game.h"
|
||||
#include "battle_records.h"
|
||||
#include "berry.h"
|
||||
#include "contest.h"
|
||||
#include "decoration_inventory.h"
|
||||
#include "dewford_trend.h"
|
||||
#include "easy_chat.h"
|
||||
#include "event_data.h"
|
||||
#include "field_specials.h"
|
||||
#include "item_menu.h"
|
||||
#include "lottery_corner.h"
|
||||
#include "mail_data.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "play_time.h"
|
||||
#include "player_pc.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "pokedex.h"
|
||||
#include "pokemon_size_record.h"
|
||||
#include "pokemon_storage_system.h"
|
||||
#include "rng.h"
|
||||
#include "roamer.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "script.h"
|
||||
#include "secret_base.h"
|
||||
#include "tv.h"
|
||||
|
||||
extern u8 gDifferentSaveFile;
|
||||
|
||||
|
@ -1,28 +1,28 @@
|
||||
#include "mail_data.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "battle.h"
|
||||
#include "battle_party_menu.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "pokemon_item_effect.h"
|
||||
#include "global.h"
|
||||
#include "party_menu.h"
|
||||
#include "battle.h"
|
||||
#include "battle_interface.h"
|
||||
#include "battle_party_menu.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "item.h"
|
||||
#include "mail_data.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_item_effect.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "species.h"
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "sprite.h"
|
||||
#include "palette.h"
|
||||
#include "event_data.h"
|
||||
#include "main.h"
|
||||
#include "item.h"
|
||||
#include "battle_interface.h"
|
||||
#include "species.h"
|
||||
|
||||
#define DATA_COUNT (6)
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
#include "item_menu.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "decoration.h"
|
||||
#include "global.h"
|
||||
#include "player_pc.h"
|
||||
#include "decoration.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_weather.h"
|
||||
#include "item.h"
|
||||
#include "item_menu.h"
|
||||
#include "items.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
|
@ -1,5 +1,4 @@
|
||||
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "gba/m4a_internal.h"
|
||||
#include "pokedex.h"
|
||||
@ -9,16 +8,17 @@
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
#include "pokedex_area_screen.h"
|
||||
#include "pokedex_cry_screen.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
#include "rom4.h"
|
||||
#include "pokedex_cry_screen.h"
|
||||
#include "pokedex_area_screen.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
// I'm #define-ing these just for now so I can keep using the old unkXXX member names
|
||||
#define unk60E selectedPokemon
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "global.h"
|
||||
#include "pokemon.h"
|
||||
#include "data2.h"
|
||||
#include "items.h"
|
||||
#include "main.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "species.h"
|
||||
|
@ -1,17 +1,17 @@
|
||||
#include "rom_8077ABC.h"
|
||||
#include "util.h"
|
||||
#include "battle.h"
|
||||
#include "global.h"
|
||||
#include "pokemon.h"
|
||||
#include "battle.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "main.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "species.h"
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "text.h"
|
||||
#include "strings2.h"
|
||||
#include "text.h"
|
||||
#include "util.h"
|
||||
|
||||
extern u8 gPlayerPartyCount;
|
||||
extern u8 gEnemyPartyCount;
|
||||
|
@ -1,20 +1,19 @@
|
||||
#include "battle_message.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "util.h"
|
||||
#include "global.h"
|
||||
#include "pokemon.h"
|
||||
#include "battle.h"
|
||||
#include "battle_message.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "hold_effects.h"
|
||||
#include "item.h"
|
||||
#include "items.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
#include "m4a.h"
|
||||
#include "main.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "rtc.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
@ -22,6 +21,7 @@
|
||||
#include "sprite.h"
|
||||
#include "string_util.h"
|
||||
#include "text.h"
|
||||
#include "util.h"
|
||||
|
||||
#define EVO_FRIENDSHIP 0x0001 // Pokémon levels up with friendship ≥ 220
|
||||
#define EVO_FRIENDSHIP_DAY 0x0002 // Pokémon levels up during the day with friendship ≥ 220
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "pokedex.h"
|
||||
#include "global.h"
|
||||
#include "pokemon_size_record.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "pokedex.h"
|
||||
#include "species.h"
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
|
@ -1,12 +1,12 @@
|
||||
#include "region_map.h"
|
||||
#include "tv.h"
|
||||
#include "global.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "link.h"
|
||||
#include "menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "region_map.h"
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
#include "tv.h"
|
||||
|
||||
extern struct Pokemon *unk_2018000;
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#include "hall_of_fame.h"
|
||||
#include "global.h"
|
||||
#include "event_data.h"
|
||||
#include "hall_of_fame.h"
|
||||
#include "load_save.h"
|
||||
#include "main.h"
|
||||
#include "pokemon.h"
|
||||
|
@ -1,24 +1,24 @@
|
||||
#include "cable_club.h"
|
||||
#include "secret_base.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "battle_tower.h"
|
||||
#include "tv.h"
|
||||
#include "mystery_event_script.h"
|
||||
#include "daycare.h"
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "global.h"
|
||||
#include "record_mixing.h"
|
||||
#include "battle_tower.h"
|
||||
#include "cable_club.h"
|
||||
#include "daycare.h"
|
||||
#include "dewford_trend.h"
|
||||
#include "event_data.h"
|
||||
#include "fldeff_80C5CD4.h"
|
||||
#include "link.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "menu.h"
|
||||
#include "mystery_event_script.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "secret_base.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "tv.h"
|
||||
|
||||
extern void *recordMixingSecretBases;
|
||||
extern void *recordMixingTvShows;
|
||||
|
16
src/rom3.c
16
src/rom3.c
@ -1,19 +1,19 @@
|
||||
#include "battle_anim.h"
|
||||
#include "battle_ai.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "battle_811DA74.h"
|
||||
#include "util.h"
|
||||
#include "battle_anim_81258BC.h"
|
||||
#include "battle_anim_8137220.h"
|
||||
#include "cable_club.h"
|
||||
#include "global.h"
|
||||
#include "rom3.h"
|
||||
#include "battle.h"
|
||||
#include "battle_811DA74.h"
|
||||
#include "battle_ai.h"
|
||||
#include "battle_anim.h"
|
||||
#include "battle_anim_81258BC.h"
|
||||
#include "battle_anim_8137220.h"
|
||||
#include "cable_club.h"
|
||||
#include "items.h"
|
||||
#include "link.h"
|
||||
#include "pokemon.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "species.h"
|
||||
#include "task.h"
|
||||
#include "util.h"
|
||||
|
||||
extern u8 unk_2000000[];
|
||||
|
||||
|
30
src/rom4.c
30
src/rom4.c
@ -1,36 +1,31 @@
|
||||
#include "field_specials.h"
|
||||
#include "fieldmap.h"
|
||||
#include "tv.h"
|
||||
#include "secret_base.h"
|
||||
#include "map_name_popup.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "fldeff_flash.h"
|
||||
#include "unknown_task.h"
|
||||
#include "cable_club.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_tasks.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "field_screen_effect.h"
|
||||
#include "time_events.h"
|
||||
#include "global.h"
|
||||
#include "rom4.h"
|
||||
#include "battle_setup.h"
|
||||
#include "berry.h"
|
||||
#include "cable_club.h"
|
||||
#include "clock.h"
|
||||
#include "event_data.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_control_avatar.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_ground_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_message_box.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "field_screen_effect.h"
|
||||
#include "field_special_scene.h"
|
||||
#include "field_specials.h"
|
||||
#include "field_tasks.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "fldeff_flash.h"
|
||||
#include "heal_location.h"
|
||||
#include "link.h"
|
||||
#include "load_save.h"
|
||||
#include "main.h"
|
||||
#include "map_name_popup.h"
|
||||
#include "menu.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "new_game.h"
|
||||
@ -38,14 +33,19 @@
|
||||
#include "play_time.h"
|
||||
#include "rng.h"
|
||||
#include "roamer.h"
|
||||
#include "rotating_gate.h"
|
||||
#include "safari_zone.h"
|
||||
#include "script.h"
|
||||
#include "script_pokemon_80C4.h"
|
||||
#include "secret_base.h"
|
||||
#include "songs.h"
|
||||
#include "sound.h"
|
||||
#include "start_menu.h"
|
||||
#include "task.h"
|
||||
#include "tileset_anim.h"
|
||||
#include "time_events.h"
|
||||
#include "tv.h"
|
||||
#include "unknown_task.h"
|
||||
#include "wild_encounter.h"
|
||||
|
||||
#ifdef SAPPHIRE
|
||||
|
@ -1,11 +1,11 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "item_use.h"
|
||||
#include "global.h"
|
||||
#include "rom6.h"
|
||||
#include "braille_puzzles.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "item_use.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "songs.h"
|
||||
|
@ -1,17 +1,17 @@
|
||||
#include "util.h"
|
||||
#include "battle_anim.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "global.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "battle.h"
|
||||
#include "battle_anim.h"
|
||||
#include "blend_palette.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon_icon.h"
|
||||
#include "species.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
#include "util.h"
|
||||
|
||||
#define GET_UNOWN_LETTER(personality) ((\
|
||||
(((personality & 0x03000000) >> 24) << 6) \
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "party_menu.h"
|
||||
#include "rom_8077ABC.h"
|
||||
#include "global.h"
|
||||
#include "rom_8094928.h"
|
||||
#include "party_menu.h"
|
||||
#include "rom_8077ABC.h"
|
||||
|
||||
#define UNK_201606C_ARRAY (unk_2000000 + 0x1606C) // lazy define but whatever.
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "field_fadetransition.h"
|
||||
#include "global.h"
|
||||
#include "safari_zone.h"
|
||||
#include "event_data.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "main.h"
|
||||
#include "rom4.h"
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "starter_choose.h"
|
||||
#include "global.h"
|
||||
#include "gba/flash_internal.h"
|
||||
#include "save_failed_screen.h"
|
||||
@ -8,6 +7,7 @@
|
||||
#include "palette.h"
|
||||
#include "save.h"
|
||||
#include "sprite.h"
|
||||
#include "starter_choose.h"
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "region_map.h"
|
||||
#include "global.h"
|
||||
#include "save_menu_util.h"
|
||||
#include "event_data.h"
|
||||
#include "menu.h"
|
||||
#include "pokedex.h"
|
||||
#include "region_map.h"
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
|
||||
|
28
src/scrcmd.c
28
src/scrcmd.c
@ -1,48 +1,48 @@
|
||||
#include "decoration_inventory.h"
|
||||
#include "field_screen_effect.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "script_movement.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "mystery_event_script.h"
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "fieldmap.h"
|
||||
#include "field_specials.h"
|
||||
#include "shop.h"
|
||||
#include "party_menu.h"
|
||||
#include "field_tasks.h"
|
||||
#include "tv.h"
|
||||
#include "slot_machine.h"
|
||||
#include "global.h"
|
||||
#include "battle_setup.h"
|
||||
#include "berry.h"
|
||||
#include "clock.h"
|
||||
#include "coins.h"
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "contest_painting.h"
|
||||
#include "data2.h"
|
||||
#include "decoration.h"
|
||||
#include "decoration_inventory.h"
|
||||
#include "event_data.h"
|
||||
#include "field_door.h"
|
||||
#include "field_effect.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_message_box.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_screen_effect.h"
|
||||
#include "field_specials.h"
|
||||
#include "field_tasks.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "item.h"
|
||||
#include "main.h"
|
||||
#include "map_obj_lock.h"
|
||||
#include "menu.h"
|
||||
#include "money.h"
|
||||
#include "mystery_event_script.h"
|
||||
#include "palette.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "script.h"
|
||||
#include "script_menu.h"
|
||||
#include "script_movement.h"
|
||||
#include "script_pokemon_80C4.h"
|
||||
#include "script_pokemon_80F9.h"
|
||||
#include "shop.h"
|
||||
#include "slot_machine.h"
|
||||
#include "sound.h"
|
||||
#include "string_util.h"
|
||||
#include "tv.h"
|
||||
|
||||
typedef u16 (*SpecialFunc)(void);
|
||||
typedef void (*NativeFunc)(void);
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "field_effect.h"
|
||||
#include "global.h"
|
||||
#include "script_menu.h"
|
||||
#include "event_data.h"
|
||||
#include "field_effect.h"
|
||||
#include "menu.h"
|
||||
#include "palette.h"
|
||||
#include "script.h"
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "field_map_obj.h"
|
||||
#include "util.h"
|
||||
#include "global.h"
|
||||
#include "script_movement.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "task.h"
|
||||
#include "util.h"
|
||||
|
||||
extern u8 *gUnknown_020384F8[];
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "daycare.h"
|
||||
#include "contest_painting.h"
|
||||
#include "debug.h"
|
||||
#include "choose_party.h"
|
||||
#include "global.h"
|
||||
#include "battle.h"
|
||||
#include "berry.h"
|
||||
#include "choose_party.h"
|
||||
#include "contest.h"
|
||||
#include "contest_link_80C2020.h"
|
||||
#include "contest_painting.h"
|
||||
#include "data2.h"
|
||||
#include "daycare.h"
|
||||
#include "debug.h"
|
||||
#include "decompress.h"
|
||||
#include "event_data.h"
|
||||
#include "items.h"
|
||||
|
@ -1,13 +1,13 @@
|
||||
#include "party_menu.h"
|
||||
#include "contest.h"
|
||||
#include "choose_party.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "global.h"
|
||||
#include "battle_party_menu.h"
|
||||
#include "choose_party.h"
|
||||
#include "contest.h"
|
||||
#include "data2.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "palette.h"
|
||||
#include "party_menu.h"
|
||||
#include "pokemon.h"
|
||||
#include "pokemon_summary_screen.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "script_pokemon_80F9.h"
|
||||
|
@ -1,25 +1,25 @@
|
||||
#include "fieldmap.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "main.h"
|
||||
#include "map_name_popup.h"
|
||||
#include "global.h"
|
||||
#include "secret_base.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "text.h"
|
||||
#include "decoration.h"
|
||||
#include "event_data.h"
|
||||
#include "vars.h"
|
||||
#include "field_camera.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "main.h"
|
||||
#include "map_constants.h"
|
||||
#include "map_name_popup.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "palette.h"
|
||||
#include "pokemon.h"
|
||||
#include "rom4.h"
|
||||
#include "script.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_camera.h"
|
||||
#include "map_constants.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "palette.h"
|
||||
#include "decoration.h"
|
||||
#include "field_weather.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "pokemon.h"
|
||||
#include "text.h"
|
||||
#include "vars.h"
|
||||
|
||||
extern u8 gUnknown_020387DC;
|
||||
extern u16 gSpecialVar_0x8004;
|
||||
|
10
src/shop.c
10
src/shop.c
@ -1,14 +1,12 @@
|
||||
#include "menu_helpers.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "item_menu.h"
|
||||
#include "tv.h"
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "shop.h"
|
||||
#include "decompress.h"
|
||||
#include "field_fadetransition.h"
|
||||
#include "field_weather.h"
|
||||
#include "item_menu.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
#include "menu_helpers.h"
|
||||
#include "money.h"
|
||||
#include "palette.h"
|
||||
#include "script.h"
|
||||
@ -16,6 +14,8 @@
|
||||
#include "sprite.h"
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "tv.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
struct UnknownShopStruct
|
||||
{
|
||||
|
@ -1,8 +1,8 @@
|
||||
#include "util.h"
|
||||
#include "global.h"
|
||||
#include "data2.h"
|
||||
#include "decompress.h"
|
||||
#include "sprite.h"
|
||||
#include "util.h"
|
||||
|
||||
|
||||
static void sub_8046388(struct Sprite *);
|
||||
|
@ -1,9 +1,9 @@
|
||||
#include "main.h"
|
||||
#include "global.h"
|
||||
#include "gba/m4a_internal.h"
|
||||
#include "sound.h"
|
||||
#include "battle.h"
|
||||
#include "m4a.h"
|
||||
#include "main.h"
|
||||
#include "songs.h"
|
||||
#include "task.h"
|
||||
|
||||
|
@ -1,14 +1,11 @@
|
||||
#include "item_menu.h"
|
||||
#include "pokenav.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "unknown_task.h"
|
||||
#include "fieldmap.h"
|
||||
#include "global.h"
|
||||
#include "start_menu.h"
|
||||
#include "event_data.h"
|
||||
#include "field_map_obj_helpers.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "field_weather.h"
|
||||
#include "fieldmap.h"
|
||||
#include "item_menu.h"
|
||||
#include "load_save.h"
|
||||
#include "main.h"
|
||||
#include "map_obj_lock.h"
|
||||
@ -16,6 +13,8 @@
|
||||
#include "option_menu.h"
|
||||
#include "palette.h"
|
||||
#include "pokedex.h"
|
||||
#include "pokemon_menu.h"
|
||||
#include "pokenav.h"
|
||||
#include "rom4.h"
|
||||
#include "safari_zone.h"
|
||||
#include "save.h"
|
||||
@ -29,6 +28,7 @@
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "trainer_card.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
//Menu actions
|
||||
enum {
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "starter_choose.h"
|
||||
#include "data2.h"
|
||||
@ -15,6 +14,7 @@
|
||||
#include "strings.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern u16 gScriptResult;
|
||||
extern struct SpriteTemplate gUnknown_02024E8C;
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "field_weather.h"
|
||||
#include "global.h"
|
||||
#include "time_events.h"
|
||||
#include "event_data.h"
|
||||
#include "field_weather.h"
|
||||
#include "pokemon.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
|
@ -1,5 +1,3 @@
|
||||
#include "unknown_task.h"
|
||||
#include "reset_rtc_screen.h"
|
||||
#include "global.h"
|
||||
#include "gba/m4a_internal.h"
|
||||
#include "title_screen.h"
|
||||
@ -11,9 +9,11 @@
|
||||
#include "main.h"
|
||||
#include "main_menu.h"
|
||||
#include "palette.h"
|
||||
#include "reset_rtc_screen.h"
|
||||
#include "sound.h"
|
||||
#include "sprite.h"
|
||||
#include "task.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern u8 gReservedSpritePaletteCount;
|
||||
extern struct MusicPlayerInfo gMPlay_BGM;
|
||||
|
@ -1,10 +1,8 @@
|
||||
#include "unknown_task.h"
|
||||
#include "easy_chat.h"
|
||||
#include "util.h"
|
||||
#include "field_effect.h"
|
||||
#include "global.h"
|
||||
#include "trainer_card.h"
|
||||
#include "easy_chat.h"
|
||||
#include "event_data.h"
|
||||
#include "field_effect.h"
|
||||
#include "link.h"
|
||||
#include "main.h"
|
||||
#include "menu.h"
|
||||
@ -19,6 +17,8 @@
|
||||
#include "string_util.h"
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "unknown_task.h"
|
||||
#include "util.h"
|
||||
|
||||
typedef void (*Callback)(void);
|
||||
|
||||
|
38
src/tv.c
38
src/tv.c
@ -1,29 +1,29 @@
|
||||
#include "battle_tower.h"
|
||||
#include "field_specials.h"
|
||||
#include "region_map.h"
|
||||
#include "script_menu.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "global.h"
|
||||
#include "tv.h"
|
||||
#include "battle_tower.h"
|
||||
#include "contest_painting.h"
|
||||
#include "data2.h"
|
||||
#include "event_data.h"
|
||||
#include "field_message_box.h"
|
||||
#include "flags.h"
|
||||
#include "rng.h"
|
||||
#include "string_util.h"
|
||||
#include "text.h"
|
||||
#include "species.h"
|
||||
#include "pokedex.h"
|
||||
#include "naming_screen.h"
|
||||
#include "rom4.h"
|
||||
#include "map_constants.h"
|
||||
#include "strings.h"
|
||||
#include "link.h"
|
||||
#include "easy_chat.h"
|
||||
#include "event_data.h"
|
||||
#include "field_map_obj.h"
|
||||
#include "field_message_box.h"
|
||||
#include "field_specials.h"
|
||||
#include "flags.h"
|
||||
#include "item.h"
|
||||
#include "items.h"
|
||||
#include "contest_painting.h"
|
||||
#include "link.h"
|
||||
#include "map_constants.h"
|
||||
#include "naming_screen.h"
|
||||
#include "pokedex.h"
|
||||
#include "region_map.h"
|
||||
#include "rng.h"
|
||||
#include "rom4.h"
|
||||
#include "rtc.h"
|
||||
#include "script_menu.h"
|
||||
#include "species.h"
|
||||
#include "string_util.h"
|
||||
#include "strings.h"
|
||||
#include "text.h"
|
||||
|
||||
struct UnkTvStruct
|
||||
{
|
||||
|
@ -1,4 +1,3 @@
|
||||
#include "unknown_task.h"
|
||||
#include "global.h"
|
||||
#include "wallclock.h"
|
||||
#include "decompress.h"
|
||||
@ -11,6 +10,7 @@
|
||||
#include "strings2.h"
|
||||
#include "task.h"
|
||||
#include "trig.h"
|
||||
#include "unknown_task.h"
|
||||
|
||||
extern u16 gSpecialVar_0x8004;
|
||||
extern u8 gMiscClock_Gfx[];
|
||||
|
@ -1,19 +1,19 @@
|
||||
#include "fieldmap.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "tv.h"
|
||||
#include "global.h"
|
||||
#include "wild_encounter.h"
|
||||
#include "abilities.h"
|
||||
#include "battle_setup.h"
|
||||
#include "event_data.h"
|
||||
#include "field_player_avatar.h"
|
||||
#include "fieldmap.h"
|
||||
#include "metatile_behavior.h"
|
||||
#include "pokeblock.h.h"
|
||||
#include "rng.h"
|
||||
#include "roamer.h"
|
||||
#include "rom4.h"
|
||||
#include "safari_zone.h"
|
||||
#include "script.h"
|
||||
#include "species.h"
|
||||
#include "tv.h"
|
||||
|
||||
struct WildPokemon
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user