Skip to content

Commit

Permalink
Add another solution to levelName.md (#501)
Browse files Browse the repository at this point in the history
Because the only listed solution to a level being tampering of the sort that would have been prohibited before the super menu was unlocked gives the impression that the level is impossible without cheating.

(I wonder whether I should enable tamper checking in bonus levels, then, given that I suspect @kedilayanaveen10 didn't realize this)
  • Loading branch information
pppery authored Apr 10, 2023
1 parent e87ffaf commit 15aee1d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions solutions/bonus/levelName.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,10 @@ Replace the setColor() function of the player and then the door won't be able to
```javascript
map.getPlayer().setColor = function(){}
```
## Pppery: ... or you can but I can change it back:
```
map.overrideKey("down",function() {
map.getPlayer().move("down");
map.getPlayer().setColor("#0f0");
});
```

0 comments on commit 15aee1d

Please sign in to comment.