Skip to content

Commit

Permalink
Move gTradePlatform_Tilemap to header and change to u32
Browse files Browse the repository at this point in the history
  • Loading branch information
DizzyEggg committed Jan 10, 2025
1 parent 1c765d1 commit a92d54b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions include/trade.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
extern struct Mail gTradeMail[PARTY_SIZE];
extern u8 gSelectedTradeMonPositions[2];

extern const u32 gTradePlatform_Tilemap[];
extern const struct WindowTemplate gTradeEvolutionSceneYesNoWindowTemplate;

s32 GetGameProgressForLinkTrade(void);
Expand Down
2 changes: 1 addition & 1 deletion src/data/trade.h
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ static const u8 sLinkMonGlow_Gfx[] = INCBIN_U8("graphics/trade/link_mon_glow.4bp
static const u8 sLinkMonShadow_Gfx[] = INCBIN_U8("graphics/trade/link_mon_shadow.4bpp");
static const u8 sCableEnd_Gfx[] = INCBIN_U8("graphics/trade/cable_end.4bpp");
static const u8 sGbaScreen_Gfx[] = INCBIN_U8("graphics/trade/gba_screen.4bpp");
const u16 gTradePlatform_Tilemap[] = INCBIN_U16("graphics/trade/platform.bin");
const u32 gTradePlatform_Tilemap[] = INCBIN_U32("graphics/trade/platform.bin");
static const u8 sGbaAffine_Gfx[] = INCBIN_U8("graphics/trade/gba_affine.8bpp"); // Only the gfx for when the GBA is zooming in/out
static const u8 sEmptyGfx[64] = {};
static const u8 sGbaAffineMapCable[] = INCBIN_U8("graphics/trade/gba_affine_map_cable.bin");
Expand Down
2 changes: 1 addition & 1 deletion src/egg_hatch.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include "naming_screen.h"
#include "pokemon_storage_system.h"
#include "field_screen_effect.h"
#include "trade.h"
#include "data.h"
#include "battle.h" // to get rid of later
#include "constants/rgb.h"
Expand Down Expand Up @@ -62,7 +63,6 @@ struct EggHatchData
u8 textColor[3];
};

extern const u32 gTradePlatform_Tilemap[];
extern const u8 gText_HatchedFromEgg[];
extern const u8 gText_NicknameHatchPrompt[];

Expand Down

0 comments on commit a92d54b

Please sign in to comment.