beginning work on potions

This commit is contained in:
ElijahZAwesome 2018-01-21 23:57:22 -06:00
parent bc5540a793
commit 88996ed3b3
6 changed files with 28 additions and 2 deletions

View file

@ -203,7 +203,7 @@ int main() {
cfguInit();
CFGU_GetSystemModel(&MODEL_3DS);
FILE * file;
shouldRenderDebug = true;
shouldRenderDebug = false;
if ((file = fopen("settings.bin", "r"))) {
fread(&shouldRenderDebug,sizeof(bool),1,file);
fread(&shouldSpeedup,sizeof(bool),1,file);
@ -322,7 +322,7 @@ int main() {
offsetY = 0;
if(shouldRenderDebug){
sprintf(fpsstr, " FPS: %.0f, X:%d, Y:%d, E:%d", sf2d_get_fps(), player.x, player.y, eManager.lastSlot[currentLevel]);
sprintf(fpsstr, "FPS: %.0f X:%d Y:%d E:%d %d", sf2d_get_fps(), player.x, player.y, eManager.lastSlot[currentLevel], player.p.strengthTimer);
drawText(fpsstr, 2, 225);
}