IdaJS
    Preparing search index...

    Interface MoveOpcodes

    LBA2 Move script (coroutine) opcodes, available in IdaJS.

    ida.Move

    interface MoveOpcodes {
        $: EnumHandler;
        TM_ANGLE: 7;
        TM_ANGLE_RND: 34;
        TM_ANIM: 3;
        TM_BACKGROUND: 17;
        TM_BETA: 20;
        TM_BODY: 2;
        TM_CLOSE: 25;
        TM_DECALAGE: 50;
        TM_FACE_TWINSEN: 33;
        TM_FREQUENCE: 51;
        TM_GOTO_POINT: 4;
        TM_GOTO_POINT_3D: 15;
        TM_GOTO_POINT_BACK: 12;
        TM_NO_BODY: 19;
        TM_OPEN_EAST: 22;
        TM_OPEN_NORTH: 23;
        TM_OPEN_SOUTH: 24;
        TM_OPEN_WEST: 21;
        TM_PLAY_ACF: 30;
        TM_POS_POINT: 8;
        TM_REPEAT_SAMPLE: 31;
        TM_SAMPLE: 14;
        TM_SAMPLE_ALWAYS: 28;
        TM_SAMPLE_RND: 27;
        TM_SAMPLE_STOP: 29;
        TM_SET_END_3DS: 44;
        TM_SET_FRAME: 41;
        TM_SET_FRAME_3DS: 42;
        TM_SET_START_3DS: 43;
        TM_SIMPLE_SAMPLE: 32;
        TM_SPEED: 16;
        TM_SPRITE: 38;
        TM_START_ANIM_3DS: 45;
        TM_STOP_ANIM_3DS: 46;
        TM_VOLUME: 52;
        TM_WAIT_ANIM: 5;
        TM_WAIT_ANIM_3DS: 47;
        TM_WAIT_DOOR: 26;
        TM_WAIT_FRAME_3DS: 48;
        TM_WAIT_NB_ANIM: 13;
        TM_WAIT_NB_DIZIEME: 36;
        TM_WAIT_NB_DIZIEME_RND: 49;
        TM_WAIT_NB_SECOND: 18;
        TM_WAIT_NB_SECOND_RND: 39;
    }
    Index

    Properties

    Contains enum operations for this enum object

    TM_ANGLE: 7

    Actor rotates to the given angle and waits until the rotation completes.

    i16

    TM_ANGLE_RND: 34

    Actor rotates to a random angle and waits until the rotation completes.

    i16

    i16

    TM_ANIM: 3

    Sets this actor's current animation.

    u16

    TM_BACKGROUND: 17

    Enables or disables the "background" flag for this actor.

    u8

    TM_BETA: 20

    Rotates this actor instantly.

    i16

    TM_BODY: 2

    Sets this actor's model.

    u8

    TM_CLOSE: 25

    Restores door's original position.

    TM_DECALAGE: 50

    Sets the interval between sample repeats.

    i16

    TM_FACE_TWINSEN: 33

    Actor rotates to face Twinsen and waits until the rotation completes.

    i16

    TM_FREQUENCE: 51

    Sets the frequency for sample playback.

    i16

    TM_GOTO_POINT: 4

    Actor rotates to face the given point and waits until its animation takes it there.

    u8

    TM_GOTO_POINT_3D: 15

    Actor moves to the given point, if it's a 3D sprite.

    u8

    TM_GOTO_POINT_BACK: 12

    Actor rotates to face away from the given point and waits until its animation takes it to the given point.

    This is designed to be used with walk-backwards animations.

    u8

    TM_NO_BODY: 19

    Sets this actor to have no model.

    TM_OPEN_EAST: 22

    Door slides to the East (cpp name: TM_OPEN_RIGHT)

    i16

    TM_OPEN_NORTH: 23

    Door slides to the North (cpp name: TM_OPEN_UP)

    i16

    TM_OPEN_SOUTH: 24

    Door slides to the South (cpp name: TM_OPEN_DOWN)

    i16

    TM_OPEN_WEST: 21

    Door slides to the West (cpp name: TM_OPEN_LEFT)

    i16

    TM_PLAY_ACF: 30

    Plays a cutscene video.

    GameVideos to use the vanilla game videos.

    string

    TM_POS_POINT: 8

    Instantly teleports the actor to a point.

    u8

    TM_REPEAT_SAMPLE: 31

    Sets the number of repeats for SIMPLE_SAMPLE.

    i16

    TM_SAMPLE: 14

    Plays a sound sample.

    i16

    TM_SAMPLE_ALWAYS: 28

    Plays a sound sample forever.

    i16

    TM_SAMPLE_RND: 27

    Plays a sound sample with a random frequency adjustment.

    i16

    TM_SAMPLE_STOP: 29

    Stops a particular sound sample.

    i16

    TM_SET_END_3DS: 44

    Sets the end frame of the actor's 3D sprite animation.

    u8

    TM_SET_FRAME: 41

    Sets the actor's animation frame.

    u8

    TM_SET_FRAME_3DS: 42

    Sets the actor's 3D sprite animation frame.

    u8

    TM_SET_START_3DS: 43

    Sets the start frame of the actor's 3D sprite animation.

    u8

    TM_SIMPLE_SAMPLE: 32

    Plays a sample according to REPEAT_SAMPLE and resets the repeat count to 1.

    i16

    TM_SPEED: 16

    Sets the rotation speed of the actor.

    i16

    TM_SPRITE: 38

    Sets this actor's sprite.

    i16

    TM_START_ANIM_3DS: 45

    Starts the actor's 3D sprite animation.

    u8

    TM_STOP_ANIM_3DS: 46

    Stops the actor's 3D sprite animation.

    TM_VOLUME: 52

    Sets the volume for sample playback.

    u8

    TM_WAIT_ANIM: 5

    Waits for the current animation to end.

    TM_WAIT_ANIM_3DS: 47

    Waits until the actor's 3D sprite animation ends or is stopped.

    TM_WAIT_DOOR: 26

    Waits until door finishes moving.

    TM_WAIT_FRAME_3DS: 48

    Waits until the actor's 3D sprite animation reaches the given frame.

    u8

    TM_WAIT_NB_ANIM: 13

    Waits for the actor's animation to have played a number of times.

    u8

    u8

    TM_WAIT_NB_DIZIEME: 36

    Waits for a number of deciseconds (tenths of a second).

    u8

    u32

    TM_WAIT_NB_DIZIEME_RND: 49

    Waits for a random number of deciseconds, up to a maximum.

    u8

    u32

    TM_WAIT_NB_SECOND: 18

    Waits for the number of seconds.

    u8

    u32

    TM_WAIT_NB_SECOND_RND: 39

    Waits for a random number of seconds, up to a maximum.

    u8

    u32