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:
12:71683453f66a
Parent:
11:5a6b9dffd78a
Child:
13:02002658e718
--- a/main.cpp	Sun Apr 14 15:56:58 2019 +0000
+++ b/main.cpp	Mon Apr 15 01:38:53 2019 +0000
@@ -207,7 +207,7 @@
                                 passed();
                                 music.win(pad);
                                 wait(0.5);
-                                year = year + 2;
+                                year++;
                                 if(year == 1){currentGame = YEAR_2;}
                                 else if(year == 2){currentGame = YEAR_3;}
                                 else if(year == 3){currentGame = GRADUATION;}
@@ -333,7 +333,7 @@
     pad.init();
     // change set contrast in range 0.0 to 1.0
     // 0.4 appears to be a good starting point
-    lcd.setContrast(0.45);
+    lcd.setContrast(0.5);
 }
 
 // simple splash screen displayed on start-up