Research & DevelopmentGot a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!
I haven't seen this anywhere, so I thought I'd post my own here. Basically, it is a #define list to make using movements easier. I started out using PKSV and then moved to XSE, which I like better, but I miss the easy movements that PKSV allowed me to do. But luckily, HackMew has made some XSE commands that make adding user-friendliness and readability very easy.
It's nice to see somehow that's using custom headers, but you did a little mistake:
#define stop 0xfe
#defines must be unique. What do you think it would happen when you write something like:
= 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.
I quickly went through the list of defines posted by OP and changed it all to caps, and changed stop to STOP_MOVEMENT as was recommended a while ago by hackmew. Copy the list into a .rbh file to use with XSE.