Skip to content

Commit

Permalink
Remove ct, replace Flip token with Gravity token
Browse files Browse the repository at this point in the history
  • Loading branch information
AllyTally committed Jan 18, 2023
1 parent a72d43c commit 631c969
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions desktop_version/src/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -700,9 +700,8 @@ void editorrender(void)
graphics.Print((customentities[i].x*8)- (ed.levx*40*8),(customentities[i].y*8)- (ed.levy*30*8), "////", 255 - help.glow, 255 - help.glow, 255 - help.glow, false);
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 5: // Flip Token
graphics.setcol(customentities[i].p2);
graphics.drawsprite((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 68 + customentities[i].p1, graphics.ct.colour);
case 5: //Gravity Token
graphics.drawsprite((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 68 + customentities[i].p1, graphics.getcol(customentities[i].p2));
fillboxabs((customentities[i].x * 8) - (ed.levx * 40 * 8), (customentities[i].y * 8) - (ed.levy * 30 * 8), 16, 16, graphics.getRGB(255, 164, 164));
break;
case 9: //Shiny Trinket
Expand Down
2 changes: 1 addition & 1 deletion desktop_version/src/Logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ void gamelogic(void)
}
else if (obj.entities[i].type == 4 && obj.entities[i].state == 2)
{
// Flip token: Give a signal to respawn
// Gravity token: Give a signal to respawn
obj.entities[i].state = 3;
}
else if (obj.entities[i].type == 23 && game.swnmode && game.deathseq<15)
Expand Down
2 changes: 1 addition & 1 deletion desktop_version/src/Map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@ void mapclass::loadlevel(int rx, int ry)
case 3: // Disappearing platforms
obj.createentity(ex, ey, 3);
break;
case 5: // Flip tokens
case 5: // Gravity tokens
obj.createentity(ex, ey, 5, ent.p1, ent.p2, ent.p3, ent.p4);
break;
case 9: // Trinkets
Expand Down

0 comments on commit 631c969

Please sign in to comment.