
Labyrinth of the Minotaur A simple roguelike/RPG using a nokia 5110 screen
Dependencies: N5110 PowerControl mbed
Diff: Game.cpp
- Revision:
- 30:4a03611a3d99
- Parent:
- 29:89bc8c8aa8ac
- Child:
- 31:5b4a4d225ab4
--- a/Game.cpp Fri May 08 22:45:25 2015 +0000 +++ b/Game.cpp Sat May 09 11:46:32 2015 +0000 @@ -139,7 +139,7 @@ level = 0; //Player Health - ph = 15; + ph = PH_MAX; //Player weapon pw = 0; //0 to 4 @@ -397,8 +397,8 @@ int mr = level + 1; - if (mr > 4) { - mr = 4; + if (mr > 5) { + mr = 5; } lcd.printString("FIGHT!", 24, 2);