Skip to content

Commit

Permalink
WEATHER IS FINALLY HAPPENING
Browse files Browse the repository at this point in the history
  • Loading branch information
BirdMachine committed Jun 25, 2017
1 parent 401c07b commit 4e31386
Show file tree
Hide file tree
Showing 10 changed files with 19,704 additions and 11,741 deletions.
16 changes: 14 additions & 2 deletions main.c
Expand Up @@ -4,6 +4,7 @@
#include "blankScreen.c"
#include "corvid.c"
#include "menu.c"
#include "weather.c"

void init();
void checkInput();
Expand Down Expand Up @@ -48,12 +49,23 @@ void menu() {
set_bkg_tiles(0,0,20,18,birdWelcomeSM_map_data);
}

void weather() {
set_bkg_data(0,255,sun2_tile_data);
set_bkg_tiles(0,0,20,18,sun2_map_data);
if (joypad() & J_B) {
menu();
}
}


void checkInput() {

if (joypad() & J_A) {

menu();

}

if (joypad() & J_LEFT) {
weather();
}

}
Expand Down
Binary file modified main.gb
Binary file not shown.

0 comments on commit 4e31386

Please sign in to comment.