summaryrefslogtreecommitdiff
path: root/data/script_cmd_table.inc
blob: 29850d685e2c88a50b708e0d7ccdc165e1bbc479 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
    .align 2

gScriptCmdTable:: @ 815F9B4
	.4byte sub_8069ED0
	.4byte sub_8069ED4
	.4byte ScrCmd_end
	.4byte ScrCmd_return
	.4byte ScrCmd_call
	.4byte ScrCmd_goto
	.4byte ScrCmd_goto_if
	.4byte ScrCmd_call_if
	.4byte ScrCmd_gotostd
	.4byte ScrCmd_callstd
	.4byte ScrCmd_gotostd_if
	.4byte ScrCmd_callstd_if
	.4byte ScrCmd_gotoram
	.4byte ScrCmd_killscript
	.4byte ScrCmd_setmysteryeventstatus
	.4byte ScrCmd_loadword
	.4byte ScrCmd_loadbyte
	.4byte ScrCmd_writebytetoaddr
	.4byte ScrCmd_loadbytefromaddr
	.4byte ScrCmd_setptrbyte
	.4byte ScrCmd_copylocal
	.4byte ScrCmd_copybyte
	.4byte ScrCmd_setvar
	.4byte ScrCmd_addvar
	.4byte ScrCmd_subvar
	.4byte ScrCmd_copyvar
	.4byte ScrCmd_setorcopyvar
	.4byte ScrCmd_compare_local_to_local
	.4byte ScrCmd_compare_local_to_value
	.4byte ScrCmd_compare_local_to_addr
	.4byte ScrCmd_compare_addr_to_local
	.4byte ScrCmd_compare_addr_to_value
	.4byte ScrCmd_compare_addr_to_addr
	.4byte ScrCmd_compare_var_to_value
	.4byte ScrCmd_compare_var_to_var
	.4byte ScrCmd_callnative
	.4byte ScrCmd_gotonative
	.4byte sub_8069EFC
	.4byte sub_8069F3C
	.4byte sub_8069FA4
	.4byte ScrCmd_delay
	.4byte ScrCmd_setflag
	.4byte ScrCmd_clearflag
	.4byte ScrCmd_checkflag
	.4byte sub_806A9D4
	.4byte sub_806A9D8
	.4byte sub_806A9DC
	.4byte ScrCmd_playse
	.4byte sub_806B094
	.4byte ScrCmd_playfanfare
	.4byte sub_806B0CC
	.4byte sub_806B0E0
	.4byte sub_806B120
	.4byte sub_806B134
	.4byte sub_806B154
	.4byte sub_806B17C
	.4byte sub_806B1C8
	.4byte ScrCmd_warp
	.4byte ScrCmd_warpsilent
	.4byte ScrCmd_warpdoor
	.4byte ScrCmd_warphole
	.4byte sub_806AC70
	.4byte ScrCmd_setwarp
	.4byte ScrCmd_setdynamicwarp
	.4byte sub_806AE90
	.4byte sub_806AF10
	.4byte ScrCmd_getplayerxy
	.4byte ScrCmd_getpartysize
	.4byte sub_806A610
	.4byte ScrCmd_takeitem
	.4byte sub_806A6A0
	.4byte sub_806A6E4
	.4byte ScrCmd_checkitemtype
	.4byte ScrCmd_givepcitem
	.4byte ScrCmd_checkpcitem
	.4byte sub_806A7DC
	.4byte sub_806A7F0
	.4byte sub_806A818
	.4byte sub_806A804
	.4byte ScrCmd_applymovement
	.4byte ScrCmd_applymovement_at
	.4byte ScrCmd_waitmovement
	.4byte ScrCmd_waitmovement_at
	.4byte ScrCmd_removeobject
	.4byte ScrCmd_removeobject_at
	.4byte ScrCmd_addobject
	.4byte ScrCmd_addobject_at
	.4byte ScrCmd_setobjectxy
	.4byte ScrCmd_showobject_at
	.4byte ScrCmd_hideobject_at
	.4byte ScrCmd_faceplayer
	.4byte ScrCmd_turnobject
	.4byte ScrCmd_trainerbattle
	.4byte sub_806C2D8
	.4byte ScrCmd_ontrainerbattleend
	.4byte ScrCmd_ontrainerbattleendgoto
	.4byte ScrCmd_checktrainerflag
	.4byte ScrCmd_settrainerflag
	.4byte ScrCmd_cleartrainerflag
	.4byte ScrCmd_setobjectxyperm
	.4byte ScrCmd_moveobjectoffscreen
	.4byte ScrCmd_setobjectmovementtype
	.4byte sub_806B878
	.4byte sub_806B80C
	.4byte sub_806B88C
	.4byte ScrCmd_lockall
	.4byte ScrCmd_lock
	.4byte ScrCmd_releaseall
	.4byte ScrCmd_release
	.4byte sub_806BA3C
	.4byte ScrCmd_yesnobox
	.4byte ScrCmd_multichoice
	.4byte ScrCmd_multichoicedefault
	.4byte ScrCmd_multichoicegrid
	.4byte sub_806BB38
	.4byte sub_806BB8C
	.4byte sub_806BB98
	.4byte sub_806BB9C
	.4byte sub_806BBD8
	.4byte sub_806BBF8
	.4byte sub_806BC04
	.4byte ScrCmd_givemon
	.4byte ScrCmd_giveegg
	.4byte ScrCmd_setmonmove
	.4byte ScrCmd_checkpartymove
	.4byte ScrCmd_bufferspeciesname
	.4byte ScrCmd_bufferleadmonspeciesname
	.4byte ScrCmd_bufferpartymonnick
	.4byte ScrCmd_bufferitemname
	.4byte sub_806BE34
	.4byte ScrCmd_buffermovename
	.4byte ScrCmd_buffernumberstring
	.4byte ScrCmd_bufferstdstring
	.4byte ScrCmd_bufferstring
	.4byte sub_806C3AC
	.4byte sub_806C3C0
	.4byte sub_806C3D4
	.4byte ScrCmd_playslotmachine
	.4byte sub_806C410
	.4byte sub_806C418
	.4byte sub_806C424
	.4byte sub_806C428
	.4byte sub_806C42C
	.4byte ScrCmd_random
	.4byte ScrCmd_givemoney
	.4byte ScrCmd_takemoney
	.4byte ScrCmd_checkmoney
	.4byte sub_806C1CC
	.4byte sub_806C21C
	.4byte sub_806C228
	.4byte sub_806C414
	.4byte ScrCmd_fadescreen
	.4byte ScrCmd_fadescreenspeed
	.4byte ScrCmd_setflashradius
	.4byte ScrCmd_animateflash
	.4byte sub_806B85C
	.4byte ScrCmd_dofieldeffect
	.4byte ScrCmd_setfieldeffectarg
	.4byte ScrCmd_waitfieldeffect
	.4byte ScrCmd_setrespawn
	.4byte ScrCmd_checkplayergender
	.4byte ScrCmd_playmoncry
	.4byte ScrCmd_setmetatile
	.4byte ScrCmd_resetweather
	.4byte ScrCmd_setweather
	.4byte ScrCmd_doweather
	.4byte ScrCmd_setstepcallback
	.4byte ScrCmd_setmaplayoutindex
	.4byte ScrCmd_setobjectpriority
	.4byte ScrCmd_resetobjectpriority
	.4byte ScrCmd_createvobject
	.4byte ScrCmd_turnvobject
	.4byte ScrCmd_opendoor
	.4byte ScrCmd_closedoor
	.4byte sub_806C688
	.4byte ScrCmd_setdooropen
	.4byte ScrCmd_setdoorclosed
	.4byte sub_806C724
	.4byte sub_806C728
	.4byte ScrCmd_checkcoins
	.4byte ScrCmd_givecoins
	.4byte ScrCmd_takecoins
	.4byte ScrCmd_setwildbattle
	.4byte sub_806C39C
	.4byte ScrCmd_setvaddress
	.4byte ScrCmd_vgoto
	.4byte ScrCmd_vcall
	.4byte ScrCmd_vgoto_if
	.4byte ScrCmd_vcall_if
	.4byte ScrCmd_vmessage
	.4byte ScrCmd_vloadword
	.4byte ScrCmd_vbufferstring
	.4byte sub_806C258
	.4byte ScrCmd_hidecoinsbox
	.4byte ScrCmd_updatecoinsbox
	.4byte ScrCmd_incrementgamestat
	.4byte ScrCmd_setescapewarp
	.4byte sub_806C540
	.4byte ScrCmd_bufferboxname
	.4byte sub_806B7EC
	.4byte sub_806B828
	.4byte sub_806B850
	.4byte sub_806C7BC
	.4byte sub_806C7C8
	.4byte sub_806A888
	.4byte ScrCmd_setmonobedient
	.4byte ScrCmd_checkmonobedience
	.4byte sub_806A28C
	.4byte sub_806A8C0
	.4byte sub_806ACF8
	.4byte sub_806C844
	.4byte sub_806BC40
	.4byte sub_806BD90

gScriptCmdTableEnd:: @ 815FD08
	.4byte sub_8069ED0