Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.

Dependencies:   mbed FXOS8700CQ mbed-rtos

Revision:
6:9104692d6c8c
Parent:
5:bc0691d02fd5
diff -r bc0691d02fd5 -r 9104692d6c8c main.cpp
--- a/main.cpp	Mon Apr 08 00:41:25 2019 +0000
+++ b/main.cpp	Wed Apr 10 17:52:45 2019 +0000
@@ -157,6 +157,7 @@
                                 currentGame = CHARMANDER;}
                         break;
                         case BULBASAUR:
+                            score = 3;
                             currentGame = EXAM;
                         break;
                         case SQUIRTLE:
@@ -375,7 +376,6 @@
             0,0,1,1,1,1,0,1,1,1,1,0,1,1,1,1,1,1,0,0,1,1,1,1,0,1,1,1,1,1,1,1,1,1,1,1,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,0,1,1,1,1,0,0,0,
             0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
         };
-
         lcd.drawSprite(10, 3, 35, 65, title_data);
   
         static int start_data[] = {
@@ -389,7 +389,6 @@
         lcd.drawSprite(22, 41, 5, 41, start_data);
         lcd.refresh();
         music.title_music(pad);
-
 }
 
 int menu()