mirror of
https://github.com/pret/pokecrystal.git
synced 2024-12-02 18:26:26 +00:00
passtoengine -> autoinput
This commit is contained in:
parent
1dad1b48d4
commit
8e359978d6
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -53,6 +53,7 @@ storetext EQUS "battletowertext"
|
||||
displaylocation EQUS "landmarktotext"
|
||||
givepokeitem EQUS "givepokemail"
|
||||
checkpokeitem EQUS "checkpokemail"
|
||||
passtoengine EQUS "autoinput"
|
||||
|
||||
; macros/scripts/maps.asm
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user