Move pokemon and easy chat constants to global, misc clean-up
This commit is contained in:
@@ -23,9 +23,7 @@
|
||||
#include "task.h"
|
||||
#include "text.h"
|
||||
#include "constants/battle_frontier.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/items.h"
|
||||
#include "constants/pokemon.h"
|
||||
#include "constants/songs.h"
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/moves.h"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
#include "global.h"
|
||||
#include "bard_music.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "easy_chat.h"
|
||||
|
||||
#include "data/bard_music/bard_sounds.h"
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "graphics.h"
|
||||
#include "sprite.h"
|
||||
#include "util.h"
|
||||
#include "constants/pokemon.h"
|
||||
#include "constants/battle_palace.h"
|
||||
|
||||
static void SmokescreenImpact_Callback(struct Sprite *);
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
#include "constants/battle_dome.h"
|
||||
#include "constants/frontier_util.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/pokemon.h"
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/abilities.h"
|
||||
#include "constants/songs.h"
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
#include "constants/battle_frontier.h"
|
||||
#include "constants/frontier_util.h"
|
||||
#include "constants/abilities.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/layouts.h"
|
||||
#include "constants/rgb.h"
|
||||
#include "constants/trainers.h"
|
||||
|
||||
@@ -35,7 +35,6 @@
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/event_objects.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/easy_chat.h"
|
||||
|
||||
extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_MaxieTrainer[];
|
||||
extern const u8 MossdeepCity_SpaceCenter_2F_EventScript_TabithaTrainer[];
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
#include "easy_chat.h"
|
||||
#include "constants/easy_chat.h"
|
||||
|
||||
#define DOUBLE_SPECIES_NAME EC_EMPTY_WORD, 2,
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/event_objects.h"
|
||||
#include "constants/items.h"
|
||||
#include "constants/moves.h"
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include "text.h"
|
||||
#include "tv.h"
|
||||
#include "string_util.h"
|
||||
#include "constants/easy_chat.h"
|
||||
|
||||
/*
|
||||
## Overview ##
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include "task.h"
|
||||
#include "text_window.h"
|
||||
#include "window.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/event_objects.h"
|
||||
#include "constants/lilycove_lady.h"
|
||||
#include "constants/mauville_old_man.h"
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "task.h"
|
||||
#include "util.h"
|
||||
#include "trainer_hill.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/items.h"
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "pokemon_icon.h"
|
||||
#include "text.h"
|
||||
#include "international_string_util.h"
|
||||
#include "constants/easy_chat.h"
|
||||
|
||||
#define UNOWN_OFFSET 30000
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#include "global.h"
|
||||
#include "main.h"
|
||||
#include "constants/songs.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/event_objects.h"
|
||||
#include "mauville_old_man.h"
|
||||
#include "event_data.h"
|
||||
|
||||
@@ -65,7 +65,6 @@
|
||||
#include "window.h"
|
||||
#include "constants/battle.h"
|
||||
#include "constants/battle_frontier.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/field_effects.h"
|
||||
#include "constants/item_effects.h"
|
||||
#include "constants/items.h"
|
||||
|
||||
@@ -428,7 +428,7 @@ static u8 CopySectorSecurityByte(u16 sectorId, const struct SaveSectorLocation *
|
||||
}
|
||||
else
|
||||
{
|
||||
// Succeded
|
||||
// Succeeded
|
||||
SetDamagedSectorBits(DISABLE, sector);
|
||||
return SAVE_STATUS_OK;
|
||||
}
|
||||
@@ -734,7 +734,7 @@ u8 HandleSavingData(u8 saveType)
|
||||
WriteSaveSectorOrSlot(FULL_SAVE_SLOT, gRamSaveSectorLocations);
|
||||
break;
|
||||
case SAVE_LINK:
|
||||
case SAVE_LINK2:
|
||||
case SAVE_EREADER: // Dummied, now duplicate of SAVE_LINK
|
||||
// Used by link / Battle Frontier
|
||||
// Write only SaveBlocks 1 and 2 (skips the PC)
|
||||
CopyPartyAndObjectsToSave();
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include "util.h"
|
||||
#include "window.h"
|
||||
#include "constants/contest.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/items.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/region_map_sections.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "constants/layouts.h"
|
||||
#include "constants/moves.h"
|
||||
#include "constants/trainers.h"
|
||||
#include "constants/easy_chat.h"
|
||||
#include "constants/trainer_hill.h"
|
||||
#include "constants/trainer_types.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user