Prev: 38056 Up: Map Next: 38180
38151: Update Type 14 Object
The code for objects of type 20, 22, 23, 24 and 26, which is run by RunObjectHandler.
Input
IX Address of the object
UpdateType14 38151 CALL ExplodeHitObject Explode the object if it has been hit.
38154 JR NZ,UpdateType14_Step Jump to UpdateType14_Step if it was.
38156 CALL RunObjectBehaviour Run the behaviour code for the object.
38159 CALL AccelerateObject Move the object.
This entry point is used by the routine at UpdateType15.
UpdateType14_Step 38162 CALL StepObjectState Step the state of the object.
38165 LD BC,8994 BC=8994.
This entry point is used by the routines at UpdateType13 and UpdateType19.
UpdateType14_Move 38168 CALL MoveObjectBackAndForth Move the object back and forth.
This entry point is used by the routines at UpdateType1C and UpdateType1D.
UpdateType14_Flags 38171 CALL ProcessObjectFlags Process the flags of the object.
This entry point is used by the routines at UpdateType1E and UpdateType15.
UpdateType14_Draw 38174 CALL DrawObject Call DrawObject.
38177 JP SetObjectAttributes Jump to SetObjectAttributes.
Prev: 38056 Up: Map Next: 38180