Skip to content

Commit

Permalink
Strip out ct for coins
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyTally committed Jan 18, 2023
1 parent 7013310 commit 74fb74c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
3 changes: 1 addition & 2 deletions desktop_version/src/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -701,8 +701,7 @@ void editorrender(void)
fillboxabs((customentities[i].x*8)- (ed.levx*40*8),(customentities[i].y*8)- (ed.levy*30*8),32,8,graphics.getRGB(255,255,255));
break;
case 8: // Coin
graphics.huetilesetcol(8);
graphics.drawhuetile((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 48);
graphics.drawhuetile((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 48, graphics.huetilegetcol(8));
fillboxabs((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 8, 8, graphics.getRGB(255, 164, 164));
break;
case 9: //Shiny Trinket
Expand Down
12 changes: 5 additions & 7 deletions desktop_version/src/Render.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1955,15 +1955,13 @@ void gamerender(void)
graphics.bprint(304 - coinstring.length() * 8, 231, coinstring, color, color, 196);

if (!graphics.notextoutline) {
graphics.setcolreal(graphics.getRGB(0, 0, 0));
graphics.drawhuetile(310, 230, 48);
graphics.drawhuetile(312, 230, 48);
graphics.drawhuetile(311, 229, 48);
graphics.drawhuetile(311, 231, 48);
graphics.drawhuetile(310, 230, 48, graphics.getRGB(0, 0, 0));
graphics.drawhuetile(312, 230, 48, graphics.getRGB(0, 0, 0));
graphics.drawhuetile(311, 229, 48, graphics.getRGB(0, 0, 0));
graphics.drawhuetile(311, 231, 48, graphics.getRGB(0, 0, 0));
}

graphics.setcolreal(graphics.getRGB(color, color, 196));
graphics.drawhuetile(311, 230, 48);
graphics.drawhuetile(311, 230, 48, graphics.getRGB(color, color, 196));
}

if (map.roomtexton)
Expand Down

0 comments on commit 74fb74c

Please sign in to comment.