Fix arguments for if_chr_same_floor_distance_to_pad_lt

This commit is contained in:
Ryan Dwyer
2023-07-21 00:03:01 +10:00
parent cef885db72
commit aeca25d984
2 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -4334,11 +4334,11 @@
* Gets the distance from chr to pad, but only if they are on the same floor
* (ie. Y difference is less than 150).
*/
#define if_chr_same_floor_distance_to_pad_lt(chr, pad, distance, label) \
#define if_chr_same_floor_distance_to_pad_lt(chr, distance, pad, label) \
mkshort(0x01df), \
chr, \
mkshort(pad), \
mkshort(distance / 10), \
mkshort(pad), \
label,
/**