blob: b7aa1a1fbe4aaa839b425f411df00f51139733c2 (
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
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
|
; ScriptCommandTable indexes (see engine/overworld/scripting.asm)
enum_start
enum scall_command ; $00
scall: MACRO
db scall_command
dw \1 ; pointer
ENDM
enum farscall_command ; $01
farscall: MACRO
db farscall_command
dba \1
ENDM
enum memcall_command ; $02
memcall: MACRO
db memcall_command
dw \1 ; pointer
ENDM
enum sjump_command ; $03
sjump: MACRO
db sjump_command
dw \1 ; pointer
ENDM
enum farsjump_command ; $04
farsjump: MACRO
db farsjump_command
dba \1
ENDM
enum memjump_command ; $05
memjump: MACRO
db memjump_command
dw \1 ; pointer
ENDM
enum ifequal_command ; $06
ifequal: MACRO
db ifequal_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum ifnotequal_command ; $07
ifnotequal: MACRO
db ifnotequal_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum iffalse_command ; $08
iffalse: MACRO
db iffalse_command
dw \1 ; pointer
ENDM
enum iftrue_command ; $09
iftrue: MACRO
db iftrue_command
dw \1 ; pointer
ENDM
enum ifgreater_command ; $0a
ifgreater: MACRO
db ifgreater_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum ifless_command ; $0b
ifless: MACRO
db ifless_command
db \1 ; byte
dw \2 ; pointer
ENDM
enum jumpstd_command ; $0c
jumpstd: MACRO
db jumpstd_command
dw \1 ; predefined_script
ENDM
enum callstd_command ; $0d
callstd: MACRO
db callstd_command
dw \1 ; predefined_script
ENDM
enum callasm_command ; $0e
callasm: MACRO
db callasm_command
dba \1
ENDM
enum special_command ; $0f
special: MACRO
db special_command
dw (\1Special - SpecialsPointers) / 3
ENDM
enum memcallasm_command ; $10
memcallasm: MACRO
db memcallasm_command
dw \1 ; asm
ENDM
enum checkmapscene_command ; $11
checkmapscene: MACRO
db checkmapscene_command
map_id \1 ; map
ENDM
enum setmapscene_command ; $12
setmapscene: MACRO
db setmapscene_command
map_id \1 ; map
db \2 ; scene_id
ENDM
enum checkscene_command ; $13
checkscene: MACRO
db checkscene_command
ENDM
enum setscene_command ; $14
setscene: MACRO
db setscene_command
db \1 ; scene_id
ENDM
enum setval_command ; $15
setval: MACRO
db setval_command
db \1 ; value
ENDM
enum addval_command ; $16
addval: MACRO
db addval_command
db \1 ; value
ENDM
enum random_command ; $17
random: MACRO
db random_command
db \1 ; input
ENDM
enum checkver_command ; $18
checkver: MACRO
db checkver_command
ENDM
enum readmem_command ; $19
readmem: MACRO
db readmem_command
dw \1 ; address
ENDM
enum writemem_command ; $1a
writemem: MACRO
db writemem_command
dw \1 ; address
ENDM
enum loadmem_command ; $1b
loadmem: MACRO
db loadmem_command
dw \1 ; address
db \2 ; value
ENDM
enum readvar_command ; $1c
readvar: MACRO
db readvar_command
db \1 ; variable_id
ENDM
enum writevar_command ; $1d
writevar: MACRO
db writevar_command
db \1 ; variable_id
ENDM
enum loadvar_command ; $1e
loadvar: MACRO
if STRIN("\1", "VAR_") != 1
; LEGACY: Support for the old name of "loadmem"
loadmem \1, \2
else
db loadvar_command
db \1 ; variable_id
db \2 ; value
endc
ENDM
enum giveitem_command ; $1f
giveitem: MACRO
if _NARG == 1
giveitem \1, 1
else
db giveitem_command
db \1 ; item
db \2 ; quantity
endc
ENDM
enum takeitem_command ; $20
takeitem: MACRO
if _NARG == 1
takeitem \1, 1
else
db takeitem_command
db \1 ; item
db \2 ; quantity
endc
ENDM
enum checkitem_command ; $21
checkitem: MACRO
db checkitem_command
db \1 ; item
ENDM
enum givemoney_command ; $22
givemoney: MACRO
db givemoney_command
db \1 ; account
dt \2 ; money
ENDM
enum takemoney_command ; $23
takemoney: MACRO
db takemoney_command
db \1 ; account
dt \2 ; money
ENDM
enum checkmoney_command ; $24
checkmoney: MACRO
db checkmoney_command
db \1 ; account
dt \2 ; money
ENDM
enum givecoins_command ; $25
givecoins: MACRO
db givecoins_command
dw \1 ; coins
ENDM
enum takecoins_command ; $26
takecoins: MACRO
db takecoins_command
dw \1 ; coins
ENDM
enum checkcoins_command ; $27
checkcoins: MACRO
db checkcoins_command
dw \1 ; coins
ENDM
enum addcellnum_command ; $28
addcellnum: MACRO
db addcellnum_command
db \1 ; person
ENDM
enum delcellnum_command ; $29
delcellnum: MACRO
db delcellnum_command
db \1 ; person
ENDM
enum checkcellnum_command ; $2a
checkcellnum: MACRO
db checkcellnum_command
db \1 ; person
ENDM
enum checktime_command ; $2b
checktime: MACRO
db checktime_command
db \1 ; time
ENDM
enum checkpoke_command ; $2c
checkpoke: MACRO
db checkpoke_command
db \1 ; pkmn
ENDM
enum givepoke_command ; $2d
givepoke: MACRO
if _NARG == 2
givepoke \1, \2, NO_ITEM, FALSE
elif _NARG == 3
givepoke \1, \2, \3, FALSE
else
db givepoke_command
db \1 ; pokemon
db \2 ; level
db \3 ; item
db \4 ; trainer
if \4
dw \5 ; trainer_name_pointer
dw \6 ; pkmn_nickname
endc
endc
ENDM
enum giveegg_command ; $2e
giveegg: MACRO
db giveegg_command
db \1 ; pkmn
db \2 ; level
ENDM
enum givepokemail_command ; $2f
givepokemail: MACRO
db givepokemail_command
dw \1 ; pointer
ENDM
enum checkpokemail_command ; $30
checkpokemail: MACRO
db checkpokemail_command
dw \1 ; pointer
ENDM
enum checkevent_command ; $31
checkevent: MACRO
db checkevent_command
dw \1 ; event_flag
ENDM
enum clearevent_command ; $32
clearevent: MACRO
db clearevent_command
dw \1 ; event_flag
ENDM
enum setevent_command ; $33
setevent: MACRO
db setevent_command
dw \1 ; event_flag
ENDM
enum checkflag_command ; $34
checkflag: MACRO
db checkflag_command
dw \1 ; engine_flag
ENDM
enum clearflag_command ; $35
clearflag: MACRO
db clearflag_command
dw \1 ; engine_flag
ENDM
enum setflag_command ; $36
setflag: MACRO
db setflag_command
dw \1 ; engine_flag
ENDM
enum wildon_command ; $37
wildon: MACRO
db wildon_command
ENDM
enum wildoff_command ; $38
wildoff: MACRO
db wildoff_command
ENDM
enum xycompare_command ; $39
xycompare: MACRO
db xycompare_command
dw \1 ; pointer
ENDM
enum warpmod_command ; $3a
warpmod: MACRO
db warpmod_command
db \1 ; warp_id
map_id \2 ; map
ENDM
enum blackoutmod_command ; $3b
blackoutmod: MACRO
db blackoutmod_command
map_id \1 ; map
ENDM
enum warp_command ; $3c
warp: MACRO
db warp_command
map_id \1 ; map
db \2 ; x
db \3 ; y
ENDM
enum getmoney_command ; $3d
getmoney: MACRO
db getmoney_command
db \2 ; account
db \1 ; string_buffer
ENDM
enum getcoins_command ; $3e
getcoins: MACRO
db getcoins_command
db \1 ; string_buffer
ENDM
enum getnum_command ; $3f
getnum: MACRO
db getnum_command
db \1 ; string_buffer
ENDM
enum getmonname_command ; $40
getmonname: MACRO
db getmonname_command
db \2 ; pokemon
db \1 ; string_buffer
ENDM
enum getitemname_command ; $41
getitemname: MACRO
db getitemname_command
db \2 ; item
db \1 ; string_buffer
ENDM
enum getcurlandmarkname_command ; $42
getcurlandmarkname: MACRO
db getcurlandmarkname_command
db \1 ; string_buffer
ENDM
enum gettrainername_command ; $43
gettrainername: MACRO
db gettrainername_command
db \2 ; trainer_group
db \3 ; trainer_id
db \1 ; string_buffer
ENDM
enum getstring_command ; $44
getstring: MACRO
db getstring_command
dw \2 ; text_pointer
db \1 ; string_buffer
ENDM
enum itemnotify_command ; $45
itemnotify: MACRO
db itemnotify_command
ENDM
enum pocketisfull_command ; $46
pocketisfull: MACRO
db pocketisfull_command
ENDM
enum opentext_command ; $47
opentext: MACRO
db opentext_command
ENDM
enum refreshscreen_command ; $48
refreshscreen: MACRO
if _NARG == 0
refreshscreen 0
else
db refreshscreen_command
db \1 ; dummy
endc
ENDM
enum closetext_command ; $49
closetext: MACRO
db closetext_command
ENDM
enum writeunusedbytebuffer_command ; $4a
writeunusedbytebuffer: MACRO
db writeunusedbytebuffer_command
db \1 ; byte
ENDM
enum farwritetext_command ; $4b
farwritetext: MACRO
db farwritetext_command
dba \1
ENDM
enum writetext_command ; $4c
writetext: MACRO
db writetext_command
dw \1 ; text_pointer
ENDM
enum repeattext_command ; $4d
repeattext: MACRO
db repeattext_command
db \1 ; byte
db \2 ; byte
ENDM
enum yesorno_command ; $4e
yesorno: MACRO
db yesorno_command
ENDM
enum loadmenu_command ; $4f
loadmenu: MACRO
db loadmenu_command
dw \1 ; menu_header
ENDM
enum closewindow_command ; $50
closewindow: MACRO
db closewindow_command
ENDM
enum jumptextfaceplayer_command ; $51
jumptextfaceplayer: MACRO
db jumptextfaceplayer_command
dw \1 ; text_pointer
ENDM
enum farjumptext_command ; $52
farjumptext: MACRO
db farjumptext_command
dba \1
ENDM
enum jumptext_command ; $53
jumptext: MACRO
db jumptext_command
dw \1 ; text_pointer
ENDM
enum waitbutton_command ; $54
waitbutton: MACRO
db waitbutton_command
ENDM
enum promptbutton_command ; $55
promptbutton: MACRO
db promptbutton_command
ENDM
enum pokepic_command ; $56
pokepic: MACRO
db pokepic_command
db \1 ; pokemon
ENDM
enum closepokepic_command ; $57
closepokepic: MACRO
db closepokepic_command
ENDM
enum _2dmenu_command ; $58
_2dmenu: MACRO
db _2dmenu_command
ENDM
enum verticalmenu_command ; $59
verticalmenu: MACRO
db verticalmenu_command
ENDM
enum loadpikachudata_command ; $5a
loadpikachudata: MACRO
db loadpikachudata_command
ENDM
enum randomwildmon_command ; $5b
randomwildmon: MACRO
db randomwildmon_command
ENDM
enum loadtemptrainer_command ; $5c
loadtemptrainer: MACRO
db loadtemptrainer_command
ENDM
enum loadwildmon_command ; $5d
loadwildmon: MACRO
db loadwildmon_command
db \1 ; pokemon
db \2 ; level
ENDM
enum loadtrainer_command ; $5e
loadtrainer: MACRO
db loadtrainer_command
db \1 ; trainer_group
db \2 ; trainer_id
ENDM
enum startbattle_command ; $5f
startbattle: MACRO
db startbattle_command
ENDM
enum reloadmapafterbattle_command ; $60
reloadmapafterbattle: MACRO
db reloadmapafterbattle_command
ENDM
enum catchtutorial_command ; $61
catchtutorial: MACRO
db catchtutorial_command
db \1 ; byte
ENDM
enum trainertext_command ; $62
trainertext: MACRO
db trainertext_command
db \1 ; text_id
ENDM
enum trainerflagaction_command ; $63
trainerflagaction: MACRO
db trainerflagaction_command
db \1 ; action
ENDM
enum winlosstext_command ; $64
winlosstext: MACRO
db winlosstext_command
dw \1 ; win_text_pointer
dw \2 ; loss_text_pointer
ENDM
enum scripttalkafter_command ; $65
scripttalkafter: MACRO
db scripttalkafter_command
ENDM
enum endifjustbattled_command ; $66
endifjustbattled: MACRO
db endifjustbattled_command
ENDM
enum checkjustbattled_command ; $67
checkjustbattled: MACRO
db checkjustbattled_command
ENDM
enum setlasttalked_command ; $68
setlasttalked: MACRO
db setlasttalked_command
db \1 ; object id
ENDM
enum applymovement_command ; $69
applymovement: MACRO
db applymovement_command
db \1 ; object id
dw \2 ; data
ENDM
enum applymovementlasttalked_command ; $6a
applymovementlasttalked: MACRO
db applymovementlasttalked_command
dw \1 ; data
ENDM
enum faceplayer_command ; $6b
faceplayer: MACRO
db faceplayer_command
ENDM
enum faceobject_command ; $6c
faceobject: MACRO
db faceobject_command
db \1 ; object1
db \2 ; object2
ENDM
enum variablesprite_command ; $6d
variablesprite: MACRO
db variablesprite_command
db \1 - SPRITE_VARS ; byte
db \2 ; sprite
ENDM
enum disappear_command ; $6e
disappear: MACRO
db disappear_command
db \1 ; object id
ENDM
enum appear_command ; $6f
appear: MACRO
db appear_command
db \1 ; object id
ENDM
enum follow_command ; $70
follow: MACRO
db follow_command
db \1 ; object2
db \2 ; object1
ENDM
enum stopfollow_command ; $71
stopfollow: MACRO
db stopfollow_command
ENDM
enum moveobject_command ; $72
moveobject: MACRO
db moveobject_command
db \1 ; object id
db \2 ; x
db \3 ; y
ENDM
enum writeobjectxy_command ; $73
writeobjectxy: MACRO
db writeobjectxy_command
db \1 ; object id
ENDM
enum loademote_command ; $74
loademote: MACRO
db loademote_command
db \1 ; bubble
ENDM
enum showemote_command ; $75
showemote: MACRO
db showemote_command
db \1 ; bubble
db \2 ; object id
db \3 ; time
ENDM
enum turnobject_command ; $76
turnobject: MACRO
db turnobject_command
db \1 ; object id
db \2 ; facing
ENDM
enum follownotexact_command ; $77
follownotexact: MACRO
db follownotexact_command
db \1 ; object2
db \2 ; object1
ENDM
enum earthquake_command ; $78
earthquake: MACRO
db earthquake_command
db \1 ; param
ENDM
enum changemapblocks_command ; $79
changemapblocks: MACRO
db changemapblocks_command
dba \1 ; map_data_pointer
ENDM
enum changeblock_command ; $7a
changeblock: MACRO
db changeblock_command
db \1 ; x
db \2 ; y
db \3 ; block
ENDM
enum reloadmap_command ; $7b
reloadmap: MACRO
db reloadmap_command
ENDM
enum reloadmappart_command ; $7c
reloadmappart: MACRO
db reloadmappart_command
ENDM
enum writecmdqueue_command ; $7d
writecmdqueue: MACRO
db writecmdqueue_command
dw \1 ; queue_pointer
ENDM
enum delcmdqueue_command ; $7e
delcmdqueue: MACRO
db delcmdqueue_command
db \1 ; byte
ENDM
enum playmusic_command ; $7f
playmusic: MACRO
db playmusic_command
dw \1 ; music_pointer
ENDM
enum encountermusic_command ; $80
encountermusic: MACRO
db encountermusic_command
ENDM
enum musicfadeout_command ; $81
musicfadeout: MACRO
db musicfadeout_command
dw \1 ; music
db \2 ; fadetime
ENDM
enum playmapmusic_command ; $82
playmapmusic: MACRO
db playmapmusic_command
ENDM
enum dontrestartmapmusic_command ; $83
dontrestartmapmusic: MACRO
db dontrestartmapmusic_command
ENDM
enum cry_command ; $84
cry: MACRO
db cry_command
dw \1 ; cry_id
ENDM
enum playsound_command ; $85
playsound: MACRO
db playsound_command
dw \1 ; sound_pointer
ENDM
enum waitsfx_command ; $86
waitsfx: MACRO
db waitsfx_command
ENDM
enum warpsound_command ; $87
warpsound: MACRO
db warpsound_command
ENDM
enum specialsound_command ; $88
specialsound: MACRO
db specialsound_command
ENDM
enum autoinput_command ; $89
autoinput: MACRO
db autoinput_command
dba \1
ENDM
enum newloadmap_command ; $8a
newloadmap: MACRO
db newloadmap_command
db \1 ; which_method
ENDM
enum pause_command ; $8b
pause: MACRO
db pause_command
db \1 ; length
ENDM
enum deactivatefacing_command ; $8c
deactivatefacing: MACRO
db deactivatefacing_command
db \1 ; time
ENDM
enum prioritysjump_command ; $8d
prioritysjump: MACRO
db prioritysjump_command
dw \1 ; pointer
ENDM
enum warpcheck_command ; $8e
warpcheck: MACRO
db warpcheck_command
ENDM
enum stopandsjump_command ; $8f
stopandsjump: MACRO
db stopandsjump_command
dw \1 ; pointer
ENDM
enum return_command ; $90
return: MACRO
db return_command
ENDM
enum end_command ; $91
end: MACRO
db end_command
ENDM
enum reloadandreturn_command ; $92
reloadandreturn: MACRO
db reloadandreturn_command
db \1 ; which_method
ENDM
enum endall_command ; $93
endall: MACRO
db endall_command
ENDM
enum pokemart_command ; $94
pokemart: MACRO
db pokemart_command
db \1 ; dialog_id
dw \2 ; mart_id
ENDM
enum elevator_command ; $95
elevator: MACRO
db elevator_command
dw \1 ; floor_list_pointer
ENDM
enum trade_command ; $96
trade: MACRO
db trade_command
db \1 ; trade_id
ENDM
enum askforphonenumber_command ; $97
askforphonenumber: MACRO
db askforphonenumber_command
db \1 ; number
ENDM
enum phonecall_command ; $98
phonecall: MACRO
db phonecall_command
dw \1 ; caller_name
ENDM
enum hangup_command ; $99
hangup: MACRO
db hangup_command
ENDM
enum describedecoration_command ; $9a
describedecoration: MACRO
db describedecoration_command
db \1 ; byte
ENDM
enum fruittree_command ; $9b
fruittree: MACRO
db fruittree_command
db \1 ; tree_id
ENDM
enum specialphonecall_command ; $9c
specialphonecall: MACRO
db specialphonecall_command
dw \1 ; call_id
ENDM
enum checkphonecall_command ; $9d
checkphonecall: MACRO
db checkphonecall_command
ENDM
enum verbosegiveitem_command ; $9e
verbosegiveitem: MACRO
if _NARG == 1
verbosegiveitem \1, 1
else
db verbosegiveitem_command
db \1 ; item
db \2 ; quantity
endc
ENDM
enum verbosegiveitemvar_command ; $9f
verbosegiveitemvar: MACRO
db verbosegiveitemvar_command
db \1 ; item
db \2 ; var
ENDM
enum swarm_command ; $a0
swarm: MACRO
db swarm_command
db \1 ; flag
map_id \2 ; map
ENDM
enum halloffame_command ; $a1
halloffame: MACRO
db halloffame_command
ENDM
enum credits_command ; $a2
credits: MACRO
db credits_command
ENDM
enum warpfacing_command ; $a3
warpfacing: MACRO
db warpfacing_command
db \1 ; facing
map_id \2 ; map
db \3 ; x
db \4 ; y
ENDM
enum battletowertext_command ; $a4
battletowertext: MACRO
db battletowertext_command
db \1 ; bttext_id
ENDM
enum getlandmarkname_command ; $a5
getlandmarkname: MACRO
db getlandmarkname_command
db \2 ; landmark_id
db \1 ; string_buffer
ENDM
enum gettrainerclassname_command ; $a6
gettrainerclassname: MACRO
db gettrainerclassname_command
db \2 ; trainer_group
db \1 ; string_buffer
ENDM
enum getname_command ; $a7
getname: MACRO
db getname_command
db \2 ; type
db \3 ; id
db \1 ; memory
ENDM
enum wait_command ; $a8
wait: MACRO
db wait_command
db \1 ; duration
ENDM
enum checksave_command ; $a9
checksave: MACRO
db checksave_command
ENDM
|