ANM Standard Version 4

Table of Contents

Back Collapse entries

About

The ANM Version 4 combines instructions from v4 to v4.
The memonic map for this standard can be found here.
The json for this standard can be found here.

Script-controlling instructions

ins_3 (st_set_sprite)   v_4

Type Parameter
int param

Sets the sprite of the animation.

ins_48 (st_set_pos)   v_4

Type Parameter
float x
float y
float z

Sets the offset of the sprite from the center.

ins_49 (st_set_rot)   v_4

Type Parameter
float x
float y
float z

Sets the rotation of the sprite.

ins_50 (st_set_scale)   v_4

Type Parameter
float x
float y

Sets the scale of the sprite.

ins_51 (st_set_a)   v_4

Type Parameter
int param

Sets if the sprite should be additive or not (0 is not additive)

ins_52 (st_set_col)   v_4

Type Parameter
int r
int g
int b

Sets the color of the sprite.

ins_53 (st_set_rotadd)   v_4

Type Parameter
float x
float y
float z

Sets the rotation change of the sprite per frame.

ins_56 (st_chg_pos)   v_4

Type Parameter
int time
int type
float x
float y
float z

Changes the offset of the sprite from the center with an animation: Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_57 (st_chg_col)   v_4

Type Parameter
int time
int type
int r
int g
int b

Changes the color of the sprite with an animation. Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_58 (st_chg_a)   v_4

Type Parameter
int time
int type
int a

Changes the alpha of the sprite with an animation.
Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_59 (st_chg_rot)   v_4

Type Parameter
int time
int type
float x
int y
float z

Sets the rotation of the sprite.

ins_60 (st_chg_scale)   v_4

Type Parameter
int time
int type
float x
float y

Changes the scale of the sprite with an animation. Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_61 (st_set_flip)   v_4

Takes no parameters

Flips the sprite vertically

ins_65 (st_set_flags)   v_4

Type Parameter
int param

Set what point the sprite should center at. These are flags

Value Type
0x00000 Center the sprite in the middle (default)
0x00001 Center the sprite on the left
0x00002 Center the sprite on the right
0x10000 Center the sprite on the top
0x20000 Center the sprite on the bottom

ins_66 (st_set_additive)   v_4

Type Parameter
int param

Sets if the sprite should be additive or not (0 is not additive)

ins_68 (st_set_z)   v_4

Type Parameter
int param

Sets the layer of the animation

ins_70 (st_set_cu)   v_4

Type Parameter
float cu

Sets the horizontal mapping change of the texture.

ins_71 (st_set_cv)   v_4

Type Parameter
float cv

Sets the vertical mapping change of the texture.

ins_84 (st_set_circular)   v_4

Type Parameter
int circle_parts

Sets the sprite to bend in a circle.

Instruction List

Identified Instructions

ins_1 (kill_script)   v_4

Takes no parameters

Kills the script.

ins_3 (st_set_sprite)   v_4

Type Parameter
int param

Sets the sprite of the animation.

ins_4 (jump)   v_4

Type Parameter
int position
int new_time

Jumps to a position at a new time. Unlike ECL jumps, the position here is an absolute position from the beginning of the script.

ins_5 (jump_dec)   v_4

Type Parameter
int decvar
int position
int new_time

Jumps to a position at a new time while decrementing a value. Unlike ECL jumps, the position here is an absolute position from the beginning of the script.

ins_6 (var_sets)   v_4

Type Parameter
int goal
int m1

Store an int value in a variable.

ins_7 (var_setf)   v_4

Type Parameter
float goal
float m1

Store a float value in a variable.

ins_9 (var_addf)   v_4

Type Parameter
float goal
float m1

Adds two floats and store the result in the first.

ins_23 (var_mulf)   v_4

Type Parameter
float goal
float m1
float m2

Multiplies two floats and store the result.

ins_25 (var_divf)   v_4

Type Parameter
float goal
float m1
float m2

Divides two floats and store the result.

ins_42 (var_sinf)   v_4

Type Parameter
float goal
float m1

Calculates the sinus of a value and stores it in a variable.

ins_43 (var_cosf)   v_4

Type Parameter
float goal
float m1

Calculates the cosinus of a value and stores it in a variable.

ins_48 (st_set_pos)   v_4

Type Parameter
float x
float y
float z

Sets the offset of the sprite from the center.

ins_49 (st_set_rot)   v_4

Type Parameter
float x
float y
float z

Sets the rotation of the sprite.

ins_50 (st_set_scale)   v_4

Type Parameter
float x
float y

Sets the scale of the sprite.

ins_51 (st_set_a)   v_4

Type Parameter
int param

Sets if the sprite should be additive or not (0 is not additive)

ins_52 (st_set_col)   v_4

Type Parameter
int r
int g
int b

Sets the color of the sprite.

ins_53 (st_set_rotadd)   v_4

Type Parameter
float x
float y
float z

Sets the rotation change of the sprite per frame.

ins_56 (st_chg_pos)   v_4

Type Parameter
int time
int type
float x
float y
float z

Changes the offset of the sprite from the center with an animation: Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_57 (st_chg_col)   v_4

Type Parameter
int time
int type
int r
int g
int b

Changes the color of the sprite with an animation. Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_58 (st_chg_a)   v_4

