diff --git a/gba/logosplash/data/s_piece.bin b/gba/logosplash/data/s_piece.bin index 6d1d5f4..787ab67 100644 Binary files a/gba/logosplash/data/s_piece.bin and b/gba/logosplash/data/s_piece.bin differ diff --git a/gba/logosplash/data/s_piece_orig.pcx b/gba/logosplash/data/s_piece_orig.pcx index 0cec504..1bec3b4 100644 Binary files a/gba/logosplash/data/s_piece_orig.pcx and b/gba/logosplash/data/s_piece_orig.pcx differ diff --git a/gba/logosplash/src/logosplash.c b/gba/logosplash/src/logosplash.c index cf357c6..8a9ff94 100644 --- a/gba/logosplash/src/logosplash.c +++ b/gba/logosplash/src/logosplash.c @@ -36,6 +36,15 @@ void VblankInterrupt() ScanKeys(); } +void move_show_and_wait(u16 x, u16 y, u16 wait_ticks) { + // assume we are in vblank + sprite.attr1 = OBJ_X(x); + sprite.attr0 = OBJ_256_COLOR | OBJ_Y(y); + CpuFastSet(&sprite, OAM, COPY32 | sizeof(sprite)/4); + u16 i; + for (i=0; i