-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrbscript commands.txt
75 lines (38 loc) · 1.18 KB
/
rbscript commands.txt
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
messageid [text ID]
changescript [script number], [script byte in RAM]
setflag [bit], [RAM address]
setflag2 [bit], [RAM address]
resetflag [bit], [RAM address]
resetflag2 [bit], [RAM address]
testflag [bit], [RAM address]
testflag2 [bit], [RAM address]
enabletextscripts
runscripts [script byte in RAM], [script pointers offset]
giveitem [item ID], [quantity]
givesingleitem [item ID]
giveitem2 [item ID], [quantity]
givesingleitem2 [item ID]
givepokemon [pokemon ID], [level]
playmusicid [music ID]
playmusic [music ID], [bank]
playsound [sound ID]
showobject [hidden object ID]
hideobject [hidden object ID]
showemote [sprite ID], [emote]
selectsprite [sprite ID]
selectsprite2 [sprite ID]
movesprite [screen X], [screen Y], [map X], [map Y]
testcoordsarray [array offset]
fetchcoordsindex
release
lock
lockcontrols [controls to lock]
domovement [movement table offset]
facesprite [facing byte]
setbattle [trainer ID], [trainer instance], [defeat text offset]
setbattle2 [trainer ID], [trainer instance]
setbattle3 [pokemon / trainer ID]
playmapmusic
testcoordinates [x], [y]
loadsprite1 [begin tile ID], [sprite offset]
loadsprite2 [begin tile ID], [sprite offset]