Type Parameter
int time
int type
int a

Changes the alpha of the sprite with an animation.
Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_59 (st_chg_rot)   v_4

Type Parameter
int time
int type
float x
int y
float z

Sets the rotation of the sprite.

ins_60 (st_chg_scale)   v_4

Type Parameter
int time
int type
float x
float y

Changes the scale of the sprite with an animation. Movement types are:

Type Explanation
0 linear
1 Accelerated
4 Decellerated
9 Smoothstep

ins_61 (st_set_flip)   v_4

Takes no parameters

Flips the sprite vertically

ins_63 (instruction_63)   v_4

Takes no parameters

Comes before a label.
ANM Scripts with labels are designed to stop execution at this point and wait for an external goto.

ins_65 (st_set_flags)   v_4

Type Parameter
int param

Set what point the sprite should center at. These are flags

Value Type
0x00000 Center the sprite in the middle (default)
0x00001 Center the sprite on the left
0x00002 Center the sprite on the right
0x10000 Center the sprite on the top
0x20000 Center the sprite on the bottom

ins_66 (st_set_additive)   v_4

Type Parameter
int param

Sets if the sprite should be additive or not (0 is not additive)

ins_68 (st_set_z)   v_4

Type Parameter
int param

Sets the layer of the animation

ins_70 (st_set_cu)   v_4

Type Parameter
float cu

Sets the horizontal mapping change of the texture.

ins_71 (st_set_cv)   v_4

Type Parameter
float cv

Sets the vertical mapping change of the texture.

ins_75 (wait)   v_4

Type Parameter
int time

Waits for a specified time.

ins_81 (instruction_63)   v_4

Takes no parameters

Comes before a label.
ANM Scripts with labels are designed to stop execution at this point and wait for an external goto.

ins_84 (st_set_circular)   v_4

Type Parameter
int circle_parts

Sets the sprite to bend in a circle.

ins_88 (add_script_rel)   v_4

Type Parameter
int script_id

Creates a child from the N'th script of the file.

ins_90 (add_script)   v_4

Type Parameter
int script_id

Creates a child from the N'th script of the file.

ins_91 (add_script)   v_4

Type Parameter
int script_id

Creates a child from the N'th script of the file.

Unidentified Instructions

ins_0 (TBI)   v_4

Takes no parameters

Unidentified

ins_2 (TBI)   v_4

Takes no parameters

Unidentified

ins_8 (TBI)   v_4

Type Parameter
int arg0
int arg1

Unidentified

ins_11 (TBI)   v_4

Type Parameter
float arg0
float arg1

Unidentified

ins_13 (TBI)   v_4

Type Parameter
float arg0
float arg1

Unidentified

ins_18 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_19 (TBI)   v_4

Type Parameter
float arg0
float arg1
float arg2

Unidentified

ins_21 (TBI)   v_4

Type Parameter
float arg0
float arg1
float arg2

Unidentified

ins_22 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_24 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_26 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_27 (TBI)   v_4

Type Parameter
float arg0
float arg1
float arg2

Unidentified

ins_30 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2
int arg3

Unidentified

ins_40 (TBI)   v_4

Type Parameter
int arg0
int arg1

Unidentified

ins_64 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_67 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_69 (TBI)   v_4

Takes no parameters

Unidentified

ins_73 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_74 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_76 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_77 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_78 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2
int arg3
int arg4

Unidentified

ins_79 (TBI)   v_4

Type Parameter
int arg0
int arg1
int arg2

Unidentified

ins_80 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_82 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_83 (TBI)   v_4

Takes no parameters

Unidentified

ins_85 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_86 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_87 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_89 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_92 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_93 (TBI)   v_4

Type Parameter
int arg0
int arg1
float arg2

Unidentified

ins_94 (TBI)   v_4

Type Parameter
int arg0
int arg1
float arg2

Unidentified

ins_95 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_96 (TBI)   v_4

Type Parameter
int arg0
float arg1
float arg2

Unidentified

ins_100 (TBI)   v_4

Type Parameter
int arg0
float arg1
float arg2
float arg3
float arg4
float arg5
int arg6
float arg7
float arg8

Unidentified

ins_101 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_102 (TBI)   v_4

Type Parameter
int arg0
int arg1

Unidentified

ins_103 (TBI)   v_4

Type Parameter
float arg0
float arg1

Unidentified

ins_104 (TBI)   v_4

Type Parameter
float arg0
int arg1

Unidentified

ins_105 (TBI)   v_4

Type Parameter
float arg0
int arg1

Unidentified

ins_106 (TBI)   v_4

Type Parameter
float arg0
int arg1

Unidentified

ins_107 (TBI)   v_4

Type Parameter
int arg0
int arg1
float arg2
float arg3

Unidentified

ins_108 (TBI)   v_4

Type Parameter
float arg0
float arg1

Unidentified

ins_110 (TBI)   v_4

Type Parameter
float arg0
float arg1

Unidentified

ins_111 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_112 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_113 (TBI)   v_4

Type Parameter
int arg0
int arg1
float arg2

Unidentified

ins_114 (TBI)   v_4

Type Parameter
int arg0

Unidentified

ins_65535 (TBI)   v_4

Takes no parameters

Unidentified

Last Update: 2019-03-27 Mi 11:08

Validate