Decompile liftGoToStop and discover lift_go_to_stop AI command

This commit is contained in:
Ryan Dwyer
2020-02-09 14:36:21 +10:00
parent b76d35c1b3
commit 4c883f8aaa
7 changed files with 67 additions and 189 deletions
+7 -2
View File
@@ -3150,10 +3150,15 @@
lift, \
label,
#define cmd0189(lift, u1) \
/**
* Makes the lift go to the given stop number.
*
* Lifts only support up to 4 stops, so stopnum must be 0-3.
*/
#define lift_go_to_stop(lift, stopnum) \
mkshort(0x0189), \
lift, \
u1,
stopnum,
/**
* Checks if the lift is stopped at the given stop number.