fixed guns counting as 10 capacity instead of 5
This commit is contained in:
parent
b36a4af4ef
commit
b9bba1447f
BIN
res/candywar.png
BIN
res/candywar.png
Binary file not shown.
Before Width: | Height: | Size: 744 B After Width: | Height: | Size: 950 B |
|
@ -151,8 +151,8 @@ void loop() {
|
||||||
Sprites::drawOverwrite(98, 0, spriteWeed, 0);
|
Sprites::drawOverwrite(98, 0, spriteWeed, 0);
|
||||||
arduboy.setCursor(42, 15);
|
arduboy.setCursor(42, 15);
|
||||||
arduboy.print(F("Slangin'"));
|
arduboy.print(F("Slangin'"));
|
||||||
font3x5.setCursor(113, 58);
|
font3x5.setCursor(103, 58);
|
||||||
font3x5.print(F("v1.0"));
|
font3x5.print(F("v1.0.1"));
|
||||||
menu[0] = F("Hit the Streets!!");
|
menu[0] = F("Hit the Streets!!");
|
||||||
menuLength = 1;
|
menuLength = 1;
|
||||||
menuSmall = false;
|
menuSmall = false;
|
||||||
|
|
|
@ -429,7 +429,7 @@ int playerCapacityRemaining() {
|
||||||
for (int i = 0; i < 6; i++) {
|
for (int i = 0; i < 6; i++) {
|
||||||
qty += pInventory[i];
|
qty += pInventory[i];
|
||||||
}
|
}
|
||||||
qty += pGuns * 5;
|
//qty += pGuns * 5; // already accounted for
|
||||||
return pCapacity - qty;
|
return pCapacity - qty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue