Optimizing
This commit is contained in:
@@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include "main.h"
|
||||
#include "SM.h"
|
||||
|
||||
void main() {
|
||||
int16_t j;
|
||||
@@ -37,19 +36,12 @@ void main() {
|
||||
SCX_REG = 0x00;
|
||||
SCY_REG = 0x00;
|
||||
|
||||
|
||||
set_bkg_data(SM_DATA_POSITION, SM_IMAGE_TILES, SM_IMAGE);
|
||||
uint8_t sm[SM_IMAGE_TILES];
|
||||
for(j = 0; j < SM_IMAGE_TILES; j++) sm[j] = j + SM_DATA_POSITION;
|
||||
set_bkg_tiles(0x00, 0x00, SM_IMAGE_COLUMNS, SM_IMAGE_ROWS, sm);
|
||||
|
||||
// Now turn the screen on
|
||||
DISPLAY_ON;
|
||||
enable_interrupts();
|
||||
wait_vbl_done();
|
||||
|
||||
// Alright begin the game logic here.
|
||||
BGB_MESSAGE("Begin.");
|
||||
conversationQueueNext();
|
||||
|
||||
// Begin the loop
|
||||
|
Reference in New Issue
Block a user