diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-10-15 21:05:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-15 21:05:56 -0400 |
commit | a41ec7d40119dadab49e5974cb57baefe0f32ab1 (patch) | |
tree | cb544cfeed31a05e2ac52a06888f765cc9fbf706 /src/oak_speech.c | |
parent | efa8b91699400977f4ab1f2412a4747be3965420 (diff) | |
parent | 276f82c76b7938ff3c4f5481dfc7475f001044e3 (diff) |
Merge pull request #122 from ultima-soul/data_dump
Port/dump some data and convert to C
Diffstat (limited to 'src/oak_speech.c')
-rw-r--r-- | src/oak_speech.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/oak_speech.c b/src/oak_speech.c index d3b8b8ff0..c39ff262e 100644 --- a/src/oak_speech.c +++ b/src/oak_speech.c @@ -24,6 +24,7 @@ #include "math_util.h" #include "overworld.h" #include "random.h" +#include "data.h" #include "oak_speech.h" #include "constants/species.h" #include "constants/songs.h" @@ -110,9 +111,6 @@ extern const u8 gText_ABUTTONNext_BBUTTONBack[]; extern const u8 gText_Boy[]; extern const u8 gText_Girl[]; -extern const struct CompressedSpriteSheet gUnknown_8235194[]; -extern const struct CompressedSpritePalette gUnknown_82373F4; - ALIGNED(4) static const u16 sHelpDocsPalette[] = INCBIN_U16("data/oak_speech/help_docs_palette.gbapal"); static const u32 sOakSpeechGfx_GameStartHelpUI[] = INCBIN_U32("data/oak_speech/oak_speech_gfx_game_start_help_u_i.4bpp.lz"); static const u32 sNewGameAdventureIntroTilemap[] = INCBIN_U32("data/oak_speech/new_game_adventure_intro_tilemap.bin.lz"); @@ -1612,8 +1610,8 @@ static void CreateNidoranFSprite(u8 taskId) { u8 spriteId; - DecompressPicFromTable(gUnknown_8235194, OakSpeechNidoranFGetBuffer(0), SPECIES_NIDORAN_F); - LoadCompressedSpritePaletteUsingHeap(&gUnknown_82373F4); + DecompressPicFromTable(&gMonFrontPicTable[SPECIES_NIDORAN_F], OakSpeechNidoranFGetBuffer(0), SPECIES_NIDORAN_F); + LoadCompressedSpritePaletteUsingHeap(&gMonPaletteTable[SPECIES_NIDORAN_F]); SetMultiuseSpriteTemplateToPokemon(SPECIES_NIDORAN_F, 0); spriteId = CreateSprite(&gMultiuseSpriteTemplate, 0x60, 0x60, 1); gSprites[spriteId].callback = SpriteCallbackDummy; |