diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2016-12-16 19:45:30 -0500 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-12-16 16:45:30 -0800 |
commit | c7fe3c43880f2099db3830c488de14dff0914f2e (patch) | |
tree | 11afa22fefd752bd567191766ffd8b2611412c4f /src/starter_choose.c | |
parent | 4967d2b5d66274a4740baf1f0bef9d134eced129 (diff) |
decompile save_failed_screen.c except for two functions (#130)
* begin decompiling save_failed_screen.c
* add revision differences for sub_8146E50
* decompile sub_8147048
* help
* get sub_8147324 to almost match except for a single instruction
* finish decompiling save_failed_screen.c except for two nonmatching functions
Diffstat (limited to 'src/starter_choose.c')
-rw-r--r-- | src/starter_choose.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/starter_choose.c b/src/starter_choose.c index 341f73e4c..2750705b8 100644 --- a/src/starter_choose.c +++ b/src/starter_choose.c @@ -20,12 +20,12 @@ struct MonCoords extern void * const gUnknown_081FAF4C[]; extern const u8 gStarterChoose_PokeballCoords[][2]; -extern u8 gUnknown_083F66F0[]; +extern u8 gBirchHelpGfx[]; extern u8 gBirchBagTilemap[]; extern u8 gBirchGrassTilemap[]; extern struct SpriteSheet gUnknown_083F7794; extern struct SpriteSheet gUnknown_083F77A4; -extern u8 gUnknown_083F62EC[]; +extern u8 gBirchBagGrassPal[]; extern const u8 gStarterChoose_LabelCoords[][2]; extern u16 gStarterMons[]; extern union AffineAnimCmd *gUnknown_083F778C[]; @@ -108,7 +108,7 @@ void CB2_ChooseStarter(void) DmaFill32(3, 0, OAM, OAM_SIZE); DmaFill16(3, 0, PLTT, PLTT_SIZE); - LZ77UnCompVram(&gUnknown_083F66F0, (void *)VRAM); + LZ77UnCompVram(&gBirchHelpGfx, (void *)VRAM); LZ77UnCompVram(&gBirchBagTilemap, (void *)(VRAM + 0x3000)); LZ77UnCompVram(&gBirchGrassTilemap, (void *)(VRAM + 0x3800)); remove_some_task(); @@ -116,7 +116,7 @@ void CB2_ChooseStarter(void) ResetSpriteData(); ResetPaletteFade(); FreeAllSpritePalettes(); - LoadPalette(gUnknown_083F62EC, 0, 0x40); + LoadPalette(gBirchBagGrassPal, 0, 0x40); LoadCompressedObjectPic(&gUnknown_083F7794); LoadCompressedObjectPic(&gUnknown_083F77A4); LoadSpritePalettes(gUnknown_083F77B4); |