pmd-red/src/code_8012A18.c
Kermalis d20e2522c2 Match funcs and create unused_vblank.c
Also cleaned more .h files
2023-08-06 03:10:51 -04:00

40 lines
915 B
C

#include "global.h"
#include "code_800558C.h"
#include "input.h"
#include "game_options.h"
#include "sprite.h"
extern void sub_8011860();
extern void xxx_draw_string_80144C4();
extern void nullsub_8(u8);
extern void sub_8005180();
extern void sub_800CB20();
extern void CopySpritesToOam();
extern void sub_8005304();
extern void TransferBGPaletteBuffer();
extern void xxx_call_update_bg_vram();
extern void sub_8009908();
extern void xxx_call_update_bg_sound_input();
extern struct GameOptions *gGameOptionsRef;
void sub_8012A18()
{
sub_8011860();
xxx_draw_string_80144C4();
nullsub_8(gGameOptionsRef->unkA);
sub_8005180();
sub_80060EC();
sub_800CB20();
LoadBufferedInputs(); // Input related
CopySpritesToOam();
sub_8005304();
TransferBGPaletteBuffer();
xxx_call_update_bg_vram();
sub_8009908();
xxx_call_update_bg_sound_input();
ResetSprites(FALSE);
}