Fixed sprite pair macros on GB compiler extra brackets not supported, need to make sure never use in if statement without brackets
#define DIV_2(a) ((a)>>1)
#define hide_sprite(a) (move_sprite((a), 0, 0))
-#define hide_sprite_pair(a) ({\
+#define hide_sprite_pair(a) \
move_sprite((a), 0, 0);\
- move_sprite((a)+1, 0, 0);\
-})
-#define set_sprite_tile_pair(a, t1, t2) ({\
+ move_sprite((a)+1, 0, 0)
+#define set_sprite_tile_pair(a, t1, t2) \
set_sprite_tile((a), (t1));\
- set_sprite_tile((a) + 1, (t2));\
-})
-#define set_sprite_prop_pair(a, prop) ({\
+ set_sprite_tile((a) + 1, (t2))
+#define set_sprite_prop_pair(a, prop) \
set_sprite_prop((a), (prop));\
- set_sprite_prop((a) + 1, (prop));\
-})
+ set_sprite_prop((a) + 1, (prop))
#endif
