Skip to content

editor_type

Prototypeint editor_type(int editor_sprite, int type)

editor_type() sets the editor type value for the given editor_sprite. This value determines if the given sprite will be visible when the screen is next drawn, according to the following table.

TypeDescription
0Normal sprite, drawn on screen.
1Kill sprite completely.
2Draw editor_seq()/editor_frame() as a sprite without hardness.
3Draw editor_seq()/editor_frame() as a background sprite without hardness.
4Draw editor_seq()/editor_frame() as a sprite with hardness.
5Draw editor_seq()/editor_frame() as a background sprite with hardness.
6Sprite will return after 5 minutes.
7Sprite will return after 3 minutes.
8Sprite will return after 1 minute.