2017-12-12 18:51:07 +00:00
|
|
|
# Event Commands
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-26 23:45:04 +00:00
|
|
|
Defined in [macros/scripts/events.asm](/macros/scripts/events.asm) and [engine/scripting.asm:ScriptCommandTable](/engine/scripting.asm).
|
2017-12-15 00:04:44 +00:00
|
|
|
|
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$00`: <code>scall <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$01`: <code>farscall <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$02`: <code>ptcall <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$03`: <code>jump <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$04`: <code>farjump <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$05`: <code>ptjump <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$06`: <code>if_equal <i>byte</i>, <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$07`: <code>if_not_equal <i>byte</i>, <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$08`: <code>iffalse <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$09`: <code>iftrue <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0A`: <code>if_greater_than <i>byte</i>, <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0B`: <code>if_less_than <i>byte</i>, <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0C`: <code>jumpstd <i>std_script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0D`: <code>callstd <i>std_script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0E`: <code>callasm <i>asm</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$0F`: <code>special <i>special_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$10`: <code>ptcallasm <i>asm</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$11`: <code>checkmapscene <i>map</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$12`: <code>setmapscene <i>map</i>, <i>scene_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-24 20:09:28 +00:00
|
|
|
## `$13`: `checkscene`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$14`: <code>setscene <i>scene_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$15`: <code>writebyte <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$16`: <code>addvar <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$17`: <code>random <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$18`: `checkver`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$19`: <code>copybytetovar <i>address</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1A`: <code>copyvartobyte <i>address</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1B`: <code>loadvar <i>address</i>, <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1C`: <code>checkcode <i>variable</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1D`: <code>writevarcode <i>variable</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1E`: <code>writecode <i>variable</i>, <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$1F`: <code>giveitem <i>item_id</i>[, <i>quantity</i>=1]</code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$20`: <code>takeitem <i>item_id</i>[, <i>quantity</i>=1]</code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$21`: <code>checkitem <i>item_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$22`: <code>givemoney <i>account</i>, <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$23`: <code>takemoney <i>account</i>, <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$24`: <code>checkmoney <i>account</i>, <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$25`: <code>givecoins <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$26`: <code>takecoins <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$27`: <code>checkcoins <i>value</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$28`: <code>addcellnum <i>contact_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$29`: <code>delcellnum <i>contact_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2A`: <code>checkcellnum <i>contact_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2B`: <code>checktime <i>time</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
- **`checkmorn`:** `checktime MORN`
|
|
|
|
- **`checkday`:** `checktime DAY`
|
|
|
|
- **`checknite`:** `checktime NITE`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2C`: <code>checkpoke <i>mon_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2D`: <code>givepoke <i>mon_id</i>, <i>level</i>[, <i>item</i>=0[, <i>trainer</i>=0, <i>ot_name</i>, <i>nickname</i>]]</code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2E`: <code>giveegg <i>mon_id</i>, <i>level</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$2F`: <code>givepokeitem <i>pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$30`: <code>checkpokeitem <i>pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$31`: <code>checkevent <i>event_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$32`: <code>clearevent <i>event_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$33`: <code>setevent <i>event_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$34`: <code>checkflag <i>engine_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$35`: <code>clearflag <i>engine_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$36`: <code>setflag <i>engine_flag</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$37`: `wildon`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$38`: `wildoff`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$39`: <code>xycompare <i>pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3A`: <code>warpmod <i>warp_id</i>, <i>map</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3B`: <code>blackoutmod <i>map</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3C`: <code>warp <i>map</i>, <i>x</i>, <i>y</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3D`: <code>readmoney <i>account</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3E`: <code>readcoins <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$3F`: <code>vartomem <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$40`: <code>pokenamemem <i>mon_id</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$41`: <code>itemtotext <i>item_id</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$42`: <code>mapnametotext <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$43`: <code>trainertotext <i>trainer_id</i>, <i>trainer_group</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$44`: <code>stringtotext <i>text_pointer</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$45`: `itemnotify`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$46`: `pocketisfull`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$47`: `opentext`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$48`: <code>refreshscreen [<i>dummy</i>=0]</code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$49`: `closetext`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$4A`: <code>loadbytec2cf <i>byte</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$4B`: <code>farwritetext <i>text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$4C`: <code>writetext <i>text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$4D`: <code>repeattext <i>byte1</i>, <i>byte2</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$4E`: `yesorno`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-23 21:08:43 +00:00
|
|
|
## `$4F`: <code>loadmenuheader <i>menu_header</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$50`: `closewindow`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$51`: <code>jumptextfaceplayer <i>text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$52`: <code>farjumptext <i>text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$53`: <code>jumptext <i>text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$54`: `waitbutton`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$55`: `buttonsound`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$56`: <code>pokepic <i>mon_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$57`: `closepokepic`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$58`: `_2dmenu`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$59`: `verticalmenu`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$5A`: `loadpikachudata`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$5B`: `randomwildmon`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$5C`: `loadmemtrainer`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$5D`: <code>loadwildmon <i>mon_id</i>, <i>level</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$5E`: <code>loadtrainer <i>trainer_group</i>, <i>trainer_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$5F`: `startbattle`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$60`: `reloadmapafterbattle`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$61`: <code>catchtutorial <i>byte</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$62`: <code>trainertext <i>which_text</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$63`: <code>trainerflagaction <i>action</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$64`: <code>winlosstext <i>win_text_pointer</i>, <i>loss_text_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$65`: `scripttalkafter`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$66`: `end_if_just_battled`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$67`: `check_just_battled`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$68`: <code>setlasttalked <i>object_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$69`: <code>applymovement <i>object_id</i>, <i>data_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$6A`: <code>applymovement2 <i>data_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$6B`: `faceplayer`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$6C`: <code>faceobject <i>object1</i>, <i>object2</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$6D`: <code>variablesprite <i>variable_sprite_id</i>, <i>sprite_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$6E`: <code>disappear <i>object_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$6F`: <code>appear <i>object_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$70`: <code>follow <i>object2</i>, <i>object1</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$71`: `stopfollow`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$72`: <code>moveobject <i>object_id</i>, <i>x</i>, <i>y</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$73`: <code>writeobjectxy <i>object_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$74`: <code>loademote <i>emote_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$75`: <code>showemote <i>emote_id</i>, <i>object_id</i>, <i>length</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$76`: <code>spriteface <i>object_id</i>, <i>facing</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$77`: <code>follownotexact <i>object2</i>, <i>object1</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$78`: <code>earthquake <i>param</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$79`: <code>changemap <i>bank</i>, <i>blockdata_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$7A`: <code>changeblock <i>x</i>, <i>y</i>, <i>block</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$7B`: `reloadmap`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$7C`: `reloadmappart`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$7D`: <code>writecmdqueue <i>queue_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$7E`: <code>delcmdqueue <i>byte</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$7F`: <code>playmusic <i>music_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$80`: `encountermusic`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$81`: <code>musicfadeout <i>music_id</i>, <i>length</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$82`: `playmapmusic`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$83`: `dontrestartmapmusic`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$84`: <code>cry <i>mon_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$85`: <code>playsound <i>sfx_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$86`: `waitsfx`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$87`: `warpsound`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$88`: `specialsound`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$89`: <code>passtoengine <i>data_pointer</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$8A`: <code>newloadmap <i>which_method</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$8B`: <code>pause <i>length</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$8C`: <code>deactivatefacing <i>length</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$8D`: <code>priorityjump <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$8E`: `warpcheck`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$8F`: <code>ptpriorityjump <i>script</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$90`: `return`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$91`: `end`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$92`: <code>reloadandreturn <i>which_method</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$93`: `end_all`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$94`: <code>pokemart <i>dialog_id</i>, <i>mart_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$95`: <code>elevator <i>floor_list</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$96`: <code>trade <i>trade_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$97`: <code>askforphonenumber <i>contact_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$98`: <code>phonecall <i>call_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$99`: `hangup`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$9A`: <code>describedecoration <i>byte</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$9B`: <code>fruittree <i>tree_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$9C`: <code>specialphonecall <i>call_id</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$9D`: `checkphonecall`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$9E`: <code>verbosegiveitem <i>item_id</i>[, <i>quantity</i>=1]</code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$9F`: <code>verbosegiveitem2 <i>item_id</i>, <i>variable</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A0`: <code>swarm <i>swarm_id</i>, <i>map</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$A1`: `halloffame`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$A2`: `credits`
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A3`: <code>warpfacing <i>facing</i>, <i>map</i>, <i>x</i>, <i>y</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A4`: <code>battletowertext <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A5`: <code>landmarktotext <i>landmark_id</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A6`: <code>trainerclassname <i>trainer_group</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A7`: <code>name <i>type</i>, <i>id</i>, <i>memory</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2018-01-17 18:58:50 +00:00
|
|
|
## `$A8`: <code>wait <i>duration</i></code>
|
2017-12-12 02:25:36 +00:00
|
|
|
|
2017-12-12 02:40:21 +00:00
|
|
|
## `$A9`: `check_save`
|