> For the complete documentation index, see [llms.txt](https://fehdead.gitbook.io/npc-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fehdead.gitbook.io/npc-kit/vm-reference/calls.md).

# The calls

The 270 VM calls documented for NPC Kit, each with its own page. NPC Kit has more (`npc.<name>` for most of the game's VM calls), but one not listed here has no reference: what it does on a kit NPC is a guess until it is tested. **Search this file, don't read it whole**: `grep -n "| \[name\]" calls.md`.

* **kit**: whether `npc.<name>` exists.
* **from a kit NPC**: what the call did when a kit NPC ran it.
* **vanilla**: how many times the game's own 1114 scripts call it. 0 means no vanilla script uses it: prefer calls vanilla uses.

## Contents

* [basic calls](#basic-calls)
* [menu calls](#menu-calls)
* [Calls to avoid](#calls-to-avoid)

## basic calls

| call                                                                                                                                    | id       | args | kit | from a kit NPC | vanilla |
| --------------------------------------------------------------------------------------------------------------------------------------- | -------- | ---- | --- | -------------- | ------- |
| [wait](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/wait.md)                                                                   | `0x0000` | 1    | yes | returns        | 83795   |
| [setpos](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setpos.md)                                                               | `0x0001` | 3    | yes | returns        | 12698   |
| [sin](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/sin.md)                                                                     | `0x0009` | 1    | yes | returns        | 1315    |
| [cos](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/cos.md)                                                                     | `0x000A` | 1    | yes | returns        | 1279    |
| [ucon](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ucon.md)                                                                   | `0x000D` | 0    | yes | returns        | 8131    |
| [ucoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ucoff.md)                                                                 | `0x000E` | 0    | yes | returns        | 8002    |
| [ames](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ames.md)                                                                   | `0x000F` | 5    | yes | returns        | 2024    |
| [aask](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aask.md)                                                                   | `0x0010` | 5    | yes | returns        | 2327    |
| [messync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/messync.md)                                                             | `0x0011` | 2    | yes | waits          | 20191   |
| [mesclose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/mesclose.md)                                                           | `0x0012` | 1    | yes | returns        | 11806   |
| [askpos](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/askpos.md)                                                               | `0x0013` | 3    | yes | returns        | 4716    |
| [mesopenspeed\_1b](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/mesopenspeed_1b.md)                                            | `0x001B` | 3    | yes | returns        | 1513    |
| [dir](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dir.md)                                                                     | `0x0024` | 1    | yes | returns        | 12716   |
| [bindoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindoff.md)                                                             | `0x0027` | 0    | yes | returns        | 3159    |
| [rand\_29](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rand_29.md)                                                            | `0x0029` | 1    | yes | returns        | 6729    |
| [reqenable](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/reqenable.md)                                                         | `0x002A` | 1    | yes | returns        | 10646   |
| [reqdisable](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/reqdisable.md)                                                       | `0x002B` | 1    | yes | returns        | 6921    |
| [talkang](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/talkang.md)                                                             | `0x002C` | 1    | yes | returns        | 502     |
| [talkradius](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/talkradius.md)                                                       | `0x002D` | 1    | yes | returns        | 244     |
| [show](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/show.md)                                                                   | `0x0032` | 0    | yes | returns        | 3628    |
| [hide](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hide.md)                                                                   | `0x0033` | 0    | yes | returns        | 3654    |
| [showw](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/showw.md)                                                                 | `0x0034` | 0    | yes | returns        | 338     |
| [hidew](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hidew.md)                                                                 | `0x0035` | 0    | yes | returns        | 388     |
| [shows](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/shows.md)                                                                 | `0x0036` | 0    | yes | returns        | 288     |
| [hides](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hides.md)                                                                 | `0x0037` | 0    | yes | returns        | 324     |
| [show\_38](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/show_38.md)                                                            | `0x0038` | 1    | yes | returns        | 5739    |
| [motionloop](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionloop.md)                                                       | `0x003B` | 1    | yes | returns        | 7146    |
| [movesync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/movesync.md)                                                           | `0x003D` | 0    | yes | returns        | 255     |
| [rmove](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rmove.md)                                                                 | `0x0042` | 3    | yes | returns        | 5902    |
| [rmove\_43](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rmove_43.md)                                                          | `0x0043` | 4    | yes | returns        | 614     |
| [turnsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turnsync.md)                                                           | `0x0046` | 0    | yes | waits          | 6610    |
| [dira](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dira.md)                                                                   | `0x004D` | 1    | yes | returns        | 65      |
| [dir\_4e](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/dir_4e.md)                                                              | `0x004E` | 3    | yes | returns        | 107     |
| [touchradius](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/touchradius.md)                                                     | `0x0051` | 1    | yes | returns        | 180     |
| [move](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/move.md)                                                                   | `0x005D` | 3    | yes | waits          | 2116    |
| [move\_5e](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/move_5e.md)                                                            | `0x005E` | 4    | yes | waits          | 370     |
| [turn](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turn.md)                                                                   | `0x0061` | 3    | yes | returns        | 1799    |
| [turn\_62](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turn_62.md)                                                            | `0x0062` | 1    | yes | returns        | 3626    |
| [turna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turna.md)                                                                 | `0x0063` | 1    | yes | returns        | 92      |
| [turnt](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turnt.md)                                                                 | `0x0064` | 4    | yes | waits          | 1040    |
| [suspendbattle](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/suspendbattle.md)                                                 | `0x0069` | 0    | yes | returns        | 1490    |
| [resumebattle](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/resumebattle.md)                                                   | `0x006A` | 0    | yes | returns        | 1915    |
| [getx](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getx.md)                                                                   | `0x006D` | 0    | yes | returns        | 1003    |
| [gety](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/gety.md)                                                                   | `0x006E` | 0    | yes | returns        | 550     |
| [getz](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getz.md)                                                                   | `0x006F` | 0    | yes | returns        | 976     |
| [getrotangzx](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getrotangzx.md)                                                     | `0x0070` | 0    | yes | returns        | 2297    |
| [getmyid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getmyid.md)                                                             | `0x0072` | 0    | yes | returns        | 164     |
| [setreachr](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setreachr.md)                                                         | `0x0076` | 1    | yes | returns        | 546     |
| [usemapid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/usemapid.md)                                                           | `0x007B` | 1    | yes | returns        | 8210    |
| [cameraclear](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/cameraclear.md)                                                     | `0x007C` | 0    | yes | returns        | 873     |
| [camerastart\_7e](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/camerastart_7e.md)                                              | `0x007E` | 2    | yes | returns        | 3833    |
| [camerasync\_7f](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/camerasync_7f.md)                                                | `0x007F` | 1    | yes | returns        | 442     |
| [movecancel](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/movecancel.md)                                                       | `0x0080` | 0    | yes | returns        | 1230    |
| [turncancel](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/turncancel.md)                                                       | `0x0081` | 0    | yes | returns        | 22      |
| [usecharhit](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/usecharhit.md)                                                       | `0x0083` | 1    | yes | returns        | 6377    |
| [setweight](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setweight.md)                                                         | `0x0084` | 1    | yes | returns        | 4317    |
| [sethpmenu](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/sethpmenu.md)                                                         | `0x008E` | 1    | yes | returns        | 17663   |
| [nowmap](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/nowmap.md)                                                               | `0x0090` | 0    | yes | returns        | 63695   |
| [nowjumpindex](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/nowjumpindex.md)                                                   | `0x0091` | 0    | yes | returns        | 7673    |
| [ucmove](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ucmove.md)                                                               | `0x009A` | 3    | yes | returns        | 88      |
| [motionread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionread.md)                                                       | `0x00A2` | 1    | yes | returns        | 1511    |
| [motionreadsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionreadsync.md)                                               | `0x00A3` | 1    | yes | returns        | 1514    |
| [motionplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionplay.md)                                                       | `0x00A5` | 1    | yes | returns        | 7554    |
| [motionsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionsync.md)                                                       | `0x00A6` | 0    | yes | returns        | 1599    |
| [setheight](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setheight.md)                                                         | `0x00A7` | 1    | yes | returns        | 1001    |
| [setscale](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setscale.md)                                                           | `0x00AF` | 1    | yes | returns        | 490     |
| [fadeout](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fadeout.md)                                                             | `0x00B6` | 1    | yes | returns        | 4391    |
| [fadein](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fadein.md)                                                               | `0x00B8` | 1    | yes | returns        | 4621    |
| [fadesync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fadesync.md)                                                           | `0x00B9` | 0    | yes | returns        | 6412    |
| [motionplay\_bb](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionplay_bb.md)                                                | `0x00BB` | 2    | yes | returns        | 7881    |
| [bindp2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindp2.md)                                                               | `0x00BD` | 1    | yes | waits          | 2061    |
| [modelread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/modelread.md)                                                         | `0x00BF` | 1    | yes | returns        | 4539    |
| [modelreadsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/modelreadsync.md)                                                 | `0x00C0` | 1    | yes | waits          | 4531    |
| [modeldispose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/modeldispose.md)                                                   | `0x00C1` | 1    | yes | returns        | 1319    |
| [bindp2\_d4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindp2_d4.md)                                                        | `0x00D4` | 3    | yes | waits          | 9877    |
| [bindh](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindh.md)                                                                 | `0x00D7` | 1    | yes | waits          | 706     |
| [bindhoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindhoff.md)                                                           | `0x00D8` | 0    | yes | returns        | 774     |
| [attach](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/attach.md)                                                               | `0x00D9` | 2    | yes | returns        | 338     |
| [attachoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/attachoff.md)                                                         | `0x00DA` | 0    | yes | returns        | 266     |
| [effectreadsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectreadsync.md)                                               | `0x00DC` | 0    | yes | returns        | 1143    |
| [effectplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectplay.md)                                                       | `0x00DD` | 1    | yes | returns        | 1176    |
| [effectsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectsync.md)                                                       | `0x00DE` | 0    | yes | waits          | 1135    |
| [effectcancel](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancel.md)                                                   | `0x00DF` | 0    | yes | returns        | 1142    |
| [effectread\_e0](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectread_e0.md)                                                | `0x00E0` | 2    | yes | returns        | 216     |
| [effectreadsync\_e1](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectreadsync_e1.md)                                        | `0x00E1` | 1    | yes | returns        | 563     |
| [effectplay\_e2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectplay_e2.md)                                                | `0x00E2` | 2    | yes | returns        | 1244    |
| [effectsync\_e3](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectsync_e3.md)                                                | `0x00E3` | 1    | yes | returns        | 153     |
| [effectcancel\_e4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancel_e4.md)                                            | `0x00E4` | 1    | yes | returns        | 241     |
| [effectcancelall](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectcancelall.md)                                             | `0x00E5` | 0    | yes | returns        | 119     |
| [motionratio](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionratio.md)                                                     | `0x00E6` | 1    | yes | returns        | 710     |
| [motionloopframe](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionloopframe.md)                                             | `0x00F4` | 2    | yes | returns        | 3129    |
| [motionstartframe](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionstartframe.md)                                           | `0x00F5` | 1    | yes | returns        | 6977    |
| [showshadow](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/showshadow.md)                                                       | `0x010E` | 0    | yes | returns        | 1456    |
| [hideshadow](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hideshadow.md)                                                       | `0x010F` | 0    | yes | returns        | 1489    |
| [stdmotionread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionread.md)                                                 | `0x0118` | 1    | yes | returns        | 1998    |
| [stdmotionreadsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionreadsync.md)                                         | `0x0119` | 0    | yes | returns        | 1989    |
| [stdmotiondispose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotiondispose.md)                                           | `0x011A` | 0    | yes | returns        | 262     |
| [stdmotionplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay.md)                                                 | `0x011D` | 1    | yes | returns        | 7120    |
| [setwh](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setwh.md)                                                                 | `0x0124` | 4    | yes | returns        | 466     |
| [effectactor](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/effectactor.md)                                                     | `0x0126` | 1    | yes | returns        | 490     |
| [locationeffectread\_128](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/locationeffectread_128.md)                              | `0x0128` | 2    | yes | returns        | 139     |
| [getx\_12b](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getx_12b.md)                                                          | `0x012B` | 1    | yes | returns        | 616     |
| [getz\_12d](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getz_12d.md)                                                          | `0x012D` | 1    | yes | returns        | 600     |
| [setfocusstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setfocusstatus.md)                                               | `0x0135` | 1    | yes | returns        | 2884    |
| [normalang](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/normalang.md)                                                         | `0x013D` | 1    | yes | returns        | 227     |
| [amese](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/amese.md)                                                                 | `0x0145` | 2    | yes | returns        | 15142   |
| [charcachedispose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/charcachedispose.md)                                           | `0x0146` | 0    | yes | returns        | 289     |
| [hideparty](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hideparty.md)                                                         | `0x0147` | 0    | yes | returns        | 1539    |
| [showparty](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/showparty.md)                                                         | `0x0148` | 0    | yes | returns        | 762     |
| [motioncancel](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motioncancel.md)                                                   | `0x0149` | 0    | yes | returns        | 4040    |
| [aaske](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aaske.md)                                                                 | `0x014A` | 2    | yes | returns        | 3007    |
| [motiontrigger](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motiontrigger.md)                                                 | `0x014E` | 0    | yes | returns        | 497     |
| [setcharclipall](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setcharclipall.md)                                               | `0x0156` | 1    | yes | returns        | 1193    |
| [fadelayer](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fadelayer.md)                                                         | `0x0158` | 1    | yes | returns        | 4587    |
| [setlod](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setlod.md)                                                               | `0x0160` | 1    | yes | returns        | 2266    |
| [motionclear](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionclear.md)                                                     | `0x016B` | 0    | yes | returns        | 436     |
| [fieldsignicon](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fieldsignicon.md)                                                 | `0x0177` | 1    | yes | returns        | 2125    |
| [setmesmacro](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmesmacro.md)                                                     | `0x01A8` | 4    | yes | returns        | 2385    |
| [stdmotionvariation](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionvariation.md)                                       | `0x01AA` | 1    | yes | returns        | 61      |
| [attachinfo](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/attachinfo.md)                                                       | `0x01C8` | 2    | yes | returns        | 197     |
| [lockbehindcamera](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lockbehindcamera.md)                                           | `0x01CA` | 3    | yes | returns        | 15      |
| [unlockbehindcamera](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/unlockbehindcamera.md)                                       | `0x01CE` | 0    | yes | returns        | 15      |
| [isquestclear](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/isquestclear.md)                                                   | `0x01D0` | 1    | yes | returns        | 212     |
| [questeffectread](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/questeffectread.md)                                             | `0x01DA` | 1    | yes | returns        | 145     |
| [questeffectread\_1db](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/questeffectread_1db.md)                                    | `0x01DB` | 2    | yes | returns        | 2389    |
| [resumebehindcamera](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/resumebehindcamera.md)                                       | `0x01E4` | 3    | yes | returns        | 43      |
| [getlength3](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getlength3.md)                                                       | `0x01E7` | 3    | yes | returns        | 43      |
| [bindc](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindc.md)                                                                 | `0x0200` | 3    | yes | waits          | 1561    |
| [bindcoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bindcoff.md)                                                           | `0x0201` | 1    | yes | returns        | 127     |
| [setpos2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setpos2.md)                                                             | `0x020C` | 3    | yes | returns        | 1873    |
| [setwalkspeed](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setwalkspeed.md)                                                   | `0x020E` | 1    | yes | returns        | 1604    |
| [setradius](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setradius.md)                                                         | `0x0220` | 1    | yes | returns        | 106     |
| [setradius\_221](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setradius_221.md)                                                | `0x0221` | 2    | yes | returns        | 1339    |
| [bonecalcforce](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/bonecalcforce.md)                                                 | `0x0223` | 1    | yes | returns        | 2810    |
| [setlightgroup](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setlightgroup.md)                                                 | `0x0224` | 1    | yes | returns        | 643     |
| [getdestrotangzx\_227](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getdestrotangzx_227.md)                                    | `0x0227` | 1    | yes | returns        | 2947    |
| [setnoupdatebehindcamera](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setnoupdatebehindcamera.md)                             | `0x0236` | 1    | yes | returns        | 2250    |
| [getduplicateid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getduplicateid.md)                                               | `0x0238` | 0    | yes | returns        | 191     |
| [behindcamerafovyroll](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/behindcamerafovyroll.md)                                   | `0x023A` | 4    | yes | returns        | 222     |
| [resetbehindcamerafovyroll](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/resetbehindcamerafovyroll.md)                         | `0x023C` | 0    | yes | returns        | 683     |
| [getdefaultwalkspeed](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getdefaultwalkspeed.md)                                     | `0x0245` | 0    | yes | returns        | 939     |
| [getdefaultrunspeed](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getdefaultrunspeed.md)                                       | `0x0246` | 0    | yes | returns        | 811     |
| [settalkradiusoffset](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/settalkradiusoffset.md)                                     | `0x0248` | 3    | yes | returns        | 211     |
| [lookatoff](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatoff.md)                                                         | `0x0249` | 0    | yes | returns        | 5879    |
| [lookatsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatsync.md)                                                       | `0x024C` | 0    | yes | returns        | 205     |
| [lookatt](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatt.md)                                                             | `0x024E` | 2    | yes | returns        | 116     |
| [lookat\_24f](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookat_24f.md)                                                      | `0x024F` | 3    | yes | returns        | 195     |
| [lookatt\_250](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatt_250.md)                                                    | `0x0250` | 4    | yes | waits          | 37      |
| [lookata](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookata.md)                                                             | `0x0251` | 1    | yes | returns        | 3001    |
| [lookatat](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatat.md)                                                           | `0x0252` | 2    | yes | returns        | 190     |
| [rlookat\_257](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookat_257.md)                                                    | `0x0257` | 3    | yes | returns        | 1562    |
| [rlookatt\_258](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookatt_258.md)                                                  | `0x0258` | 4    | yes | returns        | 125     |
| [rlookata](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookata.md)                                                           | `0x0259` | 1    | yes | returns        | 1029    |
| [rlookatat](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookatat.md)                                                         | `0x025A` | 2    | yes | returns        | 340     |
| [raturna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/raturna.md)                                                             | `0x025F` | 1    | yes | returns        | 1412    |
| [aturn](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aturn.md)                                                                 | `0x0260` | 3    | yes | returns        | 382     |
| [aturn\_261](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aturn_261.md)                                                        | `0x0261` | 1    | yes | returns        | 2124    |
| [aturna](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aturna.md)                                                               | `0x0262` | 1    | yes | returns        | 643     |
| [setfreetargettype](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setfreetargettype.md)                                         | `0x0265` | 1    | yes | returns        | 302     |
| [setautorelax](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setautorelax.md)                                                   | `0x0266` | 1    | yes | returns        | 1195    |
| [setcharseplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setcharseplay.md)                                                 | `0x026C` | 1    | yes | returns        | 1118    |
| [setcharclipone](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setcharclipone.md)                                               | `0x026F` | 1    | yes | returns        | 857     |
| [setcharseplayall](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setcharseplayall.md)                                           | `0x0273` | 1    | yes | returns        | 3710    |
| [setaturnlookatlockstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setaturnlookatlockstatus.md)                           | `0x0281` | 1    | yes | returns        | 2460    |
| [motionsync\_282](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/motionsync_282.md)                                              | `0x0282` | 1    | yes | returns        | 15090   |
| [resetbehindcamera](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/resetbehindcamera.md)                                         | `0x0288` | 2    | yes | returns        | 1645    |
| [distance](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/distance.md)                                                           | `0x028F` | 2    | yes | returns        | 332     |
| [distance\_290](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/distance_290.md)                                                  | `0x0290` | 3    | yes | returns        | 1720    |
| [distance3d\_291](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/distance3d_291.md)                                              | `0x0291` | 4    | yes | returns        | 133     |
| [distance\_292](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/distance_292.md)                                                  | `0x0292` | 4    | yes | returns        | 72      |
| [atan2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/atan2.md)                                                                 | `0x0294` | 2    | yes | returns        | 265     |
| [getdefaultradiusw](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getdefaultradiusw.md)                                         | `0x02B1` | 0    | yes | returns        | 199     |
| [getdefaultradiusd](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getdefaultradiusd.md)                                         | `0x02B2` | 0    | yes | returns        | 150     |
| [setquestscenarioflag](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setquestscenarioflag.md)                                   | `0x02B3` | 2    | yes | returns        | 1173    |
| [getquestscenarioflag](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getquestscenarioflag.md)                                   | `0x02B4` | 1    | yes | returns        | 440     |
| [setkutipakustatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkutipakustatus.md)                                         | `0x02B8` | 1    | yes | returns        | 28035   |
| [sebsoundplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/sebsoundplay.md)                                                   | `0x02C0` | 2    | yes | returns        | 6821    |
| [stdmotionplay\_2c2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/stdmotionplay_2c2.md)                                        | `0x02C2` | 2    | yes | returns        | 4894    |
| [musictrans](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/musictrans.md)                                                       | `0x02C7` | 3    | yes | returns        | 5675    |
| [aturny](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/aturny.md)                                                               | `0x02D6` | 2    | yes | returns        | 143     |
| [haveitem](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/haveitem.md)                                                           | `0x02E4` | 1    | yes | returns        | 4044    |
| [additem](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/additem.md)                                                             | `0x02E5` | 2    | yes | returns        | 1067    |
| [addgill](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/addgill.md)                                                             | `0x02E7` | 1    | yes | returns        | 23      |
| [subgill](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/subgill.md)                                                             | `0x02E8` | 1    | yes | returns        | 64      |
| [havegill](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/havegill.md)                                                           | `0x02E9` | 0    | yes | returns        | 106     |
| [subitem](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/subitem.md)                                                             | `0x02F2` | 2    | yes | returns        | 400     |
| [setunazukistatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setunazukistatus.md)                                           | `0x02F3` | 1    | yes | returns        | 26389   |
| [clearhoridashi](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/clearhoridashi.md)                                               | `0x02F6` | 1    | yes | returns        | 0       |
| [sethoridashi](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/sethoridashi.md)                                                   | `0x02F7` | 1    | yes | returns        | 135     |
| [getsaveramtelepostatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getsaveramtelepostatus.md)                               | `0x030A` | 0    | yes | returns        | 162     |
| [getsaveramsavestatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getsaveramsavestatus.md)                                   | `0x030B` | 0    | yes | returns        | 243     |
| [setposbynaviicon](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setposbynaviicon.md)                                           | `0x030D` | 2    | yes | returns        | 96      |
| [movebluraplpha](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/movebluraplpha.md)                                               | `0x0322` | 1    | yes | returns        | 2304    |
| [getmapjumpanglebyindex](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getmapjumpanglebyindex.md)                               | `0x0323` | 1    | yes | returns        | 903     |
| [charefftrigger](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/charefftrigger.md)                                               | `0x0325` | 1    | yes | returns        | 331     |
| [setstatuserrordispdenystatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setstatuserrordispdenystatus.md)                   | `0x032B` | 1    | yes | returns        | 9626    |
| [getsaveindex](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getsaveindex.md)                                                   | `0x032E` | 0    | yes | returns        | 90      |
| [calltelepoeffect](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/calltelepoeffect.md)                                           | `0x0333` | 0    | yes | returns        | 87      |
| [setcharfogstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setcharfogstatus.md)                                           | `0x0346` | 1    | yes | returns        | 183     |
| [settalkiconstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/settalkiconstatus.md)                                         | `0x0389` | 1    | yes | returns        | 760     |
| [setnpcname](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setnpcname.md)                                                       | `0x038A` | 1    | yes | returns        | 6220    |
| [setnavimapdrawstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setnavimapdrawstatus.md)                                   | `0x038B` | 1    | yes | returns        | 0       |
| [seteventtimestop](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/seteventtimestop.md)                                           | `0x0398` | 1    | yes | returns        | 4725    |
| [setprojectionshadow](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setprojectionshadow.md)                                     | `0x03A9` | 1    | yes | returns        | 1458    |
| [moveblurcaptureonce](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/moveblurcaptureonce.md)                                     | `0x03AC` | 0    | yes | returns        | 2305    |
| [healall](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/healall.md)                                                             | `0x03AF` | 1    | yes | returns        | 2151    |
| [setposparty](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setposparty.md)                                                     | `0x03B1` | 4    | yes | returns        | 788     |
| [rgbatrans](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rgbatrans.md)                                                         | `0x03B2` | 5    | yes | returns        | 4772    |
| [sethpmenufast](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/sethpmenufast.md)                                                 | `0x03B7` | 1    | yes | returns        | 5562    |
| [moveblurfade](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/moveblurfade.md)                                                   | `0x03BB` | 1    | yes | returns        | 2304    |
| [moveblurclearfade](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/moveblurclearfade.md)                                         | `0x03BC` | 1    | yes | returns        | 2306    |
| [moveblurfadesync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/moveblurfadesync.md)                                           | `0x03BD` | 0    | yes | returns        | 4609    |
| [setnowjumpindex](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setnowjumpindex.md)                                             | `0x03D1` | 1    | yes | returns        | 2292    |
| [incentryid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/incentryid.md)                                                       | `0x03E5` | 0    | yes | returns        | 193     |
| [hidecomplete](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hidecomplete.md)                                                   | `0x03E6` | 0    | yes | returns        | 1793    |
| [clearhidecomplete](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/clearhidecomplete.md)                                         | `0x03E7` | 0    | yes | returns        | 2839    |
| [common2effectplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/common2effectplay.md)                                         | `0x03E8` | 2    | yes | returns        | 324     |
| [setmaphighmodeldepth](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmaphighmodeldepth.md)                                   | `0x03ED` | 1    | yes | returns        | 8936    |
| [setmapmodelstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmapmodelstatus.md)                                         | `0x03EE` | 1    | yes | returns        | 8912    |
| [partyusemapid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/partyusemapid.md)                                                 | `0x040D` | 1    | yes | returns        | 459     |
| [clearnavimapfootmark](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/clearnavimapfootmark.md)                                   | `0x0415` | 0    | yes | returns        | 1363    |
| [setnavimapfootmarkstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setnavimapfootmarkstatus.md)                           | `0x0416` | 1    | yes | returns        | 485     |
| [setmapjumpgroupflag](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmapjumpgroupflag.md)                                     | `0x0430` | 1    | yes | returns        | 4625    |
| [releasemapjumpgroupflag](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/releasemapjumpgroupflag.md)                             | `0x0431` | 1    | yes | returns        | 4610    |
| [ismapjumpgroupflag](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ismapjumpgroupflag.md)                                       | `0x0432` | 1    | yes | returns        | 3667    |
| [lookat\_maxangle\_limit\_lock](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookat_maxangle_limit_lock.md)                    | `0x0433` | 0    | yes | returns        | 34      |
| [lookat\_maxangle\_limit\_unlock](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookat_maxangle_limit_unlock.md)                | `0x0434` | 0    | yes | returns        | 79      |
| [lookat\_maxvelr\_limit\_unlock](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookat_maxvelr_limit_unlock.md)                  | `0x0435` | 0    | yes | returns        | 569     |
| [charcommoneffectplay](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/charcommoneffectplay.md)                                   | `0x0465` | 1    | yes | returns        | 76      |
| [charcommoneffecttrigger](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/charcommoneffecttrigger.md)                             | `0x0466` | 1    | yes | returns        | 76      |
| [charcommoneffectstop](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/charcommoneffectstop.md)                                   | `0x0467` | 0    | yes | returns        | 70      |
| [setmeswinline](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmeswinline.md)                                                 | `0x0474` | 2    | yes | returns        | 204     |
| [setaskselectignore](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setaskselectignore.md)                                       | `0x0475` | 2    | yes | returns        | 219     |
| [setmeswincaptionid](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setmeswincaptionid.md)                                       | `0x0477` | 2    | yes | returns        | 4631    |
| [additem\_47f](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/additem_47f.md)                                                    | `0x047F` | 3    | yes | returns        | 2136    |
| [additemmes](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/additemmes.md)                                                       | `0x0480` | 2    | yes | waits          | 4364    |
| [gillwinopen](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/gillwinopen.md)                                                     | `0x0487` | 1    | yes | returns        | 58      |
| [gillwinclose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/gillwinclose.md)                                                   | `0x0488` | 0    | yes | returns        | 184     |
| [gillwinstart](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/gillwinstart.md)                                                   | `0x0489` | 1    | yes | returns        | 78      |
| [gillwinsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/gillwinsync.md)                                                     | `0x048A` | 0    | yes | returns        | 64      |
| [openfullscreenmenu\_48d](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/openfullscreenmenu_48d.md)                              | `0x048D` | 2    | yes | waits          | 1274    |
| [setkubifuristatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkubifuristatus.md)                                         | `0x0494` | 1    | yes | returns        | 1179    |
| [setbodyshake](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setbodyshake.md)                                                   | `0x0495` | 1    | yes | returns        | 222     |
| [ucmovesync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/ucmovesync.md)                                                       | `0x049B` | 0    | yes | returns        | 3       |
| [isdead2\_49f](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/isdead2_49f.md)                                                    | `0x049F` | 1    | yes | returns        | 658     |
| [setkutipakustatus\_4a2](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkutipakustatus_4a2.md)                                | `0x04A2` | 2    | yes | returns        | 160     |
| [setunazukistatus\_4a3](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setunazukistatus_4a3.md)                                  | `0x04A3` | 2    | yes | returns        | 122     |
| [setkubifuristatus\_4a4](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setkubifuristatus_4a4.md)                                | `0x04A4` | 2    | yes | returns        | 6       |
| [setshopname](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setshopname.md)                                                     | `0x04A9` | 1    | yes | returns        | 127     |
| [lookatr](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatr.md)                                                             | `0x04BD` | 1    | yes | returns        | 3       |
| [rlookatrt](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookatrt.md)                                                         | `0x04C6` | 2    | yes | returns        | 80      |
| [rlookatrt\_4c7](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/rlookatrt_4c7.md)                                                | `0x04C7` | 3    | yes | returns        | 279     |
| [lookatrt](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatrt.md)                                                           | `0x04C8` | 2    | yes | returns        | 111     |
| [lookatrt\_4c9](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/lookatrt_4c9.md)                                                  | `0x04C9` | 3    | yes | returns        | 56      |
| [fetchambient](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fetchambient.md)                                                   | `0x04E0` | 0    | yes | returns        | 319     |
| [fetchambient\_4e1](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fetchambient_4e1.md)                                          | `0x04E1` | 3    | yes | returns        | 475     |
| [isturn](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/isturn.md)                                                               | `0x0502` | 0    | yes | returns        | 1332    |
| [set\_ignore\_hitgroup](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/set_ignore_hitgroup.md)                                   | `0x0503` | 1    | yes | returns        | 2521    |
| [getchocobomodebit](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getchocobomodebit.md)                                         | `0x0511` | 0    | yes | returns        | 5228    |
| [getsummonmodebit](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/getsummonmodebit.md)                                           | `0x0512` | 0    | yes | returns        | 5387    |
| [setoverheadicontype](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setoverheadicontype.md)                                     | `0x0523` | 1    | yes | returns        | 371     |
| [istouchucsync](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/istouchucsync.md)                                                 | `0x0525` | 0    | yes | returns        | 2497    |
| [checkdistance3d\_531](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/checkdistance3d_531.md)                                    | `0x0531` | 4    | yes | returns        | 471     |
| [waitdistance](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/waitdistance.md)                                                   | `0x0534` | 3    | yes | waits          | 5032    |
| [istownmap](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/istownmap.md)                                                         | `0x053C` | 0    | yes | returns        | 14686   |
| [settrapshowstatus](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/settrapshowstatus.md)                                         | `0x0547` | 1    | yes | returns        | 17280   |
| [clear\_force\_char\_nearfade](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/clear_force_char_nearfade.md)                      | `0x0553` | 0    | yes | returns        | 8888    |
| [setstatuserrorctrldenystatus\_by\_menu](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/setstatuserrorctrldenystatus_by_menu.md) | `0x0560` | 1    | yes | returns        | 4571    |

## menu calls

| call                                                                                           | id       | args | kit | from a kit NPC | vanilla |
| ---------------------------------------------------------------------------------------------- | -------- | ---- | --- | -------------- | ------- |
| [fs\_stonewinopen](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fs_stonewinopen.md)   | `0x702D` | 1    | yes | returns        | 324     |
| [fs\_stonewinclose](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/fs_stonewinclose.md) | `0x702E` | 0    | yes | returns        | 324     |

## Calls to avoid

Not documented here, and known to break a kit NPC or left out of the kit.

| call                                   | why                                                                                                                                                          |
| -------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| waitv                                  | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| getpos                                 | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| disable                                | **stops the NPC's script**                                                                                                                                   |
| keywait                                | Takes the pad's keymask: bit `n` is keymap slot `n`. `keywait` waits for held, `keywaitr` for repeat, `keywaitt` for the press, `keywaittr` for the release. |
| cmovea\_5c                             | `(actor, speed)`; at speed `0.0` the call never returns.                                                                                                     |
| movea\_60                              | `(actor, speed)`; at speed `0.0` the NPC doesn't walk and the call never returns. Actor `-1` is the party leader.                                            |
| registshape                            | left out of the kit: it freezes the game                                                                                                                     |
| captureallforsummon                    | left out of the kit: it freezes the game                                                                                                                     |
| resetgaugetimer                        | left out of the kit: it freezes the game                                                                                                                     |
| requestreentry                         | **stops the NPC's script**                                                                                                                                   |
| getmp\_1f5                             | Its argument must be a real actor: `getmp_1f5(1)` freezes the game when 1 is no actor.                                                                       |
| sethpratio\_1f9                        | left out of the kit: it freezes the game                                                                                                                     |
| setmpratio\_1fb                        | left out of the kit: it freezes the game                                                                                                                     |
| capturepartyforsummon                  | left out of the kit: it freezes the game                                                                                                                     |
| spattackreadsync                       | Never returns with `0`, or with no Quickening in the session.                                                                                                |
| spattacksync                           | Never returns with `0`, or with no Quickening in the session.                                                                                                |
| effecttotalsignalsync                  | Never returns when nothing raises its bit.                                                                                                                   |
| motiontotalsignalsync                  | Never returns when nothing raises its bit.                                                                                                                   |
| setnorecovertelepostatus               | left out of the kit: it has no handler in the game                                                                                                           |
| battlemembersync                       | left out of the kit: it has no handler in the game                                                                                                           |
| captureactor\_367                      | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| gethddinstallprogress                  | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| ridechocobo                            | Needs `partyallread()` right after it. Alone, it sets the mode with no mount and the leader can't move.                                                      |
| tutorial\_sync\_partymenu              | Returns when the full-screen menu next closes, the main menu opened by the player included.                                                                  |
| restartbattle                          | left out of the kit: it has no handler in the game                                                                                                           |
| setnowmap                              | **leaves the map**                                                                                                                                           |
| seteventwakerect                       | `seteventwakerect(1)` freezes the game: it needs a touch handler, which a kit NPC doesn't have. `seteventwakerect(0)` is safe.                               |
| softwarereset                          | **leaves the map**                                                                                                                                           |
| openfullscreenmenu                     | **stops the NPC's script**                                                                                                                                   |
| stdmotioneventsync                     | Never returns with a motion that has no event.                                                                                                               |
| debug\_initsaveram                     | left out of the kit: clears the save state                                                                                                                   |
| atrac3playcounter                      | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| amove\_4d3                             | `(x, y, z, speed)`; at speed `0.0` the call never returns.                                                                                                   |
| amovea\_4d5                            | `(actor, speed)`; at speed `0.0` the call never returns.                                                                                                     |
| callgameover                           | **stops the NPC's script**                                                                                                                                   |
| summongethertarget\_one                | left out of the kit: it freezes the game                                                                                                                     |
| unkCall\_5b1                           | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| unkCall\_5b4                           | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| loadPs2Save                            | left out of the kit: replaces the save state                                                                                                                 |
| unkCall\_5b8                           | **leaves the map**                                                                                                                                           |
| unkCall\_5c4                           | left out of the kit: it freezes the game                                                                                                                     |
| mapload                                | left out of the kit: it freezes the game                                                                                                                     |
| mapdispose                             | left out of the kit: it freezes the game                                                                                                                     |
| debug\_tkmalloc\_4                     | left out of the kit: it freezes the game                                                                                                                     |
| debug\_tkmallochandle\_9               | left out of the kit: it freezes the game                                                                                                                     |
| debug\_hddformat                       | left out of the kit: named a format                                                                                                                          |
| debug\_mesask                          | Opens a window that ignores the buttons and takes the player's control until it is closed.                                                                   |
| debug\_mapjump                         | **leaves the map**                                                                                                                                           |
| debug\_string                          | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| debug\_meswin\_3e                      | left out of the kit: it has no handler in the game                                                                                                           |
| debug\_eventsync                       | Never returns from an NPC on a field map.                                                                                                                    |
| debug\_tty\_string                     | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| debug\_savejfdata                      | left out of the kit: writes save data                                                                                                                        |
| debug\_loadjfdata                      | **leaves the map**                                                                                                                                           |
| debug\_mc\_write\_savedata             | left out of the kit: writes save data                                                                                                                        |
| debug\_mc\_read\_savedata              | left out of the kit: reads save data over the game state                                                                                                     |
| debug\_load\_mapjump                   | **leaves the map**                                                                                                                                           |
| debug\_get\_sqex\_party\_wake\_counter | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| debug\_get\_dq8demo\_status            | left out of the kit: it shares the handler NPC Kit uses for its own signal                                                                                   |
| btlAtelSetStatus                       | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelSetPoint2                       | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelSetPoint                        | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelSetTotalEntryNumber             | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelSetEntryStruct                  | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelOpenTreasureMessage             | left out of the kit: it takes a script variable (an offset argument), which a recorded script has none of                                                    |
| btlAtelOpenTreasureFinish              | left out of the kit: it freezes the game                                                                                                                     |
| fsmenu\_islist                         | left out of the kit: it freezes the game                                                                                                                     |
| fsmenu\_isactionchip                   | left out of the kit: it freezes the game                                                                                                                     |
| fsmenu\_istargetchip                   | left out of the kit: it freezes the game                                                                                                                     |
| fs\_foodwinopen                        | In the field it shows a counter until its close call.                                                                                                        |
| fsttl\_initialize                      | left out of the kit: it resets the game to a new one: the party becomes Vaan alone                                                                           |
| fsttl\_opencommand                     | In the field it shows the title's command list until `fsttl_closecommand`.                                                                                   |
| fsttl\_openconfig                      | In the field it opens the title's Config window, which only the player's Cancel closes.                                                                      |
| fsttl\_newgamestart                    | **leaves the map**                                                                                                                                           |
