View Single Post
  #2    
Old May 26th, 2009 (11:54 PM).
HackMew's Avatar
HackMew HackMew is offline
Mewtwo Strikes Back
Crystal Tier
 
Join Date: Jun 2006
Posts: 1,314
It's nice to see somehow that's using custom headers, but you did a little mistake:

Code:
#define stop 0xfe
#defines must be unique. What do you think it would happen when you write something like:

Code:
#org @hey
= Hey! Stop! Where are you going?
In this case "Stop" would be replaced with 0xFE. Which is not what you wanted, obviously. So you better call it stop_movement or something similar. Tip: #defines should be all in caps. After all, they're not case sensitive.
__________________
Reply With Quote