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
Diff: Characters/Squirtle.cpp
- Revision:
- 12:71683453f66a
- Parent:
- 11:5a6b9dffd78a
- Child:
- 22:f8f36e88b2ca
diff -r 5a6b9dffd78a -r 71683453f66a Characters/Squirtle.cpp --- a/Characters/Squirtle.cpp Sun Apr 14 15:56:58 2019 +0000 +++ b/Characters/Squirtle.cpp Mon Apr 15 01:38:53 2019 +0000 @@ -233,7 +233,7 @@ {0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,1,0,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,1,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0}, }; - lcd.drawSprite(34, 8, 38, 41, (int *)evo_1_sprite_data); + lcd.drawSprite(23, 9, 38, 41, (int *)evo_1_sprite_data); } void Squirtle::evo_2_sprite(N5110 &lcd) @@ -287,7 +287,7 @@ {0,0,0,0,0,1,1,0,0,0,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,1,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,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}, }; - lcd.drawSprite(37, 2, 47, 45, (int *)evo_2_sprite_data); + lcd.drawSprite(20, 2, 47, 45, (int *)evo_2_sprite_data); } void Squirtle::evo_3_sprite(N5110 &lcd, int x, int y)