passtoengine -> autoinput

This commit is contained in:
Rangi 2019-02-16 16:06:11 -05:00
parent 1dad1b48d4
commit 8e359978d6
4 changed files with 10 additions and 8 deletions

View File

@ -279,7 +279,7 @@ Until this document is filled out, the [G/S Scripting Compendium](https://hax.ii
## `$88`: `specialsound`
## `$89`: <code>passtoengine <i>data_pointer</i></code>
## `$89`: <code>autoinput <i>input_pointer</i></code>
## `$8A`: <code>newloadmap <i>which_method</i></code>

View File

@ -202,7 +202,7 @@ endc
dw Script_waitsfx ; 86
dw Script_warpsound ; 87
dw Script_specialsound ; 88
dw Script_passtoengine ; 89
dw Script_autoinput ; 89
dw Script_newloadmap ; 8a
dw Script_pause ; 8b
dw Script_deactivatefacing ; 8c
@ -2653,9 +2653,9 @@ Script_closetext:
call CloseText
ret
Script_passtoengine:
Script_autoinput:
; script command 0x89
; parameters: data_pointer
; parameters: input_pointer
call GetScriptByte
push af

View File

@ -53,6 +53,7 @@ storetext EQUS "battletowertext"
displaylocation EQUS "landmarktotext"
givepokeitem EQUS "givepokemail"
checkpokeitem EQUS "checkpokemail"
passtoengine EQUS "autoinput"
; macros/scripts/maps.asm

View File

@ -857,10 +857,11 @@ specialsound: MACRO
db specialsound_command
ENDM
enum passtoengine_command ; $89
passtoengine: MACRO
db passtoengine_command
db \1 ; data_pointer
enum autoinput_command ; $89
autoinput: MACRO
db autoinput_command
db BANK(\1) ; input_bank
dw \1 ; input_pointer
ENDM
enum newloadmap_command ; $8a