03-19-2012, 06:24 PM
|
penguin.
|
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
|
|
Quote:
Originally Posted by Mark Sir Link
you should
A.) check the player has enough bombs before placing it
B.) reference the object to whose x/y you're referring (player.x, player.y);
C.) add else statements between each if so 4 evals aren't made every time.
|
D.) player.bombs -= 1;
You may or may --^
not be able to see the bold here. |
__________________
Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
|
|
|